mvn jar sources download

step1: add aliyun repo：http://maven.aliyun.com/nexus/
step2: mvn dependency:resolve -Dclassifier=sources
or run: 3. download choosed artifactId's sources
 mvn dependency:sources -DincludeArtifactIds=guava
download sources:
mvn dependency:sources -DincludeArtifactIds=spring-core -DdownloadJavadocs=true
download jar:
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V

<?xml version="1.0" encoding="UTF-8"?>

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->

<!--
 | This is the configuration file for Maven. It can be specified at two levels:
 |
 |  1. User Level. This settings.xml file provides configuration for a single user,
 |                 and is normally provided in ${user.home}/.m2/settings.xml.
 |
 |                 NOTE: This location can be overridden with the CLI option:
 |
 |                 -s /path/to/user/settings.xml
 |
 |  2. Global Level. This settings.xml file provides configuration for all Maven
 |                 users on a machine (assuming they're all using the same Maven
 |                 installation). It's normally provided in
 |                 ${maven.home}/conf/settings.xml.
 |
 |                 NOTE: This location can be overridden with the CLI option:
 |
 |                 -gs /path/to/global/settings.xml
 |
 | The sections in this sample file are intended to give you a running start at
 | getting the most out of your Maven installation. Where appropriate, the default
 | values (values used when the setting is not specified) are provided.
 |
 |-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <!-- localRepository
   | The path to the local repository maven will use to store artifacts.
   |
   | Default: ${user.home}/.m2/repository
  <localRepository>/path/to/local/repo</localRepository>
  -->
  <localRepository>/Users/resry/.m2/repository</localRepository>

  <!-- interactiveMode
   | This will determine whether maven prompts you when it needs input. If set to false,
   | maven will use a sensible default value, perhaps based on some other setting, for
   | the parameter in question.
   |
   | Default: true
  <interactiveMode>true</interactiveMode>
  -->

  <!-- offline
   | Determines whether maven should attempt to connect to the network when executing a build.
   | This will have an effect on artifact downloads, artifact deployment, and others.
   |
   | Default: false
  <offline>false</offline>
  -->

  <!-- pluginGroups
   | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
   | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
   | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
   |-->
  <pluginGroups>
    <!-- pluginGroup
     | Specifies a further group identifier to use for plugin lookup.
    <pluginGroup>com.your.plugins</pluginGroup>
    -->
  </pluginGroups>

  <!-- proxies
   | This is a list of proxies which can be used on this machine to connect to the network.
   | Unless otherwise specified (by system property or command-line switch), the first proxy
   | specification in this list marked as active will be used.
   |-->
  <proxies>
    <!-- proxy
     | Specification for one proxy, to be used in connecting to the network.
     |
    <proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>http</protocol>
      <username>proxyuser</username>
      <password>proxypass</password>
      <host>proxy.host.net</host>
      <port>80</port>
      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
    </proxy>
    -->
  </proxies>

  <!-- servers
   | This is a list of authentication profiles, keyed by the server-id used within the system.
   | Authentication profiles can be used whenever maven must make a connection to a remote server.
   |-->
  <servers>
    <!-- server
     | Specifies the authentication information to use when connecting to a particular server, identified by
     | a unique name within the system (referred to by the 'id' attribute below).
     |
     | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
     |       used together.
     |
    <server>
      <id>deploymentRepo</id>
      <username>repouser</username>
      <password>repopwd</password>
    </server>
    -->

    <!-- Another sample, using keys to authenticate.
    <server>
      <id>siteServer</id>
      <privateKey>/path/to/private/key</privateKey>
      <passphrase>optional; leave empty if not used.</passphrase>
    </server>
    -->
  </servers>

  <!-- mirrors
   | This is a list of mirrors to be used in downloading artifacts from remote repositories.
   |
   | It works like this: a POM may declare a repository to use in resolving certain artifacts.
   | However, this repository may have problems with heavy traffic at times, so people have mirrored
   | it to several places.
   |
   | That repository definition will have a unique id, so we can create a mirror reference for that
   | repository, to be used as an alternate download site. The mirror site will be the preferred
   | server for that repository.
   |-->
  <mirrors>
    <!-- mirror
     | Specifies a repository mirror site to use instead of a given repository. The repository that
     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
     |
    <mirror>
      <id>mirrorId</id>
      <mirrorOf>repositoryId</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://my.repository.com/repo/path</url>
    </mirror>
     -->
    <mirror>
      <id>alimaven</id>
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>

  <!-- profiles
   | This is a list of profiles which can be activated in a variety of ways, and which can modify
   | the build process. Profiles provided in the settings.xml are intended to provide local machine-
   | specific paths and repository locations which allow the build to work in the local environment.
   |
   | For example, if you have an integration testing plugin - like cactus - that needs to know where
   | your Tomcat instance is installed, you can provide a variable here such that the variable is
   | dereferenced during the build process to configure the cactus plugin.
   |
   | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
   | section of this document (settings.xml) - will be discussed later. Another way essentially
   | relies on the detection of a system property, either matching a particular value for the property,
   | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
   | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
   | Finally, the list of active profiles can be specified directly from the command line.
   |
   | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
   |       repositories, plugin repositories, and free-form properties to be used as configuration
   |       variables for plugins in the POM.
   |
   |-->
  <profiles>
    <!-- profile
     | Specifies a set of introductions to the build process, to be activated using one or more of the
     | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
     | or the command line, profiles have to have an ID that is unique.
     |
     | An encouraged best practice for profile identification is to use a consistent naming convention
     | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
     | This will make it more intuitive to understand what the set of introduced profiles is attempting
     | to accomplish, particularly when you only have a list of profile id's for debug.
     |
     | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
    <profile>
      <id>jdk-1.4</id>

      <activation>
        <jdk>1.4</jdk>
      </activation>

      <repositories>
        <repository>
          <id>jdk14</id>
          <name>Repository for JDK 1.4 builds</name>
          <url>http://www.myhost.com/maven/jdk14</url>
          <layout>default</layout>
          <snapshotPolicy>always</snapshotPolicy>
        </repository>
      </repositories>
    </profile>
    -->

    <!--
     | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
     | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
     | might hypothetically look like:
     |
     | ...
     | <plugin>
     |   <groupId>org.myco.myplugins</groupId>
     |   <artifactId>myplugin</artifactId>
     |
     |   <configuration>
     |     <tomcatLocation>${tomcatPath}</tomcatLocation>
     |   </configuration>
     | </plugin>
     | ...
     |
     | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
     |       anything, you could just leave off the <value/> inside the activation-property.
     |
    <profile>
      <id>env-dev</id>

      <activation>
        <property>
          <name>target-env</name>
          <value>dev</value>
        </property>
      </activation>

      <properties>
        <tomcatPath>/path/to/tomcat/instance</tomcatPath>
      </properties>
    </profile>
    -->
  </profiles>

  <!-- activeProfiles
   | List of profiles that are active for all builds.
   |
  <activeProfiles>
    <activeProfile>alwaysActiveProfile</activeProfile>
    <activeProfile>anotherAlwaysActiveProfile</activeProfile>
  </activeProfiles>
  -->
</settings>

Maven命令安装jar包到本地仓库
mvn install:install-file -Dfile=jar包的位置 -DgroupId=jar包的groupId -DartifactId=jar包的artifactId -Dversion=jar包的version -Dpackaging=jar

/etc/hosts
<IP_ADDRESS>	localhost #mvn must add

mvn build
把依赖打到自己jar下面
<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-shade-plugin</artifactId>
            <version>3.2.1</version>
            <executions>
                <execution>
                    <phase>package</phase>
                    <goals>
                        <goal>shade</goal>
                    </goals>
                    <configuration>
                        <minimizeJar>true</minimizeJar>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>


[Request]: Y8 Browser

Prerequisites

