Support multiple service IDs on "docker service ps"

- What I did
This fix tries to address the issue raised in #25228 to support multiple service IDs on docker service ps.
- How I did it
Multiple IDs are allowed with docker service ps ..., and related documentation has been updated.
- How to verify it
A test has been added to cover the changes.
- Description for the changelog
Support multiple service IDs on "docker service ps"
- A picture of a cute animal (not mandatory but encouraged)
This fix fixes #25228.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

functionally, it makes sense to have an option to show tasks for multiple services; I'm a bit in doubt what the best approach is. For example, docker ps by default shows everything, but requires a --filter to just show a single (container).
I realize docker service ps is slightly different, hence my doubt
ping @stevvooe @aluzzardi @tiborvass

@thaJeztah I'm not sure I would compare it to docker ps (on single engine). Maybe it is closer indeed to "ps" on the previous swarm where you got all containers and indeed used filter if needed.
In general I would love to see a more "old swarm" related options where one can see all the resources and filer out.
BTW, specific for "docker service" it's not reasonable to allow multiple IDs for "inspect" but not for other subcommands

Yes, perhaps this is the best approach; I was thinking out loud, and thought I'd better write it up on GitHub, before I forget to do so

multiple ID's on service ps is a bit strange, tbh. I'm not sure the UX holds up to it.

Maybe with multiple it can change format so tasks are nested underneath a service... but docker service ls pretty much shows this same information, just without the individual task details.

@cpuguy83 Maybe we could add an option (e.g., --detail or --tasks) to docker service ls, so that it will shown individual task details together with the services?

We discussed this, and since there's no other option to show multiple services on multiple nodes, this is probably the best solution after all, so moving to code review

p.s.... I think this might be nice: docker service ps $(docker serivce ls -q --filter ...)

This should really support name or id for service lookup.

Thanks @thaJeztah @stevvooe @cpuguy83. I have updated the pull request and now with both name prefix and ID searched for services.
One thing I am not sure is the return code when some (or all of the) terms searched does not found service with matched ID or matched name prefix. The currently PR will return empty result (but no error). Should we return error on it? Would like to hear suggestions on this scenario.

@yongtang Probably best to look at docker inspect output in this scenario.

Name prefix is a bit wierd, particularly when you have services with similar names, e.g. test and test2

@cpuguy83

Name prefix is a bit wierd, particularly when you have services with similar names, e.g. test and test2

Yes, but I've specified an algorithm that should work in most cases.
It must be modified here, since ambiguous lookups are no longer an error but a merge.

Thanks @cpuguy83 @stevvooe. The pull request has been updated. Now service ps will return error in case any one of the name/ID can not be found, similar to docker inspect. Please let me know if there are any issues.

ping @stevvooe PTAL https://github.com/docker/docker/pull/25234#r76727738

@stevvooe the PR has been updated. Please take a look and let me know if there are any issues.

LGTM

@yongtang could you do another rebase? I'll try to get this moving again
docs LGTM

ping @dnephin could you give this a review?

also /cc @albers @sdurrheimer as this need changes to the completion scripts

@dnephin I updated the PR and now there are only 2 service calls instead of n * 2 service calls. Please take a look and see if it fit the requirement.

Thanks, this design works for me

ping @yongtang looks like this needs a rebase

ping @dnephin LGTY? If so we're ready to merge I think

@thaJeztah @dnephin The PR has been rebased. Thanks.


rpm anywhere?

Hi,
Has anyone packages supervisor_twiddler as an rpm?
Chris

I publish supervisor_twiddler as a Python package on PyPI.  It can be installed with a command like pip install supervisor_twiddler.
I understand some people only want to use system packages (deb, rpm).  I can appreciate that but I don't have enough bandwidth to generate those packages also, sorry.


Unresolved hierarchical reference calculating $bits() of a unpacked member

The following
typedef struct packed {
   logic [31:0] pair[2];
} foo_t;

module a(input foo_t a);
   // Getting size of full pair: works
   logic [$bits(a.pair)-1:0] bar;

   // but referencing one element: unresolved hierarchical reference
   logic [$bits(a.pair[0])-1:0] baz;  // <-- problem here
endmodule;

.. results in an error:
file.sv:10: Unresolved hierarchical reference "a.pair[0]".

This must've been recent; with Surelog v.1.76, this compiled.

The testcase is illegal as-is.
You have to drop the "packed" keyword.
A packed struct cannot contain unpacked data members.

Fixed by #3918

Bumped version 1.77

A packed struct cannot contain unpacked data members.

I am interested by an LRM reference.

7.4.1 Packed arrays (4th paragraph)
"Packed arrays can be made of only the single bit data types (bit, logic, reg ), enumerated types, and
recursively other packed arrays and packed structures."

In response to https://github.com/chipsalliance/Surelog/issues/3917#issuecomment-1787718044 this is the relevant section:
7.2.1
"...Only packed data types and the integer data types summarized in Table 6-8 (see 6.11) shall be legal in
packed structures"

@hzeller Tanks a lot.


[Getting Started with CSS] it doesn't seem to support RTL

There is no support for RTL in this framework. Am I missing something? It would be better to have native support for RTL.

+1 on this. Is there a way foundation-emails supports RTL?

Hi, we would welcome a PR which adds support for RTL. This would be very great.

Hi, this would be very great.
We would welcome a PR which adds support for RTL.

Hey. This feature would be great.

just use mjml instead


HFSS Set Solution Type Options

Discussed in https://github.com/pyansys/pyaedt/discussions/2927

Originally posted by rjwilliams84 April 27, 2023
Probably a simple solution but I can't find the answer in the documentation or examples.
I'm trying to set up HFSS and define the solution type as 'HFSS with Hybrid and Arrays', 'Modal' solution, with the 'Composite Excitation' option. All I can seem to do is change either 'Modal' or 'Terminal' using the following:
hfss=pyaedt.Hfss(projectname=project_name, designname=design_name ,solution_type="Modal")
where I've tried changing "Modal" after solution_type to other strings, such as "Terminal" (this works fine), "HFSS with Hybrid and Arrays" (does not do anything), and "Composite Excitation" (also does not do anything).
This leads me to believe that I'm not using the correct method to set these solution types/options, but as I mentioned in the beginning of this post I cannot find how to do this in the documentation or in any of the provided examples. I'm hoping someone can point me to what I need to do here.
Thanks.

Duplicate of #2944


fix typo

Thanks! Unfortunately some kind of Travis/Coveralls integration problem broke the build, hrmm:

Oh I see, Travis is not putting $COVERALLS_TOKEN into the build environment when it runs goveralls.

That is strange because it remains set in the Travis build settings.

Weird, thanks for looking into it. Could it be related to the fact that the PR is originating from the tpetr fork?

Hopefully Travis will fix the issue! Thanks, merging!

🙏

Oh perhaps secret env vars like that aren't available for builds of forked PRs, hrmm hadn't thought of that! That would make it harder to test PRs for coverage though.

You're right: "we do not provide these values to untrusted builds, triggered by pull requests from another repository." https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings

Also, the semaphore build link for this PR leads to a 404. Mysterious!

Indeed. It could be because I deleted the branch after the merge, though restoring it didn't seem to have helped. 😞

no worries! we'll figure it out when you submit your next PR with new code & tests.


Dynamically resize column widths to fit all content

Hello,
Is there any way to re-size table columns automatically based on their content's size? My table is currently formatted with all columns having equal widths while their contents differ in size.  The result looks ugly because some content does not fit the column space completely and in other columns there is a lot of blank space:

applying style: { width: "fit-content" } does not work. Can you please help?

@dnorrstrand I haven't had any trouble with my tables. Make sure you're including the styling in your file:
import 'react-bootstrap-table-next/dist/react-bootstrap-table2.min.css'

Also, get rid of any custom styling relating to column width that you put on. It may be interfering.
Also, Check our bootstraps responsive tables.

In this link You can find help
https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/1160


Spelling correction

KB have plans but no estimation for finish date

KB is not likely to finish this before end of project. We could do it on our end, but it is difficult.


IdentityServer 4 same site none cookie

Question
I'm using IdentityServer4 with .Net Core 2.0 (Not possible to upgrade at the moment). I'm trying set the Identity Server cookies to same site none using the following methods, but in Chrome, it is always displayed as empty (not assigned).
in startup.cs - ConfigureServices method (some of it seems redundant but trying everything)
    services.AddAuthentication(options =>
        {
            options.DefaultScheme = "Cookies";
            options.DefaultChallengeScheme = "oidc";
        })

        .AddCookie("Cookies", options =>
        {
            options.Cookie.SameSite = SameSiteMode.None;
            options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
        });

        services.Configure<CookieAuthenticationOptions>(

        IdentityServerConstants.DefaultCookieAuthenticationScheme,
        options =>
        {
            options.Cookie.SameSite = SameSiteMode.None;
            options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
            // options.Cookie.IsEssential = true;
        });

also tried
     services.ConfigureApplicationCookie(options =>
        {
            options.Cookie.SameSite = SameSiteMode.None;
            options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
        });

in startup.cs - Configure method (tried with and without this)
     app.UseCookiePolicy(new CookiePolicyOptions
        {
            MinimumSameSitePolicy = SameSiteMode.None,
            Secure = CookieSecurePolicy.Always
        });

        // This will write cookies, so make sure it's after the cookie policy
        app.UseAuthentication();

Since this is reposted from StackOverflow, someone suggested I try
   var builder = services.AddIdentityServer(options =>
    {
        options.Authentication.CookieSameSiteMode = SameSiteMode.None;
    })

but CookieSameSiteMode is not recognized.  I would appreciate any help.  Thank you

I had the same issue with IdentityServer4 since Google Chrome deny some cookies. My solution is setup services.AddIdentityServer() to use a diferent cookie police.
Somethink like:
var builder = services.AddIdentityServer()
                    .AddDeveloperSigningCredential()
                    .AddClientStore<ClientAppService>()
                    // TODO: Validate CORS with AspNet Middleware or CorsPolicyService or both?
                    // .AddCorsPolicyService<CorsPolicyAppService>()
                    .AddResourceStore<ResourcesAppService>()
                    .AddPersistedGrantStore<PersistedGrantAppService>()
                    .AddDeviceFlowStore<DeviceFlowAppService>()
                    .AddAbpIdentityServer<User>();

                builder.Services.ConfigureExternalCookie(options =>
                {
                    options.Cookie.IsEssential = true;
                    options.Cookie.SameSite = (SameSiteMode)(-1); //SameSiteMode.Unspecified in .NET Core 3.1
                });

                builder.Services.ConfigureApplicationCookie(options =>
                {
                    options.Cookie.IsEssential = true;
                    options.Cookie.SameSite = (SameSiteMode)(-1); //SameSiteMode.Unspecified in .NET Core 3.1
                });

This could help you:
A cookie associated with a resource at was set with SameSite=None but without Secure. It has been blocked, as Chrome now only delivers cookies marked SameSite=None if they are also marked Secure.
https://stackoverflow.com/questions/60757016/identity-server-4-post-login-redirect-not-working-in-chrome-only


Use new python openshift version 0.13.1

Fixes Issue #262, which uses newer version of OpenShift python module.
related to #446
@redhat-cop/mdt

/retest

/retest

Merging, got approval from @weshayutin comment from @KevinMGranger was resolved and 4.9 prow is a known issue not related to this change.


Musical Instruments Image Classification

Closes :- #787
Approach I took :-    1. Utilizing 5 models such as DenseNet121 , Xception, VGG16, ResNet50, and InceptionV3 for image classification.
2. Applying data augmentation (rotation, zooming, flipping, shearing, brightness) to enhance dataset robustness.
3. Comparing model performance using accuracy scores, loss/accuracy graphs, and confusion matrices.
4. Conducting EDA for dataset insights, including image distribution, quality, class imbalances, and sample visualization.
5. Documening the process in a comprehensive README file.
I have worked on this issue..kindly review my pr and in case of no problems merge it with suitable lable (Level-3) if possible as I have tarined the entire set on 5 different models with excellent accuracy.

@invigorzz313 @Niketkumardheeryan kindly review my pr and merge it with suitable label please.

@aaradhyasinghgaur The requirements.txt file should be properly written. You could optionally include versions but the descriptions should be commented


[Workspaces] MS Teams was captured, but doesn't launch

Microsoft PowerToys version
0.84.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Workspaces
Steps to reproduce

Capture MS Teams
Launch MS Teams

✔ Expected Behavior
It to launch MS Teams
❌ Actual Behavior
It does not launch MS Teams, showing a yellow warning icon

Other Software

Windows 10

Still present in v0.84.1

@donlaci, still not opening
/bugreport


implement auth via cookie and external IdP

auth should query the IdP and store cookie in the user's browser. This was already minimally tested and working with a poc, but the final impleemntation rests on the web frontend.

Is this still relevant @mfranzon @rkpasia? If not, let's close it.

For the time being, we can close it. At the moment the SSO is not on schedule.


Add back to home button in Number Solver.

@Spandan-Bhattacharya kindly assign this under JWOC

Go for it @Anushkabh

assign me this issue for quick fix

kindly merge @Spandan-Bhattacharya  if satisfied
#170


[SPARK-1955][GraphX]: VertexRDD can incorrectly assume index sharing

Fixes the issue whereby when VertexRDD's are diffed, innerJoined, or leftJoined and have different partition sizes they fail under the zipPartitions method. This fix tests whether the partitions are equal or not and, if not, will repartition the other to match the partition size of the calling VertexRDD.

Can one of the admins verify this patch?

/cc @ankurdave could you review, thanks!

ok to test

Test build #27804 has started for   PR 4705 at commit 0882590.

This patch merges cleanly.

Test build #27804 has finished for   PR 4705 at commit 0882590.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

LGTM although @ankurdave should probably have the final say.

@ankurdave any thoughts? This is blocking progress on a few other GraphX JIRA's (SPARK-4600, SPARK-5790), so whenever you get a chance that'd be great, thanks!

bump

@brennonyork I'll add unit tests for your patch before/after the patch merged.

@maropu thanks!

Thanks! Merged into master, branch-1.3, and branch-1.2.


Supporting Laravel 5.4

Seemingly the only barrier for supporting Laravel 5.4 is the outdated Composer JSON.

Thanks ... was out last week, will get to this today. :) Sorry for the delay.


Updated with Windows installation notes

Updated with Windows installation notes

👍 Thank you Neelam for sharing what you learned during your installation efforts!


geohash.bboxes returns empty when any passed coordinates are negative

My code is below and follows the documentation. It looks like the test case only tests for positive numbers.
console.log ("minlat: " + minlat, "minlon: " + minlon, "maxlat: " + maxlat, "maxlon: " + maxlon);
console.log(geohash.bboxes(minlat, minlon, maxlat, maxlon, 9))

Fixed: according to the original code (below), the hashes start from southwest to northeast; my implementation/test method started from southeast to northwest. When I changed it to suit the code, geohashes properly returned as expected.
  var hashSouthWest = encode(minLat, minLon, numberOfChars);
  var hashNorthEast = encode(maxLat, maxLon, numberOfChars);


How to write this code using koffi?

const ffi = require('ffi-napi');
const ref = require('ref-napi')

let logging ;
const buffLength = 256;

let aloc_sResponse = Buffer.alloc(buffLength);
let aloc_esLength = ref.alloc('int', buffLength);

logging = libm.getLastResponse(aloc_sResponse, aloc_esLength );
console.log(logging);
console.log('message: ', aloc_sResponse.toString());

basically the value of the variable aloc_sResponse will be filled by the return of the function itself.
Sorry for bad English :/

Not sure how is getLastResponse defined, but I guess it should be something like this:
const koffi = require('koffi');

const libm = koffi.load('libm.so');
const getLastResponse = libm.func('int getLastResponse(_Out_ void *buf, _Inout_ int *bufLength)');

const bufLength = 256;

let aloc_sResponse = Buffer.alloc(bufLength);
let aloc_esLength = [buf.length];

let logging = getLastResponse(aloc_sResponse, aloc_esLength);

console.log(logging);
console.log('length: ', aloc_esLength[0]);
console.log('message: ', aloc_sResponse.toString());

sorry, Sorry, the getLastResponse() is defined like this:
const getLastResponse = lib.func('NFE_StatusServico', 'int', ['string', 'int']);

The String with predefined length so that it can be filled with the return value

Not sure how getLastResponse() is defined, but I guess it should be something like this:
const koffi = require('koffi');

const libm = koffi.load('libm.so');
const getLastResponse = libm.func('int getLastResponse(_Out_ void *buf, _Inout_ int *bufLength)');

const bufLength = 256;

let aloc_sResponse = Buffer.alloc(bufLength);
let aloc_esLength = [buf.length];

let logging = getLastResponse(aloc_sResponse, aloc_esLength);

console.log(logging);
console.log('length: ', aloc_esLength[0]);
console.log('message: ', aloc_sResponse.toString());

This code is executed however the variable aloc_sResponse is not filled by the function return. Buffer returns empty

I managed to make it work using the ref-napi library. The code looked like this:
import ref from "ref-napi"
import koffi from "koffi";

const lib = koffi.load('myLib64.dll');

const getLastResponse = lib.func('NFE_StatusServico', 'int', ['_Out_ str *buf', '_Inout_ int *buffLength']);
const buffLength = 300;
const aloc_sResponse = Buffer.alloc(buffLength)
const aloc_esLength = ref.alloc('int', buffLength);

let logging = getLastResponse(aloc_sResponse, aloc_esLength);

console.log(logging , '=>', aloc_sResponse.toString())

My code was not even correct because it was using an undefined variable so that might not have helped :)
This should work without ref-napi:
import koffi from "koffi";

const lib = koffi.load('myLib64.dll');

const getLastResponse = lib.func('NFE_StatusServico', 'int', ['_Out_ str *buf', '_Inout_ int *buffLength']);
const buffLength = 300;
const aloc_sResponse = Buffer.alloc(buffLength)
const aloc_esLength = [buffLength];

let logging = getLastResponse(aloc_sResponse, aloc_esLength);

console.log(logging , '=>', aloc_sResponse.toString())

Some documentation about pointers and output parameters in Koffi:

https://koffi.dev/pointers#pointer-to-primitive-types
https://koffi.dev/output#primitive-value

