Runing the code

Hello
I'm security cameras installer I install hikvision and others.
In the coding world I'm very very very new
Can you please tell me how to run your code? It will save me time.
Please and thank you

The first step would be to install Python. When installing, make sure to select the option to add Python to PATH variables if it's not selected by default.
From here, you should be able to follow the instructions in the README.
Once Python is installed, you can install this package using pip, the Python package manager. This can be done in a command prompt window (Run -> cmd.exe)
pip install hikvision-recover

Once this completes, you should have a command line tool available:
hikvision-recover --help

The command is usually expected to be run like so:
hikvision-recover serial year month day

serial: Camera Serial Number
year: 4 digit year of current camera time
month: 2 digit month of current camera time
day: 2 digit day of current camera time

For example,
hikvision-recover DS-ABC1234567-HIJKLMNOPQRS10987654321 2017 01 25

This will display the "recovery code" in the console. You can copy/paste this code to reset the password of the camera in the web interface. Please also note, as discussed in #1 this method will not work with all Hikvision cameras.
Hope that helps.


set deployment API to apps/v1 if k8s >= 1.9

this closes #85
this closes teamhephy/workflow#57
related issue worth reading: teamhephy/workflow#57
To sum this up based on the discussion that took place at issue teamhephy/workflow#57:

What we're seeking here is the same version on the HPA that the Deployment is defined as. The HPA cannot be looking for the Deployment in an API group/version that it is not in. I recommend changing your Deployment to the apiVersion that your version uses by default. For 1.9 looks like it's actually apps/v1.
source

Looks like the issue here was not that Hephy was using the wrong HPA api version, but that deployments api compatibility has changed. Sounds that deployment API version will need to be migrated to apps/v1 .
source

I guess this will actually require manual editing of each existing deployment using kubectl -n <namespace> edit deploy <deployment-name> and change the apiVersion to apps/v1 for deis autoscale to work properly on old deployments, right?

Have you tested this @n0n0x on any cluster yet?
I'm okay with having to manually edit to fix this for existing deployments as upgrading clusters to newer versions is a manual process anyways. :+1:

We're getting reports in slack that this patch has problems when the version is reported as 1.11+, which happens on some clusters.
api.exceptions.DeisException: Invalid version: '1.11+'

Traceback (most recent call last):
  File "/app/api/models/build.py", line 65, in create
    self.app.deploy(new_release)
  File "/app/api/models/app.py", line 517, in deploy
    self._check_deployment_in_progress(deploys, force_deploy)
  File "/app/api/models/app.py", line 603, in _check_deployment_in_progress
    kwargs.get("replicas"), kwargs.get("tags")
  File "/app/scheduler/resources/deployment.py", line 204, in in_progress
    ready, _ = self.are_replicas_ready(namespace, name)
  File "/app/scheduler/resources/deployment.py", line 264, in are_replicas_ready
    deployment = self.get(namespace, name).json()
  File "/app/scheduler/resources/deployment.py", line 34, in get
    url = self.api(url, *args)
  File "/app/scheduler/resources/__resource.py", line 28, in api
    return "/{}/{}".format(self.api_prefix, self.api_version) + tmpl.format(*args)
  File "/app/scheduler/resources/deployment.py", line 16, in api_version
    if self.version() >= parse("1.9.0"):
  File "/app/scheduler/__init__.py", line 87, in version
    return Version('{}.{}'.format(data['major'], data['minor']))
  File "/usr/local/lib/python3.5/dist-packages/packaging/version.py", line 202, in __init__
    raise InvalidVersion("Invalid version: '{0}'".format(version))

Thanks @kingdonb! I am facing this problem. I upgraded from v2.20.0 to v2.20.1 and now I am having this issue @kingdonb kindly described here.
Here is the kubectl version output
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.7", GitCommit:"0c38c362511b20a098d7cd855f1314dad92c2780", GitTreeState:"clean", BuildDate:"2018-08-20T10:09:03Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.6-gke.2", GitCommit:"04ad69a117f331df6272a343b5d8f9e2aee5ab0c", GitTreeState:"clean", BuildDate:"2019-01-04T16:19:46Z", GoVersion:"go1.10.3b4", Compiler:"gc", Platform:"linux/amd64"}

These version numbers are not good, but we've seen this before:
https://github.com/teamhephy/controller/pull/73


build(deps): bump axios to 1.6.7

Still waiting for update
npm i @leecheuk/wait-on

https://github.com/jeffbski/wait-on/pull/153


GetConversationMembersAsync throws with error "forbidden" in a private 1:1 Teams conversation

Version
Microsoft.Bot.Builder.Integration.AspNet.Core 4.6.2
Describe the bug
GetConversationMembersAsync method causes an exception Microsoft.Bot.Schema.ErrorResponseException: Operation returned an invalid status code 'Forbidden' when invoked from an action-based messaging extension in a private 1:1 Teams conversation between two people, where the bot is not a member of said conversation.
To Reproduce
Steps to reproduce the behavior:

Start with https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/57.teams-conversation-bot sample
Register a bot via App Studio application from within Teams and update appsettings.json of the sample project with generated bot AppId and Password.
Edit the manifest.json contained in the TeamsAppManifest folder of the sample project with the sample project endpoint information (I used ngrok for this) and the required GUIDs given by App Studio, zip it along with PNG icons which reside there into manifest.zip, and upload the package to App Studio using "Import an existing app", which should result in a new application called "TeamsConversationBot".
Add a new action-based command with a defined number of parameters. Give it any Id, name a parameter and input the other mandatory fields, doesn't really matter. For "select the context in which the compose extension should work" choose "Command Box" and "Compose Box", tick "Initial run" and click "Save".
Install the app to your Team by using "Test and distribute" -> "Install" and then clicking "Add" button.
Add the following method to TeamsConversationBot.cs in the sample project:

protected override async Task<InvokeResponse> OnInvokeActivityAsync(ITurnContext<IInvokeActivity> turnContext, CancellationToken cancellationToken)
{
    var connector = turnContext.TurnState.Get<IConnectorClient>();
    var conversation = turnContext.Activity.Conversation;
    var members = await connector.Conversations.GetConversationMembersAsync(conversation.Id, cancellationToken);
    return await base.OnInvokeActivityAsync(turnContext, cancellationToken);
}

Go to the Teams channel, select messaging extensions under the compose box and invoke the newly added command. This will work.
Go to a 1-1 private conversation between you and the other team member (where you and them both have sent messages to each other previously, to ensure the conversation is not empty), select messaging extensions under the compose box and invoke the newly added command. This will cause an exception at line var members = await connector.Conversations.GetConversationMembersAsync(conversation.Id, cancellationToken);

Expected behavior
The expected behavior is to have GetConversationMembersAsync return a list of members of the given private conversation.
Additional context
The problem has been posted a little bit more than 3 days ago at StackOverflow: https://stackoverflow.com/questions/58866100/operation-returned-an-invalid-status-code-forbidden-when-calling-getconversati but based on the conversation there, this seems like a bug.

Ok, thanks to @mdrichardson I've got my response over at StackOverflow. So this can't be done using bot framework, but requires Graph API call instead.


[SPARK-32538][CORE][TEST] Use local time zone for the timestamp logged in unit-tests.log

What changes were proposed in this pull request?

This PR lets the logger log timestamp based on local time zone during test.
SparkFunSuite fixes the default time zone to America/Los_Angeles so the timestamp logged in unit-tests.log is also based on the fixed time zone.
Why are the changes needed?

It's confusable for developers whose time zone is not America/Los_Angeles.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Run existing tests and confirmed uint-tests.log.
If your local time zone is America/Los_Angeles, you can test by setting the environment variable TZ like as follows.
$ TZ=Asia/Tokyo build/sbt "testOnly org.apache.spark.executor.ExecutorSuite"
$ tail core/target/unit-tests.log

Test build #127090 has started for PR 29356 at commit 8001893.

Merged build finished. Test PASSed.

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

Test build #127090 has finished for PR 29356 at commit 8001893.

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

Merged build finished. Test PASSed.

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

Thanks! Merged to master/branch-3.0.


Maximum integer value from a tree of structures

From IRC:

<alteous> I would like to obtain a maximum integer value from a tree of structures. The context is these values are offsets into arrays, and I want to check that they are all valid ahead of time. The integer values are wrapped in Index types.
<alteous> Here's an example of what I'd like to achieve https://gist.github.com/alteous/3986ace4719903933277aa5fba161763

@alteous

Here is one possible approach.
#[derive(Clone, Debug, Serialize)]
pub struct Root {
    foos: Vec<Foo>,
    bars: Vec<Bar>,
    bazs: Vec<Baz>,
    #[serde(skip_serializing)]
    foo_max: Index<Foo>,
}

impl Deserialize for Root {
    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
        where D: Deserializer
    {
        #[derive(Deserialize)]
        struct RootHelper {
            foos: Vec<Foo>,
            bars: Vec<Bar>,
            bazs: Vec<Baz>,
        }
        RootHelper::deserialize(deserializer).map(|helper| {
            let foo_max = helper.bazs
                .iter()
                .map(|baz| baz.foo)
                .max()
                .unwrap_or(Index(0, PhantomData));
            Root {
                foos: helper.foos,
                bars: helper.bars,
                bazs: helper.bazs,
                foo_max: foo_max,
            }
        })
    }
}

Hi, thanks for your reply. Whilst the above technically solves the problem I described it's not the solution I was looking for. The real data structure is more complex. I would like to avoid is writing code that checks every index by hand since it's tedious and error prone.
Is there possible any other way? I thought about writing a custom Serializer that would walk the tree after an initial deserialization. The serializer wouldn't output any data but it would error if an index was found to be out of range. Pseudo-code of what I'm trying to describe:
let root = serde_json::from_str(...);
let serializer = CustomSerializer {
    accessor_max: root.accessors.len(),
    // etc.
};
match CustomSerializer::serialize(&root) {
    Ok(()) => { /* all indices are valid */ },
    Err(err) => { /* index out of range */ },
}

That would work! Change the Serialize impl for Index to:
impl Serialize for Index<Accessor> {
    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
        where S: Serializer
    {
        // JSON serializes this as just the inner value.
        serializer.serialize_newtype_struct("Index<Accessor>", &self.value())
    }
}

