Publisher: Window is not always on top

Changelog Description
Goal of this PR is to avoid using WindowStaysOnTopHint which causes issues, especially in cases when DCC shows a popup dialog that is behind the window, in that case both Publisher and DCC are frozen and there is nothing to do.
Additional info
This needed to change the Publisher window behavior. Publisher window does not inherit from QDialog but QWidget, this also resolved https://github.com/ynput/OpenPype/issues/5791 and replaces https://github.com/ynput/OpenPype/pull/5838 . To have option to show Publisher as separate window is also required to not use parent. To make sure the publisher is on top were added callbacks happening during publishing. On publish stop or after each processed instance and plugin is Publisher raised to the top, but otherwise can be put in back or minimized.
Notes
Argument parent is unused at this moment, and based on approval of this approach we can deprecate it (or keep it as reminder?).
I did test only Nuke and Maya where it worked, but not sure what will happen e.g. in Blender or Photoshop.
Testing notes:
Test publisher window behavior in different DCCs. This is more UX testing.

Show publisher.
Start publishing (e.g. validation).
Reset publishing.
Start publishing again and change focus to different window.

The behavior should not be worse than before.

@MustafaJafar can you confirm it does not pop-up in front of another application when you don't have houdini active but another application in front of it? (Like it does not activate houdini as you are typing in another app).
We should have that added to the testing notes because that'd be unwanted behavior.

@MustafaJafar can you confirm it does not pop-up in front of another application when you don't have houdini active but another application in front of it? (Like it does not activate houdini as you are typing in another app). As described here
We should have that added to the testing notes because that'd be unwanted behavior.

I'm not sure if I got it right.
original behavior from develop:

behavior from this PR:

@MustafaJafar can you confirm it does not pop-up in front of another application when you don't have houdini active but another application in front of it? (Like it does not activate houdini as you are typing in another app). As described here
We should have that added to the testing notes because that'd be unwanted behavior.

I'm not sure if I got it right. original behavior from develop:
behavior from this PR:

Start a publish
Directly switch to e.g. Spotify.
Upon finish of the publish Houdini and the publisher UI should NOT pop-up and take focus over Spotify (or any other application you're working on). It should never steal focus if you're working in another application.

I'm testing this in Blender, and while it does not take the focus from other windows, like mentioned here, the publisher keeps taking the focus from the main Blender window while publishing, not only when the publishing stops. I'm not sure if that is intended or not! It doesn't stay on top when the publishing isn't running, though, unlike before.

This PR made it so that clicking e.g. the Maya window the Publisher UI will now drop to behind the Maya window, unlike the Loader, Manager, etc. which are parented to the host.
To me personally this is quite annoying. Also because now with say two Maya's open it makes it much harder to differentiate to which Maya it belongs plus it becomes its own taskbar entry you alt+tab to instead of belonging to e.g the specific maya entry.
This behavior change also makes it much worse to say select meshes in maya, and then create an instance with that selection, then select some other instances, and create another instances because the UI keeps disappearing to the back whilst doing that.
Can I flag this again to bring up maybe reverting this and looking for other options @iLLiCiTiT @mkolar @LiborBatek ?

This PR made it so that clicking e.g. the Maya window the Publisher UI will now drop to behind the Maya window, unlike the Loader, Manager, etc. which are parented to the host.
To me personally this is quite annoying. Also because now with say two Maya's open it makes it much harder to differentiate to which Maya it belongs plus it becomes its own taskbar entry you alt+tab to instead of belonging to e.g the specific maya entry.
This behavior change also makes it much worse to say select meshes in maya, and then create an instance with that selection, then select some other instances, and create another instances because the UI keeps disappearing to the back whilst doing that.

@BigRoy I would say this being really subjective, someone likes it that way other dont, me personally dont have any preference between those two. So its more up to @mkolar  to decide.
What annoys me more being the fact, that if Publisher already been opened (kept open but not on screen visible - minimised on taskbar etc) and you as user not being aware, then clicking the tool in the Ayon menu doesnt bring the UI infront/maximised to your eyes... thats really pain in the butt imho. Not sure if related to this PR tho.

I would say this being really subjective, someone likes it that way other dont, me personally dont have any preference between those two. So its more up to @mkolar to decide.

Agreed.  Just kidding - for now I've just reverted this particular change in our branch.

then clicking the tool in the Ayon menu doesnt bring the UI infront/maximised to your eyes... thats really pain in the butt imho. Not sure if related to this PR tho.

That does sound annoying. It does pop-up on our end when minimized. (Tested in Maya 2024; on Windows)
What  it doesn't appear to do for me is: If I open the manager and the publisher, and the publisher is behind the manager then it does not "raise" it to the front to in front of the manager. That's something that would actually be nice to have it do as well.
Note that I tested this behavior in our branch where I reverted the code of the window to dialog and parented to the main window.

...happening randomly in PS host app....so maybe you could check if present on yours in PS

Unfortunately not using Photoshop integration here myself.  However, since there it isn't parented to a Qt interface I'm pretty sure it would behave quite similar on my end - even with the reverted changes.


Scan for Device Within Certain Range (Like In Feet)

Hello,
I'm not sure if this is the appropriate place for this question, but I am having an extremely difficult time figuring out how can I scan for devices within a certain range. I'm able to detect and pair with the devices just fine, but for the project I'm working on and want to make it so I can only pair if they're within like 7-10 feet.

I don't generally do support like this, but I have a fair bit of experience with beacons so I'll give you some pointers this round.
Honestly, you're likely not going to get what you're looking for in any sort of precision.  You need to use a combination of the RSSI (which the library provides) combined with a known transmit power (TxPower which is often stripped out of the ad packet especially on iOS).  Generally, if you are in control of the host devices, you can set the txpower to a constant and calculate a guestimate distance from that.  Your best bet is to use something like an ibeacon protocol as that will work properly on iOS, but will give you values like "near", "far", etc.
If you want to get really advanced, you can get into triangulation metrics, but it now becomes a case of knowing the environment around you as well.
Best of luck


Bugfix: add default size for property of os disks (not always present)

Tested in BVT this week.
Provide a default size of 0 for a property which some ARM images don't seem to have available.

@squirrelsc Do you know if this size field is supposed to be guaranteed to always be present? We hadn't seen this bug before and the last change in this section is pretty old. Could a change elsewhere be resulting in this size field not being populated?

@squirrelsc Do you know if this size field is supposed to be guaranteed to always be present? We hadn't seen this bug before and the last change in this section is pretty old. Could a change elsewhere be resulting in this size field not being populated?

We shouldn't assume it's always there. But if it's not, it should be misconfigured, and fixed.


vue-cloneya breaks SEO in google search

Only realized this when I saw that my site isn't queried correctly in google search.
Tried to query it manually as google from the search console, it showed that my site can't even be loaded properly. Also saw there's an error that says:
Uncaught SyntaxError: Unexpected token =>

I dug around and found out that googlebot is using the engine used in chrome 41, so I downloaded that so I could debug better. Ran my site in development mode using chromium 41, and yes it gave me the same error I saw in google search console. But now I can see the culprit that causes it. It was this line from vue-cloneya.
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e={cloneyaInput:function(e){e.classList.add("vcloneya")},cloneyaAdd:function(e){e.classList.add("vcloneya-add")},cloneyaRemove:function(e){e.classList.add("vcloneya-remove")}},t=exports.installDirectives=(t=>{for(let o in e)t.directive(o,e[o])});exports.default=t;

And yes, after I removed vue-cloneya, my site can be rendered normally.
For reference, my site is built in nuxt, and run in spa mode. I know, at first I thought turning it to universal mode would fix it, but it didn't, obviously.
FYI, the engine that's used in googlebot (chrome 41) doesn't support ES6 yet so, perhaps best to avoid using arrow function.
Edit: forgot to mention that it's possible that it's not vue-cloneya's fault, but rather the compiler being used. If that's the case then, it's my fault for reporting it here, and therefore I apologize.
Regards.

Waiting for feedbacks from @marssantoso


[BUG]: Loading large datasource fails in FluentDetailsList

Describe the bug
FluentDetailsList control doesn't work on large Dataverse tables having thousands of records, even though "Large dataset paging is toggled on and Page size is set.
To Reproduce
Steps to reproduce the behavior:

Go to 'Edit mode of canvas app in makers portal'
Click on 'Insert and add FluentDetailsList control'
Scroll down to 'Dataverse table e.g. Released Products and set DetailsList dataset'
set Items property to Products table
set columns_Items like below, just for a single column for now to try it out

Table(
    {
        ColName: "crc1d_itemnumber",
        ColDisplayName: "Item Number",
        ColSortable: true,
        ColWidth: 200,
        ColRowHeader: true,
        ColResizable: true
    }
)

It isn't loading data , when tried on smaller tables it worked

Expected behavior
Records in table "Released Product" should load
Screenshots

Additional context
AB#3877

Hasn't been assigned yet 😞 can somebody get a chance to triage

I think I'm having the same problems.

Same problem here. When I create a new app (release 3.24083.14), insert a fluent list (version 1.1.34) and setup new Records,Fields and Columns in the control, it only works with a small dataset. When I take a "large" dataset (I don't think it is large, but according to PowerApps), it renders blank rows. When I use a Filter() or FirstN() on the dataset, it works, as long as the number of rows is smaller than the [Page Size] in the properties of the control. If I hypothetically set [Page Size] to 7.500 with a dataset (no Filter or FindN) with 6.500, it renders but it is very slow. I guess with this it should be easy to find to root cause.

Also note:
According to Microsoft's documentation on SQL Server Delegation (https://learn.microsoft.com/en-us/connectors/sql/#power-apps-functions-and-operations-delegable-to-sql-server), the Power Fx function SortByColumns() is delegable. That is true, but only if the sort column is a string. If it is an expression, than it is no longer delegable. In the past the Power Apps Studio was not complaining on the following:
SortByColumns(colData,ctxSortCol,If(ctxSortAsc,SortOrder.Ascending,SortOrder.Descending))
Now it is. The only way to do column sorting now is to create a named formula with the Power FX statements for the data source (for example: myData), without the SortByColumns. Then for each column that requires sorting, a switch must be build:
Switch(ctxSortCol,
"ID",SortByColumns(myData,"ID",If(ctxSortAsc,SortOrder.Ascending,SortOrder.Descending)),
"Date",SortByColumns(myData,"Date",If(ctxSortAsc,SortOrder.Ascending,SortOrder.Descending)),
...)

Hi Denise, the modern table component is very nice, but it does not support multi selection of rows to do something useful with these rows. The detaillist supports this and therefore is unfortunately still needed in case of my customers. The alternative (building galeries) is not efficient. So if you want people to switch to the modern table, please add single and multiple select and properties such as "selectitems", etc.


remove the shake window and make the color particles

remove the shake window and make the color particles

The shake is needed.


feat: Quarkus native source

With this PR we remove the need to create a dynamic container image builder. The tool image is still required to build a Quarkus native image, but we now leverage the refactored pipeline process which gives us the possibility to run the native compilation as a custom task (more design details in the doc of this PR):

Pending tasks to complete:

[x] Simplify quarkus traits native parameters
[x] extend resources and limits configuration to all pipeline tasks
[ ] make the builder trait independent from the quarkus trait --> not immediatly feasible as builder and quarkus trait are referencing each other Follow up issue: #4771
[x] move configuration resources from the build to the native user task

Closes #4648

Release Note
feat: Quarkus native source

@essobedo I'd need your help with this. For some reason I am not able to understand, the DSL with sources support is not working with the changes applied. I tried to debug and it seems that the sources are really embedded. However, the execution does not take them in account. Would you mind having a look? hopefully you can spot some problem I am not able to see at this stage. Thanks in advance!

@essobedo I'd need your help with this. For some reason I am not able to understand, the DSL with sources support is not working with the changes applied. I tried to debug and it seems that the sources are really embedded. However, the execution does not take them in account. Would you mind having a look? hopefully you can spot some problem I am not able to see at this stage. Thanks in advance!

Nevermind, I think I managed to understand the root cause. Basically it's the support of native-sources which seems to be missing on Camel Quarkus side.

@squakez Oh sorry, I missed your message, do you still need some help on this?

No probl, maybe I'll ask you a review on Camel Quarkus later in the day. Thanks!

Depends on https://github.com/apache/camel-quarkus/pull/5380


To be clear the detail of Session Persistence Section

There is a configuration section to explain the session persistence in identity.xml as in bellow.
<SessionDataPersist>
	<Enable>true</Enable>
	<Temporary>true</Temporary>
	<PoolSize>0</PoolSize>
	<SessionDataCleanUp>
		<Enable>true</Enable>
		<CleanUpTimeout>20160</CleanUpTimeout>
		<CleanUpPeriod>1140</CleanUpPeriod>
		<!--Instead of deleting all the records at once, we are deleting the records in chunks to prevent
		the -->
		<!--possible deadlock and lock scenarios. The following property defines the chunk size.-->
		<DeleteChunkSize>50000</DeleteChunkSize>
	</SessionDataCleanUp>
	<OperationDataCleanUp>
		<Enable>true</Enable>
	</OperationDataCleanUp>
</SessionDataPersist>

Here we don't have enough information to self understand of some elements.

Temporary

As in the explanation of the docs, it is for save the temporary data of the authentication request. I think this is for save the inbound request data in protocol wise, right ? So now the redirections are not happened from the protocol endpoint to the framework, do we need this persistence ?
Or else do we have any other usage of this operation. It would be great if someone can give the full details about this and what happen underneath.
2 CleanUpPeriod
As in this explanation of this clean-up task, this task run within this given time period under this element. Then even the data is not full cleaned in the persistent media, this task would stop. Is that what it means ?
Then we have to explain why we have done such a time period to stop the task and what is the impact of that.
And in this section we have added a word called "operation data". Is this same to the temporary data ?
If not shall we explain that as well to make this more clear.
And there is another element called CleanUpPeriod and is it not related to the operational data ?
Again there is a separate element to enable OperationalDataCleanUp and this is only for enable/disable of the operation data clean up task , right ?
3 PoolSize
Here is the explanation what we have now.
"To improve performance, OAuth2 access tokens are persisted asynchronously in the database using a thread pool.
This value refers to the number of threads in that thread pool."
Is this poolSize only for OAuth2 Acccess Token ?
Are there any other usage of that  ?
Are there any relation this with Session persistence to added in to the session persistence section ?
This is the documentation link for this.
https://docs.wso2.com/display/IS550/Authentication+Session+Persistence

This is done


logging: Fix LOG_IMMEDIATE_CLEAN_OUTPUT

There was a kconfig option used in v1 logging to get clean output in the immediate mode. It was lost during the transition to v2 but Kconfig remained. Adding spin_lock to log processing to ensure that log messages are not interleaved in the output in the immediate mode.

@dcpleung can you take a look?


Fix UserInfo URL

The userInfo path on server side is defined as UserInfo.
But the client tries to call userInfo, resulting in a 404.
Reference server code: http://cgit.drupalcode.org/oauth2_server/tree/oauth2_server.routing.yml?id=b4b20096512879ac2c48a158fce087f522bbc48e#n21
Please note that the controller function is userInfo but the path is UserInfo
modified:   src/Provider/Drupal.php

[anshup@mouthwa oauth2-drupal]$ ./vendor/bin/phpunit
PHPUnit 4.8.24 by Sebastian Bergmann and contributors.
Warning:	The Xdebug extension is not loaded
No code coverage will be generated.
.......
Time: 107 ms, Memory: 6.50MB
OK (7 tests, 27 assertions)
[anshup@mouthwa oauth2-drupal]$ ./vendor/bin/phpcs src --standard=psr2 -sp
..
Time: 62ms; Memory: 5.25Mb

Great spot, thanks for the PR 👍


Document how to represent prescriptions and medication orders

Document how to represent prescriptions with MedicationRequest.
Make this a document under the Medications section.
Make it clear that this is the operational counterpart to the formulary document
Use this document as a reference for how common fields are represented in FHIR
Indicate important fields in the table format
Indicate how much of the details of the drug will be in the MedicationKnowledge resource with the same code, and refer to the formulary document
Discuss how to model an order (e.g. a pharmacy order) vs. a prescription

I'll work on this


Feature rubocop integration + YARD documentation

This PR is to:
1- Integrate Rubocop to Travis and fix most of the Rubocop violations so we can maintain consistent coding style across the project.
2- Start and generate YARD documentation to provide rubydoc.info reference for contributors and IDEs for intelligence and autocompletion. EX: https://rubydoc.info/github/rubocop-hq/rubocop

@tareksamni Looks great - thank you!
We have to add small modifications (eg. description of status) and then it's ready to merge.


[AutoPR netapp/resource-manager] Bringing consistency between to "ResourceGroup" definition

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5256

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4464


Anyway to extend this to the Youtube Music app?

Would be great if you could extend this functionality to the Youtube Music app (https://play.google.com/store/apps/details?id=com.google.android.apps.youtube.music&hl=en)
I feel that it has more options & variety than the standard Youtube 50+ unlimited playlist for music.
Don't know if this is the area to make feature requests like this
Otherwise I'll have to dabble in the code for a couple hours maybe and figure out how xposed and this module works, lol

Youtube Music does not work in my country, and it is same in Poland, right @th3an7 ? :D

Yup :P
Only way to make it work is to use VPN set to US. I used it some time ago
but now I'm just using normal YT app :D
On Thu, Jul 28, 2016, 14:18 pyler<EMAIL_ADDRESS>wrote:

Youtube Music does not work in my country, and it is same in Poland, right
@th3an7 https://github.com/th3an7 ? :D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pylerSM/YouTubeBackgroundPlayback/issues/212#issuecomment-235877852,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMxxbG59rb2XQIHbF4JFfvgA_YBk27qRks5qaJ30gaJpZM4JWxR2
.

Damn, oh well any pointers if I we're to look into it myself?

VPN works? :D Hmm, it would be funny to hack but... I really dont like to work with obfuscated code #cry

I am looking at it right now and there is one string that is almost the same as in normal YT... I can't find the others though :P

YouTube background module is awesome. .. & thanks for that ... we want you to make youtube music background playback module ... please make it soon .. thanks


1.0-0015-SNAPSHOT is not on maven

I cant find version 1.0-0015-SNAPSHOT on maven:
https://mvnrepository.com/artifact/com.ircclouds.irc/irc-api

Closing as it seems this project is no longer being maintained


Autorest Regen Preview to 3.0.0-alpha.20231210.4 by Dapeng Zhang from refs/pull/4004/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/4004

API change check
API changes are not detected in this pull request.


chore: split on new payload function

converts the on_new_payload handler into 3 functions:

ensure payload isn't malformed
try insert if pipeline idle
buffer if pipeline active

Codecov Report

Merging #2645 (8bf7f88) into main (e34cdc4) will decrease coverage by 53.54%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##             main    #2645       +/-   ##
===========================================
- Coverage   71.20%   17.67%   -53.54%
===========================================
  Files         499      499
  Lines       63361    63371       +10
===========================================
- Hits        45117    11201    -33916
- Misses      18244    52170    +33926

Flag
Coverage Δ

integration-tests
17.67% <0.00%> (+<0.01%)
:arrow_up:

unit-tests
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/consensus/beacon/src/engine/mod.rs
3.35% <0.00%> (-83.70%)
:arrow_down:

... and 349 files with indirect coverage changes


Escape media and version (prevent XSS); Handle extra versions

Rotonde doesn't escape the entry media, which allows anyone to hide anything in there.
    {
      "message": "Horrible idea of the day: #rotonde bot that reposts my Twitter timeline / Twitter client that works via #rotonde.",
      "timestamp":<PHONE_NUMBER>676,
      "media": "<a a='.png",
      "target": []
    }

Same goes to client_version:
"client_version": "0.1.67-dev
twttr"

This changeset escapes the media URL using encodeURI and changes the portal version handling to

check the first line for the rotonde version
allow a second line to mark any "mod version".

I don't know how "strict" it should be, so I left room for some customization of the client version.
"client_version": "0.1.67\ntonne r0"

thanks for escaping those. nobody bothered to fix that security hole until now ¯_(ツ)_/¯

I just noticed that names are affected, too; Lemme commit a fix for that, too

I'll merge when names are escaped as well :)

This commit doesn't only escape names, but also targets. r.escape_html and r.escape_attr have been added for any future escaping needs :)

Thanks a lot for this, I will give it its own version and seed it right away!

hmm, do we need \n in version numbers? how about a simple /


Timeout during collection

I keep getting a DBA Dash Error on one or more of my databases.  What can I do to fix this?
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception (258): The wait operation timed out.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()    at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()    at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)    at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)    at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at DBADash.DBCollector.GetDT(String tableName, String SQL, Int32 commandTimeout, SqlParameter[] param) in D:\a\dba-dash\dba-dash\DBADash\DBCollector.cs:line 1090
at DBADash.DBCollector.AddDT(String tableName, String sql, Int32 commandTimeout, SqlParameter[] param) in D:\a\dba-dash\dba-dash\DBADash\DBCollector.cs:line 1099
at DBADash.DBCollector.ExecuteCollection(CollectionType collectionType) in D:\a\dba-dash\dba-dash\DBADash\DBCollector.cs:line 908
at DBADash.DBCollector.<>c__DisplayClass58_0.b__0(Context _) in D:\a\dba-dash\dba-dash\DBADash\DBCollector.cs:line 478
at Polly.Policy.<>c__DisplayClass110_0.b__0(Context ctx, CancellationToken _)
at Polly.Policy.<>c__DisplayClass138_0.b__0(Context ctx, CancellationToken token)
at Polly.Retry.RetryEngine.Implementation[TResult](Func3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates1 shouldRetryResultPredicates, Action4 onRetry, Int32 permittedRetryCount, IEnumerable1 sleepDurationsEnumerable, Func4 sleepDurationProvider)    at Polly.Retry.RetryPolicy.Implementation[TResult](Func3 action, Context context, CancellationToken cancellationToken)
at Polly.Policy.Implementation(Action2 action, Context context, CancellationToken cancellationToken)    at Polly.Policy.Execute(Action2 action, Context context, CancellationToken cancellationToken)
at DBADash.DBCollector.Collect(CollectionType collectionType) in D:\a\dba-dash\dba-dash\DBADash\DBCollector.cs:line 474
ClientConnectionId:3aaa9886-3c8d-4844-951c-de77d776bfb3
Error Number:-2,State:0,Class:11

Which collection is timing out? If you got this error from the "DBA Dash ErrorLog" tab in the GUI, this is the "Source" tab in the grid.  If it's from the error log you should find this information just above the error.
Once you have the collection, you should be able to find the associated query here.
You could try running the query in SSMS to get an idea of how long the query will take normally.  It's possible to adjust the query timeout.  You can also adjust the schedule to run less frequently or disable the collection.  If you are able to identify a fix to improve the performance of the collection, you can also submit a pull request to improve the performance of the collection. Or post back here with your findings.
The default query timeouts should work for most environments but some users will run into issues.  e.g. If you have a very large number of databases some of the per-database collections like the Identity Columns collection might have issues.  That collection might also have issues if you have a very large number of tables.
Hope this helps,
David

The Source is CPU.  I grabbed the SQLCPU.sql file and tried to run it in SSMS as is but because of the variable not being defined I wasn't able to run it stand alone.  Where do I adjust the query timeout?

See here:
https://dbadash.com/docs/help/query-timeout/
You can add DECLARE @TOP INT = 60; to run the query:
DECLARE @TOP INT = 60;
IF OBJECT_ID('sys.dm_db_resource_stats') IS NOT NULL
BEGIN
	SELECT TOP(@TOP) end_time AS EventTime,
		CAST(avg_cpu_percent AS INT),
		100-CAST(avg_cpu_percent AS INT) AS SystemIdle
	FROM sys.dm_db_resource_stats
END
ELSE
BEGIN
	DECLARE @ts_now bigint
	SELECT @ts_now= cpu_ticks/(cpu_ticks/ms_ticks)
	FROM sys.dm_os_sys_info;

	SELECT TOP(@TOP) DATEADD(ms, -1 * (@ts_now - [timestamp]), GETUTCDATE()) AS [EventTime],
					SQLProcessUtilization AS [SQLProcessCPU],
				   SystemIdle AS [SystemIdleProcess]
	FROM (SELECT record.value('(./Record/@id)[1]', 'int') AS record_id,
				record.value('(./Record//SystemHealth/SystemIdle)[1]', 'int')
				AS [SystemIdle],
				record.value('(./Record//SystemHealth/ProcessUtilization)[1]', 'int')
				AS [SQLProcessUtilization], [timestamp]
		  FROM (SELECT [timestamp], CONVERT(xml, record) AS [record]
				FROM sys.dm_os_ring_buffers WITH (NOLOCK)
				WHERE ring_buffer_type = N'RING_BUFFER_SCHEDULER_MONITOR'
				AND record LIKE N'%<SystemHealth>%') AS x) AS y
	ORDER BY record_id DESC OPTION (RECOMPILE);
END

The query runs fine in SSMS. I tried adjusting the timeouts in the commandTimeouts.json file by adjusting the default timeout.  Now I'm seeing more timeouts with sources like ObjectExecutionStats, JobHistory, PerformanceCounters, SeesionWaits, etc.  Almost all have an Error Context of Import[Retrying] or Import

If the context is import the timeout is pushing the data into the repository database rather than collecting the data.  The timeout is 60 seconds for importing the data which isn't currently configurable.  It should be enough time though and might suggest some issues with the instance where the repository DB is located.  I'd start by checking the wait stats on that instance for the time period where you are experiencing the timeouts.

Import timeout is now configurable if needed.


Kong v3.0 container not available

Hi,
According to Kong - Releases version v3.0.0 is out, and there is a reference to the Docker Image but the latest available is v2.8.1.
How long does it take for a new container to be available after a new release?
Thanks!
Joel.

Seems like the new v3 images/tags are available now.
Closing this issue, but anyone reading this should check: https://github.com/Kong/docker-kong/issues/593


Bash prompts and single-word heading capitalization

Waiting for LGTM from:

[ ] @whyrusleeping
[x] @dignifiedquire
[ ] @rht
[x] @diasdavid
[ ] @jbenet

LGTM

Citation suggestion: much like https://github.com/ipfs/community/blob/master/code-of-conduct.md attributes the npm code of conduct, I think this should be the case as well for docs-styleguide.md.
http://man7.org/linux/man-pages/man7/man-pages.7.html should be cited.
('@'related: if you want to see what precedes npm coc, and so on, here is an incomplete visualization of it http://ideapad.io/code-of-conduct-phylogenetic-tree/graph)

LGTM

@rht That makes sense to me. We can link that. Want to make a PR about it?

Ping @whyrusleeping @rht @jbenet for review

@jbenet is going to want > instead of $ i think, i saw him post about that recently

@whyrusleeping agreed. I'm not sure when to use that: everywhere?
I see two issues with this. One is that most beginners come from Mac environments, I would think, and would be used to $. The second is that I have often seen this notation:
$ run command
> this is the output

Where > is used to mean STDOUT. I wonder if > would lead people to wonder if it is STDOUT or the command.

yeah, i'm personally not a fan of using > and prefer $. this PR has a LGTM from me

I just checked man git-commit and it does

It is a rough equivalent for:
$ git reset --soft HEAD^
$ ... do something else to come up with the right tree ...
$ git commit -c ORIG_HEAD


[Custom Components] Custom Accordion Component Drop Zone

Hi,
In my angular application, i added an accordion component, to which i'm trying to make it behave like a table component, where you can drag and drop other components inside, and as a result have a nested component.
i've tried working with ngx-dnd and make the accordion dropable but i can't drag & drop formio components inside.
So my issue, is this : how can i make a custom component ( whether it is an accordion or others in the future ) act as a droppable container for other components?
Thank you.

Hello  @mehdi47
Thank you for your interest in Form.io!
In the future, please submit your questions to Gitter( located here: https://gitter.im/formio/formio) for our community support.  We do offer Support Packages that are for training, support or development services. The hours can be used in one-hour increments at your convenience over a 90 day period.  We will assign one of our senior developers to work directly with you in online sessions. If you are interested in learning more about our Support Packages, then please contact<EMAIL_ADDRESS>Thank you and have a great day!

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!


Cannot set secret contains quotes, dollar sign, etc

$secret = 'ABC"$$123==)'
az keyvault secret set --vault-name MyKeyVault --name "Test" --value $secret

got
ABC$$123==)
with
$secret = "ABC'$$123==)"
got
ABC'$secret123==
Wired.
What I expect, the ability to set secret contains ANY character from my keyboard. Like '"+!%/=()~ˇ^˘°˛`˙´˝¨÷×¤ß$Ł|<>#&@{};*,-?:_

keyvault

May I know which cmd are you using? Bash or Powershell or windows bash?

@evelyn-ys Powershell
@jiasli The problem not only the usage of the $ sign. My secret often contains single or double quotes and any other special character. I currently CAN'T set them with az+ps because the secret will not contains the quotes. I have to navigate to the portal to change it.
So, please do not concentrate to the $, please help me with the ' or ".
Example:
az keyvault secret set --vault-name MyKeyVault --name Test --value a+7%d"!k'/ky
I tried backtick ` without any success.

@aistvan, this is more of a problem of PowerShell, not Azure CLI.
# PowerShell
> python -c "import sys; print(sys.argv[1])" 'a+7%d\"!k''/ky'
a+7%d"!k'/ky

For quotes, you are hitting a known issue of PowerShell (https://github.com/PowerShell/PowerShell/issues/1995) when calling native executables like Azure CLI which is actually a python application: https://github.com/Azure/azure-cli/blob/dev/doc/quoting-issues-with-powershell.md
We really recommend using Bash with Azure CLI which doesn't suffer from this PowerShell issue:
# Bash
$ python3 -c "import sys; print(sys.argv[1])" $'a+7%d"!k\'/ky'
a+7%d"!k'/ky

See

https://www.baeldung.com/linux/single-quote-within-single-quoted-string
https://stackoverflow.com/questions/1250079/how-to-escape-single-quotes-within-single-quoted-strings

This might be helpful to some: In my case, I was storing some JSON data. Read it from a file and passed the variable. I tried even triple quotation marks, but the secret always got all of the quotation marks stripped, which made JSON invalid.
Fortunately in my case, I have a file with the text the way I want it. The az keyvault secret set has an option to read the value from a --file and that did the trick for me. No longer manipulating strings by Powershell (I wish it was that easy that I could just say "let's switch the entire company to bash because there's this issue with Powershell")
For OP, not sure if it's possible to send your string in question to a file. If it's possible, then you might be able to use --file parameter.


fix: detect export destructring in tree-shaking

Summary
ECMA spec supports export binding with destructring. This pull request supports this pattern, which is widely used in redux.
Related issue (if exists)
#2521

Types of changes

[ ] Docs change / Dependency upgrade
[x] Bug fix
[ ] New feature / Improvement
[ ] Refactoring
[ ] Breaking change

Checklist

[x] I have added changeset via pnpm run changeset.
[x] I have added tests to cover my changes.

here is the webpack behavior:
index.js
import {a, } from './app'
a;

app.js
const test = {
  a: "bbbb",
  b: "aaaaa"
}

export const {a, b} = test;

output
(() => {
	"use strict";
	var a = {
			"./basic3/app.js": (a, r, e) => {
				e.d(r, { a: () => t });
				const { a: t, b: o } = { a: "bbbb", b: "aaaaa" };
			},
		},
		r = {};
	function e(t) {
		var o = r[t];
		if (void 0 !== o) return o.exports;
		var p = (r[t] = { exports: {} });
		return a[t](p, p.exports, e), p.exports;
	}
	(e.d = (a, r) => {
		for (var t in r)
			e.o(r, t) &&
				!e.o(a, t) &&
				Object.defineProperty(a, t, { enumerable: !0, get: r[t] });
	}),
		(e.o = (a, r) => Object.prototype.hasOwnProperty.call(a, r)),
		e("./basic3/app.js").a;
})();

webpack or terser did not tree shake destructor either.

Hi @hyf0, I think this change is good to go now. Though it does not implement tree-shaking named-export, for good reason, at the moment, the PR suppresses bogus warnings on named export. Besides it, the change does not introduce observable change to the generated code.


Alpine 3.12,Alpine 3.14 and alpine 3.16 install error [ln: /etc/nginx/conf/nginx.conf: No such file or directory]

Script
nginx-proxy-manager
Describe the bug
[success] Checking for latest openresty repository
[success] Updating container OS
[success] Installing dependencies
[success] Setting up python
[success] Checking for latest NPM release
[success] Downloading NPM v2.10.3
[info] Setting up enviroment
ln: /etc/nginx/conf/nginx.conf: No such file or directory
uncaught error occurred
System info:

Alpine Version: [3.12] [3.14] [3.16]

solved:
mkdir  /etc/nginx/conf
but when finish error:
'rU' while trying to load binding.gyp
ERR! configure error
1
16)
28)
12)
ERR! System Linux 5.4.192-0-lts
ERR! command "/usr/bin/node" "/tmp/tmp.CPPean/nginx-proxy-manager-2.10.3/frontend/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
ERR! cwd /tmp/tmp.CPPean/nginx-proxy-manager-2.10.3/frontend/node_modules/node-sass
ERR! node -v v18.16.1
ERR! node-gyp -v v7.1.2
ERR! not ok
1

#83 probably solves this

#83 probably solves this

i solved make the folder:
mkdir  /etc/nginx/conf
But i have other error

https://stackoverflow.com/a/74732671

https://stackoverflow.com/a/74732671

I've found the same on my own... would it be a solution to upgrade gyp in the frontends yarn.lock upstream? or how can we patch this? the install script deletes everything after it failed installing :/


.NET core runtime timeout error

Product and Version [VS/VSCode]: VSCode
OS Version [macOS/Windows]: Windows
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]:
[Client I] Trace log: C:\xxxx\Local\Temp\VSFeedbackVSRTCLogs\20180427_175656_15248518164730_VSCode.log
[Client I] Extension, IDE, OS : VSLS/0.2.489 VSCode/1.23.0-insider Windows/10.0.16299
[Client I] Did not find user settings at C:\xxxx\.vs-liveshare-settings.json
[Client I] Passed version check for Windows: found 10.0.16299
[Client I] Installing dependencies for Live Share...
[Client I] Downloading package '.NET Core Runtime 2.0.5 for win7-x86'
[Client E] Failed at stage: downloadPackages - Dependency download failed. RequestError: connect ETIMEDOUT <IP_ADDRESS>:443

The link on the .NET download page also times out

Works now, feel free to close.


[Backport] k8s 1.12 is shown in EKS create cluster but that's not listed in AWS EKS console

Backport:
https://github.com/rancher/rancher/issues/26281

This is both UI and Backend changes.

UI is in latest2-3

Rancher version: v2.3-head  (03/26/2020) commit id: e714692fc
I was able to validate this by deploying clusters with k8s versions 1.13, 1.14 and 1.15 which are the only options shown now in the EKS Kubernetes Version dropdown. Regions checked us-east-2, us-west-2
There's a small UI issue after adding the first cluster. If I go to EKS Create cluster again the Kubernetes Version dropdown defaults to the lowest version (1.13 in this case) with the same browser session. If I open a new browser, or clean up browser history and cookies I see 1.15

Closing, I've opened https://github.com/rancher/rancher/issues/26296 for the dropdown issue mentioned above.


body vs params option

Describe the change
In the documentation it is advised to use body with a POST request to pass data. Though in my Symfony API the user and password property were both null despite the payload containing them both.
After looking through the code i saw the params option which worked.
Any plans on explaining this in the docs? I did not find the params option in the README
code in question:
const data = await $fetch("/login", {
    method: "POST",
    params: { usr: "user", pwd: "password" }, // body did not work
    baseURL: config.public.baseURL,
})

URLs
No response
Additional information

[X] Would you be willing to help?

Invalid Issue / Question

params option is an alias for query. The payload you provided, (usr and pwd) were included in the URL query, instead of being sent as POST body. The final request was POST /login?usr=user&pwd=password. Unless you meant to transfer the payload via query, you should have used body instead. The issue is with your "Symfony API" not the ofetch library. Likely you are reading the body incorrectly there.


How to compile as a so library on Android？

I want develop an android app use QUIC. Can you tell me how to compile as a so library on Android? thank you very much.

There are Android tutorialson how to use C++ libraries on Android. For example, here is the official Android doc on this topic: https://developer.android.com/studio/projects/add-native-code. It seems quite detailed and easy to follow.
The Cmake files we provided in our repo, however, doesn't serve this purpose. I don't think Cmake files in the open source Fizz and Folly repos have such support either. You will need to make your own cmake files for these 3 repo (and possibly other dependencies that's in c++ and doesn't have a prebuilt object file).
Inside Facebook we use BUCK as our build tool. The BUCK file that supports Android build isn't included in this repo, and likely won't be any time soon given it's quite customized to our way of using this library on Android.
I'm also very hesitant to provide a prebuilt object file for Mvfst. You will still need fizz and folly. Plus we don't have the time and resource to keep it updated. I'd recomment just follow the Android tutorial I linked above.
To have proper Quic support in your Android app, you will need more than just Mvfst. The integration layer needs to handle Quic falling back to TCP or race both Quic and TCP connection properly. See previous issue on mobile support in https://github.com/facebookincubator/mvfst/issues/31.


Update README.md

Updates README to include another book about AI for game development.

Updated for a typo.

Thanks for the contribution! Interesting book


Yahya/create anthropic

What does this PR do?

Adds the Anthropic Integration
https://datadoghq.atlassian.net/browse/MLOB-1762
Motivation

https://docs.google.com/document/d/1mpR2xphp7d8squrxAXKwQv57qCqo342VbhEpVIgcP4o/edit?pli=1&tab=t.0
Review checklist (to be filled by reviewers)

[x] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[x] Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
[x] If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

Hi @yahya-mouman. I see that you have a couple of unanswered questions on the PR. Can you let me know once the PR is ready for the Docs Team to review? Thanks!

@yahya-mouman @barieom Is this PR creating the net new integration tile for Anthropic which we will then add to?

Hi @yahya-mouman. I see that you have a couple of unanswered questions on the PR. Can you let me know once the PR is ready for the Docs Team to review? Thanks!

@drichards-87 I believe it's ready for review ! the only thing that needs to be added is the list of metrics but I'm hoping that's not subject to editorial review as well. At worst we can get the rest reviewed at least.

Hi @yahya-mouman. I see that you have a couple of unanswered questions on the PR. Can you let me know once the PR is ready for the Docs Team to review? Thanks!

@drichards-87 I believe it's ready for review ! the only thing that needs to be added is the list of metrics but I'm hoping that's not subject to editorial review as well. At worst we can get the rest reviewed at least.

Yes, we need to review the metrics descriptions, as well. Please let me know once those are available. In the meantime, I will go ahead and review the other files.

@yahya-mouman Would you mind adding an entry into the codeowners for this if the ml-obs team intends to own this going forward?
https://github.com/DataDog/integrations-core/blob/master/.github/CODEOWNERS#L201-L202

/merge

/merge

/merge -c

/merge

/merge -c

/merge

/merge -c

/merge


fix: remove deprecated Reporter methods

Per https://github.com/google/osv-scanner/pull/706#issuecomment-1870668808

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (dd30864) 78.70% compared to head (3ff25f3) 78.39%.

:exclamation: Current head 3ff25f3 differs from pull request most recent head 267acb6. Consider uploading reports for the commit 267acb6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #722      +/-   ##
==========================================
- Coverage   78.70%   78.39%   -0.31%
==========================================
  Files          84       84
  Lines        6047     6027      -20
==========================================
- Hits         4759     4725      -34
- Misses       1085     1097      +12
- Partials      203      205       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Page Spacing

Description of the new feature / enhancement
Option to decrease page spacing to zero.
Scenario when this would be used?
For continuous, scroll-like images, like in manhuas and manhwas.
Supporting information
No response

Try unchecking this

Close issue if resolved.

Oh, I see. My screen wasn't big enough, so I had to scale down the UI for the Other Settings to appear. Thanks.

You can also scroll reader settings it its out of screen.


 breaking flexbox

I'm using a minimal flexbox grid for laying out my forms and  is breaking it, as most browsers treat  as a form input.
Can we do any of the following in the next release?
a) remove fieldset if legend is not specified
b) remove fieldset if not in groups
c) add an extra div inside fieldset to which we can assign a class

Me Too
Using VueJS 2 with Webpack and bootstrap 4

You can already do better
<vue-form-generator tag="div"><vue-form-generator>

Using version 2.1.1
I have tried adding tag="div" and it still is using fieldset.


can't see !

i use "PowerToys" Text Extractor tool but can't see anything the screen is black and thre tool not working because can't see the text soo the problem is not just black screen the [MicaForEveryone] make it black

class rule and prcess rule not working


Improve how the conanfile is searched

Currently, the code is iterating from the path where the project is to the root folder looking for a conanfile.py or conanfile.txt file, and it will run Conan using that file.
IMO, the plugin should use only a conanfile if it has already been included in a project (like any other cpp file or resource file). This way, the user will have a visual hint and will know which file is being used in which project and also it will be easier to find for the extension itself.
wdyt @SSE4?
PS.- If there are several suitable files in the same project, the plugin should raise an error.
PS2.- It will also make the Conan install at solution level useless (right now I'm not sure what is the intention of it), or at least it will have a meaning: just run Conan for all the projects.

yes, totally agree, in my opinion, we have to use the following algorithm:

scan project items for conanfile.[txt|py]
scan solution items for conanfile.[txt|py]
scan directories, like it's currently done, but looking into subdirectories as well, in this case the following layout should work:

\build
  project.vcxproj
\src
  conanfile.txt

PS1. - not sure. solution may use top-level conanfile for the entire build, but specific one for tests (e.g. adding gtest library)
PS2. - it's not useless, the intention is to install into every project which have conanfile, or in every project if we have a conanfile on the solution level

I think that in Visual Studio there is not such thing as solution items, you cannot add a file to a solution, you need to add it always to a project (that's also my motivation for the PS2).
And about (3) I think that the natural visual studio philosophy is to use only the files that are added to the project, and I think that making it that way will simplify a lot the algorithm to look for the conanfile: if there is one, use it; if there are more than one, error; if there isn't any, nothing happens.

🤦♂  Solution items:

@solvingj we need your input on this one :) what's your workflow regarding conanfile location? do you have it added to the project items or solution items? do you use it in the root project folder, or in build sub-folder near to the projects, or outside of the project folder?

It has bitten me again! I've opened a VS solution, there was a conanfile.txt in some directory and the plugin has started to build and include props file, and this project was already handling the Conan dependencies because it was generated from a CMake solution.

We have not added conanfile to our solutions, although I think I could get that approved here.  On the other hand, I know I could not have gotten that approved 6 months ago.
We have an _automation subdirectory which we keep conanfile.py in.  As I've stated many times, I'd want the plugin to look for a standard .json config file that lets me specify the path to conanfile.py and other options about conan behavior.  If this file doesnt exist (and until the feature is added), I really only like the default search behavior of looking in solutionDir and then each projectDir.
In any case, a global option in the plugin that says "automatically do this when I open solution/project" makes sense for users who want to disable all or some startup behavior.  Ideally, if you could reliably detect the scenario @jgsogo reached, and avoid the undesired behavior, that would be desirable also.
Also, RE: the point about the "philosophy of only process what is in solution". I like it, but it doesn't apply to us, and I would have been frustrated if the only way to make the Conan plugin do it's work was to add the conanfile.py to my project.  So, again, I would suggest a global option here:  skip conanfiles not added to visual studio project or something.
With the Visual studio cmake support having been around for years, it seems strange to me that people still use CMake to generate a visual studio projects, and then manually open them in visual studio project (although I know people do that ).  I would not try to support that case. I would support the two cases:

User opens visual studio solution/project (immediate goal)
User opens cmake project with OpenFolder/OpenCmake: (future goal)

Yes, I think that the approach could be:

If there is a conanfile.py or conanfile.txt added to the project or to the solution items, use it (higher priority for the project specific one).
look for the file in the project folder
look in the solution dir (it what MSFT does for .vsconfig file)

Follow existing logic seems good. Is it same process for CMakeSettings.json?

According to this: "The new CMakeSettings.json file is placed alongside the project’s root CMakeLists.txt." and having a look at the screenshots it is always added to the solution.

For my use case, it would be important that this not only acts as a blacklist / whitelist, but also makes it possible to include a conanfile.txt not residing in a parent or descendant of the project folder. Our structure is essentially this:

/source/winproj/ is the Windows project folder
/build/conan/ is where our conanfile.txt and other conan-related files are


Document Migrations & Seeds

Add examples & documentation for migrations and seeds.

Have you seen this section of the documentation?

There is already docs and examples. Also documentation issues should go to the documentation repository. I would move it there, but more info would be necessary to the issue description.


[TIKA-3374] Apply charset detection for archive entry name

Fixes #TIKA-3374

Add unit test with a dummy EncodingDetector to verify the charset detection flow is executed.


Update meta for new conventions

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@jchodera - I saw https://github.com/conda-forge/pybtex-feedstock/issues/2 and I'm not sure why the re-render isn't picking up Python3.7. That said, in this PR, I switched the package over to noarch: python which I believe should make it python3.7 compatible.

Ah I remember now:
The constraints regarding entrypoints is:

Before merging this PR make sure:
If entrypoints are in setup.py, they are listed in meta.yaml

pybtex sets a lot of entry points that are not console scripts: see here.
Back then I was not sure whether or how this can be done correctly in meta.yaml.

Good question, and one I'm not 100% sure about.
@conda-forge/staged-recipes && @conda-forge/core - Does a  noarch: python feedstock handle non-console script entry points properly? It seems as if the meta.yaml entry is really only designed for console scripts type entry points.

Does a noarch: python feedstock handle non-console script entry points properly?

Probably not if it generates .egg-info instead of .dist-info for that information, see https://github.com/conda/conda/issues/7693.

Ok, I'm going to close this one since it seems not well understood and probably ill-advised. I know the regro bot is transitioning feedstocks to python 3.7 (for example: https://github.com/conda-forge/fastcache-feedstock/pull/4), but I'm not sure right now how to manually target a feedstock.


Set background-color for table rows/cells

Is it possible to add a custom background color to table cells and/or table rows?
I know the hilite-text feature, but I want to set the background for the whole area, not only the text.
If not, are there any plans to add it?
Version
^2.42.0

I'd like to add:
Setting the border style and a fixed width would be a great feature too. Originally I wanted to create a second issue for that, but it may be better to add it here since it's all table related.

This feature is update at the v3.0.0.
It will take several months..

https://github.com/JiHong88/SunEditor/issues/889


Get rid of duplicate definitions that trip up typescript

Two variables in QueryEditor.tsx were duplicated (and identical): isInDashboard and getTimeStampColumnName. This change deletes the second one, which makes typescript happy.
This fixes #14.

Honestly not sure how to make the "compat check" check pass, but I take the build making it past the "build plugin" step as a good sign (:


Controlled, Constructed, Formal, and Restricted Languages interacting with Turkic

These have particular importance but certain adoption issues in context of Turkic languages. Within context of coding practices and similar static and dynamic interpretability considerations, these could be important to discuss. Initially combining to an umbrella, we can split later.

Another aspect is to define these as not contradictory but in inspectable scope for term NLP with right precedents to encourage people to partake in dialogue

Is the idea to make guidelines for reviewers, or practitioners, or corporations, or something else?

@jonorthwash the issue was just meant as a handle to see how we can think about these concepts within SGTURK and if anybody is interested. I think even having a dialogue would be quite nice for this, of course with a toolbox at eventuality could be very useful & a meaningful contribution to processing of Turkic languages. Though I'll be leaving my position and engagement in SIGTURK, so I guess this'll continue if someone else picks up.


Getting Items from Custom Compendia fails if there is more than 1 custom compendium

Now this is interesting.
Using these as imports:
world.hans-magic-items, world.hans-class-abilities, world.hans-classes, world.hans-mythic-abilities, world.hans-feats, world.hans-common-buffs, world.hans-traits, world.hans-spells, pf-content.pf-feats,  pf-content.pf-traits, pf-content.pf-racial-traits, pf-content.pf-artifacts, pf-content.pf-magicitems, pf-content.pf-wondrous, pf-content.pf-35-content, pf-content.pf-goods-services, pf-content.pf-items, pf-content.pf-special-qualities, pf-content.mythic-adventures, pf-content.horror-adventures, pf1e-archetypes.pf-archetypes, pf1e-archetypes.pf-class-abilities, pf1e-archetypes.pf-arch-features, pf1e-archetypes.pf-prestige-classes, pf1e-archetypes.pf-prestige-features
My above statblock doesn't import Evangelist properly like yours does; it generates a placeholder, but one with an icon.

This was consistent when I tested a few others that had prestige classes as well. Looks like archetypes are being handled properly, but not prestiges.
Originally posted by @Hanhula in https://github.com/Lavaeolous/PF1-StatBlock-Converter-Module/issues/360#issuecomment-826830662

This is reproducable for all cases where more than one custom compendium is defined.

Fixed in 3.1.2


talos.Scan() returning UnboundLocalError when running

When running the Scan() method with the following parameters:
t = talos.Scan(     x=x,      y=y,      model=model,      params=p,      dataset_name="ECG Classifier",      experiment_no='10' )
and returns the following error:

The model needs to have Return in format "return history, model"
UnboundLocalError                         Traceback (most recent call last)
 in ()
5     params=p,
6     dataset_name="ECG Classifier",
----> 7     experiment_no='10'
8 )
~\Anaconda3\envs\ECG-Research\lib\site-packages\talos\scan.py in init(self, x, y, params, dataset_name, experiment_no, model, val_split, shuffle, search_method, save_best_model, reduction_method, reduction_interval, reduction_window, grid_downsample, reduction_metric, talos_log_name, debug)
75         self.result = []
76         while len(self.param_log) != 0:
---> 77             self._null = self._run()
78
79         self = result_todf(self)
~\Anaconda3\envs\ECG-Research\lib\site-packages\talos\scan.py in _run(self)
91             print('The model needs to have Return in format "return history, model"')
92
---> 93         self.epoch_entropy.append(epoch_entropy((_hr_out)))
94         _hr_out = run_round_results(self, _hr_out)
95
UnboundLocalError: local variable '_hr_out' referenced before assignment

From what I can tell, the seeming lack of a return method in my model function is triggering the first error, however the model function does have it:
def model(x_train, y_train, x_val, y_val, params):
mdl = Sequential()
input_shape = (10*60*fields.get('fs'), 1)

#input
mdl.add(Conv1D(params['input_neuron'],
               input_shape=input_shape,
               activation=params['activation'],
               kernel_size=(params['kernel_size'],),
               kernel_regularizer=l2(params['l2_regularizer']),
              )
       )
if params['batch_normalization'] is True:
    mdl.add(BatchNormalization())

mdl.add(MaxPool1D(1))
mdl.add(Dropout(params['dropout']))

hidden_layers(mdl, params['hidden_layers'], params)

mdl.add(Flatten())

#output
mdl.add(Dense(1,
              kernel_regularizer=l2(params['l2_regularizer']),
              activation=params['last_activation']
             )
       )

mdl.compile(loss=params['losses'],
             optimizer=params['optimizer'](),
             metrics=['accuracy'])

tb_callback = TensorBoard(log_dir='./logs/log80' + str(9)
                          #+ '/' + str(run_num), write_graph=True, write_images=True
                         )

reduce_lr = ReduceLROnPlateau(monitor='val_loss',
                              factor=0.2,
                              patience=5, min_lr=0.001)

history = mdl.fit(x_train,
        y_train,
        epochs=params['epochs'],
        #batch_size=18,
        verbose=1,
        validation_data=(x_val, y_val),
        callbacks=
                  [
                      tb_callback,
                      reduce_lr
                  ]
                 )
#~~~~return method here~~~~
return history, mdl

I'm not sure what the second, _hr_out error is pointing out.
As reference, the hidden_layers method just add more layers depending on the respective hyperparameter that I listed in the params dictionary, which looks like:
p = {
    'input_neuron':(1,5,1),
    'hidden_layers':(1,4,1),
    'dropout':[p/10 for p in range(0, 6)],
    'optimizer':[Adam, SGD, rmsprop, adagrad],
    'losses':[binary_crossentropy],
    'activation':[relu, elu],
    'last_activation':[sigmoid],
    'kernel_size':(75,175,25),
    'l2_regularizer':[p/10 for p in range(0, 10)],
    'filters':(1,9,1),
    'batch_normalization':[True,False],
    'epochs':(50,250,50)
    }

I have run into this error before and at once point but was never able to quite pin it down. I don't think there's anything wrong with your code. @mikkokotila could this be due to some improper error handling?

@x94carbone this is generally a result from the model object not being passed into Talos properly. The most common case is where one forgets to pass it in return, but I can see you are doing it here. What is the dimensionality of the data you are using and is it all floats/ints ... I will replicate in my end and see.

the data (x train and x val) is in a shape of (36, 76800, 1) and the labels are just a 1D array of size 36. The data is a 36 separate 76800-long vectors with each data point an array of length 1, containing a float. The labels are either 0 or 1.

@nbarrios1337 thanks. Can you confirm that I got the dimensionality right. I might not have understood it correctly.
x = np.empty([36, 76800, 1]).shape
y = np.empty([76800]).shape

...do you get the same shape for your x and y?
Additionally, what is this doing:
input_shape = (10*60*fields.get('fs'), 1)

@nbarrios1337 thanks.
The culprit is the way you call hidden_layers()
hidden_layers(mdl, params['hidden_layers'], params)
but it should be:
hidden_layers(model, params, last_neuron)
Note that last_neuron is always the same i.e. these input parameters are the same for every permutation.
This case is consistent with what I had witnessed in the past; when this message comes, it means that there is an error in the model itself somewhere.
I've also changed your 'input_neuron' to 'first_neuron' in accord with the current naming in Talos. I've changed this in dev already so in future releases it will be input_neuron in Talos to be consistent with Keras.
The working code is here for reference:
https://pastebin.com/r28jN6KW

I just realized there may have been some confusion.
I didn't know talos already implemented a hidden layers method. I had actually made my own, that creates convolutional layers.
def hidden_layers(mdl, num_layers, params):
    count = 0
    while count <= num_layers:
        mdl.add(Conv1D(params['filters'],
                       activation=params['activation'],
                       kernel_size=(params['kernel_size'],),
                       kernel_regularizer=l2(params['l2_regularizer']),
                      )
               )
        if params['batch_normalization'] is True:
            mdl.add(BatchNormalization())

        mdl.add(MaxPool1D(1))
        mdl.add(Dropout(params['dropout']))

        count = count+1

Mimicing the for loop used in the hidden layers method you've implemented in talos, I have:
def hidden_layers(mdl, params):
    count = 0
    for i in range(params['hidden_layers']:
        mdl.add(Conv1D(params['filters'],
                       activation=params['activation'],
                       kernel_size=(params['kernel_size'],),
                       kernel_regularizer=l2(params['l2_regularizer']),
                      )
               )
        if params['batch_normalization'] is True:
            mdl.add(BatchNormalization())

        mdl.add(MaxPool1D(1))
        mdl.add(Dropout(params['dropout']))

        count = count+1

I've changed the model method to match the new parameters. I'm not sure what you meant to do with the last_neuron parameter.

Just a hunch: are you certain there's not an error with the model itself? Meaning, independent of Talos, does it compile properly?


slurm_mysql_password

set this in default and or fail if it's not defined

Added to default and asserted
See commit: 146d61ae011bf1a0b46fd01b682cfbcbbea95ae3


add command: powershell.searchOnlineHelp

in a local scenario, this command should open a web url pointing to the online help.

We have a custom message in PSES that will do this. @corbob has context on this :)

🤔 yeah, there's a message that PSES accepts to do this. I'll take a stab at adding it in much the way the evaluate appears to have been added.

tracking: #47


AudioBook using Python

It is a beginner friendly project using the library of Speech to Text.
It can add a cool feature to projects, which are especially based on
Natural Language Processing.

@aaryaab contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3240

Questions ?
Please refer to the Backport tool documentation


[CHEF-3611] Add ability to download from private AWS S3 buckets

http://tickets.opscode.com/browse/CHEF-3611
Introduce new URL scheme s3:/// for :recipe_url
that will trigger signing mechanism and convert link to https://
scheme. One could use s3:// or any other valid S3 endpoint,
like s3-eu-east-1://
Required configuration variables are:
'aws_access_key_id' and 'aws_secret_access_key' - your credentials
for secured S3 bucket.

Needs a CLA, needs a rebase, has had no activity from the contributor since 2012, and PR feedback hasn't been included.  Closing this as incomplete.


Add user info in user profile/edition

Show auth0 profile info
Show user stats

Backlogged internally for a future release.


Microsoft.WingetCreate version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

The old PR one seems to be dropped, so this on will close #68859


feat(log): define formats in logger and transports, use ISO dates for non-TTY logging

By splitting the format definitions between loggers and transports, writing custom transports will be much easier since they will have all the default information and only need to care about formatting.
closes: #1979
fixes: #1968
With this PR, now now also use UTC ISO dates when not logging to a TTY. This means that timestamps in logfiles now look like this:
2021-03-02T08:26:36.074Z DRIVER   ███████╗ ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗             ██╗ ███████╗
                                  ╚══███╔╝ ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝             ██║ ██╔════╝
                                    ███╔╝  ██║ █╗ ██║ ███████║ ██║   ██║ █████╗   █████╗      ██║ ███████╗
                                   ███╔╝   ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝   ╚════╝ ██   ██║ ╚════██║
                                  ███████╗ ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗        ╚█████╔╝ ███████║
                                  ╚══════╝  ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝         ╚════╝  ╚══════╝
2021-03-02T08:26:36.074Z DRIVER   version 6.6.0
2021-03-02T08:26:36.074Z DRIVER
2021-03-02T08:26:36.074Z DRIVER   starting driver...
2021-03-02T08:26:36.074Z DRIVER   opening serial port COM4
2021-03-02T08:26:36.098Z DRIVER   serial port opened
2021-03-02T08:26:36.098Z SERIAL » [NAK]                                                                   (0x15)

instead of
09:28:08.340 DRIVER   ███████╗ ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗             ██╗ ███████╗
                      ╚══███╔╝ ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝             ██║ ██╔════╝
                        ███╔╝  ██║ █╗ ██║ ███████║ ██║   ██║ █████╗   █████╗      ██║ ███████╗
                       ███╔╝   ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝   ╚════╝ ██   ██║ ╚════██║
                      ███████╗ ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗        ╚█████╔╝ ███████║
                      ╚══════╝  ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝         ╚════╝  ╚══════╝
09:28:08.343 DRIVER   version 6.6.0
09:28:08.343 DRIVER
09:28:08.344 DRIVER   starting driver...
09:28:08.350 DRIVER   opening serial port COM4
09:28:08.365 DRIVER   serial port opened
09:28:08.365 SERIAL » [NAK]                                                                   (0x15)

The latter format is still used for TTYs because it is less noisy and easier to digest for the one looking at the TTY.

Because TypeScript does 😁


Implement support for composite foreground images created from Sjbz, Djbz, Fgbz chunks

Currently DjvuNet supports only one of two DjvuLibre foreground image encoding schemes: FG44 chunk based IW44 compressed images painted with a bitonal mask on background image. Second encoding scheme uses several chunks encoding different information needed during image decoding. It is based on Sjbz, Djbz, Fgbz chunk data and mask.

The problem is JB2Image has only GetBitmap function that returns Bitmap that is grey 8-bit image. However very often foreground is color image, for example for colored text, colored lines and so on. Most often case foregroudn is 8-bit indexed color image with small amount of colors, in common case, according to documentation,  it can be 16-bit indexed color (not supported by most image formats). In last case we need to implement it as 24bit image represented in PixelMap class. My solution works only with 8-bit indexed foreground, but it can be simply enhanced to common case. Why I romp with 8-bit image instead of using PixelMap class with prepared Blit function? Because it takes >3  times less memory, because operation of translating 24-bit image into 8-bit image is very complicated and time comsuming (and it's not supported in Graphics). So it's better to save the infromation that djvu gives us.
I just used Graphics Bitmap calss. To add color to foreground I add following function into JB2Image  class:
public unsafe System.Drawing.Bitmap GetColoredBitmap(ColorPalette colorPalette)
        {
            if ((Width == 0) || (Height == 0))
                throw new DjvuFormatException(
                    $"Image is empty and can not be used to create bitmap. Width: {Width}, Height {Height}");

            System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(Width, Height, System.Drawing.Imaging.PixelFormat.Format8bppIndexed);

            System.Drawing.Imaging.ColorPalette palette = bmp.Palette;
            palette.Entries[0] = System.Drawing.Color.FromArgb(0, 0, 0, 0); // transparent
            if (colorPalette != null)
            {
                if (colorPalette.PaletteColors.Length>255)
                {
                    // TODO: use PixelMap class
                }
                int q = 1;
                foreach (var i in colorPalette.PaletteColors)
                {
                    palette.Entries[q++] = System.Drawing.Color.FromArgb((byte)i.Red, (byte)i.Green, (byte)i.Blue);
                    if (q >= 256) break;
                }
            }
            else
                palette.Entries[1] = System.Drawing.Color.FromArgb(0xFF, 0, 0, 0);
            bmp.Palette = palette;
            System.Drawing.Imaging.BitmapData bmpData = bmp.LockBits(new System.Drawing.Rectangle(0, 0, Width, Height), System.Drawing.Imaging.ImageLockMode.ReadWrite, bmp.PixelFormat);

            for (int blitno = 0; blitno < Blits.Count; blitno++)
            {
                JB2Blit pblit = GetBlit(blitno);
                JB2Shape pshape = GetShape(pblit.ShapeNumber);

                byte c = 1;
                if (colorPalette != null)
                    c = (byte) (colorPalette.BlitColors[blitno]+1);

                if (pshape.Bitmap != null)
                    pshape.Bitmap.BlitToMemory((byte *)bmpData.Scan0,Width,Height,bmpData.Stride,pblit.Left, pblit.Bottom,c);
            }

            bmp.UnlockBits(bmpData);
            return bmp;
        }

This function returns 8bpp indexed  Graphics.Bitmap built from JB2 image using ColorPalette information. It doesn't works with crop jet.
In order to implement colored blitting I added Bitmap.BlitToMemory function:
/// <summary>
        /// Bit Bitmap into memory having 1-byte per pixel organization with row size rowStride bytes
        /// </summary>
        /// <param name="mem">Pointer to memory</param>
        /// <param name="w">Width of memory area</param>
        /// <param name="h">Number of row in memory</param>
        /// <param name="rowStride">Number of bytes in row</param>
        /// <param name="l">Left position of blitting</param>
        /// <param name="b">Bottom position of bliiitng</param>
        /// <param name="c">color index >0 (0 is for transparent)</param>
        public unsafe void BlitToMemory(byte* mem, int w, int h, int rowStride, int l,int b,byte c)
        {
            if ((w > 0) && (h > 0) && (l < w) && (b - Height < h))
            {
                b = h - b;
                int realb = b >= h ? h - 1 : b;

                for (int y = realb; ((y >= 0) && (y <= b) && (y > b - Height)); y--)
                {
                    int offset = RowOffset(b - y);
                    byte* memrow = mem + y * rowStride;
                    fixed (sbyte* data =Data)
                    {
                        byte* row = (byte *) data + offset;

                        for (int x = l; ((x < w) && (x - l < Width)); x++)
                            if (row[x - l] != 0) memrow[x] = c;
                    }

                }
            }
        }

It works fine on my djvus. However I did't fully test it yet.
How I used it is shown in #129 issue.


Create a list component

To accommodate the different structures on the login page we want to create a component will render a list, similar to this: http://getbootstrap.com/docs/4.1/content/typography/#lists
By default, the component should render the same list styles as the content component list.
It should hold 2 modifiers, an inline modifier that puts the list items in a line and a list grid modifier that generates a grid similar to our gallery layout but with more constraint in the size, maybe using min and max content (but I don't know)
Before starting with this component please check the mockups for the login screen, on the right the list of links and the social network grid list:
https://drive.google.com/file/d/1ElopIvkE-RDeqTpJQ2sCXjzXaIbhRafT/view
This component will be impossible to name since we have other lists, good luck with that.

@LHinson we need to decide what to name this one. I'd call it pf-list and the other pf-data-list


[NeonVM]: security and networking redesign

Changes in PR:

QEMU process will run under user qemu , the runner pod will no longer have a Privileged: true security context (meaning that the root user inside the pod is not mapped to the root user on the host).
Adapted for NeonVM generic-device-plugin added to installation flow (it allows access to devices /dev/kvm and /dev/vhost-* for non-privileged pods)
Changed IP-address management (ipam) for overlay network from own neonvm-vxlan-ipam to Whereabouts CNI. This allows us to use overlay IP addresses in VMs and normal pods.
The second interface in the virtual machines (connected to the overlay network) is now configurable via the kernel command line (the dnsmasq process has been removed)
Reconciliation cycles for virtual machines and migration controllers are fixed in terms of reliability

@SergeyMelnikov can you please take a look on this PR?


int to string value conversion

in sapnote/2777782/10-increase-pidmax.yml and RedHat/generic/disable-coredumps.yml , to avoid warnings of type:
The value 0 (type int) in a string field was converted to '0' (type string). If this does not look like what you
expect, quote the entire value to ensure it does not change.

solved by pull request #106 .


Update GitHub redirect to new OSC apply route

Require https://github.com/opencollective/opencollective-frontend/pull/8210
Updates the redirect after connecting your GitHub account, when going through the OSC apply flow

Merging this into a new branch that has a uniform name across api/frontend


MINOR: Update LICENSE-binary with missing licenses

Fix dependency version in license file and add missing license.
Before this PR, checking missing licenses would output:
HdrHistogram-2.2.2 is missing in license file
commons-logging-1.3.2 is missing in license file
With this PR the output is empty (all licenses found)

This is what I ran to check the licenses:
% ./gradlewAll clean releaseTarGz
% tar xzf core/build/distributions/kafka_2.13-4.0.0-SNAPSHOT.tgz
% cd kafka_2.13-4.0.0-SNAPSHOT
% for f in $(ls libs | grep -v "^kafka|connect|trogdor"); do if ! grep -q ${f%.} LICENSE; then echo "${f%.} is missing in license file"; fi; done

Thanks @mumrah! Automating this makes total sense. I only found it because I was trying to add a new dep ;)


Add .editorconfig

Lots of editors understand it out of the box, in particular, IDEA.
The important property is insert_final_newline = true which is
false by default in IDEA.

LGTM


[BUG]: Too many login sessions in gopowerstore client causes unexpected session termination in UI

Describe the solution you'd like
Many session requests from CSI driver and other modules making REST requests via the gopowerstore client. For example, in Observability (/api/rest/metrics/generate) around 1000 sessions per minute. it caused powerstore to cleanup the old sessions like existing GUI login session after exceed threshold 2000 sessions. Issue also seen when using in the powertore GUI, then after 2 min, the account was logout automatically due to this session cleaned.
The gopowerstore client should try to reuse the previous session and not create new sessions every time the REST API is used. This can help cut down on the number of active sessions on the array.
Describe alternatives you've considered
None. Client library handles connections.
Additional context
Problem may be alleviated if the gopowerstoer client reuses login sessions. Also saw that the CSI driver also makes hundreds of API calls (/api/rest/volume/, /api/rest/file_system, and /api/rest/nfs_export) when monitoring the volumes.
Problem impacts both the driver and modules.

There are a large number of REST calls being made for volume, file_system, and nfs_export. As the number of volumes mounted increases and the number of clusters increase we will see may sessions.

link: 18466


feat(multicluster): customize multicluster gateway port

Signed-off-by: Allen Leigh<EMAIL_ADDRESS>
Description:
Add support to customize the multicluster gateway port number.
Issue #3804

Affected area:

Functional Area

New Functionality
[X]

Documentation
[ ]

Install
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Ingress
[ ]

Egress
[ ]

Networking
[ ]

Observability
[ ]

SMI Policy
[ ]

Sidecar Injection
[ ]

Security
[ ]

Upgrade
[ ]

Tests
[ ]

CI System
[ ]

Demo
[ ]

Performance
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?

No

Is this a breaking change?

No

Codecov Report

Merging #3816 (a5d4f9c) into main (ccf463b) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3816      +/-   ##
==========================================
- Coverage   67.45%   67.45%   -0.01%
==========================================
  Files         198      198
  Lines       10924    10935      +11
==========================================
+ Hits         7369     7376       +7
- Misses       3506     3509       +3
- Partials       49       50       +1

Flag
Coverage Δ

unittests
67.45% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/k8s/announcement_handlers.go
72.97% <0.00%> (-5.41%)
:arrow_down:

pkg/providers/kube/multicluster.go
81.63% <0.00%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ccf463b...a5d4f9c. Read the comment docs.

@shashankram I left a comment w/ the motivation for this issue here:  https://github.com/openservicemesh/osm/issues/3804#issuecomment-884440809
We do need a central source of truth (and configurability) for the port of the Multicluster Gateway.


Xamarin Studio 6.0 cannot load images from url

All of image loading work well in Xamarin studio 5.x, but after update to Xamarin studio 6.0, all the call of LoadUrl failed with error:
System.Net.WebException: Error: NameResolutionFailure
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x0005e] in /Users/builder/data/lanes/3339/39ebb778/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/System/System.Net/HttpWebRequest.cs:1005
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func2 endFunction, System.Action1 endAction, System.Threading.Tasks.Task1 promise, Boolean requiresSynchronization) [0x00014] in /Users/builder/data/lanes/3339/39ebb778/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/threading/Tasks/FutureFactory.cs:550

Do you use a specific HttpHandler?
Please check your project properties too.
On which platform and OS version do you get the issue?
Please post an image request that fails.

These are the test cases:
I have 2 urls and 2 methods to load image:
string url = "http://www.pawspets.co.uk/images/love-bird.jpg"; // (1)
//string url = "http://<IP_ADDRESS>:8089/api/image/get/c1621888-e63a-4d20-93dc-10bdcd4be758"; // (2)

// Load image by UIImage
var data = NSData.FromUrl(NSUrl.FromString(url));
imageView.Image = UIImage.LoadFromData(data);

// Load image by ImageService
// ImageService.Instance.LoadUrl(url).Into(imageView);

With url (1), both of "loading image" are successful
With url (2), "Loading image by UIImage" is ok and "Loading image by ImageService" return an error
Also I'm checking HttpHandler.
I test on ipad air 2, ios 9.3
Thank you so much!

I found my mistake for using IP directly.
But I wonder why previous version had no error?
Anyway, thank you so much @molinch

@thangtk It's because of this: https://developer.apple.com/news/?id=05042016a

Great, I think there're some restrictions from new iOS SDK.
Thank you


Failed to compile scripts using pillow

Nuitka version, full Python version, flavor, OS, etc. as output by this exact command.

python -m nuitka --version

2.4.11
Commercial: None
Python: 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
Flavor: CPython Official
Executable: C:\Program Files\Python311\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 11
Version C compiler: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe (cl 14.3).

How did you install Nuitka and Python

use pip, global env

The specific PyPI names and versions

python -m pip list -v

pillow                    10.4.0       C:\Program Files\Python311\Lib\site-packages pip
Send2Trash                1.8.3        C:\Program Files\Python311\Lib\site-packages pip
# python 3.11.9

Also supply a Short, Self Contained, Correct, Example

simply open and save an image
import PIL.Image

img = PIL.Image.open('test.png')
# save as jpg
img.save('test.jpg', 'JPEG')

then run
python -m nuitka --standalone --remove-output --main="test.py"

and you should get a failure
Unexpected output from this command:
link @C:\Users\xujia\AppData\Local\Temp\tmp672kuki_.lnk
LINK : fatal error LNK1104: 无法打开文件“C:\_FILES~1\PYTHON~1\娴嬭瘯\TEST~1.DIS\_nuitka_temp.exe”
scons: *** [C:\_FILES~1\PYTHON~1\测试\TEST~1.DIS\_nuitka_temp.exe] Error 1104
FATAL: Failed unexpectedly in Scons C backend compilation.
Nuitka:WARNING:     Complex topic! More information can be found at
Nuitka:WARNING: https://nuitka.net/info/scons-backend-failure.html
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.

Provide in your issue the Nuitka options used

python -m nuitka --standalone --remove-output --main="test.py"

Note if this is a regression
I don't know because it's my first time in nuitka

This is probably a hello world problem, and the develop branch and 2.5 which is to come soon, won't show it. The Chinese path doesn't shorten well there. I am confused to see [C:\_FILES~1\PYTHON~1\测试\TEST~1.DIS\_nuitka_temp.exe] being used, maybe a workaround I am attempting (naming the binary ASCII and renaming it later) is applied wrongly.

Well, yes, the problem was solved after I changed the path of the script to ASCII. Original path is C:\[FILES]\Python脚本\测试\test.py and new path is C:\Test\test.py. However, I hope to see the Chinese path is supported.
By the way, I am also confused to see [C:\_FILES~1\PYTHON~1\测试\TEST~1.DIS\_nuitka_temp.exe] being used.

There is this code:
# Workaround for MinGW64 not supporting unicode result paths for "-o" basename.
if os.name == "nt" and not isFilesystemEncodable(result_exe):
    result_exe = os.path.join(
        os.path.dirname(result_exe),
        "_nuitka_temp.pyd" if module_mode else "_nuitka_temp.exe",
    )

    deleteFile(result_exe, must_exist=False)

The result_exe should be more in your home directory there, but maybe you were compiling inside your Python installation, at least that is what it looks like. Check out if the develop branch of Nuitka fares better please.

I am not compiling inside my python installation, my python is installed in C:\Program Files\Python311\python.exe, and both C:\[FILES]\Python脚本\测试\test.py and C:\Test\test.py are not in it.
I tried the develope branch by python -m pip install -U "https://github.com/Nuitka/Nuitka/archive/develop.zip" in venv, and if there are Chinese characters in the path, same error occurred.
Unexpected output from this command:
link @C:\Users\xujia\AppData\Local\Temp\tmpyvqg8dg8.lnk
LINK : fatal error LNK1104: 无法打开文件“C:\_FILES~1\PYTHON~1\娴嬭瘯\TEST~1.DIS\_nuitka_temp.exe”
scons: *** [C:\_FILES~1\PYTHON~1\测试\TEST~1.DIS\_nuitka_temp.exe] Error 1104
FATAL: Failed unexpectedly in Scons C backend compilation.
Nuitka:WARNING:     Complex topic! More information can be found at
Nuitka:WARNING: https://nuitka.net/info/scons-backend-failure.html
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.

(testenv) C:\[FILES]\Python脚本\测试>python -m nuitka --version
2.5rc12
Commercial: None
Python: 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
Flavor: CPython Official
Executable: C:\[FILES]\Python脚本\testenv\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 11
Version C compiler: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe (cl 14.3).

(testenv) C:\[FILES]\Python脚本\测试>python -m pip list -v
Package     Version Location                                      Installer
----------- ------- --------------------------------------------- ---------
Nuitka      2.5rc12 C:\[FILES]\Python脚本\testenv\Lib\site-packages pip
ordered-set 4.1.0   C:\[FILES]\Python脚本\testenv\Lib\site-packages pip
pillow      11.0.0  C:\[FILES]\Python脚本\testenv\Lib\site-packages pip
pip         24.0    C:\[FILES]\Python脚本\testenv\Lib\site-packages pip
setuptools  65.5.0  C:\[FILES]\Python脚本\testenv\Lib\site-packages pip
zstandard   0.23.0  C:\[FILES]\Python脚本\testenv\Lib\site-packages pip

Ah, Ok, I was making guesses based on the shortpath, that do not hold to be true. I think it's using an absolute path for the result binary, and that may be without need. You are using a path that is Chinese, but short, and then Windows doesn't create a short path, which is then ASCII for use to use. But we could try and use a relative path, and avoid the issue that way somewhat. Of course in theory, it could always introduce it that way. I will make an experiment and prepare a fix for this.

Maybe I have to mention that I compiled some other scripts that have Chinese names and paths, and compiling was successful, this only happened when I used pillow.

I was under the assumption, the last bit but be a mistake and that a project name like 娴嬭瘯 triggers it, can you confirm or deny that?

I don't know the reason why it appears, 娴嬭瘯 is probably an error because it is compilicated and has no meaning in Chinese. And I didn't use it in any of the paths. Maybe it's an encoding/decoding error. (I tried chcp 65001 before compiling and the error still happens)
I also checked C:\_FILES~1\PYTHON~1\娴嬭瘯\TEST~1.DIS\_nuitka_temp.exe - maybe it means C:\[FILES]\Python脚本\测试\test.dist and this folder is empty.

The chcp program doesn't inluence compilers at all for all I can tell, I have tried it in the past to avoid non-English output by them, no success at all.

I made a change that should make it try the relative path if it is not encodable even after changing the basename, this may well be enough for many users with absolute paths that contain Chinese short paths as I would refer to them. I think the same workaround also needs to be applied for onefile. Can you try if standalone works with current factory branch for you? And then try if --onefile errors out again.

Thank you for your work, both --standalone and --onefile work.

Interesting, I think depending on the output exe filename, the same kind of workaround would be needed, but you didn't have that issue to begin with I guess, it's just something to keep in mind on my side, to make this workaround general too for my fellow Asian users.

Well, I got something interesting after seeing your comment. For the factory branch, I tested it in virtual machine, which is Windows10 LTSC 2021, and everything goes fine. However, after seeing it, I switched back to Windows11 and tested it again, the problem is still here. Sorry for the confusion I made.

The changes I made are now on the develop branch and will be part of the 2.5 release. I will try and reproduce your issues with the Chinese strings I find here, but I am not sure, I can do it before 2.5 release, but it will be a hotfix maybe.

Part of the 2.5 release I just made.


Is there any way to control account in contract?

Hello, I'm studying how to make a smart contract in Qtum blockchain.
I can only find basical developer guide and simple example, but cannot find documentation for developing in detail.
Is there any source I can get help, plz tell me.
And I wanna control account in smart contract. (e.g creating new account, reset password of account)
If there is no method to control it, I'm thinking to deal with it through external server using Qtumjs and rpc like the Oraclize in Ethereum.
In short, there are 3 questions.

Detailed documentation for Qtum dApp developer
Any method to controlling account in contract?
Is it possible to send HTTP POST request to external server? (like Oracleize)

Always thank you to Qtum team's effort.

Please have a look at Qtum Book: https://book.qtum.org/
I don't think we have "account".
No.

Thanks.


Disabled image swap

Our guidance suggests disabled elements should not be interactive. Swapped out the disabled state image showing a tooltip on a disabled primary button.
Also snuck some hyphen removal in 😉.

@alisonjoseph Is the reformatting of the react-docgen.json file an issue?

No idea what that file is, maybe @vpicone can help 😄

@alisonjoseph that file is what we use for the component demo knob data for all of the components.

Looks like the formatting just changed the indentation. The component demos all appear to be working correctly, so it should be fine. Although idk why the indentation changed, it looks weirder to me this way. 🤷♀

@jnm2377 I'm guessing it was Prettier

hmmmm, I wonder why it got ran here @connor-leech. Did you maybe edit something in that file by chance? Either way you can run git checkout master -- ./src/data/docgen/react-docgen.json from the package root to undo it in this PR. If we need to run prettier on it, we wanna do that in it's own issue.


delegate toString on wrapped callables etc

the lambda naming policy is bad and distracting. For example, the below made me think at first there was an armeria related problem. It seems better to make toString delegation in the things RequestWrapper wraps (notably runnable, callable etc)

here's where I got confused.. https://github.com/openzipkin/zipkin/pull/2735#issuecomment-518068132
note usually we don't have stack trace in the trace data. so only because I overwrote it, I could figure out.


When user delete conversation and restart, session stay in the state of previous conversation

When I delete a conversation with my chatbot on facebook messenger while I am in a specific dialog and I start a completely new conversation, I would like the bot to start over from the beginning.
For now, if I start a new conversation, The bot is restarting at the point where I left.
This seems awkward to me as the action of deleting the conversation is an equivalent of uninstalling an application and should bring me back to the beginning of the experience.

how do you delete the conversation? are you using /deleteprofile command to restart the conversation?

Hi,
In fact, in my use case, the user deletes the conversation from facebook messenger (he does not send any request to /deleteprofile).
The thing I want to know is if the user actually removes the conversation from facebook messenger, then I could trigger the /deleteprofile command.

Currently Facebook messenger platform doesn't fire delete conversation event through send API when the user deletes a conversation. You should educate users to use /deleteprofile or a custom command that you introduce for your bot, to delete their profiles and historic data with your bots.

@msft-shahins do you know if that's still an issue or does facebook send any event on deleting conversions now?

@seb0zz I cannot see any changes on the Facebook side by skimming through their documentation.


what are the minimum hardware requirements to run a block producer node and snarker node

Closing this issue as it is stale for a long time.