Problem Passing Parameters to SSAS Tabular

I have been able to pass a parameter to a TSQL query for assertion, but I am unable to get the DAX query to work.
Error message:
-------> System.NullReferenceException : Object reference not set to an instance of an object
at System.Threading.Tasks.Task.FastWaitAll(Task[] tasks)
at System.Threading.Tasks.Parallel.Invoke(ParallelOptions parallelOptions, Action[] actions)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.ProcessParallel(IResultSetService actual)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.Process(IResultSetService actual)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.Matches(Object actual)
at NBi.NUnit.Runtime.TestSuite.AssertTestCase(Object systemUnderTest, Constraint constraint, String stackTrace)
at NBi.NUnit.Runtime.TestSuite.ExecuteTestCases(TestXml test)
--NullReferenceException
at NBi.Core.Scalar.Resolver.GlobalVariableScalarResolver`1.Execute()
at NBi.Core.Query.QueryParameter.GetValue()
at NBi.Core.Query.Command.DbCommandFactory.Instantiate(IDbConnection connection, IQuery query, ITemplateEngine engine)
at NBi.Core.Query.Command.DbCommandFactory.Instantiate(IClient client, IQuery query, ITemplateEngine engine)
at NBi.Core.Query.Command.CommandProvider.Instantiate(IClient session, IQuery query)
at NBi.Core.Query.EngineFactory`1.Instantiate(IQuery query)
at NBi.Core.ResultSet.Resolver.QueryResultSetResolver.Load(IQuery query)
at NBi.Core.ResultSet.Resolver.QueryResultSetResolver.Execute()
at NBi.Core.ResultSet.ResultSetService.Execute()
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.<>c__DisplayClass21_0.<ProcessParallel>b__0()
at System.Threading.Tasks.Task.Execute()

Connection being used:
<add name="dev-x"
         connectionString="Provider=MSOLAP.8;Data Source=XXXXX;Initial Catalog=XXX;Integrated Security=SSPI;"/>

Variable declaration (the variable works in the TSQL query):
<variables>
    <variable name="vTestProjectNumber">
      <query-scalar>
          SELECT TOP 1 d1.[Project Number] AS TestProjectNumber
          FROM
	          ddm.x_v m1
	          INNER JOIN ddm.y_v d1
		          ON  m1.[Key] = d1.[Key]
          WHERE m1.[Key] = (SELECT MAX(id) FROM dbo.z WHERE <blah blah>)
          GROUP BY d1.[Project Number]
          ORDER BY SUM(m1.[amount]) DESC
      </query-scalar>
    </variable>
</variables>

Here is the query that is failing:
 <query>
  EVALUATE
  SUMMARIZECOLUMNS (
      'Project'[Project Number],
      FILTER (
          VALUES ( 'Project'[Project Number] ),
          ( 'Project'[Project Number] = @ProjectNumber )
      ),
      "Gross Revenue Amount MTD", [Gross Revenue Amount MTD]
  )
  <parameter name="ProjectNumber">@vTestProjectNumber</parameter>
</query>

Thx for the report, this is most likely a bug. Could you tell me which version of NBi you're using?
According to the stacktrace, the query failing is the query evaluating the variable (the T-SQL query). The problem is not the query itself but probably that the default connection-string is not correctly forwarded to the variable during its evaluation.
To repoduce your case, I'd need a few additional info. Could you tell me :

what's happening if you replace the <query-scalar> by a script such as <script language="c-sharp">12345</script>
what's happening if you add the connection-string attribute (and its value) to your tag <query-scalar> to get something such as <query-scalar connection-string="...">

I just fix another issue and during the testing I had an issue similar to yours and related to the usage of query-scalar. Perhaps just trying the last beta would fix your issue.

Thanks for the quick response!

I get the following error when replacing <query-scalar> with <script language="c-sharp">66376</script>. I am running a trace and do not see a query being fired against the tabular model.  I have no idea where 'N/A   ' would be coming from...it is not in my data.

NBi.NUnit.Runtime.TestSuite.Data: Project Dimension:
System.AggregateException : One or more errors occurred.
----> System.Data.OleDb.OleDbException : Conversion failed when converting the varchar value 'N/A  ' to data type int.

at System.Threading.Tasks.Task.FastWaitAll(Task[] tasks)
at System.Threading.Tasks.Parallel.Invoke(ParallelOptions parallelOptions, Action[] actions)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.ProcessParallel(IResultSetService actual)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.Process(IResultSetService actual)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.Matches(Object actual)
at NBi.NUnit.Runtime.TestSuite.AssertTestCase(Object systemUnderTest, Constraint constraint, String stackTrace)
at NBi.NUnit.Runtime.TestSuite.ExecuteTestCases(TestXml test)
--OleDbException
at NBi.Core.Query.Execution.OleDbExecutionEngine.HandleException(Exception ex, IDbCommand command)
at NBi.Core.Query.Execution.DbCommandExecutionEngine.OnExecuteDataSet(IDbCommand command)
at NBi.Core.Query.Execution.DbCommandExecutionEngine.Execute()
at NBi.Core.ResultSet.Resolver.QueryResultSetResolver.Load(IQuery query)
at NBi.Core.ResultSet.Resolver.QueryResultSetResolver.Execute()
at NBi.Core.ResultSet.ResultSetService.Execute()
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.<>c__DisplayClass21_0.b__1()
at System.Threading.Tasks.Task.Execute()

I get the same error when I add the connection string <query-scalar connectionString="Provider=SQLNCLI11;Data Source=xxx;Initial Catalog=xxx;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;">

NBi.NUnit.Runtime.TestSuite.Data: Project Dimension:
System.AggregateException : One or more errors occurred.
----> System.NullReferenceException : Object reference not set to an instance of an object.