It worked perfectly without ref-napi. Thank you for your support.


JavaScript

JavaScript
As a boot camp student
I want the prework notes to be structured on a webpage so that I can easily find and read the information.
Given a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first.

Could you explain to me what is the issue?
I could fix any issues


add more projects

Hey , i want  to add more 2 projects for hacktoberfest pr completeion can i add?

sure


广告屏蔽插件竟然也会使页面空白

Expected behavior (预期行为)
正常
Actual behavior (实际行为)
chorme 和 firefox 出现页面空白等现象，或者随机出现正常页面
Steps to reproduce the behavior (重现步骤)
NexT Informations
Add the  ✔  sign before an item which is affected by this behavior.
NexT Version:

Master ✔
Latest Release
Old version -

NexT Scheme:

All schemes
Muse ✔
Mist
Pisces

Other Informations (Like Browser, System, Screenshots)
ubuntu16.04  64位 win7 64位
之前更新了vendors问题后，没几天就出现页面卡死，出现空白，不知道是什么问题，后来换浏览器发现firefox偶尔也会出现这个问题，但是ie是正常的，也就没再纠结这个问题
刚刚发现竟然是广告屏蔽插件惹得祸，下面是测试图
chorme:

firefox:

@kcoewoys dont understand u, write in English if not solved. If solved, close it please. Thank's!

This issue about user's adblock extension installed on his browser caused website with next theme not to show properly, I doubt there is anything we can do about it.


UNABLE_TO_GET_ISSUER_CERT_LOCALLY on web.sso.xx-xx.log while configuring SSO.

Dear all,
We have installed the community server via docker using the workspace-install.sh script.
All is running but i am trying to configure the SSO via SAML using keycloak following this procedure https://github.com/ONLYOFFICE/ControlPanel/issues/6
I have the follwing error on the sso log :
{"error":{"message":"request to https://onlyoffice-testdomain.tld/ssologin.ashx?config=saml failed, reason: unable to get local issuer certificate","type":"system","errno":"UNABLE_TO_GET_ISSUER_CERT_LOCALLY","code":"UNABLE_TO_GET_ISSUER_CERT_LOCALLY"},"level":"error","message":"uncaughtException: request to https://onlyoffice-test.domain.tld/ssologin.ashx?config=saml failed, reason: unable to get local issuer certificate\nFetchError: request to https://onlyoffice-test.domain.tls/ssologin.ashx?config=saml failed, reason: unable to get local issuer certificate\n    at ClientRequest.<anonymous> (/var/www/onlyoffice/Services/ASC.SsoAuth/node_modules/node-fetch/lib/index.js:1461:11)\n    at ClientRequest.emit (node:events:517:28)\n    at TLSSocket.socketErrorListener (node:_http_client:501:9)\n    at TLSSocket.emit (node:events:517:28)\n    at emitErrorNT (node:internal/streams/destroy:151:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","stack":"FetchError: request to https://onlyoffice-test.domain.tld/ssologin.ashx?config=saml failed, reason: unable to get local issuer certificate\n    at ClientRequest.<anonymous> (/var/www/onlyoffice/Services/ASC.SsoAuth/node_modules/node-fetch/lib/index.js:1461:11)\n    at ClientRequest.emit (node:events:517:28)\n    at TLSSocket.socketErrorListener (node:_http_client:501:9)\n    at TLSSocket.emit (node:events:517:28)\n    at emitErrorNT (node:internal/streams/destroy:151:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","exception":true,"date":"Mon Jun 03 2024 14:28:23 GMT+0000 (Coordinated Universal Time)","process":{"pid":2241,"uid":104,"gid":107,"cwd":"/var/www/onlyoffice/Services/ASC.SsoAuth","execPath":"/usr/bin/node","version":"v18.19.1","argv":["/usr/bin/node","/var/www/onlyoffice/Services/ASC.SsoAuth/app.js","UNIX.SERVER"],"memoryUsage":{"rss":107929600,"heapTotal":30453760,"heapUsed":28918456,"external":1277453,"arrayBuffers":77409}},"os":{"loadavg":[0.08,0.07,0.08],"uptime":347400.67},"trace":[{"column":11,"file":"/var/www/onlyoffice/Services/ASC.SsoAuth/node_modules/node-fetch/lib/index.js","function":null,"line":1461,"method":null,"native":false},{"column":28,"file":"node:events","function":"ClientRequest.emit","line":517,"method":"emit","native":false},{"column":9,"file":"node:_http_client","function":"TLSSocket.socketErrorListener","line":501,"method":"socketErrorListener","native":false},{"column":28,"file":"node:events","function":"TLSSocket.emit","line":517,"method":"emit","native":false},{"column":8,"file":"node:internal/streams/destroy","function":"emitErrorNT","line":151,"method":null,"native":false},{"column":3,"file":"node:internal/streams/destroy","function":"emitErrorCloseNT","line":116,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"process.processTicksAndRejections","line":82,"method":"processTicksAndRejections","native":false}]}
{"message":"::ffff:<IP_ADDRESS> - - [03/Jun/2024:14:29:23 +0000] \"POST /validatecerts HTTP/1.1\" - - \"-\" \"-\"","level":"info"}

I have setup HTTPS using a internal certificat and this is working well.
Maybe you have an idea on what is wrong here ?
Thank you
Best Regards, Edouard Fazenda.

Hello @cstisa Apparently your certificate is not signed by a root CA certificate. You can try this solution from the Internet
npm config set registry http://registry.npmjs.org/

Hello @Carazyda,
Thanks for the update, but not sure what this command do, could you please explain or give me the article from internet ?
Thanks a lot.

Try this in communityserver container and on the host. https://cheapsslweb.com/blog/fixing-unable-to-get-issuer-cert-locally-error/


added support for http(s) proxy

@Smaant, if you guys accept my PR #56 , then I'll go ahead and do the work to add the Proxy settings into the stack.

@diranged thanks for pinging me, I'll ask the team to take a look!


Weird grey gaps on my leaflet maps

I created a tab container with two tabs. I want a Leaflet Map shows when I activate tab #2. I can see the map pops up but with very weird grey gaps like this:

Leaflet version I'm using: Leaflet 1.0.3
Browser (with version) I'm using: Google 57.0.2987.110 (64-bit)
OS/Platform (with version) I'm using: Win7

Can you publish a fiddle/codepen/playground that displays this behaviour?
I suspect you have some kind of margin in the CSS rules for your images.

I create a fiddle with different version of code and the problem cannot be reproduced. Have no idea.
https://jsfiddle.net/ehw725pr/1/
I avoid this problem by using setTimeout to let the DOM have more time to stablize.


Mastodon login and interactive publish broken due to Mastodon/doorkeeper OAuth bug

Hi,
I had this working on my blog posting to mastodon.social using the Syndication Links plugin and then it stopped working.
I not sure if the bridgy log will help or not.
Trying on the bridgy site, I get to this mastodon page not sure if that will work?  This says "We're sorry, but something went wrong on our end."
Hopefully that makes some sort of sense?
Cheers
john

I have the same problem. I tried with the form, then with cURL.
`curl -d 'source=https://hugo.soucy.cc/note/2020/02/lost-connection-to-the-earth.html&target=https://brid.gy/publish/mastodon' \

https://brid.gy/publish/webmention
{
"error":"Couldn't find link to brid.gy/publish/mastodon"`

I disconnected and reconnected but the result is the same.
My mastodon instance is not mastodon.social but mastodon.sdf.org.
Thanks

I have the same problem. I tried with the form, then with cURL.
`curl -d 'source=https://hugo.soucy.cc/note/2020/02/lost-connection-to-the-earth.html&target=https://brid.gy/publish/mastodon' \

https://brid.gy/publish/webmention
{
"error":"Couldn't find link to brid.gy/publish/mastodon"`

I disconnected and reconnected but the result is the same.
My mastodon instance is not mastodon.social but mastodon.sdf.org.
Thanks

I revoked bridgy in the mastodon administration panel and re-added it and it's seems to work now.
Thanks.

@hs0ucy that looks like a different problem. as the error message says, your post needs to link to https://brid.gy/publish/mastodon . see https://brid.gy/about#webmentions

@hs0ucy that looks like a different problem. as the error message says, your post needs to link to https://brid.gy/publish/mastodon . see https://brid.gy/about#webmentions

Oh, you're right ... In my template i had https://fed.brid.gy 👎 :/
Thanks!

@jee-r hmm! are you seeing your bridgy mastodon account get repeatedly disconnected? is that related to the interactive publishing problem here?

@snarfed i don't know if it's a real disconnection but sometime when i try to publish i get the error message out of scope when it's happened i need to disconnect from bridgy, remove the bridgy's app authorization in mastodon's settings and reconnect again. You are right it's may be more related to https://github.com/snarfed/bridgy/issues/894 than this issue, if it's happened again i'll report rather there.

I have the same exact error since a few weeks now (see a recent log with the authorization error).
The set up should be correct (I think). When trying to send a webmention to Mastodon via Bridgy, the Mastodon Bridgy page shows the pause button ("This account was disconnected on Mastodon's end. Click to reconnect it!"). If I repeat the process after reconnecting the account, the same pattern occurs.

I looked at this a bit again recently. Looks like the Mastodon bug is a URL length limit that the OAuth redirect URL hits on their end. It's a bit inconsistent, butt definitely there, across instances. Details in  https://github.com/mastodon/mastodon/issues/12915 😐

Discussion is now in https://github.com/doorkeeper-gem/doorkeeper/issues/1554, tentative conclusion is that the issue is in doorkeeper. Still not much more movement though. 😐

I'm going to try to work around this by shortening the redirect URL on Bridgy's side.

It worked! Specifically snarfed/oauth-dropins@1e987be2449ce491d1c451527a16d6aa5e79b2d9, snarfed/oauth-dropins@0ba0f7100e47647f240101441e7c2daa5b05ca4c. I think we're back in business with Mastodon login and interactive publish.


Pytorch-version for LGSC

Hi!
I've started implementing it in pytorch: https://github.com/Podidiving/lgsc-for-fas-pytorch
The code is raw yet (It won't even start training, because of NaNs in decoder); but i hope, i'll fix it soon, and get the same result, as authors.
Please, contribute, if you'd like to

@Podidiving Wow, it's my pleasure, thank you!

emm, I have also finished a pytorch-verision based on siw for lgsc : https://github.com/Ontheway361/antispoof-single-image. Welcome to use.


Questions about some new stuff in the config

I only just recently installed the newest version and when I checked the config, I didn't know what some lines in it meant or if I should keep it the same or change them:
PortalUsername = 'olive'
PortalPassword = 'olive'
LogDir = '/Users/lucas/github/olive'
SaveDir = '/Users/lucas/github/olive/videos'
SplitRestSeconds = 60
CommanderPoolSize = 1
ParserMonitorRestSeconds = 10
CookieFilepath = '/Users/lucas/github/olive/cookies.json'
Threads = 6
MaxBytesPerSecond = 2097152
PostCmds = '[{"Path":"oliveshell","Args":["/bin/zsh","-c","echo $FILE_PATH"]},{"Path":"olivebiliup"},{"Path":"olivetrash"}]'
SplitRule = '{"FileSize":2000000000,"Duration":"1h"}'
I also noticed the parser was set to flv. Does that work better than ffmpeg (for TikTok specifically) or should I keep using ffmpeg?
EDIT: Sorry if this might be a lot of stuff to explain, but a brief idea is all I'd need.

And when I try to run config, it only runs the last streamer that I have listed there. All the other blocks get skipped over.

今天第一次使用新版olive v0.5.6
遇到同样的问题 只运行最后一个[[Shows]]配置项
afreecatv twitch douyin 都是 请问哪边配置不对吗？
之前一直使用0.3.3没遇过这个
昨天douyin用不了 来更新新版才遇上
题外话 想问一个设定的意思
直播间录播结束后执行命令的并发执行的个数
CommanderPoolSize = 1
并发执行是？执行哪些命令？
有无设置这个有什么区别吗 数字大小代表什么呢
以上 谢谢您～


allow settings to be set from env

Thanks a lot and sorry for the delay.
I didn't know this could be done


Add Send Notification to Accounts Page

Email sending facility required for no of vouchers,
Currently its not clear how this going to happen

Required only for Accounts
Voucher sending is not required, because of multiple Vouchers in single Email is not Possible in Email Template section
so not implementing
Discussed with @vinpahilwani


bump six dependencies in some libraries

/azp run python - core - ci

/azp run python - core - ci

@kristapratico will do in another PR, this ci has been so painful to run

/azp run python - autorest - pr


Remove "Failed to continue: check debug console" message

Can you add a functionality to disable to failed to continue message in the debug console??? It's so annoying having that pop-up every time there's an error in my code.

/causedByExtension the VS Code source does not contain the message text you are reporting. For many languages debugging is implemented by an extension that you install.


PlayCanvas + WebGL 2 doesn't work on iPadOS 14 beta

See this report on Twitter:
https://twitter.com/iwgtest1/status/1298644918622195713

Does anyone on the team have an ipad? @mvaligursky are you able to test this on an emulated device?

I have an iPad that's maybe 2 years old. I can install iPadOS 14 on it sometime today.

I tried in simulator (ipad 9.7" 4th gen and iPad pro 12" 2nd gen) - few engine examples I tried worked correctly, but it's so slow I cannot test all (20s to load example, 0.5fps running).

I just tried Seemore on my iPad Pro (10.5 inch) with iPadOS 14 beta (18A5357e). It works fine with both WebGL 1 and WebGL 2:

Therefore, I am closing this since we are unable to reproduce the issue. Please reopen if additional information becomes available.

Hi I have found that no webGL content is working on iPad. I am testing on an iPad Air 2  software version (18A5357e)
None of these examples on other sites work either.
Do they work for you on your iPad Pro running iOS beta?
https://get.webgl.org/
https://webglsamples.org/
Thanks for your help.

Yes, everything works fine on my iPad Pro. If you are saying that no WebGL content runs on that device, that's a Safari bug and not a PlayCanvas bug so maybe consider opening a new issue on the WebKit project:
https://webkit.org/reporting-bugs/

Thanks - yes I believe it is a webkit issue. I am just trying to find other iPad users on iPasOS14 to confirm the issue. I have already reported via the feedback tool but will also report via the link above.
Thanks for checking.


Modifying front-end process to use Sauce Tunnel

Modifying front-end process to use Sauce Tunnel
Changes

Modified config/environment.js  to add SAUCE_TUNNEL and default value.
Modified gulp/tasks/test.js to create a Sauce tunnel workflow and handle command line params.
Modified npm-shrinkwrap.json to remove unnecessary dependencies.
Modified package.json to add sauce-tunnel.
Modified test/browser_tests/conf.js to add a _useSauceLabs method. This also changes the way the default sauce flag works. You only run on sauce when passing the flag, which is more aligned with the expected testing behavior.
Modified test/browser_tests/default-suites.js to remove IE8 and switch to Windows 7.
Modified tox.ini to use the appropriate variables.

Testing

Run npm install.
Run gulp build.
Run gulp test:acceptance --fast and verify that the tests should run as normal.
Set your Sauce credentials in the .env file.
Run gulp test:acceptance --fast --sauce  and observe the log as the tunnel is created and the tests start.  Login to sauce labs and verify that the test results match those viewed locally.

Screenshots

Notes

The Sauce Tunnel package contains binaries which are 40MB. This is larger than most of our other NPM packages. It might make sense to switch to a different package which lazy loads the binaries on first usage.

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the development playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated
[ ] Reviewers requested with the Assignee tool :arrow_right:

Works! My tests are timing out, but they're sending to Sauce.

@anselmbradford, which ones are timing out?

@anselmbradford, please remove the GA code in base.html and retest.

@sebworks I get the same thing.

I'm placing this on hold until I fork the repo. The owner of the sauce-tunnel repo isn't upgrading the binaries.

@anselmbradford, some dude had already forked it. I switched to his module.


Add 2 new memes

Title: Add 2 new memes
[Report/Suggestion]: Briefly describe the issue here

Type:

[ ] Inappropriate Content Report
[X] Enhancement Suggestion

Description:
I would like to add 2 memes to the page.

Location:
If reporting inappropriate content, please provide a link or the path to the file or location in the repository where the content can be found.

Additional Context:
Add any other context or screenshots about the report/suggestion here. For instance, if you're suggesting a feature, explain why you believe it would benefit the project.

Guidelines:
For Inappropriate Content:
We strive to maintain a positive and inclusive environment. If something is reported as inappropriate, it will be evaluated, and actions will be taken accordingly. When reporting, please be clear and constructive.
For Enhancement Suggestions:
All suggestions are welcome! If you have ideas on how to improve the project or its functionality, we'd love to hear them.

Hi, Petros! Thank you for being here. Please go ahead and create a PR with your favorite memes 😃  I will close this issue here and we look forward to review your PR. Please check README.md for instructions, if needed


upgrade to trapi1.4

https://github.com/ranking-agent/AnswerCoalesce/blob/parameterize_coalesce_workflow/tests/upgrade_trapi.py has the functions that convert trapi message to 1.4
https://github.com/ranking-agent/AnswerCoalesce/blob/parameterize_coalesce_workflow/tests/update_tests_data.py crawl indir the directory,  upgrade messages, and save in the outdir

The old ones are now deleted and a test case now check to make sure that:

The old results have the same length as the new results
The length of the new results' auxiliary graphs  equals the number of identified patches
NB: In a case where additional parameters like predicates_to_exclude and threshold is set, the length of the new results' auxiliary graphs could be less or equal to the number of identified patches


[BUG] The session key was improperly submitted or has reached its timeout. Direct the user to log in again to obtain another key

Describe the bug
Lấy cookie bằng ZaloDataExtractor
To Reproduce
Steps to reproduce the behavior:

Lấy cookie bằng ZaloDataExtractor
Parse cookie từ string sang array [ { key: "", value: "" }] => mình input string vô báo lỗi cookieArr
Thêm imei và user agent vào

INFO zca-js is up to date
loginData {
error_code: 102,
error_message: 'The session key was improperly submitted or has reached its timeout. Direct the user to log in again to obtain another key',
data: null
}
/var/www/zalo/node_modules/zca-js/dist/cjs/zalo.cjs:81
context.appContext.secretKey = loginData.data.zpw_enk;
^
TypeError: Cannot read properties of null (reading 'zpw_enk')
at Zalo.login (/var/www/zalo/node_modules/zca-js/dist/cjs/zalo.cjs:81:55)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.7.0
Expected behavior
Login thành công

chào b, b cho mình xem code mẫu được k?


enhancement: position update in Components.js

Describe the bug
In the guide-module, there are two tables of contents—one on the right and another on the left—with the content placed in between them. A CoreGrid is used, and within the CoreGrid, there are three CoreBox components. Currently, the style of CoreBox uses position: sticky, which affects CoreSnackbar.docs.js. position: sticky is not needed here.
To Reproduce
Steps to reproduce the behavior:

Go to 'http://localhost:3000/guide/components'
See error

Expected behavior
This position: sticky can not affect other code so position: sticky is not needed here.
Stack Trace
Screenshots

Desktop (please complete the following information):

OS: [Windows]
Browser [Chrome]
Version [Version 126.0.6478.183 (Official Build) (64-bit)]

Additional context

Closing as done.


Escape username when querying the Orgchart Service.

Coverage remained the same at 87.125% when pulling 676dcba9b7107e052c8990064f0956c65ef927b5 on akatsoulas:escape-orgchart-usernames into 145fc22ef15bf71befeacc832ccd73fb679c1ac2 on mozilla:master.


Fix message names

CAN message names can contain underscores. As such, some dbc files can't be accurately parsed using this library. This PR fixes that

Looks like this depends on https://github.com/jmagnuson/canparse/pull/27 which is now merged. Would you mind rebasing? Then this should be good to merge.

Yep! Let me do a rebase

Thanks!


Dead .js scripts from Twilio CDN and SSL req of Twilio

First off, thank you for the detailed sample project.  I am following along, but running into a few issues.  I am installing it on a web server I run, GC, and using LetsEncrypt.  Without HTTPS, Twilio is no longer allowing calls to be made.  I think I got everything set up correctly, but getting the following in debug console of firefox.  Tested the dialer, and the button seems to not function anymore.  Could you offer any guidance?  Thanks
Loading failed for the <script> with source “https://media.twiliocdn.com/sdk/js/client/v1.7/twilio.min.js”.  workplace.html:282:1 Loading failed for the <script> with source “https://media.twiliocdn.com/taskrouter/js/v1.20/taskrouter.min.js”. workplace.html:283:1 Loading failed for the <script> with source “https://media.twiliocdn.com/sdk/js/common/v0.1/twilio-common.min.js”. workplace.html:284:1 Loading failed for the <script> with source “https://media.twiliocdn.com/sdk/js/chat/v3.3/twilio-chat.min.js”. workplace.html:285:1 Loading failed for the <script> with source “https://media.twiliocdn.com/sdk/js/video/v1/twilio-video.min.js”. workplace.html:287:1

The JS scripts mentioned in your post can be loaded from my instance without any issue. Yes, most browsers do not allow WebRTC without an encrypted connection, the app displays an error if you load it on a unencrypted protocol, in addition it is mentioned in the README.
Please test the demo project with SSL, for example host it on Heroku.


'React/RCTUtils.h' file not found in iOS project

Bug
After installing,linking the library, the error I get is  'React/RCTUtils.h' file not found
Environment info
 React Native Environment Info:
System:
  OS: macOS 10.14.5
  CPU: (4) x64 Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
  Memory: 23.73 MB / 8.00 GB
  Shell: 3.2.57 - /bin/bash
  Binaries:
  Node: 10.15.0 - /usr/local/bin/node
  npm: 6.5.0 - /usr/local/bin/npm
  Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
  iOS SDK:
    Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
  Android SDK:
    API Levels: 23, 24, 25, 26, 27, 28
    Build Tools: 26.0.2, 27.0.3, 28.0.3
    System Images: android-27 | Google Play Intel x86 Atom
 IDEs:
  Android Studio: 3.3 AI-182.5<IP_ADDRESS>99772
  Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
npmPackages:
   react: ^16.8.3 => 16.8.6
  react-native: ^0.59.10 => 0.59.10
 npmGlobalPackages:
  create-react-native-app: 2.0.2
  react-native-cli: 2.0.1
  react-native-git-upgrade: 0.2.7
React native info output:

 // paste it here

"react-native-device-info": "^2.2.2"
Steps To Reproduce

npm i react-native-device-info
react-native link react-native-device-info
Podfile Info below

platform :ios, '9.0'

use_frameworks!

target 'ProjectX' do

pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'
pod 'react-native-config', :path => '../node_modules/react-native-config'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'react-native-maps', :path => '../node_modules/react-native-maps'
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-
info/RNDeviceInfo.podspec'
  target 'ProjectXTests' do
inherit! :search_paths
  # Pods for testing
 end

  end

Describe what you expected to happen:

I expected to see device information just like how I see in Android device

I followed https://github.com/nartc/rndeviceinfo-reproduce/blob/master/ios/Podfile fixed.


Unable to run VSCode debugger from launch.json

Issue Summary
When running Full Offline Dev or Full Dev from VSCode debugger there is an error about dev.js not found

Steps to Reproduce

Open VSCode debugger
Try running Full Offline Dev or Full Dev

Ghost Version
@
Node.js Version
18.16.0
How did you install Ghost?
Source
Database type
MySQL 5.7
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Creating a PR for this to solve this

@daniellockyer I have created PR here: https://github.com/TryGhost/Ghost/pull/17525
There are some documentation change that needs to be done due to some global installation of external dependency which is npm i -g nx, not exactly sure where to do that, if you can point it out will update that as well

This is already fixed on main 🙂


Fixed a bug causing incorrect calculation

Minimum area was calculated incorrectly because of integer division. Corrected it by casting to double.

Hey, thanks for the pull request!


Swift example?

Anyone have a example of how to get this working in swift for a Newbie?

I need too...
i got error here:
newMainViewController?.setLeftViewEnabledWithWidth(250, presentationStyle: LGSideMenuPresentationStyleScaleFromBig, alwaysVisibleOptions: 0)
?? is not convertible to void

Done!
Do it with swift:
var window: UIWindow?
var mainViewController: LGSideMenuController?
var rearViewController: SideMenuViewController?
var frontViewController: ProductListViewController?
var frontNavigationController: UINavigationController?

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    window = UIWindow(frame: UIScreen.mainScreen().bounds)
    window?.tintColor = UIColor.whitecolor()

    frontViewController = ProductListViewController()
    frontNavigationController = UINavigationController(rootViewController: frontViewController!)
    frontNavigationController?.setNeedsStatusBarAppearanceUpdate()
    frontViewController?.enableSideMenu()

    rearViewController = SideMenuViewController()

    mainViewController = LGSideMenuController(rootViewController: frontNavigationController)
    mainViewController?.setLeftViewEnabledWithWidth(250, presentationStyle: LGSideMenuPresentationStyleScaleFromBig, alwaysVisibleOptions: LGSideMenuAlwaysVisibleOnNone)
    mainViewController?.leftView().addSubview(rearViewController!.view!)

    if let window = window {
        window.backgroundColor = UIColor.whiteColor()
        window.makeKeyAndVisible()
        window.rootViewController = mainViewController
    }

    return true
}

I get same issue and I've my default initial rootVC is tabBar

And how about opening the left view in the controller?

With swift 2.2 the code above doesn't work. I got an error with:

/Volumes/Dev/Documents/iOS dev/Projects/EPG/Source/epg_jo/epg/EPG/UI/ViewControllers/MainMenuViewController.swift:66:60: Use of unresolved identifier 'LGSideMenuPresentationStyleScaleFromBig'

Added swift demo project

any swift clean project example ?

I don't have it sorry :/
2016-09-26 14:57 GMT+02:00 Ahmad<EMAIL_ADDRESS>
any swift clean project example ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Friend-LGA/LGSideMenuController/issues/8#issuecomment-249561839,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADxJ8jf2ruK74muNTIX4SQsZxBjWiMayks5qt8EngaJpZM4Fxpxf
.

--
ÜdvözlettelPattogató Bence

any alternative ?

On Sep 26, 2016, at 4:00 PM, pattogato<EMAIL_ADDRESS>wrote:
I don't have it sorry :/
2016-09-26 14:57 GMT+02:00 Ahmad<EMAIL_ADDRESS>
any swift clean project example ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Friend-LGA/LGSideMenuController/issues/8#issuecomment-249561839,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADxJ8jf2ruK74muNTIX4SQsZxBjWiMayks5qt8EngaJpZM4Fxpxf
.

--
ÜdvözlettelPattogató Bence
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/Friend-LGA/LGSideMenuController/issues/8#issuecomment-249562525, or mute the thread https://github.com/notifications/unsubscribe-auth/AJnhYRpFM4qQMIsDmvU0H7jrmNSXhs-Qks5qt8HjgaJpZM4Fxpxf.


E2E gateway check fails if healthchecks are disabled

What happened:
When installing with healthcheck disabled on the gateways E2E times out waiting for the gateways to report Latency.
What you expected to happen:
E2E discovers that we are not using health checks, and doesn't wait on that.
How to reproduce it (as minimally and precisely as possible):
subctl join broker_info.subm --health-check=false
then run verify.
Anything else we need to know?:
Environment:

Submariner version (use subctl version): 0.9.0-devel
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Network plugin and version (if this is a network-related bug):
Others:

@aswinsuryan I think we can close this as its fixed as part of the following PRs
https://github.com/submariner-io/submariner/issues/1519
https://github.com/submariner-io/submariner/pull/1499
What do you say?

@aswinsuryan I think we can close this as its fixed as part of the following PRs
#1519
#1499
What do you say?

Yes we can close this one. The changes linked should fix this.


Updates for TileStache restructuring

Connects to https://github.com/mapzen/vector-datasource/pull/849
@zerebubuth could you review please?

:+1:


Updated free-course-en.md

Added a free Perl Programming Course under the Perl section
What does this PR do?
Add resource(s)
For resources
Description
Added the free Complete Perl Programming course from Udemy under the Perl section
Why is this valuable (or not)?
Perl is the most versatile of scripting languages and is still very relevant
How do we know it's really free?
Udemy lists this as a free course and anyone can enrol
For book lists, is it a book? For course lists, is it a course? etc.
Course
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Accepted review comments and committed

web pAGE SUGGESTS ITS NOT FREE


Fix TestService_GetConfig

-- FAIL: TestService_GetConfig (0.03s)
	service_test.go:1070: expected to get an response on errC

Bumping this, because it has gotten annoying recently.


add build.yaml, workflow

Testing a workflow to build reference documentation and replace .travis.yml.

Closing as there is low interest in switching out Travis.
/close


Feat(eos_designs): Support for Ipv6 network services

Change Summary
This PR will add IPv6 support to tenants structure.
 < tenant_a >
    vrfs:
      < tenant_a_vrf_1 >:
        svis:
          < 1-4096 >:
            ipv6_address_virtual: < IPv6_address/Mask >
            ipv6_address_virtual_secondaries:
              - < IPv6_address/Mask >
            ipv6_virtual_router_addresses:
              - < IPv6_address/Mask | IPv6_address >
            nodes:
              < l3_leaf_inventory_hostname_1 >:
                ipv6_address: < IPv6_address/Mask >
        ipv6_static_routes:
          - destination_address_prefix: < IPv6_address/Mask >
            gateway: < IPv6_address >
            distance: < 1-255 >
            tag: < 0-4294967295 >
            name: < description >
            metric: < 0-4294967295 >
            interface: < interface >
            nodes: [ < node_1 >, < node_2 >]

Related Issue(s)
Depends on VARPv6 PR for cli_config_gen role
Component(s) name
arista.avd.eos_designs
Proposed changes

How to test

Molecule eos_designs_unit_tests
Checklist
User Checklist

N/A

Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

Sorry @onurgashi , I think I messed up your branch. I didn't realize that your branch wasn't rebase off the devel by me. So all of the old commits ended up in your branch.


Change devcontainer base image to a Python base image

Proposed Changes
The Python feature for dev containers relies on the OS version by default.
Adding others, may cause compile time, so change the base image instead.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


[FLINK-18900][hive] HiveCatalog should error out when listing partitions with an invalid spec

What is the purpose of the change
Currently HiveCatalog could return all partitions of table for SHOW PARTITIONS with an invalid spec, which is wrong. HiveCatalog should error out when listing partitions with an invalid spec.
Brief change log

HiveCatalog throws PartitionNotExistException  after calling HiveReflectionUtils.getPvals with an invalid spec.

Verifying this change

Method testShowPartitions of HiveDialectITCase add case for executing SHOW PARTITIONS with an invalid spec.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@SteNicholas Thanks for working on this issue. Left some comments.

@SteNicholas Can you create a PR for release-1.11? There are some conflicts.


add docker

add a dockerfile and docker-compose

Hi, @butlerx.
I've just crested PR with docker configuration https://github.com/redbrick/user-vhost-generator/pull/3.
Can you check if it works for you ?

@butlerx  I want to work on this issue.

@butlerx  can I work on docker-compose file?

@Himanshi-Khandelwal do we need compose here ? :)

yeah this will be run with a compose file as we use swarm


Another PED issue

https://github.com/cheongsiuhong/ped/issues/9

No longer require for PED resolution as per https://github.com/cheongsiuhong/ped/issues/9#issuecomment-548752165 @Yoshi275 fyi


UAVSAR: The displacement color scale and GRC values don’t always seem to match.

Need to confirm this.


mbedtls_x509_crt_info calls mbedtls_x509_key_size_helper with buffer that's too small

Summary
System information
Mbed TLS version (number or commit id): current svn (observed in esp32 esp-idf-v4.3)
Operating system and version: esp-idf-v4.3 FreeRTOS
Configuration (if not default, please attach mbedtls_config.h): N/A
Compiler and options (if you used a pre-built binary, please indicate how you obtained it): xtensa-esp32-elf-gcc (crosstool-ng-1.22.0-80-g6c4433a 5.2.0)
Additional environment information:
Expected behavior
When you pass an invalid PK to mbedtls_x509_crt_info() it will call mbedtls_x509_key_size_helper on line 2132 with parameter "invalid PK".
Together with the hardcoded string in mbedtls_x509_key_size_helper, this doesn't fit in the 18 char buffer as specified. It does work with 20, so suggested fix :
hp: {35} diff library/x509_crt.c.orig library/x509_crt.c
2069,2070c2069,2070
< #define BEFORE_COLON    18
< #define BC              "18"

#define BEFORE_COLON    20
#define BC              "20"

Actual behavior
E (12:43:37.191) JSONServer: mbedtls_x509_crt_info -> -10624
(this is MBEDTLS_ERR_X509_BUFFER_TOO_SMALL)
Steps to reproduce
Additional information

See also https://github.com/espressif/esp-idf/issues/7452

Hi!
As you believe you have a fix for this, could I invite you to submit this as a pull request as this would be the quickest way to get this fixed?
Many thanks,
Paul.

Is there a procedure to do this based on subversion ?
I'm not terribly familiar with git.


opentracing-redis-spring doesn't support ReactiveRedisConnectionFactory

I try to use opentracing-redis-spring in an spring boot application like this:
@Component
public class RedisConnectionFactoryBeanPostProcessor implements BeanPostProcessor {

  private Tracer tracer;

  public RedisConnectionFactoryBeanPostProcessor(Tracer tracer) {
    this.tracer = tracer;
  }

  @Override
  public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
    if (bean instanceof RedisConnectionFactory) {
      return new TracingRedisConnectionFactory((RedisConnectionFactory) bean, false, tracer);
    }
    return bean;
  }
}

And I got this error:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'reactiveRedisTemplate' defined in class path resource [org/springframework/boot/autoconfigure/data/redis/RedisReactiveAutoConfiguration.class]: Unsatisfied dependency expressed through method 'reactiveRedisTemplate' parameter 0; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'redisConnectionFactory' is expected to be of type 'org.springframework.data.redis.connection.ReactiveRedisConnectionFactory' but was actually of type 'io.opentracing.contrib.redis.spring.connection.TracingRedisConnectionFactory'
Caused by: org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'redisConnectionFactory' is expected to be of type 'org.springframework.data.redis.connection.ReactiveRedisConnectionFactory' but was actually of type 'io.opentracing.contrib.redis.spring.connection.TracingRedisConnectionFactory'

I found that TracingRedisConnectionFactory only implements RedisConnectionFactory while spring-boot-starter-data-redis auto configures an LettuceConnectionFactory by default which also implements ReactiveRedisConnectionFactory and that's why the error appears.

@chanjarster I will fix it

fixed in version 0.0.8.
will be available in maven central during next 24 hours.


CVE-2022-41852 Apache Commons JXPath 安全漏洞

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Apache JXPath 在解析用户提供的XPath表达式时，若使用了JXPathContext中除compile和compilePath之外的函数来解析XPath表达式时，会导致远程代码执行漏洞。
官方未针对 CVE-2022-41852 Apache Commons JXPath 远程代码执行漏洞发布安全更新。
Minimal yet complete reproducer code (or URL to code):
Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version(e.g. java -version):
Seata client/server version:
Database version:
OS(e.g. uname -a):
Others:

imported by eureka-client,try to check new version of  eureka-client

seata is not a strong dependency on eureka, so this is not a significant problem.

@q343959872 This advisory has been withdrawn due to the CVE being rejected.


Create docstrings

@gadomski more docstrings! :)
I think I need to see settings in this repo to publish documentation?

Thanks Pete! This does help!

@gadomski I pushed some changes and you can see them here. Feel free to offer some suggestions. https://stac-check.readthedocs.io/en/latest/

Right on, glad that worked -- LGTM!


docs: add a few redirects

Describe your changes
Follow-up to #4215, in which we reorganized the guide for readability. Some of the existing content got shuffled into subroutes, and already one person in Discord has pointed out that we broken URLs. Tacking on some http redirects via mdbook [0].
[0] https://rust-lang.github.io/mdBook/format/configuration/renderers.html#outputhtmlredirect
Issue ticket number and link
Checklist before requesting a review