[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.

Criteria

[X] Reasonably well-known and widely used (e.g. if it's a GitHub project, it should have at least 100 stars and/or 50 forks)
[X] English interface (or at least English documentation)
[X] Latest stable version
[X] Full version (i.e. not a trial version)
[X] Fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)

Name
Y8 Browser
Description
Browsers are removing the Flash Player. However, you can keep playing these games using the Y8 Browser
Homepage
https://www.y8.com/download-app
Download Link(s)
https://www.y8.com/download-app
Some Indication of Popularity/Repute
https://www.y8.com/download-app

Thanks!


⚠ Bofrost.at has degraded performance

In 5a46210, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1061 ms

Resolved: Bofrost.at performance has improved in e8815a1 after 9 minutes.


PyTorch weights not relying on Pytorch Lightning

Would you mind sharing pytorch resnet weights (.pth files) in addition to the lightning checkpoints?

Hi
The pytorch weights can be found now at the path links. You can also refer to this new notebook on how to use them.

Thank you so much!


Test "updateUserStatus" mutation

Test the "updateUserStatus" mutation with all possible cases and create an issue if any bugs are found. If you encounter unexpected behavior or are unsure if it is intended, please create an issue for that as well.
You can find an example issue and bug report (or a question if this is a bug) in this link.
"Test GraphQL Query and Mutation" guide is available for further assistance.

I login as admin and use this mutation gor testing “updateUserStatus”
mutation updateUserStatusAdmin{
updateUserStatus(user: {
Id: "20b7e1a5-b716-4820-bf98-e69c08786a00",
UserStatus: ACTIVE
}) {
Id
UserStatus
}
}
I tried 3 different “userstatus” for admin’s id, manager’ id, user’ id, guest’ id
userstatus
1-None
2-ACTİVE
3- INACTİVE

https://github.com/octoposprime/op-be-graphql/issues/29#issuecomment-2059324057
can you update yoour comment

I edited the code in my comment so that it works properly, thank you for the caution. <3

how did you do that?

Can you test the change admin status with admin credentials again.
https://github.com/octoposprime/op-be-graphql/issues/56#issuecomment-2089851889


1.1.0 -> 1.2.0: The authenticator rejected to restore the session - invalidating…

I am trying to use the fastboot feature of ESA but unfortunately I got a bug on the way:  when upgrading from 1.1.0 to 1.2.0, my session always fails to restore.
Funny thing is that if I am on 1.1.0, logged in, and upgrade to 1.2.0 (with restarting the server) I am logged out. If I downgrade again to 1.1.0 I am logged in.

working repo
failing commit

Both are in branch feat/fastboot.

We added response validation to the built-in authenticators in 1.2.0 (see #957). This is likely what's causing you issue.
Check the Devise authenticator's _validate method for whether the response you're getting from your API server passes these checks.

@vasilakisfil: did you check your server response is actually correct?

closing for inactivity


Adding capability for SymbolicOperator coefficients to be sympy.Expr

Response to issue #457 .
I've been fairly conservative - sympy.Expr don't work with numpy.ndarray, so I've not tried to add any functionality to PolynomialTensor or similar classes (I think anything we do here will impact performance). I've also not inserted any simplification of sympy expressions for similar reasons. In practice, this appears to leave some number of easily-cancelling terms (e.g. following JW or BK), but this can easily be fixed by the user by hand. E.g:
for key in operator.terms:     if isinstance(operator.terms[key], sympy.Expr):
`        operator.terms[key] = sympy.simplify(operator.terms[key])
(Do we want to perhaps implement this as a function in SymbolicOperator - operator.simplify might work, though it is very close to operator._simplify --- or maybe operator.simplify_sympy?)
I've also not implemented saving or loading of operators with sympy - currently saving raises an exception instead. This could perhaps be implemented by stripping whitespace from the coefficient, storing it as a string, and re-inserting it with sympy's sympify function, but this will then require that we accept strings as input when creating a SymbolicOperator. This seems to have been explicitly forbidden before, so I thought I should discuss before blindly pushing (or at least make a second PR).

@obriente @kevinsung Any update on this? It would be nice to have in.

Trying to remember where this was at - I've just merged master in, lets see what the new tests do.
From memory the PR was mostly ready, however it's difficult to check that sympy behaves well with the functionality we have. Ideally we'd run through all the functions using SymbolicOperators and check that they work with sympy, I guess, and I've not done this here.

Alright, seems like everything is working. @kevinsung  @ncrubin , what do you think we need in addition to this?
In particular, I think there's a fairly reasonable line to be drawn between supporting sympy in SymbolicOperators but not in PolynomialTensors. I'm also pretty sure that most of the functions we have that use SymbolicOperators should work reasonably with sympy, but some might not. I'm happy to go through and test everything properly - perhaps @bryano can help, but this will take me a bit of time.

Kevin suggested to check JW and BK and make sure that they work - I'll work on this over the next week.

@kevinsung - I've added tests for the JW and BK transforms that make sure everything works, including any linear algebra on coefficients. Think it's enough?

I found one bug: the SymbolicOperator.compress method doesn't work with symbolic expressions.
For example, the following throws an AttributeError:
openfermion.FermionOperator('', sympy.Symbol('x') + sympy.Symbol('y')).compress()

Good catch, thanks!
I've pushed a fix.

Found two other functions that I missed in SymbolicOperator - get_many_body_order() and long_string_init().
The first one was quite easy to change. However, allowing non-understood terms in a string to parse through sympy is something I'm a bit worried about - @bryano , can you think of a way of doing this safely?


Fixes issue where the value for unselected cells was inconsistent. Fi…

…xes invalid cell selected id when reducing cols/rows
Fixes #225

Coverage decreased (-0.1%) to 58.942% when pulling 247cd6a8f80ab698bee3060112f32f3180e563fd on James-Crean:fix_error_on_col_row_remove into f75c7f0796f2f8a9f80e4733be8378a13889027f on UV-CDAT:master.


[Azure.Developer.LoadTesting] Generating the SDK for API Version 2024-05-01-preview

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

Please keep it active

Hi,
I will be re-invigorating this PR soon, please keep this active


Incorrect Data

The Pokemon "Gastrodon" in reality has two types, Water and Ground, but when checked in pokedex.py via
from pokedex import pokedex as pd
dex = pd.Pokedex(version='v1', user_agent='ExampleApp (https://example.com, v2.0.1)')
print(dex.get_pokemon_by_name('Gastrodon')[0]["types"])
it returns only "Water" type. This is not an issue with other pokemon I have been able to check.

Same goes for 422. It's a bug in the API data itself. I'll fix it ASAP.


Feature: Defer service provider

Description
In theory, Bugsnag laravel should work with Laravel Zero. However, the register provider flow of laravel zero, currently prevents us from using bugsnag. That flow is as follows:

Foundation providers are registered. This includes user configured providers
Component service providers are registered. These include the log service provider.

As a result, "Target class [log] does not exist. " error is thrown. You can't prepend the log service provider in the configuration file or anywhere else, as the component service provider simply overwrites the current binding. this doesn't give any errors when using Log facade, but doesn't log anything to bugsnag either.
Describe the solution you'd like
two things can be done:

The current service provider becomes a deferred service provider. This would give us some performance win as we do not use the Log facade everywhere all at once. This might be a breaking change, but I am not sure.
A Laravel Zero specific provider that is deferred and extends the main service provider.

Describe alternatives you've considered
I've posted a similar bug report at the Laravel Zero github. Maybe there a solution may come up. for instance, a way to prepend providers. Although they already have the solution, which is the deferred service provider.

I thought I give it ago and this is what works for me. There may be some issues conserning Oom, as I haven't fully tested that yet, but this seems promising:
class DeferredBugsnagProvider extends BugsnagServiceProvider implements DeferrableProvider
{
    public function register(): void
    {
        $this->app->bind(
            'request',
            fn() => new class () {
                public function server(): string
                {
                    return config('app.servername');
                }
            }
        );
        parent::register();
    }

    public function provides(): array
    {
        return [
            'request',
            'bugsnag',
            'bugsnag.tracker',
            'bugsnag.logger',
            'bugsnag.multi'
        ];
    }
}

You probably wonder what request is doing there: request usually resolves to Illuminate\Http\Request, but Laravel Zero doesn't know this class as it is a console application. Since it only needs the server method, I added in an anonymous class that has one method. It can return anything you want.

Deferring Bugsnag is not a good idea, because it needs to be loaded early in the bootstrapping process, to enable it to intercept crashes during framework boot.

Deferring Bugsnag is not a good idea, because it needs to be loaded early in the bootstrapping process, to enable it to intercept crashes during framework boot.

I agree, but Laravel Zero won't let us do that in the current implementation. the Log component is bound AFTER the providers that are configured by the user.

Hi @henzeb,
Thank you for bringing this to our attention. We are currently discussing this internally and will update you as soon as possible.

Hi @henzeb,
We have added an item to our backlog to add support for Laravel Zero. While we don't have an ETA for when this will be implemented, we will be sure to update this thread.


There's both brainatlas_api.list_atlases and bg_atlasapi.list_atlases

I'm guessing this is due to some out of sync merges?

where sorry?


Click events not scrolling with the view?

I have noticed that when using this scrollbox, the visuals in the container are moving but the click "hitboxes" are not.
Below is a modified example from davidfig where I have reduced the content height to force vertical scrolling:
function test()
{
    let scrollbox = new Scrollbox.Scrollbox({
        boxWidth: 550,
        boxHeight: 100
    });
    _renderer.stage.addChild(scrollbox);

    // insert element
    let tableStringContainer = new PIXI.Container(),
        hitArea = new PIXI.Graphics();

    // just added some colors and circles so I can see the scrollbox and target
    hitArea.beginFill(0xff0000).drawCircle(0, 0, 100).endFill()
    hitArea.beginFill(0xff0000, 1);
    hitArea.drawRect(0, 0, 540, 35);
    hitArea.endFill()
    hitArea.interactive = true;
    hitArea.buttonMode = true;

    hitArea
        .on('click', function ()
        {
            console.log('click');
        })
        .on('mouseover', function ()
        {
            console.log('mouseover');
        })
        .on('mouseout', function ()
        {
            console.log('mouseout');
        });
    tableStringContainer.addChild(hitArea);
    scrollbox.content.addChild(tableStringContainer);

    scrollbox.update();
}

window.onload = function ()
{
    _renderer = new PIXI.Application({ transparent: true, width: window.innerWidth, height: window.innerHeight, resolution: window.devicePixelRatio })
    document.body.appendChild(_renderer.view)
    _renderer.view.style.position = 'fixed'
    _renderer.view.style.width = '100vw'
    _renderer.view.style.height = '100vh'
    _renderer.view.style.left = 0
    _renderer.view.style.top = 0
test()
return

    horizontalVertical()
    vertical()
    horizontal()
    const nodrag = horizontalVertical('dragScroll=false (drag scrollbars to move)')
    nodrag.position.set(400, 425)
    nodrag.dragScroll = false
    window.addEventListener('resize', resize)

}

For me, the click events on the circle area are persisting on the left side of the screen, even when the circle is scrolled out of view.
Thanks

Same here. Did you manage to fix this?

Thanks for the report. This is a weird one. The interaction code should work since pixi-scrollbox uses the normal pixi.js transformation functions. I'll see if I can track down the cause.

Ok, I fixed this bug. You need to update pixi-scrollbox and pixi-viewport from npm.
The bug was caused by pixi-viewport.plugins.clamp(). pixi.js's interaction module does not handle containers that move (ie, if the container's position is changing, then it won't register an interaction--which is a weird omission). The viewport.plugins.clamp was improperly changing the position of the viewport (to the same clamped position) each frame even if nothing needed changing.
Let me know if there are any problems with this fix.

HI, This problem still exists. Why your example works, but I have this problem, can you help me solve it? Thank you!

Sure. Can you provide details on your problem? The bug referenced above I think it fixed.

private _createScrollbox(): void{
		this._scrollBox = new Scrollbox({
			boxWidth: GameDetails.HEIGHT / 1.2,
			boxHeight: GameDetails.WIDTH / 1.28 - 200,
			scrollbarSize: 25,
			scrollbarBackground: 0x000000,
			scrollbarForeground: 0xffbe00,
			dragScroll:true,
		});
		this._scrollBox.position.set(90,270);
		this.addChild(this._scrollBox);

		const gradTexture = this._createGradTexture();

		this._mainPanel = new Sprite(gradTexture);
		this._mainPanel.name = '_mainPanel';
		this._mainPanel.width = GameDetails.HEIGHT / 1.2;
		this._mainPanel.height = GameDetails.WIDTH * 5;
		this._scrollBox.content.addChild(this._mainPanel);

		this._scrollBox.update();
}

/*The above is the code,
The interaction range is very large and strange, the position of the interaction range is very strange after setting the entire scrollbox position. And it only can trigger mouse scroll events, other mouse events cannot be triggered.
What is the problem? thanks you! */
/* Sorry my English is not very good */

This looks right. Can you show me your event code?

I don't understand the event code you said, sorry...
Or can you contact me by mail? I think you should understand Chinese, I ’m Taiwanese XD

My Chinese is not great, regrettably. Is the problem that the scrollbox doesn't work or that you can't interact with the Sprite inside?

Yes!! And the interaction range is already outside the content.
When I set the position of the scrollbox, like this code:this._scrollBox.position.set(90,270);,
the upper part of the content will not be able to interact, but the bottom half of the content is still interactive, and the outside of the scrollbox also can interact.
If what I said is still unclear, maybe I can video show you, thank you~~!

Hmm...a video would be helpful.

I uploaded a video, the interaction range should only be inside the content, but it can also interact outside the content.
And when I set the position of the box, the upper part of the content can't interact, but the interaction range is still extremely large.
The mouse can’t drag the content to move, it can only scroll, hope this will make you understand the problem, thank you!
video URL =>  https://youtu.be/udnb8G9V9HI

I'm still not sure what's causing the problem. Can you create a jsfiddle so i can debug it?

um...I think creating JSfiddle should not help ... because my code is only that.
Maybe there is something wrong with my pixi installation.
Can you tell me how to adjust the interaction range? thanks.

I found a new problem. When set this._scrollBox.disable = true; , I can grab the content and move it.
Maybe it is the mask that causes the interaction range to be wrong...

Sorry to bother you, can you help me solve the problem about the interaction range?
Or is there any other way to set the interaction range of the scrollbox?

Can you create a jsfiddle so I can play with it and find the problem? Thanks!


productBulkDelete mutation fails with more than 20 products

When you attempt to delete more than 20 products with the productBulkDelete mutation it fails with the following error message.
code: "GRAPHQL_ERROR"
field: "ids"
message: "Could not resolve to a node with the global id list of '["{'0': 'UHJvZHVjdDoxODU2', '1': 'UHJvZHVjdDoxODU1', '2': 'UHJvZHVjdDoxODU0', ...}"]'."
Steps to reproduce the problem
In the Saleor dashboard go to the Products screen, adjust the page size to be more than 20, bulk select more than 20 products and click the bulk delete button.
Expected all the selected products to be deleted but instead got the error mentioned above.
System information
Saleor version:
core v3.5.0
dashboard v3.5.0

Ah yes, it looks like it's an issue with how the dashboard is sending the IDs.
For a small number of selected products to delete which is successful variables looks like this:
{
  variables: {
    ids: ["UHJvZHVjdDoxMTI=", "UHJvZHVjdDoxMTE="]
  }
}

But when a request for a larger number (eg. 40) of selected products to delete is made it fails and it looks like this:
{
  variables: {
    ids: [{0: "UHJvZHVjdDo3Mg==", 1: "UHJvZHVjdDo3NA==", 2: "UHJvZHVjdDoxMjI=", 3: "UHJvZHVjdDo3OQ==",…}]
  }
}

I guess this issue should be added to saleor-dashboard instead.

@simon-online If you don't mind, I will open a new issue in @saleor/dashboard and reference this one.


Move docking results column labels logic to docking.analysis

Description
It would be nice to have the DockingResults class be entirely in charge of adding and processing labels. I started working on this but am not sure I know the best way of doing this.
Some goals:

clarity about what the column is and what it is used for (i.e. I think Structure_Source or Protein_Source or Receptor_Source is better than i.e. "Structure" as it tells you that this is the location of the structure used as the input. Maybe standardizing the columns with Input_, Output_ and Score_ tags i.e. would be good as well
accessible as DataFrame attributes using Pandas, i.e. df.Docked_File as opposed to df["Docked File"]
easily converted into plot titles / axis labels / etc with a certain level of professionalism (i.e. upper-case instead of lower case)
some way of keeping backwards compatibility, or versioning to avoid needing to re-write custom scripts and stuff

Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] create a basic syntax for adding column labels that allows for different options
[ ] add a more robust loading / save syntax for docking results
[ ] add some kind of versioning
[ ] convert all old scripts to use this new protocol

Relevant Issues

[ ] #27

Questions
Status

[ ] Ready to go

Ok I did a terrible thing with rebasing, clearly I need to learn how git works again.

Codecov Report

Merging #92 (6f3c901) into main (08a2df5) will decrease coverage by 0.03%.
The diff coverage is 0.00%.


Linux, when published as snap:  Closing one window terminates application

When an app using desktop_multi_window is published to the Linux snap store, closing one window closes the entire app.  When the same app is run in the development environment, this does not happen.  Perhaps there's some kind of GTk-level registratino that's off?
Reproduce Steps
You can see the behavior with, for example, https://snapcraft.io/jrpn15/ .  If you install the snap on LInux, run it, and do File -> See Calculator Internals, it opens a sub-window.  Close that sub window using the native window manager, and the entire app terminates.
I tried closing the window programmatically, using WindowController.close() to close the window, and the same thing happens:  Both windows close, and the app terminates.
When I do the same thing with a non-snap version of the same program, just the one window closes.
**Version **

Flutter Version: 3/3/8
OS: Linux (tested on Ubuntu)
plugin: desktop_multi_window

I get this behaviour during development, not only when packaging this as a snap.

Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 796c8ef792 (vor 3 Wochen) • 2023-06-13 15:51:02 -0700
Engine • revision 45f6e00911
Tools • Dart 3.0.5 • DevTools 2.23.1
desktop_multi_window: ^0.2.0

Actually, for me this is happening too when developing with the provided example. I am using:

Flutter 3.10.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f468f3366c (4 weeks ago) • 2023-07-12 15:19:05 -0700
Engine • revision cdbeda788a
Tools • Dart 3.0.6 • DevTools 2.23.1

Seems that handling the delete-event and calling gtk_widget_destroy explicitly on the created window fixes it. Better solutions are welcome. I'll submit a PR soon.


bug: locust (load tester) BoS component does not honor /etc/hosts from K8 host

Describe the bug
If you run MARA using a FQDN that you have created yourself (ie, not a FQDN from a provider) you will run into an issue where the MARA load tester pod will not be able to resolve the Ingress Controller name, as it will be trying to resolve names from the upstream DNS server via the CoreDNS K8 component.
To Reproduce
Steps to reproduce the behavior:

Deploy MARA to a local k8 deployment using a created FQDN
Add the FQDN and IP of the host to your hostfile.
Verify that you are able to access the application
Try and use the locust load tester pod; it will error out with unable to resolve errors.

Expected behavior
We need a way for the load tester to resolve the FQDN of the frontend. Potential solutions:

Run dnsmasq on the host and make it the resolver for CoreDNS
Edit the locust pod to add the host information to /etc/resolv.conf
Determine if we can pass static hosts through to the CoreDNS.

Your environment

n/a

Additional context
None

This issue is tied to coredns; this is the component that provides DNS resolution to the kubernetes cluster. This component is very configurable, which leads us to a few different ways of fixing this issue.
NOTE: This issue only occurs when you  are using a FQDN that will not resolve via the upstream resolver for the host system.
The two workarounds require the editing of the configmap for coredns.

Update the configuration to include a zone file as discussed here
Create a local (ie, non-autoratative) DNS server, using a tool such as DNSmasq.

This function is from a script that updates the coredns configmap for scenario 2:
coredns_config()
{

#
# We are going to use the IP address of our host...
#
IP_ADDR=$(ip -j  route show to <IP_ADDRESS>/0  | jq ".[].prefsrc" | sed 's/"//g')

#
# We build our configuration file; this logic says that for every query for the "test" domain we should use
# IP_ADDR to point to our resolver. This will allow the locust loadgenerator to hit the NGINX IC.
#
cat > '/tmp/coredns.yaml' <<FileContent
apiVersion: v1
data:
  Corefile: |
    .:53 {
        errors
        health
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
          pods insecure
          fallthrough in-addr.arpa ip6.arpa
        }
        hosts /etc/coredns/NodeHosts {
          ttl 60
          reload 15s
          fallthrough
        }
        prometheus :9153
        forward test ${IP_ADDR}
        forward . /etc/resolv.conf
        cache 30
        loop
        reload
        loadbalance
    }
    import /etc/coredns/custom/*.server
  NodeHosts: |
    <IP_ADDRESS> ubuntu
kind: ConfigMap
metadata:
  annotations:
  name: coredns
  namespace: kube-system
FileContent

  #
  # Now we apply the configuration to coredns...
  #
  "${PROJECT_ROOT}"/pulumi/python/venv/bin/kubectl apply -f /tmp/coredns.yaml

  #
  # And now we check the output...
  "${PROJECT_ROOT}"/pulumi/python/venv/bin/kubectl describe configmap --namespace kube-system coredns

}


NPT-880 Improve Nexus DSL documentation

The current documentation on Nexus DSL is lacking details and illustation.
This commit adds more context, structure and info to the Nexus DSL doc.

Merging as team is waiting on documentation after latest demo


Question: What is the difference between *.target.txt and *.target_mods.txt ?

*.target.txt contains these fields:
score   delta_mass      peptide rank    search_file     charge  spectrum_neutral_mass   scan    protein modification_info

*.target_mods.txt contains these fields:
score   delta_mass      peptide rank    search_file     charge  spectrum_neutral_mass   scan    protein originally_discovered   above_group_threshold   modification_info

So the target_mods.txt file contains two columns (originally_discovered and above_group_threshold) not found in target.txt.
Is there any other difference between these files, do they contain the same PSMs?

The .target.txt is a list at the peptide level with rigorous FDR control, while .target_mods.txt provides an auxiliary list at the PSM level, but we do not promise FDR control.
In other words, you should find more rows in the .target_mods.txt file. The .target_mods.txt contains the two extra columns since we indicate whether the PSM was part of the original discovery list in the .target.txt (originally_discovered) and whether it scored sufficiently high (above_group_threshold), giving the user some indication of confidence behind these PSMs.

Right now I'm only processing the .target.txt file for PSMs that I import into Limelight. Is that what you'd recommend?

The .target_mods.txt I think is the preferable one for the user, since it will contain at least the PSMs in the .target.txt anyhow.
I should add that these extra columns (localized_peptide, localized_better, open_mod_localization) that I mention here that can be found in the .target_mods.txt file require an additional input of the mzML file used during searching. So as an example, I could use the following command:
python -m CONGA --FDR_threshold 0.1 --overwrite T --spectrum_files extra_tests/OR20070924_S_mix7_02.mzML extra_tests/dcy_full_0.tide-search.txt extra_tests/open_top5_full_0.tide-search.txt
Details on the --spectrum_files option can be found over on readthedocs (I don't think you will need it, but in case).
The files in the command above I will send to you via Slack. FYI these MS/MS scans are derived from a well-controlled experiment (the ISB18 data set) which are generated from only a handful of proteins (which is why I set the FDR threshold to something stupidly large like 0.1 -- just for demonstration purposes).

How would you recommend I filter the results, by default, when showing the results to users in Limelight? For example, with percolator output, I can limit the results to only peptides with at least one PSM with a q-value <= 0.01 and a peptide-level q-value <= 0.01. Is there an analogous set of filters you can think of for showing results from .target_mods.txt?

CONGA does not report q-values, mainly so that users do not cheat their analysis by observing their results post-hoc. CONGA has an --FDR_threshold option at the start that controls for the amount of false discoveries and ultimately the size of the output.
I would say that users would like to see all rows in the .target_mods.txt with above_group_threshold being True. This provides some confidence to the user regarding these matches.

Limelight XML converter has been updated to read the .target_mods.txt file and to use above_group_threshold as a default filter when presenting results (user can turn the filter off).


Please help!

If this is not the right place for this request please accept my apologies and also advise as to the correct forum. I realise I am somewhat of a beginner and feel this may not be the place for beginner's issues.
I really want to use lifelines as I like VIM and I want to learn to use the gedcom format properly. However I have had a number of difficulties getting started.
I installed lifelines-doc but I do not know how to access it. Any help would be appreciated.
I have found documentation at http://lifelines.sourceforge.net/manual307/ll-doc.htm but it is for an earlier version.
I have also found a number of links are broken at https://lifelines.github.io/lifelines/ including the ones relating to documentation.
I exported a gedcom file from gramps but I cannot import it into lifelines. I tried u (miscellaneous utilities) then r (read in data from a gedcom file) then I enter the path to the gedcom file. I have tried relative and absolute paths but I always get the response: 'could not open ./gramps/backup.ged' (or whatever path I tried).
Advice would be very much appreciated, Steve

The best place for end-user support is our mailing list.
The long running mailing list for Lifelines is<EMAIL_ADDRESS>To subscribe, send a message to<EMAIL_ADDRESS>and put in the body of the message:
SUBSCRIBE LINES-L Your Name

In any case, I will get some basic information from you now:

What version of LifeLines did you obtain and install?
What operating system (distro and version) are you using?

Thanks!
lifelines 3.0.61 on linuxmint 19.1 Cinnamon 64bit
On Wed, Sep 25, 2019 at 11:07 PM Matt Emmerton<EMAIL_ADDRESS>wrote:

The best place for end-user support is our mailing list.
The long running mailing list for Lifelines is<EMAIL_ADDRESS>To subscribe, send a message to<EMAIL_ADDRESS>and put in the body of the message:
SUBSCRIBE LINES-L Your Name
In any case, I will get some basic information from you now:

What version of LifeLines did you obtain and install?
What operating system (distro and version) are you using?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lifelines/lifelines/issues/367?email_source=notifications&email_token=AICH6MRNJMBXHIZFHA62IMTQLPOK3A5CNFSM4I2DDHKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7TSNAY#issuecomment-535242371,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AICH6MQE4AXTU6ISARU7KO3QLPOK3ANCNFSM4I2DDHKA
.

Where did you get lifelines 3.0.61 from?  (3.0.62 was the last release on sourceforge,, and we've released 3.1.0 and 3.1.1 on github, with 3.2.0 coming soon!)
The only reason I ask is because I want to test with the same thing you're testing.  3.0.61 shouldn't be broken as far as importing GEDCOM goes, so this has me curious.
While I'm setting up a matching environment to test, can you try lifelines 3.1.1 from the github releases page?  https://github.com/lifelines/lifelines/releases

I installed Mint Linux 19.1 with lifelines-3.0.61 and was able to import just fine.

I used Synaptic Package Manager on my Linux Mint installation. I will try
and have a go downloading the 3.1.1 version from github and let you know
how I get on.
On Sat, Sep 28, 2019 at 1:07 AM Matt Emmerton<EMAIL_ADDRESS>wrote:

Where did you get lifelines 3.0.61 from? (3.0.62 was the last release on
sourceforge,, and we've released 3.1.0 and 3.1.1 on github, with 3.2.0
coming soon!)
The only reason I ask is because I want to test with the same thing you're
testing. 3.0.61 shouldn't be broken as far as importing GEDCOM goes, so
this has me curious.
While I'm setting up a matching environment to test, can you try lifelines
3.1.1 from the github releases page?
https://github.com/lifelines/lifelines/releases
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lifelines/lifelines/issues/367?email_source=notifications&email_token=AICH6MW5IO4UC22MQYGAI6LQL2N3JA5CNFSM4I2DDHKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72LRLY#issuecomment-536131759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AICH6MQ7OCWZZPRG242YP7DQL2N3JANCNFSM4I2DDHKA
.

you have to be careful using synaptic.  on your 64 bit os, it will
default to loading the 64 bit version of llines, which is broken -- but
it should have benn able to load a gedcom file.  you have to force
synaptic to load the 32 bit package, and then it won't load the scripts,
as it's listed as a 64 bit package, but really it should have been
'any'. And you want the scripts, so you have to get the 64 bit scripts,
rename the directory they are in, so synaptic won't delete them when you
load the 32 bit version, and rename the scripts back to the directory
they are supposed to be in. All very painful.
The github version should avoid all this, But remember when building the
code
to use ../configure --with-32bit.
Steve Greig wrote:

I used Synaptic Package Manager on my Linux Mint installation. I will try
and have a go downloading the 3.1.1 version from github and let you know
how I get on.
On Sat, Sep 28, 2019 at 1:07 AM Matt Emmerton<EMAIL_ADDRESS>wrote:

Where did you get lifelines 3.0.61 from? (3.0.62 was the last release on
sourceforge,, and we've released 3.1.0 and 3.1.1 on github, with 3.2.0
coming soon!)
The only reason I ask is because I want to test with the same thing
you're
testing. 3.0.61 shouldn't be broken as far as importing GEDCOM goes, so
this has me curious.
While I'm setting up a matching environment to test, can you try
lifelines
3.1.1 from the github releases page?
https://github.com/lifelines/lifelines/releases
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub

https://github.com/lifelines/lifelines/issues/367?email_source=notifications&email_token=AICH6MW5IO4UC22MQYGAI6LQL2N3JA5CNFSM4I2DDHKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72LRLY#issuecomment-536131759,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AICH6MQ7OCWZZPRG242YP7DQL2N3JANCNFSM4I2DDHKA

.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lifelines/lifelines/issues/367?email_source=notifications&email_token=AD5L6WTNPOKEQW7676YY6ODQL6KXTA5CNFSM4I2DDHKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7264JI#issuecomment-536210981,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD5L6WWIGW5UCOGPH4ZJG7DQL6KXTANCNFSM4I2DDHKA.

FWIW, the synaptic version of lifelines was able to import GEDCOM just fine for me.


Adds patch verb for cis and hiveconfigs

Need to run make generate.

@dgoodwin we need this in order to be able to patch the ClusterImageSets in the clusters

Can you run make generate locally @jmelis

/lgtm

i totally love that this is the same as the k8s-ci-robot :)

/pony

/override e2e


istio upgrade

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
command istio upgrade  does't work well .

Now the latest version is 1.6.5 .But why istio still upgrade to the current version when i run the command istio upgrade.

Please download the latest istio package and then upgrade with latest istioctl binary.

@morvencao  thanks ，it works

I'll close this, feel free to reopen it if you still have problem.


Bluetooth: Mesh: Align capitalization for BT mesh.

Align the capitalization of the term "Bluetooth Mesh" to Bluetooth mesh" in the documentation.
Signed-off-by: Ingar Kulbrandstad<EMAIL_ADDRESS>

It's also necessary here and below?
https://github.com/zephyrproject-rtos/zephyr/blob/ae44b30b41d50d38b00116304909672bcebdced7/subsys/bluetooth/mesh/Kconfig#L7-L23

It's also necessary here and below?
https://github.com/zephyrproject-rtos/zephyr/blob/ae44b30b41d50d38b00116304909672bcebdced7/subsys/bluetooth/mesh/Kconfig#L7-L23

Agree, should fix Kconfig files, as these are visible to customers.

I agree on making the capitalisation consistent everywhere, but why specifically lower case mesh instead of upper case Mesh? Is there some SIG marketing guideline or similar where this is coming from (if so it'd be good to reference it in the PR). At least when looking at the specs capital Mesh seems the common convention.

@trond-snekvik explained to me that this lower case convention is on its way in upcoming spec versions, which is a good argument to follow it.
@Balaklaka  one tiny request: please remove the . from the end of the commit message title, so that this is consistent with the rest of the commit history. Could you also add the justification to the commit message for going with lower case rather than upper case? Thanks.

Conflict needs to be resolved, but otherwise good to merge.


application broken if params validation fails

If using params validation: https://moleculer.services/docs/0.13/validating.html
and call of action invalid, app broken with error:
Error action "io.call" with error: ValidationError: Parameters validation error!
Helps only restart

I tested no problems found. Could you give me your source code to see?

Hmm, ok, I discover it more in details..
Maybe error on another side.

I discover problem. It strange, but it broken with winston logger:
https://moleculer.services/docs/0.13/logging.html#Winston
:smile:

I write an example with winston logger, and I didn't found any problem

Source code:
https://github.com/tiaod/moleculer-io/tree/winston-logger/examples/winston-logger

Ok, I try to discover it more deeply later
My project so big, hard to expose error clearly

Ok, I finally detect problem.
It broken with my middlewares localAction, which throw error.
I fix it by placing:
if (action.name === 'io.call') {
  return next(ctx);
}

on each localAction middleware


Add GitHub Actions, remove travis

Proposed changes
As I'm sure you are aware from the TSC minutes, it appears that Travis is transitioning towards a paid pricing model. It would be opportune for active FOSS Projects to migrate to use the integrated GitHub Actions. It looks like each GitHub account is safe until January, but then travis-ci.org goes read-only then the 100000 credits start counting down. There is no clarity over if/how to obtain more credits, and indeed if they can be obtained in a timely manner.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you
did and what alternatives you considered, etc...

I have read the CLA Document and I hereby sign the CLA

recheckcla

Test run can be seen here: https://github.com/jason-fox/fiware-pep-proxy/actions/runs/391528886


⚠ Bofrost.be has degraded performance

In c5f7971, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1362 ms

Resolved: Bofrost.be performance has improved in f10dc66 after 8 minutes.


Speech should re-download previously failed content

Take this claim for instance: https://spee.ch/@SandiaMesa:5dfb354a08cf4a589a366158af3aea445cdb6ce3/jonap - I was able to download locally recently.
I think it was downloaded a while ago when spee.ch had issues and never completed properly. Spee.ch should recognize this scenario and re-download the content.  Right now it just looks broken.

even after deleting (via the daemon, and record from spee.ch db) and downloading again, the link still does not work.

related to #145

Needs further testing, relates to #209


Add() behavior with graphs does not handle properly 1:1 child entities

Steps to reproduce:

Create a Child entity (ex: https://github.com/Yanal-Yves/ConsoleApp2/blob/master/src/ConsoleApp2/Model/ChildA.cs)
Create a Parent entity that has a reference to the Child entity (ex: https://github.com/Yanal-Yves/ConsoleApp2/blob/master/src/ConsoleApp2/Model/Parent.cs#L23)
Add the parent to context with GraphBehavior.IncludeDependents flag set (ex: https://github.com/Yanal-Yves/ConsoleApp2/blob/master/src/ConsoleApp2/Program.cs#L41)
Call  context.SaveChanges(); https://github.com/Yanal-Yves/ConsoleApp2/blob/master/src/ConsoleApp2/Program.cs#L46

Issue:

The child entity is not saved in the database

Expected result:

As Child is a dependent entity and parent has been added to the context with GraphBehavior.IncludeDependents flag set, I expecte entity Framework to store the child entity in the storage when context.SaveChanges() is called

The issue is that Child was actually the principal and Parent was the dependent. Julie's PR showed one way to reverse this.

I've also run into issues getting this to work.  My thinking was the same as @Yanal-Yves, e.g.
var parent = new Parent{
    Name = "Parent 1",
    Child = new Child { Name = "Child 1" }
};

db.Parent.Add(parent, GraphBehavior.IncludeDependents);
db.SaveChanges();

When I look at Sql Profiler I would expect to see an INSERT for Child and then an INSERT for Parent.
Is there a simple working example somewhere that shows it working that I can look at?

Julie showed me how to make it work in this commit https://github.com/Yanal-Yves/ConsoleApp2/commit/c99e3f2dcc444ddf21a1eda5d48a8ed83889f358 on the sample I provided.
@rowanmiller in your comment you are saying that Julie showed "one way" to reverse this, suggesting there are other options. What other options do we have?

@dneimke can you open a new issue and include the code for your entity classes and context. From the code you posted I can't tell if it is the same issue.

@Yanal-Yves I would probably recommend the change Julie made, but if you really want to leave the classes un-modified then you could introduce a shadow state foreign key property on ChildA and then use the Fluent API to let EF know how the relationship should be setup:
modelBuilder.Entity<ChildA>()
    .Property<int>("ParentId);

modelBuilder.Entity<Parent>()
    .HasOne(p => p.ChildA)
    .WithOne()
    .HasForeignKey<ChildA>("ParentId");

BTW if you wanted to use the primary key of ChildA as the foreign key, then that is possible too:
modelBuilder.Entity<Parent>()
    .HasOne(p => p.ChildA)
    .WithOne()
    .HasForeignKey<ChildA>(c => c.ChildAId);

Thanks @Yanal-Yves I got it working.  I didn't have the relationship configured - as I thought EF would pick it up via convention.


Test

Description
What problem are you trying to solve?
How important is this feature to you?

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

/triage accepted


can i use redis just as cache

i want save the config data to mysql ,and use the redis as a cache ,how can i do it? thank u

and i don't understand  what different between the method "AddConfigurationStore" and "AddConfigurationStoreCache"

Hi @liugt34
You would follow the following code as an example:
            services.AddIdentityServer()
            .AddRedisCaching(options =>
            {
                options.RedisConnectionString = "--redis connection string --";
            })
            .AddClientStoreCache<IdentityServer4.EntityFramework.Stores.ClientStore>()
            .AddResourceStoreCache<IdentityServer4.EntityFramework.Stores.ResourceStore>();

For the second question, this method is in IdentityServer4.EntityFramework package, please take a look at it's implementation here

@AliBazzi  thank you very much


Handle nested decimal field

https://github.com/hangxie/parquet-tools/pull/106 can handle decimal fields at top level, I need to find a way to deal with nested decimal values.

Partially fixed by #117 , the only thing that does not work is decimal value as map key which, i believe, is a rare case.
I will keep this open till I find a solution for above issue, I just hope upstream can change BYTE_ARRAY and FIXED_LENGTH_BYTE_ARRAY from string to [[byte which will save a lot of dirty codes.


added formData to validation function

Signed-off-by: Alex Rybchenko<EMAIL_ADDRESS>Hey, I just made a Pull Request!
I think it could be useful to have formData in validation function to perform async validation on the fields that depends on value of other fields.

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thank you for contributing 🙌🏻 , I would like the maintainer's point of view about the proposal

What do you think about the proposal @benjdlambert ?

@alexrybch please sign your commits with DCO so that we can move this forward

Hey sorry! Had this on my list for a while, just getting round to this.
I think it's important that we address the fact that whilst it's possible, it's not really encouraged in the docs like we do in with the formData in the formContext field.

Oh sorry, didn't realize this was just for the Next fields. In that case there's no need to make this a minor since it's alpha API, we can call it a patch and there's no need to document yet, so never mind that.

Changed to patch and added discouraging text to changeset :)

@alexrybch The changeset's lifespan is pretty short lived, so if we want people to see this information I'd suggest that we put it in the documentation somewhere around the previous callout https://backstage.io/docs/features/software-templates/writing-custom-field-extensions#access-data-from-other-fields

@alexrybch The changeset's lifespan is pretty short lived, so if we want people to see this information I'd suggest that we put it in the documentation somewhere around the previous callout https://backstage.io/docs/features/software-templates/writing-custom-field-extensions#access-data-from-other-fields

The change is only in "next" scaffolder version which is not in the docs yet. Maybe it's better to wait until it becomes a default?


added DC personalities for some meters to affected files

adding changes mentioned in https://github.com/mlcommons/power-dev/issues/305

Please review and merge. All changes needed to get DC running are in this PR

Not sure who has to approve this to be merged.


Fix for GetTableRows query with sha256 index

Problem found during writing a get_account_row_by_addr helper function in reth, the .to_index() function is not appropriate looking at the final json.

As discussed with Jesse this behaivour was there to accomodate work on SnarkTor which relies on the RSDK which has this wrong indexing on sha256


=== method causes conflict in Scala 3

Hi,
This might not be an issue, but I wanted to inform and see if there is any possibilities to avoid such problems.
Referring to this discussion and this issue about Slick, found out that the ScalaTest === is overriding the === from Slick probably due to the implicit precedence change in Scala 3.
The problem was solved if I imported import slick.jdbc.H2Profile.api._ inside the test class, thus overriding ===.
In Scala 2, it works without any problem, but in Scala 3 (without -source:3.0-migration) it causes this issue.
Is it possible to avoid the implicit import of === from ScalaTest?

Yes I think that's probably due to implicit precedence change in Scala 3, the === should be from the TripleEqualSupport / TripleEquals, imho I don't think we can change that as it potential going to break a lot of people's test ne code currently.
Just fyi one workaround is that you may use NonImplicitAssertions to turn off ScalaTest's implicit.

Thanks @cheeseng
I will close this then.


This is really a bad idea. what if someone really don't want to sample/shuffle their data during training.

https://github.com/PyTorchLightning/pytorch-lightning/blob/633cf76c686357c88f2d6397fa316ed710004184/pytorch_lightning/trainer/data_loading.py#L146

Most users want that. But if you don't, then you can turn it off by setting the flag in the Trainer and provide your own sampler.
https://pytorch-lightning.readthedocs.io/en/latest/trainer.html#replace-sampler-ddp
Feel free to reopen if that doesn't solve your problem.

Most users want that. But if you don't, then you can turn it off by setting the flag in the Trainer and provide your own sampler.
https://pytorch-lightning.readthedocs.io/en/latest/trainer.html#replace-sampler-ddp
Feel free to reopen if that doesn't solve your problem.

Thank you awaelchli. This solves my problem!


Cannot read property 'forEach' of undefined

I am attempting to use this inside a component that is being rendered inside an each loop
// ITEMS ROUTE
{{#each model key="id" as |item|}}
    {{event-item item=item}}
{{/each}}

// EVENT-ITEM COMPONENT
{{#link-to "item" item}}
    {{lazy-image url='https://s3.amazonaws.com/bidr-uploads/item-images/{{localStorage.user.active_auction}}/{{cropped-image item.item_image}}' class="item-image" alt="{{item.item_name}}"}}
    ...
{{/link-to}}

Any idea as to what is happening here?

@Jordan4jc what version of ember and what version of ember-lazy-image are you using?

Ember 2.2.0
Ember-Lazy_image 0.0.14

I just installed for the first time as well. Latest versions. "ember-cli": "1.13.13" "ember-lazy-image": "0.0.14"  "ember": "~2.2.0".
DEPRECATION: The initialize method for Application initializer 'viewport-config' should take only one argument - App, an instance of an Application. [deprecation id: ember-application.app-initializer-initialize-arguments] See http://emberjs.com/deprecations/v2.x/#toc_initializer-arity for more details.
at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:16331:7)
at raiseOnDeprecation (http://localhost:4200/assets/vendor.js:16241:12)
at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:16331:7)
at invoke (http://localhost:4200/assets/vendor.js:16347:7)
at deprecate (http://localhost:4200/assets/vendor.js:16300:32)
at Object.deprecate (http://localhost:4200/assets/vendor.js:26196:37)
at http://localhost:4200/assets/vendor.js:15011:28
at http://localhost:4200/assets/vendor.js:15048:9
at Object.visit [as default] (http://localhost:4200/assets/vendor.js:65346:5)
in-viewport.js:21 Uncaught TypeError: Cannot read property 'forEach' of undefined
Using lazy load in a foreach loop. Loop worked fine before converting to lazy load.:
{{#each artist.images as |image|}}
{{lazy-image class="ui centered medium bordered image" url="{{imagePath}}/{{image.filename}}"}}
{{/each}}

in-viewport.js:21 is:  var forEach = _ember['default'].EnumerableUtils.forEach;

SOLUTION: I pulled the latest commit from the repo. It threw a much better error:
%7B%7Bimage.filename%7D%7D:1 GET http://localhost:4200/%7B%7BimagePath%7D%7D/%7B%7Bimage.filename%7D%7D 404 (Not Found)
Which shows the problem was wrong image url using handlebars.
this is what I had been using prior to lazy-image:
<img class="ui centered medium bordered image" src="{{imagePath}}/{{image.filename}}">
Didn't work as:
{{lazy-image class="ui centered medium bordered image" url="{{imagePath}}/{{image.filename}}"}}
so changed to
{{lazy-image class="ui centered medium bordered image" url=(concat imagePath "/" image.filename)}}
done! @Jordan4jc should fix your problem too.

still doesn't solve my problem, even if I put a static url in as the url param it still gives me the same error.

+1
in Ember.js deprecated EnumerableUtils. need backward compability

@twokul please, update addon in npm

@Jordan4jc you can try add ember addon directly from github. this should solve you problem
    "ember-lazy-image": "https://github.com/twokul/ember-lazy-image.git",

I will give this a shot later and see how it fairs


Review implementation of entities

'entities' package: every class here is more like 'repository' because 'entity' is a single object that is stored into a database.

this is the first and most outdated piece of the code.

commit entities are fixed


Visual map and zoom incompatibility.

Version
5.1.2
Reproduction link
https://codepen.io/romanolegovich-the-sasster/pen/MWmMZoM
Steps to reproduce
Open link and play with zoom.

What is expected?
Highlighted lines in the graph disappear during zoom.
What is actually happening?
Highlighted should be visible always.

cannot reproduce, highlighted pieces are visible at all zoom ranges.
Suggestion to better see highlighted: set visualMap-piecewise inRange: { symbolSize: 3}


cursor timeout may be a pervasive issue

I just hit  a MongoDB cursor timeout in a different context that is a big problem.   I was running a pure database script with MongoDB cleaning up a set of READONLYERROR attributes that had to be repaired.  (full up extended usarray 2012 data set) The problem was I was running that job on a database with over 3 M documents.   It will no doubt take hours to do the repairs and sure enough I got a timeout error when I ran this seemingly innocent script:
rename={ "READONLYERROR_net" : "net",
        "READONLYERROR_sta" : "sta",
        "READONLYERROR_chan" : "chan",
        "READONLYERROR_loc" : "loc"}
db.clean_collection('wf_TimeSeries',rename_undefined=rename,verbose=False)

A BIG PROBLEM here for our users is that we hide the cursor inside Database.  There is currently no way to tell clean_collection that it should create an immortal cursor when the user can anticipate a task will take more than 30 minutes (default cursor timeout) to do the updates.
We immediately need to go through Database and in all places this can be an issue we need to add a "no_cursor_timeout" boolean argument (another name than MongoDBs might be better but may just cause confusion.  e.g. we could use a key arguments use_immortal_cursor=False or something else.   Suspect using the mongodb name would be less confusing to users)
This also brings to the front the need to fully test the with -mongoquery- as cursor construct discussed elsewhere (I don't  know how you do internal links in github - sorry).   A pending question is how to assure an immortal cursor can actually be killed.   As discussed earlier if a parallel job did a lot of queries that never timed out we know from experience it can crash mongodb because the gods (the immortal cursors) have all become decadent and are doing nothing but blocking the entrance of valhalla for anyone else.  (Couldn't resist that imagery.  In computer terms the threads handling each connection never exit and the server crashes when some limit is hit).   From my reading I think the with blah as cursor construct solves this problem but that is purely theoretical and needs a test before we use it through all of MsPASS.  Advise we check that and fix this asap.

This site warns that no_cursor_timeout may not be sufficient to fix this issue.   MongoDB blasts that warning at me in a jupyter notebook that uses this construct:
with db.wf_TimeSeries.find({},no_cursor_timeout=True) as cursor:
    for doc in cursor:
        wfid = doc["_id"]
        nret = db.clean(wfid,collection='wf_TimeSeries',rename_undefined=rename,verbose=False)

If this job fails in 30 minutes we will know this is not a solution.  The url referenced above give some hints the above is likely to timeout.

hmmm... I think it shouldn't be a problem because in this case, the sever should never idle for 30 mins so there should not be a server-side timeout. However, according to this, it seems that we shouldn't have crashed server by the immortal cursors as they will timeout in 30 minutes no matter what. It makes me wonder what exactly is the cause of the crash you previously saw.

Your conclusion about crashing MongoDB may be correct, although  found that page at the fringe of my knowledge base.   I don't think I could find the mongodb log files from that event that might have been able to say more about why it crashed. That was my mistake to not look there more carefully.  It does seem clear that using the with clause will always avoid this problem.   I wonder if the reference counting method of python iteraction with pymongo doesn't release the connection until timeout.   I can conceive that would be a problem with pymongo that would not happen in the mongo shell, but is is perhaps paranoia.   The main conclusion is we should always use the with construct for any cursor.
On a related front, the good news is that message that MongoDB posted was a "red herring", to use a cliche.   That construct worked as expected for this context.   The bad news is that particular operation is slow.   Timer shows it is taking very close to 0.1 s per document update.  That would be fine if this were something like a reservation system for a hotel, but the job currently running on quakes has to do that 3.5 M times for the 2012 extended usarray dataset.   Do that calculations and that means it would take just over a month to run.   Marginally "feasible", but not good and certainly not feasible for this context.   We know a few things that speed this up some.   Here are the ones I know:

This test is on a worst case file system.   A magnetic raid1 disk pair on a desktop machine.    Having the database served from a SSD disk could speed this by an order of magnitude.   At TAAC I think the equivalent would be our tests running from /tmp right?   Am order of magnitude would turn a marginally feasible algorithm to long (a couple days) but reasonable.
Sharding could help, but would only scale by the number of shards right?
The operation above is also the worst case operation with the database server.   It is running one transaction per document.   The other end member would be to build a huge dict of mongodb commands that would update_many of all 3.5 M documents in a single call.  That might hit some barrier though.   I think the reality is this is an example that if something runs slow before you try to tune the algorithm make sure there isn't an alternative algorithm that will solve the problem better.  I don't fully follow it but here is an example we might pursue.   There are very good reasons to think this problem is highly solvable because MongoDB is heavily used and that kind of performance issue would be unacceptable in most applications (Almost any real information system has to occasionally do a global change to all.)
I am going to start with a prototype inline fix.   That is, I'm going to write a map filter function that will rename Metadata fields within a workflow.   We clearly need that no matter what as I can see lots and lots of uses of inline metadata editing.   In thinking through this a bit I think this could be done fairly cleanly through the same inheritance design I used for the editors (branch pushed yesterday).   In this case the editor doesn't kill data but modifies metadata.    Since it is a different form of editor it will, in fact, logically fit in the new edit.py module.

For the longer term we need to look into this issue to seek a faster solution.   As noted above I suspect strongly the correct solution is using a different algorithm not advising users they should put there database on an SSD disk.   The later might still be wise, but that solution is a "cop out".

Hmmm - new mystery.   I didn't crash MongoDB but it mysteriously aborted my job to do those updates anyway.   Maybe one of you can make sense of this.
Here is the MongoDB log for the time period when I know the job aborted:
{"t":{"$date":"2022-01-13T04:45:31.875+00:00"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn7","msg":"Slow query","attr":{"type":"command","ns":"usarray2012.wf_TimeSeries","command":{"getMore":7211169537145159824,"collection":"wf_TimeSeries","lsid":{"id":{"$uuid":"0122232e-44d7-4a75-99d8-eaa271759fbd"}},"$db":"usarray2012"},"originatingCommand":{"find":"wf_TimeSeries","filter":{},"noCursorTimeout":true,"lsid":{"id":{"$uuid":"0122232e-44d7-4a75-99d8-eaa271759fbd"}},"$db":"usarray2012","$readPreference":{"mode":"primaryPreferred"}},"planSummary":"COLLSCAN","cursorid":7211169537145159824,"keysExamined":0,"docsExamined":15276,"numYields":15,"nreturned":15276,"reslen":16776600,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":16}},"Global":{"acquireCount":{"r":16}},"Database":{"acquireCount":{"r":16}},"Collection":{"acquireCount":{"r":16}},"Mutex":{"acquireCount":{"r":1}}},"storage":{"data":{"bytesRead":14898195,"timeReadingMicros":62400}},"protocol":"op_msg","durationMillis":136}}
{"t":{"$date":"2022-01-13T05:20:42.463+00:00"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn7","msg":"Slow query","attr":{"type":"command","ns":"usarray2012.wf_TimeSeries","command":{"getMore":7211169537145159824,"collection":"wf_TimeSeries","lsid":{"id":{"$uuid":"0122232e-44d7-4a75-99d8-eaa271759fbd"}},"$db":"usarray2012"},"originatingCommand":{"find":"wf_TimeSeries","filter":{},"noCursorTimeout":true,"lsid":{"id":{"$uuid":"0122232e-44d7-4a75-99d8-eaa271759fbd"}},"$db":"usarray2012","$readPreference":{"mode":"primaryPreferred"}},"planSummary":"COLLSCAN","cursorid":7211169537145159824,"keysExamined":0,"docsExamined":15265,"numYields":15,"nreturned":15265,"reslen":16776931,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":16}},"Global":{"acquireCount":{"r":16}},"Database":{"acquireCount":{"r":16}},"Collection":{"acquireCount":{"r":16}},"Mutex":{"acquireCount":{"r":1}}},"storage":{"data":{"bytesRead":15045482,"timeReadingMicros":59321}},"protocol":"op_msg","durationMillis":116}}
{"t":{"$date":"2022-01-13T05:57:09.347+00:00"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn7","msg":"Slow query","attr":{"type":"command","ns":"usarray2012.wf_TimeSeries","command":{"getMore":7211169537145159824,"collection":"wf_TimeSeries","lsid":{"id":{"$uuid":"0122232e-44d7-4a75-99d8-eaa271759fbd"}},"$db":"usarray2012"},"originatingCommand":{"find":"wf_TimeSeries","filter":{},"noCursorTimeout":true,"lsid":{"id":{"$uuid":"0122232e-44d7-4a75-99d8-eaa271759fbd"}},"$db":"usarray2012","$readPreference":{"mode":"primaryPreferred"}},"planSummary":"COLLSCAN","cursorid":7211169537145159824,"keysExamined":0,"docsExamined":15262,"numYields":15,"nreturned":15262,"reslen":16776920,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":16}},"Global":{"acquireCount":{"r":16}},"Database":{"acquireCount":{"r":16}},"Collection":{"acquireCount":{"r":16}},"Mutex":{"acquireCount":{"r":1}}},"storage":{"data":{"bytesRead":14981851,"timeReadingMicros":51275}},"protocol":"op_msg","durationMillis":108}}
{"t":{"$date":"2022-01-13T06:32:46.094+00:00"},"s":"I",  "c":"QUERY",    "id":20528,   "ctx":"LogicalSessionCacheRefresh","msg":"Killing cursor as part of killing session(s)","attr":{"cursorId":7211169537145159824}}
{"t":{"$date":"2022-01-13T13:52:44.133+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"connection accepted","attr":{"remote":"<IP_ADDRESS>:45768","sessionId":62108,"connectionCount":7}}
{"t":{"$date":"2022-01-13T13:52:44.151+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn62108","msg":"client metadata","attr":{"remote":"<IP_ADDRESS>:45768","client":"conn62108","doc":{"driver":{"name":"PyMongo","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"5.10.47-linuxkit"},"platform":"CPython 3.6.9.final.0"}}}
{"t":{"$date":"2022-01-13T13:52:44.207+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"connection accepted","attr":{"remote":"<IP_ADDRESS>:45770","sessionId":62109,"connectionCount":8}}
{"t":{"$date":"2022-01-13T13:52:44.216+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn62109","msg":"client metadata","attr":{"remote":"<IP_ADDRESS>:45770","client":"conn62109","doc":{"driver":{"name":"PyMongo","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"5.10.47-linuxkit"},"platform":"CPython 3.6.9.final.0"}}}
{"t":{"$date":"2022-01-13T13:52:51.405+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"connection accepted","attr":{"remote":"<IP_ADDRESS>:45774","sessionId":62110,"connectionCount":9}}
{"t":{"$date":"2022-01-13T13:52:51.411+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn62110","msg":"client metadata","attr":{"remote":"<IP_ADDRESS>:45774","client":"conn62110","doc":{"driver":{"name":"PyMongo","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"5.10.47-linuxkit"},"platform":"CPython 3.6.9.final.0"}}}
{"t":{"$date":"2022-01-13T13:54:40.353+00:00"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn62110","msg":"Slow query","attr":{"type":"command","ns":"usarray2012.elog","command":{"aggregate":"elog","pipeline":[{"$match":{}},{"$group":{"_id":1,"n":{"$sum":1}}}],"cursor":{},"lsid":{"id":{"$uuid":"711dc804-c582-42eb-b26c-4fcde75bda25"}},"$db":"usarray2012","$readPreference":{"mode":"primaryPreferred"}},"planSummary":"COLLSCAN","keysExamined":0,"docsExamined":3486704,"cursorExhausted":true,"numYields":5355,"nreturned":1,"reslen":129,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":5357}},"Global":{"acquireCount":{"r":5357}},"Database":{"acquireCount":{"r":5357}},"Collection":{"acquireCount":{"r":5357}},"Mutex":{"acquireCount":{"r":2}}},"storage":{"data":{"bytesRead":13837249031,"timeReadingMicros":102231377}},"protocol":"op_msg","durationMillis":108933}}
{"t":{"$date":"2022-01-13T13:55:28.661+00:00"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn62110","msg":"Slow query","attr":{"type":"command","ns":"usarray2012.wf_miniseed","command":{"aggregate":"wf_miniseed","pipeline":[{"$match":{}},{"$group":{"_id":1,"n":{"$sum":1}}}],"cursor":{},"lsid":{"id":{"$uuid":"711dc804-c582-42eb-b26c-4fcde75bda25"}},"$db":"usarray2012","$readPreference":{"mode":"primaryPreferred"}},"planSummary":"COLLSCAN","keysExamined":0,"docsExamined":3644573,"cursorExhausted":true,"numYields":4143,"nreturned":1,"reslen":136,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":4145}},"Global":{"acquireCount":{"r":4145}},"Database":{"acquireCount":{"r":4145}},"Collection":{"acquireCount":{"r":4145}},"Mutex":{"acquireCount":{"r":2}}},"storage":{"data":{"bytesRead":1373723496,"timeReadingMicros":44150719}},"protocol":"op_msg","durationMillis":48241}}

My notebook has this exception chain:
---------------------------------------------------------------------------
CursorNotFound                            Traceback (most recent call last)
<ipython-input-33-fca9c8e68c3c> in <module>
     12 print("total_count previously_done set_count dt")
     13 with db.wf_TimeSeries.find({},no_cursor_timeout=True) as cursor:
---> 14     for doc in cursor:
     15         wfid = doc["_id"]
     16         nret = db.clean(wfid,collection='wf_TimeSeries',rename_undefined=rename,verbose=False)

/usr/local/lib/python3.6/dist-packages/pymongo/cursor.py in next(self)
   1236         if self.__empty:
   1237             raise StopIteration
-> 1238         if len(self.__data) or self._refresh():
   1239             if self.__manipulate:
   1240                 _db = self.__collection.database

/usr/local/lib/python3.6/dist-packages/pymongo/cursor.py in _refresh(self)
   1173                                     self.__sock_mgr,
   1174                                     self.__exhaust)
-> 1175             self.__send_message(g)
   1176
   1177         return len(self.__data)

/usr/local/lib/python3.6/dist-packages/pymongo/cursor.py in __send_message(self, operation)
   1043         try:
   1044             response = client._run_operation(
-> 1045                 operation, self._unpack_response, address=self.__address)
   1046         except OperationFailure as exc:
   1047             if exc.code in _CURSOR_CLOSED_ERRORS or self.__exhaust:

/usr/local/lib/python3.6/dist-packages/pymongo/mongo_client.py in _run_operation(self, operation, unpack_res, address)
   1424         return self._retryable_read(
   1425             _cmd, operation.read_preference, operation.session,
-> 1426             address=address, retryable=isinstance(operation, message._Query))
   1427
   1428     def _retry_with_session(self, retryable, func, session, bulk):

/usr/local/lib/python3.6/dist-packages/pymongo/mongo_client.py in _retryable_read(self, func, read_pref, session, address, retryable)
   1523                         # not support retryable reads, raise the last error.
   1524                         raise last_error
-> 1525                     return func(session, server, sock_info, secondary_ok)
   1526             except ServerSelectionTimeoutError:
   1527                 if retrying:

/usr/local/lib/python3.6/dist-packages/pymongo/mongo_client.py in _cmd(session, server, sock_info, secondary_ok)
   1420             return server.run_operation(
   1421                 sock_info, operation, secondary_ok, self._event_listeners,
-> 1422                 unpack_res)
   1423
   1424         return self._retryable_read(

/usr/local/lib/python3.6/dist-packages/pymongo/server.py in run_operation(self, sock_info, operation, set_secondary_okay, listeners, unpack_res)
    128                 first = docs[0]
    129                 operation.client._process_response(first, operation.session)
--> 130                 _check_command_response(first, sock_info.max_wire_version)
    131         except Exception as exc:
    132             if publish:

/usr/local/lib/python3.6/dist-packages/pymongo/helpers.py in _check_command_response(response, max_wire_version, allowable_errors, parse_write_concern_error)
    163         raise ExecutionTimeout(errmsg, code, response, max_wire_version)
    164     elif code == 43:
--> 165         raise CursorNotFound(errmsg, code, response, max_wire_version)
    166
    167     raise OperationFailure(errmsg, code, response, max_wire_version)

CursorNotFound: cursor id<PHONE_NUMBER>145159824 not found, full error: {'ok': 0.0, 'errmsg': 'cursor id<PHONE_NUMBER>145159824 not found', 'code': 43, 'codeName': 'CursorNotFound'}

Can either of you interpret this data?   I don't see a smoking gun (to use yet another cliche).
Emphasize the server did not crash here.  Every line in the log file after "kill" is, I think, my testing to see if the server would respond

I am not quite sure about the error log neither, but I do find this article that explains it very well. I think you did hit the session timeout here. It seems weird because the idling time between two clean seems should not be more than 30 mins, but maybe this is because the return of documents within a cursor is done in batches, so the actual interval should be calculated between the batches. Not quite sure about that. But apparently we need to either change the localLogicalSessionTimeoutMinutes parameter on mongod or add refreshSessions in the loop similar to the example here.

I think you are right that this died this morning from a timeout.  What is mysterious is that it didn't happen until something like 8 hours after starting.  However, timing code in my script shows the error was thrown somewhere between 300,000 and 400,000 documents where processed.  Could well be that the cache size for the cursor was that large and the cursor had expired long before the it reached that point.
I do not know what the right solution for the Database class is.  I leave that to you @wangyinz to deal with and resolve.   I did my job in the team - my job at this point as the domain scientist is to break things.
A solution to the update efficiency problem is coming.  I'm about to post a proposed design for doing inline updates in the discussion section.


Tag hover preview (or something else?) can deselects multiple tags

2974-dev
Describe the bug
When selecting multiple tags from the tag list, the pop-up preview can cause the tags to deselect without clcking
To Reproduce
Steps to reproduce the behavior:

Select multiple tags (click, hold shift, click again)
Move the mouse
Wait a bit

Expected behavior
The tags I select stay selected unless I deselect them somehow.
Screenshots

Version and Platform (required):

Binary Ninja:  2974-dev
OS: Windows
Version: 11

Additional context

Seems like maybe is the code preview window pop up thats doing it?

It’s not the preview window directly as it doesn’t repro consistently, but it does seem like the preview window is related.
My best guess was preview window for a function that wasn’t lifted (or some other computation that the result of gets cached). Preview window on first preview triggers lifting, and that lifting causes the tags to deselects. Subsequent previews the lift doesn’t happen and so the tags stay selected.
Just a guess based on trouble capturing a gif.

One cause of this is trying to select while analysis is ongoing. This is a bug and needs fixed. Unsure if this is the cause of yrp's issue.

Fixed in 2.4.3102


libm/libmcs: add math library libmcs support

add math library libmcs support
(1)open menuconfig  (2)close math.h:build setup->Customize Header Files->math.h (3) select libmcs:Library Rountines->Select math library->Math Library fram LibmCS (4)build
Summary
Impact
Testing

add "depends on ALLOW_BSD_COMPONENTS" finsihed


Toggle colourisation shortcut

We already have toggle for "Compile on change". @Glenfe on Slack suggest one for colurisation.
I think it wouldn't hurt to have one

Because I can't improvise, the shortcut will be Ctrl + Shift + F1. I don't know how portable this is to other OS, browsers and etc... , but I think it's a good starting point. If anyone has an idea for a better one, just let me know.


Allow setting mods in funding cycle reconfiguration modal

Payment and mods can now be set from their own modals for the queued cycle (no changes to the funding cycle reconfiguration modal)


SQS back off time equivalent in 3.x.x

Discussed in https://github.com/awspring/spring-cloud-aws/discussions/713

Originally posted by timothysugar March 14, 2023
While using Starter SQS from 3.0.0-RC1, at times my queue consumer suffers from network connectivity failures with AWS. I see a very large number of errors raised due to reconnection attempts. My immediate issue is that this floods the logs with errors. It appears to me that in the 2.x versions, this behaviour could be affected using the cloud.aws.sqs.listener.back-off-time configuration property, but I don't see any equivalent for 3.x.
Is that correct? Is there any suggested way of affecting this behaviour?
Thank you for your contributions to this project.

@timothysugar, we currently don't have such a mechanism in 3.0, but we can look into adding it.
Just to be clear, the expected behavior is being able to configure a back off time to be applied if the polling returns an error, is that correct?
@maciejwalkowiak, please let me know if you have anything to add.
Thanks.

@tomazfernandes yes, if polling fails, it's the time that listener should wait until the polling is retried. The default is 10s. It has been introduced long time ago as an answer to following issue: https://github.com/spring-attic/spring-cloud-aws/issues/82
If we have different way to address the same issue we can just document it in the migration guide.

Just to be clear, the expected behavior is being able to configure a back off time to be applied if the polling returns an error, is that correct?

@tomazfernandes Yes, that's correct. A default of 10s for this also seems more appropriate and would meet my requirement.

Hey @timothysugar, now that 3.0 is out, would you like to contribute a PR for this feature? We can likely include it in 3.1 if so.
Thanks

@timothysugar, took some time but here you go. Feel free to review the PR in case you have any suggestions or comments.
https://github.com/awspring/spring-cloud-aws/pull/1008


Test Suites

[x] Famework for testing

Complete test suites for the following levels
Basics

[x] Introduction to Git Commits
[x] Branching in Git
[x] Merging in Git
[x] Rebase Introduction

Ramping Up

[x] Detached HEAD
[x] Relative Refs
[x] Relative Refs 2
[x] Reversing Changes

Extras

[x] Octopus

We need to finish #103 first

Fixed by d5932bd31abdb06eda4ae00e84e6c2f1a8dcebfe


Is this not implemented exception expected for LSTM?

Hello,
Is LSTM in sequential supported currently?
System.NotImplementedException: ''
at Tensorflow.Keras.Engine.Layer.Call(Tensors inputs, Tensor state, Boolean is_training)
at Tensorflow.Keras.Layers.LSTM.Call(Tensors inputs, Tensor state, Boolean is_training)
at Tensorflow.Keras.Engine.Layer.<>c__DisplayClass65_0.b__0(NameScope scope)
at Tensorflow.Binding.tf_with[T](T py, Action`1 action)
at Tensorflow.Keras.Engine.Layer.FunctionalConstructionCall(Tensors inputs)
at Tensorflow.Keras.Engine.Layer.Apply(Tensors inputs, Tensor state, Boolean is_training)
at Tensorflow.Keras.Engine.Sequential.add(Layer layer)
Associated code that is triggering this:
var layers = new LayersApi();
  this.rnnModel = new Sequential(new SequentialArgs());
this.rnnModel.add(layers.Input(new Shape(this.shapeBatchSize, this.shapeNumDataPoints)));
  Activations activations = new Activations();
    `    this.rnnModel.add(layers.LSTM(lstmLayers[0].NumNodes, recurrent_activation: activations.Sigmoid, activation: lstmLayers[0].ActivationFunction, return_sequences: true));`

Thanks

Looks like the API just hasn't been fully implemented here for LSTM sequential

bump?

bump?

Not yet, havn't chance to implement it.

Not yet, havn't chance to implement it.

Not yet, havn't chance to implement it.

Any idea how difficult this would be for someone to implement who isn't familiar with the tensorflow.net code base but has a lot of experience with C#? Like is it realistic for a tensorflow.net novice to try this feature and create a pull request?

Not yet, havn't chance to implement it.

Any idea how difficult this would be for someone to implement who isn't familiar with the tensorflow.net code base but has a lot of experience with C#? Like is it realistic for a tensorflow.net novice to try this feature and create a pull request?

@serp777 You should try your best, I don't know how difficult it is for you. We all welcome the PRs and glad to help.

@serp777 You should try your best, I don't know how difficult it is for you. We all welcome the PRs and glad to help.

ok great ty I will give it a shot

ok great ty I will give it a shot

@serp777 please keep posting your progress here. There have been in the past talented Microsoft developers contributed to this repository. By doing what you plan to do, you may learn a lot from many talented .NET developers.


autogrow for tabs

Hi,
Can we have an option to make the tabs receive an automatic width to make the top bar always filled completely.
Thanks

You want tabs to always fill the tab-bar so that when you have one file open it would have a 100% width tab?
I'm not sure that's how tabs are supposed to work in the design spec.

Yes that is the request.

I'm sorry, but I don't believe is a good idea and it doesn't quite follow the MD spec for tabs (except for the case where you only have up to three tabs)


[FEATURE REQ] Convenience layer code for pickHostNameFromBackendHttpSettings in ApplicationGateway

IcM resolved through ServiceClient.
https://portal.microsofticm.com/imp/v3/incidents/incident/429660730/summary

solved in 2.32.0


Nf floats

This issue is the same issue as mentioned by Lukas but there's a change in code structure by keeping privacy of variables in consideration with regards to more upcoming development .
Pointers -
Handles NaN values in Json as
Python native type  - which generates error
Float Null type (Nan , infinity) - Passed as a string in final JSON
Null type - Which modifies values as null in JSON more like allow_nan = True in json python package

@Vamp1899 can you please update your commit message as well with the correct and expected format?


Register for Local Notifications

When using this module, do I need to register the app to use the local notification services in iOS 8?

It is only recommended that you read local notifications using this module. In order to read, you would have first registered, otherwise there would be nothing to consume.


CI: Cannot retrieve enp0s8 enp0s3 link

All tests failed at https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-net-next/138/ and https://jenkins.cilium.io/job/Cilium-PR-K8s-1.20-kernel-4.19/112/ with the following fatal:
2021-04-08T09:50:53.984405149Z level=info msg="BPF host routing is currently not supported with devices without L2 addr. Falling back to legacy host routing (enable-host-legacy-routing=true)." subsys=daemon
2021-04-08T09:50:53.984408243Z level=fatal msg="Cannot retrieve enp0s8 enp0s3 link" error="Link not found" subsys=daemon

Sysdumps:
b06d786b_K8sServicesTest_Testing_test_script_Validating_test_script_correctness.zip
c6459936_K8sPolicyTest_Basic_Test_checks_all_kind_of_Kubernetes_policies.zip
/cc @brb (looks like it may be related to the patch for devices without L2 address)

BPF host routing is currently not supported with devices without L2 addr is a false positive (because devices couldn't be retrieved through netlink).
Unfortunately, no bugtool is included in any of the artifacts. It's hard to say why all of sudden cilium-agent couldn't retrieve devices via netlink. Important to note is that the devices are determined during runtime (by using netlink). I doubt that their names could have changed. Have we recently built a new VM net-next image?

Have we recently built a new VM net-next image?

No, net-next image builds have been blocked for a while. The failure also happened on a 4.19 image.
I think I saw this happen at least once before but maybe I'm mistaken. Could be that it's a bug in the PR which triggered tests (i.e., https://github.com/cilium/cilium/pull/15558). Let's maybe revisit next steps if it happens again.

@pchaigno Why it was closed? Have we figured out why it was failing?

@brb It's specific to https://github.com/cilium/cilium/pull/15558.


Improved name guessing

You could use my fullname module for better name guessing ;)

Oh, surely, @sindresorhus! Actually, looking for a smarter way to guess the name would be my very next step for the next release, so maybe fullname is the best bet.
But as I implemented here it breaks the build on older node versions - up to 0.12 - since the use of const in strict mode wasn't allowed up to them.
Maybe an issue with fullname?

Just require Node.js 4. No reason to support older Node.js versions for CLI tools, as CLI tools are installed on the user's computer and they can easily upgrade.

Did it @sindresorhus! Released v0.1.1 :smile_cat: