Azure Function Blob Trigger Not Recognized as StreamInput

Describe the bug
When running an Azure Function v3 with a Blob Trigger to pull the file specified, the stream is not recognized as a .wav file to run through the Speech recognizer. The function setup is as follows:
		public static async Task RunNLP(
			[ActivityTrigger] string context,
			[Blob("audiophiles/{context}", FileAccess.Read, Connection = "BlobConnection")] Stream myBlob,
			ILogger log)
		{

I tried doing the following
	using (var pushStream = AudioInputStream.CreatePushStream())
	{
		using (var audioInput = AudioConfig.FromStreamInput(pushStream))
		{
		    // Creates a speech recognizer using audio stream input.
		     using (var recognizer = new SpeechRecognizer(config, audioInput))
		     {
.... //await StartSpeechRecognitionAsync(..)
     using (BinaryReader reader = new BinaryReader(myBlob))
     {
	byte[] buffer = new byte[1000];
	while (true)
	{
	     var readSamples = reader.Read(buffer);
	     if (readSamples == 0)
	     {
		break;
	     }

		pushStream.Write(buffer, readSamples);
	}
     }

The stream gets written to the PushStream successfully but the recognizer keeps stating that the Speech was not recognized. When I load the file from the local machine instead it works.
Is there anything I am missing here when reading a .wav file from blob?
To Reproduce
Steps to reproduce the behavior:

Create a blob trigger function
Upload a valid .wav file to the blob
Read in the stream and try to use it as stream input
Listen for the recognizer events and see that the result returns NotRecognized

Expected behavior
The stream from a valid .wav file should be read into the Recognizer successfully and output the correct result text.
Version of the Cognitive Services Speech SDK
1.14.0
Platform, Operating System, and Programming Language

OS: Windows 10
Hardware - x86
Programming language: C#

Additional context
No errors just not processing the speech properly from the blobstream.
I have tried using the specific WavStream codec as the PushStream as such:
			byte channels = 1;
			byte bitsPerSample = 16;
			int samplesPerSecond = 16000; // or 8000
			var audioFormat = AudioStreamFormat.GetWaveFormatPCM((uint)samplesPerSecond, bitsPerSample, channels);
			StringBuilder sb = new StringBuilder();
			using (var pushStream = AudioInputStream.CreatePushStream(audioFormat))

No luck as well.

@thedonmon
Please check that local.settings from your Azure function project are also deployed in the settings inside Azure portal, e.g. check that your "BlobConnection" value is set correcty in portal also.
Also you could read directly from blob to pushstream:
// Start continuous recognition. Uses StopContinuousRecognitionAsync() to stop recognition.
await recognizer.StartContinuousRecognitionAsync().ConfigureAwait(false);

// open and read the stream and push the buffers into the recognizer
byte[] buffer = new byte[1000];
while (true)
{
    var readSamples = myBlob.Read(buffer, 0, buffer.Length);
    if (readSamples == 0)
    {
        break;
    }
    pushStream.Write(buffer, readSamples);
}
pushStream.Close();

// Waits for completion.
// Use Task.WaitAny to keep the task rooted.
Task.WaitAny(new[] { stopRecognition.Task });

// Stop recognition.
await recognizer.StopContinuousRecognitionAsync().ConfigureAwait(false);

@thedonmon
Please check that local.settings from your Azure function project are also deployed in the settings inside Azure portal, e.g. check that your "BlobConnection" value is set correcty in portal also.
Also you could read directly from blob to pushstream:
// Start continuous recognition. Uses StopContinuousRecognitionAsync() to stop recognition.
await recognizer.StartContinuousRecognitionAsync().ConfigureAwait(false);

// open and read the stream and push the buffers into the recognizer
byte[] buffer = new byte[1000];
while (true)
{
    var readSamples = myBlob.Read(buffer, 0, buffer.Length);
    if (readSamples == 0)
    {
        break;
    }
    pushStream.Write(buffer, readSamples);
}
pushStream.Close();

// Waits for completion.
// Use Task.WaitAny to keep the task rooted.
Task.WaitAny(new[] { stopRecognition.Task });

// Stop recognition.
await recognizer.StopContinuousRecognitionAsync().ConfigureAwait(false);

Will try this forsure! The connections are correct and can confirm the stream is valid but didnt think of reading directly from it. Thanks for the suggestion will report back if it works.

@thedonmon
Please check that local.settings from your Azure function project are also deployed in the settings inside Azure portal, e.g. check that your "BlobConnection" value is set correcty in portal also.
Also you could read directly from blob to pushstream:
// Start continuous recognition. Uses StopContinuousRecognitionAsync() to stop recognition.
await recognizer.StartContinuousRecognitionAsync().ConfigureAwait(false);

// open and read the stream and push the buffers into the recognizer
byte[] buffer = new byte[1000];
while (true)
{
    var readSamples = myBlob.Read(buffer, 0, buffer.Length);
    if (readSamples == 0)
    {
        break;
    }
    pushStream.Write(buffer, readSamples);
}
pushStream.Close();

// Waits for completion.
// Use Task.WaitAny to keep the task rooted.
Task.WaitAny(new[] { stopRecognition.Task });

// Stop recognition.
await recognizer.StopContinuousRecognitionAsync().ConfigureAwait(false);

No luck using this method... Even tried passing in the audioFormat to the PushStream still comes back as NoMatch

@thedonmon How did you verify input data is ok ?

@thedonmon How did you verify input data is ok ?

It's the same file I have locally so unless uploading it to the blob changes the data when it gets streamed in it should be ok. Especially since when I reference the same file locally it transcribes properly. I verified the wav headers were present in the stream as well. Is there another method you suggest?

@thedonmon Also I want to double check, you have checked in Azure Portal, blob connection which you have inside local.settings file in your Azure function project exists in Azure Portal ? I think I had the same issue you are reporting before and the reason was that my settings in Azure Portal were not correct

@thedonmon One other comment I have is that have you logged you get any intermediate results using Microsoft.Extensions.Logging ? Could you add logs like following and provide us sessionId, so that we can check what happened on service side.
recognizer.Recognizing += (s, e) =>
{
    log.LogInformation($"RECOGNIZING: Text={e.Result.Text}");
};

recognizer.Recognized += (s, e) =>
{
    if (e.Result.Reason == ResultReason.RecognizedSpeech)
    {
        log.LogInformation($"RECOGNIZED: Text={e.Result.Text}");
        result += e.Result.Text;
    }
    else if (e.Result.Reason == ResultReason.NoMatch)
    {
        log.LogInformation($"NOMATCH: Speech could not be recognized.");
    }
};

recognizer.Canceled += (s, e) =>
{
    log.LogInformation($"CANCELED: Reason={e.Reason}");

    if (e.Reason == CancellationReason.Error)
    {
        log.LogInformation($"CANCELED: ErrorCode={e.ErrorCode}");
        log.LogInformation($"CANCELED: ErrorDetails={e.ErrorDetails}");
        log.LogInformation($"CANCELED: Did you update the subscription info?");
    }

    stopRecognition.TrySetResult(0);
};

recognizer.SessionStarted += (s, e) =>
{
    log.LogInformation($"\nSession started event, sessionID={e.SessionId}");
};

recognizer.SessionStopped += (s, e) =>
{
    log.LogInformation($"\nSession stopped event, sessionID={e.SessionId}");
    log.LogInformation($"\nStop recognition.");
    stopRecognition.TrySetResult(0);
};

@jhakulin yea I've checked the settings a few times they are correct I've confirmed it's the correct file streaming in. I can try and see if I can switch to secondary key or something and see.
I'll definitely add session id and update soon. Thanks so much for the help would be really great to get this working

@jhakulin Here are a few session Ids:
00f008cd087747419848e7a00b554440
9c74a6b5642f4b1390fae81d1c2b4270
7d8d88cd33364eb9b18578d1a6043e27
Let me know if you need more info.

@thedonmon I checked the function of AzureFunction with 1.14.0 worked OK on my side.
I have attached the script I used for your testing
BlobTriggerCSharp1.zip
Steps what I did are basically following:

Created storage resource and under that container (MyBlobContainer), where to upload the wave files) on Azure portal
Created Azure Function on VSCode for C# as a Blob trigger which use the storage account you created and connects to MyBlobContainer
Integrated the attached C# script to the VSCode project
Tested the project works locally by uploading a file to Azure blob container and see that gets transcribed on VSCode output
Deployed the VSCode project as new function to Azure using the Azure VSCode extension
Added MyStorage_STORAGE connection key (from local.settings.json file from VSCode project) value pair to Azure function (BlobTriggerCSharp1) settings inside Azure portal (NOTE: this setting was not there by default and needs to be added)
Tested that Azure function works in Azure portal by uploading files to the container by using using BlobTriggerCSharp1 | Monitor and where I can see the result when looking the monitor output .

Please check you did all these.

@thedonmon If the previous steps do not help, could you share your wave file also ?

Closed as resolved since no further updates. Please open a new issue if you need more support.


Please correct "install.package(reticulate)" with "install.packages("reticulate")"

Hi Dr Ramsey,
I could run the files on my laptop with no issue. However I found that in "sample_r_codeU.R", where $U\in {2, 3, 4, 5, 6}$, it is throwing error because of the above problem. I changed things locally and could run the file with no issue. Thank you so much. I was now wondering whether it would be possible for you to add functions for "ling" and "ccd" algorithms for use in R in the GitHub repo.
Regards,
Saptarshi

Hi Saptarshi,
This is great! I updated something (R? RStudio?), and now those files do
weird things if the 'install.packages("reticulate")' line is there for me
since it's already installed for me. I've removed it from those files for
now. I'll try testing it on some other machines. Thanks for pointing the
issue out.
Interestingly, run_ccd is in my version--I'm wondering if you'll get it if
you do a git pull? For ling, I've got to think about it. Maybe I'll think
about that today. I was unsatisfied with the implementation.
Joe
On Thu, Apr 20, 2023 at 10:23 PM Saptarshi Roy @.***>
wrote:

Hi Dr Ramsey,
I could run the files on my laptop with no issue. However I found that in
"sample_r_codeU.R", where $U\in{2, 3, 4, 5}$, it is throwing error
because of the above problem. I changed things locally and could run the
file with no issue. Thank you so much. I was now wondering whether it would
be possible for you to add functions for "ling" and "ccd" algorithms for
use in R in the GitHub repo.
Regards,
Saptarshi
—
Reply to this email directly, view it on GitHub
https://github.com/cmu-phil/py-tetrad/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLFSR4B5A47YOFAGUXXV73XCHVSRANCNFSM6AAAAAAXGIRUFA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you so much, Dr Ramsey. Yes I can see run_ccd in your version. I might have to clone the repository again if git pull does not work for me. On the other hand, actually I do need this ling algorithm for my current project, so if you could do something about it, that would be great.

@roys8001 I looked at ling--I may be able to get you something in the next few days. The code needed a lot of attention, though the article is clear. Anyway I'll see if it can be salvaged.

@jdramsey Thank you so much. Please let me know when you are done with this.

Would you like to help?
On Sun, Apr 23, 2023 at 1:04 PM Saptarshi Roy @.***>
wrote:

@jdramsey https://github.com/jdramsey Thank you so much. Please let me
know when you are done with this.
—
Reply to this email directly, view it on GitHub
https://github.com/cmu-phil/py-tetrad/issues/4#issuecomment-1519111630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLFSR7DUHQQ436DLPJHSOTXCVOIRANCNFSM6AAAAAAXGIRUFA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I spent some time on it today. I had to rewrite it from scratch, so it may
be another week or so before it's ready to compare to other algorithms.
I'll ask Peter on Tuesday what he thinks. But honestly, if you would like
to help ensure it's behaving correctly, let me know, especially if you're
making a comparison--it would be good to know it's correct.
On Sun, Apr 23, 2023 at 6:48 PM Joseph Ramsey @.***>
wrote:

Would you like to help?
On Sun, Apr 23, 2023 at 1:04 PM Saptarshi Roy @.***>
wrote:

@jdramsey https://github.com/jdramsey Thank you so much. Please let me
know when you are done with this.
—
Reply to this email directly, view it on GitHub
https://github.com/cmu-phil/py-tetrad/issues/4#issuecomment-1519111630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLFSR7DUHQQ436DLPJHSOTXCVOIRANCNFSM6AAAAAAXGIRUFA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I won't promise a date--I'll work on it when I have time.

@roys8001 I made some progress on LiNG (which I should call LiNG-D according to the paper). I have an implementation that mainly works, and I am thinking about how to make it work well. Sorry for all the delays; I did not do this code initially, and there were several issues. I opted, in the end, to completely reimplement it, so now I'm thinking about the theory for it...I could also solve some of its outstanding issues and backport some of its features to LiNGAM.

Thank you so much, Dr Ramsey.

@roys8001 I finished my initial work on LiNGAM and LiNG-D and posted new versions of each. I made them available in R-tetrad if you want to try them.

Thank you so much, Dr Ramsey. This would be of great help.

In case it's unclear, I implemented it with two thresholds, a threshold on the spine (to make a strong diagonal hopefully quickly) and a threshold on the B matrix (to set small coefficients to zero). You'll have to play with these. I'm thinking of ways to make the algorithms work more automatically, but the things I tried today weren't all that effective. Also, I need to compare my implementations to Shimizu's.

Oops, clicked the close button by misake!

Hi @roys8001
Can this issue be closed now? I think I've fixed all of the issues you mentioned--if there are more issues can you open them separately (for accounting purposes)?
Joe

Yes thank you Dr Ramsey.

Great! Thanks.


Suggested real and complex dtype functions

Hello! Very excited about this library, as it (hopefully) provides a place to put functions that are array agnostic and usable by many people. Let me describe two simple ones that I'd like to make a PR for.
I'd like to add functions real_type(dtype) and complex_type(dtype). These are simple:

real_type takes in a real or complex dtype, and returns the corresponding floating-point dtype. So complex128 -> float64, complex64 -> float32, float64 -> float64, float32 -> float32.
complex_type takes in a real or complex dtype, and returns the corresponding complex floating-point dtype. So float64 -> complex128, float32 -> complex64, complex128 -> complex128, complex64 -> complex64.

This can be really helpful in application code to work out the correct types. Shall I make a PR for these?

consumer libraries definitely want things along these lines, yes. I recently wrote this in SciPy:
def xp_float_to_complex(arr: Array, xp: ModuleType | None = None) -> Array:
    xp = array_namespace(arr) if xp is None else xp
    arr_dtype = arr.dtype
    # The standard float dtypes are float32 and float64.
    # Convert float32 to complex64,
    # and float64 (and non-standard real dtypes) to complex128
    if xp.isdtype(arr_dtype, xp.float32):
        arr = xp.astype(arr, xp.complex64)
    elif xp.isdtype(arr_dtype, 'real floating'):
        arr = xp.astype(arr, xp.complex128)

    return arr

and there is also the more elaborate xp_broadcast_promote in https://github.com/scipy/scipy/blob/main/scipy/_lib/_array_api.py.
Could either of those functions be written more simply using the functions you propose?
I would probably suggested hashing out the behaviour more fully before opening a PR. What should the functions do for other standard dtypes like int64? Also, I think it would be in the spirit of this library (in its current form) to error on any object that isn’t a standard dtype.

There was also some recent discussion about what a standardized API for this could look like https://github.com/data-apis/array-api/issues/841#issuecomment-2392032433

@izaid would these functions still be useful to you after https://github.com/data-apis/array-api/pull/848? That covers the case of casting from potentially real or complex input to the appropriate complex data type via xp.astype(x, 'complex floating').


How do I download the mod

I can’t download the mod

https://github.com/emortaldev/IllegalBlocks/releases/tag/1.0.0

https://github.com/emortaldev/IllegalBlocks/releases/tag/1.0.0

it got deleted


Chore/upgrade to newer laravel versions

Upgrade the codebase to support newer versions of both PHP and Laravel

@ppelgrims In addition to these changes, could you also use the new PHPUnit Test attributes instead of annotations? Feel free to do so in a separate PR, though.


Update ginga26

Fixes #33
Makes small updates to accommodate updates to ginga and planetaryimage. Also hard sets the requirements so we don't run into the same issue as #33.

r01090al.IMG can not be read by planetaryImage.PDS3Image anymore for some reason, which is why the tests fail.

Skip that test then, yeah?

I was thinking of just rewriting the tests to not include that image/include a different image.

Sure, though knowing why would be good.
Why am I paying attention :P

Do what you think is best 👍

haha yeah "why" would be an issue for planetaryimage repo I think


Replace pin-project with pin-project-lite

github doesn't let me push changes into https://github.com/pr2502/ra-multiplex/pull/66 so here you have a PR for your PR :smile:
and the change to Cargo.lock that remains after this (bump pin-project-lite from 0.2.13 to 0.2.14) can stay, no need to revert that^^

Hi, thanks for this, although by the time I saw this I had already rewritten the code to do this. Even matching the exact names used. Because I hadn't considered updating pin-project-lite, I've gone ahead and cherry picked your commit into my branch and reworded it so the version bump is included in my PR.


Check CI status

We just transferred ownership from Basho to this account and forked back. From past experiences, this breaks CI. Please check the build system and let me know if you need permissions to edit anything.

Travis seems to be working. :smile: Are you concerned about buildbot?

Nope @seancribbs! I actually fixed this with #247 and forgot to add the "resolves" note. We're all set here.


problem with marginalia and selectrum during buffer switching

I get this error fairly frequently when switching buffers with marginalia activated:
Error in post-command-hook (selectrum--minibuffer-post-command-hook): (wrong-type-argument symbolp (lambda (bmk) (browse-url (bookmark-prop-get bmk 'page))))
The error causes filtering in selectrum to stop, so I cant then switch buffers.
The error goes away if I disable marginalia.
Maybe the bug is in marginalia, but I thought I would start here.
I use straight atm to install selectrum+marginalia etc, and a git checkout from emacs master.
/Joakim

It seems you have a bookmark library installed which uses lambdas as bookmark handlers. I should catch that problem in Marginalia but I advise against using lambdas as bookmark handlers. Which bookmark library is that?

I pushed a fix to Marginalia. Please give it a test. The problematic bookmark function seems to be =xwidget-webkit-bookmark-make-record=.

Yes, I'm using consult-buffer, and probably xwidget-webkit-bookmark-make-record as well.
I tried your fix, from melpa in this case, and it works fine, thanks!


Refactor for exceptions

Enhancement Project: replace usage of show_error() with exceptions.
A class or function, instead of calling show_error to display an error message and then exit, should instead throw a PHP exception.
Benefits: improved error handling, better testability.
Related: enhance or replace error-handling writeup in the user guide.
Procedure:

In general, replace every show_error() call with a throw new Exception(), or as appropriate, one of the other predefined exceptions.
Translations would be mostly dropped in that process as they don't make sense for exceptions ... cases where a translation may be necessary will be discussed/decided on the fly.
And just to make the transition smoother, show_error() itself should be altered to throw Exception.

Process:

Tackle the affected classes one at a time, making sure that the unit testing and user guide are updated to match.
Changes must adhere to the CI style guide.
Each converted class, together with its unit testing and documentation changes, should be handled as a separate PR, referencing this issue.

I will create a feature branch for this, so that it doesn't block the main branch.
Affected classes/helpers:

system/core/Common (contains the show_error function cited above)
system/core/Config
system/core/Lang
system/core/Loader
system/core/Router
system/core/Security
system/core/URI
system/database/DB
system/database/DB_Forge
system/database/DB_query_builder
system/database/DB_utility
system/database/drivers/pdo/pdo_driver
system/helpers/path_helper
system/libraries/Driver
system/libraries/Encryption
system/libraries/Ftp (also uses lang->line)
system/libraries/Migration (also uses lang->line)
system/libraries/Pagination
system/libraries/Xmlrpc
system/libraries/Xmlrpcs

In relation to #4200 ... let's leave show_error() as is for now.
Changing it to just throw an exception may not be as good as I initially thought. It may still happen, but after everything else is done.

Final: show_error() remains unchanged and a few such calls may remain ... The one triggered by CSRF stays for sure. See #4229.

@DavidOtis Look above and you'll see 4 pages of mentions that nobody cares about ... Please reference this issue only from your PR descriptions (one reason to actually write a description instead of leaving them empty) and not in every commit message.


"Abnormal rise in the rate of failed request" meaning is not described.

Hello. We just had to contact MS-support to get the real meaning behind "abnormal rise in the rate of failed requests".
Neither in the azure-portal on the Overview nor in the Smart-detection tile-page it's explained when this alert should be triggered.
The conditions is not described, hence nobody really knows if they get what they expect.
Hence, we keep guessing whether the system has a problem, whether we don't have enough failures or whether something else is wrong when the alert doesn't trigger.
The conditions to trigger the alert must be clearly described.
Thanks.

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

ID: 48a775a1-2b8d-6965-d11f-27483df69aeb
Version Independent ID: 0515749a-c884-1fc7-ffed-b100fda156bc
Content: Smart Detection - failure anomalies, in Application Insights
Content Source: articles/application-insights/app-insights-proactive-failure-diagnostics.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

I agree that meaning of "abnormal" is unclear.
We have never received smart detection regarding failures.
It seems that criteria to trigger notification about anomalies are too high. If notification is sent when 77.8% of users are affected (as shown in the example), then it's too late. It means that the system/application being monitored is not usable or close to that. Help support is already concerned about an issue and bombarded by mad end-users.

@jecarlsen Thank you for the feedback!  We are investigating this and will get back to you shortly.

Article has been updated to help address this question.

@MicrosoftDocs/azure-cxp-triage #please-close


Add device ids

Add device ID for ips pro heatpump
Add new device id for klarstein dryfy pro connect

why is the linting check failed?

The failure is unrelated


A Linux AMI aws configuration

In a windows machine running the linux commands through cygwin in aws configuration for my Ec2 instance access id and access key default region and default output format is set to (Default region name [default] and Default output format [[default]] ) Which is not changing to any region code and aouput format after setting to the values showed in braces....... for a reference i have attached a screenshot... please give a solution

Check permissions on ~/.aws/config and ~/.aws/credentials


Tests for flagd gRPC re-connection

We don't have any testing/CI that validates the gRPC re-connection logic, which is particularly important considering it's use in OFO.
We need to somehow test that flagd is able to reconnect to a gRPC server if that server connection is lost. Whether this is done in unit or e2e tests is not important; but we should test it somehow.

Finished with https://github.com/open-feature/flagd/pull/477


[SQL][SPARK-6471]: Metastore schema should only be a subset of parquet schema to support dropping of columns using replace columns

Currently in the parquet relation 2 implementation, error is thrown in case merged schema is not exactly the same as metastore schema.
But to support cases like deletion of column using replace column command, we can relax the restriction so that even if metastore schema is a subset of merged parquet schema, the query will work.

Can one of the admins verify this patch?

ok to test

Test build #29118 has started for   PR 5141 at commit 5f2f467.

This patch merges cleanly.

Test build #29118 has finished for   PR 5141 at commit 5f2f467.

This patch fails Spark unit tests.

This patch merges cleanly.

This patch adds no public classes.

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

Fixed the test case. Added a new test case as well. Please retest

Test build #29150 has started for   PR 5141 at commit e858d5b.

This patch merges cleanly.

Test build #29150 has finished for   PR 5141 at commit e858d5b.

This patch passes all tests.

This patch merges cleanly.

This patch adds no public classes.

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

This LGTM now. Thanks for working on this!
@marmbrus This can be helpful when users remove a deprecated column from the metastore explicitly. Since this is an improvement rather than a bug, I guess we don't want to backport this to branch-1.3?

It depends on how safe you think it is.  Also, did this work before we started pushing everything through the native parquet path?  If so it sound more like a bug.

hi @liancheng , thanks for reviewing.
One small query on a separate note,
currently in the implementation of mergeMetastoreParquetSchema, I see that for finding out the merged parquetSchema, part files from all the partitions are being used. Does this scale ? What happens if we have millions of partitions, doesn't this slow down every read query even if only small number of partitions are being referred ?
Was wondering if we can change this to get a unified schema just from the referred partitions ? (Though in that case I think we will need to have a summary file containing all the columns in the base path of the table)

@marmbrus @saucam Confirmed that 1.2 actually works in this case. So this is a regression. Merging to master and 1.3. Thanks for working on this and the comments!
And @saucam, yes, reading from all Parquet data files isn't a scalable way. The reason why this is necessary is that, while creating a ParquetRelation2, we need to figure out the full schema of this relation before any queries are executed. Thus there are no information about "referred partitions". But I totally agree that this needs furthur optimization to make it more scalable. (BTW, do you really have Parquet tables consist of millions of partitions?...)

Hi @liancheng ,
We do have use cases where 100K partitions will be registered in tables, (partitioned on timestamps, data is added in form of partitions for every 5min interval) , but it could be more in other cases.

@saucam I believe #5214 covers the scenario you mentioned. You may refer to [this comment] 1 of mine in #5188 (which was later superceded by #5214).

Hi @liancheng , thanks for the references, I have already gone through these , but I was talking about ParquetRelation (old parquet path, the default one in spark 1.2) and not ParquetRelation2

Oh sorry, I thought you were just using ParquetRelation as an example. Actually we're trying to replace ParquetRelation entirely with ParquetRelation2, probably this will happen in 1.4. So in general we don't intend to add schema evolution support for ParquetRelation. If you do need to backport this to ParquetRelation, you may follow the approach used in #5214. The key point is that, make sure those additional fields are nullable, as nullability is significant in Parquet.

Sorry for so many queries .
How about if I simply ignore reading schema from parquet part files, relying only on metastore schema (I will pass it from hivestrategy to ParquetRelation). Do you think it would have issues ?

Unfortunately Hive is case insensitive and assumes all fields nullable (including nested fields in complex types), while for Parquet both case information and nullability are significant. That's one of the reason why we need to reconcile Hive metastore schema and Parquet schema in ParquetRelation2.

Thanks for confirming this, I hope there is no other reason for reconciling schema ?
(In our use cases we can safely make sure our schema is lowercase and all are nullable columns, so should be easier for me to use metastore schema itself in the ParquetRelation)

Yeah, then I think this should be OK.

Thanks a lot @liancheng ! :)


[Docs]:

what's wrong in the documentation?
We need to improve contribution steps in contribution.md and I have a few steps which can improve the readability of it.
Please assign me this task
Add screenshots
Add screenshots
Code of Conduct

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

hey @priyankarpal can you assign this issue to me with appropriate labels

what's wrong in the documentation?
We need to improve contribution steps in contribution.md and I have a few steps which can improve the readability of it. Please assign me this task
Add screenshots
Add screenshots
Code of Conduct

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

could you share the demo?

Demo? Do u mean what changes can I make? Ya sure.

After making changes it will looks something like this

I guess we already mentioned all steps. please check our contributing guide & if there is anything missing then we need to work on that. @kinshukgoel4

Okay then i will submit the PR and you review the changes

hey @priyankarpal please checkout the PR related to this issue. I am open to your feedback on my PR.

Note: Please do add gssoc'23 label to issue and PR

hey @priyankarpal please checkout the PR related to this issue. I am open to your feedback on my PR.

Note: Please do add gssoc'23 label to issue and PR

really it's looking good.

Hey, it was nice working on this issue with you.  Thanks for approving my PR. I am really looking at your project automation, can you giveaway tips as a project maintainer in regard to automation and GitHub actions. It will be helpful such that I can implement the necessary automation on my project


docs: fix typos in architecture doc

Ⅰ. Describe what this PR did
Hi, this PR fixes some minor typos in architecture doc.
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
@allencloud PTAL, thanks!

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

LGTM


Black flashes in Firefox 46 (GTK3)

I think, it started with Firefox 46 with GTK3 by default.
Open a page with a Flash movie, reload a page multiple times. There is a black box of size about the same as the plugin instance size appears on the top left corner of the browser. It always a top left corner of a browser window, regardless where window in placed in the screen. Changing .background_pixel to 0xf00000 in x11et_handle_task() in /src/x11_event_thread.c makes flashes red.
Looks like window is displayed before embedding. Disabling windowed mode moves issue away. Disabling XEmbed makes flashes white (regardless mentioned before .background_pixel value).

With update to Firefox 46.0.1 I can't reproduce it anymore. There were another updates too, so maybe it was fixed by some other update.

Firefox 46.0.1 in Debian is using GTK2 again, so the issue most probably related to GTK3 version, as with using previous package version, Firefox 46.0, bug is back again.

Hello @i-rinat, did you look any further on this?
We need GTK3 for touch support, but don't want to upgrade if it break flash.

did you look any further on this

No, not yet.

break flash

It doesn't really break Flash. When you load a page, for a fraction of a second plugin content is painted at top left corner. Usually initial content of a plugin is a black box, so flashes (no pun intended :smile:  ) are black. But after initial loading it works fine. But those visuals are kind of irritating when you start noticing them, I admit.

This issue don't seems to be present on Firefox 47, or I at least don't see anything unusual on http://www.adobe.com/software/flash/about/
Can you confirm this? It could be my test setup.

Nvm, I still see the issue on other sites.
Is there any disadvantage of disabling window mode?

Is there any disadvantage of disabling window mode?

Mouse wheel events and IME (Input Method Editor) work only in windowed mode.

Firefox in Debian is using GTK+ 3 for some time already, black flashes during initialization are still there. And I didn't try to fix it or to find the reason.
But what I want to note is that switching to multiprocess mode (in 50.1.0) stops flashes. Instead, plugin content is hidden completely during scrolling. Well, it's a bit better.

Looks like the issue was fixed upstream. No more black flashes during page load. Also, Firefox is now multiprocess by default, and there are no issues with plugin content rendering.


feat(planning_simulator): change nodes arg log level

Description
This draft PR modifies the --log-level argument for nodes, containers, and components launched from planning_simulator.
Often, it is necessary to adjust the log level to DEBUG for more detailed logging or reduce it to WARN or ERROR to minimize output. According to the ROS2 and Autoware documentation, there is currently no method to configure the logger via a configuration file or environment variable. The only way to change a node's logger at runtime is by using services.
This draft PR aims to initiate a discussion to explore if there are better solutions for adjusting the logging level. If no alternative solutions are identified, are such changes suitable for merging.
Tests performed
Not applicable.
Effects on system behavior
Not applicable.
Interface changes
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ]  I've confirmed the contribution guidelines.

[ ]   The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ]  The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ]  There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

This draft PR aims to initiate a discussion to explore if there are better solutions for adjusting the logging level. If no alternative solutions are identified, are such changes suitable for merging.

Is it okay to raise this in the GitHub Discussion first instead of PR?
You can create the thread under ideas or feature requests category.
https://github.com/orgs/autowarefoundation/discussions

@gitoabdelgawad Sorry for the late reply.
Being able to dynamically adjust the log level is indeed very useful, especially when debugging or minimizing log output.
However, I believe that specifying each log level in the launch files can be challenging from a maintenance perspective. I would like to hear everyone's opinions on whether there are more effective methods available.
@xmfcx @mitsudome-r  Do you have any opinions?

Thank you @yukkysaito @mitsudome-r for you reply.
I opened a new discussion https://github.com/orgs/autowarefoundation/discussions/4952.


On linux use unreal toolchain for cmake target

On linux it will use the Unreal toolchain for the cmake target rather than the system compiler detected by cmake.

get Unreal build toolchain
grab any included toolchain file and append it to generated toolchain file

Hello, I'm running into a linking problem when compiling the binary for Linux from Windows using the cross compilation toolchain.
The problem is caused by the CMake libray being compiled for Windows: ld.lld: warning: C:/Users/.../NetSync.lib: archive member 'NetSync.dir\Release\AbilitiesDB.obj' is neither ET_REL nor LLVM bitcode
I wonder what should I change in my CMakeList in order to ensure it compiles using the Linux toolchain used by unreal? This is my CMakeList: https://github.com/GameNetworking/NetworkSynchronizer/blob/main/cmake/CMakeLists.txt


Load EhCache diskstore content into memory

Load EhCache diskstore content into memory

Hello,
Thanks for your interest in Ehcache 3.
We request that users start the conversation on the google group ehcache-users before opening issues.

Also the issue here does not make clear what the problem is or what would need to be changed / improved.
Unless there is a comment in the next 24h, I will close this issue.

Closing as indicated


[bug]: Can't accept license terms and unable to download models

Is there an existing issue for this?

[X] I have searched the existing issues

OS
macOS
GPU
mps
VRAM
No response
What happened?
There is nowhere to accept license terms on huggingface with the links that are provided. I have downloaded everything else but can't download the models since they need you to accept the terms to download. Anyone know how to accept the terms? I looked everywhere but still couldn't find it.
Screenshots
No response
Additional context
I figured out how to make a token and made it through that part but I can't find where to accept the terms.
Contact Details
<EMAIL_ADDRESS>

I have the same issue.  I get through the whole Invoke AI installation to the point where I choose option 2 in the CMD window.  At this point I get the following message:
Do you want to generate images using the

command-line
browser-based UI
open the developer console
Please enter 1, 2 or 3: 2
Starting the InvokeAI browser-based UI..

Patchmatch initialized

Initializing, be patient...

Initialization file C:\Users\goodw\invokeai\invokeai.init found. Loading...
InvokeAI runtime directory is "C:\Users\goodw\invokeai"
GFPGAN Initialized
CodeFormer Initialized
ESRGAN Initialized

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You appear to have a missing or misconfigured model file(s).
The script will now exit and run configure_invokeai.py to help fix the problem.
After reconfiguration is done, please relaunch invoke.py.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
configure_invokeai is launching....
Loading Python libraries...
Welcome to InvokeAI. This script will help download the Stable Diffusion weight files
and other large models that are needed for text to image generation. At any point you may interrupt
this program and resume later.
** DOWNLOADING DIFFUSION WEIGHTS **
You can download and configure the weights files manually or let this
script do it for you. Manual installation is described at:
https://github.com/invoke-ai/InvokeAI/blob/main/docs/installation/INSTALLING_MODELS.md
You may download the recommended models (about 10GB total), select a customized set, or
completely skip this step.
Download ecommended models, ll models, ustomized list, or kip this step? [r]: r
** LICENSE AGREEMENT FOR WEIGHT FILES **
To download the Stable Diffusion weight files from the official Hugging Face
repository, you need to read and accept the CreativeML Responsible AI license.
This involves a few easy steps.

If you have not already done so, create an account on Hugging Face's web site
using the "Sign Up" button:
https://huggingface.co/join
You will need to verify your email address as part of the HuggingFace
registration process.

Log into your Hugging Face account:
https://huggingface.co/login

Accept the license terms located here:
https://huggingface.co/runwayml/stable-diffusion-v1-5
and here:
https://huggingface.co/runwayml/stable-diffusion-inpainting
(Yes, you have to accept two slightly different license agreements)

Press  when you are ready to continue:
I have gone to Hugging Face and logged in but see no way to accept the license agreements.  Did you figure out how to do so?


exceptions: ca.desrt.dconf-editor

cid-rdns-contains-hyphen: Predates the linter rule
Source: https://github.com/flathub/ca.desrt.dconf-editor/pull/30#issuecomment-2255960381

This is not a linter error code. See https://github.com/flathub/ca.desrt.dconf-editor/pull/30#issuecomment-2256140032

Can I add cid-missing-affiliation-gnome for dconf editor?


Worker does not long poll correctly

The 0.16.1 client does not long poll. It seems to do an immediate short poll, then repoll at the next poll interval.

Could you be a bit more specific and tell me what you're observing and what would be expected. Can you reproduce it somehow? Long polling should work as far as I know.


rsAccessDenied - Permissions insufficient to perform this operation (logon)

Hello, I am implementing the security extension and I have the following problem. At the time of logon I get the error: The permissions granted to the user 'test' are insufficient to perform this operation. Test is a registered user and is in the database.
How can I give this user permissions if I can't enter the site?
Is there a generic user that has permissions?
With a windows user (who had permissions before implementing the security extension) should I log in?
Thank you!

In the sample documentation check the section "Locate the  and  elements, within the  element, and modify the settings as follows:" , that entry defines what user will be an admin

Thanks, i can logon whit the admin user, but i hava a new problem, i see the page like this...

use /reports instead of /reportserver

i have the same problem...

look this captures from the rs configuration manager.. i don't know if its ok, or the name "/reports" depends on this.

its the one from the Web Portal Url


Node update

Not a bug since nodejs 4.x is LTS till 2017.
How about targeting new LTS 6.x?

Hi @noma4i, you can find all the information about our version support here: http://support.ghost.org/supported-node-versions/


Styles package tests are failing

The tests of the styles package are failing, because of the missing file @use "src/components/form-feedback.
Run pnpm styles:test from the root of the monorepo to reproduce.

I did execute the tests. They never failed. I added a test with @error to see if it would fail. It did as expected.


Only schedule a ThreadDeathWatcher task if caches are used.

Motivation:
If caches are disabled it does not make sense to schedule a task that will free up memory consumed by the caches.
Modifications:
Do not schedule if caches are disabled.
Result:
Less overhead.

@Scottmitch PTAL

@Scottmitch PTAL again

Cherry-picked into 4.1 (a07d71ea1d64388b0d4686373809c4733504e915) and 4.0 (a07d71ea1d64388b0d4686373809c4733504e915)


Web3API Manifest Validation

When building or loading a new project, we must validate that the manifest accurately describes all parts of the project.
Related: https://github.com/Web3-API/prototype/issues/17

Completed here: https://github.com/Web3-API/prototype/pull/50

Completed here: https://github.com/Web3-API/prototype/pull/50


No way to test PagingSource in the Paging samples

I did not see any extensive unit tests in this sample, and could not figure out how to mock a PagingSource for testing purposes.
Is there a plan to add more testing coverage to those sample?

Thank you for this suggestion / reminder !


How to ensure only specified plugins and themse are available for subdomains

Hi @owen2345 ,
How to ensure that only few specified themes are plugins are available to subdomain users, I created some themes and plugins at this location 'app/apps/plugins and app/apps/themse', but these plugins/themes are not yet tested fully, so I wanted to hide these plugins from subdomains, but available only to main domain so that I can test.
Can you please let me know how I can do that. Thanks.

Hi @mazharoddin
you can use the "domain" setting in the config of your theme/plugin,
Sample:
"title": "Store",
  "version": "0.1.1",
  "domain": "camaleon",
  "key": "store",

Regards,

Thanks a lot @owen2345 , this setting worked like charm :)


iOS 10.3.2 => problem

iOS 10.3.2 => not showing ad banner anymore. It works great with lower version of iOS

The problem is in this code:
                adView = new BannerView(size: AdSizeCons.Banner, origin: new CGPoint(0, 0))
                {
                    AdUnitID = adsbanner.AdID,
                    RootViewController = UIApplication.SharedApplication.Windows[0].RootViewController
                };

The problem is that Windows[0].RootViewController may be null. You need to search all Windows and find the one that has RootViewController.


0.35.6: Log4j and JUnit are in the compile scope

Hi @vsch ... I upgraded my project from version 0.35.0 to 0.35.6 and am now seeing junit:junit and log4j:log4j in the compile scope:
[INFO] +- com.vladsch.flexmark:flexmark:jar:0.35.6:compile
[INFO]   +- com.vladsch.flexmark:flexmark-test-util:jar:0.35.6:compile
[INFO]   |  \- junit:junit:jar:4.12:compile << -- !!
[INFO]   |     \- org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO]   +- com.vladsch.flexmark:flexmark-util:jar:0.35.6:compile
[INFO]   \- log4j:log4j:jar:1.2.17:compile << -- !!

I believe these dependencies were meant to stay in the test scope?
CC // @larrysteinke

@markkolich, thanks for catching it. I missed a few dependencies and had debug code left in the document parser.
Next release, coming in an hour or so will have these fixed.

Thanks @vsch!
Fwiw, I only noticed this because I'm using the maven-enforcer-plugin in my project to keep "banned dependencies" out of my classpath:
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-enforcer-plugin</artifactId>
    <version>3.0.0-M2</version>
    <executions>
    <execution>
        <id>enforce-banned-dependencies</id>
        <phase>prepare-package</phase>
        <goals>
            <goal>enforce</goal>
        </goals>
        <configuration>
            <rules>
              <requireUpperBoundDeps/>
              <bannedDependencies>
                  <!-- List of artifacts to ban -->
                  <excludes>
                      <exclude>log4j:log4j:compile</exclude>
                      <exclude>junit:junit:compile</exclude>

                      <exclude>org.apache.logging.log4j:log4j-api</exclude>
                      <exclude>org.apache.logging.log4j:log4j-core</exclude>
                      <exclude>commons-logging:commons-logging</exclude>
                  </excludes>
              </bannedDependencies>
            </rules>
            <!-- Fail on the first rule that doesn't pass. -->
            <failFast>true</failFast>
            </configuration>
        </execution>
    </executions>
</plugin>


s/_sensor_service/sensor_service

We can't merge that until everyone upgrades to the latest version of StackStorm where this change is available.
If we merged it, it would break for everyone who is not using latest version of StackStorm (that's also the limitation because we don't have pack versioning).
Sadly we are stuck with the old approach for the foreseeable future.

Could you keep the inconsistent way as an alias to the correct one but mark it as deprecated and to be removed at the next major upgrade? In this case, updating all the packs in st2contrib would still be a good idea. :)