[x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

docs-only, no code changes.

This didn't work as well as I'd hoped: the mdbook settings are html-level redirects, so they display a warning in Firefox. Worse, the redirects conflict with the / -> /main/index.html redirect specified in the Firebase config. Going to follow up on this in #3417.


Adding screens to DrawerNavigator

What I am trying to do?
I have a DrawerNavigator and I would like to add items dynamically after the app has started.
For example, think of the Slack app. They have a navigationdrawer, where you can add Channels to. Then navigate to the added items on the navigationdrawer.
I have found no documentation or issues about how to achieve that.

You can use this:(https://reactnavigation.org/docs/navigators/drawer)

@saeedhei Thanks, adding a drawer is straightforward and understandable with the help of examples and docs.
What I am having trouble with, is adding items to the drawer once it has been initialized and the app is running.

+1

See also #2362

Closing for #2362


Overlapping instances for HasPostgres ReaderT

These two instances seem to overlap one and two.
At least ghc 8.0.1 doesn't want to compile my ReaderT Postgres IO a usage
I haven't checked yet if OVERLAPPING/OVERLAPPABLE fixes it.
Also, do you need to support 7.8 with old OverlappableInstances syntax?

So, is there a new release with this fix?


add entries to index

Coverage decreased (-0.3%) to 96.882% when pulling fa690c2a511d6cd32a9b31767ed086296cd40cfe on chore/additional-es-fields into 441108e828df36b38f4cd8c9026e24a606dcacba on master.


brfs dependency

brfs is a devDependency, but it seems to be needed even in production.
Do I use this lib the wrong way, or should brfs be in the production dependencies ?

Are you certain this has been filed on the correct project? There is no such dependency in the gemspec or Gemfile.

I suspect you're looking for https://devongovett.github.io/pdfkit/

Yes I'm sorry... have a nice day

You too!


Export CipherSuiteID in connection State

Description
This commit exports the CipherSuiteID  in connection state for further use, e.g. to get the name of the CipherSuite via CipherSuiteName()
Reference issue
Fixes #584

This looks fine by me. Any thoughts @Sean-Der? I'll leave it up for a few days so other folks have a chance to see and comment it. If nothing happens I'll merge it in a few days.

@itviewer Thanks for the change!


Some files show on host but not in VM

Issue Type

Bug Report / Support Request

Your Environment
Vagrant 2.0.1
VirtualBox 5.2.2r119230
ansible <IP_ADDRESS>
  config file =
  configured module search path = Default w/o overrides

Your OS

macOS 10.13.1

Full console output
n/a
Summary
We are using acquia/blt and have currently started experiencing some odd behavior where random files are not viewable inside the vm but are viewable from the host. My suspicion is that this is possibly a VM issue so wanted to start here.
This issue was discovered because our file in case is a config file and its not allowing us to rebuild/import config because the system I believe does not see the file and there for a config import produces:
The import failed due for the following reasons:
Configuration core.entity_form_display.node.content_type.default depends on the field.field.node.content_type.the_field configuration that will not exist after import.
...

Heres our findings:

This is only happening with our devs who are on osx hosts. Other devs running ubuntu hosts are not experiencing this issue and are able see all the files on both host and vm and able to import config and blt setup/refresh with no problems. Also, all our acquia environments and travis ci all build with out any issue confirming this is only a local issue on OSX.

After a clean clone of our repo we can confirm the file in question exist when viewing from the host in both finder and terminal. However when inside the vm, running 'ls' or 'dir' the file does not appear. Nor can we find using 'find' or 'locate'.

Interestingly though, from inside the VM we can run 'stat' on the file and it confirms that it exist with the file info.

From inside the VM I am able to rename the file and it appears. But once I rename it back the file disappears again.

Another oddity is during some test I was moving files from the config/default directory where this problem file is and as soon as I removed some files from that folder , the problem file became viewable with 'ls'.

We started experiencing this issue about Nov. 15'ish and can not find anything specific to our code or file changes that would have any effect on this. Again, all other environments both local (ubuntu host) and remotes do not have this issue, its just the devs using OSX. The only thing that seems to stand out is that around that time the devs using osx did the latest osx update.

If theres any additional info I can provide, please let me know.
Thanks!

After doing some digging around in here I think this issue is a duplicate of https://github.com/geerlingguy/drupal-vm/issues/1547#issuecomment-330572626

This seems to fix the issue for now until theres an os release fix:
https://github.com/geerlingguy/drupal-vm/issues/1547#issuecomment-333677000


Handle retryable errors on auto-paginators

The collection classes don't handle retryable errors (eg 429).
This could be done by wrapping them up in an observable with a retry handler as per StreamConnectionRetry. But based on a quick spike, Observable.using probably isn't the way to set things up, as we don't want to dispose of the Response via disposeAction ahead of it being used by the caller.

added in  #58


Extract store and implement migrations support. Migrate to object store with unique ids.

@kentcdodds what do you think about this store implementation?

This is great! If you could update the code to remove the hasMigrationsToApply check, I'll pull it down and verify it works for me locally. Thanks!

@kentcdodds I did that, please check this out : )

Looks great!

@kentcdodds nice, thanks = )


chore: release master

:robot: I have created a release beep boop
all-components: 1.3.0
1.3.0 (2023-06-04)
Features

