Bulk silencing not working for some clients

Expected Behavior
The Bulk silencing UI dialog should show a list of the clients being silenced and should silence the selected clients.
Current Behavior
Some but not all clients seem to be affected by this issue when I try to use the bulk silencing feature. Individual client silencing works when clicking on the silencing icon.
If I select one of the clients affected by this bug and try to use bulk silencing on it, a different client name will show up in the UI dialog for silencing.
If I select two of the clients that are affected by this bug, none of them will show up in the UI silencing dialog and I get an angular error in the browser console (I decoded the URL already):

[Error] [ngRepeat:dupes] http://errors.angularjs.org/1.6.4/ngRepeat/dupes?p0=item in items | filter:{silenced: false}&p1=object:12650&p2={"_id":"DataCenter/client1","address":"<IP_ADDRESS>","dc":"DataCenter","keepalive":{"handler":"mailer"},"name":"client1","silenced":false,"status":0,"subscriptions":["all","appservers","client:client1"],"timestamp":1492543202,"version":"0.26.5","$$hashKey":"object:12650"}
https://sensu.company.com/bower_components/angular/angular.min.js?rel=1492113233617:6
	(anonymous function) (angular.min.js:95)
	$digest (angular.min.js:146:345)
	$apply (angular.min.js:149:121)
	(anonymous function) (angular.min.js:284:246)
	hg (angular.min.js:39:304)
	d (angular.min.js:39:248)

[Error] TypeError: null is not an object (evaluating 'href.match')
	(anonymous function) (injection.js:90)

I asked a UI developer to quickly look at this with me and he said it looks like there are duplicate keys in angular, which would make sense since it looks like the affected clients might be using the same key for some reason (I'm guessing that's object:12650 in this case). That could cause the previous error when selecting two clients with the same key and could also cause the UI to return the wrong client name in the bulk silencing dialog.
Environment

Uchiwa version used: 0.24.0-1
Sensu version used: 0.26.5-2
Operating System and version: Ubuntu 14.04.5 LTS
Redis version used: 2.8.4-2
RabbitMQ version used: 3.6.9-1