at System.Threading.Tasks.Task.FastWaitAll(Task[] tasks)
at System.Threading.Tasks.Parallel.Invoke(ParallelOptions parallelOptions, Action[] actions)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.ProcessParallel(IResultSetService actual)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.Process(IResultSetService actual)
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.Matches(Object actual)
at NBi.NUnit.Runtime.TestSuite.AssertTestCase(Object systemUnderTest, Constraint constraint, String stackTrace)
at NBi.NUnit.Runtime.TestSuite.ExecuteTestCases(TestXml test)
--NullReferenceException
at NBi.Core.Scalar.Resolver.GlobalVariableScalarResolver1.Execute() at NBi.Core.Query.QueryParameter.GetValue() at NBi.Core.Query.Command.DbCommandFactory.Instantiate(IDbConnection connection, IQuery query, ITemplateEngine engine) at NBi.Core.Query.Command.DbCommandFactory.Instantiate(IClient client, IQuery query, ITemplateEngine engine) at NBi.Core.Query.Command.CommandProvider.Instantiate(IClient session, IQuery query) at NBi.Core.Query.EngineFactory1.Instantiate(IQuery query)
at NBi.Core.ResultSet.Resolver.QueryResultSetResolver.Load(IQuery query)
at NBi.Core.ResultSet.Resolver.QueryResultSetResolver.Execute()
at NBi.Core.ResultSet.ResultSetService.Execute()
at NBi.NUnit.ResultSetComparison.BaseResultSetComparisonConstraint.<>c__DisplayClass21_0.b__0()
at System.Threading.Tasks.Task.Execute()

BTW...the variable and parameter works fine in my TSQL assertion query

Thx for the additional information.
A bit of background of how NBi is working is perhaps needed. When a query is in the assert or system-under-test and is consuming a parameter the first step is to evaluate the value to give to this parameter.  (if this parameter references a variable this evaluation is executed once and cached). Your first stacktrace clearly states that the parameter's evaluation is the issue. It's also clear to me that it's a bug in NBi and I've the feeling that the framework doesn't handle correctly the variable.query-scalar construction.
On your first attempt (variable.script), the parameter's evaluation was successful and the framework went a few steps later. But during the evaluation of the DAX query ... it failed. In fact the query itself failed due to a failed conversion of 'N/A'. I'd say that 'Project'[Project Number] is not an integer but a string and contains some values 'N/A' because you didn't specified the type of your parameter, NBi (especially the .Net framework) is doing is best and think that this parameter is an integer. You could change this by using the sql-type attribute when defining the attribute and specify which DAX type should be provided to the DAX query.
Your second attempt (variable.query-scalar with explicit connection-string) is failing at the same place than your initial test (without the explicit connection-string). Due to the better result of the attempt with a variable.script. I'm sure that this a clear bug in NBi when facing a variable.query-scalar. I just fixed a(nother?) bug on variable.script, I'd definitively recommend that you try the last beta: https://ci.appveyor.com/api/buildjobs/72vmosh4p1qgh5ch/artifacts/NBi.NUnit.Runtime%2Fbin%2FFramework.zip or 1.21.0-beta.275 if using Nuget.

The way that I have this written below, the test runs and passes.  I have comments with "DOES NOT WORK" around the things that cause it to fail.  Insert code was messing up the formatting, so I've attached the file.
TestSuiteNbits.txt
BTW, I tried to install the beta version, but nuget couldn't find it.  I'm still pretty new to this, so I may have messed up the command:  Install-Package NBi.VisualStudio -Version 1.21.0-beta.275

My bad for the beta version, should be Install-Package NBi.Framework -Version 1.21.0-beta0275 (or 0276 and a new version should be available in a few minutes).
About your test, thx for the test-suite, it will be extremely helpful to reproduce. Could you confirm that your T-SQL queries use a connection-string with Provider=SQLNCLI (OleDB).
Last point, could you confirm that when you run the following query in DAX within SSMS (with the filter on project number without double-quotes for the value), you've the "N/A" issue?
EVALUATE
          SUMMARIZECOLUMNS (
          'Project'[Project Number],
          'Project'[Alternative Delivery Flag],
          'Project'[Billing Office Display Name],
          FILTER (
          VALUES ( 'Month'[PM Period Status Name] ),
          ( 'Month'[PM Period Status Name] = "LATEST FINAL" )
          ),
          FILTER (
          VALUES ( 'Project'[Project Number] ),
          ( 'Project'[Project Number] = 66376 )
          ),
          "Gross Revenue Amount MTD", [Gross Revenue Amount MTD]
          )

You're facing two distinct issues:

The framework had a bug and was not always able to correctly understand the meaning of variable.query-scalar. The bug fix is part of v1.21 and is already available in the current v1.21-beta
A weird and complex issue about AdomdParameter and the lack of typing for them. IMO, the DAX engine considers the parameter as an integer but is facing a text when executing the FILTER clause.

As a work-around, I'd suggest to

use the latest version 1.21-beta This version includes a fix for the issue related to NullReferenceException
remove the sql-type attribute: it's not supported on ADOMD (so DAX) queries. I mentioned it in the documentation but didn't remember it: http://www.nbi.io/docs/query-parameters/#parameters-and-adomd
force to return a string and not an integer on your evaluation of the parameter by switching to
SELECT TOP 1 cast(d1.[Project Number] as varchar(120)) AS TestProjectNumber ... ... should do the job.

I'll think again about it on how to handle this without relying on a cast/convert on the variable and create a new small-enhancement when I'll find a way to deal cleanly with this.

I verified that the work-around works.    Thank you very much.

Thx for the detailed reports. I created #509 to be sure to address the root cause.


inline applicationinsights as ESM module

(related: #58)
Hi. Following up issues reported re CJS/ESM syntax detection, and the fact that applicationinsights even for v3 is using legacy syntax, i would suggest to either move it to upstream issue or we can simply use unbuild setup to inline applicationinsights as a pure ESM module.
Please let me know if you like me to try a PR for this :)

Hi :wave: there's already an upstream issue in app insights which didn't get any answer from the team.
I'd love to get a PR from you 🤩 !
This is probably the last fix before moving to nitro modules :grin:


help

how create chat from raw id?

i have some i64 and i not want get flood wait error

Hi, this is not an issue with the library but rather a question. The issues section in GitHub is only to report bugs or enhancements in the library itself. If you have usage questions, you should ask those in the @gramme_rs group.


RATIS-920. Fix error use of onCompleted in onError

