Smarter project provisioning (from .mobileprovision)

Features:

I've created a "update_project_provisioning" action to apply .mobileprovision's UUID to a projects project.pbxproj (project provisioning settings).

Dependencies:

GEM: pbxplorer (manipulate project.pbxproj; added to gemspec)

Potential Problems:

Not yet tested with multiple xcode targets. It currently applies the provisioning to the first target in the project.

Coverage decreased (-0.56%) to 81.43% when pulling dc89555f0da70b05e9b348282a16a591f912b5b5 on MagLoft:master into 3d47af18dea501547b691b559b3ab36b2fb3e95a on KrauseFx:master.

I actually wanted to improve my existing action to work better, but your solution seems much better and cleaner. Does that work with WatchKit targets as well? I need to set a separate provisioning profile for the Watch app.
Out of curiosity: why do you modify the project instead of providing the signing options using the build parameters for xcodebuild or ipa (shenzhen)? It should work, but never really worked for me, that's why I always modify the Xcode project instead.
Would love to get this resolve the right way :+1:

This pull request breaks the tests: https://travis-ci.org/KrauseFx/fastlane/jobs/63482723
     Failure/Error: expect(action.description.length).to be <= 80, "Provided description for '#{name}'-action is too long"
       Provided description for 'update_project_provisioning'-action is too long

Please reduce the description text and move all further information into the information method.
Also, once we decided how the API looks like, we need to update docs/Actions.md
Thank you for submitting the pull request, this will be a very cool thing :rocket:

Hi @KrauseFx,
great to see your fast reply, this project is definitely active ;-)
We publish apps for our clients but also provide the source code to them on demand. For that purpose we're writing the provisioning information into the project configuration. And also, i wasn't lucky with ipa/shenzhen, building failed until i've updated the project files.
To be honest, i wouldn't have thought of WatchKit at all. Is WatchKit handling provisioning differently? I'm almost certain that it's supported, but it's better to have that tested before merging.
I'll update the description tomorrow and write a spec for it. Guess i'm not the first to appreciate the amazing job you're doing.

Thank you @tobiasstrebitzer, I merged it already, as I want to play around with it and try to add WatchKit Support :+1:

@tobiasstrebitzer The main problem I have right now with this solution is that it destroys the existing xcode project file, resulting in a unusable git diff. I'd love to find a better solution.

@KrauseFx, i see. An alternative way would be to batch in the changes using regex replacements... although that's kind of tricky as the pbxproj format can hold multiple build configurations and targets.
Does the project open for you in xcode afterwards?


Distinguish IE and Edge

In your demo script IE and Edge cannot be configured separately. It's all merged in the e parameter, right?
{notify:{e:-6,f:-4,o:-4,s:-2,c:-4},insecure:true,api:5};
Is there a way to control the IE version separetely from Edge?
{notify:{i: -3, e:-6,f:-4,o:-4,s:-2,c:-4},insecure:true,api:5};
(btw: Big thanks for the great product!)

This should actually work. However to target the old internet explorer
version specify it with a positive number:
e.g.
i:9
or whatever
Best,
Thomas
2018-04-23 12:29 GMT+02:00 Scott Bold<EMAIL_ADDRESS>
In your demo script IE and Edge cannot be configured separately. It's all
merged in the e parameter, right?
{notify:{e:-6,f:-4,o:-4,s:-2,c:-4},insecure:true,api:5};
Is there a way to control the IE version separetely from Edge?
{notify:{i: -3, e:-6,f:-4,o:-4,s:-2,c:-4},insecure:true,api:5};
(btw: Big thanks for the great product!)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/browser-update/browser-update/issues/383, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIErKl-gRU5QayDmv7YMm7xJaP7hsDQyks5tra0VgaJpZM4Tfoqy
.

Thanks. Can I force to notify all IEs with something like:
{notify:{i:0,e:-6,f:-4,o:-4,s:-2,c:-4},insecure:true,api:5};

You can use i:11
Or just use e:-4 and omit the i
2018-04-24 10:58 GMT+02:00 Scott Bold<EMAIL_ADDRESS>
Thanks. Can I force to notify all IEs with something like:
{notify:{i:0,e:-6,f:-4,o:-4,s:-2,c:-4},insecure:true,api:5};
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/browser-update/browser-update/issues/383#issuecomment-383857148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIErKnj6f-8fEl5Mmy_n9ANGIgqGw91Kks5trukjgaJpZM4Tfoqy
.

This works now.
See
http://browser-update.org/blog/18_notify_outdated_ie_and_edge_separately/


cds-icon in button misaligned when placed in clr-dropdown

Describe the bug
The icons are not centered vertically.

How to reproduce
https://stackblitz.com/edit/clarity-light-theme-clr12-cds5-of9ull
Expected behavior
Centered icons
Versions
Clarity project:

[x] Clarity Core
[X] Clarity Angular/UI

Clarity version:

[X] v5.6.0

Framework:

[X] Angular

Framework version:
_ie: Angular 12.0.2

The .dropdown-toggle style overrides margins, you can hotfix this bug using these styles:
.dropdown .dropdown-toggle.btn cds-icon{
  margin-top: -.14rem;

  &[shape=angle]{
    margin-top: -0.1rem;
  }

}

@dorthrithil thanks for reporting this and for the hotfix :)

After investigating, looks like this is caused by this line: https://github.com/vmware/clarity/blob/e074c2329eac008499b73602cc477c96a2669353/projects/angular/src/popover/dropdown/_dropdown.clarity.scss#L28. Apparently, we set margin to 0 for all immediate children of the dropdown toggle. Looks like this has existing all the way since "commit 0" of v1. Removing this line would fix this issue. I can't think of why we would have this line. @bdryanovski can you weigh in on why we might have added this line?

Apparently, we set margin to 0 for all immediate children of the dropdown toggle. Looks like this has existing all the way since "commit 0" of v1. Removing this line would fix this issue. I can't think of why we would have this line. @bdryanovski can you weigh in on why we might have added this line?

I'm drawing a bit of a blank on why that is there. I'm sure it was put there for a reason. Since the code goes all the way back to commit0, the code predates open-source and it is very likely that the code is from our Bootstrap days and is no longer applicable.

Note also that, back in the commit0 days, a lot of our icons were base64 svg. Clarity Icons was still just POC back then. So this might also be related to those old base64 icons we had...

closing this as it was fixed with https://github.com/vmware/clarity/commit/0cb5c3b6d1c41cb1fd57f84088db47481d15d698


setup_data.sh not in bioconda release

Appears only python scripts were added. Will need to modify setup.py so setup_data.sh is accessible on Bioconda install

Note: removing this if statement in setup.py does make bioconda install the setup_data.sh script. However, @nlapier2 as noted in #34, since setup_data.sh could be run from anywhere, I suggest the following:

Make setup_data.sh require the user to put a directory <dir> where they want the data downloaded. I suggest using the same flag --db_dir so the user sees clearly how it ties in with metalign.py.
Put spec_db_info.txt on box as well (as this is tied to the default training data anyways) so it (along with all training data) gets put in <dir>
In metalign.py, leave --db_dir but remove --dbinfo_in (as from 2 above, it will already be inside whatever directory the user specified in 1).


Bake this project into the automated release process

Story
No response
Description
Have release tag and publish based on release time

@hardillb Any update on this issue? It's close to the release date, and it's still open.

Verification will be as part of the release on Thursday


Upgrade to 3.0.14 TLS issue

Describe the bug
I recently upgraded from 3.0.13 to 3.0.14 and it appears there are some issues with connecting to GCP Core IoT over TLS. These errors are occurring on MacOS BigSur and I'm targeting .NET Core 3.1. The following is the managed client configuration that worked with 3.0.13.
_logger.LogInformation($"Connecting to MQTT as {ClientId}");
var options = new ManagedMqttClientOptionsBuilder()
    .WithAutoReconnectDelay(TimeSpan.FromSeconds(5))
    .WithClientOptions(new MqttClientOptionsBuilder()
        .WithClientId(ClientId)
        .WithCredentials(this)
        .WithTcpServer(_lookConfig.CurrentValue.MqttHost, _lookConfig.CurrentValue.MqttPort)
        .WithProtocolVersion(MqttProtocolVersion.V311)
        .WithKeepAlivePeriod(Constants.KeepAlive)
        .WithTls()
        .Build())
    .Build();

_client.UseConnectedHandler(async args =>
{
    await _client.SubscribeAsync(ConfigTopic, MqttQualityOfServiceLevel.AtLeastOnce);
    await _client.SubscribeAsync(CommandsTopicSubscription, MqttQualityOfServiceLevel.AtMostOnce);
});

When I upgrade to 3.0.14 and run with that exact configuration, I receive the following error:
MQTTnet.Exceptions.MqttCommunicationException: Authentication failed, see inner exception.
 ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
 ---> System.PlatformNotSupportedException: The requested security protocol is not supported.
   at System.Net.SafeDeleteSslContext.SetProtocols(SafeSslHandle sslContext, SslProtocols protocols)
   at System.Net.SafeDeleteSslContext.CreateSslContext(SafeFreeSslCredentials credential, Boolean isServer)
   at System.Net.SafeDeleteSslContext..ctor(SafeFreeSslCredentials credential, SslAuthenticationOptions sslAuthenticationOptions)
   at System.Net.Security.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, ArraySegment`1 inputBuffer, Byte[]& outputBuffer, SslAuthenticationOptions sslAuthenticationOptions)
   --- End of inner exception stack trace ---
   at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessAuthentication(LazyAsyncResult lazyResult, CancellationToken cancellationToken)
   at System.Net.Security.SslStream.BeginAuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken, AsyncCallback asyncCallback, Object asyncState)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__65_0(SslClientAuthenticationOptions arg1, CancellationToken arg2, AsyncCallback callback, Object state)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1,TArg2](Func`5 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, TArg2 arg2, Object state, TaskCreationOptions creationOptions)
   at System.Threading.Tasks.TaskFactory.FromAsync[TArg1,TArg2](Func`5 beginMethod, Action`1 endMethod, TArg1 arg1, TArg2 arg2, Object state, TaskCreationOptions creationOptions)
   at System.Threading.Tasks.TaskFactory.FromAsync[TArg1,TArg2](Func`5 beginMethod, Action`1 endMethod, TArg1 arg1, TArg2 arg2, Object state)
   at System.Net.Security.SslStream.AuthenticateAsClientAsync(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken)
   at MQTTnet.Implementations.MqttTcpChannel.ConnectAsync(CancellationToken cancellationToken)
   at MQTTnet.Implementations.MqttTcpChannel.ConnectAsync(CancellationToken cancellationToken)
   at MQTTnet.Internal.MqttTaskTimeout.WaitAsync(Func`2 action, TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at MQTTnet.Adapter.MqttChannelAdapter.WrapAndThrowException(Exception exception)
   at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options, CancellationToken cancellationToken)

When I update the .WithTls() to the following:
.WithTls(config => config.SslProtocol = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12 | SslProtocols.Tls13)

And then run, I get the following error:
MQTTnet.Exceptions.MqttProtocolViolationException: Expected at least 258 bytes but there are only 3 bytes
   at MQTTnet.Formatter.MqttPacketBodyReader.ReadSegmentWithLengthPrefix()
   at MQTTnet.Formatter.MqttPacketBodyReader.ReadStringWithLengthPrefix()
   at MQTTnet.Formatter.V3.MqttV310PacketFormatter.DecodeConnectPacket(IMqttPacketBodyReader body)
   at MQTTnet.Adapter.MqttChannelAdapter.ReceivePacketAsync(CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.TryReceivePacketsAsync(CancellationToken cancellationToken)
   at MQTTnet.PacketDispatcher.MqttPacketAwaiter`1.WaitOneAsync(TimeSpan timeout)
   at MQTTnet.Client.MqttClient.SendAndReceiveAsync[TResponsePacket](MqttBasePacket requestPacket, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.AuthenticateAsync(IMqttChannelAdapter channelAdapter, MqttApplicationMessage willApplicationMessage, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options, CancellationToken cancellationToken)

Which project is your bug related to?

ManagedClient

The upgrade works fine when I run it on Ubuntu, so this maybe appears to be Mac specific.

@chrisdrobison To me looks like a .net issue. The Stack Trace contains System.PlatformNotSupportedException: The requested security protocol is not supported. which indicates that this protocol is not supported on macOS. If this was removed from .net etc. is not part of this project because we only use .net here.

Perfect. I’d just thought I’d post this just in case someone hits it in the future.

Hello, can anybody tell me what is fix for this issue ?

Maybe downgrade to TLS1.2 as described in https://github.com/chkr1011/MQTTnet/issues/1085#issuecomment-788067211.


Public SerializerOptions

Allow to add a custom json converter.
#168

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

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

Expand to view the summary

Build stats

Start Time: 2022-03-15T13:50:28.006+0000

Duration: 3 min 53 sec

Pipeline error

  This error is likely related to the pipeline itself. Please go to the traditional console output here"
  You will see the error (either a wrong syntax or configuration)

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

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

/test

@Mpdreamz is it possible to get this minimal change in?

I was about to ask for the same feature when I came across this PR. @cwuethrich @Mpdreamz The JsonConfiguration class is still internal.


HTML cannot be exported

Describe the bug
HTML cannot be exported
Operating System
Windows11
To Reproduce
Export any file or ask for quotation folder as html, export fails
Screenshots

This bug was already reported, it was the latest one before this one haha. See #204
I am looking into this but I will not be able to fix it immediately.


tests(parser): Add test coverage for help/usage text

#243 added a number of tests for the parser package, but help and usage text coverage is still lacking. Add tests that ensure help/usage text is printed when desired.

This issue was moved to teamhephy/workflow-cli#17


Convert "questionable" cache methods to addons

With the 1.1 caching system it's just a matter of adding a file in the appropriate position.
Since some are old (eAccelerator, MMCache) and some are questionably useful (file-based), at least these should be removed from the core and provided (really?) as addons.

If someone really want to use them, let them make the addons.

Before implementing this one, I'd like to have a different cache for the js/css hives, so that we can have less issues on cleaning cache and limiting external access to files (i.e. htaccess) and later drop CACHEDIR that would be implemented only by the addong.
The theme cache dir could be stored in $settings['theme_cache_dir'] or something like that.

The last comment is implemented, but considering remove CACHEDIR would potentially break themes caching (i.e. hives), I feel like moving to 2.0.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Debugging problems on Android 7.0

The most recent flutter updates (on this week) have made some problems with debugging for applications in android 7.0. In particular, there is no feedback between Android Studio / Intellij IDEA and the device. The only thing can see on the console (tab "run") is the following lines after running:
Phone LG G5 SE. Android 7.0
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...

Tablet LG  LG G Pad™ X 8.0. Android 7.0
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...

You can't debug the application. It's impossible to even see tracing. Further, no interaction between studio and android device is observed. Can't also terminate the application on the device.
The most interesting thing is that with devices with android 5.* such problems aren't present:
Samsung Galaxy S6 Edge,  Android 5.1.1
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
I/Timeline(12673): Timeline: Activity_idle id: android.os.BinderProxy@1b24ffd1 time:23912481
Syncing files to device SM G925I...
D/        (12673): [G3D][cpomp_get_shader_from_blob_cache][compile_status: 1][shader_size: 0][ir_size: 7582]
D/        (12673): [G3D][cpomp_get_shader_from_blob_cache][compile_status: 1][shader_size: 0][ir_size: 11059]+
D/        (12673): [G3D][cpomp_get_shader_from_blob_cache][compile_status: 1][shader_size: 0][ir_size: 7582]
D/        (12673): [G3D][cpomp_get_shader_from_blob_cache][compile_status: 1][shader_size: 0][ir_size: 7582]

LG G3, Android 5.0
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Syncing files to device LG D855...
I/flutter (20614): /storage/emulated/0/hsmSchemes/Scheme -- exists
I/flutter (20614): read->{
I/flutter (20614):   "uuid": "5d84d460-9620-11e8-d1cb-1d6135b0da84",
I/flutter (20614):   "name": "basicEvents",
I/flutter (20614):   "time":<PHONE_NUMBER>859,
I/flutter (20614):   "updateTime":<PHONE_NUMBER>859,
I/flutter (20614):   "events": {
I/flutter (20614):     "container": [
I/flutter (20614):     ]
I/flutter (20614):   },
I/flutter (20614):   "shapes": {
I/flutter (20614):     "shapes": [
I/flutter (20614):     ]
I/flutter (20614):   }
I/flutter (20614): }

You couldn't explain, what's the matter and how to get out of this situation, except to return to the old phone model? The situation is absolutely the same in Android Studio and Intellij IDEA. Apparently the problem with the plugin. Just in case, the result of execution of flutter doctor:
/home/misha/flutter/bin/flutter --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.7.3, on Linux, locale en_IL)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2018.2)
[✓] Connected devices (1 available)

• No issues found!
Process finished with exit code 0

NB! I've checked this strange issue on three computers with three different versions of Linux (Linux Mint 17.3, 18.2 & 19.0). Everywhere the same thing is repeated. The error is regular.

Have you tried with an emulator?

In this case (without any connected appliances) a message box appears with the text:
"No connected devices found; please connect a device, or see flutter.io/setup for getting started instructions".

Recent updates of flutter have solved the problem.


LazyCollection groupBy not working as intended

Laravel Version: 6.18.0
PHP Version: 7.3

using groupBy on LazyCollection is returning Collection instead of LazyCollection
I tried to use following code:
// ContactHelper.php
public static function getContacts($file, $listId, $defaultPrefix = null)
    {
        return LazyCollection::make(function() use ($file, $listId, $defaultPrefix) {
            $f = fopen($file, 'r');

            // read each line of the file without loading the whole file to memory
            while ($line = fgets($f))
            {
                $row = explode(",", $line);

                if (trim(urlencode(strtolower(trim($row[0]))), '%EF%BB%BF') == "phone" || empty(trim($row[0])))
                {
                    continue;
                }
                yield [
                    'phone'     => !empty($row[0]) ? handleInvalidStrings(trim($row[0])) : '',
                    'firstname' => !empty($row[1]) ? handleInvalidStrings(trim($row[1])) : '',
                    'lastname'  => !empty($row[2]) ? handleInvalidStrings(trim($row[2])) : '',
                    'email'     => !empty($row[3]) ? handleInvalidStrings(trim($row[3])) : '',
                    'custom1'   => !empty($row[4]) ? handleInvalidStrings(trim($row[4])) : '',
                    'custom2'   => !empty($row[5]) ? handleInvalidStrings(trim($row[5])) : '',
                    'list_id'   => $listId,
                ];
            }
        });
    }

$contacts = \App\Helpers\ContactHelper::getContacts(public_path('/file_250k.csv'), 113);
// LazyCollection
    $test = $contacts->groupBy('phone')->chunk(20)->each(function ($item, $key) {
        dd($item); // LazyCollection with Collection inside
    });

Result:
https://www.dropbox.com/s/j17x4qh96l0q7jc/Screenshot 2020-03-10 23.15.08.png?dl=0

@JosephSilber is this correct?

The inner values of each group are a Collection. Correct.

@JosephSilber If the inner values of each group is a Collection and it uses the entire memory to process/fetch the data, what is the use of LazyCollection?

Some operations, such as sorting and grouping (which is just another form of bucket sort) cannot be done lazily. That's just the nature of these operations.
In these cases, there indeed is not much benefit to using a lazy collection.1
You only gain back the laziness advantage as you chain methods onto the result.

1 Even though the actual sorting and grouping cannot be done lazily, they are still deferred to when you actually start enumerating the values. If no values are ever enumerated, nothing is ever pulled from the source. In that sense they're still somewhat lazy.


Fix stage sync

Fixes a regression introduced in #1204.

I don't understand it but LGTM.

previousMaterialID is required to ensure proper order of drawcalls w.r.t. consecutive surface stages. And it has to not be reset after processing a stage for that.


Can't nest code blocks in ordered list

I wrote the subject line presumptuously, just to be succinct.  If there is a way to accomplish this now, please tell.
Is there a way to nest ```code blocks``` in an ordered list and keep the same list going?  With every combination I have tried, the code block ends the previous ordered list and a new list starts.  So even though I am continuing what I want to be the same list, the numbering resets and starts at one again.
My work-around is to use the great feature where the first number of the resumed list is honored, but it still causes problems for me because I import my HTML into MS word and the numbering gets all screwed up because Word sees that it is a different list.

it appears that GitHub Doc list processing has a bug for code fence processing nested fenced code elements.
GitHub and CommonMark both use list item content column as the indentation level. GitHub Doc has a bug and does not work. Temporarily switch to CommonMark. I will address this in the parser library and release a fix.
* item

  ```
  fenced code
  ```

@unsaved, for ordered lists you need to indent to the item content:
1. item

   ```
   fenced code
   ```

@unsaved, repo updated. Maven release in progress, may take a bit for the central update.

@unsaved, was this the issue you were having or was it something else?

Ty for work-around and upcoming permanent fix.  I had tried indenting the fence with CommonMark, but I indented only the content, not the back-tick lines (which I incorrectly thought needed to stay at column 1).
Works great when I mark up correctly with CommonMark.

@unsaved, thank you for reporting this.
It worked by accident since the fix for embedded heading in code fence in list item fix. Tests and code fixed now and Maven updated but may take time to reflect in the central index.


Explicit Paper and Digital examples

With 1.3.0 we have introduced a expanded set of examples. The examples are provided to show the "golden standard" schema usage. Why? Because it helps guide implementors to walk on the path towards success.
One issue remaining is that the examples were not created with digital / paper certificates in mind.
Split the examples further into digital and paper variants, changing the contents so that they match the rules for each variant. At time of writing I believe this is a case of using the checksum in the certificate identifier, but please check the specifications carefully when working on this issue :-)

@martin-lindstrom added this based on your comment ;)

Minor differences - primarily in terms of display for UVCI, but there exist different schools of thought on even this point.

Luhn-Mod-N is really only for print so can be argued should not even be in the digital version
The URN:UVCI: prefix likewise adds nothing to a print version as it is intended for machine reading

that said, there are plenty of apps nowadays (banking, for example) that scan paper for e.g. an IBAN number and enter it for you etc - so there is nothing stopping an app scanning the UVCI and processing it - for which the URN:UVCI: prefix * would * be needed, even on the paper version

Much wider ramifications than just adding a couple of test examples


Support for Retrieving Jenkins Build Duration Metrics via OpenTelemetry Plugin

Hello OpenTelemetry Development Team,
I have been working on integrating Jenkins with OpenTelemetry to collect build metrics. While I've made some progress, I've encountered challenges in retrieving certain metrics and would like to seek your assistance or guidance.
Objectives:

Retrieve Build Duration Metrics for Jobs:
I need to collect the build duration metrics for individual Jenkins jobs. This includes capturing the time each build takes to complete.

Calculate Average Build Duration for Specific Jobs:
I aim to compute the average build duration over time for specific jobs to analyze performance trends.

Challenges:

Unified Data Collection:
I wish to obtain all the metrics that the Jenkins Prometheus plugin provides but exclusively using the OpenTelemetry plugin. My goal is to avoid using multiple collectors and centralize all data collection through OpenTelemetry.

Plugin Support and Roadmap:
It appears that the current OpenTelemetry Jenkins plugin may not support some of these metrics out of the box. If that's the case, I am willing to contribute to the plugin's development. I would greatly appreciate a roadmap, guidelines, or any documentation that could assist me in extending the plugin to support these metrics.

Additional Goals:

Grafana Dashboard Integration:
Ultimately, I aim to create a Grafana dashboard that visualizes all the collected Jenkins metrics in one place, leveraging the data from OpenTelemetry.

Current Implementation:
I have created a repository with my current setup and attempts to achieve these objectives:

GitHub Repository: https://github.com/miraccan00/Jenkins-Otel-Grafana
This repository includes the configurations and code I've been working with, which may help in understanding the current state and the issues I'm facing.

Request:

Support and Guidance:
Could you please advise on whether the OpenTelemetry Jenkins plugin currently supports these metrics? If not, what would be the recommended approach to implement this functionality?

Collaboration Opportunity:
If development is needed to add this feature, I am eager to contribute. Guidance on how to proceed or whom to collaborate with would be highly appreciated.

Thank you for your time and consideration. I look forward to your response and the possibility of enhancing the Jenkins OpenTelemetry integration together.
Best regards,

Great suggestion!
For the build metrics, please see:

https://github.com/jenkinsci/opentelemetry-plugin/pull/959

Longer term you are absolutely right, the Jenkins otel plugin should provide all the metrics needed by Jenkins admins and users.

The opentelemetry-plugin also supports sending build traces to a tracing backend (elasticsearch/jaeger).
These traces can be queried to calculate metrics which can be displayed on a dashboard. These are also called span metrics.
This is already possible in the current version of the plugin by using the span duration grouped by ci.pipeline.id attribute set on the root span of the build.
If you also want duration metrics for individual stages per-pipeline that is possible by adding withSpanAttributes to your jobs.
cf. https://github.com/jenkinsci/opentelemetry-plugin/issues/952#issuecomment-2388922816, https://github.com/jenkinsci/opentelemetry-plugin/issues/811#issuecomment-2116113648
In general it's not a good idea to have very specific metrics (ie. specific to a single job run) because of the cardinality issue some metric backends suffer from (eg. Prometheus). Usually metrics are used to aggregate data (counts, histograms, …) while traces/logs consider individual requests/events.
For traces/logs it's possible to use sampling to reduce the amount of data needing to be processed and stored. If a sampling rate of 100% is used than any metric calculate based on the traces should be accurate.
I think https://github.com/jenkinsci/opentelemetry-plugin/pull/959 is a great addition to the opentelemetry-plugin. It is fine since it aggregates the individual job runs for a given pipeline and gives administrators control over which pipelines should be monitored specifically.
What it does not allow is querying the exact build duration for a specific job run.
Having metrics specific to a job run would be problematic. The prometheus-plugin has such an option which is thankfully guarded by a configuration option, but it is global and does not allow filtering which jobs it applies to:

In my experience if you want per-run metrics you are better of to query the traces.

Please use the ci.pipeline.run.duration{ci.pipeline.id="<<pipeline full name>>", ci.pipeline.result="<<SUCCESS, UNSTABLE, FAILURE, NOT_BUILT, ABORTED>>"} histogram metric we have just released.
ℹ Use the otel.instrumentation.jenkins.run.metric.duration.allow_list and otel.instrumentation.jenkins.run.metric.duration.deny_list to specify the pipelines for which you want to capture the run duration, other pipelines will be aggregated in the ci.pipeline.id="#other#" time series.
See documentation https://github.com/jenkinsci/opentelemetry-plugin/blob/main/docs/monitoring-metrics.md#build-duration
I'm marking your enhancement request as solved. Please open new enhancement requests if needed.

Thanks for addressing my enhancement request and providing the solution. I appreciate the prompt response and detailed guidance.


python310Packages.zha-quirks: 0.0.98 -> 0.0.99

Diff: https://github.com/zigpy/zha-device-handlers/compare/refs/tags/0.0.98...0.0.99
Changelog: https://github.com/zigpy/zha-device-handlers/releases/tag/0.0.99
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 229720 run on x86_64-linux 1

10 packages built:

home-assistant-component-tests.hassio
home-assistant-component-tests.homeassistant_hardware
home-assistant-component-tests.homeassistant_sky_connect
home-assistant-component-tests.homeassistant_yellow
home-assistant-component-tests.otbr
home-assistant-component-tests.zha
python310Packages.zha-quirks
python310Packages.zha-quirks.dist
python311Packages.zha-quirks
python311Packages.zha-quirks.dist


Bug: Twitter icon

The current display button for Twitter on the website still shows the old Twitter bird icon. Twitter has rebranded to "X" with a new logo, so this button should be updated to reflect the latest branding.
Screenshots 📸

I would like to work on this issue changing the existing twitter bird icon to the brand new X icon
@subhadipbhowmik
Would you assign it to me under gssoc24 Extd and hactoberfest with the level?
Thank you.

Hello Bio Branch Team ,
My name is Ishan, and I am a BTech student with experience in full-stack development. I would love to contribute to your project. Here is my LinkedIn profile: https://www.linkedin.com/in/ishanguptaofficial/.
Could you please assign me to this issue? Looking forward to your response.
Best regards,
Ishan


Add installation links to v0.4-rc4 toolchains.

https://github.com/apple/swift/commit/7d157f346b4424d3acb2e8e4c08ac9970d42f1bf

Verified all links work.


RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

A week ago i have instaled SD and got this issue on my screen trying to launch Stable Diffusion, i thought it was hapenning because i didn't had any GPU on my PC. Then i bought one in a while, tried to open the application again but i have got the same issue.
As it shows in the code, i could easily skip "cuda test" by creating a new variable to disable and surpass it. I did many times and by different forms, but the issue was still ongoing
File "D:\stable-diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
File "D:\stable-diffusion\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
File "D:\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 356, in prepare_environment
    raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check`

I have reinstaled venv file and got a total of 0 results, same problem as well.
After creating the previous var to ignore the "cuda test" thing, i have then prefered to open "webui.bat" for testing, this one worked better because it interpreted the var i have created the right way, as it shows:
Launching Web UI with arguments: --skip-torch-cuda-test
But then..
File "D:\stable-diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "D:\stable-diffusion\stable-diffusion-webui\launch.py", line 44, in main
    start()
  File "D:\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 432, in start
    import webui
  File "D:\stable-diffusion\stable-diffusion-webui\webui.py", line 13, in <module>
    initialize.imports()
  File "D:\stable-diffusion\stable-diffusion-webui\modules\initialize.py", line 21, in imports
    import gradio  # noqa: F401
  File "D:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\__init__.py", line 3, in <module>
    import gradio.components as components
  File "D:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\components\__init__.py", line 1, in <module>
    from gradio.components.annotated_image import AnnotatedImage
  File "D:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\components\annotated_image.py", line 12, in <module>
    from gradio import utils
  File "D:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 353, in <module>
    class AsyncRequest:
  File "D:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 372, in AsyncRequest
    client = httpx.AsyncClient()
  File "D:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\httpx\_client.py", line 1397, in __init__
    self._transport = self._init_transport(
  File "D:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\httpx\_client.py", line 1445, in _init_transport
    return AsyncHTTPTransport(
  File "D:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\httpx\_transports\default.py", line 275, in __init__
    self._pool = httpcore.AsyncConnectionPool(
TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'`

I really don't know what to do now.