@codyaray Yes, that's what we are doing in the st2 PR - we will still leave the old alias there for the unforeseeable future :)

Yeah, I woke up this morning thinking the same. I'll close this PR.


Adding logic to show the cursor in the non-native keyboard's input field

Overview
Adding logic to show the cursor in the non-native keyboard's input field.  When the non-native keyboard is shown or a keyboard key is activated, the non-native keyboard's input field will be selected.  This selection results in the cursor being shown on the input field, making it possible to move around cursor around.
This behavior can be disabled by setting AutoSelectInputField to false

Changes

Fixes: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/11558

Verification

This optional section is a place where you can detail the specific type of verification
you want from reviewers. For example, if you want reviewers to checkout the PR locally
and validate the functionality of specific scenarios, provide instructions
on the specific scenarios and what you want verified.
If there are specific areas of concern or question feel free to highlight them here so
that reviewers can watch out for those issues.
As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

/azp run


Some projection are doesn't work in python

Hello i have used lanelet2 within python on ROS humble.
When i deal with a vector map, i encountered a error.
Utmprojector and MercatorProjector works well but LocalcartesianProjector doesn't work with this error message.
from lanelet2.projection import (UtmProjector, MercatorProjector, LocalCartesianProjector

ImportError: cannot import name 'LocalCartesianProjector' from 'lanelet2.projection' (/opt/ros/humble/lib/python3.10/site-packages/lanelet2/projection.so)
I reinstalled python package and lanelet2 but still doesn't work.
Can i get some advice to solve this problem?

Probably this is cause of my environment. Because i checked the Projector works well on docker.
I'll check more my environment.


Token details displays NaN price

Context information
application version:
device:
browser:
operating system:
Steps to reproduce
https://aescan-testnet.dev.aepps.com/tokens/ct_2mbFFwvbFLAT2b554yNMAWzWq9sk9cbt22RGJh5dDhKYj1HJZY
What is expected?
What is actually happening?

Does not seems to be issue anymore


chore(deps): Generated code for workloads

Added few missing fields in workloads

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


OpenEBS Helm Installation shows error

While try to install OpenEBS using Charts/helm By followin the document available on this location https://github.com/openebs/charts the commandhelm install openebs-charts/openebs will gives the following Error
Error: release opining-bunny failed: clusterroles.rbac.authorization.k8s.io "openebs-maya-operator" is forbidden: attempt to grant extra privileges: [PolicyRule{Resources:["nodes"], APIGroups:["*"], Verbs:["get"]} PolicyRule{Resources:["nodes"], APIGroups:["*"], Verbs:["list"]} PolicyRule{Resources:["nodes"], APIGroups:["*"], Verbs:["watch"]} PolicyRule{Resources:["nodes/proxy"], APIGroups:["*"], Verbs:["get"]} PolicyRule{Resources:["nodes/proxy"], APIGroups:["*"], Verbs:["list"]} PolicyRule{Resources:["nodes/proxy"], APIGroups:["*"], Verbs:["watch"]} PolicyRule{Resources:["services"], APIGroups:["*"], Verbs:["*"]} PolicyRule{Resources:["pods"], APIGroups:["*"], Verbs:["*"]} PolicyRule{Resources:["deployments"], APIGroups:["*"], Verbs:["*"]} PolicyRule{Resources:["events"], APIGroups:["*"], Verbs:["*"]} PolicyRule{Resources:["endpoints"], APIGroups:["*"], Verbs:["*"]} PolicyRule{Resources:["persistentvolumes"], APIGroups:["*"], Verbs:["*"]} PolicyRule{Resources:["persistentvolumeclaims"], APIGroups:["*"], Verbs:["*"]} PolicyRule{Resources:["storageclasses"], APIGroups:["storage.k8s.io"], Verbs:["*"]} PolicyRule{NonResourceURLs:["/metrics"], Verbs:["get"]}] user=&{system:serviceaccount:kube-system:default ed45d3bd-e486-11e7-8b17-080027a536d6 [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] map[]} ownerrules=[] ruleResolutionErrors=[]

@nsathyaseelan : can you provide more details on your k8s environment?

@kmova I'm running Helm installation in ESX-VM machine running on Ubuntu-16.04
and my helm and kubectl version are as follows :
nishant@nishant-virtual-machine:~/charts$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Unable to connect to the server: dial tcp <IP_ADDRESS>:8443: i/o timeout
nishant@nishant-virtual-machine:~/charts$ helm version
Client: &version.Version{SemVer:"v2.6.2", GitCommit:"be3ae4ea91b2960be98c07e8f73754e67e87963c", GitTreeState:"clean"}
Error: cannot connect to Tiller

@nsathyaseelan  -- check for setting up the help. Did you miss helm init by any chance?

@kmova there is no where mentioned in the helm init its mentioned rm -rf ~/.helm && helm init --client-only if i did this it shows the following
satis@satis-virtual-machine:~/charts$ rm -rf ~/.helm && helm init --client-only
Creating /home/satis/.helm
Creating /home/satis/.helm/repository
Creating /home/satis/.helm/repository/cache
Creating /home/satis/.helm/repository/local
Creating /home/satis/.helm/plugins
Creating /home/satis/.helm/starters
Creating /home/satis/.helm/cache/archive
Creating /home/satis/.helm/repository/repositories.yaml
$HELM_HOME has been configured at /home/satis/.helm.
Not installing Tiller due to 'client-only' flag having been set
Happy Helming!

and it shows Error in the helm install as follows
satis@satis-virtual-machine:~/charts$ helm install openebs-charts/openebs
Error: could not find tiller

If I do helm init it will shows the following
satis@satis-virtual-machine:~/charts$ helm init
$HELM_HOME has been configured at /home/satis/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.
Happy Helming!

But now also helm install gives the following error
satis@satis-virtual-machine:~/charts$ helm install openebs-charts/openebs
Error: could not find a ready tiller pod

My tiller pod is Running
satis@satis-virtual-machine:~/charts$ kubectl get pods --namespace kube-system
NAME                             READY     STATUS    RESTARTS   AGE
kube-addon-manager-minikube      1/1       Running   1          18m
kube-dns-86f6f55dd5-lgm7t        3/3       Running   3          23m
kubernetes-dashboard-6jdd9       1/1       Running   6          23m
storage-provisioner              1/1       Running   2          23m
tiller-deploy-54d558fdbb-lmm6l   1/1       Running   0          10m
satis@satis-virtual-machine:~/charts$ kubectl get pods --namespace kube-system tiller-deploy-54d558fdbb-lmm6l
NAME                             READY     STATUS    RESTARTS   AGE
tiller-deploy-54d558fdbb-lmm6l   1/1       Running   0          11m

ok.. it appears your helm is not able to contact the k8s cluster.. Follow helm guides .. to first get helm to work properly

Helm installation is now working.


Update to Zeebe 0.24 and include Camunda Cloud

Update connect to use latest Zeebe version
Allow and document to use Camunda Cloud

Thanks a lot to @vmaleze for his work on https://github.com/zeebe-io/kafka-connect-zeebe/pull/44 related to this


QUESTION: Is it possible to group menu entries

Hello,
I was wondering if it is possible to add menu entries during runtime to a menu group (if that makes sense)? Let's say I have a modular system and want to add a menu to a particular menu group through various modules, for example:
// Profile Module
$events->listen(BuildingMenu::class, function (BuildingMenu $event) {
  $event->menu->add('Account Settings');
  $event->menu->add([
    'text' => 'Profile',
    'url' => 'account/edit/profile',
  ]);
});

// Notifications Module
$events->listen(BuildingMenu::class, function (BuildingMenu $event) {
  $event->menu->add('Account Settings');
  $event->menu->add([
    'text' => 'Notifications',
     'url' => 'account/edit/notifications',
  ]);
});

Current Result:

Desired Result:

Not at the moment, but this is a nice feature!

I prefer to add array key's to the menu items, then it should be easier to achieve this 😄

Can you give us an example how do you do this @REJack please ?

Checkout my PR #477, I've added there a example that works with my changes.


added favicon and thor theme

Hi @subrato3 your pull request can also be merged. You didn't need to close it.


support OR statement when filtering?

This would be nice to have, but I also don't want to make things too complicated.
Allowing multiple --filter statements might be an option. Multiple statements within a --filter is an AND. And then one can OR across --filter statements.
There are limits to this approach though, and may not be intuitive.

I want to check what is a least surprise implementation, likely from other shell commands. I see the value of it (it's half of what Onyo needs to do) and it needs to be as obvious as possible.

This issue is a douplicate of the more expanded and up-to-date issue #361, so I will close this one.


Docs/prompter

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Docs update

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Adds information about how Web MIDI needs HTTPS (or bypass unsafely-treat-insecure-as-secure-origin set) to work.
Updates all examples of query parameters which god prefixed in Release 30.

Other information:

Status

[ ] Code documentation for the relevant parts in the code have been added/updated by the PR author
[ ] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report
Base: 67.97% // Head: 67.97% // No change to project coverage :thumbsup:

Coverage data is based on head (6dd983f) compared to base (e428091).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           release48     #817   +/-   ##
==========================================
  Coverage      67.97%   67.97%
==========================================
  Files            283      283
  Lines          35010    35010
  Branches        4640     4640
==========================================
  Hits           23799    23799
  Misses         10761    10761
  Partials         450      450

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Wire hex viewing into a few more places

ya, this is closer. at least I can do cat target/debug/engine-q | first 100 and get a hex display. progress = good. just need to wire up the same with text files like cat todo.md | into binary | first 100 and it should be nearly complete.


Chore: Bump orquestra-quantum dependency

Description
Dependency discrepancy - to run anything on benchq, orquestra-quantum==0.11 is required now.
Please verify that you have completed the following steps

[x] I have self-reviewed my code.
[ ] I have included test cases validating introduced feature/fix.
[ ] I have updated documentation.

Closing this, as this will get bumped (along with cirq and qiskit) when #91  is merged later today.


[MO] Missouri added probable cases and renamed confirmed cases

I didn't test this locally, it's just based on their file.

Looks good :ok_hand: :ok_hand:


Added parameter to setResourcePath to add posibility to disable warnings thrown

Added parameter to setResourcePath method to add posibility to disable warnings thrown
Related issue:
#274

Can you add the same pr targeting the releases/3.x branch?

Can you add the same pr targeting the releases/3.x branch? https://github.com/microsoft/azure-pipelines-task-lib/tree/releases/3.x

I opened it here. Could you please take a look. Thank you!

Thanks!

Published!


Feature/cu p1f7t7 floor is lava level2

The fire tiles from the second level now burst alight for a fixed time and in different patterns (To be defined by the design team).
Testing scene: Level2-Iteration_FireTilesTest.scene.
Added prefabs for:

FireTile: single object containing mesh, material, collider and the Script FireTileAnimationController to control it's animations
FireBridge: object containing all Fire Tiles that form the bridge.
FireFinal: object containing all Fire Tiles in the final arena.
FireTilesPieces: object containing both FireBridge and FireFinal, as well as the Script FloorIsLava that control the fire for all tiles.

Task linked: CU-p1f7t7 Floor tiles behaviour - Level 2


mac change doesn't persist

I tried changing the MAC of my wifi, which is en1, by using macchanger -r en1. The program tells me it's successful, but checking the MAC address of my wifi adapter in Network settings shows it still as the old MAC address. When I reboot, it goes back to the original MAC address. Is there a way to make the change persist?
I'm using OS X El Capitan 10.11 with homebrew. Thanks

you can't do it directly with macchanger, but you could use Automator to run the startup command.
Follow this guide and paste your command macchanger -r en1. Hope this helps

The MAC address on the wifi adapter will always show the real address. I'm using El Capitan and it's working great, if you want to be sure run ifconfig en1. Also as @mmathys to make the change persist you can run it as a startup command


implement derivatives of remaining matrix functions

From @PeterLi2016 on August 8, 2014 19:39
This will speed up matrix distributions and stability of the derivatives.
For instance, all the mdivide_ functions and the trace_ functions.
Copied from original issue: stan-dev/stan#836

This issue isn't specific enough, so I'm closing.  Basically, we should have matrix derivatives everywhere possible.


Improve OAuth

Short description of what this resolves:
Notify user if OAuth listener started failed.
Changes proposed in this pull request:
https://github.com/shanalikhan/code-settings-sync/issues/1053#issuecomment-538248184_
Fixes: #1053
How Has This Been Tested?

Execute > Sync: Reset Extension Settings
Reload Visual Studio, the landing page will be shown
Run Thunder on Windows or use http-server to listen 54321 (hs -a :: -p 54321)
Click "Login with GitHub" button, it should show a error notification at right-down corner, and won't open the authorization page
Click "Troubleshooting" button in the notification, it will open the wiki
Back to step 4 again, close the notification will do nothing (don't open the wiki)
Close the application that started in step 3, then retry Login with GitHub, it will works fine.

Screenshots (if appropriate):

Checklist:

[x] I have read the contribution guidelines.
[ ] My change requires a change to the documentation and GitHub Wiki.
[ ] I have updated the documentation and Wiki accordingly.

It should update the Wiki that about how to find which process listened the port, or how to configure manually. But I'm poor in English so It's a little hard to me. Does anyone will do that?

Can you resolve the conflicts so i can merge

Merged. Feel free to contribute in other problems as well.


Unable to set secret = "$$" through azure cli command

The below command returns following output with a value=64144 instead of "$$"
az keyvault secret set --name "SECRET-NAME" --vault-name "KV-NAME" --value "$$"
{
"attributes": {
"created": "2021-06-09T03:00:21+00:00",
"enabled": true,
"expires": null,
"notBefore": null,
"recoveryLevel": "Purgeable",
"updated": "2021-06-09T03:00:21+00:00"
},
"contentType": null,
"id": "https://XXXXXX.vault.azure.net/secrets/SECRET-NAME/db6887278202471583c40e43ab78670b",
"kid": null,
"managed": null,
"name": "SECRET-NAME",
"tags": {
"file-encoding": "utf-8"
},
"value": "64144"
}

Found a work around . Escape the $ value with $

@tamathew shall we close this since you have already fixed by yourself?

@tamathew \ is needed before $ if you want to pass the original $ or else it will be parsed before passing to Azure CLI.


Remove patternProperties validation

Fixes #6.
As it turns out, removing the patternProperties validator with del _Validator.VALIDATORS['patternProperties'] as discussed in #6 is not sufficient. The additionalProperties validator also handles patternProperties and calls _utils.find_additional_properties which identifies all properties that are neither specified via properties nor match patternProperties (see here).
In addition to removing the patternProperties validator, I introduced a custom additionalProperties validator which removes patternProperties (intentionally without mutating the schema) before passing the schema to the original additionalProperties validator.
I've also created a test for the unmarshaler, but I had to use the internal SchemaUnmarshaler::_unmarshal method to avoid validating instance before unmarshaling which should and does fail for this test pair of schema and instance. I couldn't find a better way to test the unmarshaler though. What do you think?

Thank you as always.
I'd like to avoid {k: v for k, v in schema.items() if k != 'patternProperties'} affecting all additionalProperties to make the behavior for patternProperties consistent for users using patternProperties that is not OpenAPI 3 specifications.
Although I change my opinion, how about keeping the current behavior since it is also consistent for good users who don't use patternProperties?

Just to be sure I understand your thoughts correctly:
Although OpenAPI 3 does not support patternProperties, you'd like python-oas to keep supporting patternProperties in case a user decides to use patternProperties despite violating OpenAPI 3. Without merging this PR, python-oas would also validate an instance against a schema containing patternProperties correctly. Did I rephrase your thoughts correctly?
If yes, I think that's a valid point of view as python-oas is not responsible for enforcing OpenAPI 3 compliance and this way python-oas implements a superset of OpenAPI 3 schema validation, so any OpenAPI-3-compliant schema is validated correctly. But there is one inconsistency left in this case: The current unmarshaler does not respect patternProperties which means an instance that is unmarshaled using a valid JSON Schema Draft 4 schema will be unmarshaled incorrectly. For instance:
Schema:
{
  "patternProperties": {"^[a-z]+$": {"type": "string"}},
  "additionalProperties": false
}

Instance:
{
  "foo": "bar"
}

Result:
{}  # should be {"foo": "bar"}

To fix this problem, the unmarshaler needs to first unmarshal all properties specified by properties, then unmarshal all remaining properties that match patternProperties, and then unmarshal the rest according to additionalProperties (which may be an object containing patternProperties as well).

you'd like python-oas to keep supporting patternProperties in case a user decides to use patternProperties despite violating OpenAPI 3.

No, I'd like python-oas to keep unsupporting patternProperties. I'd like to make the behavior of patternProperties undefined in python-oas.

Sorry, I'm a bit confused now. :-D Would you like to keep this PR? And if so, is there anything you'd like done differently? (E.g. I'd replace schema.items() by iteritems(schema))

Sorry for my poor English!

Would you like to keep this PR?

No.
I'd like python-oas to keep the current behavior for patternProperties and call it undefined.  The actual behavior is the following as you commented in #6:

Even though python-oas can validate patternProperties due to jsonschema, it is not officially supported and data is not unmarshaled based on patternProperties anyway.

Sorry for my poor English!
No worries.

I'd like python-oas to keep the current behavior for patternProperties and call it undefined.

Okay. But then python-oas behavior is inconsistent (validation and unmarshaling are not behaving consistently) if someone decides to not comply with OpenAPI 3 and use patternProperties anyway.
I think it's fine to keep it like this (without merging this PR) because users are expected to make sure an openapi.{json,yaml} is valid before passing it to python-oas.

I'd like to tolerate the inconsistency since python-oas is a library for OpenAPI 3 and the fix affects users who comply with OpenAPI 3 even though it may be a little.
Let me close this PR. Thank you for your efforts.


Comment large amount of code

Brackets 1.3.0-16022 (release cd0a6aae5) crash when i did comment a large amount of code in a .php file. I'm using Windows 7 Pro x64 - No errors logged

How large is large (in lines, preferably).
Can you also try Debug > Reload without extensions to see if it's caused by an extension?

Hi.-
About 150 lines of code, but i think it was caused by Live Reload
extension, i'm trying again, thanks
2015-06-15 13:30 GMT-04:30 Marcel Gerber<EMAIL_ADDRESS>
How large is large (in lines, preferably).
Can you also try Debug > Reload without extensions to see if it's caused
by an extension?
—
Reply to this email directly or view it on GitHub
https://github.com/adobe/brackets/issues/11279#issuecomment-112153799.

--
                 Julio Vergara
            Caracas - Venezuela
   http://www.tecnored.blogspot.com

http://www.habanosenvenezuela.blogspot.com

@Claw-Hammer Was the extension responsible for this issue?

Closing inactive thread.


Add latest version to npm

Can you add the latest version to npm?
The version in npm does not have the metadata values for groupChannels.
Also the send message does not seem to work anymore. Perhaps sendbird changed their api.

Bump.

Bump


systemd service

Happy New Year, too!
No really an issue, but an extension (I'm a bit left handed using git pull requests...).
Started using RSCP2MQTT only a few hours ago and found it really great; this is exactly what I was looking for :-)
Hence I created a systemd service to auto-start it on my RPi:

[Unit]
Description=RSCP2MQTT service
After=network.target
After=systemd-user-sessions.service
After=network-online.target
[Service]
User=pi
Type=forking
WorkingDirectory=/opt/rscp2mqtt
ExecStart=/opt/rscp2mqtt/rscp2mqtt -d
ExecStop=pkill rscp2mqtt
TimeoutSec=30
Restart=on-failure
RestartSec=30
StartLimitInterval=350
StartLimitBurst=10
[Install]
WantedBy=multi-user.target

Maybe helpful to others :-)
Create as 'rscp2mqtt.service' in '/etc/systemd/system/'
Config with 'sudo nano rscp2mqtt.service' (adjust USER 'User'=pi, if needed)
Start: sudo systemctl start rscp2mqtt
Install: sudo systemctl enable rscp2mqtt

closed with v2.7


reduce dependencies => vanilla batch function

Call me a leftpad hater, but I'm just not a fan of including a full package (and whatever dependencies and development dependencies it may have) for what can reasonably be by adding < 10 lines of commented code.
This isn't necessary at all, so although it is based off of my previous commit I'm putting this off to the side.

Dependencies are preferred.


Palindrome checker

Hii I'm a GSSoc22 contributor and I'm willing to make a pull request in this repository on my project which is Leap Year Checker.
The idea behind this project
This is a very mini project which can be used to know the information about any year that is leap or not.
###How does it work
Whenever you enter a number in the input box and click submit, we can see the result in a box below .
please refer to these images

@NOiR-07 Please review my PR

@NOiR-07 Please review my PR, I have made the required changes in cardsData File and index file


State of charge not visible in HA - android Phone connection

Hi,
Thanks for this integration.
Installed the mysmartbike app on my android phone and connected my foldable E-bike (Legend Siena)
That's all working fine.
After installation to HA, I only see 2 entities:

Device Tracker with GPS data
Odometer

The "State of charge (Percent, 0-100)" is not visible as an entity
Is there something I need to change in the app or HA to get this visible?
HA is on the latest May 2024.5 release
"integration_manifest": {
"domain": "mysmartbike",
"name": "MySmartBike",
"codeowners": [
"@ReneNulschDE"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/ReneNulschDE/ha-mysmartbike",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/ReneNulschDE/ha-mysmartbike/issues",
"requirements": [],
"version": "v0.2.0",
"is_built_in": false
},
"data": {
"config_entry_data": {
"username": "REDACTED",
"password": "REDACTED"
},
"coordinator_data": {
"LE0000XXXXXXXXXX": {
"serial": "LE0000XXXXXXXXXX",
"odometry": 26400,
"manufacturer_name": "Legend",
"model_name": "Siena Trio",
"longitude": -0.000000,
"latitude": 00.00000,
"last_position_date": "2024-05-04T13:20:18",
"state_of_charge": null,
"remaining_capacity": null
note: serial, long & lat have been modified
Thanks for checking.

Thanks for opening the issue. Looks like my routine to collect the state of charge does not work for your bike. You can help me to fix it...
Please use a browser and go to: https://my-smartbike.com/
Login with the same credentials like in Home Assistant.
Go to the "My ebikes" on the left side.
Open the Developer Tools of the browser, go to Network tab and refresh the page.
You will see all the different requests in the network tab. We are interested on the request to "me"-endpoint and especially the request to /api/v1/objects/me.
Please send the response of this request to<EMAIL_ADDRESS>and I will check the soc issue.
Thanks again. Best René

As discussed via email: The MySmartBike portal has no information about the state of charge for this bike. Looks like not all components are from Mahle.
Will close the issue.


Questions about LocoformerBlock

Hello tf-locoformer team! 👋
Firstly, I wanted to extend my heartfelt appreciation for the groundbreaking work you've accomplished with tf-locoformer.
While diving into your research, I had the pleasure of reading through your paper and examining the code. I stumbled upon a small inconsistency that piqued my curiosity.
In the paper, the LocoformerBlock is elegantly outlined with a half-addition (or 1/2 addition) of ConvSwiGLU, depicted as:
Z ← Z + (ConvSwiGLU(Z))/2     ... (2)
Z ← Z + MHSA(Norm(Z))        ... (3)
Z ← Z + (ConvSwiGLU(Z))/2     ... (4)

This suggests a scaling of the ConvSwiGLU output by 0.5 before summation. However, in the code snippet found at:
https://github.com/merlresearch/tf-locoformer/blob/1d2be38404cf062018a1aaebe4c8103a63b23adc/espnet2/enh/separator/tflocoformer_separator.py#L366-L370
it appears the operation might be implemented as a straightforward addition without the scaling factor.
I'm hoping you could kindly clarify this point for me. It would be a tremendous help in my understanding and application of your work. Thank you ever so much for your time and efforts – they are deeply appreciated!
Warmest regards,
Thank you very much!

Hi @Mashiro009, thank you for reporting the issue.
I am sorry for the confusion.
Yes, we had a 0.5 factor for the paper experiments but removed it by mistake when publishing the code.
However, in preliminary experiments, we found that the scaling factor does not impact the final performance in our model. We kept it in the paper experiments for consistency with some prior work (e.g., Macaron-net).
Although confusing, we will maintain the current implementation to make it consistent with the pre-trained models and add some comments.


Cannot get source files from BC15

The folder 15.0.35659.0-w1-al is empty after container creation with -includeAL and I get this error:
Copying Al Source Files from C:\ProgramData\NavContainerHelper\Extensions\Original-15.0.35659.0-w1-al* to C:\Repos\BC Master\al
Get-Content : Cannot find path 'C:\ProgramData\NavContainerHelper\Extensions\Original-15.0.35659.0-w1-al\app.json' because it does not exist.
I've uninstalled all versions of NAVcontainerhelper and installed it again. Then I restarted Powershell ISE.
This is the script:
$imageName = "bcinsider.azurecr.io/bcsandbox-master:latest-ltsc2019"
$containerName = "bc-master"
$auth = "UserPassword"
$credential = New-Object pscredential 'admin', (ConvertTo-SecureString -String 'P@ssword1' -AsPlainText -Force)
$licenseFile = "C:\licenses\dev license.flf"
docker login "bcinsider.azurecr.io" -u "Username" -p "Password"
New-BCContainer -accept_eula                 -imageName $imageName
-containerName $containerName                 -auth $auth
-credential $credential                 -licenseFile $licenseFile
-updateHosts                 -includeAL
-useBestContainerOS
$alProjectFolder = "C:\Repos\BC Master\al"
$myModifiedObjects = @()
$alFileStructure = { Param ([string] $type, [int] $id, [string] $name)
if ($myModifiedObjects.Contains("$type$id")) {
$folder = "Modified"
}
elseif (($id -ge 50000 -and $id -le 59999) -or ($id -gt<PHONE_NUMBER>)) {
$folder = "My"
}
else {
$folder = "BaseApp"
}
switch ($type) {
"enum"           { "$folder\Enums$($name).al" }
"enumextension"  { "$folder\Enums$($name).al" }
"page"           { "$folder\Pages$($name).al" }
"pageextension"  { "$folder\Pages$($name).al" }
"table"          { "$folder\Tables$($name).al" }
"tableexension"  { "$folder\Tables$($name).al" }
"codeunit"       { "$folder\Codeunits$($name).al" }
"query"          { "$folder\Queries$($name).al" }
"report"         { "$folder\Reports$($name).al" }
"xmlport"        { "$folder\XmlPorts$($name).al" }
"profile"        { "$folder\Profiles$($name).al" }
"dotnet"         { "$folder$($name).al" }
".rdlc"          { "$folder\Layouts$($name).rdlc" }
".docx"          { "$folder\Layouts$($name).docx" }
".xlf"           { "$folder$($name).xlf" }
default { throw "Unknown type '$type'" }
}
}
Create-AlProjectFolderFromNavContainer -containerName $containerName                                        -alProjectFolder $alProjectFolder
-useBaseLine                                        -name "Base Application"
-publisher "Microsoft"                                        -version "<IP_ADDRESS>"
-alFileStructure $alFileStructure
And here's the output:
Login Succeeded
NavContainerHelper is version <IP_ADDRESS>
Host is Microsoft Windows 10 Pro - 1903
Docker Client Version is 19.03.1
Docker Server Version is 19.03.1
Using image bcinsider.azurecr.io/bcsandbox-master:latest-ltsc2019
Removing container bc-master
Removing bc-master from hosts
Removing C:\ProgramData\NavContainerHelper\Extensions\bc-master
Creating Container bc-master
Using license file C:\licenses\dev license.flf
Version: 15.0.35659.0-w1
Platform: 15.0.35510.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.678 (ltsc2019)
Host OS Version: 10.0.18362.295 (1903)
A better Generic Container OS exists for your host (1903)
Using generic image mcr.microsoft.com/dynamicsnav:generic-1903
Generic Container OS Version: 10.0.18362.295 (1903)
Generic Tag of better generic: <IP_ADDRESS>
Using locale en-US
Using process isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\NavContainerHelper\Extensions\bc-master\my:

AdditionalOutput.ps1
license.flf
MainLoop.ps1
updatehosts.ps1

Creating container bc-master from image mcr.microsoft.com/dynamicsnav:generic-1903
55846d0b04407d64dd8969a4625b9141b0a8776e714dbdbdc8082b743ad83f68
Waiting for container bc-master to be ready
Installing Business Central
Installing Url Rewrite
Installing OpenXML
Installing DotNetCore
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
Copying Web Client Files
Copying Client Files
Copying ModernDev Files
Copying PowerShell Scripts
Copying ConfigurationPackages
Copying Test Assemblies
Copying ReportBuilder
Changing Database Server Collation to Latin1_General_100_CS_AS
SQL Server 2017 transmits information about your installation experience, as well as other usage and performance data, to Microsoft to help improve the product. To learn more about
SQL Server 2017 data processing and privacy controls, please see the Privacy Statement.
Copying Cronus database
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Installation took 243 seconds
Installation complete
Initializing...
Starting Container
Hostname is bc-master
PublicDnsName is bc-master
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint EA049C79092727D421B2FD4D25CB84950949AE18
Modifying Service Tier Config File with Instance Specific Settings
Restarting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating lars as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Container IP Address: <IP_ADDRESS>
Container Hostname  : bc-master
Container Dns Name  : bc-master
Web Client          : http://bc-master/BC/
Dev. Server         : http://bc-master
Dev. ServerInstance : BC
Files:
http://bc-master:8080/al-4.0.166043.vsix
Initialization took 75 seconds
Ready for connections!
Reading CustomSettings.config from bc-master
Creating Desktop Shortcuts for bc-master
Creating .net Assembly Reference Folder for VS Code
Copying DLLs from C:\Windows\assembly to assemblyProbingPath
Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\150\Service to assemblyProbingPath
Copying DLLs from C:\Program Files (x86)\Microsoft Dynamics NAV\150\RoleTailored Client to assemblyProbingPath
Copying DLLs from C:\Program Files (x86)\Open XML SDK to assemblyProbingPath
Container bc-master successfully created
Copying Al Source Files from C:\ProgramData\NavContainerHelper\Extensions\Original-15.0.35659.0-w1-al* to C:\Repos\BC Master\al
Get-Content : Cannot find path 'C:\ProgramData\NavContainerHelper\Extensions\Original-15.0.35659.0-w1-al\app.json' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\AppHandling\Create-AlProjectFolderFromNavContainer.ps1:122 char:20

    $appJson = Get-Content "$alFolder\app.json" | ConvertFrom-Jso ...

               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (C:\ProgramData...-w1-al\app.json:String) [Get-Content], ItemNotFoundException
FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

It is likely because the folder was created during an unsuccessful attempt to create the container - then it just looks whether the folder is there.
Maybe I should check whether it is empty.
If you delete the empty folder and retry, then it should work.

It seems as we get one step further but then I get this error:
Cannot find path 'C:\Applications' because it does not exist.
at , : line 7
Cannot find path 'C:\Applications' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Invoke-ScriptInNavContainer.ps1:37 char:13

        Invoke-Command -Session $session -ScriptBlock $scriptbloc ...

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (C:\Applications:String) [Get-ChildItem], ItemNotFoundException
FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
PSComputerName        : 88f6d726f3f1f88a45eec1f6f16d2b82e2c155941584a1fd0d90e91f262c9ca0

Isn't there an Applications folder in this folder: C:\ProgramData\NavContainerHelper\15.0.35659.0-w1-Files
Else you might have tried to run this with an old navcontainerhelper and extracted the content without the applications folder.
Then you need to remove that folder as well.

On my first re-run after deleting the folder 15.0.35659.0-w1-Files I could see that the sub folder Applications was created and I got the app-file created. I still got an error about app.json missing though since Original-15.0.35659.0-w1-al was empty.
On my second re-run I deleted both folders and it worked.
I guess one error was that I had been running on an old version of NAVcontainerhelper and 15.0.35659.0-w1-Files wasn't in good shape. Next error seems to be that Original-15.0.35659.0-w1-al must be deleted
At last/least I got my al files :-) But it was a bit messy...

Agree.
Next version of containerhelper is resilient towards this. It isn't always easy to take all matters into consideration when adding functionality...:-(

I understand that. Feedback from real life use is often the only way to debug things.
Thanks for your help! Now I have what I need to align our app with BC15.


Moving .tscn files in the file dock creates pointless diffs

Godot version:

3.1
OS/device including version:

Win 7
Issue description:

After moving sever .tscn files using the move command in the editors file dock, it created diffs in each and every file removing several newline characters.
It seems this might be caused by some additional/lacking check between when a tscn files is normally saved after being edited by the user, and when it is modified automatically. (Moving through the file dock will attempt to fix otherwise broken filepaths.)

I might also have been something else. Since i have a commit for moving the files, which remapped the paths. And then later these additional diffs appeared for seemingly no reason. (Note that i did nothing to those files in the editor between those two diffs. I simply changed one unrelated script and saved it.)

It's due to difference in a line of rename_dependencies() and save() functions, isn't it?
https://github.com/godotengine/godot/blob/7bb2215ed0d7415179a8b59ad4766a3b573cf696/scene/resources/resource_format_text.cpp#L1586
https://github.com/godotengine/godot/blob/3418f76a9eab9f496e5b26310bd3bc1125b8119b/scene/resources/resource_format_text.cpp#L794

No longer present.


Separating the Kubernetes vs OpenShift configs

For a user who is only dealing with Kubernetes and has no clue of OpenShift, how do we facilitate that she does not mix the OpenShift artifacts in between? Right now there is no way to know which config is meant for which cluster. We will only find that out when we are trying to deploy the configs using oc and oc binary is not available.

Currently, everything is structured in a provider agnostic manner, the same config can take both Kubernetes and OpenShift specific definitions.
Do you see a problem with the current approach where we don't take the provider into account? If the end user is writing OpenShift definitions using Kedge, then we expect them to have the oc binary anyway.

For a user who is only dealing with Kubernetes and has no clue of OpenShift, how do we facilitate that she does not mix the OpenShift artifacts in between?

If the users is dealing with only Kubernetes and doesn't have a clue about OpenShift that he will use just Kubernetes types in his Kedgefile. I don't see any problem there.


Improve file_fetcher for GitHub Actions

In an earlier commit we introduced the feature where dependabot
also looked for "action.ya?ml" files in the root directory in addition
to what could be found in the ".github/workflows/" folder. However,
what was not known at the time was that the action.yml files do not
need to reside directly in the root directory, but may be nested in
subdirectories.
While the code (unintentionally) worked with subdirectories it has now
been updated to be a bit more clear in what it will look for.

This was created after the discussion that arose here: https://github.com/dependabot/dependabot-core/issues/4178
I also once again just want to highlight that this is my second time writing anything in Ruby, so any comments regarding best practices are welcome :)

I am not super fond of having the special case of also scanning the workflows folder when the directory you define is actually just "/", but the alternative is to make a special case where we catch all .yml files in case the directory given is ".github/workflows".
However, that would break all current dependabot setups which I guess would upset more people.
A more drastic solution is to split this out into a separate composite_action scanner/ecosystem. But that would cause a lot of duplicate code.


[Bug]: Multi-upload continues even after pausing all

Summary
Pausing does not work correctly in multi-upload.
Steps to reproduce

Select 4 pictures in your gallery app
Share → Send to Commons app
Pause all 4 pictures

Expected behaviour
Uploads do not progress anymore.
Actual behaviour
One of the pictures continues uploading.
Pausing it makes a different one start uploading.
Even exiting the app (apps button then swipe up) does not make it stop.
Here you can even see the app continuing to upload even though the play/pause button suggests it is paused:

Device name
Samsung S10
Android version
Android 9
Commons app version
master
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
Prefer not

can I work on this ??

Hey @nicolas-raoul, I found that this problems only happens  when user pause the upload before the actual upload start by the upload worker, let me explain me with example that,

Suppose you upload the 4 photos, those 4 photos will be queued by the upload worker,
you pause the first upload,  now there is a delay between pausing First upload and starting the next upload.
in this delay you paused the all remaining 3 uploads but upload-Worker did not know about it, upload-Worker still has queued uploads so it will start the upload of queued uploads, but they are paused from point of view of the user and that causing the issue

I hope that make sense 🤔
So, solution to this is that, we will only display the pause-resume button when it actually starts the upload and initially we also have to set the state of uploads as queued other than first one and it will also an good user experience.
what do you think ?

Hey @4D17Y4,  can you also give it a think on above comment and this issue

@nicolas-raoul, please have a look on above comment, so that i can move forward

@nicolas-raoul, please update on this, thanks

Sorry for the delay!
Pausing may be used by people who are on a slow or costly Internet connection, so being able to pause uploads before they start is a good feature to have...

Strangely I can't reproduce this in master anymore.

I think that's because we added the pause dialogue, but in my device i am able to reproduce even with the pause dialogue.

Indeed that's probably linked!
Would you mind posting updated steps for reproduction? Thanks a lot!

Here are the steps:

Upload multiple images from the app
Try to stop the all four fast
And one image will be still uploading

I followed above step and able to reproduce

Strange, I do not reproduce despite using the same steps. I tried several times.

@nicolas-raoul I tried to reproduce this issue several times, but it's not reproducible on the master anymore. I think it was solved by some PR, can we close this?

@nicolas-raoul I tried to reproduce this issue several times, but it's not reproducible on the master anymore. I think it was solved by adding the Pause Dialog, can we close this and the related PR?

@ShashwatKedia  I tried to pause a 10-pictures multi-upload, and some of the pictures got uploaded anyway. I will send a screencast shortly. :-)

@ShashwatKedia  I tried to pause a 10-pictures multi-upload, and some of the pictures got uploaded anyway. I will send a screencast shortly. :-)

Oh, strange. Sure, a screencast will surely help in reproducing the issue.

https://github.com/commons-app/apps-android-commons/assets/99590/b149ab3e-d466-4235-93e6-bc716f0b6d96

This issue has been fixed by GSoC 2024. :-)


Backport "jsoup: 1.14.3 → 1.17.2" to LTS

Backports #19564 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-19605.
Reference


Images in walkthrough are broken on Codespaces

Steps to Reproduce:

Create a Codespace with a Java repo.
Open Walkthrough ...
Choose "Dive into Java Development ......"

Same for Python extensions:

I am not able to reproduce this at the moment. Can you confirm you're still seeing this?

It's working well now.
Version: 1.60.2
Commit: 7f6ab5485bbc008386c4386d08766667e155244e
Date: 2021-09-22T11:58:31.782Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36 Edg/94.0.992.31

Verified, looked good with a couple of python ones.


[Bug]: "List Tab" button not following accent theme when "clicked" on

What happened?
A couple versions ago, the system accent theme was fixed for the hover colours of tab elements, but it still shows up in the old default material colour when clicked, rather than the system accent theme colour.

Steps to reproduce the problem

Open Firefox
Click on the List Tab button
Observe the theme discrepancy

Additional info (Optional)
Firefox version: 127.0.2
Operating system: Windows 11

And just to clarify, it is only in dark mode that this occurs on the most recent version (v1.2.4).


Generate token

Work
Adds Generate Token to client.
Code snippet
 client.generate_token(token_type: "card", user_id: "5830def0-ffe8-11e5-86aa-5e5517507c66")
#=> {"token_type"=>"card", "token"=>"86de43884bf3bbe32206a7011f77678b", "user_id"=>"5830def0-ffe8-11e5-86aa-5e5517507c66"}

Coverage decreased (-0.0006%) to 99.512% when pulling 659d4a4cc704a2c00f8424a167e36fd3d6cb9739 on generate_token into b5c4e211acb0a0dfe3fe32df12b4c93a4ffb14bc on master.

Looks great. Merging this in now.


Change directive default to binding=True

This is a breaking change. It replaces the generation of Python PyCFunctioninstanced for compiled Python functions to use CyFunction.

Could you please explain how this will impact future cython code (higher performance ? more compatibilty/flexibility ? ...), I have trouble understanding the role of this compiler directive :/
Thanks !

The binding directive makes Cython functions/methods use a custom type, instead of Python’s normal C-function type. So type(my_cython_func) is not type(len) (though inspect works correctly), but the custom type allows them to behave more like pure-Python functions instead of inheriting the builtins’ behaviour.
The most obvious change (why it’s called “binding”) is that builtins functions can’t be bound - if you do myClass.len = len, calling that on an instance won’t pass self as the first argument. It also allows emulating function attributes, so for example __defaults__ is set to the right thing - though you can’t write to it.