What's the problem ?
When run test, a lot of  StatusRuntimeException: CANCELLED: call already cancelled was thrown, as the image shows.

What's the reason ?

When run into onError, the call has already been cancelled, there is no need to call onCompleted. You can find from the following doc of onError, it's the last method call, and
no further calls to any method are allowed.

void onError(Throwable t)
Receives a terminating error from the stream.
May only be called once and if called it must be the last method called. In particular if an exception is thrown by an implementation of onError no further calls to any method are allowed.
t should be a StatusException or StatusRuntimeException, but other Throwable types are possible. Callers should generally convert from a Status via Status.asException() or Status.asRuntimeException(). Implementations should generally convert to a Status via Status.fromThrowable(Throwable).

You can find why the exception was thrown in the following code, copied from gRPC.

2.1. Before call requestObserver.onError, it will first set responseObserver.cancelled = true. Besides the onCancelHandler  is null, because it was not set in ratis.
      @Override
      public void onCancel() {
        responseObserver.cancelled = true;
        if (responseObserver.onCancelHandler != null) {
          responseObserver.onCancelHandler.run();
        }
        if (!halfClosed) {
          requestObserver.onError(
              Status.CANCELLED
                  .withDescription("cancelled before receiving half close")
                  .asRuntimeException());
        }
      }

2.2. When call responseObserver.onCompleted, because cancelled == true and onCancelHandler  == null, then exception was threw.
    @Override
    public void onCompleted() {
      if (cancelled) {
        if (onCancelHandler == null) {
          throw Status.CANCELLED.withDescription("call already cancelled").asRuntimeException();
        }
      } else {
        call.close(Status.OK, new Metadata());
        completed = true;
      }
    }

@lokeshj1703 Could you help review this patch ? Thank you very much.

@runzhiwang Thanks for working on this! I think this scenario will occur when client cancels the call. How about we extract the status in onError(using Status.fromThrowable(Throwable)) and check if it is cancelled. If it is cancelled we do not make the onCompleted call. Let's see if that solves the problem.

@lokeshj1703  Thanks for review. The suggestion does work. I have updated.

@runzhiwang Thanks for the contribution! I have committed the PR to master branch.


Support the new conceal support for tree-sitter

Does this feature exist in Emacs orgmode core?
N/A
Orgmode link
Emacs concealing works different to what Vim does. Emacs can do proper formatting
Feature value

Known highlighting issues and limitations

Anything that requires concealing (org_hide_emphasis_markers, links concealing) is not (yet) supported in TS highlighter