I just struggled with these two problems for half a day and solved them.
Just use this thing. Everything works there.
https://github.com/AbdBarho/stable-diffusion-webui-docker


Bump carbon-dashboards to 4.0.0-alpha

Purpose
This PR bumps carbon-dashboards version to 4.0.0-alpha.

Already added.


Migrate to Tanka

Since I've already started deploying with Tanka, let's get a few more things migrated for some practice.

Migrated Tailscale. Definitely a learning curve.
I stumbled across a tutorial from the jsonnet-libs repo which explicitly calls out both the _config pattern and the usage of $ Loki is doing as bad form.
The better solution is to use functions it seems, so I'll probably rewrite what I have to do that before moving anything else.
Something else I don't particularly like: the jsonnet extension isn't amazingly rich. It recognizes the language nicely, has basic autocomplete, detects the Tanka lib/vendor locations, and does eval of a file, but it doesn't pull in any documentation for IntelliSense, and the autocomplete doesn't handle everything perfectly (it stops working for functions; understandable when defining a function, but annoying when I'm trying to call a function and pass in existing fields).

Outside of helm, everything that is reasonable to migrate is done. Things like manifests for custom resources that basically never change aren't worth rewriting (Calico config, for example). I'll move these to a separate folder to clean up the root.

Basically done. Decided to just use the k3s helm-controller for helm charts, and define the HelmChart resources myself.
Major thing remaining is MinIO:

Operator was installed with a kubectl plugin, but there's Helm chart now. Need to migrate to that
Cluster itself is defined with a custom resource; need to determine if it's worth having any of that in jsonnet or not

Good things come to those who procrastinate:
https://github.com/jsonnet-libs/minio-operator-libsonnet

Not migrating the MinIO Operator to Helm. They put the CRDs in a template, so Helm WILL delete them (along with the MinIO cluster itself) in a worst-case scenario. Hard pass. Plus it's unclear if the Helm chart will even install if the CRDs already exist.
They deprecated the Krew plugin and now use Kustomize. Just going to manage it with that.

As for the jsonnet library, whoever first set that up didn't test it; there's nothing actually generated, because they copy-pasted from another location and didn't update the prefix of the CRDs. Waiting for my PR to be merged so I can actually use it.

I decided to just move off of MinIO in favor of Ceph to reduce overhead. #30


Bugfixes

Here is a set of small fixes and improvements I worked on today, for your consideration. These are small enough that I didn't feel compelled to create a GitHub issue.

Hide spurious scrollbars on the scene tabs div (at least on Firefox, there was a white rectangle on the right side)
Allow closing modals with the Escape key. It behaves the same as clicking outside the modal.
When switching to Cards, auto-focus on the search input field.
When opening the Edit Chapter / Edit Scene modals, auto-focus on the first input field.
Improve word count by counting the words instead of the spaces (issue was apparent with " a  b  c " --> 7 words!?)

@TorstenDittmann  Good point on scrollbars. I amended the PR with your correction.
What is the best way to test how changes affect mobile devices?

@AntonyBoucher That is exactly what I wanted to suggest 😄
It is very accurate for Android used as a PWA. For the native mobile App that is using Capacitor it may be inaccurate when it comes native stuff like saving a file the the file system. Safari on iOS is a complete different story 😄
Thanks for the revision 👍


Delete Button Added

🛠 Fixes Issue (Number)
Add delete option in Notes Taking App (#1002 )
👨💻 Changes proposed and Brief Description
I added the delete Button just Like the + button. Existing Notes can be deleted By clicking on the delete Button.
When the Delete Button is clicked It will turn into deep red and a trash bin icon will appear. Whatever note is clicked then will be deleted. When one is done with deleting they can click on the button again and the icon will disappear.
If the add button is clicked then also deletion will be stopped.
✅ Check List (Check all the applicable boxes)

[Yes ] My code doesn't break any part of the project
[Yes ] This PR does not contain plagiarized content.
[Yes ] My Addition/Changes works properly and matches the overall repo pattern.
[Yes ] The title of my pull request is a short description of the requested changes.

📷 Screenshots

Hey @swapnilsparsh , I updated the deleted button as you said so. Please check Is it fine? Do give feedback(if any)
Thanks.

@afeefuddin Great Work 👏🏻


Fix Factions 2.7.5 integration

Gringott's Factions integration is broken for the latest 2.7.5 version.
I made this workaround and it runs in Spigot 1.8-R0.1 with Factions 2.7.5
The main problem is that Factions stopped using Maven from this commit: https://github.com/MassiveCraft/Factions/commit/c81d7d8794d80846cfc8d11cfe1df98367c868d5
I know it sucks because now you have to manually import the Factions jar. I'm pretty noob with Maven, but I think there's no other way.
Feel free to modify this as you wish

Thanks for the contribution, but my workaround to the sad state of professional tooling in Bukkitland is to upload these dependencies to my own Maven repository manually. So that's the other way.
Now if you can tell me how to get the Spigot Buildtools to actually build Spigot (it always fails at the part where it's supposed to do that) then I think I can take the time to update Gringotts for the current versions :)

I got this one: https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
I didn't update it on this pull request, but it works anyway.
This is the post at spigot's forum: http://www.spigotmc.org/threads/bukkit-craftbukkit-spigot-1-8.36598/
Also you have to add the Factions and MassiveCore bundles: http://www.spigotmc.org/resources/factions.1900/

I fonally got the project in order and fixed the Factions integration properly. Thanks for the PR though!


Add QC500 Constituents Generator Algorithm for C# and Python

Expected Behavior

Add the python and CSharp example of estimating constituents of QC500 index using fundamental data. This algorithm will create a default universe containing 500 US equities. Constituents are chosen at the first trading day of each month.
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Merged in #1663


Coordinator polling is a bit broken

With a lot of deposits, the polling is really slow as we open one connection for each deposit we check

Ah, this is duplicated. Closing.


Merge v3-next to master

changes for live preview support 1.0 and 2.0

Hi @harshithad0703 , @nadeem-cs I'm closing this PR. Will raise a new PR for master <- next.
cc : @sunil-lakshman @ishaileshmishra


Is the Composer decorator available now?

I want to use Composer in nestjs-telegraf
I can't the Composer decorator in v2.6.3, but I find 3 issues and  2 pr about the Composer decorator
#920
#919
#899

Hi @skyArony! I'll try to add it in the next release.


Typing issues

This is meant to be kind of a meta-issue describing the set of issues that need to be resolved w.r.t. types in QASM3.

typed variables in gates and defs
At some point we already removed the type identifiers from gates, arguing that the compiler did not need this information to satisfy the need of having a mathematical representation of the meaning of gate. Meanwhile, we have kept them for defs. I would argue that the latter is important for consistency with kernel and defcal declarations. @ndebeaudrap, meanwhile, argued for dropping the types for def in his write-up attached to issue #130.

order of type and variable identifier
See issue #117.

array types
e.g. qreg q[4] vs qubit[4] q vs qubit[4] q[10]
or bit[4] a vs bit a[4]. This latter example relates to some of the discussion in @ndebeaudrap's write up where he suggested making creq q[4] and bit[4] synonyms for each other.

The issues raised by @steleman in #130 regarding conversions between different real-valued types (even between, say, angle[16] and angle[8]) may also need to be addressed. It seems to me that those remarks apply whether or not there is 'implicit' conversions, as they touch on the question of whether or not there is a well-considered (as opposed to just well-defined) way to go about doing any sort of typecasting between these types.

Regarding 3: bit[4] a vs bit a[4]
In #130, necessity of "return type" in subroutine def is discussed. I believe that a subroutine can return an array. If we keep "return type" and this "return type" includes its size, return type for array will be -> bit[4].

This is a good point @hhorii. If we use type[BITS] id[ARRAY_SIZE], how do we denoted return types w/ ->. We could do -> type[BITS][ARRAY_SIZE], where the latter entry is implicit.
Also, why would we allow BITS for qubit/qreg/bit/creg. It seems like they should always have a single bit.

Then how about an explicit array type? e.g. array[bit[4]] a

That could work, although if this language should be C-like, we could define standard bit lengths for the main types and then use the simple array syntax type name[SIZE]. I am not as familiar with the importance of defining precision lengths for different types, so maybe that can't be done without.
Or we could have default sizes and include a more explicit syntax such as the above in the cases where precise bit lengths are required.

It is only “C like” in that white space doesn’t matter and statements end with a semicolon. Nothing else from C needs to be carried over.

At some point we already removed the type identifiers from gates, arguing that the compiler did not need this information to satisfy the need of having a mathematical representation of the meaning of gate.

Will gates take any types of parameters other than angles?

array[bit[BITS], ARRAY_SIZE] a

I like it - also makes it clear which you're indexing into first (ie. the outer array)

Can we use an array for an indexset of loop? Also, can we initialize elements of an array in its declaration?
array[int[64], 10] a = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
for i in a {
  ...
}


Fix empty network config

What this PR does / why we need it:
Provisioning a VM without defining a Network in the providerConfig object results in a nil pointer exception
What type of PR is this?

/kind bug
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

Anexia Provider: Fix nil pointer exception when providing no network configuration

Documentation:

NONE

upstream PR: https://github.com/kubermatic/machine-controller/pull/1646


[Req]: JWT Debugger

Contact Details
No response
Explain the proposed feature
JSON Web Token debugger/decoder tool
Explain the possible use cases for the feature
For debugging, validating, and testing JWTs
Any other details you would like to provide?
At minimum this tool should:

Read the payload data of a JWT
Display an informative error if not given a valid JWT
Test if the JWT has been tampered with if given the JWT secret

Can this issue be assigned to me, please?

@tobySolutions all yours!

@tobySolutions Are you still wanting to work on this?

Hey can I please be assigned this?

Hey can I please be assigned this?

All yours!

@arnu515 how's it going on this? Let me know if you need anything!

Hello, I'm sorry, I won't be able to contribute to this project anymore. I underestimated the amount of time it would take, and the amount of time I would have free this month. Please unassign me from this issue. I'm deeply sorry.


Wrong year in version 1.25 and 1.26 information

[Enter feedback here]
The year next to the updates for Versions 1.25 and 1.26 say January 2022 instead of January 2023.

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

ID: fa5a1757-17d6-ba9a-a68b-c2852e286cf8
Version Independent ID: bfa064e7-f057-d1c0-9f4e-a98849ad3c63
Content: What's new with Azure Arc-enabled servers agent - Azure Arc
Content Source: articles/azure-arc/servers/agent-release-notes.md
Service: azure-arc
Sub-service: azure-arc-servers
GitHub Login: @johnmarco
Microsoft Alias: johnmarc

@rs-seccompsme2 thank you for calling this to our attention! It is being fixed now and will be live soon. I will now close this issue.

#please-close


Wrong interface selection on Vagrant

When trying to install k3s via Vagrant, Flannel selects the first network interface but the first one is using to bridge guest machines on Vagrant.
First solution is using flannel with external installation (with —no-flannel flag). My suggestion is, run the k3s server with “—iface=enp0s8” flag which will be used for flannel configuration or something like that.

@selcukusta There is a --node-ip x.x.x.x flag, would that work?

hi @ibuildthecloud! Unfortunately, doesn't work. My cluster info:
master01 <IP_ADDRESS>
worker01 <IP_ADDRESS>
worker02 <IP_ADDRESS>

sudo cat /run/flannel/subnet.env output is;
FLANNEL_NETWORK=<IP_ADDRESS>/16
FLANNEL_SUBNET=<IP_ADDRESS>/24
FLANNEL_MTU=1450
FLANNEL_IPMASQ=true

It might be wrong, am I right?

This is a documented behavior of kubelet, where it will select the default interface, which happens to be the NAT network of Vagrant. Try using KUBELET_EXTRA_ARGS to override that.

Yes, you're right. Two actions are needed. The first one is;
sudo sed -i '9s/^/Environment="KUBELET_EXTRA_ARGS=--fail-swap-on=false --node-ip='"$1"'"\n/' /etc/systemd/system/kubelet.service.d/10-kubeadm.conf but kubelet service is embedded in k3s binary.
Another one is add --iface=enp0s8 flag to flannel manifest file like that;
      containers:
      - name: kube-flannel
        image: quay.io/coreos/flannel:v0.10.0-amd64
        command:
        - /opt/bin/flanneld
        args:
        - --ip-masq
        - --kube-subnet-mgr
        - --iface=enp0s8

But the interface selection operation is embedded also. So I couldn't change them.

Setting --node-ip only provides half the required configurability, as @selcukusta mentioned.
For some clarification, consider the following setup:
              ^                                      ^
              |                                      |
              |                                      |
Default route |     <IP_ADDRESS>            <IP_ADDRESS>     | Default route
     <IP_ADDRESS> |     +--------------------------+     | <IP_ADDRESS>
              |     |       Internal Net       |     |
           +--+-----+--+                    +--+-----+--+
           |eth0| |eth1|                    |eth1| |eth0|
           +----+ +----+                    +----+ +----+
           |           |                    |           |
           |   node1   |                    |   node2   |
           |           |                    |           |
           +-----------+                    +-----------+

Each node has two interfaces, one to the wider network (eth0, set as default route) and one connected to a private internal network (eth1). The end goal is for the flannel VXLAN to sit on the private eth1 network, whilst the LoadBalancer services etc should sit on the eth0 interface.
To achieve this, each node should have their --node-ip set to their eth0 IP, which is what would occur by default as this is the default interface. However, the flannel VXLAN cannot be moved to the eth1 interface, as it is hardcoded to select the default route interface: https://github.com/rancher/k3s/blob/17a44a319700b69ad20ec13086e219bcceb24cb5/pkg/agent/flannel/flannel.go#L40
For evidence: setting --node-ip to <IP_ADDRESS> does not affect the VXLAN interface (and also obviously puts the services on the wrong ip):
ip -d l show flannel.1
4: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN mode DEFAULT group default
    ...
    vxlan id 1 local <IP_ADDRESS> dev eth0 srcport 0 0 dstport 8472 ...

To solve this, somehow the flannel interface should be configurable and it looks like the config options may be available there as an argument?
With standard Flannel this is available as an option, which could be used as inspiration: https://github.com/coreos/flannel/blob/0fb471046932ef5f8f363f7daace3d6f4d372dc9/main.go#L118 & https://github.com/coreos/flannel/blob/0fb471046932ef5f8f363f7daace3d6f4d372dc9/main.go#L195-L216
Also, tengentially related: the readme states the VXLAN port is on 4789, but flannel puts it on 8472, as you can see in the command output above. I'll send a PR to change the docs.

I've also faced the same problem on a setup where I need to use the non-default interface to communicate between the nodes. I've made an attempt to allow this to be configured here: https://github.com/yoink00/k3s
It is completely untested but should be complete. I'll be testing this tomorrow. Any comments would be gratefully received.
To override the default interface specify '--flannel-iface=eth1' (for example).

@yoink00: That looks reasonable, you should open a PR to get others to take a look.
In the meantime, for people stuck with this: I just went the route of using --no-flannel to bypass the fixed internal config, then manually deployed Flannel as CNI with the correct --iface option passed in. Although this also requires setting up CNI plugins correctly manually in the right places and matching the Flannel config to the CIDRs etc.

This is available in our latest RC (v0.4.0-rc3). If anyone could test it out, it'd be great!

Verified by setting --flannel-iface=... and checking that ip -d l show flannel.1 included the desired interface. Thanks for submitting a PR @yoink00, if this does not fill your needs feel free to re-open or submit a new issue @selcukusta & @aaliddell

Does this option (--flannel-iface) can be set by environment variable?

@balthild currently no (see here), but I just opened #659 to see if we can address this.


Add hash for generated C++ SDK package so we can verify the file later

This adds a file hash for the firebase_cpp_sdk.zip package, which will allow us to verify the generated package later (i.e. when it is put up for download):

Log a SHA256 hash of the generated firebase_cpp_sdk.zip package, and add the hash as a downloadable artifact as well.
Add a file to the generated package with a hash for every file contained in the package. In the integration test step, code has been added to verify every file's hash if this file exists and error out if any don't match.

Also, if the workflow is run with certain inputs to customize its behavior, this is now logged:

If a run is made against a specific commit ID, log the commit ID.
If a run is just to test an existing packaged SDK (public or from a previous run), log its source.
If a run is set to preserve intermediate artifacts, log it.

Important: This PR changes the final C++ SDK package artifact from firebase_cpp_sdk to firebase_cpp_sdk.zip, so that the hash can be generated. Any subsequent step that uses that SDK package artifact will have to change the artifact name it downloads to firebase_cpp_sdk.zip and unzip it first before use.
Also note that because GitHub Actions does not yet support "::notice", we are logging these as "::warning" messages for now. This will be changed in the future when possible.

A couple sample runs to see how the logs come out:
https://github.com/firebase/firebase-cpp-sdk/actions/runs/358363311
https://github.com/firebase/firebase-cpp-sdk/actions/runs/358362746


Verify tlog entries using the Rekor public keys from TUF

Typical verification used VerifyBundle, which called
GetRekorKeys, which fetches keys from the TUF repo.
If the bundle was not present or for a specific error
when a duplicate log entry was present, then the tlog
entry would be verified using a public key fetched from
Rekor's API. This key was not verified using TUF metadata.
This change simply removes the API call and uses Rekor
public keys from the TUF repo.
Tested locally by not including the Rekor bundle in
the OCI signature, which will hit the code path to
fetch the entry from the log.
Signed-off-by: Hayden Blauzvern<EMAIL_ADDRESS>
Summary

Ticket Link

Fixes
Release Note

Switched verifying non-bundled transparency log entries to using keys from the TUF repository

cc @asraa


Example query with Regex

I can't figure out how you'd use the library to do a regular expression find operation. I'm looking for the equivalent of a find of customers in an area code. This is fairly straightforward in mongo shell but I just can't see how to do it and there's no tests that demonstrate using BSON.Regex for a find.
example: find all the docs in the customers collection that have a phone number that includes 617.
mongos> db.customers.find({phone_number:  /617/ })

I've figured out enough to do what I wanted. It appears that options are required (even if they are an empty string. Failing to use :options when building a regex gives an "Argument error" down in  :erlang.iolist_size. if I want to find numbers that begin with "1301" then I can do the following :
number_search = %BSON.Regex{pattern: "1301*", options: ""}


Missing links in README

Bug description:
The following links are broken in the README:

About Cartographer: https://github.com/vmware-tanzu/cartographer/blob/main/site/content/docs/about.md
Spec Reference: https://github.com/vmware-tanzu/cartographer/blob/main/site/content/docs/reference.md
Installation: https://cartographer.sh/docs/install
Uninstall http://cartographer.sh/docs/uninstall

If this was produced by #351, should we consider pinning the most recent version to latest to avoid having to update links in the README with each new release?

None of these links to docs content should point to the repository, they should point to the doc site.
Yes, doc site links should use latest, eg: https://cartographer.sh/docs/latest/install/
Further, we should have a link checker run over our top level /*.md files on github to ensure they link correctly, and one for https://cartographer.sh


optimize copy_resource/5 using dictionaries and make it default resource shape validator

Addresses corresponding improvement from #20.

I think this one is complete now. copy_resource/5 checks the source resource for shape compliance and copies it. The destination resource is not checked as filters may be applied during copying that violate shape, but this is a desired behaviour.

I was able to run the patch and get to the shape endpoints but unable to do much on them, esp. can't figure out how to reach to the core OSLC services you are providing:

I'm not providing any service, this UI is to browse resource shapes declared in the triple store ("Places"->"Shapes") and to see what properties shapes describe (click on a number in "Properties" column) and what existing resources are there in the triple store that the shapes describe (click on a number in the "Resources" column).


Support for variadic functions

It would be really great if flow would allow user to type variadic functions without giving up on it's type safety. In fact you type system itself allows typing such functions but than it's impossible create an implementation for it. Here consider following example:
/* @flow */

type Map1 =
  ( f:(a:a) => $
  , a:Array
  ) =>
  Array<$>

type Map2 =
  ( f:(a:a, b:b) => $
  , a:Array
  , b:Array
  ) =>
  Array<$>

type Map3 =
  ( f:(a:a, b:b, c:c) => $
  , a:Array
  , b:Array
  , c:Array<c>
  ) =>
  Array<$>

type Map
  = Map1
  | Map2
  | Map3

const range =
  (from, to) => {
    const array = new Array(to - from)
    let index = 0
    while (from + index < to) {
      array[index] = from + index
      index = index + 1
    }
    return array
  }

export const map:Map =
  (f, ...inputs) => {
    const length = inputs.reduce((n, input) => Math.min(n, input.length), 0)
    const indexes = range(0, length)
    return indexes.map(index => f(...inputs.map(input => input[index])))
  }

There are several problems here as far as I can tell:

Above code does not type check:

scratch.js:46
46:     return indexes.map(index => f(...inputs.map(input => input[index])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method map
3: type Map1 =
^ $. This type is incompatible with
43:   (f, ...inputs) => {
^ some incompatible instantiation of $
scratch.js:46
46:     return indexes.map(index => f(...inputs.map(input => input[index])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method map
46:     return indexes.map(index => f(...inputs.map(input => input[index])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ $. This type is incompatible with
43:   (f, ...inputs) => {
^ some incompatible instantiation of $
scratch.js:46
46:     return indexes.map(index => f(...inputs.map(input => input[index])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method map
3: type Map1 =
^ a. This type is incompatible with
43:   (f, ...inputs) => {
^ some incompatible instantiation of a
Found 3 errors

2. Flow actually incorrectly handles polymorphic function annotations like `cons map:Map =` (see #1317). In fact above error maybe a same error as #1317. Also note that unlike example in #1317 you can not inline type annotations into implementation of `map` as it's type signature is variadic.

3. There is no other way to encode type of variadic functions where parameters are interdependet
 other than with type unions, which don't work.

You've hit this issue again. This is the same as this:
type F = <T>(x: T) => T;
var f: F = x => x;

You need to make the function expression generic, too. This is the 3rd or 4th issue you've opened with the same root cause.
As an aside, I think you have a logic bug here: inputs.reduce((n, input) => Math.min(n, input.length), 0). Won't that always be 0?


Feat: Add Spt-handling

This commit adds the following:

Handling for Spt unikernels
Testing for Spt using  nerdctl and crictl

This PR can resolve issue https://github.com/nubificus/urunc/issues/3

Thank you for the changes @johnp41 , but please squash the last commit with the first one.


ThrottlingRetryPolicy only retries once

See Azure/azure-sdk-for-js/issues/7989 for details

FWIW, the API answers a 429 response which the ThrottlingRetryPolicy handles once with a retry, but when that also returns a 429, it doesn't try again. The API says Retry-After 17, but the request is still rejected with a 429 and another Retry-After 17. I wish the API would return a time that is more likely to work out. That is, I would have liked to see the API drive the retries, so that we could easily burst under 100 requests and throttle back based on meaningful responses from the API. Instead, I'm going to have to use p-throttle to proactively throttle and spread 100 requests out over 5 minutes.

We could retry more on 429.  Some design questions to consider

should we provide an option to specify the max retry count
what value should be the default for max retry count

infinite/max integer value, or some small number

We could retry more on 429.  Some design questions to consider

should we provide an option to specify the max retry count
what value should be the default for max retry count

infinite/max integer value, or some small number

Fixed by #417. Closing


Release new version?

There are a few fixes in master, I was wondering if a new release is in the horizon?
We would like to avoid having a dependency on the master branch or applying the same fixes in a fork.
Thank you.

@respinoza I'm planning on releasing more frequently, there will be another release in the next hour.


Plugin is not skipping any tests.

Describe the bug
The plugin is not skipping any tests after a test failed:

To Reproduce
I've got my Cypress configured to work with TypeScript. This is the setup:
// cypress.config.ts
import { defineConfig } from 'cypress';
import plugin from './cypress/plugins/index';

export default defineConfig({
	projectId: 'xx',
	fixturesFolder: 'cypress/fixtures',
	video: true,
	viewportHeight: 1000,
	viewportWidth: 1600,
	e2e: {
		env: {
			API_URL: 'xx',
			CYPRESS_PASSWORD: 'xx',
		},
		supportFile: 'cypress/support/index.ts',
		baseUrl: 'http://localhost:4200',
		experimentalInteractiveRunEvents: true,
		setupNodeEvents(on, config) {
			plugin(on, config);
		},
	},
});

// cypress/support.index.ts
import './commands';
import './hooks';
import 'cypress-real-events/support';
import 'cypress-file-upload';
import 'cypress-fail-fast/plugin';

/cypress/tsconfig.json
{
	"extends": "../tsconfig.json",
	"include": ["**/**/*.ts"],
	"compilerOptions": {
		"sourceMap": false,
		"types": ["cypress", "node", "cypress-file-upload", "cypress-real-events", "cypress-fail-fast"]
	}
}

If I remove the /plugin  from the import in cypress/support/index.ts > import 'cypress-fail-fast/plugin';  I get this:

CypressError: "before all" hook failed: cy.task('failFastShouldSkip') failed with the following error:
The task 'failFastShouldSkip' was not handled in the setupNodeEvents method. The following tasks are registered: >?createSession, log, createCompany, updateRefreshToken, getCompany, getUsers

Expected behavior
With the plugin enable Cypress should skip the tests after a failed test.
** Operating system, Node.js an npm versions, or browser version (please complete the following information):**

Node.js: 14.20
npm: 6.14.17

 "cypress": "^10.4.0",
 "cypress-fail-fast": "^5.0.1",

Hi @alucardu ,
It seems that you are not loading the plugin correctly in your node events. You are not importing this plugin's file in your config, but your own local ./cypress/plugins/index file (which I don't know what contains).
Note that in the plugin docs it is clearly indicated how to load the plugin in your config file:
module.exports = {
  e2e: {
    setupNodeEvents(on, config) {
      // You must execute here the plugin funcion, passing to it the events handler and the configuration.
      require("cypress-fail-fast/plugin")(on, config);
      return config;
    },
    specPattern: "cypress/integration/**/*.js",
  },
};

So, in your configuration you should change your current plugin importation by:
// cypress.config.ts
import { defineConfig } from 'cypress';
import plugin from 'cypress-fail-fast/plugin';

If you need to load more plugins, I suppose that you should also load them separately, following their respective instructions.

I'm using TypeScript so I cannot use require.
The plugins are imported in the cypress/support/index.ts file, which is called by: supportFile: 'cypress/support/index.ts', this works fine for other plugins like the cypress-file-upload and cypress-real-events/support

Okay I found my issue. In my cypress/support/index.ts I imported like so import 'cypress-fail-fast/plugin';  but it should be import 'cypress-fail-fast';
I declared cypressFailFast in my plugin file, cypress/plugins/index.ts :
export default function plugin(on, config) {
	cypressFailFast(on, config);
        ....

which is the same as declaring it in my setupNodeEvents in the cypress.config.ts since I just call that plugin function:
setupNodeEvents(on, config) {
			plugin(on, config);
		},


vendor update keybase/go-framed-msgpack-rpc#117

yeah .. but it's a bug, and client uses this to connect to gregor, so I updated it here anyway :)

Maybe this was actually the cause of the rekey flake earlier today.

cc @maxtaco

wishful thinking but it did flake back in december too!

If we get no TestRekey flakes in the next 2 years then we can close that bug.

Or teams, whichever comes first :P

@maxtaco The race condition this PR fixes existed long before the random backoff stuff. The random backoff just made it easier to fail. So it's still possible that it's the same issue!


Typo: Conflicting number of shots in example notebook

This is minor, but in the following example Jupyter notebook:
Under the "Aria" section, the first sentence states:

First, run we the QPE circuit on the Aria device with the maximum number of shots per task (5,000).

with a subsequent line of:
task = device.run(circ, shots=2500)
print(task)

A few things:

"we" and "run" should be switched
Perhaps this is implied, but from the reading of this sentence it seems to indicate that you are running for the maximum number of shots (5,000), but then subsequently run it for the minimum number of shots required for debiasing (2,500).

@vprusso thanks so much for raising these content issues! I have created https://github.com/aws/amazon-braket-examples/pull/291 to fix them.


Investigate: Organise Browser Tests

What are the options?

I have a working JsDom test suite on the browser-testing branch. Unfortunately made before the build refactor, so might be worth copying over rather than trying to merge in.
That will do for dom tests.
Tried selenium too, not fun, would rather avoid.

Closing, duplicate of another ticket.


Auto looping

I would love to have the possibility to let it automatically loop a certain video in the background. Many thanks! Love the app!!

This module concentrates only on enabling the background playback feature
which already exist in the code, so at least for now no such a features
will be added.
Please also note that loop feature was even unavailable on desktop YouTube
until last month (without some browser addons or workarounds like creating
one-video playlist).
That is why I feel they'll introduce it into the Android version soon, too.
pzdr
es
I would love to have the possibility to let it automatically loop a certain
video in the background Many thanks! Love the app!!
—
Reply to this email directly or view it on GitHub
https://github.com/pylerSM/YouTubeBackgroundPlayback/issues/116.

Okay thanks for your help!! Still love the app! Couldn't live without the mod 😂
On 9 Feb 2016 5:44 am, esgie<EMAIL_ADDRESS>wrote:This module concentrates only on enabling the background playback feature
which already exist in the code, so at least for now no such a features
will be added.
Please also note that loop feature was even unavailable on desktop YouTube
until last month (without some browser addons or workarounds like creating
one-video playlist).
That is why I feel they'll introduce it into the Android version soon, too.
pzdr
es
I would love to have the possibility to let it automatically loop a certain
video in the background Many thanks! Love the app!!
—
Reply to this email directly or view it on GitHub
https://github.com/pylerSM/YouTubeBackgroundPlayback/issues/116.
—Reply to this email directly or view it on GitHub.


Deploy policy at management group level for managed tenants

Does Lighthouse support delegated management at management group level?
My use case is that I want to deploy Azure policies at management group level on managed tenant, instead of deploying it on lots of subscriptions on the managed tenant.

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

ID: aed10d58-d781-f51e-16e7-2e622117946d
Version Independent ID: f02de20f-566a-2880-4eef-82c9e0561861
Content: Deploy Azure Policy to delegated subscriptions at scale - Azure Lighthouse
Content Source: articles/lighthouse/how-to/policy-at-scale.md
Service: lighthouse
GitHub Login: @JnHs
Microsoft Alias: jenhayes

Hi @mpchen - thanks for your question. This is not currently supported, although we do offer a sample policy to confirm that all subscriptions within a management group have been delegated to a managing tenant, and if not, create the assignment: https://github.com/Azure/Azure-Lighthouse-samples/tree/master/templates/policy-delegate-management-groups (though that still wouldn't address your scenario of deploying a policy directly on a delegated management group).
Dekegation of management groups has been suggested in our product feedback forum, and we also encourage you to upvote and/or comment on it there: https://feedback.azure.com/forums/922753-azure-lighthouse/suggestions/38945041-allow-for-assignment-of-lighthouse-at-the-manageme#comments

@JnHs Thanks for the super quick response. :+1:

@mpchen At this point it appears that there's no edits or updates needed for the referred Azure documentation so closing this issue for now. If there are further questions regarding this matter or feedback on the referred Azure documentation, please do let us know and we will gladly continue the discussion.


chore(deps): update electron packages

Description:
Update electron and supporting packages to latest versions.
Motivation and Context:
Keep upto date with upstream fixes and improvements.
How Has This Been Tested?
Manually
Types of changes:
Dependency updates
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 17.117% when pulling 851c4024899264cf7fec4add9ef707ff5c6fc29d on mrfelton:chore/update-electron into d2e40ed02859e677066de1b0695bbbfce4eafb86 on LN-Zap:master.

Coverage remained the same at 17.117% when pulling 851c4024899264cf7fec4add9ef707ff5c6fc29d on mrfelton:chore/update-electron into d2e40ed02859e677066de1b0695bbbfce4eafb86 on LN-Zap:master.

Coverage remained the same at 17.117% when pulling 851c4024899264cf7fec4add9ef707ff5c6fc29d on mrfelton:chore/update-electron into d2e40ed02859e677066de1b0695bbbfce4eafb86 on LN-Zap:master.


[RFC] API Change: DMA - callback improvement

Problem Description:

DMA callback do not provide the DMA device's callback caller as parameter, forcing users to use the callback_arg parameter instead for this purpose, which in turn limits its usage (they cannot provide some private data, or have to mangle thing together storing the DMA dev pointer into the private data).

Proposed Change (detailed):

All other API provide the callback's caller device pointer, and thus adding it as first parameter to the DMA callback.

Dependencies:

All users of function need to adapt their callbacks accordingly.
Provide the DMA device instance to the callback.

@carlescufi let's bring this last one also to next API meeting

@nordic-krch and @anangl  could you please take a look?


Align function collection.update_many()

Description
Make signature of update_many() closer to pymongo
Informations

Information
Value

Pymongo documentation
update_many()

Complexity points
8

Effort Size Estimation
M

Statement of work

Create or reuse UpdateResult with the matched_count, modified_count, upserted_id attributes
Provide sample codes for passing and non-passing code

as a unit test
in the official python reference documentation

Data API Requests:

Request

---

Response-OK

{
  "status": {
    "insertedIds": [
      "1",
      "2"
    ]
  }
}

Reponse-KO 1

---

Reponse-KO 2

---

Expecting Working code
result = db.update_many()
result.inserted_ids

done


unknown option --no-tmux error

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[X] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
b4ddffdc6167d23077139f5a24a2709097bc660c
OS

[X] Linux
[ ] macOS
[ ] Windows
[ ] Etc.

Shell

[X] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
Problem started after a git pull.
I am also using Fugitive. I got the error when running GFiles command.
The changes bellow got rid of the error and it worked as expected.
:$ fzf --version
0.38.0 (debian)

M plugin/fzf.vim
@@ -543,10 +543,10 @@ try
     let use_term = 0
   endif
   if use_term
-    let optstr .= ' --no-height --no-tmux'
+    let optstr .= ' --no-height '
   elseif use_height
     let height = s:calc_size(&lines, dict.down, dict)
-    let optstr .= ' --no-tmux --height='.height
+    let optstr .= ' --height='.height
   endif
   " Respect --border option given in $FZF_DEFAULT_OPTS and 'options'
   let optstr = join([s:border_opt(get(dict, 'window', 0)), s:extract_option($FZF_DEFAULT_OPTS, 'border'), optstr])

You're running an outdated, incompatible version of fzf with the latest Vim plugin.
You can :call fzf#install() to get the latest binary. But it's better to configure your plugin manager to call it upon update. https://github.com/junegunn/fzf.vim?tab=readme-ov-file#using-vim-plug


Modal is not updating

Hi,
I am showing information in my APP via the modal. When I close the modal, and in another window of the APP I update the information, and open the modal again the information is outdated.
In my code, I created the modal in a specific file, in a class with the render method. And the information is passed via props. In the modal class, I put the method shouldComponentUpdate and componentWillReceiveProps to update the props, and in the componentWillReceiveProps method I put a console.log (nextProps); to see if the information was arriving correctly updated, and yes yes updated. But the texts do not update

Hey!
Please read the issue template before submitting a new issue/question.
Thank you 🙏


Error when doing save($updateObject = true) on CustomerAddress object (and maybe others) due to getJsonBodyName returning wrong array key

Issue summary
In Base.php we use this line to to retrieve the new object values when save($updateObject = true) is called:
https://github.com/Shopify/shopify-api-php/blob/b26b415b7dcdf7daf61e4b3b622ea64e30a8a916/src/Rest/Base.php#L72
Context:
if($updateObject) {
    $body = $response->getDecodedBody();
    self::createInstance($body[$this->getJsonBodyName()], $this->session, $this);
}

The problem is, the array key that is returned is "address"
https://github.com/Shopify/shopify-api-php/blob/b26b415b7dcdf7daf61e4b3b622ea64e30a8a916/src/Rest/Admin2023_01/CustomerAddress.php#L54
But, the API response returns "customer_address" ->
https://shopify.dev/docs/api/admin-rest/2023-01/resources/customer-address#post-customers-customer-id-addresses
[customer_address] => Array
    (
    [id] =><PHONE_NUMBER>3
    [customer_id] => 432323242
    [first_name] => Samuel
   .......
)

so we receive an error:
[ErrorException]
Warning: Undefined array key "address"

This could also affect other classes like OrderInfo, FulfillmentEvent, etc, where we have an override for getJsonBodyName(), but I haven't tested that.
Expected behavior
The updated data should be read successfully after the API call, without error.
Actual behavior
[ErrorException]
Warning: Undefined array key "address"

Steps to reproduce the problem

Create a new Customer
Create a new CustomerAddress for this Customer, with the Customers ID, and the following code

$customer_address = new CustomerAddress($this->test_session);
$customer_address->customer_id = XXXX; // Customer ID here
$customer_address->address1 = "1 Rue des Carrieres";
........
$customer_address->save(
    true, // Update Object
);

--

Issue is still not resolved.
Also: GitHub stale bot considered harmful


Add support for ingesting openmetrics exemplars in promtool

Proposal
As best as I can see, the promtool command to load data from an openmetrics file does not ingest the exemplars. This would be useful for users who don't have real-time monitoring yet and for metric library authors that would like to validate that the open metrics data they generate (including exemplars) is can be rendered by prometheus.
For example:
./promtool tsdb create-blocks-from openmetrics assets/output

where assets/output contains exemplars as below:
# TYPE metric1 counter
# TYPE hist histogram
metric1_total{x="b"} 0<PHONE_NUMBER>.9064617 # {zp="zq"} -1<PHONE_NUMBER>.9064617
metric1_total{x="b"} 1<PHONE_NUMBER>.9064617 # {zp="zq"} 0<PHONE_NUMBER>.9064617
metric1_total{x="b"} 2<PHONE_NUMBER>.9064617 # {zp="zq"} 1<PHONE_NUMBER>.9064617

has no exemplars that show up either in the UI or in the query  http://localhost:9090/api/v1/query_exemplars?query=metric1_total&start=1675948955&end=1675948995.
My assumption is that exemplars are not supported by the promtool utility. In the scraping code path I see that exemplars are added here. In the backfill code there is no equivalent call to _, exemplarErr := app.AppendExemplar(ref, lset, e).
Am I right in my assumption that exemplar support is missing in promtool? This is something that would help me for my component and I'd be happy to contribute that support.

I really need this feature too.

Hello from the bug-scrub!
Reviewing this issue, we realised the bigger problem is that blocks don't store exemplars at all.
(Also there is no issue calling for exemplar storage in blocks.)
The next step would be a design document for exemplar storage in blocks.


Add error 429 QUOTA_EXCEEDED

What type of PR is this?

enhancement/feature

What this PR does / why we need it:
Adds a new error scenario to be used when a server logic rejects a request to create a session due to a business quota being exceeded.
Added a subcase for 429 with a new specific code QUOTA_EXCEEDED
Which issue(s) this PR fixes:
Fixes #257
Special notes for reviewers:
403 could have been used instead, as a general forbidden due to business rules, but 429 is more related to cases where rate or quota limits are exceeded. But this could be open to debate as guidelines are not explicit about this case. It is related with the discussion for Commonalities PR https://github.com/camaraproject/Commonalities/pull/213
Changelog input
Added explicit error response status 429 to createSessions

@jlurien I have a parallel PR (without seeing here yours before) #306
This includes also HTTP-429.
Maybe you can take a look


RBAC: Edit topic button is available when it shouldn't be

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running main-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
              permissions:
                - resource: applicationconfig
                  actions: [ "view" ]
                - resource: clusterconfig
                  actions: [ "view" ]
                - resource: topic
                  value: ".*"
                  actions: [ "view", "messages_read", "messages_delete" ]

don't block "edit" in UI (ghcr.io/kafbat/kafka-ui:v1.0.0)
same config in provectuslabs/kafka-ui:v0.7.1 works properly
Expected behavior
No response
Your installation details
v1.0.0
Steps to reproduce
enable rbac and use such config:
      roles.yml: |
        rbac:
          roles:
            - name: "role-name-ro"
              clusters:
                - cluster-name
              subjects:
                - provider: oauth
                  type: role
                  value: "rolename-ro"
              permissions:
                - resource: applicationconfig
                  actions: [ "view" ]
                - resource: clusterconfig
                  actions: [ "view" ]
                - resource: topic
                  value: ".*"
                  actions: [ "view", "messages_read", "messages_delete" ]

Screenshots

Logs
No response
Additional context
No response

Might be a UI issue, can you confirm that editing the topic actually succeeds?

Might be a UI issue, can you confirm that editing the topic actually succeeds?

edit menu opens, but yes, can't save - error 501
https://github.com/provectus/kafka-ui/blob/master/kafka-ui-react-app/src/components/Topics/Topic/Topic.tsx#L100 is similar to
https://github.com/kafbat/kafka-ui/blob/main/frontend/src/components/Topics/Topic/Topic.tsx#L93

@Haarolean
edit menu opens, but yes, can't save - error 501
https://github.com/provectus/kafka-ui/blob/master/kafka-ui-react-app/src/components/Topics/Topic/Topic.tsx#L100 is similar to
https://github.com/kafbat/kafka-ui/blob/main/frontend/src/components/Topics/Topic/Topic.tsx#L93

Not a frontend bug, permissions' inheritance implies that having edit permission virtually implies having 'delete messages' permission as well (as you can always do this some other way, like setting retention to 0, or sth else). The problem here, however, is that the backend doesn't treat this well despite basically having edit permission available. Need to investigate.


Search is not working with custom search rule

This is my SearchRule class
<?php

namespace App;

use ScoutElastic\SearchRule;

class MySearchRule extends SearchRule
{
    public function buildHighlightPayload()
    {
        return [
            'fields' => [
                'name' => [
                    'type' => 'plain'
                ]
            ]
        ];
    }

    // This method returns an array, that represents bool query.
    public function buildQueryPayload()
    {
        return [
            'must' => [
                'match' => [
                    'name' => $this->builder->query
                ]
            ]
        ];
    }
}

And this how i am calling search
 $trademarks = Mark::search($keyword)->rule(MySearchRule::class)->get();
Its giving me empty array in the result. But when i am just using
 $trademarks = Mark::search($keyword)->get();
it works.
I want to use search rule to use fuzzy search. please provide me a solution for this problem.

Hi @sajadk, can you share your model mapping as well?
Are you sure, that the name field is defined?


Core.TaxonomyMenu does not display in Team Site On Premises

I have disabled the Minimal Download Strategy but the menu only displays in _layouts pages and not the SitePages.

Additional info the Team Site loads sp.userprofiles.debug.js and not sp.userprofiles.js.
The loading code uses:
SP.SOD.executeOrDelayUntilScriptLoaded(function () {
SP.SOD.registerSod('sp.userprofiles.js', SP.Utilities.Utility.getLayoutsPageUrl('sp.userprofiles.js'));
SP.SOD.executeFunc('sp.userprofiles.js', false, function () {
deferred.resolve();
});
}, 'sp.js');
Hence the actual menu code never runs.

I'm really sorry for the delay on getting any response around this. This is now more than year ago and not sure if this is still valid. Core.Taxonomy menu from conceptual perspective will absolutely work in on-premises as well, but it might be that some builds (CUs) have been having some regressions, since we should obviously not load .debug.js in the on-premises.

Hi Vesa
Thanks for getting back to me, I'll retest this on a more recent CU and get back to you.
Cheers
Sebastian


album_art doesn't exist-is it actually entity_picture_tempate ?

I had some time and was checking all your templates.  album_art is the only one (I think) that I can't make work. I went to HA's media_player component and the template component and looked also at the sonos integration and a couple of others; album_art doesn't show as a possibility anywhere, but entity_picture_template does. I'm going to guess they're synonymous; when I check my sonos, it looks like the album art appears under entity_picture in attributes.
You have both in the media_player_template under Schema, but entity_picture_template doesn't appear just above it in the list of your templates starting on line 66. I didn't want to change it without your permission, since I could be wrong or I'm making a mistake in trying to get it display.
ETA: or is album art equal to media_image_url? Sonos seemed to be using entity when music plays, but that doesn't mean it's universal.

Hey it's something strange how to do this. It depends if the url is publicly accessible or not.
If you look at the following code https://github.com/home-assistant/core/blob/dev/homeassistant/components/media_player/init.py#L791 you see that if it's publicly accessible it takes the url otherwise it takes local. I only implemented the public url

Hey it's something strange how to do this. It depends if the url is publicly accessible or not.
If you look at the following code https://github.com/home-assistant/core/blob/dev/homeassistant/components/media_player/init.py#L791 you see that if it's publicly accessible it takes the url otherwise it takes local. I only implemented the public url

Oh, that's a relief; I was worried I somehow managed to do it wrong when it wouldn't pick anything up.  Thank you!

Oh, that's a relief; I was worried I somehow managed to do it wrong when it wouldn't pick anything up.  Thank you!

I'm also having trouble getting the album art working.
This is my code
  - platform: media_player_template     media_players:       template_group_home_speakers:         friendly_name: Template Group Home Speakers         device_class: speaker         value_template: >                 {% set ns = namespace( final_entity = "" )%}                 {% for media_player in states.media_player %}                    {% if "plex" in media_player.entity_id  %}                     {% set entity = media_player.entity_id %}                     {% set media_title = state_attr( entity, 'media_title') %}                       {% if state_attr( 'media_player.group_home_speakers', 'media_title') %}                         {% if ( media_title | string ) in state_attr( 'media_player.group_home_speakers', 'media_title') %}                         {% set ns.final_entity = entity %}                         {% endif %}                       {% endif %}                   {% endif %}                 {% endfor %}                 {% if ns.final_entity != "" %}                 {{states(ns.final_entity)}}                 {% else %}                 off                 {% endif %}         next:           service: media_player.media_seek           data_template:             entity_id: media_player.group_home_speakers             seek_position: 56000         turn_on:           service: media_player.turn_on           data_template:             entity_id: media_player.group_home_speakers         stop:           service: media_player.media_stop           data_template:             entity_id: media_player.group_home_speakers         turn_off:           service: media_player.turn_off           data_template:             entity_id: media_player.group_home_speakers         volume_up:           service: media_player.volume_up           data_template:             entity_id: media_player.group_home_speakers         volume_down:           service: media_player.volume_down           data_template:             entity_id: media_player.group_home_speakers         mute:           service: media_player.volume_mute           data_template:             entity_id: media_player.group_home_speakers         set_volume:           service: media_player.volume_set           data_template:             entity_id: media_player.group_home_speakers             volume_level: "{{ volume }}"         current_is_muted_template: "{{state_attr( 'media_player.group_home_speakers', 'is_volume_muted') }}"         album_art_template: >                 {% set ns = namespace( final_entity = "" )%}                 {% for media_player in states.media_player %}                    {% if "plex" in media_player.entity_id  %}                     {% set entity = media_player.entity_id %}                     {% set media_title = state_attr( entity, 'media_title') %}                       {% if state_attr( 'media_player.group_home_speakers', 'media_title') %}                         {% if ( media_title | string ) in state_attr( 'media_player.group_home_speakers', 'media_title') %}                         {% set ns.final_entity = entity %}                         {% endif %}                       {% endif %}                   {% endif %}                 {% endfor %}                 {% if ns.final_entity != "" %}                   <IP_ADDRESS>:8123{{state_attr(ns.final_entity, 'entity_picture')}}                 {% else %}                 {% endif %}         title_template: "{{state_attr( 'media_player.group_home_speakers', 'media_title') }}"         album_template: "{{ state_attr( 'media_player.group_home_speakers', 'media_album_name')}}"         artist_template: "{{ state_attr( 'media_player.group_home_speakers', 'media_album_artist') }}"         unique_id: template_group_home_speakers         media_content_type_template: music
    Thanks for the component!


Updated hooking?

You know what I'm talking about hehe

I'm thinking about it but method which i can upload can crashes sometimes :(


Add gradle build file

Add an optional gradle build file to easily integrate into Gradle projects like dd-trace-java

No, it's fully optional. It could help for development process but that is all.
I will drop it. If anyone needs it, it will find it from this PR 😉


Add #[key] tag to YASFactory contract

The #[key] tags were not added to the events of the YASFactory contract because when comparing the values in the tests, we encountered values that did not match our expectations. The issue would involve adding the #[key] tags (as needed) to the OwnerChanged, PoolCreated, FeeAmountEnabled events, understanding the process, and adapting the tests.
Some questions:

How are the values of the event attributes displayed when they have the #[key] tag?
Would the values lose their original meaning if we use them as keys?

Sources:
Contract Events

I would like to work on this. And using an attribute as a key doesn't necessarily change the original meaning of its value. I think the original meaning will be retained.
Kindly assign me this issue

I guess you can just work on it and create a PR

I would like to work on this. And using an attribute as a key doesn't necessarily change the original meaning of its value. I think the original meaning will be retained.
Kindly assign me this issue

Hey thanks for taking us into consideration! You don't need the issue to be assigned to you to start working on this.
To contribute you will have to fork the project and then do a PR to YAS. I highly recommend creating one branch per PR you make to avoid conflicts in your main branch.
What we for this issue is not only to do the refactor but also provide a reasoning on what's the best way to structure the Event.

Awesome. I will get started with it.

@rcatalan98 I have an update on this.
I found out that the reason why the tests are failing is beacause:
the keys in events always contain the event name hash key as first key, but this is not part of the event enum, so the deserialziation is "shifted right" when using pop_log.
Fix to the issue:
This should be handled in the pop_log function at some point, but in the meantime you can add a wrapper, and remove the first key, and everything will work as expected.
Here's a reference to the fix from Oz:
https://github.com/OpenZeppelin/cairo-contracts/blob/258daba0f4e85fcc8bc1f142ce1b2bdf328453b3/src/tests/utils.cairo#L24
I replaced the pop_log from starknet and replaced it with the the pop_log with the wrapper from OZ and the tests passes successfully when #[key] are added to index event. BUt without adding the #[key] attributes the tests fail.
I am still looking into how to make the test pass for both cases
Just wanted to drop the update

Closed in #110


[front] - feature: implement user and agent usage reporting

Description
This PR introduces new queries that will be added to the reporting for workspace analytics.
The main changes include:

Adding new SQL queries to fetch detailed usage data for users, agents, and messages within specified time periods.
Implementing functions to generate CSV reports for message, user, builder, and agent usage data.

References:

https://github.com/orgs/dust-tt/projects/3/views/1?pane=issue&itemId=67809458

Risk
None for now as the new queries are not being used
Deploy Plan
None

did you test it and it worked? (front-edge to have real data)
will this be called on demand by admins only?

@philipperolet I tested it on front-edge and it worked as expected, even though quite slow. But it will only be called on demand (basically replacing the "Download Activity Data" that we currently have