And have the serialize_newtype_struct method of the custom Serializer match that to a max value for that dimension:
fn serialize_newtype_struct<T>(self, name: &'static str, v: &T) -> Result<()>
    where T: ?Sized + Serialize
{
    match self.lengths.get(name) {
        Some(max) if max <= v.serialize(AsU32)? => {
            /* error, out of bounds */
        }
        None if name.starts_with("Index") => {
            /* error, missing max for this dimension */
        }
        _ => {
            Ok(())
        }
    }
}

Where AsU32 is another custom serializer with just a serialize_u32 method that gives you the u32 value.

Update
I had a go at writing code for the above, but I found the implementation of Serialize to be too 'involved'. I got as far as being able to print out all the field names of the root tree, but going further, the rabbit hole went too deep to be a feasible solution.
In case you're interested, I ended up going for a manual check but in a more maintainable way.
Thanks for your excellent support!


UnexpectedAlertOpenError causes test to terminate and produce no output

In my attempts to write some tasks that handle and accept alerts, I discovered that when webdriver -> protractor -> serenity-js encounters the exception: UnexpectedAlertOpenError then the test terminates and produces no json output at all. see #branch for issue-65 for more information

Hey @jan-molak when running npm test on the above branch the following exception is thrown:
[00:52:38] E/launcher - Error: UnexpectedAlertOpenError: unexpected alert open: {Alert text : Only selected walks in the published state will be unpublished.

Are you sure you want to unpublish the selected walks?}
  (Session info: chrome=58.0.3029.110)
  (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.12.5 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 6 milliseconds: null
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'Nicks-MBP', ip: '2a02:c7f:ca16:e000:f484:4cd8:881c:f73c', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.5', java.version: '1.8.0_131'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262), userDataDir=/var/folders/ny/3mg4vv816758l5fjfqjwgqjr0000gn/T/.org.chromium.Chromium.DE4LIT}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=58.0.3029.110, platform=MAC, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
Session ID: d74456d511b0deef53ababa5476b278f
    at Object.checkLegacyResponse (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/selenium-webdriver/lib/error.js:512:13)
    at parseHttpResponse (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/selenium-webdriver/lib/http.js:509:13)
    at doSend.then.response (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/selenium-webdriver/lib/http.js:440:13)
    at process._tickCallback (internal/process/next_tick.js:109:7)
From: Task: WebDriver.takeScreenshot()
    at thenableWebDriverProxy.schedule (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/selenium-webdriver/lib/webdriver.js:816:17)
    at thenableWebDriverProxy.takeScreenshot (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/selenium-webdriver/lib/webdriver.js:1092:17)
    at run (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/protractor/lib/browser.ts:66:27)
    at ProtractorBrowser.to.(anonymous function) [as takeScreenshot] (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/protractor/lib/browser.ts:74:12)
    at /Users/nick/dev/git-personal/serenity-js-issues/node_modules/serenity-js/src/serenity-protractor/screenplay/abilities/browse_the_web.ts:42:41
    at /Users/nick/dev/git-personal/serenity-js-issues/node_modules/@serenity-js/core/src/recording/async.ts:4:8
    at Object.defer (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/@serenity-js/core/src/recording/async.ts:3:12)
    at BrowseTheWeb.takeScreenshot (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/serenity-js/src/serenity-protractor/screenplay/abilities/browse_the_web.ts:42:16)
    at Photographer.photographWorkOf (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/serenity-js/src/serenity-protractor/stage/photographer.ts:136:36)
    at Photographer.photograph (/Users/nick/dev/git-personal/serenity-js-issues/node_modules/serenity-js/src/serenity-protractor/stage/photographer.ts:114:38)
[00:52:38] E/launcher - Process exited with error code 100

Note that in my attempt to circumnavigate the Unpexpected alert I tried catching the exception as follows, but to no avail:
  performAs(actor: PerformsTasks): PromiseLike<void> {
        return actor.attemptsTo(
            Click.on(RamblersTargets.unPublishSelected)).catch(e => {
            console.log('exception thrown', e);
            return actor.attemptsTo(
                Click.on(RamblersTargets.unPublishSelected),
                WaitForAlert.toBePresent(),
                Alert.accept());
        });

    }

Ha, so that's an interesting one. I think you're right, the Photographer assumes that every task is related to an interaction with the browser window. An alert, however, doesn't allow for a screenshot to be taken.
I think the error handling should be added here. If we can't take the screenshot because we're focused on an alert dialog, we ignore the problem the same way we handle WebDriver's invalid session perhaps?
J

Hi @jan-molak - thanks for response... are you wanting me to have a go at a PR for this error handling?

That would be lovely :-) Thanks!

HI @jan-molak - I've made the necessary changes now - hope I got everything! 🙏

PR merged; closing.
Thanks for your contribution, @nbarrett !
J


current version 0.1.28 looses key attribute...

..., it's simply not rendered. 0.1.27 is fine though.

@webcss the key attribute isn't intended as a DOM attribute – it's an abstract attribute for internal use by Mithril (like config) to preserve elements between redraws. If you want a unique identifier that is rendered as an attribute, you should use the HTML-valid id attribute.

Allright, thank you! Just like I used to do it.
So the behaviour before 0.1.28 (key attribute was added to a node) could be considered buggy ;-)

Yeah, I was a bit irritated with it polluting the DOM TBH – can't find my initial complaint though ;)

yeah, this was done as a performance optimization, to allow diffs on elements without attributes to skip the attribute diffing portion of the code altogether.


RNTesterSnapshotTests: Fix testScrollViewExample flakiness

Help Wanted: Fix ScrollViewExample flakiness
As part of the RNTesterSnapshotTests, the RNTester ScrollViewExample is loaded and a screenshot is saved. The snapshot test is flaky as the Facebook thumbs images might not load before the screenshot is taken. This is therefore recorded as a failing snapshot test.
Comparison: blank snapshot on the left, and proper snapshot on the right.

The test is defined in JavaScript at RNTester/js/ScrollViewExample.js, and is invoked by RNTesterSnapshotTests.m in RNTester/RNTester.xcodeproj.
Potential solutions include delaying the recording of the snapshot long enough for images to have loaded, or simply replacing the images from ScrollViewExample with something else.
Steps to reproduce:

Run yarn at the repository root.
Open RNTester/RNTester.xcodeproj on Xcode 10.1.0.
Build RNTester.
Run tests (CMD+U) on an iPhone 6s simulator.

You can generate a new snapshot for comparison by editing RNTesterSnapshotTests.m and setting record mode to on.

I will take a look at this.

Updated in #23541, the solution was to remove the images and use a similar item style across all the examples.

@hramos we can close this now that #23541 was merged?


added nice coordinate system for Pegasus(0)

Codecov Report

Merging #95 into master will increase coverage by 0.13%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   80.58%   80.71%   +0.13%
==========================================
  Files          26       26
  Lines        1339     1390      +51
==========================================
+ Hits         1079     1122      +43
- Misses        260      268       +8

Impacted Files
Coverage Δ

dwave_networkx/drawing/pegasus_layout.py
31.14% <7.69%> (-1.58%)
:arrow_down:

dwave_networkx/generators/pegasus.py
98.36% <94.33%> (-1.64%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #95 into master will increase coverage by 0.13%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   80.58%   80.71%   +0.13%
==========================================
  Files          26       26
  Lines        1339     1390      +51
==========================================
+ Hits         1079     1122      +43
- Misses        260      268       +8

Impacted Files
Coverage Δ

dwave_networkx/drawing/pegasus_layout.py
31.14% <7.69%> (-1.58%)
:arrow_down:

dwave_networkx/generators/pegasus.py
98.36% <94.33%> (-1.64%)
:arrow_down:

Continue to review full report at Codecov.

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


Add NOTICE.txt and generate notice using elastic-agent-libs

:broken_heart: Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-04-13T13:20:12.850+0000

Duration: 3 min 16 sec

Steps errors
Expand to view the steps failures

Mage lint

Took 0 min 1 sec . View more details here
Description: mage -v lint

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.


Prepare 1.0 release

Copy 0.1 content to 1.0
Change to make 1.0 the default version to show and latest stable -- https://emm-spec.org/ --> https://emm-spec.org/1.0/
Make 0.1 show 1.0 as latest stable -- https://emm-spec.org/0.1/
Add change log to give date on 1.0
Change spec and context for 1.0 to use /1.0/ instead of /0.1/ in context URLs -- https://emm-spec.org/1.0/

Have connected this repo to Zenodo so cutting a github release after merging should then take an archival copy and assign a DOI

Zenodo has correctly picked up the 1.0 release as https://zenodo.org/doi/10.5281/zenodo.10732031


feat(lang): implement expose func

Signed-off-by: nullday<EMAIL_ADDRESS>

The following work will be:

add describe https://github.com/tensorchord/envd/issues/782
add test https://github.com/tensorchord/envd/issues/727

Is service used in the code?

The Defaultgraph save the service and it should be used in envd envs describe functions or future commands to shows multi service for a container/env

SGTM


feat: support prometheus data.

fix https://github.com/appleboy/drone-facebook/issues/29

Codecov Report

Merging #30 into master will increase coverage by 3.99%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   77.88%   81.88%   +3.99%
==========================================
  Files           1        2       +1
  Lines         104      138      +34
==========================================
+ Hits           81      113      +32
- Misses         23       25       +2

Impacted Files
Coverage Δ

metrics.go
100% <100%> (ø)

plugin.go
77.67% <75%> (-0.21%)
:arrow_down:

Continue to review full report at Codecov.

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


Callout break in Outlook

I have a callout component with 855px high and in Outlook 2010 it look break for a blank space.

It looks like you are running into the infamous Outlook Gap.
Outlook reads email as if it were a word document and assumes that, at some point, you will have a page break. This often occurs somewhere around 2000px down the page. If the content on the left is not the same length as the content on the right, Outlook will insert blank space to compensate.
More info here:
https://www.emailonacid.com/blog/article/email-development/horizontal_spacing_issues_in_outlook_2007_and_2010

OK, thanks @lunascura3

Woah, forgot about this bug! @lunascura3 thanks for pointing this out. @marcelo2605 looks like there are a few different approaches to handle this. Let us know which one worked out for you!
Closing this, please reopen it if there are still any issues.


[Workshop page] School`s address is displayed with mistakes in unit "Контакти"

Environment: Windows 10 x86(64), Opera GX 82.0.4227.50
Reproducible: always
Build found: lFrontend: gcp-0.0.50, Backend: gcp-0.0.101
Preconditions

Go to main page https://oos.dmytrominochkin.cloud/#/
Pick any section/group

Steps to reproduce

Go to details, by clicking "Детальніше" button
Pay attention to school`s address in unit "Контакти"

Actual result
School`s address is displayed like in a mockup
Expected result
School`s address is displayed with mistakes
User story and test case links
"User story #58" https://github.com/ita-social-projects/OoS-Backend/issues/58
[Test case] (https://jira.softserve.academy/browse/OS-192)
Labels to be added
"Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

Indentation is already implemented. Also we have another bug regarding missing "м." and "вул." - https://github.com/ita-social-projects/OoS-Frontend/issues/935


Fix multiple GPU inference.

I have changed the code in the corresponding places, but the same error still occurs. “RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1!“

I have changed the code in the corresponding places, but the same error still occurs. “RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1!“

Maybe the problem is the same as https://github.com/AILab-CVC/SEED-Bench/issues/21


RestTemplate consumes XML instead of JSON with Brixton.BUILD-SNAPSHOT

spring-cloud-starter-eureka.BUILD-SNAPSHOT pulls the eureka-core.1.4.1 dependency which in turns pulls jackson-dataformat-xml.2.6.5
When jackons-dataformat-xml is on the classpath, RestTemplate adds application/xml first in the Accept header. When calling an endpoint that can produce XML as well as JSON, you now get XML in return when you would get JSON with Brixton.M4.
The problem is that the Xml parser (FromXmlParser) is not as good as the JSON parser (ReaderBasedJsonParser), for example it will deserialize boolean values as Strings in maps.
Below is an integration test that fails with Brixton.BUILD-SNAPSHOT but passes with Brixton.M4 :
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = IssueReproApplication.class)
@WebIntegrationTest(randomPort = true)
public class RestTemplateIT {

    @Value("${local.server.port}")
    private int port;

    @Test
    public void restTemplateIssue() throws Exception {
        RestTemplate restTemplate = new RestTemplate();
        ResponseEntity<StringObjectMap> result = restTemplate.exchange(new URI("http://localhost:" + port + "/issue"),
                HttpMethod.GET, null, StringObjectMap.class);
        assertThat(result).isNotNull();
        assertThat(result.getStatusCode()).isEqualTo(HttpStatus.OK);
        assertThat(result.getBody()).containsEntry("active", true);
    }

    @SuppressWarnings("serial")
    public static class StringObjectMap extends HashMap<String, Object> {
    }

    @RestController
    public static class Controller {
        @RequestMapping(path = "/issue")
        public StringObjectMap issue() {
            StringObjectMap result = new StringObjectMap();
            result.put("active", true);
            return result;
        }
    }

    @SpringBootApplication
    public static class IssueReproApplication {
        public static void main(String... args) {
            SpringApplication.run(IssueReproApplication.class, args);
        }

        @Bean
        @Primary
        public DropwizardMetricServices dropwizardMetricServices(MetricRegistry metricRegistry) {
            return new DropwizardMetricServices(metricRegistry);
        }
    }
}

The error I get is :
Expecting:
 <{"active"="true"}>
to contain:
 <[MapEntry[key="active", value=true]]>
but could not find:
 <[MapEntry[key="active", value=true]]>

The difference is that the boolean value is converted to the string "true" instead of the boolean true
You can workaround the problem by either adding a produces = MediaType.APPLICATION_JSON_UTF8_VALUE in the RequestMapping to force JSON on the server side, or ask for JSON on the client side by setting the Accept header to application/json in the restTemplate request entity.
This is not showstopper ... but still a bit sneaky as a  spring based microservice system relying on the defaults value everywhere can switch overnight from JSON to XML as the message format, maybe without even noticing...

@snussbaumer I believe this was fixed in bc0eef9ae2c2f300054d7c0baf22091c184e0c69, can you confirm?

@spencergibb Yes I confirm this is fixed in BUILD-SNAPSHOT this morning. Thanks !


[AnimationPlayer] Discrepancy between 'current_animation_position' and 'current_animation_length' when animation is finished

Tested versions
4.3 rc 1
System information
Windows 11
Issue description
There is a slight discrepancy in the properties 'current_animation_position' and 'current_animation_length' of AnimationPlayer when an animation has finished playing.
These properties should be equal, and this was the behavior in the previous 4.3 beta 3.
Steps to reproduce
Create an animation in AnimationPlayer, of any arbitrary length.
In your process function, check if the position of the animation is equal to the length of the animation.
This value will always be false, even after the animation has finished.
Minimal reproduction project (MRP)
broken-animations.zip

Probably caused by the approximate comparisons added recently.

Since approximation should be used as the comparison method in most cases, so I believe the correct direction is to fix that cases where exact matching should be assumed, such as finished, to snap current_position to animation_length instead of using exactness in the comparison method.

does this bug also affect the finished signal?

I sent https://github.com/godotengine/godot/pull/95023, check it if you can.
One possible change from pre-4.2 is that the end signal will be given only one frame earlier.
However, this means that prior to 4.2, Animation was only advancing the animation by a decimal point error at the end of the animation, meaning that there was one frame at the end of the animation where no change actually occurred. So now the signal should be fired on more accurate timing as end of the animation.

The original issue seems to be fixed with this PR.
It fixes this scenario and I don't see any other issues for now.


ctl: fix build on darwin

Motivation for this change
ctl doesn't build on darwin: https://hydra.nixos.org/build/158257871
ZHF: #144627 (@NixOS/nixos-release-managers)
Things done
Patch the target_link_libraries CMake command for the IlmCtlMath library to fix undefined symbols.
No need to make the patch darwin-only.

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

[X] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 146900 run on x86_64-darwin 1

1 package built:

ctl

nixpkgs-review successful, macos 10.15, nixos x86_64 & aarch64 (emulated)


Prevent preload, and reset remote options on every dropdown - not just the first

I've been wrapping my head around trying to figure this out:
I have a perfectly set up Tom-Select dropdown that uses remote data. On the first click of the dropdown, the data is loaded. Once I've selected an item and clicked the dropdown again, the data is preloaded and not reset.
How can I force Tom-Select to reload the data every time the dropdown is opened?
My code (using with Stimulus):
connect() {
  const config = {
    plugins: ['clear_button'],
    valueField: 'value',
    labelField: 'text',
    persist: false,
    openOnFocus: true,
    preload: 'focus',
    loadThrottle: null,
    hideSelected: false,
    load: (q, callback) => this.search(q, callback)
  }
  new TomSelect(this.element, config)
}

async search(q, callback) {
  const response = await get(this.urlValue, {
    query: { q: q },
    responseKind: 'json'
  })

  if (response.ok) {
    const list = await response.json
    callback(list)
  } else {
    console.log(response)
    callback()
  }
}

canLoad() prevents sending duplicate calls to your backend via a check on the loadedSearches map. You could clear loadedSearches or override canLoad()

Thanks @oyejorge – I've tried canLoad() but it looks like it's not being triggered. Also tried clearing loadedSearches inside onFocus(), also doesn't seem to affect the loaded data.
shouldLoad seems to get triggered, but not canLoad.
Am I putting the canLoad() override in the right place?
connect() {
  const config = {
    plugins: ['clear_button'],
    valueField: 'value',
    labelField: 'text',
    persist: false,
    openOnFocus: true,
    preload: 'focus',
    loadThrottle: null,
    hideSelected: false,
    load: (q, callback) => this.search(q, callback),
    canLoad: function(value) {
        return true;
    },
    onfocus() {
        this.loadedSearches = {};
    }
  }
  new TomSelect(this.element, config)
}

async search(q, callback) {
  const response = await get(this.urlValue, {
    query: { q: q },
    responseKind: 'json'
  })

  if (response.ok) {
    const list = await response.json
    callback(list)
  } else {
    console.log(response)
    callback()
  }
}

@daryld212, have you found a solution? Same issue here.

@ytilotti yes, I used class inheritance to override the load and onFocus methods to prevent my select from reloading:
class ReloadTomSelect extends TomSelect {

  load(value) {
    this.clearOptions();
    super.load(value);
  }

  onFocus(e) {
    var classList = this.wrapper.classList;
    if( classList.contains('preloaded') ) {
      classList.remove('preloaded');
    }
    super.onFocus(e);
  }

}

And updated the original instance to use the new class:
if (!this.element.tomselect) {
  new ReloadTomSelect(this.element, config)
}


Christoph/feat/gen structs

What was wrong?
How was it fixed?
To-Do

[ ] OPTIONAL: Update Spec if applicable

[ ] Add entry to the release notes (may forgo for trivial changes)

[ ] Clean up commit history

@g-r-a-n-t I revived an old branch where I once started hacking together support for generic structs. I've looked into it again and I'm stuck with a certain problem. I'll leave another note inline.


fix dotnet-test-xunit version

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

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

TTYL, DNFBOT;

Thanks @rsolomo for your contribution!


A refresh_token is not available

After adding a new connection I click update and see the message
'Mautic connection updated'
When I look at the connection m = Mautic::Connection.last
It shows the token and refresh_token are nil
When I try to access API, error
'A refresh_token is not available'

Did you connect it with Mautic? (In mautic > menu > API credentials > oauth2 ..)
Then you need handshake between mautic and your app (= button at the end of connection line "Authorize")
see: https://github.com/luk4s/mautic-rails#create-mautic-connection

@luk4s thanks for the quick response. I guess I am unsure about handshake.
I created the credentials in Mautic

And created the Connection on the Rails side

What am I missing?

Found the authorize button :)
Thanks for your help.


Autocomplete form fields?

