kafka source can not consumer all history data when use batch mode

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
kafka source can not consumer all history data when use batch mode
i have 1000w+ messages  prepared to consume in kafka, when conumer data with batch mode, it ended when consumer part of data.
#2024-02-26 17:44:47,768 INFO  org.apache.seatunnel.engine.client.job.ClientJobProxy - Submit job finished, job id:<PHONE_NUMBER>63781634, job name: SeaTunnel
2024-02-26 17:44:47,776 WARN  org.apache.seatunnel.engine.client.job.JobMetricsRunner - Failed to get job metrics summary, it maybe first-run
2024-02-26 17:44:55,561 INFO  org.apache.seatunnel.engine.client.job.ClientJobProxy - Job<PHONE_NUMBER>63781634) end with state FINISHED
2024-02-26 17:44:55,569 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand -

       Job Statistic Information

Start Time                : 2024-02-26 17:44:47
End Time                  : 2024-02-26 17:44:55
Total Time(s)             :                   8
Total Read Count          :               53847
Total Write Count         :               53847
Total Failed Count        :                   0

2024-02-26 17:44:55,570 INFO  com.hazelcast.core.LifecycleService - hz.client_1 [imc_test] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTTING_DOWN
2024-02-26 17:44:55,577 INFO  com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [imc_test] [5.1] Removed connection to endpoint: [hadoop002]:5801:da380055-6b10-4427-b326-ffb967a19d45, connection: ClientConnection{alive=false, connectionId=1, channel=NioChannel{/<IP_ADDRESS>:44263->hadoop002/<IP_ADDRESS>:5801}, remoteAddress=[hadoop002]:5801, lastReadTime=2024-02-26 17:44:55.564, lastWriteTime=2024-02-26 17:44:55.562, closedTime=2024-02-26 17:44:55.573, connected server version=5.1}
2024-02-26 17:44:55,580 INFO  com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [imc_test] [5.1] Removed connection to endpoint: [hadoop001]:5801:b42b8c7f-fd07-4297-b9f5-55ea8ca87ca4, connection: ClientConnection{alive=false, connectionId=2, channel=NioChannel{/<IP_ADDRESS>:36031->hadoop001/<IP_ADDRESS>:5801}, remoteAddress=[hadoop001]:5801, lastReadTime=2024-02-26 17:44:47.433, lastWriteTime=2024-02-26 17:44:47.433, closedTime=2024-02-26 17:44:55.578, connected server version=5.1}
2024-02-26 17:44:55,580 INFO  com.hazelcast.core.LifecycleService - hz.client_1 [imc_test] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is CLIENT_DISCONNECTED
2024-02-26 17:44:55,584 INFO  com.hazelcast.core.LifecycleService - hz.client_1 [imc_test] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTDOWN
2024-02-26 17:44:55,584 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed SeaTunnel client......
2024-02-26 17:44:55,584 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed metrics executor service ......
2024-02-26 17:44:55,586 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - run shutdown hook because get close signal
SeaTunnel Version
2..3.3
SeaTunnel Config
"env" : {
        "parallelism" : 3,
        "job.mode" : "BATCH",
        "checkpoint.interval" : 30000,
        "job.name" : "oalu_kafka"
    },
    "source" : [
        {
            "schema" : {
                "fields" : {
                    "Price" : "STRING",
                    "Aplus" : "STRING",
                    "AmazonChoice" : "STRING",
                    "Brand" : "STRING"
                }
            },
            "consumer.group" : "amc",
            "commit_on_checkpoint" : true,
            "format" : "json",
            "topic" : "lurProduct",
            "bootstrap.servers" : "<IP_ADDRESS>:9092,<IP_ADDRESS>:9092",
            "plugin_name" : "Kafka",
            "kafka.config" : {
                "client.id" : "client_1",
                "max.poll.records" : "100000",
                "auto.offset.reset" : "earliest",
                "max.partition.fetch.bytes" : "52428800",
                "session.timeout.ms" : "30000"
            }
        }
    ],
    "sink" : [
        {
            "fs.defaultFS" : "hdfs://hadoop0011:8020",
            "path" : "/user/hive/warehouse/stg.db/pdc_lu_product_data/",
            "bath_size" : 10000,
            "file_format_type" : "orc",
            "plugin_name" : "HdfsFile"
        }
    ]
}

Running Command
/usr/local/apache-seatunnel-2.3.3/bin/seatunnel.sh --config pdc_lu_kafka_bath.conf

Error Exception
2024-02-26 17:44:47,539 INFO  org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-26 17:44:47,540 INFO  org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-26 17:44:47,543 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /usr/local/apache-seatunnel-2.3.3/connectors/seatunnel
2024-02-26 17:44:47,547 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: Kafka at: file:/usr/local/apache-seatunnel-2.3.3/connectors/seatunnel/connector-kafka-2.3.3.jar
2024-02-26 17:44:47,547 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: HdfsFile at: file:/usr/local/apache-seatunnel-2.3.3/connectors/seatunnel/connector-file-hadoop-2.3.3.jar
2024-02-26 17:44:47,552 INFO  org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all sources.
2024-02-26 17:44:47,554 INFO  org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-26 17:44:47,570 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSource Plugin from /usr/local/apache-seatunnel-2.3.3/connectors/seatunnel
2024-02-26 17:44:47,574 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: Kafka at: file:/usr/local/apache-seatunnel-2.3.3/connectors/seatunnel/connector-kafka-2.3.3.jar
2024-02-26 17:44:47,578 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load plugin: PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Kafka'} from classpath
2024-02-26 17:44:47,598 INFO  org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all transforms.
2024-02-26 17:44:47,598 INFO  org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all sinks.
2024-02-26 17:44:47,599 INFO  org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-26 17:44:47,601 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /usr/local/apache-seatunnel-2.3.3/connectors/seatunnel
2024-02-26 17:44:47,601 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: HdfsFile at: file:/usr/local/apache-seatunnel-2.3.3/connectors/seatunnel/connector-file-hadoop-2.3.3.jar
2024-02-26 17:44:47,603 INFO  org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load plugin: PluginIdentifier{engineType='seatunnel', pluginType='sink', pluginName='HdfsFile'} from classpath
2024-02-26 17:44:47,702 INFO  org.apache.seatunnel.engine.client.job.ClientJobProxy - Start submit job, job id:<PHONE_NUMBER>63781634, with plugin jar [file:/usr/local/apache-seatunnel-2.3.3/connectors/seatunnel/connector-file-hadoop-2.3.3.jar, file:/usr/local/apache-seatunnel-2.3.3/plugins/jdbc/lib/ojdbc8-<IP_ADDRESS>.jar, file:/usr/local/apache-seatunnel-2.3.3/plugins/hive/lib/hive-exec-2.3.9.jar, file:/usr/local/apache-seatunnel-2.3.3/plugins/jdbc/lib/mysql-connector-java-8.0.32.jar, file:/usr/local/apache-seatunnel-2.3.3/connectors/seatunnel/connector-kafka-2.3.3.jar, file:/usr/local/apache-seatunnel-2.3.3/plugins/jdbc/lib/orai18n-<IP_ADDRESS>.jar, file:/usr/local/apache-seatunnel-2.3.3/plugins/jdbc/lib/hive-jdbc-3.1.3.jar]
2024-02-26 17:44:47,768 INFO  org.apache.seatunnel.engine.client.job.ClientJobProxy - Submit job finished, job id:<PHONE_NUMBER>63781634, job name: SeaTunnel
2024-02-26 17:44:47,776 WARN  org.apache.seatunnel.engine.client.job.JobMetricsRunner - Failed to get job metrics summary, it maybe first-run
2024-02-26 17:44:55,561 INFO  org.apache.seatunnel.engine.client.job.ClientJobProxy - Job<PHONE_NUMBER>63781634) end with state FINISHED
2024-02-26 17:44:55,569 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand -
***********************************************
           Job Statistic Information
***********************************************
Start Time                : 2024-02-26 17:44:47
End Time                  : 2024-02-26 17:44:55
Total Time(s)             :                   8
Total Read Count          :               53847
Total Write Count         :               53847
Total Failed Count        :                   0
***********************************************

2024-02-26 17:44:55,570 INFO  com.hazelcast.core.LifecycleService - hz.client_1 [imc_test] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTTING_DOWN
2024-02-26 17:44:55,577 INFO  com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [imc_test] [5.1] Removed connection to endpoint: [hadoop002]:5801:da380055-6b10-4427-b326-ffb967a19d45, connection: ClientConnection{alive=false, connectionId=1, channel=NioChannel{/<IP_ADDRESS>:44263->hadoop002/<IP_ADDRESS>:5801}, remoteAddress=[hadoop002]:5801, lastReadTime=2024-02-26 17:44:55.564, lastWriteTime=2024-02-26 17:44:55.562, closedTime=2024-02-26 17:44:55.573, connected server version=5.1}
2024-02-26 17:44:55,580 INFO  com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [imc_test] [5.1] Removed connection to endpoint: [hadoop001]:5801:b42b8c7f-fd07-4297-b9f5-55ea8ca87ca4, connection: ClientConnection{alive=false, connectionId=2, channel=NioChannel{/<IP_ADDRESS>:36031->hadoop001/<IP_ADDRESS>:5801}, remoteAddress=[hadoop001]:5801, lastReadTime=2024-02-26 17:44:47.433, lastWriteTime=2024-02-26 17:44:47.433, closedTime=2024-02-26 17:44:55.578, connected server version=5.1}
2024-02-26 17:44:55,580 INFO  com.hazelcast.core.LifecycleService - hz.client_1 [imc_test] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is CLIENT_DISCONNECTED
2024-02-26 17:44:55,584 INFO  com.hazelcast.core.LifecycleService - hz.client_1 [imc_test] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTDOWN
2024-02-26 17:44:55,584 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed SeaTunnel client......
2024-02-26 17:44:55,584 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed metrics executor service ......
2024-02-26 17:44:55,586 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - run shutdown hook because get close signal

Zeta or Flink or Spark Version
zeta
Java or Scala Version
java 1.8
scala 2.12
Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

when use stream mode, it will consume data continuously ，it is ok

I'm encounter this issue too. I've already submit pr #6685 to fix this.

I'm encounter this issue too. I've already submit pr #6685 to fix this.

why this pr cann't be accepted

I'm encounter this issue too. I've already submit pr #6685 to fix this.

why this pr cann't be accepted

We need some test case to reproduce this bug again in this PR. To make sure same bug not happend again in the future.