I just wanted to give an update: concealing is now supported in Neovim 0.7 (https://github.com/neovim/neovim/pull/17776). So the feature could be added or the README updated.
Additional context
No response

With treesitter highlighting enabled, markup is now parsed and highlighted through tree-sitter + extmark. This now also allows having mixed highlights , like ~strikethrough~ in bold, and having markup support where we didn't have it before, like in headline line.
Thanks for letting me know about this.


Required flag is not respected in Output claims for signuporsign

<OutputClaims>
<OutputClaim ClaimTypeReferenceId="email" Required="true" />
....
The above Required attribute is not respected when using combined signuporsignin policy. aria-required and required attributes are missing from the generated HTML. Can you please advise.

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

ID: 1c33bed9-7e41-92cb-e093-80e5fda0e718
Version Independent ID: 94d903c4-a70f-5357-53b4-6d17afee2aaa
Content: Define a self-asserted technical profile in a custom policy in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/self-asserted-technical-profile.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

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

Hi @nevseev ,
Sorry for the late reply! I've been catching up from the recent holiday.
It's hard to diagnose for certain without taking a look at your technical profile. You need to ensure that the technical profile you are using can output the email claim. It's possible that you are missing a parameter as well.
Also, please check this stackoverflow thread related to this issue.
Please post to MSDN and include your technical profile so we can continue the discussion there: https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD
I monitor MSDN daily and will work with you to resolve this. https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD

Closing this out as this is a product question and should be moved to MSDN.


Wrong format of the sample code and miss azd download link in Readme

Describe the issue:
In Sample Code Readme, the sample code is not in the correct format.

Expected behavior:
The sample code is well-formed and looks like this:

Describe the issue:
Miss Azure Developer CLI download link in readme.

Expected behavior:
Readme azd-setup.md contains Azure Developer CLI download link.
@codebytes  and @hemarina for notification

This issue should be resolved now


Cannot image database on another server

Describe the bug
So, I want to state first off that I'm not sure if this is even a thing. I'm not sure if the scripts are designed to create a new image between different servers, or if the intention is to have the host with the database do the imaging.
If its the latter, feel free to close this. But if it's the former, then I cannot get this to work properly.
I have two SQL servers: DEVSQL and PRODSQL. I am attempting to image a database on PROD server (using last full backup), and create the image on DEVSQL's D:\Images directory. Essentially, PRODSQL has the database backup file, but otherwise isn't involved (script is run on DEVSQL, and image is saved to DEVSQL)
PS C:\Users\Administrator\Desktop\PSDatabaseClone> New-DcnImage -SourceSqlInstance PRODSQL\MSSQLSERVER -DestinationSqlInstance DEVSQL\MSSQLSERVER -ImageNetworkPath \\localhost\D$\Images -DestinationSqlCredential $cred -SourceSqlCredential $cred -Database StackOverflow2010
VERBOSE: [18:47:28][New-DcnImage] Setting vhd type to 'VHDX'
VERBOSE: [18:47:28][Test-DcnConfiguration] Checking configurations
VERBOSE: [18:47:28][Test-DcnConfiguration] Attempting to connect to PSDatabaseClone database server DEVSQL..
VERBOSE: [18:47:29][Test-DcnConfiguration] Finished checking configurations
VERBOSE: [18:47:29][New-DcnImage] Started image creation
VERBOSE: [18:47:29][New-DcnImage] Attempting to connect to Sql Server PRODSQL..
VERBOSE: [18:47:57][New-DcnImage] Converted '\\localhost\D$\Images' to 'D:\Images'
VERBOSE: [18:47:57][New-DcnImage] Creating image for database [StackOverflow2010] from PRODSQL
VERBOSE: Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM
Win32_LogicalDisk WHERE DeviceId='D:','queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: Operation 'Query CimInstances' complete.
VERBOSE: [18:47:57][New-DcnImage] Trying to retrieve the last full backup for [StackOverflow2010]
VERBOSE: [18:47:58][Get-DbaDbBackupHistory] Processing StackOverflow2010
VERBOSE: [18:47:58][Get-DbaDbBackupHistory] Executing sql query on [PRODSQL].
VERBOSE: [18:47:58][Get-DbaDbBackupHistory] Processing as grouped output.
VERBOSE: [18:47:58][Get-DbaDbBackupHistory] 1 result-groups found.
WARNING: [18:31:49][New-DcnImage] Could not access the full backup file. Check if it exists or that you have
enough privileges to access it

I assume this is because it's getting the backup path, which is D:\Data\Backup\StackOverflow_<numbers>.bak on PRODSQL and trying to work with it on DEVSQL, where it doesn't exist.
Expected behavior
I would think that I would be able to restore a backup from another server onto the destination instance. If this isn't supported, then would it be possible to display a message stating that image creation using different servers is not supported?

This would only work if the backup file would be on a share that's accessible for the DEV instance.
That is a security risk and I don't think that's a good way to go.
However, I recently made a change to the New-DcnImage command to allow for you to pass a full backup file.

@blitzmann That would solve this problem. Let me know what you think

However, I recently made a change to the New-DcnImage command to allow for you to pass a full backup file.

That was actually going to be my next question - if we already have a backup file, would the be a way to bypass that step altogether and go directly to the file. Excellent!
I'll have to test tho, I'll let you know how this works out. Thanks!

@blitzmann Check PR #92

I'm going to close the issue because it has become stale. If this is not solved please re-open the issue.

Hi there.
I'm trying to use New-DcnImage feature to create clone of database from an existing bak file. Obviously, it is not necessary to provide -SourceSqlInstance parameter in this case, but it is. Therefore, some checks like existence of database on SourceSqlInstance and ImageLocalPath
           if ((Test-DbaPath -Path $ImageLocalPath -SqlInstance $SourceSqlInstance -SqlCredential $DestinationCredential) -ne $true) {                 Stop-PSFFunction -Message "Image local path $ImageLocalPath is not valid directory or can't be reached." -Target $SourceSqlInstance                 return                             }
also becomes unnecessary.
Am I right or there are some circumstances that force to provide -SourceSqlInstance parameter anyway?


Upgrade Flux to latest version

What
Upgrade Flux to latest version in OSS 2.0
Success
OSS 2.0 is running the latest version of Flux and all tests are passing

This represents a significant amount of work as it is 0.66.2, which is the version used by OSS 1.x. I do not have a sense of whether it could be completed in a single sprint, as it requires introducing Rust, and potentially a number of other changes to the API.

tracking in https://github.com/influxdata/influxdb/issues/19468

Closed #19569


Unnecessary SSL_VERSION throws errors

Currently, Curl.jl queries curl_version_info for an ssl_version. It then supposedly uses this information to set the SYSTEM_SSL flag:
https://github.com/JuliaLang/Downloads.jl/blob/2a21b1536aec0219c6bdb78dbb6570fc31a40983/src/Curl/Curl.jl#L70-L73
This doesn't make sense though... because Julia's libcurl is configured without ssl support:
https://github.com/JuliaLang/julia/blob/d77575063d7ecb5e79ee6fc9f3b73242f8282853/deps/curl.mk#L39
And according to the curl docs, this results in a NULL:

ssl_version is an ASCII string for the TLS library name + version used. If libcurl has no SSL support, this is NULL. For example "Schannel", "Secure Transport" or "OpenSSL/1.1.0g".

This is problematic, as a NULL throws an error (sometimes during building Julia itself). See for example, this issue.

Interestingly enough, when Julia is built without BinaryBuilder, we configure libcurl without SSL, as you linked in https://github.com/JuliaLang/julia/blob/d77575063d7ecb5e79ee6fc9f3b73242f8282853/deps/curl.mk#L39
But when Julia is built with BinaryBuilder enabled, we use the BinaryBuilder libcurl, which doesn't seem to disable SSL: https://github.com/JuliaPackaging/Yggdrasil/blob/206e953cce60ef7bf6a5243555f63633aeede108/L/LibCURL/common.jl

That's because libcurl 7.87 can't be built with --without-ssl: https://github.com/JuliaPackaging/Yggdrasil/pull/6040#issuecomment-1368010247

And libcurl in julia is still at 7.84: https://github.com/JuliaLang/julia/blob/d77575063d7ecb5e79ee6fc9f3b73242f8282853/stdlib/LibCURL_jll/Project.toml#L3.  So you're comparing different versions.

Cross-ref https://github.com/JuliaLang/julia/issues/48407


web site addition

We should add a link on our website to "Sources of funding for open source software projects" pointing to https://www.researchsoft.org/funding-opportunities/

resolved via https://github.com/corsa-center/corsa-center.github.io/commit/b71fa27daa20a642ab6ae74db804435a37f7d083


The results of the pre-trained model.

Hello, I've got very bad pesq results on the dataset Noisy speech database for training speech enhancement algorithms and TTS models when I testing the pre-trained model.
Some examples:

p257_006.wav
1.453

p257_018.wav
2.14

p257_043.wav
1.713

p257_057.wav
1.809

p257_059.wav
1.483

p257_084.wav
1.711

p257_095.wav
1.981

p257_116.wav
1.498

p257_156.wav
1.548

p257_157.wav
1.935

p257_164.wav
1.753

p257_181.wav
1.259

p257_196.wav
1.554

p257_212.wav
1.292

p257_248.wav
1.605

p257_296.wav
1.849

p257_297.wav
1.574

p257_360.wav
1.509

p257_384.wav
2.019

p257_416.wav
1.824

Average:
1.676

Could you please show the results of your experiment of those wav files? Is there something wrong of my usage?
Many thanks!

hello，can you teach me how to run it? I cant make it :(


Request: offer a tutorial of how to create the projects as on the samples

I'm actually interested in something very similar to the "super resolution" sample, but for any size of input&output.
I want to do the same as "super resolution" but with more flexibility. I've seen that there should be models for this.
It's weird that there are so many talks about AI, but I can't find a decent video/article that goes step-by-step of how to use it for Android.
I tried to ask even on reddit about this, and sadly nobody showed me of how to do it, despite all my efforts of searching about it:
https://www.reddit.com/r/tensorflow/comments/1dm2ovn/tensorflow_lite_on_android_possible_to_use_a/
Why here on this repository aren't there any links to how the samples were created?
Can you please make a video and a tutorial of how you've created the projects?

For larger sizes you'd need to train a new model. The model is what defines the input and output tensor shapes (essentially the input and output image sizes), so that's the limiting factor there. We're using one called ESRGAN, so you can find a tutorial on making that model here: https://www.tensorflow.org/hub/tutorials/image_enhancing
As for videos, it's on the TODO list, but I'm going to focus on codelabs and these samples first as the LiteRT rollout continues across platforms.

@PaulTR Wait, are you saying there are tutorials?
I'm very new to TensorFlow/LiteRT.
I developed only for native Android apps for many years.
Where can I find about this?
Can you please show how to do it all, from the very beginning of creating a new Android app?
As for the model, I know there are other models. That's why I wrote the sentence "I've seen that there should be models for this".


Removed RBAC tokens

[note that this is going into the rbac-migration branch, which will be merged into master once #1146 is considered solved by it]
I've deleted RBACMintableToken and associated tests (since the regular MintableToken will now have minter roles), as we ass the RBACCappedTokenMock, which depended on RBACMintableToken (and was just plain weird? I don't know why it existed in the first place).

@nventuro something still wants RBACMintableToken  to exist in the tests

Thanks! The MintedCrowdsale was tested using it.


Should we not use the EnumClass for enums so that we can exhaustive match?

I'm not sure it's even possible but I find it annoying that we can't do exhaustive match on enums because of the EnumClass in built_value.
https://github.com/google/built_value.dart/issues/1315

Yes, me too.
there's already https://github.com/gql-dart/gql/issues/297.
I think it might be possible to stop generating EnumClass classes and use normal enums instead, if we generate Serializers  for the enums in gql_code_builder.


Previous search results are not cleared

When you do a new search, previous search results are not cleared from the list.

This is something I need to look at, thanks.

41e3178dc3173ee35c8e27f76075155f84edada5 added checkbox below search button to clear previous results, now default behavior but can be turned off if the user would like to preserve results


Allow static sampling-rate overwrite

Some routers (for example Cisco IOS-XE) don't include a sampling rate field in their Netflow/IPFix export. This leads to Grafana only displaying zero values. (Default sampling rate is 0, so bytes/packets get multiplied by 0)
I want to propose we add an exporter-map to the NetMeta configuration file to configure the sampling rate per source IP.
In the future this map could be useful to add an alias to the exporters, so we can have human friendly names in the dashboards.

I see two ways to implement this:

Set sampling rate field on insert of the metrics
Look up the sampling rate on query-time

I'm not sure which fits better to the plans to Netmeta.

A materialized column should work for this. I don't know all the fancy bells and whistles of Clickhouse that well, so maybe there's a prettier way that I don't see.
I feel like the boilerplate to query in a way that is compatible with the various quirks of different setups is getting a bit much. Maybe it makes sense to settle on materialized views to abstract away this kind of complexity and provide a stable-ish interface to the users?


feat: Adding aria label to property filter token operator button

Adding operatorAriaLabel property to I18nStrings to set aria-label to filter token operator.
AWSUI-19118
[Include a summary of the changes and the related issue.]
[Also include relevant motivation and context.]
How has this been tested?
[How did you test to verify your changes?]
[How can reviewers test these changes efficiently?]
[Check for unexpected visual regressions, see CONTRIBUTING.md for details.]
Documentation changes
[Do the changes include any API documentation changes?]

[ ] Yes, this change contains documentation changes.
[x] No.

Related Links
[Attach any related links/pull request for this change]

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

[ ] Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
[ ] Changes do not include unsupported browser features, see CONTRIBUTING.md.
[ ] Changes were manually tested for accessibility, see accessibility guidelines.

Security

[ ] If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

[x] Changes are covered with new/existing unit tests?
[ ] Changes are covered with new/existing integration tests?

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

Hi @varghvi
We had a project team discussion and agreed on tokenOperatorAriaLabel.
Because it has api change, we need to update the documenter snapshot:  run npm run build then npx jest -c jest.unit.config.js src/__tests__/documenter.test.ts. It should resolve the test failure.

Hi @varghvi We had a project team discussion and agreed on tokenOperatorAriaLabel. Because it has api change, we need to update the documenter snapshot: run npm run build then npx jest -c jest.unit.config.js src/__tests__/documenter.test.ts. It should resolve the test failure.

Hi @varghvi We had a project team discussion and agreed on tokenOperatorAriaLabel. Because it has api change, we need to update the documenter snapshot: run npm run build then npx jest -c jest.unit.config.js src/__tests__/documenter.test.ts. It should resolve the test failure.


add license

it's a very interesting project!
Would you consider adding a license to this repository to specify under which terms this code can be used?

Done! :)


 I got three pth output (optimizer,meta,weights) ,then I use the weights.pth  to be loaded by the inference but an error occured : failed reading zip archive..  which pth file  should be loaded to inference?

@Gaoxj2020 Do you use the same pytorch version to train and inference?

@Gaoxj2020 Do you use the same pytorch version to train and inference?

Thanks , I solved this problem by removing priex=“backbone”.

@Gaoxj2020 Do you use the same pytorch version to train and inference?
By the way, can mean and STD be calculated by my following method？
means = [0, 0, 0]
stdevs = [0, 0, 0]

index = 1
num_imgs = 0
for file in os.listdir(paths):
if (file.endswith('.png')):
print('{}/{}'.format(index, len(os.listdir(paths))))
index += 1
a = os.path.join(paths,file)
# print(a[:-1])
num_imgs += 1
print(a)
img = cv2.imread(a)
img = np.asarray(img)
img_ = img.astype(np.float32)
for i in range(3):
means[i] += img_[:,:,i].mean()
stdevs[i] += img_[:,:,i].std()
print(num_imgs)
means.reverse()
stdevs.reverse()
means = np.asarray(means) / num_imgs
stdevs = np.asarray(stdevs) / num_imgs

@Gaoxj2020 This method is ok.

@Gaoxj2020 This method is ok.

if I train tinaface with my dataset, which parameters are important and need to be changed？ Thanks a lot！

@Gaoxj2020 Most parameters matter, you should understand the algorithm and change parameters to fit your data.


Fix AsymmetricSignatureProvider to support RSA keys on CoreCLR/Linux

Moved from https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/179#issuecomment-155972405.

On CoreCLR, AsymmetricSignatureProvider tries to use RSACng (which is Windows-specific) instead of RSAOpenSsl.
  System.DllNotFoundException: Unable to load DLL 'ncrypt.dll': The specified module could not be found.
   (Exception from HRESULT: 0x8007007E)
     at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
     at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
     at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
     at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
     at System.IdentityModel.Tokens.AsymmetricSignatureProvider.ResolveDotNetCoreAsymmetricAlgorithm(AsymmetricSecurityKey key, String algorithm, Boolean willCreateSignatures)
     at System.IdentityModel.Tokens.AsymmetricSignatureProvider..ctor(AsymmetricSecurityKey key, String algorithm, Boolean willCreateSignatures)
     at System.IdentityModel.Tokens.SignatureProviderFactory.CreateProvider(SecurityKey key, String algorithm, Boolean willCreateSignatures)
     at System.IdentityModel.Tokens.SignatureProviderFactory.CreateForSigning(SecurityKey key, String algorithm)
     at System.IdentityModel.Tokens.RsaSecurityKey.GetSignatureProvider(String algorithm, Boolean verifyOnly)
     at System.IdentityModel.Tokens.SecurityKey.GetSignatureProviderForSigning(String algorithm)
     at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwt(String issuer, String audience, IEnumerable`1 claims, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials)
     at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials)

@PinpointTownes did you start seeing this issue in rc1 only? have you tried using the beta8 bits on linux/coreclr?

Though I haven't tried with beta8, I'm pretty sure it affects all versions, since AsymmetricSignatureProvider used RSACryptoServiceProvider in the first releases and RSACng starting with [this commit] (https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/commit/37b116d83a57e81397d25ecce8109066c378dc41).
And since RSACryptoServiceProvider and RSACng don't work on CoreCLR/Linux, I'd be extremely surprised to learn that raw RSA keys used to work on beta8.

@PinpointTownes That makes sense. Since the issue was reported post rc1, I was wondering if it was working in earlier versions somehow. Until RSA.Create() shows up(https://github.com/dotnet/corefx/issues/2953), I will use RSACng or RSAOpenSSL based on the underlying os.

Yup, that's probably the best approach. I've used roughly the same one for ASOS:
internal static RSA GenerateKey(IRuntimeEnvironment environment) {
    if (string.Equals(environment.OperatingSystem, "Windows", StringComparison.OrdinalIgnoreCase)) {
#if DNXCORE50
        // On CoreCLR, use RSACng.
        return new RSACng(2048);
#else
        // On desktop CLR, use RSACryptoServiceProvider.
        return new RSACryptoServiceProvider(2048);
#endif
    }

    // When the runtime is identified as Mono, use RSACryptoServiceProvider independently of the operating system.
    if (string.Equals(environment.RuntimeType, "Mono", StringComparison.OrdinalIgnoreCase)) {
        return new RSACryptoServiceProvider(2048);
    }

#if DNXCORE50
    // On Linux and Darwin, use RSAOpenSsl when running on CoreCLR.
    if (string.Equals(environment.OperatingSystem, "Linux", StringComparison.OrdinalIgnoreCase) ||
        string.Equals(environment.OperatingSystem, "Darwin", StringComparison.OrdinalIgnoreCase)) {
        return new RSAOpenSsl(2048);
    }
#endif

    // If no appropriate implementation can be found, throw an exception.
    throw new PlatformNotSupportedException("No RSA implementation compatible with your configuration can be found.");
}

/cc @sunsided

According to git my experiments with X509Certificate2 where I stumbled across this problem on Mono/Linux are from October 20th using rc1 packages. However, for the time being, neither certificates nor dynamically generated keys (by ASOS, if I got that right) work for me with middle aged rc1 and current rc2 packages - on Mono/Linux, that is, I stopped trying on Windows.

Cross-platform support? Pff, who cares.

Wait, what?

@sunsided This issue is fixed in #328


Moves signal definitions to its own settings section

Should we remove the general section altogether? I'm not sure why workflows would fit in the general section but signals would not.

If we remove the General section, where do we put plugins since they apply to incidents and cases? Same with workflows. I also kept notifications there for when we have support for them in cases. I don't see signals applying to both cases and incidents.

Should signals be under the case settings then? They map directly to cases, there is no reason they couldn't map directly to incidents in the future, but that is not the current use case.

Sure, unless you're planning to add more signals-related configuration settings?

Sure, unless you're planning to add more signals-related configuration settings?

I can't think of any right now that wouldn't be directly in the signal definition itself.


Support stdout/stderr file proxy for WASI

Implement a Java API to configure a file to be used as the stdout/stderr stream in WASI API.
Add test cases for WasiConfig.java

OK, I addressed your review points 👍

Please let me know if you want a new version release for this change.

I'll send another PR to get exit-code from wasi context in a few days. I'll request you to release a new version after it :)


Renaming Azure Spring artifacts for 4.0

Resolves #23931

/azp run java - spring - tests

/azp run java - spring - tests


Add Web Age Solutions to the on-site training providers.

Hi there!  Have you had a chance to look at this request yet?  Feel free to check out our training support at http://www.webagesolutions.com/training/angularjs/


Feature/4376 user menu md3

Fixes # BLUI-4376

Changes proposed in this Pull Request:

Added UserMenu component using MD3 theme

Screenshots / Screen Recording (if applicable)
https://github.com/etn-ccis/blui-react-native-component-library/assets/120575281/e5ed7458-fe8c-4fbd-81fb-7fea9e1e5a68

To Test:

Checkout feature/4376-user-menu-kitchen-sink-example branch in showcase
yarn start
In UserMenu, click on JS avatar
Should open Bottom Sheet

Any specific feedback you are looking for?

Please open https://github.com/etn-ccis/blui-react-native-showcase-demo/pull/93 once this PR gets merged.

I think the menu item is picking up the correct color from the theme (the new theme's primary text color onSurface is significantly darker compared to its previous version). I do find the email address color to be really light though.

Also this color difference (I think this is out of scope for this story; feel free to log an issue):

I think the menu item is picking up the correct color from the theme (the new theme's primary text color onSurface is significantly darker compared to its previous version). I do find the email address color to be really light though.

Email Address is a subtitle from InfoListItem. Each menu item in the example is info list item. We may need to update the color of subtitle there

I think the menu item is picking up the correct color from the theme (the new theme's primary text color onSurface is significantly darker compared to its previous version). I do find the email address color to be really light though.

Email Address is a subtitle from InfoListItem. Each menu item in the example is info list item. We may need to update the color of subtitle there

Logged an issue.

Also this color difference (I think this is out of scope for this story; feel free to log an issue):

Also this color difference (I think this is out of scope for this story; feel free to log an issue):

Logged an issue. https://github.com/etn-ccis/blui-react-native-component-library/issues/414


[BUG] The text under "heading indicator" and "disable lvl 5 and lvl 6 uppercase" is the same in Style Settings

Describe the bug
The text under "heading indicator" and "disable lvl 5 and lvl 6 uppercase" is the same
To Reproduce

Go in "Style Settings's" setting
Go in "Typography"
Go in "Heading

Expected behavior
Having the text for uppercase heading changed
Screenshots

Version [Desktop or Mobile]:
Mobile and Desktop
Editor
Live Preview
Additional context
None

Thanks, this has been fixed. :)


Colormaps does not work with latest matplotlib 3.6.3

Firstly, I should appreciate your effort in collating a large set of scientific colourmaps into a dedicated Python library. I have used it for application and for various other purposes. However, with the latest matplotlib release, I get AttributeError. Minimal example taken from README is as follows:
$ python
Python 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:16:33) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> matplotlib.__version__
'3.6.3'
>>> import colormaps as cmaps
>>> git clone https://github.com/pratiman-91/colormaps.git
KeyboardInterrupt
>>> cmaps.drought_severity
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\JSundar\Downloads\colormaps\colormaps\cmaps.py", line 9251, in drought_severity
    if cname in matplotlib.cm._cmap_registry:
  File "C:\Users\JSundar\miniconda\envs\wrfplot\lib\site-packages\matplotlib\_api\__init__.py", line 224, in __getattr__
    raise AttributeError(
AttributeError: module 'matplotlib.cm' has no attribute '_cmap_registry'. Did you mean: '_gen_cmap_registry'?

It would be nice to update your module to keep up with changes in the upstream matplotlib module.

Ok. Found the issue and got it working. Instead of checking if colormap is available in matplotlib using _cmap_registry attribute, you can use plt.colormaps() to validate. In the cmap.py, you can replace all occurrence of following:
matplotlib.cm._cmap_registry
with
plt.colormaps()
Don't forget to import matplotlib.pyplot as plt.
Please do the modification and update to pip. Thank you.

@wxguy Thank you for using this library, even being barebones. I will update the for the latest matplotlib.  I don't know when but probably the upcoming weekend.

Made a pull request at https://github.com/pratiman-91/colormaps/pull/3. Please review and merge, if you find it ok.


drivers: retained_mem: Add generic retained register driver

Devices like the ATSAM series chips have retained registers which are used to store memory. The memory is accessed just like RAM, but since they are registers, their size and address is used directly.
This commit adds a near complete copy of the generic retained ram driver and bindings file, adding the reg property to the new bindings file, and updating the init macro in the driver to use the reg address and size.

Late review/feedback as part of weekly update routine :)
@bjarki-trackunit Shouldn't tests/drivers/retained_mem/api be updated so that there is enough there to at least test in CI that the driver compiles?


Proguard rules after migrate to AndroidX Library

On latest version 2.8.0 since already migrate to AndroidX, I dont thinks this proguard rules is valid for that
Change this
-keep class android.support.v7.widget.** { *; }
to
-keep class androidx.appcompat.widget.** { *; }

not working


Save metadata when exporting as pixelium file

Currently, the image instance is encoded and saved in a refs folder, so we loose the metadata
We would like to copy the metadata in the data.json file
Current data.json structure :
{
  "isLoading": false,
  "images": {
    "cc720446-9ef0-4b39-936d-f081b7e90655": {
      "image": "0655a16f-d92d-4bb8-b250-e55ac43c2266",
      "metadata": {
        "name": "Silica_small.tif",
        "relativePath": "Fribourg/Silica_small.tif"
      },
      "pipeline": [],
      "rois": []
    }
  }
}

In reality we should keep the original image and not recreate a PNG. @moonayyur could you check what should be changed in order to be able to save back in the .ium file the original image ?


The UTF-8 character is very good，so you can name your variable using your mother tongue！

Good
String 你好 = "你好";
System.out.println(你好);

Bad
String hello = "你好";
System.out.println(hello);

And with emoji it will be better！
NSString* 😡 = @"😀";
NSLog(😡);

And with emoji it will be better！
NSString* 😡 = @"😀"; NSLog(😡);

Good!!!!

String 触斯 = "假"；
System.out.println(触斯)


Regex

Hi. Please always include full code + traceback, or if there's no error, full code + a description of what happens, and what you expect to happen instead.
Note here also that if you mean literally the string "\d+", that's not a valid regex.

Julian, ty for the quick response, but it seems like i created the issue myself somewhere, sorry:)

No worries, glad you figured it out!
On Fri, May 11, 2018, 13:45 josephbiko<EMAIL_ADDRESS>wrote:

Julian, ty for the quick response, but it seems like i created the issue
myself somewhere, sorry:)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Julian/jsonschema/issues/406#issuecomment-388435802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUIXjS-eeppg45peNrgZBjSJcPA5gc1ks5txc5HgaJpZM4T70bw
.


rtmpdump: support cross-compilation

Motivation for this change
Support cross-compilation. Set the correct make flags to do so.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 130482 at 22359a5e run on x86_64-linux 1

2 packages marked as broken and skipped:

odpdown
termplay

2 packages failed to build:

catt
libadwaita

381 packages skipped due to time constraints:

adapta-gtk-theme
alfis
almanah
apostrophe
aravis
arcan.arcan-wrapped
arcan.durden-wrapped
arcan.everyone-wrapped
arcan.pipeworld-wrapped
arcan.prio-wrapped
...

82 packages built successfully:

MIDIVisualizer
arcan.arcan
ffmpeg-full (arcan.ffmpeg)
audio-recorder
baresip
botamusique
brasero
brasero-original
byzanz
enlightenment.rage
evince (gnome.evince)
farstream
gcompris
get_iplayer
gmrender-resurrect
gnome-network-displays
gnome.gnome-sound-recorder
gscrabble
gst_all_1.gst-editing-services
gst_all_1.gst-plugins-bad
gst_all_1.gst-rtsp-server
gst_all_1.gst-vaapi
gtk4
handbrake
haruna
haskellPackages.cut-the-crap
imagination
kaidan
kodi-cli
libsForQt5.kamoso (libsForQt515.kamoso ,plasma5Packages.kamoso)
libsForQt5.phonon-backend-gstreamer (libsForQt515.phonon-backend-gstreamer ,plasma5Packages.phonon-backend-gstreamer)
libsForQt514.kamoso
libsForQt514.phonon-backend-gstreamer
lollypop
mailnag
mkchromecast
moodle-dl
mopidy-youtube
mpv
mpvScripts.mpv-playlistmanager
pantheon.elementary-camera
pantheon.elementary-videos
parlatype
persepolis
pithos
pitivi
play-with-mpv
python38Packages.livestreamer
python38Packages.livestreamer-curses
python38Packages.pafy
python38Packages.pydub
python38Packages.pyglet
python38Packages.tubeup
youtube-dl (python38Packages.youtube-dl)
youtube-dl-light (python38Packages.youtube-dl-light)
python39Packages.livestreamer
python39Packages.livestreamer-curses
python39Packages.pafy
python39Packages.pydub
python39Packages.pyglet
python39Packages.tubeup
python39Packages.youtube-dl
python39Packages.youtube-dl-light
qarte
qt-video-wlr
qutebrowser
qxmpp
recapp
restream
rtmpdump
rtmpdump_gnutls
sound-juicer
streamlink
streamlink-twitch-gui-bin
tartube
transcribe
xfce.parole
xpra
yle-dl
ytcc
ytfzf
ytmdl

1 suggestion:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/tools/video/rtmpdump/default.nix:51:5:
   |
51 |     license     = licenses.gpl2;
   |     ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

Build failures seem to be unrelated.

@ofborg eval


initial test bench

Description

A Docker environment with Zeebe (with embedded gateway), zeebe-kafka-exporter, Kafka, Postgres, and Zeebe Simple Monitor.
Some process files in BPMN format ready to be deployed to Zeebe
Some pre-defined job workers to be called from BPMN files.
A detailed README.

Testing

Start the docker environment: ./start.sh.
Start job worker: gradle build then run job workers in IntelliJ. There is some predefined configurations for running one job worker or multiple job workers.
Process and process instance can be deployed and created using zbctl. Instruction on using it is available in README.
Job worker and message publisher can also be handled using zbctl. More details in README.
Status of the instance can be observed in Zeebe Simple Monitor.
The README should be detailed and easy to follow, even if one has little knowledge in development. University students will be the targeted audience of this repo.

Couple of more suggestions:

Add BPMN or modify existing one to include a loop with a timer, so that every x seconds it will call a worker and see if a condition is fulfilled, blocking the execution until condition changes. You could implement the worker to sometimes return data that lets the condition pass (for example every 10th time). The timer could be for example one minute.
Rename the process-order and order-subprocess bpmns so that it's clear which one is the main process and which one the subprocess


Add Support for tvOS

Hi, Can you add support for tvOS, please?

I have a question.
For support tvOS, you just need to change this part of the code?
    /// Initializes the MultiPeer service with a serviceType and the default deviceName
    /// - Parameters:
    ///     - serviceType: String with name of MultiPeer service. Up to one hyphen (-) and 15 characters.
    /// Uses default device name
    public func initialize(serviceType: String) {
        #if os(iOS)
            initialize(serviceType: serviceType, deviceName: UIDevice.current.name)
        #elseif os(macOS)
            initialize(serviceType: serviceType, deviceName: Host.current().name!)
        #endif
    }

Just to add:
#elseif os(tvOS)
            initialize(serviceType: serviceType, deviceName: UIDevice.current.name)

?

Yes potentially, however it would be best to also do some testing to ensure that everything is working properly. I'm actually pretty busy for the remainder of the week, and might not be able to get to this for a while. If you have a tvOS device, please feel free to try making the relevant changes and testing to see if it works! If so, please create a PR with your contributions to share this with the rest of the community. Thanks!

I have an Apple TV and I tested your SDK and it works correctly
So I will create PR

I have created PR

Great thanks!

Thank you for your contributions! tvOS support is now included in MultiPeer 0.0.9! 🎉
Closing as complete.


Jupyterlab zombies

jedi-language-s process are sometimes not getting cleaned up properly, resulting in accumulating zombies.

Not sure if this is still a thing


Update Set-VHD.md

Fixed Example 3 in all versions of the document.
Fixes https://github.com/MicrosoftDocs/windows-powershell-docs/issues/3186

@JohanFreelancer9 Please copy review

Fixes all versions of the document

@tiburd hope all is well. Could you please help merge this PR? Ty!