Is there any way to implement any autocomplete plugins in ActiveAdmin?
rails3-jquery-autocomplete for example, works with Formtastic, but I couldn't get it to work in ActiveAdmin because I can't call the f.autocompleted_input field in the Arbre generated views.

Hey guys,
please us the mailing list for support questions. :)


Apple M1 - tf.sort only sorts up to 16 values for float32

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Apple M1, macOS 11.5
TensorFlow installed from (source or binary): Binary, following Apple's manual: https://developer.apple.com/metal/tensorflow-plugin/
TensorFlow version (use command below): 2.5.0
Python version: 3.9.6
GPU model and memory: Apple M1

Describe the current behavior
my_array is defined as a constant tensor with these values:
<tf.Tensor: shape=(20,), dtype=float32, numpy=
array([0.39002007, 0.6232998 , 0.65246916, 0.51837456, 0.32046252,
       0.17287847, 0.1020941 , 0.05556634, 0.03855091, 0.04841335,
       0.08809784, 0.17805861, 0.29818463, 0.48202834, 0.63666624,
       0.68172085, 0.66695976, 0.64094126, 0.6494308 , 0.66173404],
      dtype=float32)>

tf.sort(my_array) returns the following tensor:
<tf.Tensor: shape=(20,), dtype=float32, numpy=
array([ 0.03855091,  0.04841335,  0.05556634,  0.08809784,  0.1020941 ,
        0.17287847,  0.17805861,  0.29818463,  0.32046252,  0.39002007,
        0.48202834,  0.51837456,  0.6232998 ,  0.63666624,  0.64094126,
        0.6494308 , -0.        , -0.        , -0.        , -0.        ],
      dtype=float32)>

Only the first 16 elements are sorted. The same behavior occurs with argsort. When casting to float64 the error disappears.
Describe the expected behavior
Sorting the whole tensor not just the first 16 values.

@muxamilian,
I tried reproducing the issue in colab with TF 2.5, and it worked as expected i.e all elements are getting sorted. Please find the gist here. Can you let me know of your thoughts? Thanks!

I pasted the exact lines of code of your gist in my local python3 with the version of tensorflow that I posted in the original bug report. The result I get for tf.sort is the following:
array([ 0.03855091,  0.04841335,  0.05556634,  0.08809784,  0.1020941 ,
        0.17287847,  0.17805861,  0.29818463,  0.32046252,  0.39002007,
        0.48202834,  0.51837456,  0.6232998 ,  0.63666624,  0.64094126,
        0.6494308 , -0.        , -0.        , -0.        , -0.        ],
      dtype=float32)>

For tf.argsort I get this:
<tf.Tensor: shape=(20,), dtype=int32, numpy=
array([ 8,  9,  7, 10,  6,  5, 11, 12,  4,  0, 13,  3,  1, 14, 17, 18,  0,
        0,  0,  0], dtype=int32)>

Again, only up to 16 values are considered. I could imagine this is related to tensorflow running on the graphics chip of Apple's M1, which is kind of a new implementation.

@muxamilian,
Can you try updating to latest stable version TF 2.6.0 and update us if the problem still persists? Thanks!

As far as I understand, tf 2.6 is currently not supported by Apple on the M1 chips: https://developer.apple.com/metal/tensorflow-plugin/

@muxamilian,
As I can see from tested build configurations section where TF 2.6.0 is used with MacOS. Can you try once using this guide to build tensorflow from source and let us know if it works? Thanks!

I figured out that the error only occurs when using the Apple M1's GPU with the tensorflow-metal plugin from Apple.
If I disable the GPU with tf.config.experimental.set_visible_devices([], 'GPU') everything works as expected.

@muxamilian,
Thanks for confirming. I can infer that its not an issue from the tensorflow end and mostly related to tensorflow-metal plugin, can you try posting your question on this forum? Thanks!

I've been finding that the same continues to happen to version 2.9.2.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Apple M1 Pro, macOS 12.3.1
TensorFlow installed from (source or binary): Binary, following Apple's manual: https://developer.apple.com/metal/tensorflow-plugin/ aka python -m pip install tensorflow-macos
TensorFlow version (use command below): 2.9.2
Python version: 3.9.13
GPU model and memory: Apple M1 Pro

I find that when using the GPU, values with index higher than 16 give some random results:

Tagging @mihaimaruseac here from our conversation on Twitter!

CC @nitins17 @learning-to-play

It's probably not a bug in Tensorflow but Apple's tensorflow metal plugin. See for example the following discussion https://developer.apple.com/forums/thread/689299 or this one https://developer.apple.com/forums/thread/697057?answerId=704830022#704830022
The solution is to run operations from tf.random and tf.sort and tf.argsort on the CPU like this:
with tf.device('/cpu:0'):
    tf.random.uniform((10,))

Oh, this is a bit sad because a lot of TensorFlow Probability needs these basic functions and running it on the GPU is much faster.
But as with many things Apple: there's no public tensorflow-metal repository (not that I can find) so an issue can be open there. These posts on the Apple Dev Forum seem to be mostly ignoring this issue for months... I wonder how many applications will break in the near future due to this issue.

is there any updates on this

Hi,
The issue seems to be resolved with the latest Tensorflow version.
You can now install Tensorflow package on M1 from 2.13 using pip install Tensorflow.
Below is the command to install Tensorflow package, once it is installed, code mentioned in the issue runs without any error.
!pip install tensorflow==2.13rc1
Below is the output on M1:
import tensorflow as tf

myarray = tf.constant([0.39002007, 0.6232998 , 0.65246916, 0.51837456, 0.32046252,
       0.17287847, 0.1020941 , 0.05556634, 0.03855091, 0.04841335,
       0.08809784, 0.17805861, 0.29818463, 0.48202834, 0.63666624,
       0.68172085, 0.66695976, 0.64094126, 0.6494308 , 0.66173404])

print(tf.sort(myarray))

tf.Tensor(
[0.03855091 0.04841335 0.05556634 0.08809784 0.1020941  0.17287847
 0.17805861 0.29818463 0.32046252 0.39002007 0.48202834 0.51837456
 0.6232998  0.63666624 0.64094126 0.6494308  0.65246916 0.66173404
 0.66695976 0.68172085], shape=(20,), dtype=float32)

Is this on the CPU or using Apple's Tensorflow Metal plugin? There has never been a problem with Tensorflow itself. The problem only occurs when using Apple's plugin.

This is on the CPU on M1 Mac. Not using Apple's Tensorflow Metal plugin.

This is on the CPU on M1 Mac. Not using Apple's Tensorflow Metal plugin.

@muxamilian , can you please try updating to latest Tensorflow version and the Metal Plugin, to see if the issue is resolved?

Actually it seems resolved, I tested it. Thanks! However, the bug that tf.random is broken still persists: https://developer.apple.com/forums/thread/697057


Add a flag in multihost_job.py to enable Autocheckpoint

This change allows the users to launch a production-ready MaxText job with the Autocheckpoint feature enabled on Cloud TPU.
It is tested by first launching a job with:
NODE_COUNT=2
python3 multihost_job.py --NUM_SLICES=$NODE_COUNT --RUN_NAME=$RUN_NAME --TPU_TYPE=v4-8 --VERSION=tpu-ubuntu2204-base --BUCKET_NAME=$BUCKET_NAME --ENABLE_AUTOCHECKPOINT=true \
--COMMAND="bash setup.sh && python3 MaxText/train.py MaxText/configs/base.yml run_name=$RUN_NAME global_parameter_scale=2 per_device_batch_size=6 save_period=50 base_output_directory=$OUTPUT_DIR dataset_path=$DATASET_PATH"

and then observing that the checkpoint does get saved upon a disruption.

Do we need this. Isn't this covered by --CQR_EXTRA_ARGS?

We could have the user pass the --autocheckpoint-enabled flag in --CQR_EXTRA_ARGS. This PR is to make MaxText support the feature from the top-level, without the user having to look into how to enable the feature in the CQR request. I can see the pros/cons both ways.


Support CUDA11.4

allgebra 21.08.0 is released
https://github.com/ricosjp/allgebra/releases/tag/21.08.0

The API of cuSPARSE has been changed in CUDA11.x.
This issue also discusses updating to the new API.


ERROR: zero-length delimited identifier at or near """"

Bug description
Anything I try to do with prisma (migrations, pushes, etc) fails with the following error:
Error: Schema engine error:
ERROR: zero-length delimited identifier at or near """"

This persists even after nuking and re-initializing the entire database.
How to reproduce

Start a NextJS project, add Prisma, and create a postgres DB (mine is running in a container, if that matters)
Write a schema.prisma file, I'll include mine below
Run yarn run prisma migrate dev --name init, yarn run prisma db push, or another similar command

Expected behavior
The DB is adjusted to fit the schema, with new tables created to match the config file.
Prisma information
// schema.prisma

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model Submission {
  id        Int      @id @unique @default(autoincrement())
  ip        String
  content   String
  notes     String
  tags      String[]
  timestamp DateTime @default(now())
}

model Post {
  id        Int      @id @unique @default(autoincrement())
  content   String
  notes     String
  tags      String[]
  upvotes   Int
  downvotes Int
  revoked   Boolean  @default(false)
  timestamp DateTime @default(now())
  Report    Report[]
}

model Report {
  id           Int            @id @unique @default(autoincrement())
  post         Post          @relation(fields: [postId], references: [id])
  reason       String
  closed       Boolean        @default(false)
  timestamp    DateTime       @default(now())
  postId       Int
  ReportAction ReportAction[]
}

model ReportAction {
  id        Int      @id @unique @default(autoincrement())
  report    Report   @relation(fields: [reportId], references: [id])
  decision  Boolean
  timestamp DateTime @default(now())
  reportId  Int
}

model NewsPost {
  id        Int      @id @unique @default(autoincrement())
  content   String
  author    String
  timestamp DateTime @default(now())
}

(there is no client code involved, this error happens with migrations and other CLI operations)
Environment & setup

OS: Windows
Database: PostgreSQL
Node.js version: v20.11.0