implement label component (#26) (b94b584)

Dependencies

The following workspace dependencies were updated

dependencies

@allaround/button bumped from ^1.1.0 to ^1.2.0
@allaround/input bumped from ^2.0.0 to ^2.1.0
@allaround/container bumped from ^1.0.0 to ^1.1.0

button: 1.2.0
1.2.0 (2023-06-04)
Features

implement label component (#26) (b94b584)

container: 1.1.0
1.1.0 (2023-06-04)
Features

implement label component (#26) (b94b584)

input: 2.1.0
2.1.0 (2023-06-04)
Features

implement label component (#26) (b94b584)

label: 1.0.0
1.0.0 (2023-06-04)
Features

implement label component (#26) (b94b584)

allaround-components: 2.1.0
2.1.0 (2023-06-04)
Features

implement label component (#26) (b94b584)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/allaround-components-v2.1.0 :sunflower:

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/all-components-v1.3.0 :sunflower:

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/button-v1.2.0 :sunflower:

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/input-v2.1.0 :sunflower:

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/container-v1.1.0 :sunflower:

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/label-v1.0.0 :sunflower:


added submenu/links

uses justin's component, so it should work once justin's code gets merged.

Converting source _notebooks/CSP/big-ideas/big-idea-3-part-1-fundamentals/Period5/nolan-y-jacob/2024-09-25-json.ipynb to destination posts/CSP/big-ideas/big-idea-3-part-1-fundamentals/Period5/nolan-y-jacob/2024-09-25-json_IPYNB_2.md
Error parsing YAML front matter: while parsing a block mapping
in "", line 10, column 5:
table1: "/csp/big-idea/p5/3-2-1"
^
expected , but found ''
in "", line 14, column 14:
table3: "/csp/big-idea/p5/3-2-3"


Open in New tab/window creates two new tabs/windows

If there is not already a tab or window open, having the new tab/window option selected causes two tabs or windows to be opened.

I can confirm this, it's a little bit annoying.

+1. It happens here too.

+1

+1. One tab @ the home directory, the focused one working as intended.

Fixed in ef98224 for the upcoming release.

still happening with 1.2.1 (9) in Mojave (10.14.2)

still happening with 1.2.1 (9) in Mojave (10.14.2)


Open share sheet when long pressing link

Pretty self explanatory. I added a shareOnLongPress prop to InlineLink, and then enabled that prop in the rich text external facet elements.
~Question - do we want it to show the sketchy link warning?~ done!

@mozzius This seems to have caught some duplicate changes, can you fix the conflicts?

@pfrazee done!


Improve handling of "rapid fire" completion requests

The nteract front end is far more aggressive than Jupyter notebook about requesting completions from the kernel as the user types. There's some great UX that can be unlocked if this could work more seamlessly w/ Almond.
Ideally, when Almond receives a new completion request it would quickly interrupt an in-flight one to prioritize the new/latest one.
Would need to think about how this works in the "multiple front-ends attached to a single kernel" model (I don't know much about that world).
Discussed a bit in this nteract issue.

From reading through nsc.interactive tickets in the space of thread safety it seems like you can ask PC to do things from multiple threads, though it sounds a bit like it might single-thread everything under the hood.

"multiple front-ends attached to a single kernel"

We made the architecture for this in Jupyter and while it's handy for debugging, it's not widely used (from a ZeroMQ standpoint). However, each client should have a unique session ID so it could be keyed on that.

@jameskoch The scala presentation compiler, which handles completions, supports concurrent completion requests. Ammonite doesn't use that and just blocks until a completion result arrives.
I guess the ammonite.interp.Pressy API can be tweaked, so that we can submit concurrent requests.
I'm going to tweak the almond.interpreter.Interpreter API so that it allows to run completions in a non-blocking and cancellable way.

https://github.com/almond-sh/almond/pull/242 allows Interpreter implementations to handle completion requests asynchronously (by overriding Interpreter.asyncComplete rather than Interpreter.complete) and make them cancellable, and automatically cancels the currently running one when a new completion request arrives.

@jameskoch I can look into having Ammonite accept concurrent completion requests, if you haven't already.

I haven't pushed ahead on this, and I wouldn't be nearly as effective as you in doing so. Have at it!

https://github.com/lihaoyi/Ammonite/pull/893 should allow to handle more of the completion logic from almond, and make it interruptible in particular.


change path of cookie-DB for edge and chrome

in essence, chromium changed the location of the cookies-database since chromium v96:
https://bugs.chromium.org/p/chromium/issues/detail?id=1173622
https://twitter.com/parityzero/status/1449033853457207302
Pull Request
Issue
Issue #4 , if available:
Description
Description of changes:
License
By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.

Closing due to project being archived.


KubeAmor installation is missing in Multiubuntu guide

If we check Multiubuntu, there is no instructions for KubeAmor installation. I was testing using development environment and there is any step related to CRDs deployments and I faced some error. Maybe we can put some "Be sure that you have already deployed KubeArmor using Deployment Guide.

The user is expected to have gone through the "Getting Started Guide" before using any examples. Also, the README documentation has undergone a significant revamp.


bad dh value

When using openssl 1.1.1k with FIPS on in a RHEL8 Server I receive the following when using pip3 install:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_DH_VALUE] bad dh value (_ssl.c:1131)'))': /simple/jupyterlab-widgets/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_DH_VALUE] bad dh value (_ssl.c:1131)'))': /simple/jupyterlab-widgets/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_DH_VALUE] bad dh value (_ssl.c:1131)'))': /simple/jupyterlab-widgets/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_DH_VALUE] bad dh value (_ssl.c:1131)'))': /simple/jupyterlab-widgets/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_DH_VALUE] bad dh value (_ssl.c:1131)'))': /simple/jupyterlab-widgets/
Could not fetch URL https://pypi.org/simple/jupyterlab-widgets/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jupyterlab-widgets/ (Caused by SSLError(SSLError(1, '[SSL: BAD_DH_VALUE] bad dh value (_ssl.c:1131)'))) - skipping
This problem does not exist with openssl 1.1.1c with FIPS on in a RHEL8 Server

This might be something RHEL specific @beldmit ?

Did you open the issue in red hat bugzilla as requested? can you post a link here please?
marking as inactive, will be closed at the end of the 3.4 dev cycle barring further updates


When using aurora dbinstance make sure certain properties aren't used

Issue #, if available:
fix #1395
Description of changes:

Create rule E3029 to validate that instance properties aren't  used when using a Aurora engine

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

Where did you source this list from? According to this AWS blog, and the AWS Sample CloudFormation Template for Aurora, CopyTagsToSnapshot is definitely supported. This merge has broken our CI linting, even though the CloudFormation stack works correctly.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-copytagstosnapshot
Not applicable. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
While I will agree that Aurora supports CopyTagsToSnapshot its where that property is set.  For Aurora it has to be set on the cluster and not on the instance.  I've been testing some Aurora clusters and when I set the instance property it will not set it on the cluster.  So while the template will pass the desired outcome will not be reached.

Any advice on fixing stacks broken by this?
If we update cfn-lint to a version with this check in it we have to drop the CopyTagsToSnapshot option from the CloudFormation to pass linting, but then updating a pre-existing stack results in a:
The specified DB Instance is a member of a cluster. Modify the DB engine version for the DB Cluster using the ModifyDbCluster API (Service: AmazonRDS; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: ...)

I've checked a few times making sure no other template changes are made.
Is there a practical way to go from having it in the template to not that doesn't involve rebuilding the DB and migrating data?
P.s I ran in to this having followed https://aws.amazon.com/blogs/database/deploy-an-amazon-aurora-postgresql-db-cluster-with-recommended-best-practices-using-aws-cloudformation/ which still lists the property in the Aurora yaml:
$ curl -s https://s3.amazonaws.com/aws-database-blog/artifacts/aws-aurora-cloudformation-samples/cftemplates/Aurora-Postgres-DB-Cluster.yml | grep CopyTags
      CopyTagsToSnapshot: true
      CopyTagsToSnapshot: true

@PatMyron I may need your opinion on this.  I'm trying to replicate this issue and I cannot replicate it.  @neerolyte this was the only value that changed correct?
@PatMyron looks like this issue was brought up here too.  https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/issues/211


Ability to build Whisper encoder/decoder TRT engine

This PR adds support for building Whisper encoder/decoder TRT engines from Transformers checkpoints.
CUDA_VISIBLE_DEVICES=0 python llama.py meta-llama/Llama-2-7b-chat-hf new_llama --hub-token mytoken

works as it used to.
CUDA_VISIBLE_DEVICES=0 python whisper.py openai/whisper-tiny.en whisper_trt

for now only builds the encoder / decoder engine.
Left to do:

[x] Remove breaking changes (TensorRTEngineBuilder replaced by TensorRTForCausalLMEngineBuilder, etc.)
[x] Cleanup the many added # TODO, mostly comprehension/refactorization needed
[x] Make sure Whisper encoder build uses static min/opt/max shapes
[ ] Test engine build with sharding.

Implementing the runtime itself is left to a followup PR.

@mfuntowicz Let me know if you prefer the runtime, logits matching tests, etc. to be implemented in this PR as well.


Update opentracing constants in Pusar.Client.Otel to standard

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/messaging.md

CC @Ilchert


chore(deps): update dependency typescript to v5

This PR contains the following updates:

Package
Type
Update
Change

typescript (source)
devDependencies
major
^4.8.4 -> ^5.0.0

Release Notes

Microsoft/TypeScript
v5.1.3: TypeScript 5.1.3
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript 5.1.0 (Beta).
fixed issues query for Typescript 5.1.1 (RC).
fixed issues query for Typescript 5.1.3 (Stable).

Downloads are available on:

NuGet package

v5.0.4: TypeScript 5.0.4
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript v5.0.0 (Beta).
fixed issues query for Typescript v5.0.1 (RC).
fixed issues query for Typescript v5.0.2 (Stable).
fixed issues query for Typescript v5.0.3 (Stable).
fixed issues query for Typescript v5.0.4 (Stable).

Downloads are available on:

npm
NuGet package

v5.0.3: TypeScript 5.0.3
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript v5.0.0 (Beta).
fixed issues query for Typescript v5.0.1 (RC).
fixed issues query for Typescript v5.0.2 (Stable).
fixed issues query for Typescript v5.0.3 (Stable).

Downloads are available on:

npm
NuGet package

v5.0.2: TypeScript 5.0
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript v5.0.0 (Beta).
fixed issues query for Typescript v5.0.1 (RC).
fixed issues query for Typescript v5.0.2 (Stable).

Downloads are available on:

npm
NuGet package

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: backend/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/typescript
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/fork-ts-checker-webpack-plugin
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@nestjs/cli
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   4 more (ts-jest, ts-loader, ts-node, tsutils)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@nestjs/schematics
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@nestjs/cli
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/typescript
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@nestjs/schematics
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@nestjs/cli
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2023-06-21T19_14_46_813Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2023-06-21T19_14_46_813Z-debug-0.log

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


"This Bookmark already exists" Bug

Checkmated excercises Bookmarks not saved. and cant saved.
https://youtu.be/YGz1Eav3l4c

Basically, bookmarking of the positions entered by the user in the solving mode should not work.  The program's messaging is clearly bad, though. I will clean it up.
(Bookmarking from the main text ("solution") does work.)

I think Bookmark option for excercise is totally shutdowned.

this is totally not usable. Did i confused you? or i missed something?

Oops, no, you didn't confuse me, I confused myself :-)  I put the block on creating bookmarks in the wrong branch of the code so it blocks everything. Fixed in the next version.


Fix obvious typos in Sdop.Add

This makes Sdop.__radd__ match Dop.__radd__, and fixes a typo in the if statement.
Reduced version of gh-157, which introduced no non-trivial changes in uncovered code.
I know this is only 50% patch coverage, but it's also only two lines!

I know this is only 50% patch coverage, but it's also only two lines!

I know. Sorry for keep not merging them, just wondering if we can somehow add the coverage.
Thanks for splitting the PR.


Deluge not converting non mp4 files

After Deluge downloads the file and moves it to the complete folder, the file does not get converted and moved to the final series directory.

I am running on OS X El Capitan. The deluge script works in command line. I recently switched from uTorrent as recommended but Deluge doesn't seem to be processing the file properly. Has anyone else had this problem?

Is there anything in the log files indicating the script is being executed by deluge when the download completes?

Oddly, there are no errors or any indication that anything is happening in the deluge log or the mp4_automator log. I know the permissions on the python file are good because I can run it via command line.

I've decided to skip Deluge and use the SonarrPostConversion for deluge downloads

Yeah it seems like for whatever reason deluge wasn't trying to execute the script. Not sure exactly why that would be but does kinda seem like an issue with deluge more than anything else


Doesn't appear to work when inverting 2x2 matrices.

Sort of trivial, but the code throws an error when trying to invert a 2x2 matrix:
invert([[1, 2], [3, 4]])

VM100289:53 Uncaught TypeError: Cannot read properties of undefined (reading '1')
at optimizedNDet (:53:28)
at invert (:103:23)
at :1:1

Very helpful otherwise though, thanks!

Released as v0.2.2. Thanks!