goland: Add version 2018.3.5

Hey, I have added GoLand in version 2018.3.5. The application wasn't in this bucket before.

https://github.com/lukesampson/scoop-extras/pull/1520#issuecomment-447385484
For extras it's reccomended to use toolbox app. You could use https://www.github.com/Ash258/Scoop-JetBrains with all IDEs in all versions available.

Ah, all right. Thanks. 😃


How to make global variables ?

is there a way I can declare constants somewhere so I can just use them in my controllers ? @akrabat @namaless @needcaffeine @jeremykendall

@mridah Isn't the best place where ask support to this. Btw you can define constants where you want, but for me you can define what you want in the container and then you have where you need.

Additionally, if you want to define constants for use on all your controllers, the best way would be to have them all extend a base class that only defines class constants and use them within your controllers. That way, you keep those constants inside your context (aka the controllers).
Just remember that if you start to have too many constants etc, you may be disguising mutations and the like with them, so make sure you don't have overcomplicated switch / if/then/else structures as they are normally a give-away of the need to a better structure in your code.


Dictionary key as object for TS v2.1 and higher

Adds x-dictionaryKey to JSON Schema for dictionaries with an enum key, so that the enum is retained when generating TS or C#.
Closes https://github.com/RSuter/NSwag/issues/1507

Thank you for the PR.
However:

Item (array item type)/Items (tuple item types) cannot be used here because we are describing the dictionary key - JSON Schema does not have a way to describe that, what about "x-key"? http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.4.1
I think we should only support enum or string keys, otherwise we should fall back to string, because an object key does not make sense in the JSON world. How would you serialize/deserialize that?
We should also support that in the C# generator

What do you think?

Completely agree with you:

Yea It what I was thinking that I did it wrong, what is "x-key"?

Agree, will change it.

will add supporting to the C# generator

Or how better to do it?

I already have the changes give me 10 minutes...

Ok, I've commited the changes.
What do you think?
x-key is a custom property which is only known to NJsonSchema (other implementations will fall back to string) - because JSON Schema cannot describe "dictionary" keys (it doesnt even really know dictionaries).

I'm wondering if we even have to put this special treatment behind a setting?

Amazing!
Yea I think it's just supported by NJS, and if TS v2.1 or higher should be fine, but maybe makes sense to add some setting that is turned on by default.
Thank you!

I renamed x-key to x-dictionaryKey because x-key may already be used by some people and I don't want to cause name conflicts... x-dictionaryKey should be safe. I think we don't add a setting until someone needs/requests it...

@paulomorgado Do you think we can merge this? Any objections?

@popovsergii Is the PR ok from your point of view?

Yeah, it completely solves my problem, I would like to have it merged, waiting for neget update!
Thank you a lot again!

LGTM

NSwag UI shows such an enum key as *. The model does not include the enum, right?

I dont understand your question

I am using an "XyzModel" among my C# models that directly inherit from Dictionary<SomeEnum, string> and it contains no other members. Here is how it is displayed in the NSwag UI:

description:
Generic XyzModel class
< * >:	string

And "Example Value" field displays it as follows:
"xyzInstance": {
        "additionalProp1": "string",
        "additionalProp2": "string",
        "additionalProp3": "string"
}

I would have expected * to be "SomeEnum". And instead of "additionalProp1", name of enum values could be used.
And here is the TypeScript output produced by the code generation tool:
export class XyzModel {

    [key: string]: string | any;

}

export enum SomeEnum {
    Enum1 = "Enum1",
    Enum2 = "Enum2",
}

It is nice that SomeEnum is included in the TypeScript models but shouldn't the key of XyzModel also be of type SomeEnum?

I would have expected * to be "SomeEnum". And instead of "additionalProp1", name of enum values could be used.

This feature only works in nswag/njs but swagger ui (the web ui) is an external tool and does not support it.

It is nice that SomeEnum is included in the TypeScript models but shouldn't the key of XyzModel also be of type SomeEnum?

Yes it should, are you using nswag to also generate the spec or just the code?

Yes I am using Nswag to generate both the spec and the code.

Looks like a bug if the x-dictionryKey is generated... please open an issue.


Show anaconda environment in bash it

I would like to see my active anaconda environment, when I activate it. After the installation of "bash-it" it is not visible anymore.
Expected Behavior
My bash should show something like:
(my-activated-conda-environment) $ _
Current Behavior
Now it doesn't show anything
Possible Solution
I thinks there must be a flag set within the .bashrc but not sure how
Context
It is really annoying when you install things in the wrong environment.

Seems like a nice feature to add into bash-it. PRs are welcome on this :smile:
base.theme.bash would be a place where this will fit.

you are very correct @davidpfarrell, wow.
I searched for anaconda instead.. funny me.
In any case @Man7hano, there are a bunch of themes that support conda from what I am seeing now- so feel free to use any one of them (powerline,modern,gitline are some examples)


Sentry suddenly losing environment

Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Which SDK and version?
sentry/sentry 1.11.0
Steps to Reproduce

Create a new \Raven_Client()
Set the environment with ->setEnvironment()
Send an exception

Expected Result
Environment comes through to the new logged Sentry error
Actual Result
The environment is missing. We haven't changed our Sentry implementation and suddenly the environment is no longer being set (causing us not to receive alerts either)

Hi @Jamesking56, I've did the following to test this out:
<?php

require __DIR__ . '/vendor/autoload.php';

$sentry = new Raven_Client('https://xxx@o123456.ingest.sentry.io/123456');

$sentry->setEnvironment('prod');

$sentry->captureException(
    new Exception('This is a test on the prod environment.')
);

And the event comes in with the environment correctly set to prod.
Are the problems being captured maybe occurring before the setEnvironment call or are you using a service container that creates multiple instances of the Raven_Client?
I must also note that 1.x is a very old SDK and not really supported, my guess is that you have a good reason for using it but if at all possible it might be a good time to upgrade even though from my testing nothing looks to be broken in 1.x.

We are using Symfony 4, so it could be something to do with the service container there. We are planning to upgrade to 3.x eventually, we have a lot of apps still using 1.x though.
Still investigating it at the moment, we have other apps on 1.x which are still having the environment come through fine, so trying to work out why this app isn't

Interesting, you might want to consider giving the Symfony bundle a try when upgrading anyway.
If you figure it out let us know but I'm leaning towards some container issues possibly especially since you are also confirming other apps have no issues and I'm unable to verify the issue too as mentioned previously.
If I can help with anything please let me know 👍

@stayallive Managed to fix this, we changed the name of some items in our Symfony container configuration - including Sentry. By mistake, we didn't change some references which used the old name.
So yes, some places in the app were getting an unconfigured Raven_Client instead of a configured one.
I've got a working fix for our app tested with Sentry. Can confirm no bug in the 1.x library.
Thanks for investigating your side for me :+1:


🐛 Bug Report: PR 18919 prevents Warning: Entity Not Found from Appearing

📜 Description
In https://github.com/backstage/backstage/pull/18919, there was an implementation change where "If the entity is missing or there is an error, render nothing." The prior behavior, "If the entity is missing or there is an error, render the default page", was removed. The user is then served a blank page, instead of a a useful error experience.
👍 Expected behavior
Show a warning page "Warning: Entity not found" when loading an entity that does not exist.

👎 Actual Behavior with Screenshots
The page is completely blank.

👟 Reproduction steps
It is reproducible in the demo site. For example:
https://demo.backstage.io/catalog/default/user/idonotexist
📃 Provide the context for the Bug.
This PR seems directly related to the issue. https://github.com/backstage/backstage/pull/18919
🖥 Your Environment
Reproducible in the demo backstage environment.
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

@vinzscam do you want to see if there's something that we can do to fix this, otherwise I think we might have to revert this change.

@Joshua-Liong-vw ok, we're going to ship v1.17.1 with this change reverted I think, and then have a followup PR for the -next release which fixes this in a different way and moves some of that handling logic elsewhere.


Make this demo work on Java 17 onwards

@MarkEWaite Is this still maintained? According to the fork stats, it's used a lot, hence I've updated it to ensure it works on modern Jenkins and Java versions too.
Got quite a few spam PRs here...

@MarkEWaite Is this still maintained? According to the fork stats, it's used a lot, hence I've updated it to ensure it works on modern Jenkins and Java versions too.
Got quite a few spam PRs here...

It is still used.  It is included in the documentation.  Thanks for the improvement for Java 17.  Will need to confirm that it still works with Java 8 and Java 11.


[WIP] Sync multiple accounts in a single SimpleFIN API call.

This is the server implementation that supports SimpleFIN sync'ing one account (as previously supported) or several accounts in a single call.  The client side would need to be updated to utilize this.
Feedback welcome.

What does this need to be merge-ready? I can't really use Actual until this gets fixed as every refresh cycle locks up my SimpleFIN access.

Honestly, the back-end code could merge at any time.  But the front end won't use the new functionality.

Ok so one thing I failed to think through on the first attempt was that maybe some accounts sync and some fail.  So if we try all, what do we do in such a case?  Previously, it would see the first failure and just abandon the entire attempt.
My current thought is we can still try to parse out the other accounts and maybe get a partial update.  So account-specific errors are simply stored while processing and then at the end, if there was one account being sync'd and there is an error I have it respond with that error.  If there were multiple accounts and at least one error, I return the transaction data we found and then set a new errors field in the object.  The client will have to know to look for those errors and show them on specific accounts.

I really need someone else to test this.

How can I test?

How can I test?

You have to run this branch of the server and then connect to it with a client.  Then try sync'ing.