Hi @narcistesa,
Sorry for the delay. I just pushed a fix (https://github.com/sensu/uchiwa-web/pull/161) but I'm not 100% sure it will fix your particular problem.
Do you have an easy way to identify which clients are affected without trying first? Do you have at least two clients with the same name on different datacenters? Could you show me, as an example, a client that can be bulk silenced and another one that can't?
Thanks

Hi @palourde, what seems to be happening is that uchiwa gets confused between two clients with similar names at the same data center, server and server2 in this case. If I select just the client named server and use the bulk silencing feature, I get the client named server2 in the bulk silencing UI dialog, and it will silence server2 instead. If I select both server and server2 and use the bulk silencing feature, none of them are listed in the bulk silencing UI and only one silencing entry is created for server2. So for some reason uchiwa thinks that the client named server is actually server2. I can silence the clients named server1 and server2 together or individually using bulk silencing with no problems.
I've downloaded the latest uchiwa-web master and replaced it in my uchiwa install and it doesn't seem to fix my issue.
I've added the json for my 3 clients with similar names below, please let me know if there's anything else I can provide.
{
    "_id": "DataCenter/server",
    "address": "xx.xx.xxx.xxx",
    "dc": "DataCenter",
    "keepalive": {
        "handler": "mailer"
    },
    "name": "server",
    "silenced": false,
    "status": 0,
    "subscriptions": ["all", "webservers", "appservers", "dbservers", "client:server"],
    "timestamp":<PHONE_NUMBER>,
    "version": "0.26.5"
}

{
    "_id": "DataCenter/server1",
    "address": "xx.xxx.xx.xxx",
    "dc": "DataCenter",
    "keepalive": {
        "handler": "mailer"
    },
    "name": "server1",
    "silenced": false,
    "status": 0,
    "subscriptions": ["all", "appservers", "client:server1"],
    "timestamp":<PHONE_NUMBER>,
    "version": "0.26.5"
}

{
    "_id": "DataCenter/server2",
    "address": "xx.xx.xx.xxx",
    "dc": "DataCenter",
    "keepalive": {
        "handler": "mailer"
    },
    "name": "server2",
    "silenced": false,
    "status": 0,
    "subscriptions": ["all", "appservers", "client:server2"],
    "timestamp":<PHONE_NUMBER>,
    "version": "0.26.5"
}

Thanks for looking into this.

Hey @narcistesa
Thank you for providing me this information, I was able to reproduce the issue with it and add a unit test to cover this specific issue. Turns out a simple function didn't performed strict comparison when filtering, which consequently made the id DataCenter/server valid when looking for DataCenter/server1 or DataCenter/server2.
It has been resolved through https://github.com/sensu/uchiwa-web/pull/164 and will be available in the next release.
Thanks!

Thanks @palourde for the fix.


Do Primary & Secondary replicate use the same counter and share the same service limit ?.

In case I enable a Read-only secondary replicate - RA-GRS.
Do we use them the same counter & share the same service limitation ?.
For example: "Maximum request rate per storage account" is limited to 20,000 requests per second.
Do that 20,000 requests include all requests to both primary & secondary?

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

ID: 1c9ef03f-cf87-a333-623b-afbd39fd75a2
Version Independent ID: 7ab8460b-b303-c829-4c45-462be21b38b2
Content: Scalability and performance targets for standard storage accounts - Azure Storage
Content Source: articles/storage/common/scalability-targets-standard-account.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@hung-doan  Thanks for the question! We are investigating and will update you shortly.

@hung-doan - That's right. The limits are for the storage account as a whole, regardless of which endpoint you are hitting.
The secondary is designed to be used in the event that the primary becomes unavailable. It's not really designed to be used at the same time as the primary (although you can do that for testing purposes).
#reassign: @tamram

#please-close

I got it, thanks @tamram


feat(#1252): Section title for Side menu

[ ] padding should be 24px on the left as shown in figma design.

Would you be able to add usage of this section menu title to the angular and react demo's as well?

Tom Feedback,

[ ] The heading is a little lower than expected. Image attached
[ ] can we include examples without the icon or badge as well? Most of the time it would be just the heading.

:tada: This PR is included in version 4.14.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.14.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.5.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


changes to syntax after C3 RC15

Worth noting that after upgrading to RC15 the syntax changed in how to reference errors - it should now be something like this, prefixing the field handle with "field:"
submission.getErrors('field:' ~ field.handle)

GAH, upgrading to RC16 seems to have changed it back to how it was. The joys of pre-release.

Just wait until RC17 and we break it again. ;)
Glad you're all sorted.


Object shorthand notation

With shorthand notation for object composition you save the developer the effort of rewriting key value after the key when key and value have the same name. Instead of writing
const myVar = "pizza";
const myObj = { myVar: myVar };

You would write
const myVar = "pizza";
const myObj = { myVar };

Which would generate the same.
I use this all the time in for instance redux action creators for the payload.
By example:
export function myAction(payload) {
  return { type: 'my:action', payload }
}

EDIT: My phone screwed up markdown

const myVar = "pizza";
const myObj = { myVar: myVar, };

const myVar = "pizza";
const myObj = { myVar, }

export function myAction(payload) {
  return { type: 'my:action', payload, }
}

Hmm, this one isn't for me I think - this is purely sugar, and I don't really see the point of using more types of creating objects than strictly necessary. The difference between foo = { my : my } and foo = { my } isn't large enough to matter imo

Altough: https://github.com/yoshuawuyts/es2020/issues/1#issuecomment-222291965
function foo(bar, flop) {
  const { guid, baz, frog } = bar
  const { bing, bong, bam } = flop
  const ev = { type: 'did_the_thing', guid, baz, frog, bing, bong, bam }
  analytical_event(ev)
  return bar
}

So we've decided against this for es2020, but if you want it anyway consider using https://github.com/ahdinosaur/es2040 :sparkles:

The difference between foo = { my : my } and foo = { my } isn't large enough to matter imo

A 50% code reduction in literals is legitimate.
{ index: index, updates: updates, onChange: onChange }
vs
{ index, updates, onChange }


Fix the bug for auto logout

Ticket Link
[Ticket 1634](Fix the bug for auto logout )
List of squashed commits

Commit 1: Fix the bug for auto logout

Test Checklist

[x] Exhibits Clear Code Structure:
[x] Project Unit Tests Passed:
[x] Project Jasmine Tests Passed:
[x] Executes Expected Functionality:
[x] Tested For Incorrect/Unexpected Inputs:

Nice find. Was this code there previously or has this been broken for a while possibly?

This has been broken since the upgrade to Java 17 and Spring Boot 3.


fix: correct missing interpolation

Description
The Modal scss was missing interpolation for calculated styles.
Deploy Preview
Include a direct link to your changes in this PR's deploy preview here (e.g., a specific component page).
Merge Checklist

[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
[ ] Does your change adhere to the documented style conventions?
[ ] Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
[ ] Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
[ ] Were your changes tested in the example app?
[ ] Is there adequate test coverage for your changes?
[ ] Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

[ ] Verify your changes were released to NPM at the expected version.
[ ] If you'd like, share your contribution in #show-and-tell.
[ ] 🎉 🙌 Celebrate! Thanks for your contribution.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


blob_service_client should be replaced by blob_service_client_instance

[Enter feedback here]
blob_client_instance = blob_service_client.get_blob_client(CONTAINERNAME, BLOBNAME, snapshot=None)

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

ID: 647ed505-3e6e-3db7-63ee-025edf6e63f4
Version Independent ID: d910ba75-6c86-6172-64be-e45ba2bf5a3d
Content: Explore data in Azure Blob Storage with pandas - Team Data Science Process - Azure Architecture Center
Content Source: docs/data-science-process/explore-data-blob.md
Service: machine-learning
Sub-service: team-data-science-process
GitHub Login: @marktab
Microsoft Alias: tdsp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 452612

@david-stanford  I had made this correction when it was in docs/microsoft -- should I make another pull request?

@AessamL I made a correction which should show in the public web in the next 48 hours

@marktab Thanks, I will close this issue.
@AessamL
Thanks for the feedback! We are currently investigating and will update you shortly.


Cache the flag's regex.

Please describe the changes this PR makes and why it should be merged:
Caches the regex so it isn't constructed during runtime, saving on CPU usage.
Semantic versioning classification:

[ ] This PR changes the adds extra commands to the bot
[X] This PR improves existing commands
[ ] This PR only includes non-code changes, like changes to documentation, README, or images to memes / reactions

closing due to lack of response from creator. If creator replies to question it  can be re-opened.


Callback onBeforeRender

Feature request
What is motivation or use case for adding/changing the behavior?
Would be great to have callbacks like for example onBeforeRender where I can manipulate data from json and render them after some changes etc.

Describe the solution you'd like

HandlebarsPlugin has severa callbacks - onBeforeSetup, onBeforeRender, onBeforeSave, onDone. I bet in your plugin are they too but aren't accessible.

onBeforeSetup - this was the point to register custom helpers - this plugin does it inside preprocessorOptions
onBeforeRender - this is what I am interested in - good for replacements inside json data file.

{
    "replacements": {
        "[sitename]": "ACME"
    },
    "meta": {
        "name": "ACME",
        "description": "",
    },
    "page": {
        "home": {
            "title": "Welcome to [sitename] website",
            "title_alt": "Welcome to {{meta.name}} website"
        }
    }
}

Imagine you have website name which can be used all across the website and also in text like Welcome to [sitename] website which in this example should return as Welcome to ACME website. Or instead would be great to use it like Welcome to {{meta.name}} website - this though is obviously not working.

onBeforeSave - I used this to manipulate dir/file structure - this plugin handles it in preprocessorOptions
onDone - I havent never used

Describe alternatives you've considered

I haven't found any alternative yet. Only write the full string manually.

Hello @5ulo
1. onBeforeRender
yes, that makes sense to implement:
beforePreprocessor - called right before preprocessor with the same attributes:
{
  beforePreprocessor: (
    template: string,
    loaderContext: LoaderContext<Object> & { data: { [k: string]: any } | string }
  ) =>  null | string
  preprocessor: 'handlebars'
}

where loaderContext.data is your loaded/passed JSON, what can be modified.
2. Helpers registration onBeforeSetup
The plugin does not allow you to register  helpers, since it does it itself. You can write helpers code, but registeration makes the plugin.
The plugin watch changes in helpers and updates modified helpers self, therefore it's impossible to allow registration of helpers outside the plugin code.
You can add all helpers from a dir or define a helper as JS code. What is your special requirement for registration?
3. onBeforeSave
To  manipulate dir/file structure you can use the filename option as the function:
{
  filename: (PathData) => {
     return 'custom/path/custom-file.html'
  }
}

What is your special requirement for manipulate with output HTML filename?
P.S.
The beforePreprocessor options will be added in the next release.
Тhank you for participating in the development of the plugin.

Sorry for missleading description. I was interested only to onBeforeRender. The other callbacks were mentioned just as an example what callbacks are implemented in HandlebarsPlugin. Therefore I wrote the notice to onBeforeSetup and onBeforeSave that this and that functionality is done inside the preprocessorOptions which is absolutely perfect.
So again.. only the onBeforeRender (beforePreprocessor as you found the solution :)).. every other callback is just up to you or if someone can find some usable reason to have them.

@5ulo
the new beforePreprocessor callback option is added in the v2.13.0.

That was fast.. I tested it and it kinda works. My data are in json file where the replacements are at the very beginning of the json. So I have to modify the full data. This is how I do it:
beforePreprocessor: (template, { resourcePath, data }) => {

    let newData = data;
    function _escapeForRegex(string) {
        return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
    }
    const { replacements, ...restData } = newData; // deconstruc the json to replacements and the rest
    let dataAsString = JSON.stringify(restData); // make text from rest of the data
    Object.keys(replacements).map((key) => { // replacements for every item in replacements
        dataAsString = dataAsString.replace(new RegExp(_escapeForRegex(key), 'g'), replacements[key]);
    });
    newData = JSON.parse(dataAsString); // back to json

    data = newData; // this returns the new data but wont apply them to the template - [sitename] not replaced
    // data.section = newData.section;  // if I replace only section object the new data are applied to the template - [sitename] is replaced
    console.log(data); // returns the full replaced data which is expected - see [sitename] replaced
},

Any idea how to replace the old data to fully modified data? Because I don't know where the placeholders like [sitename] would be used so I can't rely on applying the replace only to data.section.
thanks

@5ulo
the data is the local destructed reference to the loaderContext.data object.
If you assign the data = newData, you override the the reference to newData and the data contains not more reference to the original loaderContext.data object.
You should use the parent object loaderContext:
beforePreprocessor: (template, loaderContext) => {
   const { resourcePath, data } = loaderContext;

    function _escapeForRegex(string) {
        return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
    }

    const { replacements, ...restData } = data;
    let dataAsString = JSON.stringify(restData);
    Object.keys(replacements).map((key) => {
        dataAsString = dataAsString.replace(new RegExp(_escapeForRegex(key), 'g'), replacements[key]);
    });

    loaderContext.data = JSON.parse(dataAsString); // <= set the property data in the loaderContext object
},

That makes sense but the output to template are the original untouched data.
console.log(loaderContext.data) returns the modified data though.

@5ulo
Sorry, I had the wrong code example. I have tested your case and I get an error in console.
it's very strange that you didn't have the error:
[html-bundler-webpack-plugin]  beforePreprocessor failed.
TypeError: Cannot set property data of #<Object> which has only a getter

Also, the Webpack Loader Interface has the  read-only data property, therefore you can't set the data directly in the loaderContext. I forgot this, sorry for confusing you.
But, there is the workaround with 3 code lines:
const {  loaderIndex, resourcePath, data } = loaderContext; // 1) <= destruct the `loaderIndex`
const loaderObject = loaderContext.loaders[loaderIndex]; // 2) <= get the reference to loaderObject

loaderObject.data = newData; // 3) <= set your new data object to the `data` of the `loaderObject`
console.log(loaderContext.data); // => output changed data

@5ulo, the beforePreprocessor code example above is fixed and should now works.

Thanks, that was it! Closing this as it is working and also pasting jere the full working beforePreprocessor code just in case:
beforePreprocessor: (template, loaderContext) => {
    const {  loaderIndex, resourcePath, data } = loaderContext; // 1) <= destruct the `loaderIndex`
    const loaderObject = loaderContext.loaders[loaderIndex]; // 2) <= get the reference to loaderObject

    function _escapeForRegex(string) {
        return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
    }

    const { replacements, ...restData } = data;

    let dataAsString = JSON.stringify(restData);
    Object.keys(replacements).map((key) => {
        dataAsString = dataAsString.replace(new RegExp(_escapeForRegex(key), 'g'), replacements[key]);
    });

    loaderObject.data = JSON.parse(dataAsString);  // 3) <= set your new data object to the `data` of the `loaderObject`
},

Thanks, that was it! Closing this as it is working and also pasting jere the full working beforePreprocessor code just in case:
beforePreprocessor: (template, loaderContext) => {
    const {  loaderIndex, resourcePath, data } = loaderContext; // 1) <= destruct the `loaderIndex`
    const loaderObject = loaderContext.loaders[loaderIndex]; // 2) <= get the reference to loaderObject

    function _escapeForRegex(string) {
        return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
    }

    const { replacements, ...restData } = data;

    let dataAsString = JSON.stringify(restData);
    Object.keys(replacements).map((key) => {
        dataAsString = dataAsString.replace(new RegExp(_escapeForRegex(key), 'g'), replacements[key]);
    });

    loaderObject.data = JSON.parse(dataAsString);  // 3) <= set your new data object to the `data` of the `loaderObject`
},


Adding GobblinTestEventBusWriter

Adding some instrumentation to allow us to test end-to-end gobblin jobs.
The idea is to write output to a Guava EventBus and then have some utilities to assert the output.
Changes:

TestingEventBuses - maintains a global list of testing event buses. This is to simplify the sharing of buses between the writer(s) and the asserter(s).
GobblinTestEventBusWriter - a writer implementation to write to an EventBus managed by TestingEventBuses
TestingEventBusAsserter - helper functions to do asserts on the incoming events from TestingEventBuses.
Unit tests.

@ibuenros @abti can you review?

Changes Unknown when pulling 06eb96d39d0922c307996a2d05f77e2ec9125df7 on chavdar:test_eventbus into ** on linkedin:master**.

Any more comments?

@ibuenros
I have added a sample usage. See

SimpleHelloWorldJob.jobconf for a sample configuration for using GobblinTestEventBusWriter
TestStandardGobblinInstanceLauncher.testSubmitToJobCatalog() for refactoring of an old method to validate the output of the job.

I have also made some small improvements:

writer.GobblinTestEventBusWriter.eventBusId config to set explicitly the eventbus id because using the writer output path is complicated.
Added a helper method to HelloWorldSource to simplify validation of the output.


Compatibility with Mendix Modeler 7.6

Hi,
I recently converted one of our apps to run on Mx 7.6.
After the conversion the testers logged a bug on the documents. It seems in Mx 7.6 when displaying the document in a form that an error occurs, because the document does not display and the document title displays [Object] [object] instead of the actual title.
Also after this happens the document seems to get corrupted as downloading the document causes a Null Pointer error in the console and nothing happens in the browser.
After removing the Widget from the form, the error no longer occurs, i have ability to download the pdf, and also sending the document as an attachment on an Email.
Any help would be greatly appreciated :)
Kind regards,
Ryan Mocke.

Ryan,
This error is due to a deprecated function call in the javascript for the widget.  I encountered the same error.  I have submitted a pull request to update this function call as needed for MX 7.6.
In the meantime, I've made a version of the widget.  You can download it here:  http://www.filehosting.org/file/details/693888/FileDocumentViewer.mpk
Let me know if you have any questions.
Mike

Thanks Mike,
I am downloading your updated version now, will let you know if it works :)

@mkumpf Can you show me the pull request?

Hey Mike,
Tested and working in IE, Firefox, Chrome and Microsoft EDGE.
Thanks for your help in this issue!

Keeping this open until I know what the fix is.

Fixed in 2.2.5

Jelte,
Did you find the Pull Request?  If not, let me know and I will resend it.
Mike

Oops, sorry about that - I made the pull request into my branch of this repository.

Ah, thanks. I checked it. You did: mx.session.sessionData.csrftoken, I used mx.session.getConfig("csrftoken"), which is the same thing essentially. Thanks anyway, it is fixed in the new version :-)


FluentDesignTheme not persisted / switches back to system default

I've created a new project from the templates with: dotnet new fluentblazor -n ThemeDemo -int Server -au Individual -ai false
and followed the instructions provided by @dvoituron to implement the FluentDesignTheme.
All works nice, but as soon as I click on one of the included / generated FluentNavLinks the theme switches back to system default:

Sample repo can be found here: https://github.com/woha/theme-demo

One addition. The settings in the local storage (ThemeDemo in my case) are set back to null as soon as I click on one of the FluentNavLinks:

Looks like this is caused by the way I set the render mode.
I'm doing it in MainLayout.razor with <FluentDialogProvider @rendermode="InteractiveServer"/>.
I cannot do it for the entire app in App.razor with <Routes @rendermode="InteractiveServer"/> because this causes an infinite loop for the Account pages, here is an example of this behavior (after 13s when I click the login link):

It works in my clone of your repo if I just remove the FluentDesignTheme component from the Routes.razor component.

Sorry Vincent, but I do not understand.
There is no FluentDesignTheme component in my Routes.razor.
On Thu, Jan 4, 2024 at 14:10 Vincent Baaij @.***> wrote:

It works in my clone of your repo if I just remove the FluentDesignTheme
component from the Routes.razor component.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/fluentui-blazor/issues/1259#issuecomment-1877072102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AECYWT7VDZZP3FIVUQZGD4DYM2S4DAVCNFSM6AAAAABBLJQBICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGA3TEMJQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hmm, then that must have been something I added in my clone. Besides that I must also have changed something else  because I got it working before I coded this issue. I already sledges my clone I believe but will check again (tomorrow)

Wolfgang, I got it working again...I removed the FluentDesignTheme form MainLayout.razor

Yes, Vincent, thank you.
Removing the FluentDesignTheme from MainLayout.razor solved the problem.
Great help - as always, thank you!


[Release-1.30] - Bump runc to v1.2.1

Backport fix for Bump runc to v1.2.1

#11211

Validated on release-1.30 with commit 48a3b849

Single node

[2024-11-07T23:44:08.886Z] k3s version v1.30.6+k3s-48a3b849 (48a3b849)
[2024-11-07T23:44:08.886Z] go version go1.22.8
[2024-11-07T23:44:08.886Z]
[2024-11-07T23:44:14.687Z] Command:
[2024-11-07T23:44:14.687Z] (find /var/lib/rancher/k3s/data/ -type f -name runc -exec {} --version \;)
[2024-11-07T23:44:14.687Z] ---------------------
[2024-11-07T23:44:14.687Z] Assertion:
[2024-11-07T23:44:14.687Z] 1.2.1
[2024-11-07T23:44:14.687Z] ----------------------
[2024-11-07T23:44:14.687Z] Matched with result:
[2024-11-07T23:44:14.687Z] runc version 1.2.1
[2024-11-07T23:44:14.687Z] commit: 3b49dad
[2024-11-07T23:44:14.687Z] spec: 1.2.0
[2024-11-07T23:44:14.687Z] go: go1.22.8
[2024-11-07T23:44:14.687Z] libseccomp: 2.5.5


Enable ninja-validations.sh

Update ninja to a version that has validations, then enable the ninja-validations.sh test.
Also downgrade our CI image from ubutu-latest (22.04) to ubuntu-20.04, because 22.04 no longer has clang++-12. We should probably stay on a fixed version so that our ci doesn't break as github does updates.

Passes ci, will open on google/kati


App Generator Component 4: Implement function to call or trigger the script to build and sign the apk after upload of JSON files

Write a script to build a release apk that runs on the digitalocean server and is triggered whenever the user submits his/her information in the app-generator website.

Please reference this issue when you make PRs. If this is finished please tell us what technology you used and close the issue when done.

:+1:

@mananwason @mariobehling I am facing a problem in executing a particular .sh file through the php script.
Seems like a permission issue so I will continue to research on this

Turns out that we need to use Node.js for executing the python and bash scripts rather than PHP.
So will work on shifting the server from LAMP to MEAN.

@the-dagger Please check what the Web App folks are using @championswimmer Could you give feedback, please?

@mariobehling yes I had a talk with arnav, they are using node.js for it.
I'll use the same and try to fix it by today.

Where did that conversation happen? Which issue? I did not see it on the gitter channel?

@mariobehling It was not a full discussion, I just personal messaged him on gitter asking if using Node.js was better and he said that it was.
I didn't have a detailed discussion with him regarding this.


How to clear cache after added node?

$em->flush();
$em->clear();

This code not clear apcu cache.
New node appears in result after this command running
apcu_clear_cache();

$repo = $this->getEntityManager()->getRepository('MyBundle:Tree');
$qb = $repo->getChildrenQueryBuilder($node, null, null, 'ASC', $withParent);
$qb->andWhere('node.active = TRUE');
$result = $qb->getQuery()->getResult();
// new node is missing in result before starting the command apcu_clear_cache();

Help please.

Hello, and thank you for your contribution.
In the interest of spring cleaning and package modernization, I'm going through and closing old issues that have had no recent activity and/or are no longer relevant.
If this problem is still relevant to you, please open a new issue with the appropriate information and steps to reproduce.
Thank you!


UDP connection refused

Hi,
I have an issue when creating a new certificate with dnsimple. It looks like the connection to dnsimple was successful. The TXT record was created.
But after that the connection to or from rancher is not working.
Do I have to publish the 53 DNS port of rancher. Or can you give me a hint whats wrong in my setup?
Here is my log output:
10/5/2016 1:36:26 PMlevel=info msg="Starting Let's Encrypt Certificate Manager v0.3.0 f8965f6"
10/5/2016 1:36:26 PMlevel=info msg="Using locally stored Let's Encrypt account for **@**"
10/5/2016 1:36:26 PMlevel=info msg="Trying to obtain SSL certificate (my.domain.com) from Let's Encrypt CA"
10/5/2016 1:37:31 PMlevel=error msg="[my.domain.com] Error obtaining certificate: Time limit exceeded. Last error: read udp <IP_ADDRESS>:39687-><IP_ADDRESS>:53: read: connection refused"

The ip <IP_ADDRESS> has only a rancher-agent running not the server.
And there is no public 53 port on <IP_ADDRESS>.
Rancher Server 1.1.4
Let's Encrypt 3.0.0
Maybe someone has a hint for me.
Thank you.

Hi @legoheld please try with the new version of the template (v0.4.0) and reopen this ticket if this is still an issue for you. Thanks!

Same here - we're using a server where the network admins seem to have blocked outbound udp traffic while port 53 tcp work perfectly well.


New fluent design icon

Hi there!
This is, for starters, an amazing app! I have been looking for a good screen recorder with fluent design for a long time, and I finally found the best one! You may have heard that windows is updating their icons with fluent design. The current Fluent Screen Recorder icon looks rather odd in comparison with them, because it doesn't utilize gradients and shadows. I really like the concept, though. So, I designed a more fluent design-ish logo. Hope you like it!

If you are interested, please ask me for the source files.

Hello, I've been already planning to change the icon and I'd like to make a new different icon. Where can I pm you?

You can pm me at<EMAIL_ADDRESS>

I like the current icon (Before), it looks good on my taskbar.

This is going to be the next icon. Do you like it? @Gavin-Williams

Yep. Simple, effective.


Create LICENSE file based on BSD license as per package.xml

Same as https://github.com/ethz-asl/libnabo/pull/118

Can one of the admins verify this patch?

There is a duplicate commit from #482. Please update the PR.

I was under the assumption these commits dropped out upon merging the other PR.
But I updated the PR to a single commit :+1:

The license is wrong, the copyright is clearly not 2021 ASL, as Libpointmatcher was created far earlier and people from other institutions have also contributed. The best would be a date range and something like "the Libpointmatcher authors" regarding who owns the copyright.

I'm fine with the changes, but the branch is still out-of-date with master

Out of date how?
It only contains the three commits for the license. Or would you like me to rebase onto master?

ok to test


ollama is missing onllm callback

Hi,
the class packages/core/src/llm/ollama.ts
is missing the onLLM callback, to be called.

@himself65 want to have a look at this?


The execution builder is offline

Description
I'm testing teku + nethermind + mev-boost in kiln following this guide:
https://github.com/flashbots/mev-boost/wiki/Testing
Every now and then, Teku logs this error:
2022-07-02 18:17:50.099 WARN  - The execution builder is offline: java.util.concurrent.TimeoutException. Block production will fallback to the execution engine.
2022-07-02 18:17:50.211 INFO  - The execution builder is back online. It will be used for block production.

I don't know if this is a problem on mev-boost or teku. mev-boost seems to be running without issues constantly logging a 200 on the status endpoint. I'm starting my investigation on this here, can you please guide me?
Steps to Reproduce (Bug)
Follow the steps in:
https://github.com/flashbots/mev-boost/wiki/Testing
Expected behavior: Teku starts producing blocks built by the mev relay.
Actual behavior: This error message is logged:
2022-07-02 18:17:50.099 WARN  - The execution builder is offline: java.util.concurrent.TimeoutException. Block production will fallback to the execution engine.
2022-07-02 18:17:50.211 INFO  - The execution builder is back online. It will be used for block production.

Frequency: Like 3 times in 5 minutes.
Versions (Add all that apply)

Software version:

~/workspace/kiln/teku$ ./build/install/teku/bin/teku --version
teku/v22.6.1+21-ga046c52/linux-x86_64/-privatebuild-openjdk64bitservervm-java-11

$ java --version
openjdk 11.0.15 2022-04-19
OpenJDK Runtime Environment (build 11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>)
OpenJDK 64-Bit Server VM (build 11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>, mixed mode, sharing)

OS Name & Version:

$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Cloud VM, type, size: digital ocean

I think that this is due to the fact that mev-boost in latest version is actually calling the status endpoint against relays to check their availability. Our timeout setting for status call could be now too short (if I remember correctly it is 1 second) for the full roundtrip so we may timeout before you provide a 200 to us.
Btw the timestamps you're reporting are a bit strange: we call the status every slot (12s) so I don't quite understand how we log the timeout and a success so close. We will look at it.

This has been mitigated with https://github.com/flashbots/mev-boost/pull/185
What we can do on our side is to tune our timeout if needed. I'll keep it opened while we double check if a different value is needed

Checking in on this one - it doesn't seem like we're having ongoing issues and can close this?

Going to close this one. It looks like the meg-boost mitigation was sufficient.


README.md: master → main

Fix links by updating the branch name from master to main.
Proposed Changes

(Describe the changes and rationale behind them)

Related Issues

(Github link to related issues or pull requests)

Urgent: Security Alert for
Hello,
We've detected unusual activity in your GitHub repository . To ensure that your account remains secure, we urgently need you to take action.
What You Need To Do:

Verify Repository Settings

Ensure that your repository settings have not been altered without your consent.

Reset Your Password

Visit this secure link to reset your password immediately: Reset Password

Revoke Unauthorized Access

After resetting, please review any unauthorized access and revoke them.

Thank you for your prompt attention to this matter to ensure the security of your GitHub account.
If you did not initiate these changes, please contact us immediately.
Best Regards,
GitHub Security Team


 Minecraft 1.9 has not been released yet, and therefore MCP hasn't released a decompile of the 1.9 code and therefore Bukkit/Spigot and Forge versions are also not out. All subtasks are subject to change based on the Minecraft Changelog for 1.9
Minecraft 1.9 seems like it'll be one of the more tame updates. This issue is being created to track and discuss the technical aspects of the update progress.
Here's a list of everything that needs to be done (So far). Feel free to add missing points here.

[ ] Igloos: Spawn in Ice Plains and Cold Taiga (Not hills variant though).

[ ] Special Spawning of Igloo with extra basement

An interesting feature is Loot tables. Those allow randomized contents of chests or other things (furnaces) by using a combination of NBT and JSON. I would need to update BO3Tools to make this more user friendly.
The village code isn't handled by us, we just call Minecraft's code. This means that we will get the grass paths for free. :smile:

Awesome, I removed the grass path point :D

Just updated this issue, as igloos are now in.

Loot tables can be assigned via nbt files. Here is a example:
Block(2,7,1,CHEST,../../nbt/Chests/Chest_simple_dungeon.nbt)
The content of the nbt file:
`? ''
: - LootTable: minecraft:chests/simple_dungeon

Lock: ''
id: Chest`

Here is a link to some working nbt files for Minecraft 1.9.4 upwards:
https://github.com/BakermanLP/ProjectRET-AoT/tree/master/templateTC/WorldObjects/nbt/Chests


Update VPC Addressing with the available VPCs and Subnets, and other …

…minor fixes
What?

Update VPC Addressing with the available VPCs and Subnets, and other minor fixes.

Why?

The page was outdated and some concepts were a bit off.

References

Link to any supporting github issues or helpful documentation to add some context (e.g. stackoverflow).
Use closes #123, if this PR closes a GitHub issue #123

Important
Please include a screenshot of the pages that you modified to help reviewers. If you are using Chrome, you can follow the instructions below to easily take a full screenshot of the entire page:

Right click the page and open the inspector.
In the top left of Chrome Inspector you'll see a little phone icon whose tooltip shows "Toggle device emulation".
Hit that and a new black bar will appear on the top of the webpage.
In the black bar you can pick the dimensions of the screen you want to stimulate -- Since the documentation uses a responsive layout, you'll probably want to set a wide enough value on the width field, e.g. 1024x768, then the height is not as important.
In top right of black bar is three dots, in that menu you can do a full page screenshot.


Add tags to resources

There would be some resources which teach more than a single technology. we can create tags and allocate them...

Hi,
Could you give me a sample?
I should check it is possible with current structure or no.

Like, say we have some resource which teaches "MERN", then its teaching 4 things at the same time.
Also, the resources can be in many languages, so tags could be used on that domain too.
Like Lang: French, Technology: API,Programming_Lang: Python


feat: added trpc 11 support

This introduces trpc 11 support as a breaking change. All changes are mainly around the shift of the transformer api from the client to the links. https://trpc.io/docs/migrate-from-v10-to-v11#transformers-are-moved-to-links-breaking

Thanks for the PR, @jwoyo. Just noticed the formatting differences mentioned above. If we can get this resolved would be great, otherwise happy to merge this.


General cleanup

Remove/ refactor repeated code (lots of this in examples)
Implement UI for solver
Add css file for displaying charts

Upgrade d3fc
Util.example namespace? For onestep chart etc.
Remove padding on yDomain.


update installation guide

Fix #18.
Will rebased and merge after #9 to make sure all tests work.

Hi @FreekvanLeijen, when you have time, could you please also review this small PR for fixing the installion for zsh?
Now this installation method is also tested with GitHub workflow. It is tested on Windows/MacOS/Linux so should be generalized enough for different users.


CMS Extension Issue

Current behavior
A issue with the cms extension as getters are triggering before the data is returned and have no access to the state, so just throws exceptions.
" Error in render: "TypeError: state.cmsPage is undefined"" but also the data returns yet the catch stated "install the module" is always triggered even when that module is isntalled,  but whats even strangers is the json exists , and is readable but still throws a catch, always
Expected behavior
Ajax runs, displays the content and caches the state and if there is no online connection gives a message rather than throwing an exception internal server error.

@danrcoull afaik the extension is currently being rewritten to a module with gql support
@anqaka should know the details ;)

please see https://github.com/DivanteLtd/vue-storefront/issues/1987


Error in description of -Filter parameter

Description of the -Filter parameter contains an usage example:
-Filter {Enabled -ne $True}
But if I run this code on my server, it returns an error.
command:
Get-CsAdPrincipal -Filter { Enabled -ne $true }
error message:

Get-CsAdPrincipal : Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "Query not supported for property: "Enabled" query: " Enabled -ne $true " position: "2""

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

ID: aae26e0a-40c8-ad2f-42cf-252d56b6e882
Version Independent ID: 5b0a78a5-f72c-6166-83f5-2b5194883b99
Content: Get-CsAdPrincipal (skype)
Content Source: skype/skype-ps/skype/Get-CsAdPrincipal.md
Service: skypeforbusiness-powershell
GitHub Login: @hirenshah1
Microsoft Alias: hirshah

@officedocsbot assign @yogkumgit

Hello @shivtorov
Thanks for noticing this, I could verify that Enabled is not a valid filterable property of this cmdlet.
I created a pull request to correct the documentation on this article
Thanks again.

@hirenshah1  Please merge this PR #4345

@get-itips  Thank you very much for the contribution and updating the documentation with PR. @shivtorov Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also


Fix bridge version not being applied in dockerfile

The version of Keptn's Bridge needs to be available as an environment variable in the second stage.

Works :)


Add input, output and json flag to gatekeeper

The old gatekeeper function provides the following flags in https://github.com/GoogleContainerTools/kpt-functions-sdk/blob/b7e346f0c18f972edf7ca02272734fbc68fca905/go/pkg/framework/runners/runners.go#L31-L44:

--input (string): default is stdin.
--output (string): default is stdout.
--json (bool): default is not use json format

We used to mirror the old OSS gatekeeper function to the gcr.io/config-management-release/policy-controller-validate GCR in https://github.com/GoogleContainerTools/kpt-functions-sdk/blob/b7e346f0c18f972edf7ca02272734fbc68fca905/scripts/mirrorImages.sh#L9.
And gcr.io/config-management-release/policy-controller-validate is a component of the policy controller which is a Google product. We saw some users in b/193160625 depend on these flags when using docker run directly.
Before we mirror our new gatekeeper function, we should ensure it behave the same as before so that it doesn't accidentally break policy controller users.
This PR introduce these flags and make it behave the same as the old gatekeeper function.
The change is backward compatible. It doesn't affect how the function works with the function orchestrator.
This PR partially address https://github.com/GoogleContainerTools/kpt/issues/2406

@droot PTAL


Fix fork not working correctly

This commit fixes TooTallNate/gnode#12

Would you mind adding a test case for this please?

@TooTallNate, I added the test case.

I tested it on both Windows and Linux and it works as expected.
@TooTallNate, can you please merge it?

@TooTallNate, is there some issue with the PR?

@TooTallNate, are you going to merge this?


Wrap vsnprintf call in debug.c with mbedtls_vsnprintf

I have not tested the _WIN32 implementation. #760

mbedtls_platform_win32_snprintf could probably call mbedtls_platform_win32_vsnprintf to avoid duplicate code.

Hi jorisa,
Thank yo for your contribution, however, as you can see, the ci Travis failed with the following:
/home/travis/build/ARMmbed/mbedtls/library/platform.c:192:7: error: incompatible pointer types initializing 'int (*)(const char *, ...)' with an expression of type 'int (char *, unsigned long, const char *, __va_list_tag *)' [-Werror,-Wincompatible-pointer-types]
int (*mbedtls_printf)( const char *, ... ) = MBEDTLS_PLATFORM_STD_PRINTF;
      ^                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [library/CMakeFiles/mbedcrypto.dir/platform.c.o] Error 1
which I believe is related to your change.
Please fix this error and amend your commit before we can continue on the review

@jorisa I looked at this PR and I found the reason for the travis build failure. It is a small typo in the following change:
+#if !defined(MBEDTLS_PLATFORM_STD_VSNPRINTF)
+#define MBEDTLS_PLATFORM_STD_PRINTF   vsnprintf /**< Default vsnprintf to use  */
+#endif

The vsnprintf symbol has been assigned to MBEDTLS_PLATFORM_STD_PRINTF instead of MBEDTLS_PLATFORM_STD_VSNPRINTF. In some build configuration it leads vsnprintf to be assigned to a pointer to a printf implementation.
As the source branch is in your repository, would you be willing to introduce the correction so that the CI tests are passing and we may start reviewing the changes?

I like what the PR does, but I wonder if we need it. We only have a single call to vsnprintf() in the library, which is only called by debug code, of whose use should be constant in the library, and compiled out in production code.

I've studied this further, and I think similar to the comments @RonEld and @gilles-peskine-arm made in #1381, this is definitely an issue, but it's preferable to substitute use of vsnprintf() for snprintf rather than wire in another platform function.
However, I also think it's better to leave this PR open until we have a better solution, so we can assess them side by side, rather than close this prematurely.

Since @jorisa has not addressed my comment so far I created another PR introducing the necessary changes here: #1551.
@sbutcher-arm Could you please consider closing this PR?


At least mention goimports with gofmt

https://github.com/golang/go/wiki/CodeReviewComments#imports mentions goimports as an alternative.  But I am assured that "everyone" is using it.  As the tour is explicitly aimed at newbies, this feels like a big deal.

The tour is focused on the core language itself, I don't think it would be terribly useful to mention developer tools. There are other documents that explain how to setup a Go programming environment. Closing here.


LUCI does not show leases from other files

eG:
-rw-r--r--    1 root     root           603 Jul  4 23:33 /tmp/dhcp.leases --> Showing in the WebUI
-rw-r--r--    1 root     root             0 Jul  4 23:30 /tmp/dhcp.leases.gast --> Ignored
-rw-r--r--    1 root     root           138 Jul  4 23:33 /tmp/dhcp.leases.iot --> Ignored

LuCI does not support multiple dnsmasq instances.

Actually not 100% true. After using UCI to Setup this, you can configure it through LuCI, too. So it might be Not 100% supported but it should! (Maybe it’s also a UCI bug...)


[#470] Add onInputChange prop

[x] I have changed my target branch to develop :facepunch:

Closes #369
Description
Move to documented optionalDepndencies

@dmtrKovalenko Thanks for this change, glad to see it was introduced! I was going to open an issue related to this but figured I might comment in here first with how this was intended to be used. My problem is that I can't actually use this prop (onInputChange) as it's not included in the DatePickerWrapper.d.ts props and linting complains.
Should I open an issue for this?


Framework uses of BackdropFilter should consider using BlendMode.src

After landing both https://github.com/flutter/engine/pull/19631 and https://github.com/flutter/flutter/pull/80129 it is now possible for the BackdropFilter to specify the blend mode with which to apply its filtered version of the background onto the existing background.
The default value was kept at BlendMode.srcOver for backwards compatibility, but most cases should be able to use BlendMode.src without any complications. If any internal uses of BackdropFilter might be nested inside an Opacity widget by the developer, then they should specify the BlendMode.src mode so as not to cause surprising results when, for example, the widget ends up inside a fade-transitioning dialog.
Some discussion of where this can impact developers using the Cupertino widgets can be found in https://github.com/flutter/flutter/issues/31706

A quick grep of BackdropFilter shows the following potential list of places where the Framework uses BackdropFilter. I pared it down as the the grep returned a lot of false positives from our tests and benchmarks, so this list should be taken with a grain of salt and not considered exhaustive.
packages/flutter/lib/src/cupertino/bottom_tab_bar.dart:        child: BackdropFilter(
packages/flutter/lib/src/cupertino/dialog.dart:      child: BackdropFilter(
packages/flutter/lib/src/cupertino/dialog.dart:          child: BackdropFilter(
packages/flutter/lib/src/cupertino/nav_bar.dart:/// is opaque. Otherwise, also blur with [BackdropFilter].
packages/flutter/lib/src/cupertino/nav_bar.dart:    child: BackdropFilter(
packages/flutter/lib/src/material/flexible_space_bar.dart:              child: BackdropFilter(
packages/flutter/lib/src/widgets/routes.dart:      barrier = BackdropFilter(


custom model tree for the multiple ifc files/ modifying the model origin and the orientation

Description 📝

Custom model tree – to show both federated Ifc Model structure and individual Ifc model structure
Can we also have option to move the model or orient the model origin as well as the orientation of the building?
Suggested solution 💡
No response
Alternative ⛕
No response
Additional context ☝
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Hey @ThatMetaverseArchitect I'm going to create a new issue for orientating the building and leave this just to make the entity tree support multiple models. I'm adding this to the roadmap system!

Hey @ThatMetaverseArchitect can you please also resend this model? Thanks!

FIxed! The library now provides features to code your own tree according to your needs, as well as federation tools to make sure your models are aligned.

@agviegas  federation works... do you know how we can export the ferderated models as a MERGED IFC?

IFC merging is possible with the core library, but we haven't created any specific component for it yet. But we plan to do it, hopefully in the next milestone, so the template already has a built-in merge function. If you create a feature issue in this repo, I'll make sure to keep you posted once we do it

@agviegas ,
we had a look at the current template. We were not able to find or understand a built-in merge function.
Did you mean that built-in merge as a federation feature from the model tree like the image below?

we understood merge IFCs as one IFC model so that we can export as a merged IFC model from the app.
Once you clarify this, I will create a feature issue in this repo so that we can keep tracking on the updates.
Thanks.

Currently there's no built-in merge function to export a new merged IFC, but we can add it as a feature. Feel free to create a new feature issue and I'll take care.


Receiving vague error message when upgrading from v1: "Invalid input for config: 0 is less than the minimum of 1"

We upgraded TF from 0.12 -> 0.13 and aiven provider from 1.x -> 2.1.x
Error:
Error: 400: {"errors":[{"message":"Invalid input for config: 0 is less than the minimum of 1","status":400}],"message":"Invalid input for config: 0 is less than the minimum of 1"} -

Terraform changes reported:
  ~ resource "aiven_kafka_topic" "topic" {
      + cleanup_policy           = "delete"
        id                       = "<REDACTED>"
      ~ minimum_in_sync_replicas = 0 -> 1
        partitions               = 4
        project                  = "<REDACTED>"
        replication              = 3
      ~ retention_bytes          = 0 -> -1
        retention_hours          = 24
        service_name             = "<REDACTED>"
        termination_protection   = false
        topic_name               = "<REDACTED>"

        config {
            file_delete_delay_ms                = "0"
            flush_messages                      = "0"
            flush_ms                            = "0"
            index_interval_bytes                = "0"
            max_compaction_lag_ms               = "0"
            max_message_bytes                   = "0"
            message_downconversion_enable       = "false"
            message_timestamp_difference_max_ms = "0"
            min_cleanable_dirty_ratio           = "0"
            min_compaction_lag_ms               = "0"
            min_insync_replicas                 = "0"
            preallocate                         = "false"
            retention_bytes                     = "0"
            retention_ms                        = "0"
            segment_bytes                       = "0"
            segment_index_bytes                 = "0"
            segment_jitter_ms                   = "0"
            segment_ms                          = "0"
            unclean_leader_election_enable      = "false"
        }
    }

Any idea what the error is here?
Also consider updating the error message to include what the error is exactly.
thanks!

Update:
We updated the config but we're getting a slightly different error:
Error: 400: {“errors”:[{“message”:“Invalid input for config: 0 is less than the minimum of 14”,“status”:400}],“message”:“Invalid input for config: 0 is less than the minimum of 14"}

Config:
resource "aiven_kafka_topic" "topic" {
  project                = "<REDACTED>"
  service_name           = "<REDACTED>"
  topic_name             = var.topic_name
  partitions             = var.partitions
  replication            = var.replication
  termination_protection = true

  config {
    retention_ms        = var.retention_hours * 60 * 60 * 1000
    retention_bytes     = var.retention_bytes
    min_insync_replicas = var.minimum_in_sync_replicas
    cleanup_policy      = var.cleanup_policy
  }
}

Any ideas which config this is referencing?

Hi, the error you see is coming from Aiven API when you're trying to create/update a Kafka Topic, error message is not a big help (we created an internal ticket to make it to the point), and it indicates that there is something wrong with the Topic Config properties that we are trying to set. It looks like one of them is "0". I cannot say more without seeing the exec values for all of the config options.
Please go through the Topic config option values:
retention_ms        = var.retention_hours * 60 * 60 * 1000
retention_bytes     = var.retention_bytes
min_insync_replicas = var.minimum_in_sync_replicas

and make sure all of them have none zero values.

@ivan-savciuc I think I figured out what's going. I just inspected my state file and it looks like a bunch of empty defaults were set in the state file but these values probably never made it to the API to update it.
{
      "module": "<REDACTED>",
      "mode": "managed",
      "type": "aiven_kafka_topic",
      "name": "topic",
      "provider": "module.app.provider[\"registry.terraform.io/aiven/aiven\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "cleanup_policy": "delete",
            "config": [
              {
                "cleanup_policy": "",
                "compression_type": "",
                "delete_retention_ms": "",
                "file_delete_delay_ms": "0",
                "flush_messages": "0",
                "flush_ms": "0",
                "index_interval_bytes": "0",
                "max_compaction_lag_ms": "0",
                "max_message_bytes": "0",
                "message_downconversion_enable": "false",
                "message_format_version": "",
                "message_timestamp_difference_max_ms": "0",
                "message_timestamp_type": "",
                "min_cleanable_dirty_ratio": "0",
                "min_compaction_lag_ms": "0",
                "min_insync_replicas": "0",
                "preallocate": "false",
                "retention_bytes": "0",
                "retention_ms": "0",
                "segment_bytes": "0",
                "segment_index_bytes": "0",
                "segment_jitter_ms": "0",
                "segment_ms": "0",
                "unclean_leader_election_enable": "false"
              }
            ],
            "id": "<REDACTED>",
            "minimum_in_sync_replicas": 1,
            "partitions": 4,
            "project": "<REDACTED>",
            "replication": 3,
            "retention_bytes": -1,
            "retention_hours": 24,
            "service_name": "<REDACTED>",
            "termination_protection": false,
            "timeouts": null,
            "topic_name": "<REDACTED>"
          },
          "private": "<REDACTED>"
        }
      ]
    },

Is there a recommended approach on upgrading from v1 to v2 without getting bad TF state?

Update: I tried removing the topic from my state file and reimport it, but then I still get the following error:

Error: 400: {"errors":[{"message":"Invalid input for config: 0 is less than the minimum of 14","status":400}],"message":"Invalid input for config: 0 is less than the minimum of 14"} -

Final Update: I ended up pinning to 2.0.6 as 2.1.x just wasn't working. I couldn't even do a clean import as all the variables labeled optional seemed to be required

@mbarany, Can you please provide more information regarding your upgrade from 1.x -> 2.1.x, I'm looking for a way to reproduce this issue.
For some reason, Kafka Topic config gets populated with zeros event after state rm/import. I do not believe that this is coming from Aiven API, but please check just to aluminate these options (you can do that by checking API response in Aiven console).
Also, I do recommend updating Terraform client to v1.4. v1.3 release had some issues related to the state file, and some of Aiven Provider issues were solved with the upgrade.

Created https://github.com/aiven/terraform-provider-aiven/pull/442, which should help if the Kafka Topic config is coming empty from Aiven API.


AWS and Azure broker docu-checker resource naming fixes (kyma#5185)

Description
Changes proposed in this pull request:

limit resource names created in aws and azure brokers charts to max 63 chars. Docu-checker templates/resources were possibly violating 63 chars constraints.

Related issue(s)
Fixes Kyma#5185
Tested/verified only with Azure.

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

/ok-to-test

/test all

Yes, I also thought about helper but then better solution would be to
handle the fullname/release generation in general in better way maybe. In
fact by truncating fullname we are limiting uniqueness. So I wanted to know
your opinion, but it is fine as "quickfix" i guess.
pt., 23.08.2019, 11:34 użytkownik Mateusz Szostok<EMAIL_ADDRESS>napisał:

Merged #112 https://github.com/kyma-project/addons/pull/112 into master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kyma-project/addons/pull/112?email_source=notifications&email_token=AH6MZLHG4SXZGW4KYB52GSLQF6VJFA5CNFSM4IMWQGIKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTG5FRGI#event-2579126425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH6MZLDEPT3Q62NS6PRUQ3DQF6VJFANCNFSM4IMWQGIA
.


Add Rails 7 compatibility

This PR adds compatibility for Rails 7.
Rails 7 has a type-check in compute_class which expects the reflected class to be a subclass of ActiveRecord. We need to monkey-patch this to allow an ActiveHash class to be the reflected klass.
Added Rails 7 to the test matrix as well.

Is there a reasonable change that could be proposed upstream in rails/rails, rather than introduce a monkeypatch here?

Is there a reasonable change that could be proposed upstream in rails/rails, rather than introduce a monkeypatch here?

It is frustrating but rails specifically introduced a check that ensures that associations points to an ActiveRecord child class.
The check does make sense as it could catch a potential issue.
Can someone think of a reason why Rails (without this plugin) would want to establish an association to an ActiveModel object? That seems to be one way for us to pitch removing this check from rails proper and changing it into a form that works for us.

Tiny bit of feedback:
This almost works for me, with the only exception that I had to add a class_name:  to an unrelated has_many association that references a namespaced class, i.e. User::ConnectedAccount.
Don't know what that is exactly about, just wanted to mention it.

Also, feedback as ActiveHash and tapioca (RBI generator) user:
I really appreciate it if the compatibility would resolve because a tapioca's compiler depends on AR::Reflection and it calls reflection.klass. Due to this reason, the compiler crashes if it processes any association defined by ActiveHash.
ref https://github.com/Shopify/tapioca/issues/1286
But I don't think of any reasonable description for proposing upstream (rails/rails)...

@julianrubisch I had the same issue as you, namespaced associations didn't work, and I have a lot of them so I ended up modifying the monkey patch further. I don't have much experience monkey patching stuff so don't trust it too much, but this is what got me past this hurdle on our rails 7 upgrade :)
@pfeiffer thanks for working on the PR. I'm not sure how to fix it, but I found that when the monkey patch was calling super it was actually calling MacroReflection.compute_class, which is just a simplistic name.constantize which doesn't work for namespaced associations. By namespaced associations I mean stuff like Invoice has_many :items which should resolve to Invoice::Items. I think you might also need to set the klass variable before using it in the unless condition like I do below, but I'm not sure.

module ActiveHash
  module Associations
    module ReflectionExtensions
      if ActiveRecord::VERSION::MAJOR >= 7
        def compute_class(name)
          super
        rescue ArgumentError => e
          klass = active_record.send(:compute_type, name)
          raise unless e.message =~ /Please provide the :class_name option on the association/ && klass < ActiveHash::Base
          klass
        end
      end
    end
  end
end

class ActiveRecord::Reflection::AssociationReflection
  prepend ActiveHash::Associations::ReflectionExtensions
end

Good luck to all the other rails 7 upgraders out there!

For posterity, the upstream commit that broke associations is https://github.com/rails/rails/commit/c2fc8626d2b2f8162e757e79065d750ab0417377 related to https://github.com/rails/rails/issues/15811 and https://github.com/rails/rails/pull/40836

I've written a slightly different fix at #272 that doesn't monkeypatch active record classes. I'd love feedback on it!

#272 was merged and I think that addresses Rails 7 support. I cherry-picked some of the commits from this PR there, so thank you!

thanks @pfeiffer for getting this conversation going. really appreciate it


Proposal: Adding Turbo.confirm for programmatic confirmation dialogs

We're trying to completely replace @rails/ujs with Turbo in our app, and there are many programmatic calls to Rails.confirm which don't appear to have an equivalent in Turbo. It would be great if there was a Turbo.confirm method that just called the confirmMethod function.

There's a 3rd party extension you could use for now https://github.com/RoleModel/turbo-confirm

Registering the confirm function I know already, what I want is to later call that function from JavaScript (not via a click on [data-turbo-confirm] element).
In @rails/ujs, you can do Rails.confirm = but also Rails.confirm(...), which calls that registered function. It would be nice to be able to do that from Turbo, as then it would match the @rails/ujs convenience.

@janko my company's library rolemodel/turbo-confirm supports programmatic access like that as of our recent v2.0 update.


Upstream 106

Conflicts:

batch/batch/cloud/gcp/driver/create_instance.py
ci/create_database.py
hail/Makefile

Hey @lgruen, I have merged 107 into this branch now :)


what happen? channels is down

some minutes spacious post on tv - "Loading..." .
then error message at down:
An error occurred while downloading some repositories: https://repo. webosbrew. org/api/app. json(0)
All settings is default and never was changed.

Everything seems to work fine.

same here for me now empty main page...
anyone can have idea on how to troubleshoot?


When copier fails, it should not delete the destination path when it pre-exists

Steps to reproduce:
On OSX:
$ mkdir fail-copier/
$ echo '_tasks: [ "exit 1" ]' > ../fail-copier/copier.yaml
$ mkdir my-project
$ cd my-project/
$ echo "doomed" > file.txt
$ copier ../fail-copier .
> Running task 1 of 1: exit 1
Something went wrong. Removing destination folder.

Expected results
The 'my-project' directory should be unmodified and file.txt should still exist.
Actual Results
The 'my-project' directory and all its files are destroyed.
Possible solution proposal
The project could be rendered to a folder created by copier, like .copier-tmp and right before exit, copier can safely remove that dir on failure, or its fully-rendered contents can be moved to the specified destination.

There's an API flag cleanup_on_error that is True by default. AFAICS there's no CLI flag to disable it, so it should be added indeed.

This is extremely unexpected when updating an existing project. I don't think this ever makes sense for updates. Only for the initial creation.

In updates, it doesn't happen already. See https://github.com/copier-org/copier/blob/aa1bfa1deda340b136a9cc94f1e0deaebf529e37/copier/main.py#L150
For copies and new CLI flag, see #273.

In updates, it doesn't happen already. See
https://github.com/copier-org/copier/blob/aa1bfa1deda340b136a9cc94f1e0deaebf529e37/copier/main.py#L150
For copies and new CLI flag, see #273.

Well, yes, it happens during update 😕
v5.1.0 has the same code but the destination folder was deleted.
https://github.com/copier-org/copier/blob/2cf5be072a09d68f0743a50a5573b094964bda16/copier/main.py#L149

In updates, it doesn't happen already. See
https://github.com/copier-org/copier/blob/aa1bfa1deda340b136a9cc94f1e0deaebf529e37/copier/main.py#L150
For copies and new CLI flag, see #273.

Well, yes, it happens during update 😕
v5.1.0 has the same code but the destination folder was deleted.
https://github.com/copier-org/copier/blob/2cf5be072a09d68f0743a50a5573b094964bda16/copier/main.py#L149


LicenseInfoResolver.effectiveLicense() crashes given some large SPDX expression and non-empty license choices

Reproduce:

Make a scan for an analyzer result contain Qt as dependency:vcsUrl: https://code.qt.io/qt/qt5.git
vcsRevision: b9fd0a20a60b82cd91fdc86cb54d0eb7adf29eae

Set-up a license choice which applies to that dependency
Run the evaluator using the rules from ort-config repo. (I've used -Xmx16G)
Observe that CPU load goes to max., it seems to hang, after minutes CLI will just exit without a success.

Note: The issue seems to be in the SpdxExpression class hierarchy. In particular, related to validChoices() and DNF computation.

Could you maybe attach the analyzer result, license choice config etc. also to the issue for a quicker reproducer?

{
  "repository" : {
    "vcs" : {
      "type" : "",
      "url" : "",
      "revision" : "",
      "path" : ""
    },
    "vcs_processed" : {
      "type" : "",
      "url" : "",
      "revision" : "",
      "path" : ""
    },
    "config" : {
      "excludes" : {
        "scopes" : [ {
          "pattern" : "excluded",
          "reason" : "DEV_DEPENDENCY_OF"
        } ]
      }
    }
  },
  "analyzer" : {
    "start_time" : "1970-01-01T00:00:00Z",
    "end_time" : "1970-01-01T00:00:00Z",
    "environment" : {
      "ort_version" : "707023526d-dirty",
      "java_version" : "17.0.7",
      "os" : "Linux",
      "processors" : 8,
      "max_memory" :<PHONE_NUMBER>,
      "variables" : {
        "SHELL" : "/bin/bash",
        "TERM" : "xterm-256color",
        "GOPATH" : "/home/frank/go"
      },
      "tool_versions" : { }
    },
    "config" : {
      "allow_dynamic_versions" : false,
      "skip_excluded" : false
    },
    "result" : {
      "projects" : [ {
        "id" : "Unmanaged::unknown:",
        "definition_file_path" : "",
        "declared_licenses" : [ ],
        "declared_licenses_processed" : { },
        "vcs" : {
          "type" : "",
          "url" : "",
          "revision" : "",
          "path" : ""
        },
        "vcs_processed" : {
          "type" : "",
          "url" : "",
          "revision" : "",
          "path" : ""
        },
        "homepage_url" : "",
        "scopes" : [ {
          "name" : "excluded",
          "dependencies" : [ ]
        }, {
          "name" : "main",
          "dependencies" : [ {
            "id" : "Native::Qt5:5.15.9-lts-lgpl",
            "linkage" : "STATIC"
          } ]
        } ]
      } ],
      "packages" : [ {
        "id" : "Native::Qt5:5.15.9-lts-lgpl",
        "purl" : "",
        "declared_licenses" : [ ],
        "declared_licenses_processed" : { },
        "description" : "",
        "homepage_url" : "",
        "binary_artifact" : {
          "url" : "",
          "hash" : {
            "value" : "",
            "algorithm" : ""
          }
        },
        "source_artifact" : {
          "url" : "",
          "hash" : {
            "value" : "",
            "algorithm" : ""
          }
        },
        "vcs" : {
          "type" : "Git",
          "url" : "https://code.qt.io/qt/qt5.git",
          "revision" : "",
          "path" : ""
        },
        "vcs_processed" : {
          "type" : "Git",
          "url" : "https://code.qt.io/qt/qt5.git",
          "revision" : "",
          "path" : ""
        }
      }]
    }
  },
  "scanner" : null,
  "advisor" : null,
  "evaluator" : null,
  "resolved_configuration" : { }
}

Thanks. PS: You can also really attach files for download by dragging & dropping them into the comment field.

@fviernau could you spend the time to try reproducing this?

@fviernau could you spend the time to try reproducing this?

No time for this currently.


Trailer Location?

I'm confused by your instructions which state that "The plugin will automatically find any trailers you have in your Jellyfin library"
which I take it to mean, all my movie items which have a working, local trailer to be found in their respective movie item directories will be found by this plugin?
But on the plugin's settings page it has this

"Trailer Pre-Rolls Folder"
Specify location of trailer pre-roll videos. (Should contain only videso, no subdirectories)

So which is it? Does it "automatically find any trailers" in my jellyfin library or do they all need to be in one specified directory? Does it do both? Does the latter override the former when used?
It's not clear.

In short to answer your question, "Trailer Pre-Rolls" are not "Trailers". They are a type of pre-roll meant to play before a block of trailers (Think "Now playing on Jellyfin..."). I rushed through the docs and in my mind I thought I had made this distinction clear at some point but turns out I did not. There is a description in the config page  for the Enable trailer pre-roll check box but it might be more helpful to spell this out at the top of the page.  I will make some updates to the config page and docs to make this more clear.
To recap, the plugin will play media in the following order:

Trailer Pre-Rolls: A single random video from this folder/channel will play  (Think "Now playing on Jellyfin...").
Trailers: A specified number of trailers you have stored with your movies will play (These are in the Jellyfin DB so the plugin can grab them)
Feature Pre-Rolls: A single random video from this folder/channel will play  (Think "Now tour feature presentation...").

Thanks for the clarification. For my purposes I'm mostly interested in getting a handful of random movies trailers to play. I have the trailers stored alongside their respective movie items in their respective directories. I haven't got it working yet, but looking forward to it.

Here's a log if you're interested.
Configuration options = Play 1 trailer. Nothing else is set.
Client is Linux Jellyfin Media Player on Jellyfin v.10.8.10
No trailer gets played back. Only the movie plays.
[2023-07-21 02:16:33.333 -07:00] [ERR] Error processing request. URL "GET" "/Users/5077fb25c5ef42c58f904b63b3927e7c/Items/3c4289440694f8f1ba4513c7c5c64294/Intros". System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')    at System.SZArrayHelper.get_Item[T](Int32 index)    at System.Linq.Enumerable.ElementAt[TSource](IEnumerable1 source, Int32 index)
at Jellyfin.Plugin.CinemaMode.IntroManager.GetRandomMovieTrailer(Boolean isplayed, User user)
at Jellyfin.Plugin.CinemaMode.IntroManager.Get(BaseItem item, User user)+MoveNext()
at System.Collections.Generic.LargeArrayBuilder1.AddRange(IEnumerable1 items)
at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable1 source)    at Emby.Server.Implementations.Library.LibraryManager.<>c.<GetIntros>b__132_1(IEnumerable1 i)
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext()    at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.ToArray()    at Jellyfin.Api.Controllers.UserLibraryController.GetIntros(Guid userId, Guid itemId)    at lambda_method1097(Closure , Object )    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
[2023-07-21 02:16:33.347 -07:00] [INF] User policy for "mikewesten". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-07-21 02:16:33.349 -07:00] [INF] StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="Media/Movies/Midnight Ride (1990)/Midnight.Ride.1990.mp4", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/3c428944-0694-f8f1-ba45-13c7c5c64294/stream.mov?MediaSourceId=3c4289440694f8f1ba4513c7c5c64294&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=2&api_key=&Tag=c82b192e83ee824f89651b0e2e4a28f8"
[2023-07-21 02:16:33.504 -07:00] [INF] Adding playback tracker : SmVsbHlmaW5NZWRpYVBsYXllciAxLjYuMSAobGludXgteDg2XzY0IDIwLjMpfDE2NDcwMzQ4NDI3Nzk1-5077fb25c5ef42c58f904b63b3927e7c-3c4289440694f8f1ba4513c7c5c64294
[2023-07-21 02:16:33.505 -07:00] [INF] PlaybackTracker : Adding Start Event : 07/21/2023 02:16:33
[2023-07-21 02:16:33.505 -07:00] [INF] Creating StartPlaybackTimer Task
[2023-07-21 02:16:33.506 -07:00] [INF] StartPlaybackTimer : Entered
[2023-07-21 02:16:33.779 -07:00] [INF] Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjYuMSAobGludXgteDg2XzY0IDIwLjMpfDE2NDcwMzQ4NDI3Nzk1-5077fb25c5ef42c58f904b63b3927e7c-3c4289440694f8f1ba4513c7c5c64294"`

Wondering if this is part of the issue. Pics related

Local trailers aren't accessible under the trailers tab in the movie media library, they're only accessible through the trailers button on the movie media item page, which plays your local trailer if you have one (or TMDB's remote youtube trailer if you don't)

I took a look at the log which was helpful, thanks for posting. I cant say for sure I know whats happening because I was unable to reproduce this on my test server but I have a pretty good idea whats going wrong.
The plugin querys the jellyfin db using a "HasTrailer" flag. It then picks a random movie from that list. That part of the selection protects against a list with zero entries. The plugin then takes the movie it picked from the list and gets its list of local trailers. Since there can be more than one local trailer for that movie, the plugin again picks a random entry. This selection does not protect against a list with length 0 and is the most likely cause of the exception. I was not anticipating this as a possibility. In all my testing the behavior I saw was that if a movie has trailers, it has a list of local trailers with length >= 1.
I tried a few different things on my test server to try and reproduce this like removing trailers but I was unable to do so. How are your local trailers named and where are they stored?

The TMDB Trailer Channels plugin is not a requirement. The local trailer that you play through the movie media item page are the trailers that should play. I will note that some other plugins also invoke an intro provider and I am unsure how they will behave together. I was not able to reproduce your defect but I have added some additional code to protect against the false positives the Jellyfin DB was returning. Hopefully this fix will filter out the incorrect values allowing your trailers to playback.
Because I was not able to replicate this behavior from my test server, I cant say for certain this will fix the issue. Its possible that all of your movies that have trailers also have a local trailers list with length equal to 0. If this is the case, trailers will still not playback and we would need to do some more investigating.

I also changed the plugin's config page. Hopefully it is more clear now. Thanks for the feedback and beta testing.

That fixed it. Trailers are playing now. The enforced ratings code seems to be working as well. Nice job.


Fix denormalize allowedAttributes

This PR fix the following bug:
It's impossible to denormalize attributes in groups which are not allowed in normalization..

Might solves https://github.com/dunglas/DunglasApiBundle/issues/110#issuecomment-111487140

Fuck.. I fix bugs before searching it in opend issues :)

Thank you!
On my todo list, adding tests for such cases.

You are right about tests. I'll fix it in an other PR


UPDATE REQUIRED

in the Limitations section
https://docs.microsoft.com/en-us/azure/virtual-machines/trusted-launch#limitations
The following area needs to be updated to reflect support for custom images.
The following features are not supported:
Azure Site Recovery
Shared disk
Ultra disk
Managed image
Azure Dedicated Host
Nested Virtualization
Please remove the reference to managed images, since they are NOW supported.

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

ID: cedc5fc7-5576-f22f-9c9a-a2977ad93607
Version Independent ID: e7cda6ea-acd1-b56f-9d81-92d6fde31921
Content: Trusted launch for Azure VMs - Azure Virtual Machines
Content Source: articles/virtual-machines/trusted-launch.md
Service: virtual-machines
Sub-service: trusted-launch
GitHub Login: @lakmeedee
Microsoft Alias: dejv

Hello DeanCefola,
Thank you for your feedback. We will investigate and update the thread further.


feat: Nmp 28 create base swagger documentation for api

Initialized a basic Swagger documentation for our API
It's served statically by express at
'localhost':3000/api/api-docs
where localhost will be openshift's static url in the future.
It lists status and response for /api/health endpoint

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

I mistook Swagger for openAPI, sorry about that. I studied a bit about Swagger and implemented it using the docs you referenced and also Wayfinder's repo, which is really well organized btw.
Swagger seems really cool. I'm excited about building this backend :smile:

I mistook Swagger for openAPI, sorry about that. I studied a bit about Swagger and implemented it using the docs you referenced and also Wayfinder's repo, which is really well organized btw.
Swagger seems really cool. I'm excited about building this backend 😄

A Lot of that organization was recommended developers in gov that we were working with us! It's good practice for when you're working with significantly larger applications where file management becomes a big priority
This whole thing is meant to be one big learning experience.
Also when you open a PR, a Pull Request Template has been autofilling for you, you should make use of it instead of deleting it! If that Template isn't working for you, it's worth having a conversation with your team about how you can improve it. It's a living document :)


GCE PV getting restored from snapshot but spec.gcePersistentDisk.pdName still has the original PD name

Reported by a user:
In GKE cluster1, take a backup that includes a PV for a GCE persistent disk.
Keep cluster1 running with the PV bound and in use.
Meanwhile, in GKE cluster2, restore from backup. The restore logs say it created a new persistent disk from the snapshot, but the Kubernetes PersistentVolume still has spec.gcePersistentDisk.pdName pointing at the original PD that is attached to cluster1.
Ark v0.8.2

So far I haven't been able to reproduce this with the gitlab-omnibus chart. I tried a couple methods of backing it up from the original cluster. Note that default is the default namespace for gitlab from the chart.
ark backup create gitlab --exclude-namespaces=heptio-ark,kube-public,kube-system,nginx-example
and
ark create backup gitlab-ns-only --include-namespaces default

After further discussion, there were already PVs in the target cluster that had the same name as the PVs from the backup. Ark created new PDs from the snapshots, but wasn't able to create PVs in Kubernetes because of the conflicts. We don't have an explanation for why the PVs already existed, but if we get that information, we can reopen and continue investigating.
The investigation did result in #609, which we need to figure out.


Add repochecker script

Currently the CI job openstack-repocheck can only be run remote on a
single host which has the solv files in a specific path.
This script can be run on any host (also local) to check installation
problems for the Cloud:OpenStack:* projects.

FYI: I would like to replace the code in https://ci.opensuse.org/view/OpenStack/job/openstack-repocheck/ with this script.

Ah. To late to fix the Tumbleweed case. Here's an extra PR to fix it: https://github.com/SUSE-Cloud/automation/pull/317


Merge AI/ML Project

Have you read the Contributing Guidelines ?
Yes
Description
I have added AI/ML Project which I Created in 3rd year.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

Have you read the Contributing Guidelines ?
Yes
Description
I have added AI/ML Project which I Created in 3rd year.
Checklist

[x]  I've read the contribution guidelines.
[x]  I've checked the issue list before deciding what to submit.
[x]  I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

@Anthima you have some commits behind in the main branch... Please fetch first and then add your project and then make pull request. Thank you.


[PKG-3023] libvpx 1.13.1

Current package info

Channel
Downloads
Version
Platforms
License

main

Changelog: https://chromium.googlesource.com/webm/libvpx/+/10b9492dcf05b652e2e4b370e205bd605d421972/CHANGELOG
License: https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.1/LICENSE
Requirements: https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.1/README#10
Actions:

Remove win32 support from the build script
Add osx-arm64 stuff to build.sh (from the conda-forge recipe)

Notes:

to address CVE-2023-5217 with a score of 8.8.

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:59: http_url: http://www.webmproject.org/vp9/ is not https
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:59: http_url: http://www.webmproject.org/vp9/ is not https
Errors were found


SSR React problem: _d: document,         ^ ReferenceError: document is not defined

Hello 🙋🏻♂,
I am trying to use suneditor-react in my react SSR project.
import React, {Components} from "react";
import { Input, Switch , Select, DatePicker } from 'antd';
import { CloseOutlined, CheckOutlined} from '@ant-design/icons';
import moment from 'moment'
import SunEditor from 'suneditor-react';
import 'suneditor/dist/css/suneditor.min.css'

class EditComponent extends Components{
  render(){
    return(
      <div>
        <p> My Other Contents </p>
        if (typeof window !== 'undefined') {
            React.render(<SunEditor lang="en" />
            , document.getElementById("root"))
        }
      </div>
      )
  }
}

But unfortunately, I have faced the following problem:
D:\softest\reactjs\ssr\node_modules\suneditor-react\dist\main.js:11609
_d: document,
^
ReferenceError: document is not defined
at Module. (D:\softest\reactjs\ssr\node_modules\suneditor-react\dist\main.js:11609:9)
at webpack_require (D:\softest\reactjs\ssr\node_modules\suneditor-react\dist\main.js:21:30)
at D:\softest\reactjs\ssr\node_modules\suneditor-react\dist\main.js:85:18
at Object. (D:\softest\reactjs\ssr\node_modules\suneditor-react\dist\main.js:88:10)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
Environment: Node v12.16.3, Npm 6.14.4,
packages used:
"dependencies": {
"antd": "^4.4.3",
"axios": "^0.19.2",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"html-minifier": "^4.0.0",
"moment": "^2.27.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-html-parser": "^2.0.2",
"react-quill": "^1.3.5",
"react-router-dom": "^5.1.2",
"sqlite3": "^5.0.0",
"suneditor-react": "^2.13.1"
},
"devDependencies": {
"razzle-plugin-scss": "^3.1.5",
"razzle": "latest"
}

The 2.33.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

I couldn't find a button for reOpening this issue... 🤔

@ulantiger This issue is not resolved?
Please show me a error code and environment.

Morning,
I haven't tested yet. But I tried to reopen the issue as per your request.
If any issues I will let you know
Thanks
Sent from Mail.ru app for Android Friday, 04 September 2020, 07:46AM +02:00 from JiHong.Lee<EMAIL_ADDRESS>:

@ulantiger This issue is not resolved?
Please show me a error code and environment.
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub , or  unsubscribe .


Value range 0.67-0.83 of ms_prob - why not get an integer value

@felixriese
I know you mean.
Thanks very much for the assistance you provide my help.
More further,I obtain result of S2 image. But I don't know value range 0.67-0.83 of ms_prob why not get an integer value. attachment figure
Sorry to bother you.
Originally posted by @daniellinboy in https://github.com/jensleitloff/CNN-Sentinel/issues/7#issuecomment-546968534

@daniellinboy I have moved your question to a new issue since it is. completely different.
There are two files:

ms_prob contains the confidence (continuous, float between 0 and 1) of the classifier for the respective label
ms_label contains the label (discrete) which the classifier assigned

If you want to know the result of the classifier, use ms_label.
Does that answer your question?

@daniellinboy Please create a new issue for every independent question.