Prisma Version
prisma                  : 5.9.1
@prisma/client          : 5.9.1
Computed binaryTarget   : windows
Operating System        : win32
Architecture            : x64
Node.js                 : v20.11.0
Query Engine (Node-API) : libquery-engine 23fdc5965b1e05fc54e5f26ed3de66776b93de64 (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 23fdc5965b1e05fc54e5f26ed3de66776b93de64 (at<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.9.0-32.23fdc5965b1e05fc54e5f26ed3de66776b93de64
Default Engines Hash    : 23fdc5965b1e05fc54e5f26ed3de66776b93de64
Studio                  : 0.497.0

I'll also note that this started happening seemingly randomly. No changes were made to the schema; I had an error come out of a query (same error as above), tried to migrate to see if that would fix it, and got this.

Does this happen with all databases or just this specific one?
Does it happen when you try to use a MySQL database? (PlanetScale.com offers free ones to play around with)

I haven't tested anything besides postgres, but I will check tonight when I have a chance. It does happen on a brand new Postgres DB with minimal configuration (only the username, password and database name being set, all to "postgres"), and reverting commits in my repo that affect the schema doesn't seem to do anything. Deleting migrations also has not fixed the issue.

I had the same issue. On the postgresql side, I had the following error:
ERROR:  zero-length delimited identifier at or near """" at character 19
STATEMENT:  SET search_path = ""

This means that Prisma is confused about the database you are using. Check if your .env file is properly loaded and that your database connection url is properly formatted.

Do I assume correctly that your connection string was missing the database name in some way, and it was not caught by Prisma @vanyle?

Yes, what happen for me was that it was not properly loaded from my .env file on windows.
.env :
DB_URL="postgresql://postgres:postgres@localhost:5432/postgres?schema=public"

schema.prisma :
...
datasource db {
  provider = "postgresql"
  url      = env("DB_URL")
}
...

Because I used all the default values (postgres) for user, password and database, there were no authentification issues, but for some reason, prisma had trouble as the environment variable for the url was DB_URL and not DATABASE_URL like inside the documentation which made prisma db push fail.
Setting it back to DATABASE_URL seems to work (I changed the username, password and database name inside postgres to make sure that everything actually works)

This line: https://github.com/prisma/prisma/blob/main/packages/bundle-size/da-workers-pg/index.js#L8 looks strange.
How do we know that the connection string is actually inside the DATABASE_URL environment variable?

My .env always had DATABASE_URL but I'm not having the issue anymore after porting the project to a new framework (NextJS -> Remix) so perhaps I had messed something up in my project setup.

This line looks strange. How do we know that the connection string is actually inside the DATABASE_URL environment variable?

The code you link is basically a test project we use internally, so this does not mean that Prisma only can handle DATABAES_URL - it is just the one we use in that example. You can use whatever name for the env var, as long as it is env("FOO") in the schema file and then read make sure the connection string is available in FOO environment variable things should work.
I would be really interested in reproducing this problem. In theory Prisma should catch empty database names and give a much better, helpful error message.

generator client {
  provider             = "prisma-client-py"
  interface            = "asyncio"
  recursive_type_depth = 5
}

datasource db {
  provider = "postgresql"
  url      = env("PRISMA_DATABASE_URL")
}

happened to me today multiple times, haven't experienced this before

I encounter the same issue and on my side I solved it by unset environment var DATABASE_URL before running npx prisma db migrate/push
I didn't research where exactly it is set that env var when I open my bash terminal in vscode.
Hope it helps!

As @drautu mentioned, unset DATABASE_URL fixes the problem. I think it is related to the fact that in my case echo $DATABASE_URL showed a url with empty schema parameter. I don't know why it happened though.


ENH: Add stop method; stop things.

This keeps a list (strictly speaking a set) of all objects that we ever called set or kickoff on during a given call to the RunEngine. It calls stop on them all at the end, whether the call concludes successfully or with errors.
See forthcoming issue for thoughts on how this might be refined in the future. It looks like all the relevant ophyd objects have a stop method, so this is ready to try @klauer.

This may be part of your forthcoming issue, but:
Will collect still get called for interrupted fly-scans that were kickoff'd? I'm not familiar enough with the code base as of yet to tell from the PR diff.

Dan is currently working on implementing that in this PR.

Done.

Looks good to me, should we hold of on merging this until it is tested at HXN?

Great. I'll give it a go tomorrow and let you know the results.

Seems to be working with a couple minor modifications from @tacaswell and me, see here.

Working well enough in my tests.
... also, clicking merge so I can feel important.


Failed to obtain tensors of correct batch size

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Red hat 7.3
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.10
Python version: 2.7.5
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: 9.0
GPU model and memory: P5000, 16G

The following code is just retrieving specific digits from mnist of specified batch size. But the returned tensor is just of one sample:
import numpy as np
import tensorflow as tf
import sonnet as snt

class Input(snt.AbstractModule):
    def __init__(self, batch_size, name = "input"):
        super(Input, self).__init__(name = name)

        mnist = tf.keras.datasets.mnist

        (X_train, Y_train), (X_test, Y_test) = mnist.load_data()

        train_filter = np.where((Y_train == 0 ) | (Y_train == 1))
        test_filter = np.where((Y_test == 0) | (Y_test == 1))

        X_train, Y_train = X_train[train_filter], Y_train[train_filter]
        X_test, Y_test = X_test[test_filter], Y_test[test_filter]

        print(X_train.shape)
        print(Y_train.shape)

        with self._enter_variable_scope():
            self._db_train = tf.data.Dataset.from_tensor_slices((X_train, Y_train))
            self._db_test = tf.data.Dataset.from_tensor_slices((X_test, Y_test))

            self._db_train.repeat(-1)
            self._db_test.repeat(-1)

            self._db_train.batch(batch_size)
            self._db_test.batch(batch_size)

            # self._db_train.apply(tf.contrib.data.batch_and_drop_remainder(batch_size))
            # self._db_test.apply(tf.contrib.data.batch_and_drop_remainder(batch_size))

            self._it_train = self._db_train.make_one_shot_iterator()
            self._it_test = self._db_test.make_one_shot_iterator()

    def _build(self, is_training = True):

        if is_training:
            inputs, labels = self._it_train.get_next()
        else:
            inputs, labels = self._it_test.get_next()

        return inputs, labels

def test():
    input_ = Input(32)

    inputs, labels = input_()

    with tf.Session() as sess:
        sess.run(tf.global_variables_initializer())

        inputs_val, labels_val = sess.run([inputs, labels])

        print(inputs_val.shape)
        print(labels_val.shape)

if __name__ == "__main__":
    test()

The output of the above code snippet is as follows:
(12665, 28, 28)
(12665,)
(28, 28)
()

Note I deleted something irrelevant.

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!

Actually I have posted it on StackOverflow but no one gives some suggestions. https://stackoverflow.com/questions/53153933/failed-to-obtain-tensors-of-correct-batch-size
It is okay if it is ranked as not a defeat since I have found some workaround.
Thanks


Add a parameterless constructor to InteractableOnClickReceiver

Overview
Add a parameterless constructor to InteractableOnClickReceiver to allow lines like var onClickReceiver = interactable.AddReceiver<InteractableOnClickReceiver>();
Changes

Fixes: #10341. Thanks @iweinbau for spotting the issue and proposing a fix!

/azp run


[Enhancement]  improved eslint-config to be more readable

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[x] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] New/updated tests are included
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
updated eslint-config to be more readable and more understandable

I made all suggested changes in this PR #10551. (Unfortunately, I deleted the previous fork of the project and at the moment I do not have a possibility to edit this PR)


eslint-plugin-react doesn't work

Hello, thanks for this great plugin.
I'm trying to lint my new react project.
I configured my eslint config file:
/* .eslintrc.js */

module.exports = {
  /* ... */
  extends: [
    'eslint:recommended',
    'plugin:react/recommended',
  ]
};

But it seems that it doesn't work, eslint still can't understand jsx and throws an error:
error  Parsing error: Unexpected token /

Minimal repro: https://github.com/AndreasCag/react-eslint-issue
Steps to reproduce:

Download repro
Run npm i
Run npm run dev

You still have to enable jsx in your eslint config yourself.

@ljharb Thanks for fast answer!
However, I have tried to enable jsx:
/* .eslintrc.js */

module.exports = {
  parserOptions: {
    ecmaVersion: 9,
    sourceType: 'module',
    ecmaFeatures: {
      jsx: true,
    },
  },
  extends: [
    'eslint:recommended',
    'plugin:react/recommended',
  ]
};

And it doesnt work either:
error  Parsing error: Unexpected token /

ah, this is an eslint bug. Run npm ls and you’ll see your dependency graph is invalid. Either downgrade to eslint 5.7, or follow these instructions.
(Note that parsing errors are always unrelated to a specific plugin; so this issue should have been filed on eslint itself)

@ljharb Thanks ❤


multiple commands support

Can you add multiple commands support?
Edited:
What I meant was, instead of click and run one command. Maybe using hash map to run more than one command in the same command line.
<run commands:/command, /command2>click to run multiple commands

Sorry, but it's not possible


Module compiled with Swift 5.1 cannot be imported by the Swift 5.1.3 compiler

I've built the project in Xcode 11.1 and it's working well. After I've been updated to Xcode 11.3, I've got this issue. Please check the attached file for the issue. Hope you can provide a framework that's compatible to xcode 11.3. Thanks

I'm going to close this PR but let me know if you're still having issues.


How to map nested classes

I could not find anything about mapping calsses that contains sub classes.
[Table("TableA")]
public class ClassA{

[COLUMN("B_ID")]
public BId {get; set;}

[COLUMN("b")]
public ClassB b{get; set;}
}

[Table("TableB")]
public class ClassB{

[COLUMN("ID")]
public Int32 Id{get; set;}
}

How to get this e.g. with a join or how do I load class A with nested B objects, that could have relations like one to one or one to many ?

This isn't currently supported in MicroLite, it's something I'm considering for MicroLite 7.0 but for now you will need to do that additional fetch yourself (the upside is you can choose if & when that occurs) using the Include API

Ok, sorry for the late response, had to recover from the shock ;-) I didn't think about it is not possible in this way. Ok if I use includes, is it possible to log all db sql queries that are made(nlog). So that I can see what is really happening at db level?
I know this question is not helping but do you have release date for the version 7? And will there be a breaking change in this behaviour?

All that happens is 2 or more individual queries are sent to the database server as a single request over a single connection and the results are returned in separate datasets which are then parsed into objects and made available to the caller.
As far as logging the traffic, queries aren't written to the log to avoid sensitive data being stored but you can use something like the profiler in MS SQL Server to see what requests are made.

There's no firm time frame for 7.0 at the moment, I'm finishing the OData 4.0 work in the WebApi extension before I pick up on 7.0.
There may well be breaking changes in 7.0 but those will be detailed in the release notes and on the blog once known.

Thanks for the reply and for the detailed information. I appreciate your project, and I try to avoid entity framework as long as I can, but need a good alternative. I think yours is getting more a really good one.
Last thing before I close the issue (question).
I asked about logging each sql query that is applied to the db, is this possible?

Not in MicroLite itself, the standard way to do that is with the profiling tools that are part of the database server e.g. SQL Server Profiler


BUG: NotNullViolation in nightly notification status

Description
While working on SAWarnings in #1132, a pre-existing but unnoticed bug was found in app/celery/reporting_tasks.py::create_nightly_notification_status for the nightly stats query.
The logs report
psycopg2.errors.NotNullViolation: null value in column "notification_count" of relation "ft_notification_status" violates not-null constraint whenever the nightly process runs.

[ ] Ticket is understood, and QA has been contacted (if the ticket has a QA label).

Steps to Reproduce

Observe the Cloudwatch logs for any environment within an hour of midnight ET to see the following when the nightly process runs:

Impact/Urgency

Unknown
Expected Behavior

[ ] The Cloudwatch logs do not report a NotNullViolation when the nightly notification status runs

QA Considerations

[ ] verify this is not seen when deployed to Perf/Staging

Additional Info & Resources

app/dao/fact_notification_status_dao.py L88

We have seen multiple iterations of this failure. For notification_count, It's not in the parameter list. Suspect it's being stripped out somewhere.

For bst_date it appears the whole row was null

Hey team! Please add your planning poker estimate with Zenhub @cris-oddball @EvanParish @k-macmillan @kalbfled @ldraney @MackHalliday @mchlwellman

It's gone.


Initial scene start position

Need to find a way to set per scene the camera start position so we can place it in the nicest spot!  Will probably add to input manager properties.

Added ability to set this via the CameraRig position but it still probably needs to be tuned for each scene. I did make some attempt at picking an OK starting position but didn't explore the models fully.


Example for TabBarView

How do I make nested routes with the TabBar and the TabBarView widget? I can only access one child at a time with VNester but the TabBarView requires all children to be specified ahead.

Hi, I made an example about this in a Github issue but it's pretty well buried: https://github.com/lulupointu/vrouter/issues/32#issuecomment-885035432
Anyway this is a pretty complicated example, we can check the previous comment for a simpler one but in any case I simplified it for you:
import 'package:flutter/material.dart';
import 'package:vrouter/vrouter.dart';

void main() {
  runApp(
    VRouter(
      debugShowCheckedModeBanner: false,
      initialUrl: '/red',
      routes: [
        VNester(
          path: null,
          widgetBuilder: (child) => MyTabs(child, currentIndex: 0),
          nestedRoutes: [
            VWidget(path: '/red', widget: ColorScreen(color: Colors.redAccent, title: 'Red'))
          ],
        ),
        VNester(
          path: null,
          widgetBuilder: (child) => MyTabs(child, currentIndex: 1),
          nestedRoutes: [
            VWidget(
                path: '/green', widget: ColorScreen(color: Colors.greenAccent, title: 'Green'))
          ],
        ),
      ],
    ),
  );
}

class MyTabs extends StatefulWidget {
  final Widget child;
  final int currentIndex;

  const MyTabs(this.child, {required this.currentIndex});

  @override
  _MyTabsState createState() => _MyTabsState();
}

class _MyTabsState extends State<MyTabs> with SingleTickerProviderStateMixin {
  late final tabController = TabController(
    initialIndex: widget.currentIndex,
    length: tabs.length,
    vsync: this,
  );

  // We use this as the index to easily fetch the new widget when in comes into view
  int get tabControllerIndex => tabController.index + tabController.offset.sign.toInt();

  List<Widget> tabs = [Container(), Container()];

  @override
  Widget build(BuildContext context) {
    // Sync the tabController with the url
    if (!tabController.indexIsChanging && tabControllerIndex != widget.currentIndex)
      tabController.animateTo(widget.currentIndex);

    // Populate the tabs when needed
    tabs[widget.currentIndex] = widget.child;
    tabs = List.from(tabs); // Needed so that TabBarView updates its children

    return NotificationListener<ScrollNotification>(
      onNotification: (_) {
        // Syncs the url with the tabController
        if (tabControllerIndex != widget.currentIndex)
          context.vRouter.to(tabControllerIndex == 0 ? '/red' : '/green');
        return false;
      },
      child: Scaffold(
        body: TabBarView(
          controller: tabController,
          children: tabs,
        ),
        bottomNavigationBar: Material(
          color: Colors.blue,
          child: TabBar(
            tabs: <Tab>[
              Tab(
                icon: Icon(Icons.favorite, color: Colors.redAccent),
              ),
              Tab(
                icon: Icon(Icons.adb, color: Colors.greenAccent),
              ),
            ],
            controller: tabController,
          ),
        ),
      ),
    );
  }
}

class ColorScreen extends StatefulWidget {
  final Color color;
  final String title;

  const ColorScreen({required this.color, required this.title});

  @override
  _ColorScreenState createState() => _ColorScreenState();
}

class _ColorScreenState extends State<ColorScreen>
    with AutomaticKeepAliveClientMixin<ColorScreen> {
  bool isChecked = false;

  @override
  Widget build(BuildContext context) {
    super.build(context);

    final bool isRedScreen = context.vRouter.path == '/red';

    return Container(
      color: widget.color,
      child: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            Text(widget.title),
            SizedBox(height: 50),
            ElevatedButton(
              onPressed: () => context.vRouter.to(isRedScreen ? '/green' : '/red'),
              child: Text('Go to ${isRedScreen ? 'Green' : 'Red'}'),
            ),
            SizedBox(height: 50),
            Checkbox(
              value: isChecked,
              onChanged: (value) => setState(() => isChecked = value ?? false),
            ),
          ],
        ),
      ),
    );
  }

  @override
  bool get wantKeepAlive => true;
}

The nice bonus it that your pages are lazy loaded !

@lulupointu Thanks! seems working great. Any plan for supporting this kind of route in a more simplified way? Something like VTabView or VBottomNavigation.

I'm afraid this would be more work than I can take (not simply the implementation but rather the maintenance of it all). However I do want to add this as an example on vrouter.dev. I'm simply waiting for dartpad to support external packages (or any viable alternative) to invest the time.
I'm glad it's working anyway, feel free to reopen this if you encounter any issue !


fix sqlserver named parameter tokenization

The PR fixes sqlserver named parameter tokenization where =@1 query like where id=@1 are incorrectly tokenized as an operator =@ and causing 1 become a literal.

/merge

/remove


kernel: "python" uses deprecated CP15 Barrier instruction at

not sure what this is:
root@rock64:~# uname -a
Linux rock64 4.4.120-rockchip-ayufan-213 #1 SMP Sun Apr 29 20:27:33 UTC 2018 aarch64 GNU/Linux
root@rock64:~# tail -f /var/log/kern.log
May  9 14:50:50 rock64 kernel: [41629.870246] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c980
May  9 14:50:50 rock64 kernel: [41629.874215] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c710
May  9 14:51:50 rock64 kernel: [41689.673964] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c980
May  9 14:51:50 rock64 kernel: [41689.679590] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c710
May  9 14:52:50 rock64 kernel: [41749.490808] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c980
May  9 14:52:50 rock64 kernel: [41749.496268] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c710
May  9 14:53:50 rock64 kernel: [41809.292103] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c980
May  9 14:53:50 rock64 kernel: [41809.297545] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c710
May  9 14:54:50 rock64 kernel: [41869.096700] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c980
May  9 14:54:50 rock64 kernel: [41869.102362] "python" (20289) uses deprecated CP15 Barrier instruction at 0xf4b8c710

Nothing, a warning.

python was probably compiled for armv6 with an older compiler, which is causing a function to be emulated.  Until there is an updated package available, you can disable the messages to keep them from spamming the syslog:
echo 2 >/proc/sys/abi/cp15_barrier

Thatn's for that @digitalsanity ... I encountered this on the rockpro64 omv build with forked-daapd and php-fpm7 spamming the /var/log/messages log almost once a second... resulting in a massive log file. Your workaround works perfectly :)


access: may-start-trybots

Hi,
I would like to request the "may-start-trybots" access https://go-review.googlesource.com/#/admin/groups/1030,members.
for<EMAIL_ADDRESS>See https://go.dev/wiki/GerritAccess

Hi Mateusz,
Thank you for your contributions and for requesting Trybots access! I've added you to the may-start-trybots group, so you should be able to do so now.
As you've likely read at https://golang.org/wiki/GerritAccess#trybot-access-may-start-trybots, please be sure to at least skim CLs before starting a Trybot run.
Let us know if you have any questions or issues with it, and thanks again!


.github/workflows/ci.yaml

Hi,
I found an issue from ci.yaml as below:
Run script/bootstrap
/home/runner/work/_temp/63854597-b0cf-41b3-a7a5-dc2b0c4df45f.sh: line 1: script/bootstrap: Permission denied
Error: Process completed with exit code 126.
Any advice on how I can eliminate this error?
Thank you

Hi! It looks like this has been fixed – sorry about that!
https://github.com/pages-themes/minimal/actions

Hi,
I see the same error occurring:
/home/runner/work/_temp/e8f0d6a3-7d85-4cb1-af22-7705baea92a8.sh: line 1: script/bootstrap: Permission denied
Error: Process completed with exit code 126.
Any advice on how I can fix this?
Thanks a lot


use-multiple selection and dragging inside multiple selection but white area

src/pods/canvas/use-multiple-selection-shape.hook.tsx
// There's a bug here: if you make a multiple selectin and start dragging
// inside the selection but on a blank area it won't drag the selection
// it will just clear the selection
//
// What do we need to do here?
//
// We could get the selection transformer current coords and size
//  - if the mouseDown event is click inside that rectangle abort the multiple selection by dragging
//  - We can set a temporary flag here
//  - When user moves check the flag
//  - When user mouse up then reset the flag to false

Heads up:
Right now if you try to drag on that white space area in the transformer it won't remove the selection, but it won't move anything.
Just checked on some Konva examples and has the same behavior:
https://codesandbox.io/p/sandbox/react-konva-multiple-selection-tgggi
So we will keep it like that for this community preview version.
What would we need to allow the transformer to be dragged?

Detect that you have click on the stage on a white area that is inside the transformer and not hitting any shape selected in the transformer.

Then apply the offset to the transformer


docs: wrong Nuxt hooks module name

🔗 Linked issue
resolves #24193

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

@danielroe @pio check this comment: https://github.com/nuxt/module-builder/pull/188#issuecomment-1805884189


Identifier replacement should be stricter

Current logic doesn't try to identify animation-name at all and instead it just match values against some regex.
@keyframes reverse {
    from { opacity: 1; }
    to   { opacity: 0; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}
.fade {
    animation-direction: reverse;
}

Produces:
@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}
.fade {
    animation-direction: fadeOut;
}

The module uses regexes for property name checking, not identifier checking. I'm not sure why this is an issue as it is what this module is meant to achieve. The name is irrelevant given that it is further compressed by postcss-reduce-idents.

Hi,
My bad, regexes now have nothing to do with values.
I think this plugin meant to replace animation-name in animation and animation-name itself after merging identical @keyframes or @counter-style. But /animation/ will actually match animation-*, which will incorrectly replace other animation-related property values if the identifier of a @keyframes is the same as a CSS keyword for another property. In the example I gave, animation-direction is wrongly set to fadeOut.
And even in animation property itself, when I have an animation-name with the same value as a valid keyword for another property, like linear, the result will also go wrong:
@keyframes linear {
    from { opacity: 1; }
    to   { opacity: 0; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}
.fade {
    animation: 1s linear linear;
}

Produces:
@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}
.fade {
    animation: 1s fadeOut fadeOut;
}

This is because we don't actually parse the animation value, and know the first linear is an identifier of @keyframes while the second one is a keyword for animation-timing-function.

Right, sorry I missed the direction part of the original question.
Pull requests always welcome. 👍

Hi!
While using gulp-cssnano I've encountered this error
D:\project-path\node_modules\postcss-merge-idents\dist\index.js:21
        if ((0, _has2.default)(obj, key) && obj[key] !== key) {
                              ^
RangeError: Maximum call stack size exceeded
    at Array.hasOwnProperty (native)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:21:31)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)
    at recurse (D:\project-path\node_modules\postcss-merge-idents\dist\index.js:22:20)

And it appears this happens because of CSS keyframe animation rules
.nc-spin {
  -webkit-animation: nc-spin 2s infinite linear;
          animation: nc-spin 2s infinite linear; }

@-webkit-keyframes nc-spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(359deg);
            transform: rotate(359deg); } }

@keyframes nc-spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(359deg);
            transform: rotate(359deg); } }

.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}
.fa-pulse {
  -webkit-animation: fa-spin 1s infinite steps(8);
  animation: fa-spin 1s infinite steps(8);
}
@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

the recursion goes around nc-spin  and fa-spin keys. "@keyframes fa-spin" block repeated couple times through resulting CSS file and removing duplicates fixes issue. Not sure if this relevant.

@burdiuz Would you be able to provide some minimal CSS that reproduces this problem? I can't reproduce with the above code.

Here are, I've removed everything except of animation types that cause problems. Tried with gulp-cssnano and cssnano-cli, both having problems with it.
lib.css.txt

@ben-eb was you able to reproduce the error with list.css?

@burdiuz Yeah. Seems to be a problematic interaction between postcss-discard-overridden & postcss-merge-idents (setting either option to false in your cssnano config will stop the RangeError).
@Justineo Any ideas why this might be the case?

I encountered the same problem; anything I can do to help?

@wstam88 Sure thing, I don't know exactly where this problem is being caused, so it would be really good if you could try to reproduce this interaction outside of cssnano so that we can track down exactly where the issue is.
You can do this by loading postcss, postcss-discard-overridden & postcss-merge-idents and processing @burdiuz's test case, to confirm my suspicions. Something like this;
import postcss from 'postcss';
import pdo from 'postcss-discard-overridden';
import pmi from 'postcss-merge-idents';

postcss([pdo, pmi]).process('css string').then(result => {
  console.log(result);
});

If this is still throwing, let me know. If it does not then it is probably some other transform that is contributing to the failure.

I fixed the RangeError in https://github.com/ben-eb/cssnano/releases/tag/v4.0.0-rc.0.


⚠ Bofrost.at has degraded performance

In 72517dd, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 882 ms

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


Hi , when T2A model? also T2Music? best regards

To be released soon.

Hi @researcher48 ,
we have released lumina text-to-music and lumina text-to-audio code in the repo. check this out https://github.com/Alpha-VLLM/Lumina-T2X/tree/main/lumina_audio and https://github.com/Alpha-VLLM/Lumina-T2X/tree/main/lumina_music


sudo ros config get rancher.dns => empty output

sudo ros config get rancher.dns returns an empty output.
I've just installed a fresh 0.4.3 racheros from https://github.com/rancher/os-vagrant.git
Just wanted to check if these docs are still up to date. (source)

Duplicate of https://github.com/rancher/os/issues/166


Transitions classes are added after before-enter or before-leave

Version
2.5.16
Reproduction link
https://codesandbox.io/s/zq5mw2zk9x
Steps to reproduce

Open browser console (to trigger the debugger)
Click on "Page 2"
Inspect elements inside <main>`

What is expected?
The two children <sections> are supposed to have the transitions classes.
What is actually happening?
The two children<sections> are already added but without any transition class, which are added on next tick. So the new <section> is visible on top on the old one for 1 frame, causing a flickering effect.

Remove this fix in App.vue:
main > :first-child {
  z-index: 1; /* Prevent flickering on first frame when transition classes not added yet */
}

And navigate through the app to see the flicker effect.

This is not what I see (Vue 2.6.11): When the @before-leave function is called, the element does already have the transition classes. In fact, I had hoped the @before-* functions would be called at a moment I can still prevent a transition: I want to be able to conditionally set a boolean used in :css="bool". For me this now does fine work with @before-enter, but not with @before-leave.


Location data incorrect

https://github.com/koshilife/calendly-api-ruby-client/blob/951ce8138ae9d404cb6883417f5de6eb549746a0/lib/calendly/models/location.rb#L43

[ ] type not kind
[ ] expose join_url  form zoom
[ ] status not state

As per https://developer.calendly.com/docs/api-docs/reference/calendly-api/openapi.yaml/paths/~1scheduled_events~1{uuid}/get

Hi @pjmurray,
Thank you for issue again.
At 2020 August I asked Calendly API teams same thing, it was undergoing.
There may have not been solved yet.
Could you share the api request/response data?
You can get respose data in your console like below.
Calendly.configuration.logger.level = :debug

Thanks!
Will do when I get to it! Right now I am just doing the integration via
automated testing :)
Hoping they issue me some dev/staging keys shortly so I'm unblocked!
PJ
On Thu, Nov 19, 2020 at 12:52 PM Kenji Koshikawa<EMAIL_ADDRESS>wrote:

Hi @pjmurray https://github.com/pjmurray,
Thank you for issue again.
At 2020 August I asked Calendly API teams same thing, it was undergoing.
There may have not been solved yet.
Could you share the api request/response data?
You can get respose data in your console like below.
Calendly.configuration.logger.level = :debug
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/koshilife/calendly-api-ruby-client/issues/18#issuecomment-730072989,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADJR4XKZNJ3KP3PDGXSCUDSQR24TANCNFSM4T2YKNOQ
.

@pjmurray
I'm sorry :)
I had misunderstood, your pointing are right!
I didn't know that the Location object format had changed such as "kind" field to "type" field.
I checked the Location object has been returned Calendly v2 API.
I am going to deal with it in near days.

Hi @pjmurray,
I released fixed version '0.4.0'.
Could you check this issue has been solved?
gem 'calendly', '>= 0.4.0'

like following
>> Calendly::VERSION
=> "0.4.0"
>> client = Calendly::Client.new 'TOKEN'
>> ev = client.me.scheduled_events.last
>> ev.location.type
=> "zoom"
>> ev.location.join_url
=> "https://us04web.zoom.us/j/123456789?pwd=NVRRSGRYcW52OHlMMGlXNmpYWHQrQT09"
>> ev.location.data
=> {:id=>123456789, :settings=>{}, :password=>"NS0dc7", :extra=>nil}

Great this is working as expected thank you


permit build.sh to execute in .travis.yml

Created a fresh project, pushed, travis threw this error for build.sh:
http://stackoverflow.com/questions/33820638/travis-ci-gradlew-permission-denied

I had this issue in some projects too! Thanks for fixing it here.


[Select] touch stops on select

What?
While scrolling on a mobile device, if the touch happens over a select, it breaks the flow and opens the select.
How to solve it
Probably changing the event from mouseDown to mouseUp

This is tracked here https://github.com/radix-ui/primitives/issues/1641


Make a new release with binaries for Ubuntu 24.04 and Fedora 40 Please

latest stable does not work on Fedora 40
dependancies fetch JDK 21, and I believe it requires JDK 9 on my Ubuntu system.
jitsi-desktop is so great, I hope you don't abandon it, although it looks to be already the case

On Fedora 40
before or after downloading and installing jitsi
yum search jitsi
Last metadata expiration check: 13 days, 2:25:36 ago on Sat 08 Jun 2024 12:41:19 AM.
======================================= Name & Summary Matched: jitsi ========================================
jitsi.x86_64 : Jitsi - Open Source Video Calls and Chat

install and select the old java it needs.
sudo dnf install java-1.8.0-openjdk-devel.x86_64
$ sudo alternatives --config java

There are 3 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*  1           java-21-openjdk.x86_64 (/usr/lib/jvm/java-21-openjdk-<IP_ADDRESS>.9-1.fc40.x86_64/bin/java)
 + 2           java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-<IP_ADDRESS>.9-1.fc40.x86_64/bin/java)
   3           java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>2.b06-1.fc40.x86_64/jre/bin/java)

Enter to keep the current selection[+], or type selection number: 3

then it works


How to export settings loaded from .toml to environment variables?

Thanks.

On the plan is a command (on CLI) to do that.
$ dynaconf export-to-env

that would be a nice addition.


checking the mouse point inside the  actual circle of the cluster group and it's flares instead of using the rectanglar bounding box

HI Nick,
Im working on finding the mouse pointer inside the cluster group circle and show the flares because the rectangle box is not working for me.Do you know how to find the mouse pointer inside the cluster group and see if the pointer is inside or not.
FlareClusterLayer.prototype._viewPointerMove = function (evt) {
//alert("pointermove");
var _this = this;
var mousePos = this._getMousePos(evt);
        // if there's an active cluster and the current screen pos is within the bounds of that cluster's group container, don't do anything more.
        // TODO: would probably be better to check if the point is in the actual circle of the cluster group and it's flares instead of using the rectanglar bounding box.

        if (this._activeCluster && this._activeCluster.clusterGroup) {
			//return;
			//console.log("active cluster pointer move");
			console.log(mousePos);
			console.log(this._activeCluster);
            var bbox = this._activeCluster.clusterGroup.rawNode.getBoundingClientRect();
			//console.log(bbox);
			return;
			//console.log(mousePos.x);
			//console.log(bbox.left);
			//console.log(bbox.right);
			//console.log(mousePos.y);
			//console.log(bbox.top);
			//console.log(bbox.bottom);
           // if (bbox) {
				//mousePos.x = bbox.left + bbox.left;
				//bbox.left = (bbox.left - mousePos.x);
				//bbox.right = (bbox.right);
				//bbox.top = (bbox.top - mousePos.y);
				//bbox.bottom= (bbox.bottom - 200);
				//mousePos.y = bbox.top+bbox.top;

                //if (mousePos.x >= bbox.left && mousePos.x <= bbox.right && mousePos.y >= bbox.top && mousePos.y <= bbox.bottom)
                  //  return;
            //}
        }else{
			this._destroyTooltip();
		}
        if (!this._activeView.ready)
            return;
        var hitTest = this._activeView.hitTest(mousePos);
		//console.log(hitTest);
        if (!hitTest)
            return;
        hitTest.then(function (response) {
            var graphics = response.results;
            if (graphics.length === 0) {
				//console.log("no graphics");
                _this._deactivateCluster();
                return;
            }
            for (var i = 0, len = graphics.length; i < len; i++) {

                var g = graphics[i].graphic;
				//console.log(g);
                if (g && (g.attributes.clusterId != null && !g.attributes.isClusterArea)) {
                    var cluster = _this._clusters[g.attributes.clusterId];
                    _this._activateCluster(cluster);
                    return;
                }
                else {
                    _this._deactivateCluster();
                }
            }
        });
    };

Thank you.

You shouldn't need to do this manually, it should be working already.
I feel like I need to reiterate this - the easiest way to troubleshoot these things for yourself and for me to help if needed is to set up a demo that reproduces the problem on stackblitz (for angular apps), or plunkr, or codepen or somewhere else!
In the process of setting up this demo the chances are you'll find the answer to the problem anyway.


Fix hyprbars for hyprland 0.37.1

Window.hpp was moved from src/desktop/Window.hpp to src/Window.hpp
p.s. i hate github's website :sob:

no, it's the other way around. I just forgot a commit pin for 0.37.1

done


Add search functionality to magic_commands.py

This pull request adds a new feature to the magic_commands.py file, allowing users to search the chat history for a specific keyword. The search functionality is implemented using the "/search [keyword]" command. When the command is executed, the chat history is scanned for messages containing the keyword, and the matching messages are displayed. If no messages are found, a corresponding message is printed. This feature enhances the usability of the chat application by providing users with a convenient way to search for specific content within the chat history.
Refer https://github.com/neokd/NeoGPT/issues/210

This functionality allows to search entire history or current chat hisotry?

The provided code searches the entire chat history. It iterates over all messages stored in chain.combine_documents_chain.memory.chat_memory.messages, which presumably holds all messages from the start of the chat to the current moment.

Great. Futher we can extend this to search the entire chat history

Well, It already does that.

Sorry!! Missed the PR, Thanks for the contribution.

Sorry!! Missed the PR, Thanks for the contribution.

Haha, no issues.


Gtrends

Built on #93. Should merge that one first.
There are a number of limitations to google trends data.

It does not report absolute numbers. Only relative to the maximum over some set of search terms over the time period it's reporting for.
One cannot control what time period it's reporting over.
It's precision is limited to increments of 1%, which is especially painful if there are two terms of very different popularity (one will just be 0%)
The time resolution is only down to week long increments. This isn't such an issue, since I would want to take a 7-day average anyways.
Seems we're limited to per-country data (I could be wrong about this one) (right now this pulls from the US)

Given these restrictions, I'm not sure how useful it is to us. Right now I have it tracking the relative prevalence of NixOS and nix-shell, and I also put in some data normalization so as time goes on it will adjust the prevalence to greater than 100% if searches go up.

It's not possible to test the data normalization code until we have more than one day's worth of google trends data. I will do over the next couple days before merging.


Add files via upload

Codecov Report

Merging #5038 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #5038      +/-   ##
============================================
+ Coverage     58.69%   58.73%   +0.03%
  Complexity       12       12
============================================
  Files          1182     1182
  Lines         63130    63130
  Branches       9287     9287
============================================
+ Hits          37055    37080      +25
+ Misses        23358    23325      -33
- Partials       2717     2725       +8

Impacted Files
Coverage Δ
Complexity Δ

...pinot/core/operator/docidsets/OrBlockDocIdSet.java
84.9% <0%> (-9.44%)
0% <0%> (ø)

...e/operator/dociditerators/SortedDocIdIterator.java
55.55% <0%> (-8.34%)
0% <0%> (ø)

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
44.08% <0%> (-7.53%)
0% <0%> (ø)

.../impl/dictionary/LongOffHeapMutableDictionary.java
61.29% <0%> (-5.38%)
0% <0%> (ø)

...impl/dictionary/FloatOffHeapMutableDictionary.java
67.74% <0%> (-5.38%)
0% <0%> (ø)

...inot/core/operator/docidsets/AndBlockDocIdSet.java
55.55% <0%> (-2.09%)
0% <0%> (ø)

...e/impl/dictionary/LongOnHeapMutableDictionary.java
63.41% <0%> (-1.22%)
0% <0%> (ø)

.../pinot/core/common/datatable/DataTableBuilder.java
79.06% <0%> (-1.17%)
0% <0%> (ø)

.../broker/routing/HelixExternalViewBasedRouting.java
90.18% <0%> (-0.62%)
0% <0%> (ø)

...lix/core/realtime/PinotRealtimeSegmentManager.java
78.46% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 18 more

Continue to review full report at Codecov.

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


URL should be in English

URL should be in English
Otherwise it will not work.

@adityauser, That url is not the one which should be cloned. Username there should be replaced with each users' username. I think having the right translation there makes sense.


Add details on process and legislation to site

Description:
Currently we link out to relevant sections of the gov.bc.ca website. We have some content we wondered if should be directly on the app from MVP phase:

government contacts
how notification and permitting processes work

Dependencies:

Relates to #103
Relates to #158

Definition of Ready:

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)

Requires decision from program area to determine whether to proceed, and if so content for #158

We will proceed with hosting government contact information on Organics Info. We will continue to link externally for how the notification and permitting processes work.

Okay great, closing this then :)


5162 LDAPupdate

Changes made to current LDAP connector (in progress)
Signed-off-by: Alexcia<EMAIL_ADDRESS>

Is this to be closed now @aproeve ?


fix #17

Fixes #17

Nice solution! I didn't know it was that simple. Merged :-)

Great, thank you!


Change default units from "b,Kb,Mb" to " B, KB, MB"

First of all, thanks for the great library, it is very useful!
Not sure if this issue truly qualifies as a "bug", but almost. The default value for sizeUnits is currently b,Kb,Mb. I find this extremely confusing: in English-speaking countries these mean "bits" instead of "bytes", and thus the displayed values are wrong by an 8-fold multiplying factor. The correct English abbreviations for bytes, kilobytes, and megabytes are supposed to be B, kB, and MB, see for example:
https://en.wikipedia.org/wiki/Kilobyte
In fact, the values displayed by easyMDE seem to actually be kibibytes and mebibytes (KiB, MiB), but this is probably too confusing for most users. I'd advocate for B, KB, and MB as default (note the capital K, unlike the official abbreviation), which is how the English versions of Windows and macOS display them.
Finally, note that most operating systems display a space between the value and the unit (e.g., 198.7 KB), but easyMDE doesn't use such space (e.g., 198.7KB). It would be nice to have that space, so I believe the most appropriate default value should be  B, KB, MB (note the three whitespace characters).
I have already overridden this in my configuration (see below), and it's really nice that this is customizable. It'd just be even better if this was the default value, I think.
var easyMDE = new EasyMDE({
  ...
  imageTexts: {
      ...
      sizeUnits: ' B, KB, MB'
  }
});

Thanks!

Sounds good to me. Feel free to submit a PR with these changes, or I'll do it at the end of the week. :)

Closed by #242


Publish @local supporting version on npm

Not the most fun issue, but would help me out a lot :D

What makes you think the current versions on npm don't support this?

Which npm package are you looking at?

https://www.npmjs.com/package/@lezer/lezer

That's the Lezer grammar file parser (and definitely doesn't come with a lezer-generator command). Try @lezer/generator.

This repo is also the Lezer grammar file parser, right?
I want the Lezer grammar that supports @local so I can highlight them in my lezer editor 😁

Oh, now I get what you mean. Tagged 1.1.1

Thanks!