I will not be able to test it as I don't have a simplefin account, nor do I have a bank account that I could sync (I use GoCardless). Though, I'm working on a refactor (https://github.com/actualbudget/actual-server/pull/440) that will make it so that we can easily fake out responses from the SimplefinAPI, so that we don't have to rely on manual testing. Because, in the end, most of the code added in this PR is just transforming the simplefin responses into a different format.

@psybers Any reason I shouldn't merge this in? (or Matt can if he beats me to it)

@youngcw It should be fine to merge this. The behavior of this code should be the same as the existing code, but opens the ability to process multiple accounts in a single call.
The idea is to update the front end next to utilize that new functionality.

Is there a tracking issue for front-end support?

@endigma I don't think so


A workaround for repeat.for and paper-tabs, paper-menu, iron-selector, paper-listbox...

When you have a trouble with paper-tabs, paper-radio-button, paper-menu, paper-listbox... anything that uses  iron-selector inside to select an item, try this workaround.
iron-selector selects one from child elements but ignores child child elements inside a child element. (It seems not always, though.)
In the following example, the <paper-tab> is sometimes ignored because it is not a direct child element of the <paper-tabs>.
 <paper-tabs>

      <paper-tab>tab 0</paper-tab>

 </paper-tabs>

When you use repeat.for, Aurelia wraps things in a <template> element. So, no generated element can be selected. (See #17 for more detail.)
A workaround is au-select attribute that gathers all child elements and child child elements under <iron-selector> or similar elements.
In the following example,  paper-tabs works au-select with
.
Give selectable="CSS selector" to iron-selector and give class="CSS selector" to selectable elements.  (note: * selectable=".selectable_item" requires ".")
      <paper-tabs au-select selectable=".selectable_item">

          <paper-tab class="selectable_item" repeat.for="item of items">${item}</paper-tab>

      </paper-tabs>

This is a TypeScript version of  the au-select custom attribute.
// resources/au-select-custom-attribute.ts
//    add  aurelia.use.plugin('resources/au-select-custom-attribute') to main.ts
import { autoinject } from 'aurelia-framework';

@autoinject
export class AuSelectCustomAttribute {
	constructor(private element: Element) {
		(<any>element)._updateItems = function() {
		    //var nodes = (<any>window).Polymer.dom(this).queryDistributedElements(this.selectable || '*');
		    var nodes = (<any>window).Polymer.dom(this).querySelectorAll(this.selectable || '*');
		    nodes = Array.prototype.filter.call(nodes, this._bindFilterItem);
		    this._setItems(nodes);
		}
	}
}

This is a JavaScript version.
// resources/au-select-custom-attribute.js
//    add  aurelia.use.plugin('resources/au-select-custom-attribute') to main.js
//import {inject} from 'aurelia-framework';

export class AuSelectCustomAttribute {
	constructor(element) {
		element._updateItems = function() {
		    //var nodes = window.Polymer.dom(this).queryDistributedElements(this.selectable || '*');
		    var nodes = window.Polymer.dom(this).querySelectorAll(this.selectable || '*');
		    nodes = Array.prototype.filter.call(nodes, this._bindFilterItem);
		    this._setItems(nodes);
		}
	}
}

The above code was borrowed from PolymerElements/iron-selector#42.
Or, the following code can be added to main.ts to replace the default behavior, if you don't want to use the au-select attribute.
export function configure(aurelia: Aurelia) {
  (<any>window).Polymer.IronSelectableBehavior._updateItems = function() {
      //var nodes = win.Polymer.dom(this).queryDistributedElements(this.selectable || '*');
     var nodes = (<any>window).Polymer.dom(this).querySelectorAll(this.selectable || '*');
      nodes = Array.prototype.filter.call(nodes, this._bindFilterItem);
      this._setItems(nodes);
    }

This is great, thanks! Would you mind opening a PR to add the code replacing the default behavior and/or the au-select attribute?

Okay, I will try.

Today paper-tabs and repeat.for work without au-select. I can't reproduce the issue and I'm confused.

Here is a simple skeleton of selection with repeat.for.
Although this is an example of paper-dropdown-menu, the pattern is common to others such as paper-tabs.
It shows a list of country names. You will have countryCode after selection.
If you set a country code to the countryCode, the country is pre-selected.
      <paper-dropdown-menu label="Country" >
        <paper-listbox class="dropdown-content"
              selected.two-way="countryCode" attr-for-selected="id" au-select selectable=".item">

             <paper-item repeat.for="data of countryData" id.bind="data.alpha3" class="item">
                  ${data.name}
              </paper-item>

        </paper-listbox>
      </paper-dropdown-menu>

export class MyViewModel {
    countryData: any = [
          {alpha3: 'BHR', name: 'Bahrain'},
          {alpha3: 'JPN', name: 'Japan'},
          {alpha3: 'HUN', name: 'Hungary'}
   ];
   countryCode: string = 'JPN';    // pre-selection
}

Hmm, was there an Aurelia upgrade?

I have just sent a PR. Please merge it, if it is good.

Merged!

It's not working for me (I'm using fd482e6ce9295ed240def186f3214a18e27e6697):
Unhandled rejection Error: Error invoking AuSelectCustomAttribute. Check the inner error for details.
------------------------------------------------
Inner Error:
Message: key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?

I checked and _aureliaFramework.Element in au-select-custom-attribute.js is, in fact, undefined...
markup
<paper-dropdown-menu>
    <paper-listbox class="dropdown-content" selected="0" au-select selectable=".item">

            <paper-item repeat.for="i of 10" class="item">${i}</paper-item>

    </paper-listbox>
</paper-dropdown-menu>

Should've been fixed by #25

I'm using the latest commit and it's not fixed...

After some testing I must say that this is not a good workaround...
In the case of paper-tabs the added
 interferes with Polymer styles.
Trying to change the bound collection of a paper-listbox programmatically doesn't work (the elements stop being selectable).
The only good solution I found at the moment, is to use:
<paper-tabs>
  <template is="dom-repeat" items.bind="items">
    <paper-tab>{{item}}</paper-tab>
  </template>
</paper-tabs>

@wc-matteo, I confirmed your code works. It solves some annoying issues such as font size of tabs in the original workaround. Great invention.
I am not familiar with Polymer's data biding. How do you use it with Aurelia's data binding?
For example, a tab includes  tag usually.  With the following code, item.title appears in the tabs, but does not work as a link.
<paper-tabs>
  <template is="dom-repeat" items.bind="router.navigation">
    <paper-tab link>
      {{item.title}}
    </paper-tab>
  </template>
</paper-tabs>

@HIRANO-Satoshi
All credits go to: https://github.com/aurelia/binding/issues/262
I'm not familiar with Polymer's data binding myself, but I found this.
In short, the syntax is: . Strangely, in this case the attribute (i.e. href) is attached to the parent autogenerated div (i.e.
) in the final rendering.

I tried the href$="{{item.href}}" and confirmed it does not work.
The fact you found is strange.


calendar use months short format

What problem does this feature solve?
better visual experience
What does the proposed API look like?

Thanks, @HsuanXyz
As the ant design, I hope these month lists and year view will get fixed too when this issue closed.

Also, I'd like to report that current nz-calendar's month/year mode is switched wrongly. Above year mode pic is from the ant design and below one is from ng-zorro-antd showcase which shows month/year view wrongly.


Add TypeScript without vue-class-component

It's now possible with vue >=2.5 and typescript >=2.5 to write TypeScript components using default VueJS API, so it should be an option in this generator.

Class component should be the option, and it should be possible to use Class Component without TypeScript, and TypeScript without Class Component.


Fix Sidecar PR

Take 2 at #8542

@a-robinson @filbranden

I am who I am.

LGTM. I assume you'll delete the bad branch?

Sure. Why are there two commits in this PR?

Bad branch deleted.


[Checkbox] Driver

Should provide such methods:

check() - mark as checked
uncheck() - mark as unchecked
toggle() - mark as checked if unchecked or vice versa
isChecked()
mouseOver()
mouseOut()
click() - as an alias for toggle (edited)

Commit 517b513 msg: " Removed .only from tests.jsx "


Configure CI/CD pipeline

Task
Implement Github Actions CI/CD pipeline to improve development process.
The minimal task is to configure automatic deploy to staging environment.

The production pipeline is configured.


How to export Mesh in GaussianDreamer? (Missing mandatory value: tag error)

summary

GaussianDreamer installation was successful
Successfully created point_cloud.ply file under outputs/gs-sds-mvdream/an_astronaut_wearing_a_blue_suit@20240329-022833/save, and last.ckpt under gs-sds-mvdream/an_astronaut_wearing_a_blue_suit@20240329-022833/ckpts
Tried running Mesh export commands causes Missing mandatory value: tag error

reproduction of the error

after successfully created ply and ckpt, I've run :python launch.py --config custom/threestudio-gaussiandreamer/configs/gaussiandreamer_mvdream.yaml --export --gpu 0<EMAIL_ADDRESS>system.exporter_type=mesh-exporter system.geometry.isosurface_method=mc-cpu system.geometry.isosurface_resolution=256

the error message shows :Import times for custom modules:
   0.0 seconds (IMPORT FAILED): custom/shap-e
   0.0 seconds: custom/threestudio-mvdream
   0.1 seconds: custom/threestudio-dreamcraft3D
   0.1 seconds: custom/threestudio-shap-e
   0.6 seconds: custom/threestudio-lrm
   1.0 seconds: custom/threestudio-gaussiandreamer

Traceback (most recent call last):
  File "/home/dreamer/threestudio/launch.py", line 301, in <module>
    main(args, extras)
  File "/home/dreamer/threestudio/launch.py", line 163, in main
    cfg = load_config(args.config, cli_args=extras, n_gpus=n_gpus)
  File "/home/dreamer/threestudio/threestudio/utils/config.py", line 113, in load_config
    scfg = parse_structured(ExperimentConfig, cfg)
  File "/home/dreamer/threestudio/threestudio/utils/config.py", line 127, in parse_structured
    scfg = OmegaConf.structured(fields(**cfg))
  File "/home/dreamer/.local/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 375, in __getitem__
    self._format_and_raise(key=key, value=None, cause=e)
  File "/home/dreamer/.local/lib/python3.10/site-packages/omegaconf/base.py", line 231, in _format_and_raise
    format_and_raise(
  File "/home/dreamer/.local/lib/python3.10/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
    _raise(ex, cause)
  File "/home/dreamer/.local/lib/python3.10/site-packages/omegaconf/_utils.py", line 797, in _raise
    raise ex.with_traceback(sys.exc_info()[2])  # set env var OC_CAUSE=1 for full trace
  File "/home/dreamer/.local/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 369, in __getitem__
    return self._get_impl(key=key, default_value=_DEFAULT_MARKER_)
  File "/home/dreamer/.local/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 451, in _get_impl
    return self._resolve_with_default(
  File "/home/dreamer/.local/lib/python3.10/site-packages/omegaconf/basecontainer.py", line 96, in _resolve_with_default
    raise MissingMandatoryValue("Missing mandatory value: $FULL_KEY")
omegaconf.errors.MissingMandatoryValue: Missing mandatory value: tag
    full_key: tag
    object_type=dict

Please try setting --config as<EMAIL_ADDRESS>

Thanks, but encountered another error :

command :
python launch.py --config<EMAIL_ADDRESS>--export --gpu 0<EMAIL_ADDRESS>system.exporter_type=mesh-exporter system.geometry.isosurface_method=mc-cpu system.geometry.isosurface_resolution=256

error :
Traceback (most recent call last):
  File "/home/dreamer/threestudio/launch.py", line 301, in <module>
    main(args, extras)
  File "/home/dreamer/threestudio/launch.py", line 169, in main
    system: BaseSystem = threestudio.find(cfg.system_type)(
  File "/home/dreamer/threestudio/threestudio/systems/base.py", line 51, in __init__
    self.configure()
  File "/home/dreamer/threestudio/custom/threestudio-gaussiandreamer/system/gaussian_mvdream.py", line 25, in configure
    super().configure()
  File "/home/dreamer/threestudio/threestudio/systems/base.py", line 292, in configure
    self.geometry = threestudio.find(self.cfg.geometry_type)(self.cfg.geometry)
  File "/home/dreamer/threestudio/threestudio/utils/base.py", line 100, in __init__
    self.cfg = parse_structured(self.Config, cfg)
  File "/home/dreamer/threestudio/threestudio/utils/config.py", line 127, in parse_structured
    scfg = OmegaConf.structured(fields(**cfg))
TypeError: GaussianBaseModel.Config.__init__() got an unexpected keyword argument 'isosurface_method'

So I removed system.geometry.isosurface_method and system.geometry.isosurface_resolution, and added system.exporter.context_type=cuda run :
python launch.py --config<EMAIL_ADDRESS>--export --gpu 0<EMAIL_ADDRESS>system.exporter_type=mesh-exporter system.exporter.context_type=cuda

and got the following error :
Traceback (most recent call last):
  File "/home/dreamer/threestudio/launch.py", line 301, in <module>
    main(args, extras)
  File "/home/dreamer/threestudio/launch.py", line 259, in main
    trainer.predict(system, datamodule=dm, ckpt_path=cfg.resume)
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 864, in predict
    return call._call_and_handle_interrupt(
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py", line 44, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 903, in _predict_impl
    results = self._run(model, ckpt_path=ckpt_path)
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 987, in _run
    results = self._run_stage()
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1028, in _run_stage
    return self.predict_loop.run()
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/loops/utilities.py", line 182, in _decorator
    return loop_run(self, *args, **kwargs)
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/loops/prediction_loop.py", line 130, in run
    return self.on_run_end()
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/loops/prediction_loop.py", line 202, in on_run_end
    results = self._on_predict_epoch_end()
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/loops/prediction_loop.py", line 368, in _on_predict_epoch_end    call._call_lightning_module_hook(trainer, "on_predict_epoch_end")
  File "/home/dreamer/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py", line 157, in _call_lightning_module_hook
    output = fn(*args, **kwargs)
  File "/home/dreamer/threestudio/threestudio/systems/base.py", line 332, in on_predict_epoch_end
    exporter_output: List[ExporterOutput] = self.exporter()
  File "/home/dreamer/threestudio/threestudio/models/exporters/mesh_exporter.py", line 44, in __call__
    mesh: Mesh = self.geometry.isosurface()
  File "/home/dreamer/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1688, in __getattr__
    raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
AttributeError: 'GaussianBaseModel' object has no attribute 'isosurface'

If so, it means that this Gaussian model does not support mesh extraction :(

Hey @hayoung-jeremy
You need to remove system.exporter_type=mesh-exporter from your command.
If you take a look at the gaussiandreamer_mvdream.yaml config it uses gaussiandreamer-mesh-exporter
Although now I'm getting this error now:
Traceback (most recent call last):
  File "/home/cra80/Projects/threestudio/launch.py", line 332, in <module>
    main(args, extras)
  File "/home/cra80/Projects/threestudio/launch.py", line 290, in main
    trainer.predict(system, datamodule=dm, ckpt_path=cfg.resume)
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 864, in predict
    return call._call_and_handle_interrupt(
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py", line 44, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 903, in _predict_impl
    results = self._run(model, ckpt_path=ckpt_path)
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 987, in _run
    results = self._run_stage()
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1028, in _run_stage
    return self.predict_loop.run()
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/loops/utilities.py", line 182, in _decorator
    return loop_run(self, *args, **kwargs)
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/loops/prediction_loop.py", line 130, in run
    return self.on_run_end()
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/loops/prediction_loop.py", line 202, in on_run_end
    results = self._on_predict_epoch_end()
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/loops/prediction_loop.py", line 368, in _on_predict_epoch_end
    call._call_lightning_module_hook(trainer, "on_predict_epoch_end")
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py", line 157, in _call_lightning_module_hook
    output = fn(*args, **kwargs)
  File "/home/cra80/Projects/threestudio/threestudio/systems/base.py", line 335, in on_predict_epoch_end
    exporter_output: List[ExporterOutput] = self.exporter()
  File "/home/cra80/Projects/threestudio/custom/threestudio-gaussiandreamer/geometry/exporter.py", line 35, in __call__
    mesh: Mesh = self.geometry.extract_mesh()
  File "/home/cra80/Projects/threestudio/custom/threestudio-gaussiandreamer/geometry/gaussian_io.py", line 268, in extract_mesh
    occ = self.extract_fields(resolution).detach().cpu().numpy()
  File "/home/cra80/miniconda3/envs/threestudio-torch222/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/cra80/Projects/threestudio/custom/threestudio-gaussiandreamer/geometry/gaussian_io.py", line 247, in extract_fields
    w = gaussian_3d_coeff(
NameError: name 'gaussian_3d_coeff' is not defined

Fixed in here: https://github.com/cxh0519/threestudio-gaussiandreamer/pull/8


Check answers fix

I've updated the check your answers screen to include the following changes as discussed:

Combined eligibility with your details section
Added the missing "Have you ever been know by any other name?" question to the Your details section
Changed heading from "Check your answers and submit application" to "Check your answers"
Removed the separating line and removed the change link in the application and police reporting questions
I renamed "If you have contact with the offender, describe it below" to "Contact with offender"
I moved the police force question from About the crime section to the Police report section
I moved the delay in reporting the crime to the police question to the Police report section
I checked and updated all the change links to ensure they are going to the correct screens

Unfortunately, I wasn't able to make each check box option appear on its own line for the delay questions. Will need front-end dev help for that.
@johnkane1 @Julieallan can you confirm those changes

Thanks Maxine, looks good


Fix max Date issue

As i reported in the issue created there was a problem with the days pushed. The loop for the first 10 days was done without taking into account any max-date passed (so for example when the maxDate had less than 10 days this was ignored and all first 10 days were looped anyway). In my pull request i fixed the issue by updating the end1 value depending on the maxDateValue and also doing the 10-31 loop conditionally in case we actually need it.

Thanks a lot

There is a minor issue remaining. When the current day is below 9. I will
create another PR next week.
On Mon, Nov 23, 2020, 20:04 Md Shafkat Hussain Tanvir <
<EMAIL_ADDRESS>wrote:

Thanks a lot
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tanvir0604/vue-dropdown-datepicker/pull/15#issuecomment-732330724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKONGMFERYCJVE75EIJPLNTSRKP3VANCNFSM4TIRIJNA
.


multi input/modality augmentation

Hello,
I would like to ask if the input images are CT and PET, as well as mask, how should I use the code below? Thank you.
# with mask
data = {'image': img, 'mask': lbl}
aug_data = aug(**data)
img, lbl = aug_data['image'], aug_data['mask']

Hi!
I was about to try to do the same. If your images are in NIfTI format I would suggest to read them with nibabel, convert then to numpy arrays, and apply the function of your code. Any ideas are welcome.
Regards,
Sergio


[BOT PR] to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
256e22f18ddb5265b30bb048683e116fc2171062
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
256e22f18ddb5265b30bb048683e116fc2171062
link
/test istio-unit-tests

prow//e2e-simpleTests-minProfile.sh
256e22f18ddb5265b30bb048683e116fc2171062
link
/test e2e-simpleTestsMinProfile

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Change the data format of File's creationDate and publishDate from Date to string

… Date to string
What this PR does / why we need it:
Change the e file creation date and publication date from Date object to string type(as same as the payload format) to avoid a date conflict
Which issue(s) this PR closes:

Closes #560

Special notes for your reviewer:
waiting for https://github.com/IQSS/dataverse-client-javascript/pull/226 to be merged.
Suggestions on how to test this:

find an existing dataset, or create a new dataset
upload a file to a dataset, check file deposited date, should be in correct readable format(Dec 6, 2024) and correct date.

publish the dataset, check the published date as well.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No
Is there a release notes update needed for this change?:
No
Additional documentation:

coverage: 97.543% (+0.2%) from 97.345%
when pulling c16476749e156c0015ff1c2068d4ffe24d953544 on 560-feature-requestidea-show-a-string-for-the-creation-date-and-publication-date-of-file
into 02b04e5733d4817c79794f3dc5f1536cd5e304f6 on develop.


Utilize hint::spin_lock to vastly improve spin lock performance

In mutex.rs:29 we have a spin lock without a nop or a pause or anything. We can utilize core::hint::spin_lock to tell the cpu to avoid pipelining the code which will vastly improve the performance of the mutex see https://github.com/juls0730/CappuccinOS/blob/992863a112089cc1814064bca754bf044eb4c6ad/src/libs/sync/mutex.rs#L29

fixed in 119e27129c215aebf0fb9cf744692b09d1f51228


Any update's documentation?

I can't figure out which flow I should start using to use the API. There is an update in the Documentation header that some Tesla endpoint is closed, which gives you an access token. What is the right way to start using API now?

The documentation is updated, just missing for MFA users. Check #374 for progress.

That is, I can follow the steps on the site https://tesla-api.timdorr.com/api-basics/authentication?


Microsoft.Dynamics365.UIAutomation.Api.UCI project is not found

@seanmcne - Thanks for raising this. It looks like the 8.2 and 9.0 branches contain a reference to the Api.UCI project which is not applicable for those branches.
We'll get this updated and push out an update to correct the v8.2/v9.0 branches.
Regards,
Tyler

@seanmcne - The v9 branch has been updated to correct this invalid project reference. Thanks again for raising this issue to us!
Regards,
Tyler

This bug appears to be in latest NuGet package. It contains the UCI assembly but is missing the Api assembly, so when a user updates from the previous version, they can't compile.

@ryan-4 - Thanks for catching this. We just published an updated package Version <IP_ADDRESS>, can you give that a try and confirm it resolves your missing assembly issue?
We also caught a problem in which dependencies were not being pulled on install as well, which should be resolved with this latest update.
We'll be publishing fixes later today for the 8.2 and 9.0 packages regarding the dependencies issue.
Thanks,
Tyler

Thanks for the quick response! I've tested <IP_ADDRESS> and it's working well.


modified atomic::ordering about SEQUENTIAL_NODE_ID

https://github.com/AleoHQ/snarkOS/blob/8cfa1657746bcdc372207f788f093b3060aac350/node/tcp/src/tcp.rs#L89
I think the use of ordering here is irregular, SEQUENTIAL_NODE_ID is used here for counting, not to synchronize access to other shared variables. Although Ordering::SeqCst ensures the correctness of the program, it affects the performance of the program. Therefore, just Ordering::Relaxed needs to be used here to ensure the correctness of the program.

Closing in favor of https://github.com/AleoHQ/snarkOS/pull/2317.


New Azure Sentinel Analytics rules based on "FalconFriday" detection rules

We want to make the detection rules which we publish freely for the Microsoft Security stack to be available in 'Sentinel Solutions'. Merging the first set of analytics rules to go through the process once. Later on, we're planning to add more. The detections will be free for everyone to use.

Thanks, @0xffhh for the contribution. Since this PR is done in the Solutions folder, I wanted to check if you plan to build and publish a solution with these detections? More info on Azure Sentinel solutions at https://docs.microsoft.com/EN-US/azure/sentinel/sentinel-solutions

@preetikr Yes, we're planning to build and publish a solution indeed. I had a look at the URL you mentioned and if my understanding is correct, the first step for publishing a solution is to push it here.

@shainw - Can you please review the Analytics rule queries. Thanks.

@v-maudan All your comments are resolved. Thank you.
@ashwin-patil I resolved all comments except the ones around formatting the output with project/summarize. Can you please look into the comments and let me know if you agree?

@shainw - Can you please review the Analytics rule queries. Thanks.

Shain is out, I am filling it for him.


disabling transition on aux routes

Is it possible to disable transitions on aux routes.  Say I have these routes
/settings
/settings/(aux:user)
/settings/(aux:other)
I only want the transition to trigger on the first loading of settings and not to trigger during aux route changes.  The aux router-outlet is a sub navigation of the settings page (settings being loaded in the primary router-outlet)
Thanks
Jason

I will look into it ASAP

I have just realeased version 1.1.0 which adds ignoreOnRoutes: https://github.com/bergben/ng2-page-transition#ignoreonroutes
You could then simply ignore the aux routes
<ng2-page-transition [ignoreOnRoutes]="['aux:']">
    <router-outlet></router-outlet>
    Some other content
</ng2-page-transition>

I haven't tested this so it would be great if you could report back here @jmw5598
Thanks!

@bergben
Just wanted to report back to you.  This is working perfect for me.
Thanks again.

Glad to hear that @jmw5598 :)


updates to get better grid and colors

see above

Color scheme look a lot better

Wow, awesome.

this is prime


Invalid position of the viewport visualization in navigator

I was trying to implement viewport tracking, and noticed my tracked positions are off. Further inspection led me to realize the OSD's implementation does not display the viewport correctly.
I shouldn't have modified the navigator in any way that would cause this, but I am not 100% sure.
What I am doing:
        const size = 250;
        this.record = document.createElement("canvas");

        const homeBounds = VIEWER.viewport.getHomeBounds();
        homeBounds.width += 2*homeBounds.x; //consider setting 1 since it is computed to be 1 anyway
        homeBounds.height += 2*homeBounds.y;
        homeBounds.x = 0;
        homeBounds.y = 0;

        const w = size * homeBounds.width, h = size * homeBounds.height;
        this.record.width = w;
        this.record.height = h;
        this.recordCtx = this.record.getContext('2d');
        this.recordCtx.globalCompositeOperation = "lighten";

        ....

        VIEWER.addHandler("update-viewport", e => {
                const viewport = e.eventSource.viewport;

                ....

                const bounds = viewport.getBoundsNoRotate(true);
                _this.recordCtx.fillRect(size*bounds.x, size*bounds.y, size*bounds.width, size*bounds.height);
        });

(tissue blurred)

If you look closer you can see that while the whole bottom part of the tissue is visible, the viewport position indicator is off. Note that the display is cut and the OSD renders behind the menu too, the reason the rectangle is so wide.
I tried loading just a single TiledImage with the same result.
What OSD is doing (for reference):
            bounds      = viewport.getBoundsNoRotate(true);
            topleft     = this.viewport.pixelFromPointNoRotate(bounds.getTopLeft(), false);
            bottomright = this.viewport.pixelFromPointNoRotate(bounds.getBottomRight(), false)
                .minus( this.totalBorderWidths );

            //update style for navigator-box
            var style = this.displayRegion.style;
            style.display = this.world.getItemCount() ? 'block' : 'none';

            style.top    = Math.round( topleft.y ) + 'px';
            style.left   = Math.round( topleft.x ) + 'px';

            var width = Math.abs( topleft.x - bottomright.x );
            var height = Math.abs( topleft.y - bottomright.y );
            // make sure width and height are non-negative so IE doesn't throw
            style.width  = Math.round( Math.max( width, 0 ) ) + 'px';
            style.height = Math.round( Math.max( height, 0 ) ) + 'px';

Any ideas? Thanks.

@Aiosa I just tried this with my setup, and also with https://openseadragon.github.io/examples/ui-viewport-navigator/
It seems to be working as I'd expect. The one thing I'm noticing, while looking closely, is that the bounds of the viewport correspond to the outer part of the red rectangle in the navigator, not the inside of the frame. Could that be what you're seeing, or is it more than that?

I tried vanilla OSD now and also seems fine. The problem seems to be in the rectangle size, the top left corner seem aligned correcntly. I could include interactive example right away

Hmm, using VIEWER.navigator.totalBorderWidths={x:0,y:0} in console improved it almost fully....

Maybe the issue is that the top and left are rounded to the nearest pixel, while the width and height are computed from the original un-rounded values? Depending on how the sizes work for specific image and viewport dimensions, you could end up rounding down (or up) twice and throw off the bottom and right positions more for that reason? It might make more sense to round topLeft and bottomRight independently first, and then calculate width and height from there...

Aha! In your example, I disabled box-sizing: border-box in the CSS for the navigator panel (can be found with selector #panel-navigator-displayregion.displayregion (among others) ) and the bottom right positioning seems much better.

Wow, you're right. Thanks a lot! Hard to notice especially when assigned by third-party style bootstrap.

I feel like it might be worth considering how to make the indicator rectangle robust to external CSS like this. I can't imagine why it would be beneficial for a user to intentionally apply a different box-sizing model that makes it inaccurate, and it is highly likely to happen by accident like it did to you.
@iangilman Thoughts? Perhaps inline CSS defined on the element itself could be used to override any such changes made by an external stylesheet...

@pearcetm Yes, good point! We should apply box-sizing: content-box to the navigator display region. I'll reopen this issue as an enhancement. @Aiosa Thanks for drawing attention to it!


Added=>Data-Structure=>Stack=>StackUsingLL.c

Assigned Issue Number 1609
Language(s) Opted ?
C
Number of file(s) added or updated ?
1
Name and location of the file(s)?
Data-Structures=> Stack => stackUsingLL.c
Checklist

[ ] Input has been taken dynamically.
[ ] I've referred the correct issue number.
[ ] Comments have been added
[ ] I've  synced-up my forked repo.
[ ] Ain't pushing from the main branch.
[ ] I've followed the naming convention

Perfect Code 👍 Thanks @Phoenix6296 Happy Contributing 🎉

Thankyou @ahampriyanshu


Support CSEK and CMEK in all upload/download APIs

The application should be able to set the CSEK or CMEK where they are applicable.

I think this is done, and tested as part of #1031.


Export gadgetron home

closes #115

BTW I've tested the DEVEL_BUILD and it works.

Basically it fails only on 2 builds.

looks good. One Travis job fails because of the OSX problem #97. I have no clue why the docker devel-build fails but will leave that to @casperdcl .
I'll merge this. Please delete the branch if it isn't used.

happily, the docker build succeeded now.


prevent errors in the validator

Coverage decreased (-0.006%) to 92.225% when pulling 32c2fe37eff2a4962892a06e1724a419f3a6a163 on improve_validation_errors into 8cf891d05be1e92e56bc480ff567a2a8f8734a18 on dev.

Coverage decreased (-0.006%) to 92.225% when pulling 32c2fe37eff2a4962892a06e1724a419f3a6a163 on improve_validation_errors into 8cf891d05be1e92e56bc480ff567a2a8f8734a18 on dev.


Rerun should be the obvious replacement to imshow, plot, and draw_geometries

The next major push will be towards making Rerun the obvious replacement for imshow (cv2, plt, px), plt.plot, and draw_geometries (open3d), for researchers and developers building algorithms and systems for computer vision an robotics.
In short this means you'll also be able to use Rerun as your visualization library for inline visualizations in scripts and notebooks. You'll have control over styling, layout, and other options directly from the SDK. Rerun should be usable both as your central visualization tool, and as the thing you use for quick hacks and experiments on the side.
This doesn't mean we'll necessarily replace every single feature supported by those function calls, but that when developers want to quickly visualize computer vision or robotics data in 2D or 3D, Rerun should be the obvious choice.
How?

It will be at least as easy to do the simple stuff like showing an image, scatter plot, or point cloud.
Powerful interactions for inspecting data are turned on by default.
Complex visualizations are simple to make because things like label maps, 3D->2D projections, and time are core features to the data model.
It will run equally well in distributed systems, standalone scripts, and notebooks.
It will be significantly faster than the alternatives.

Why?
We believe we can make day to day work significantly easier for researchers and developers by upgrading these core visualization tools.
We've always focused on making it fast and easy to build powerful 2D and 3D visualizations. In the longer run Rerun will support you from the earliest prototyping all the way to production. However, everything starts with the day to day work of researchers and developers. That's where the requirements for ease of use, low friction, and minimal mental overhead are the largest. It's also where all projects start.
What needs to happen?
Rerun renders beautifully on the web and inline in Jupyter notebooks

With full interactive functionality
In both dark and light mode
With minimal visual noise for single view visualizations

Visualizations are more configurable and controllable from the SDK

All relevant blueprint (configuration) options should be settable both through the SDK and in the Viewer
More available visualization primitives

3D: cylinder, sphere, capsule, text, ...
2D: circle, cross, box, line strip, ...

Grids, axes, and legends
Better more declarative layout system for multiple views
Explicit control over the view's eye

3D: lookat, fov, zoom
2D: pan, zoom, crop

Colormaps for images and tensors

Even more computer vision support in core data model

2D transforms (homography, crop, ...)
Correspondences (keypoint matches, ...)

Hi, these improvement would be great!
I also have a question about current version, does there any solution to:

layout the viewer by code,
or lock the layout when restart my program.

@asuper0

layout the viewer by code

Controlling layout with code isn't currently possible but is part of the work to finishing this big project.

or lock the layout when restart my program.

Layout and other options are currently persisted locally (between opening and closing the viewer) for a given application id. So make sure to set the application id when calling init method if you want that behaviour.

or lock the layout when restart my program.

Layout and other options are currently persisted locally (between opening and closing the viewer) for a given application id. So make sure to set the application id when calling init method if you want that behaviour.

That works. I missed this becauce the recordings list in menu are displayed with UTC time, not local time. So I add a time string to the app id which may help me to identify different records.
I deleted the time string in app id now. However, wolud be suffer with the UTC time🤣. Expect a setting about this.

@asuper0

That works. I missed this becauce the recordings list in menu are displayed with UTC time, not local time. So I add a time string to the app id which may help me to identify different records.
I deleted the time string in app id now. However, wolud be suffer with the UTC time🤣. Expect a setting about this.

Got it! Added an issue:

#1714

Is there any timeline as to when there will be any alpha/beta versions of this version or release for testing?

@Atif-Anwer we're releasing new versions every 2-4 weeks off our main branch. Not everything new landing in there is all towards the goals Niko layed out in this issue, but it is our main focus. We're expecting the next major release (in about 2-3 weeks) to make big strides in configurability & the 2D views.
Is there anything in particular you're missing from the latest release for your usecases? :)
If you haven't already, you can check our docs on how to get started with the latest stable release for Python and Rust.

Yeah I really like the development progress on Rerun and really looking forward to the new bi-weekly updates :). As for the feature set, It would be really nice to have rerun as the defacto replacement for matplotlib as it would really help me with my work. Right now i am using the  log_image and log_tensor as a replacement and it does work reasonably well.

Is there any plan to have something like a 2D Plot view, where there are axes and interactivity, akin to the Time Series view? I see that this merge means that v0.16.0 will have panning and zooming in the 2D Spatial view (which is great), but it still doesn't really apply to my use cases, where I would like to render a frame of radio/audio samples at each time, and the axes will scale dependent on the data.
I have attached an example from matplotlib to give visual reference.

Ideally, I would still log a LineStrips2D for each time, but I would be using a different view of those components. Alternatively, the 2D spatial view could have more blueprints to "lock" the axes to the data, render axes, etc.

Yes, we want to add non-time based plots eventually! Probably as customization options on the 2d view.


Use full function names

Whilst we all understood the original meaning, using the full names makes it much clearer (especially to non-native English speakers).

This change is

Hi @kjacobsen, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). 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, MSBOT;

@kjacobsen Thanks for the fixes to the documetation. Since, you plan to send the fixes in one PR (as discussed in #594),  can you please bunch this commit and the one  in #593 with the planned PR as well?

Closing off this request as it will be included in a later pull request.


WSSE does not work

hello Florian,
Thank you very much for your support, the last issue with the Content-Type-Header is working now.
At the moment, the wsse token is ignored, this is my configuration:
  guzzle:
    emarsys:
      base_url: %terrafinanz_email.export.uri%
      headers:
        'Content-Type': "application/json"
      plugin:
         wsse:
           username: %terrafinanz_email.export.username%
           password: %terrafinanz_email.export.secret%

In the console, I don't see the X-WSSE header:

Thank you very much and greetings from munich, Sebastian

Hi,
yes, this is bug that WSSE headers are not displayed. But they should be send by Guzzle. The problem is, that every time a header is added a new request object is created. That's why it is not recognized by profiler.
Going to think about a solution.
Best regards


Add ArtifactVersion to KubernetesApp Deployment

What this PR does / why we need it:
Add rich version info to KubernetesApp Deployment
Which issue(s) this PR fixes:
A part of #3303
Does this PR introduce a user-facing change?:

NONE

@ffjlabo Great work! Love to see this.
I have just left some comments. Please check them.

/golinter fmt

Look beautiful.
Just 2 nits.

Nice 👍
/lgtm

Great work.
/lgtm


[FEATURE]  aws-for-fluentbit - Make it possible to pass in additional ARNs that should have kms:* in the key policy.

Is your feature request related to a problem? Please describe
Managing KMS keys is tricky and various missteps can cause Keys to become unmanageable. All KMS key policies should at a minimum make it easy to pass in a list of ARNs that have full KMS access.
Even better, would be some flexibility to add a list of ARNs to each section.
Something that basically works like this recent PR into the core part of the repo.
https://github.com/aws-ia/terraform-aws-eks-blueprints/pull/414
Describe the solution you'd like
There is a cluster_kms_key_additional_admin_arns, so maybe add something like an addon_fleuntbit_kms_key_additional_admin_arns variable to accomplish the same task.
It might even make sense to support a global_kms_key_additional_admin_arns that when set would be added to all key policies.
Describe alternatives you've considered
Nothing. I just want more control over the key policy, in case of emergency, etc.

This should be resolved in v5 when the addon is updated to use the https://github.com/terraform-aws-modules/terraform-aws-kms module

closed in #857


Nested drag and drop

Would be good to have an example of nested drag and drop, as well as test and improve the API if necessary for this use case.
Imagine a classic filetree for example.

See also https://codesandbox.io/embed/solid-nested-dnd-prototype-uu5jm?file=/src/App.tsx&codemirror=1

Hi, just here to express my interest in a file tree-style drag and drop demo. Unfortunately, the above link no longer seems to work/load. (I'm just futzing around with a side project - please don't take this as an obligation or time-sensitive issue!)

Ah, that link was just an example of what someone was trying to do - not a working implementation for Solid DnD. I've updated the comment to be clearer.
I'll take a look at a Solid DnD example on the main site in the near future - but if you get something first, please feel free to share a PR.

Really amazing project Martin.
Would really like to use your project and wondering if something like the link below can be made:
I tried to do it with dnd-action and that package is not able to support it.  Perhaps yours can.
https://svelte.dev/repl/1f3437021e76495e83746200ed002096?version=3.46.4
Desired Behaviour:

Accordions can be reordered with dragndrop.
Accordions cannot be dragndrop into subaccordions.
Subaccordions can be reordered within same parent Accordion.
Subaccordions can be dragndrop into other parent Accordions.
When a subaccordion is dragndrop into other parent Accordions, it will be added to the new parent Accordion and removed from the accordion where it came from.

Thanks for the kind words.
I haven't tried to do something similar yet. I'm sure the basic building blocks will make it possible in solid-dnd, but I'm also sure there will be things to figure out. In other words, I don't believe it will just work out of the box.
I would be curious about any attempt you make and where you hit issues that I might be able to address in the core. Meanwhile, I'm working on a related example which might uncover some better answer here.
By the way, I'm surprised https://github.com/isaacHagoel/solid-dnd-directive couldn't do it as based off same Svelte lib as in your example. What was the issue faced there?

Hi Martin,
That example that I made was in Svelte using Isaac's dragndrop project.  If you play with the example, you can see that draging a subaccordion into another accordion doesn't work as expected.   The subaccordion should be removed from where it was dragged from and added into the new accordion.
I didn't try to use his solidjs because the svelte project is not working correctly.

Ah, understood.
I'm making good progress on some improvements to solid dnd that might help for your use case. I'll post an update here once they are done.

That would be amazing.  A solid DnD to rule them all.  Kudos

0.5.0 has been released and should make implementing nested use cases easier as it supports seamless recreation of draggables/droppables during active drag (as well as a new closestCorners collision detector). You can see this working in the new multiple lists example on https://solid-dnd.com/
However, I will leave this issue open until I or someone else successfully implements a working nested example 😄
Note: 0.5.0 release contains breaking changes - see changelog for details.

+1 on an example of nested dnd

The "Board" example on the site now gives some example of nested in that both the columns and the items within them can be dragged and sorted independently. However, I'll leave this open as I also want to add a more specific nested example where items can be arbitrarily nested within each other.

Any update on this? I'd love a nested example, currently trying to figure it out myself but no luck.

Hey, just wanted to mention that I implemented exactly this using solid-dnd in my own application. You can find the code for it here and here. It's actually pretty simple and works out of the box, just need to be aware of which DOM elements you are applying the droppable and draggable as that may cause strange behavior. The working example can be found in my app here.
This is only the dnd part though and you obviously need the logic for reordering the items as well, like in my case this logic.
Hope this helps anyone trying to implement this on their own.

Thanks - I'll take a look. What in solid-dnd could make it easier to implement do you think?

@martinpengellyphillips
Hmm, I'm not sure I can say exactly what to improve but I'll try to describe my overall experience in case it gives you an idea:
I started by figuring out which elements to make draggable and droppable. I remember some weird behaviors if I made the same element both draggable and droppable or if I nested them in certain ways. This took a little bit of experimentation but was not unexpected as some combinations just naturally produce undefined behavior.
I didn't want it to look like the user was dragging the whole tree so I implemented a custom drag shadow. This was very simple other than my one misunderstanding of the createDraggable reactivity.
I added in the custom logic for figuring out what happens when something gets drag and dropped. Had a few edge-cases to cover like parent being dropped onto a child or an element dropped onto itself etc. But I don't think this should be the responsibility of the package itself but rather the application that uses it.
Overall, implementing it was rather straightforward. The package behaved and worked just like I expected it to so everything went smooth. Hope this helps somehow.

Super useful - thank you!


move cob4-2 to unity-robotics

moving cob4-2 into unity-robotics repo structure
requires:
https://github.com/ipa320/cob_supported_robots/pull/11
https://github.com/ipa320/cob_calibration_data/pull/141

@ipa-fmw
I leave this to you to merge
my suggestion is to merge this soon and in case some hardware_config-modifications need to be done on cob4-2, e.g. due to platform swap next week, to update at least the bringup layer on cob4-2 to use the unity structure...even if we keep msh_bringup/application as is, i.e. without upgrading to unity-robotics/msh...otherwise we won't be able to track those changes anymore!


Is there a way to pop all routes and push one route?

With the default Navigator, we can do Navigator.of(context).pushAndRemoveUntil(newPage, (route) => false); which will push the newPage widget and pop all the rest essentially resetting the stack. Is there a way to do this using Beamer?
Thank you.

Hey @pavittarsingh315 :wave:
Sorry for a late response :disappointed:
"Navigator 2.0" and this Beamer works by rebuilding the entire navigation stack every time you navigate so it should be possible. This may require you to use define your custom BeamLocations where you explicitly define how you would like your stack to look for each navigation event that happens.


Deploy to GitHub Pages fails on merge to main

Description
Upon merge to main the Deploy to GitHub Pages job failed.
Documentation
Ensure GITHUB_TOKEN has permission "id-token: write".
Error: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable

https://github.com/hashgraph/hedera-sdk-js/actions/runs/9349927181/job/25732306981
Steps to reproduce

create a pull request with a change that will trigger the Deploy to GitHub Pages job to trigger.
get approvals and merge the change.
see if the job passes.

Additional context
No response
Hedera network
other
Version
main
Operating system
Other

@rbarkerSL , @nathanklick ,
I opened this issue, as I noticed the job was failing.


[4.x] Allow user to customize tenant's URL root in CLI

solves https://github.com/archtechx/tenancy/issues/1018
This PR adds a bootstrapper that lets the user define a  closure that returns the URL root they want, and if the closure exists, override the root url by basically calling app()->make('url')->forceRootUrl($url)

Codecov Report

Merging #1044 (d133560) into master (21d55ef) will decrease coverage by 0.41%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1044      +/-   ##
============================================
- Coverage     88.81%   88.39%   -0.42%
- Complexity      544      548       +4
============================================
  Files           133      134       +1
  Lines          1707     1715       +8
============================================
  Hits           1516     1516
- Misses          191      199       +8

Impacted Files
Coverage Δ

src/Bootstrappers/UrlTenancyBootstrapper.php
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Exception calling "Save" with "0" argument(s): "Error saving file

I previously posted about this issue on #687.
Nobody could help to fix the issue. I have tried to debug it myself. There is a bug in the code and I hope it gets fixed in the next release :)
What is the problem?
When I tried to save a sheet in the .xlsx file, sometimes it showed me an error and sometimes not. The confusing part of it was arbitrary reaction of the code. The error code was something list this:
Exception calling "**Save" with "0" argument(s)**: "Error saving file
Close-ExcelPackage.ps1:27 char:29
 $ExcelPackage.Save()

How has it gotten fixed?
By doing the reverse engineering and trial and error method, I found the issue. The problem comes from Add-ExcelTable. It cannot parse it while the first row (header) of the table has duplicated names. In my case, I wrote a simple check to assure that the first row doesn't contain any duplication. Here is a very simple solution:
# an array to save the name of the properties
$Temp_Name = @()

# iterate over properties
foreach ($PN in $Properties.Keys) {
       [...]

        # if "Add-ExcelTable" is used, it cannot handle any duplication as the header of the table.
        if ($Properties.$PN.Display_Name -in $Temp_Name) {
            # add a random number to the duplicated header name
            $Properties.$PN.Display_Name = $Properties.$PN.Display_Name + " " + ((10..99) | Get-Random -Count 1)
            # add a random number to the duplicated header name
            $Temp_Name += $Properties.$PN.Display_Name
        } # if
        else {
            $Temp_Name += $Properties.$PN.Display_Name
        } # else

       [...]
} # foreach

I hope it can solve the issue of others.

@namnamir
I found the same problem with Export-Excel
And I found out when I was using PS ISE I finger out why it did not work to save as I did before. I try to change it back to Export-CSV and it told me I did not have access to save to my C:.
What I did after it was I save my script and close the PS ISE and run it again but as an Admin... and now it works fine to Export-Excel.
I hope this will help you all.
//Chris

Thanks buddy,
I am finished with that code but it might help others 👍🏼


Upgrade itkjs and vtkjs and fix externals building

Fixes #58, and fixes externals building

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Specify Drop Destination depending on media type

Reported by CatmanIX, Mar 10, 2013
Say someone sets M:\Anime\Movies for all movies to be moved to and M:\Anime\Series for all series. Have it entirely configurable so one could say put OVA's and Series in \Series or however else a user would want it.

+1

Technically speaking then this can be achieved trhough the current renaming system, so I'm closing this.


Clarify what happens when no mic is available

It would be helpful to know what happens when FromDefaultMicrophoneInput is called and there is no microphone to record from at all.

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

ID: c4561281-bba5-790a-51c0-654d73a3f32f
Version Independent ID: 316f8981-f84a-e18a-bda9-10783c40f9b3
Content: Speech to text quickstart - Speech service - Azure AI services
Content Source: articles/ai-services/speech-service/get-started-speech-to-text.md
Service: azure-ai-speech
GitHub Login: @eric-urban
Microsoft Alias: eur

@bpasero
Thanks for your feedback! We will investigate and update as appropriate.

@bpasero
When FromDefaultMicrophoneInput is called and there is no microphone to record from, an exception will be thrown. The exception message will indicate that no microphone was found.
To handle this exception, you can use a try-catch block to catch the exception and handle it appropriately. For example, you can display an error message to the user indicating that no microphone was found and prompt them to check their microphone settings or connect a microphone. Here is an example of how to use a try-catch block to handle the exception:
try
{
AudioConfig audioConfig = AudioConfig.FromDefaultMicrophoneInput();
// Use the audioConfig object to recognize speech from the microphone1
}
catch (Exception ex)
{
Console.WriteLine("Error: " + ex.Message);
// Handle the exception appropriately
}

👍 , it would be nice if this was documented there.

@bpasero
We are considering your points, we will contact with our PG team, They will investigate and update document as appropriate. Thanks!! Now we are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


SSL configuration is Running - [BRIEF DESCRIPTION]

App Id: d3o4o6fxrn7pjj
Region: eu-west-1
Step: SSL configuration
Status: Running
Issue/question
We are stuck on the SSL Configuration step
Error message
No error message
Note: Be sure to check the message for sensitive information.
Additional information
I am following these instructions here as it's taken longer than 8hrs
We validated that the CNAME record exists in your DNS file. We will now verify ownership of the domain. If this takes longer than 8 hours, please create an issue in our GitHub issue tracker.

Our records indicate that this domain is now available. c******.media. Re-open if you run into any further issues.


FAQ text isn't responsive and splits words oddly when wrapping text

Describe the bug
FAQ  window is too narrow, isn't responsive, and splits words oddly when wrapping text
To Reproduce
View the FAQ and look at "I have code, data, and other artifacts that are all from the same research. How should I submit those to the hub?". The word "research" is split as "resear" and "ch".
Expected behavior
Resizing the window should change the size of the text box. Carriage return should be inserted before the word if there's not enough space on the line for the entire word.
Screenshots
See screen shot
Desktop (please complete the following information):

OS: [e.g. iOS] MacOS
Browser [e.g. chrome, safari] Firefox
Version [e.g. 22] 104.0.1 64-bit

Additional context
Overall, the text box width is fixed and too narrow. The box should be responsive and resize when you resize the screen.

Looks like the hub-dev has a responsive version of this page. But the line breaks are still off.

Can't reproduce the issue right now. Please reproduce if it reappears or if someone else can reproduce it. Closing it for now.


Fixes #53 - initialize uc and vc to 0 before assigning the non-halo part

The r4 version of the code already has this, so add it to the r8 version.

I'm assuming this PR should be closed and re-opened in the new FVdycoreCubed_GridComp repository?

Yes


HarmonyDetourBridge.Init Failed on Android 6

Description

Here is a bug reported by a user of my mod loader.
Looks like it was failed when calling HarmonyDetourBridge.Init
OS Version: Android 6.0.1
Device  Name: Huawei Honor 5X KIW-L21C10B370
Error log

System.ComponentModel.Win32Exception (0x80004005): Success at MonoMod.RuntimeDetour.Platforms.DetourNativeMonoPlatform.SetMemPerms (System.IntPtr start, System.UInt64 len, MonoMod.RuntimeDetour.Platforms.DetourNativeMonoPlatform+MmapProts prot) [0x00053] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.Platforms.DetourNativeMonoPlatform.MakeExecutable (System.IntPtr src, System.UInt32 size) [0x00001] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.Platforms.DetourNativeARMPlatform.FlushICache (System.IntPtr src, System.UInt32 size) [0x00040] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.Platforms.DetourNativeMonoPlatform.FlushICache (System.IntPtr src, System.UInt32 size) [0x00001] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.DetourHelper.FlushICache (MonoMod.RuntimeDetour.IDetourNativePlatform plat, MonoMod.RuntimeDetour.NativeDetourData detour) [0x00000] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform..ctor () [0x0009d] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.Platforms.DetourRuntimeMonoPlatform..ctor () [0x00000] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.DetourHelper.get_Runtime () [0x0003e] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.DetourHelper.Pin[T] (T method) [0x00001] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.Hook..ctor (System.Reflection.MethodBase from, System.Reflection.MethodInfo to, System.Object target) [0x0037e] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.Hook..ctor (System.Reflection.MethodBase from, System.Reflection.MethodInfo to) [0x00000] in <5bec6a1f632c4993806e737ce3655fb3>:0 at MonoMod.RuntimeDetour.HarmonyDetourBridge.Init (System.Boolean forceLoad, MonoMod.RuntimeDetour.HarmonyDetourBridge+Type type) [0x0011f] in <5bec6a1f632c4993806e737ce3655fb3>:0 at StardewModdingAPI.Framework.SCore.RunInteractively () [0x0017f] in <5bec6a1f632c4993806e737ce3655fb3>:0

Does the issue still persist with a new version of MonoMod's components freshly built from the master branch? I've recently changed a few things which could affect this issue.

Looks like it works, but he didn't managed to enter the game, may be I need to flash my device to Android 6 to do the further test


Add new metadata structure

incomplete code and committing to transfer the work.

Included these changes in https://github.com/digital-payments-hub/digital-payments-hub/pull/27


Investigate Object.gOPS(Object.prototype)

Per https://github.com/lodash/lodash/issues/2308#issuecomment-217463746:

get-own-property-symbols package has the same problem with getOwnPropertySymbols(Object.prototype) and (strange) crashes on propertyIsEnumerable or getOwnPropertyDescriptor with Object.prototype and symbol arguments.

lodash link is closed and the discussion limited. What's the current status? Is this still a bug?

I believe it is - I was thinking we could copy the tests from https://github.com/zloirock/core-js/commit/78770786a4e5f2f87ea32b4dada46b9ce0a92887 and then ensure they pass. We may not have to fix anything but I wanted to be sure.

It is still an issue:
console.log(Object.getOwnPropertySymbols(Object.prototype).length)
// 11 (All the built-in Symbols)
Symbol('12')
console.log(Object.getOwnPropertySymbols(Object.prototype).length)
// 12
Symbol.for('13')
console.log(Object.getOwnPropertySymbols(Object.prototype).length)
// 13

no interest

I still have interest.

OK, I am not going to do anything about it, hence I'd like to remove this ticket from my list of Github issues


Why use Tensorflow==1.4.1?

Is there a reason requirments.txt says tensorflow==1.4.1 and not the latest like 1.7.0 compatible with CUDA  9.1? Is it just what you had/have at the time or is there other library or dependency issues that pose an issue?

I'm using tensorflow==1.4.1 because that is what the original authors of https://github.com/igul222/improved_wgan_training used, and I'm leveraging most of their code. I haven't tried with any other versions. It might work great, or it might need some love. PRs welcome ;)

I've confirmed 1.4.1 to work, hence why it is in the requirements.txt.


Missing user PATH env variables when launching IntelliJ Idea with PowerToys Run

Microsoft PowerToys version
0.60.1
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

Uninstall and install PowerToys
Launch Command Prompt with PowerToys Run
Type echo %PATH%

✔ Expected Behavior
Both user and system PATH environment variables are printed out just like when Command Prompt is launched with Start menu.
❌ Actual Behavior
Only system PATH environment variables are printed out. Restarting PowerToys after a fresh installation fixes this issue.
Other Software
Command Prompt

Thank you for reporting this. In theory this shouldn't happen.
Can you please test the same with opening cmd instead of IntelliJ Idea in PT Run?
/bugreport

I can't find anything in the log files and for me everything is working.

@htcfreek have you tried uninstalling and installing PowerToys again? That's the key step, it works as expected if I launch it manually.

You mean this happens only if you run PT from the installer window (keep the run after install) checkbox on?

Yes

I'll check the rest tomorrow

Yes

I'll check the rest tomorrow

@headsvk
Please upload a new bug report after testing point 3. This is important for us in case the variables won't be corrected as I expect it.

what is the shortcut inside Start menu?  I'm wondering if we're not passing in something that is in the actual shortcut.

what is the shortcut inside Start menu?  I'm wondering if we're not passing in something that is in the actual shortcut.

I think the installer creates the process with an incorrect environment. The shortcut normally has no impact on this. I think the problem here is that wix runs with incorrect environment and passes this one to the PT process instead of creating a new one. (Child processes inherit their environment by default from its parent.)
Let's wait for the outstanding test. (Changing a variable after starting pt from installer.) If the log contains warnings about protected variables for the affected ones, PT is starting with an incorrect set of variables.

Are you still experiencing this issue? /needinfo

Just wanted to add, I had this same thing happen to me as well many times. I even did a new install of Windows 11 and PowerToys as of this week. Anything I launched (Command Prompt, VS Code) from Run would not have my user environment variables. Launch from Start Menu and it did. The problem seems to be intermittent or something, as I rebooted and its working again as expected. I have seen this break multiple times though, where its working and then suddenly isn't anymore.


Add toster message

I suggest changing the standard mechanism for custom notifications with a representation at the top of the screen using the function:
Before:
alert(message, type = 'warning', target = '#dashboard-alerts');

After:
alert(title, message, type = 'warning');

To do this, use one of the bootstrap components: Toasts

Desktop:

Mobile:

Code:
platform.alert('Hello World','Lorem ipsum...', 'success')


The navbar in practicedsa.html is different from other pages.

I will like to make the navbar in practicedsa.html just like the other pages navbar.
Please assign this to me.
GSSoC'21

Go ahead @kanishka8276


Fix build errors under /permissive-

creatwth.cpp was not standard conformant. On builds with /permissive- there were multiple errors similar to -
creatwth.cpp(990): error C2362: initialization of 'cOffset' is skipped by 'goto Cleanup'
creatwth.cpp(969): note: see declaration of 'cOffset'
creatwth.cpp(990): note: see declaration of 'Cleanup'
The suggested fix is non functional, just to reduce some friction during build.

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


Added FULL OUTER JOIN to QueryBuilder

fixes https://github.com/bcit-ci/CodeIgniter/issues/5868

Does it matter that this regex now matches FULL INNER JOIN which is invalid?

Does it matter that this regex now matches FULL INNER JOIN which is invalid?


Headers are not being added to AssetManager GET requests

I'm guessing this is more of an issue with my understanding of how the AssetManager works, but here is my problem:
I am using the grapejs-preset-webpage plugin. I have images that need to be retrieved with a custom authentication header. After initializing grapejs with assetManager config to add headers,
`const editor = grapesjs.init({
...
assetManager: {
headers: {'foo': 'bar'}
},
...
});`
I try to add my protected images like so:
var assetManager = editor.AssetManager; assetManager.add('https://cdn.pixabay.com/photo/2017/08/24/11/04/brain-2676370_960_720.jpg')
When I try to add an image block, I expect to see the request go through with my custom header, but it is not getting added. When i add an image via a link through the Asset Manager modal, I also don't see the headers being added. What am I missing or doing wrong?


py: using Testcontainers and test strategy as go

Resolves #224
Description
Using Testcontainers for Python and testing analogously to what we done as testing strategy on go Core layer
Caveats
Unfortunately this would make it unavailable in docker-in-docker setups such as DevContainers. While this problem can be circumvented by manually raising a MLMD server in the host docker, the problem appears to be slowness in FS reactivity when deleting the sqlite file. Considering the ideal solution is likely more about avoiding emulation and rely on gRPC (see recent document submitted to the group), I would conclude this PR and Testcontainers based approach is still the better solution.
How Has This Been Tested?
pytest -v -x -s

✅ 40 passed in 14.07s
Since I'm on M-chip I've used the .toml wheel using only grpc connection. I'd appreciate some 👀 from some other contributors using Intel: @lampajr can you give it a spin when possible, please? @isinyaaa can you give it a spin from the remote server when possible, please?
Merge criteria:

[x] The commits and have meaningful messages; the author will squash them after approval or will ask to merge with squash.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

edit: Correction, seems like pytest --cov --cov-config=pyproject.toml --cov-report=xml from nox in GitHub Action is not accounting testcontainers despite being listed in the dev dependency from toml 🤔 @isinyaaa @dtrifiro can you kindly check the GHA setup accordingly, please?

IIUC it should be enough to change https://github.com/opendatahub-io/model-registry/blob/0621864cea0d438df528afd1aac0bd6eb39fc0c2/clients/python/noxfile.py#L52
to
 session.install("coverage[toml]", "pytest", "pytest-cov", "pygments", "testcontainers")

I noticed we haven't enabled linting on tests, so I'd like to ask you to wait before merging this and then rebase on top of #231 when that's merged so we can iron out some things before merging. Is that OK?

sure, noted. Will hold this merge to rebase on #231

requesting review after rebasing per original request in https://github.com/opendatahub-io/model-registry/pull/225#pullrequestreview-1766186790


conflictOccurred method should also have start, end and ResourceId properties of the drop location

In my case I want to call moveEvent function when conflict occurs, which is not possible with conflictOccurred method, as it only gives me drag event and action.
Thank you 👍

OK, I'll add the start, end and slot properties of the drop location in conflictOccurred callback func.

@Saikat-Sinha
Hi, I've updated and checked in the code.


Add posix threads support for macOS

Can we add a possibility to use POSIX threads for the macOS? It seems to be not straightforward to do myself - all the code is mixed across many files. Thanks!
P.S. Maybe it is even better if we share all the POSIX-code among several targets which support it. Right now, for example, the pthread_setschedprio function is defined in the /linux-like/linux but it shouldn't be Linux-only available.

PRs welcome.


Add possibility to create GPX files

This PR add functionality to create GPX files based on a given coordinate.
It also updates the requirements.txt file and some to fix #3, because of updated version of shapely

Awesome. Could you still add a link to this repo to the FSDS repo please?


feat: stack rotate tool

StackRoateTool is implemented to rotate images on stack viewport. @sedghi , please take a look.

@lscoder, can you please review this as soon as possible?

It stops working when I move the cursor to the center of the viewport (no error logged on console).

It stops working when I move the cursor to the center of the viewport (no error logged on console).

It's weird, I cannot reproduce that on my side.

@lscoder , please check again. It should be working now.

@lscoder , please check again. It should be working now.

The issue is fixed and it is working fine now!
I pushed some changes to lscoder/pr329 that update the example page adding a dropdown to select the left mouse button tool. Before users would have to change the code to be able to test the StackRotate tool.  Once you update the PR I will approve it to get it merged.

@m00n620 Can you do what is explained here for API check? https://www.cornerstonejs.org/docs/contribute/update-api/
We can merge after that

@sedghi , done, please take a look


Confirmation tweaks

Resolves issue #2544

Is this still relevant?

@markturner Cold you please rebase your branch? Thanks.

I'm closing this since it has been here for a long time and probably will be too hard to rebase it.
If you find that this can still be relevant, feel free to open a new pull request with a similar implementation.
Thank you!


Redeem modal UI clean up

What does this PR do and why?

Clean up redeem/burn modal UI
Fix Burn modal when redemption rate is 0%

Screenshots or screen recordings

state
before
after

redeemable state

no overflow

0% redemption rate

Acceptance checklist

[x] I have evaluated the Approval Guidelines for this PR.
[x] I have tested this PR in all supported browsers.
[x] I have tested this PR in dark mode and light mode (if applicable).

@wraeth-eth could yu please review? 🙏


Discussion & product details sidebar is not loading product details

I use chrome tab every day to see the gallery but after i visit a product website when I click the PH Bar the sidebar popup with Get and Upvote buttons just show loading animation and only sometimes I had luck to see product details  but most of the time it doesn't work.

When I inspected the sidebar it has an iframe src with httpss protocol, but instead if I use https for the url I was able to see product details.

What I also noticed is when I try to login with twitter using the sidebar popup it doesn't even show any loading animation or any kind of feedback and auth failed as well I think coz I had to login through producthunt.com
This sidebar is very useful to check the product details and quickly upvote.  Can you please look into this issue.

I've the same problem, because of that I don't upvote anything on product hunt even if I'm checking the new content every day.
So please help.

I've got this problem too

Same here.