Search Folder Crash

Description
When you search for a folder and click on the folder while it showing up in the popup, it crashes.
Steps To Reproduce

From the Home page click on the search bar
Start searching for a folder
Press the folder that popups up

Requirements
It should open the folder
Files Version
<IP_ADDRESS>
Windows Version
10.0.23481.1000
Log File
Uploading debug.log…

debug.log

Thanks for the report, I've added this to the project board.

I find that search in general does not work

I also think that the search function is somewhat faulty and needs to be reevaluated to come back stronger because when I initiate a search to find multiple files, nothing happens or it takes forever, whereas in the file explorer, within a minute, it finds everything I need.

It may be fixed by #12700.

It may be fixed by #12700.

No because I am with Files dev so with the latest modifications and I manage to reproduce this error despite several times

@Lukiluc29 what errors do you see in the logs?
I can only find NullReferenceException in the attached debug.log.

@Lukiluc29 what errors do you see in the logs? I can only find NullReferenceException in the attached debug.log.

I apologize. Actually, I thought that nothing would appear because I left my computer running for 10 minutes last time without any changes and still with the loading logo. So, I think that in order to avoid falling into the same trap as me, it would be necessary to implement a loading bar like Windows Explorer.

And for the folders that do not open, I had forgotten to check Files as the default explorer which may also be related to the fact that the search did not work.

@IlyaSulli thank you for the feedback, can you check if this is fixed in the latest preview build? You can download the preview version from https://files.community/download.


mypy: Use Python 3 syntax for typing in multiple files.

Files updated:

webhooks/gogs/tests.py
views/users.py
gitlab/view.py
send_password_reset_email.py
bitbucket/tests.py

Thanks in advance! 😄

LGTM

I think you missed create_user_backend in users.py.

Ah right, I missed those, sorry. Thanks.

Looks good!

10

merged thanks @XavierCooney @shubhamdhama @sampritipanda


Allow converting object itself by ConvertingPopulator

We have the situation that not a certain property of the source object should be populated into a target property but the source object itself.
This could be easily done by skipping $sourcePropertyName attribute value and use the source object.
To implement that this issue has been created.

Can you please explain this in more detail? How do the objects look like?


Syncthing is outdated

Issue description
Syncthing 1.1.0 is out, but applying this:
diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix
index a2e38577ecd..1bc83170a66 100644
--- a/pkgs/applications/networking/syncthing/default.nix
+++ b/pkgs/applications/networking/syncthing/default.nix
@@ -3,14 +3,14 @@
 let
   common = { stname, target, postInstall ? "" }:
     buildGoPackage rec {
-      version = "1.0.1";
+      version = "1.1.0";
       name = "${stname}-${version}";

       src = fetchFromGitHub {
         owner  = "syncthing";
         repo   = "syncthing";
         rev    = "v${version}";
-        sha256 = "09qrdh6rvphh6sjyzh3jjil1fkrp9jp8mzrbz9ncqhvqra70f6sw";
+        sha256 = "1qmrh3c4p5vxzjqd0zdmvcqffq75gl4qfg0s8qpkgvdc7qrzzi7i";
       };

       goPackagePath = "github.com/syncthing/syncthing";

results in lots of output like:
lib/pmp/pmp.go:15:2: cannot find package "github.com/AudriusButkevicius/go-nat-pmp" in any of:
        /nix/store/m6g3bwrh2g44ayjq9hsgzwlabp1gqzgq-go-1.11.5/share/go/src/github.com/AudriusButkevicius/go-nat-pmp (from $GOROOT)
        /build/go/src/github.com/AudriusButkevicius/go-nat-pmp (from $GOPATH)
lib/protocol/protocol.go:16:2: cannot find package "github.com/bkaradzic/go-lz4" in any of:
        /nix/store/m6g3bwrh2g44ayjq9hsgzwlabp1gqzgq-go-1.11.5/share/go/src/github.com/bkaradzic/go-lz4 (from $GOROOT)
        /build/go/src/github.com/bkaradzic/go-lz4 (from $GOPATH)

did something change in the go packaging process?

did something change in the go packaging process?

it was missing the goDeps attribute; because syncthing doesn't vendor its dependencies anymore, and uses go modules instead https://github.com/syncthing/syncthing/pull/5384


Add Quickstart Guide Manifests

Add the necessary manifests to support an EG quickstart guide.

Run EG
Run example httpbin app
Create Gateway API manifests to deploy and configure envoy infra/proxy.

xref: https://github.com/envoyproxy/gateway/issues/275

All necessary PRs have merged.


Body Photo functionality in database/addproblem

I think everything looks good! We'll have @anticobalt review it too though


DeltaStation [WIP] [DO NOT MERGE] [DRAFT]

About the PR

Adds DeltaStation, the map from /tg/station 13(a ss13 codebase)
just a week away
Why / Balance

as the game grows i feel like we need a higher pop map instead of lowpop maps like core, packed and stuff
also deltastation used to exist in ss14 but people don't want to maintain it, so i'm taking that job
Technical details

no
Media
 the bots will render it for me

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

wah
Changelog

:cl:

add: DeltaStation is back from the grave.

wtf deltanedas station!?!!?!?

wtf deltanedas station!?!!?!?

Pro station

Please be aware that Delta station existed in SS14 up until https://github.com/space-wizards/space-station-14/pull/10617
If you are looking to resurrect it, you may consider starting from the work that already existed.


multiple theme caching issue

I am not sure if I should have posted here. I maintain a magazine that I built with timber. It works just awesome. Now I want to implement a mobile theme. So when I use the theme changer  plugin the website gets terribly slow.
I am using w3totalcache
I have set timber cache true
can someone point out the best way to achieve this behaviour? my website is nirbhik.com I want a mobile theme to be active in m.nirbhik.com
I love timber go on guys

Hi @nadimtuhin - is this still an issue for you?
Thanks

As this seems inactive I am going to close this for now. If it's still an issue please let me know and I will re-open.


Scroll EdgeEffect color in LibsActivity always blue

There should probably be a way to customize the scroll edge effect, since the blue may look harsh with other color schemes. Looks like this may provide a solution
http://stackoverflow.com/questions/27104521/android-lollipop-scrollview-edge-effect-color
One of the solutions there mentions how to change the edge effect programatically via reflection. Thoughts?

I suppose this is resolvable if you initiate the activity with a theme with the proper attributes. Just curious if this would be something worth fixing since you can presently customize the toolbar and status bar colors manually

Yeah, nvm, I think with the fact that you can just set this up with a theme, no need for this

@Jawnnypoo if you still need to do something like this programatically. There is always the possibility by providing a LibsUiListener
https://github.com/mikepenz/AboutLibraries/blob/develop/library/src/main/java/com/mikepenz/aboutlibraries/LibsBuilder.java#L414
Which allows you to hook into the view creation for the fragment. Allowing you to access the RecyclerView

Ahh, very nice! Thanks a bunch for answering this. Appreciate this lib!

No problem ;). Thank you


Resolve ActiveFedora::SolrQueryBuilder.solr_name  deprecation warning

WARNING
DEPRECATION WARNING: ActiveFedora::SolrQueryBuilder.solr_name is deprecated and will be removed in ActiveFedora 10.0. Use ActiveFedora.index_field_mapper.solr_name instead. (called from solr_name at /Users/mark/.rvm/gems/ruby-2.3.0@heliotrope/gems/hydra-access-controls-9.8.1/lib/hydra/config.rb:161)

NOTE
This probably needs to be fixed in hydra-access-controls.  We should check the issues on that repo and check-in with Hydra-tech if there's any work underway.

Fixed with latest upgrade of curation_concerns


Specify mono->stereo I/O for standalone app build

Many macOS machines only have mono input and so the default channel IO will fail meaning the app audio will not start. Customizing the I/O for the app build fixes thist

Won't this un-fix #157?
Also, I thought that 1-1 1-2 2-2 meant that it would be able to support any of those configurations? If not, what does it do to include all of those?

Unfortunately the problems todo with audio input selection in #157 are not really DSP issues but require work on the iPlug2 Standalone app wrapper code, which needs to be made more flexible to work with Apple's ever changing audio device configs. This is a temporary workaround.

I don’t think you’ll fix is the correct one for scarlet solo users. That
issue also needs to be fixed in iPlug2 app wrapper code. But iPlug2 app
wrapper can be customised for NAM, you just need to copy/move the files and
make the vsprojects /Xcode projects . Or if you have time make a PR to
iPlug2!
On Fri, 5 May 2023 at 17:54, Steven Atkinson @.***>
wrote:

Many macOS machines only have mono input and so the default channel IO
will fail meaning the app audio will not start.
Hmm...now that you mention it, I'm beginning to put 2 and 2 together:
running the plugin on my Macbook without an interface connected was
resulting in the audio not starting--presumably exactly for the reason
you're saying.
This isn't an easy call to make. On one hand, I've also gotten a
considerable number of Issues reported from Scarlett Solo users who have
been unable to select the instrument input when using the standalone, and I
really want to help them. On the other, regressing for folks who are
using a single-input interface would be bad, and I frankly don't know how
many such users are out there.
—
Reply to this email directly, view it on GitHub
https://github.com/sdatkinson/NeuralAmpModelerPlugin/pull/236#issuecomment-1536456001,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFACLUJK66LB5SAX5NXOYTXEUPCNANCNFSM6AAAAAAXUZE364
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok.
Having thought about it, here's my thinking: even though far more people use a 2+ input interface (and keeping it as-is would make more people happy), breaking the plugin for the 1-input crowd would be disappointing to them and a step backwards.
I think it's the right call to ask 2+ input folks to keep waiting (minor disappointment) for the right fix instead of letting a regression like this in (major disappointment + flurry of Issues).
So I'll merge :)


All the calls to Cartesian3.fromDegrees were wrong.

I've been playing around with this for a day or so and I noticed that when I was putting billboards on the map, they were not where I expected them to be. The lat/lon coordinates seemed to be reversed.
Sure enough, there were several calls that looked like:
result.position = Cesium.Cartesian3.fromDegrees(Number(positionAttr.latitude) || 0, Number(positionAttr.longitude) || 0, Number(positionAttr.altitude) || 0);

(that one was from billboard-attrs.js)
If yoy look at the documentation you will see that the signature is:
Cartesian3.fromDegrees(longitude, latitude, height, ellipsoid, result)

Note that longitude is the first argument and latitude is the second.
I changed all the calls and now everything is where it should be on the map.
Cheers!

Wow, important catch! I wrote this for demo purposes so I never used it for production. Thanks @stharding!

Glad to help!


msal-react acquiring tokens prior to API calls

Library

[X]<EMAIL_ADDRESS>
Description
I'm facing some issues with the way tokens have to be acquired in msal-react.
In short: I have all my async data fetch logic written in Redux actions (thunks to be more precise), my components only dispatch actions to trigger the data fetch and the data flows in once it's retrieved from the server.
Those async actions require a valid access token and as stated in the docs I should retrieve a fresh token for every API call, meaning that I'd have to bloat every component with access token logic and pass the the token to the action that fetches the data.
I could put this logic in a hook and call the hook in every component, but the logic that acquires the token (IPublicClientApplication.acquireTokenSilent) is async, meaning that I'd have to return some kind of promise or state object from the hook and wait for it to complete, before I can fetch my data.
Ideally I'd like to have a valid token in my Redux store at all times and keep my components "clean" from token logic OR have the ability to retrieve a token outside of a React component (but this won't be possible since it's based on React Context)
Any ideas on how to achieve a clean and scalable solution?
Thanks in advance!
Source

[ ] Internal (Microsoft)
[X] Customer request

@richardrobberse I'm not familiar enough with Redux

I could put this logic in a hook and call the hook in every component, but the logic that acquires the token (IPublicClientApplication.acquireTokenSilent) is async, meaning that I'd have to return some kind of promise or state object from the hook and wait for it to complete, before I can fetch my data.

Every solution will require that you wait for acquireTokenSilent to complete before fetching your data. From a performance perspective this should not be a big deal because acquireTokenSilent will first attempt to retrieve a valid token from local/session/in-memory storage so in most cases the promise will resolve almost immediately. This is typically the recommended approach, can you clarify what about it does not work for you?

have the ability to retrieve a token outside of a React component (but this won't be possible since it's based on React Context)

You actually can do this using the PublicClientApplication instance you pass into the MsalProvider or by creating a new one with the same configuration options. The only things you cannot access from outside the React Context are the components and hooks exposed by msal-react. For APIs like acquireTokenSilent and getAllAccounts this should be fine to do, calling login APIs outside the context, however, may lead to some issues updating state inside the context and would not be recommended.

@richardrobberse I'm not familiar enough with Redux

I could put this logic in a hook and call the hook in every component, but the logic that acquires the token (IPublicClientApplication.acquireTokenSilent) is async, meaning that I'd have to return some kind of promise or state object from the hook and wait for it to complete, before I can fetch my data.

Every solution will require that you wait for acquireTokenSilent to complete before fetching your data. From a performance perspective this should not be a big deal because acquireTokenSilent will first attempt to retrieve a valid token from local/session/in-memory storage so in most cases the promise will resolve almost immediately. This is typically the recommended approach, can you clarify what about it does not work for you?

have the ability to retrieve a token outside of a React component (but this won't be possible since it's based on React Context)

You actually can do this using the PublicClientApplication instance you pass into the MsalProvider or by creating a new one with the same configuration options. The only things you cannot access from outside the React Context are the components and hooks exposed by msal-react. For APIs like acquireTokenSilent and getAllAccounts this should be fine to do, calling login APIs outside the context, however, may lead to some issues updating state inside the context and would not be recommended.

@tnorling

This is typically the recommended approach, can you clarify what about it does not work for you?

This could work for me, however, I prefer to keep this kind of repetitive logic outside of my components.

You actually can do this using the PublicClientApplication instance you pass into the MsalProvider or by creating a new one with the same configuration options. The only things you cannot access from outside the React Context are the components and hooks exposed by msal-react. For APIs like acquireTokenSilent and getAllAccounts this should be fine to do, calling login APIs outside the context, however, may lead to some issues updating state inside the context and would not be recommended.

I already have the user logged in so this should do the job, I'll give it a shot on Monday and let you know.
I think this would be a great addition to the docs, I can provide some examples if needed.
Keep up the good work, this library makes AAD auth really easy!

@tnorling

This is typically the recommended approach, can you clarify what about it does not work for you?

This could work for me, however, I prefer to keep this kind of repetitive logic outside of my components.

You actually can do this using the PublicClientApplication instance you pass into the MsalProvider or by creating a new one with the same configuration options. The only things you cannot access from outside the React Context are the components and hooks exposed by msal-react. For APIs like acquireTokenSilent and getAllAccounts this should be fine to do, calling login APIs outside the context, however, may lead to some issues updating state inside the context and would not be recommended.

I already have the user logged in so this should do the job, I'll give it a shot on Monday and let you know.
I think this would be a great addition to the docs, I can provide some examples if needed.
Keep up the good work, this library makes AAD auth really easy!

@tnorling I've removed all the access token logic from my components and created a straight-forward function that wraps acquireTokenSilent, which I then call before my API is called and it works as expected.
Thanks a lot for your suggestion!
Would it help if I create a PR to add this example to Acquiring an access token?

@tnorling I've removed all the access token logic from my components and created a straight-forward function that wraps acquireTokenSilent, which I then call before my API is called and it works as expected.
Thanks a lot for your suggestion!
Would it help if I create a PR to add this example to Acquiring an access token?

Hi,
thanks for the great work on react-msal and for posing this very common and relevant use case!
I have been wondering the exact same, though without redux in my app. It is quite common to have the api call logic outside react context or in its own hook.
From my point of view it would be a very valuable addition to react-msal to provide a utility function that is react independent and gets the current access token.
For now I will go with the approach described above (I wish it was recommended):

You actually can do this using the PublicClientApplication instance you pass into the MsalProvider or by creating a new one with the same configuration options. The only things you cannot access from outside the React Context are the components and hooks exposed by msal-react. For APIs like acquireTokenSilent and getAllAccounts this should be fine to do, calling login APIs outside the context, however, may lead to some issues updating state inside the context and would not be recommended.

Thank you again for creating this library it will unify by being the go to library for integrating react apps with AD and alike.

Hi,
thanks for the great work on react-msal and for posing this very common and relevant use case!
I have been wondering the exact same, though without redux in my app. It is quite common to have the api call logic outside react context or in its own hook.
From my point of view it would be a very valuable addition to react-msal to provide a utility function that is react independent and gets the current access token.
For now I will go with the approach described above (I wish it was recommended):

You actually can do this using the PublicClientApplication instance you pass into the MsalProvider or by creating a new one with the same configuration options. The only things you cannot access from outside the React Context are the components and hooks exposed by msal-react. For APIs like acquireTokenSilent and getAllAccounts this should be fine to do, calling login APIs outside the context, however, may lead to some issues updating state inside the context and would not be recommended.

Thank you again for creating this library it will unify by being the go to library for integrating react apps with AD and alike.

From my point of view it would be a very valuable addition to react-msal to provide a utility function that is react independent and gets the current access token.

@janusch This exists today in the form of acquireTokenSilent on @azure/msal-browser. msal-react is just a convenience wrapper around msal-browser so you are free to use msal-browser directly inside or outside of context if you need to...with one caveat:
I do not recommend calling functions that change user state (login, logout) outside of context when you also have other bits of code that are using msal-react, which manages user state inside context. Acquiring an access token does not fall under "user state" and can be done with the methods available today both inside and outside context. Does that help clarify?
I'll make sure this is clarified in the docs.

From my point of view it would be a very valuable addition to react-msal to provide a utility function that is react independent and gets the current access token.

@janusch This exists today in the form of acquireTokenSilent on @azure/msal-browser. msal-react is just a convenience wrapper around msal-browser so you are free to use msal-browser directly inside or outside of context if you need to...with one caveat:
I do not recommend calling functions that change user state (login, logout) outside of context when you also have other bits of code that are using msal-react, which manages user state inside context. Acquiring an access token does not fall under "user state" and can be done with the methods available today both inside and outside context. Does that help clarify?
I'll make sure this is clarified in the docs.

@tnorling thank you for the reply!
It makes me confident that I am using the right approach, using acquireTokenSilent  for each api call no matter if I already have the token stored locally or need to fetch a fresh one.

@tnorling thank you for the reply!
It makes me confident that I am using the right approach, using acquireTokenSilent  for each api call no matter if I already have the token stored locally or need to fetch a fresh one.

@janusch I use a simple wrapper around fetch that takes care of getting a fresh token for each API call, all my Redux data fetch actions call this wrapper to not duplicate the logic.
You've probably done something similar yourself, just putting it here for future reference.

@janusch I use a simple wrapper around fetch that takes care of getting a fresh token for each API call, all my Redux data fetch actions call this wrapper to not duplicate the logic.
You've probably done something similar yourself, just putting it here for future reference.

@janusch I'm looking to do something similar, can you please share the method that gets a new token outside of context.

@janusch I'm looking to do something similar, can you please share the method that gets a new token outside of context.

@Seddy24 Here you go, my configuration is stored in Redux and the graphToken parameter just determines which scopes to request a token for.
`
import { Configuration, PublicClientApplication } from '@azure/msal-browser'
import { store } from 'store'
const getToken = async (graphToken: boolean = false): Promise => {
const appCfg = store.getState().app.configuration
const cfg: Configuration = {
auth: {
clientId: appCfg.msalClientId,
redirectUri: appCfg.msalRedirectUri,
},
}
const pca = new PublicClientApplication(cfg)
const accounts = pca.getAllAccounts()
const account = accounts[0]
const resp = await pca.acquireTokenSilent({
scopes: graphToken ? appCfg.graphScopes : appCfg.apiScopes,
account,
})
return resp.accessToken
}
`

@Seddy24 Here you go, my configuration is stored in Redux and the graphToken parameter just determines which scopes to request a token for.
`
import { Configuration, PublicClientApplication } from '@azure/msal-browser'
import { store } from 'store'
const getToken = async (graphToken: boolean = false): Promise => {
const appCfg = store.getState().app.configuration
const cfg: Configuration = {
auth: {
clientId: appCfg.msalClientId,
redirectUri: appCfg.msalRedirectUri,
},
}
const pca = new PublicClientApplication(cfg)
const accounts = pca.getAllAccounts()
const account = accounts[0]
const resp = await pca.acquireTokenSilent({
scopes: graphToken ? appCfg.graphScopes : appCfg.apiScopes,
account,
})
return resp.accessToken
}
`

@richardrobberse I was trying to do it with my msal-react public client instance.  Was not aware you can have multiple instances with any issues.  I guess this isn't being used as context so it does impact the provider wrapper.  Thank you for your help!

@richardrobberse I was trying to do it with my msal-react public client instance.  Was not aware you can have multiple instances with any issues.  I guess this isn't being used as context so it does impact the provider wrapper.  Thank you for your help!

Hi @richardrobberse ,
my implementation looks  very similar. I just moved the pca instance and configuration outside the getToken helper function. And I am not using redux.
Thank you for sharing!

@janusch You're welcome! This is also what @tnorling advised me to do so I'll revisit my code :)


query for non-dependencies

is there a way to really only grab serviceAreas withouth dependencies?
https://endpoints.office.com/endpoints/Worldwide?ServiceAreas=Exchange&ClientRequestId=b10c5ed1-bad1-445f-b386-b919946339a7
the URL above also grabs any "skype" and "common" URLs which I'd like to avoid.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d7ebf92c-e478-0f65-0494-97042e974b46
Version Independent ID: 7e1b9b91-d60d-8665-9a39-2ca77a46b4ce
Content: Office 365 IP Address and URL Web service
Content Source: Enterprise/office-365-ip-web-service.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@zaikun1337 - thanks for your question, I'll get this over to the Enterprise content team for action.

@zaikun1337 - I'm looking into this now, and will reply as soon as I can get some information. In the meantime, the following PowerShell script will output JSON of Exchange-specific values only:
$uri = "https://endpoints.office.com/endpoints/Worldwide?ServiceAreas=Exchange&ClientRequestId=b10c5ed1-bad1-445f-b386-b919946339a7"
$exoEndpointsAll = Invoke-RestMethod -Uri $uri
$exoEndpoints = $exoEndpointsAll | ? {$_.serviceArea -eq "Exchange"} | ConvertTo-Json
$exoEndpoints

Kelley

@zaikun1337 - The information that I got from the product group is that there is no way to return records for a specific service area without its dependencies. If you have a need for that, a script like the one in my last reply is probably your best bet. I'd be interested to know more about why you prefer not to return common records; if there is a compelling reason, I can submit it as a change request.
I'll close this issue, but feel free to add further comments if you like.
Thanks,
Kelley


False warning of Conditional Formatting validation in Table & Pivot Table V 2

False warning in Conditional Formatting validation in Table & Pivot Table V 2.
It seems that the current compare logic is string based instead of real number based.
Screenshots

Environment

superset version: Git master

got it! thanks for reporting and trouble shooting!! we will get to it ASAP


qat kernel plugin doesn't work in VM

I am using qat kernel plugin in a virtual machine where I passthroughed a QAT PF.
In VM, I can see the QAT is up,
$ sudo adf_ctl status
Checking status of all devices.
There is 1 QAT acceleration device(s) in the system:
qat_dev0 - type: c6xx,  inst_id: 0,  node_id: 0,  bsf: 0000:00:05.0,  #accel: 5 #engines: 10 state: up

But when I enter qat kernel plugin's container, the QAT device is down when I check with adf_ctl status, and the node id changes at each time I call adf_ctl status , another strange thing is the bsf is different from what I got from the sysfs, which is 0000:00:05.0, the output is the following:
sh-5.1# adf_ctl status
Checking status of all devices.
There is 1 QAT acceleration device(s) in the system:
 qat_dev0 - type: ,  inst_id: 0,  node_id: -1406261856,  bsf: 0000:01:00.5,  #accel: 5 #engines: 10 state: down
sh-5.1# adf_ctl status
Checking status of all devices.
There is 1 QAT acceleration device(s) in the system:
 qat_dev0 - type: ,  inst_id: 0,  node_id: -1514506848,  bsf: 0000:01:00.5,  #accel: 5 #engines: 10 state: down
sh-5.1# adf_ctl status
Checking status of all devices.
There is 1 QAT acceleration device(s) in the system:
 qat_dev0 - type: ,  inst_id: 0,  node_id: -72010336,  bsf: 0000:01:00.5,  #accel: 5 #engines: 10 state: down
sh-5.1# adf_ctl status
Checking status of all devices.
There is 1 QAT acceleration device(s) in the system:
 qat_dev0 - type: ,  inst_id: 0,  node_id: 809616800,  bsf: 0000:01:00.5,  #accel: 5 #engines: 10 state: down

I think that's why my qat plugin doesn't discover the device, but I don't know how to fix it, could you please help on it?

I think that's why my qat plugin doesn't discover the device, but I don't know how to fix it, could you please help on it?

@xxinran what is the version of the QAT driver in your VM?

I think that's why my qat plugin doesn't discover the device, but I don't know how to fix it, could you please help on it?

@xxinran what is the version of the QAT driver in your VM?

@mythi  The versionfile is as the following:

$ cat versionfile
PACKAGE_TYPE=QAT1.7

PACKAGE_OS=L

PACKAGE_VERSION_MAJOR_NUMBER=4

PACKAGE_VERSION_MINOR_NUMBER=14

PACKAGE_VERSION_PATCH_NUMBER=0

PACKAGE_VERSION_BUILD_NUMBER=00031

and the  kubernetes version is v1.22.1.

@xxinran the driver had an ABI break and adf_ctlv4.11 (inside the container) fails to work with v4.14. See #666. If that works for you, maybe submit a PR for the qat kernel dockerfile too?

@mythi thanks for the information, I have tested with the latest driver and it works. please refer to https://github.com/intel/intel-device-plugins-for-kubernetes/pull/683


A proposal for traverse and traverse_while

I have open a discussion for this PR: Traverse subtrees with zipper and add traverse_while #47

Thank you! 💜


node-red issue

Hi,
I tried to use "npm install ewelink-api" to install it to Node -Red, but I keep getting the following error:
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t<EMAIL_ADDRESS>npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
if anyone can tell me how to fix this please or any other method to get it into Node-Red. As the previous Api in Node-Red connects and send data to EweLink, but nothing happens afterwards
thanks

same issue for me


Error when installing nvm

Hello!
I was trying to install nvm in order to be able to install packages globally without having to switch to being an admin, however an error popped up that said:
Failed to clone nvm repo. Please report this!
What does this mean, and how do I resolve this issue?
Please let me know if you have any suggestions!
Thank you very much

Presumably you used the install script - do you have git installed? What command did you run?

How do you install git? I did not know I needed that.
The command that I ran was:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash

You don't necessarily require it - the install script shouldn't be trying to clone the repo tho unless it's there. What does which git say?

It says:
/usr/bin/git

ok, so you do have git installed. What's git --version? What happens if you try git clone https://github.com/nvm-sh/nvm.git $HOME/.nvm?

For git --version, I got:
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
For the git cloning code, I got:
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.

Ah, ok so that’s the issue. You need to install the Xcode command line tools.
That’s lash’s the first step on any Mac someone wants to develop on. run xcode-select --install, i believe.

I got this when I pasted the Xcode install code in:
xcode-select: note: install requested for command line developer tools

That should open a pop up, where you have to proceed using the GUI.

Ok so click "Install", right?

Yes, since you need to install them

Once that process is completed - and git, curl, etc all work as expected on the command line - rerun the install script for nvm.

Ok it says it is completed, so now I can copy and paste the other install codes for git and curl into the terminal?

Oops I apologize for not reading your last message correctly, I installed nvm again and it says:
Close and reopen your terminal to start using nvm or run the following to use it now:

Then close and reopen your terminal, and you should be set.

Thank you for the assistance, it works now!


Events

Hey I see this PR is still a draft, but I really like this idea! The use case is very clear. Once it's ready, I'll take a look and we'll see about getting this merged in.

@ostrosco cool! I will take some time to finish it asap

@ostrosco there you go. It's fully implemented. I used some good practices such as using callback guards. It also uses two different threads: one for the mouse and the other for the keyboard. The code is pretty clean and self-explanatory.

@ostrosco it should be good now.


[backport] Link to examples directory for the current branch

Backport of #8403

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 85bb79303baf2a10f96a694adf21e401e8b5982f, target branch v6) succeeded!

LGTM! Test failures are not related to this PR.


Resolve BNSv2 names instead of BNSv1 names on the explorer

Is your feature request related to a problem? Please describe.
Using two BNS contracts to resolve, this would cause confusion. The community is quickly adopting the BNSv2 contract because of the improvements (such as allowing more than one name per address and listing from a wallet non-custodially).
Leather is only displaying the BNSv2 name since version 6.52.0 and hiding the v1 name (and hiding the airdrop with the mistake). Although I do think it makes sense for users on marketplaces and explorers to still see the BNSv1 names, they may still hold collectors' value.
Gamma.io and Tradeport are also working on supporting BNSv2 instead.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Resolving to Stacks addresses in the explorer search bar should only resolve to the BNSv2 names to prevent confusion.

Additionally it would be great if in the sandbox explorer a link was added to the BNSv2 address (instead or in addition to the BNS contract in the genesis address): SP2QEZ06AGJ3RKJPBV14SY1V5BBFNAW33D96YPGZF.BNS-V2

Describe alternatives you've considered
Resolving both and letting the user choose if they want to check the Stacks address associated with the BNSv1 name or the one associated with the BNSv2 name.
I think it is better to regard BNSv2 as the BNS contract, BNSv1 is the legacy contract which is no longer used or only until everyone has migrated and adopted the BNSv2 contract. I think it would be great if Hiro can help lead the way.

Important! Thanks Werner.

@zone117x do we have a new API that supports bns2? e.g. get address that is associated with a particular bns name?

IIUC bns2 is all on-chain now, so likely involve RPC contract-calls and maybe NFT related endpoints. I'm not sure though, I'd recommend taking a look at the bnsv2 spec or code.

@zone117x do we have a new API that supports bns2? e.g. get address that is associated with a particular bns name?

https://github.com/Strata-Labs/bnsv2-api -- base URL is api.bnsv2.com

There's also https://github.com/Strata-Labs/bns-v2-sdk if that's easier to integrate with.


Ability to define global retries strategy for all actions

What would you like to be added:
Global retries strategy that should be applied to all actions
Why is this needed:
Currently each action has to define own

I will take a look at this and come back with questions if any.

I am assuming the global retry strategy means global retries
 "autoRetries": {       "type": "boolean",       "default": false,       "description": "If set to true, actions should automatically be retried on unchecked errors. Default is false"     },     "retries": {       "$ref": "retries.json#/retries"     },    In my analysis the best way to do this would be to adding one of(globalRetryRef as not mandatory property of type String,globalRetry of type #/definitions/retrydef)  at the same level in the specification as quoted above. Please correct me if I am wrong in understanding the feature.

@manick02 currently we can define the
  "retries": []

array as a top-level workflow property. in action definitions we can then specify a "retryRef" which maps to one of those retries definitions.
The idea is to somehow define one retries definition which is default, meaning that if an action does not specify a retryRef, this default one should be used.
One idea would be as you mentioned to add a globalRetryRef, another idea could be to add
like a "isDefault" option on retries definition (only one should be set to true), and then it should be used for all action retries for actions that dont explicitly define a retryRef.
@cdavernas @ricardozanini wdyt?

In my opinion, Having IsDefault on retries and restricting to only one set to try will make it harder/impossible to describe in the specification using json schema.

agree, some times we cannot just rely on json schema as it does have these types of restrictions. it is ok to define some rules in the spec that go beyond the capabilities of the underlying schema. we can discuss

I feel having rules going beyond schema will implementation of Runtime and TCK bit more complex, people can correct me


CAMEL-18355: Fix bug when both proxy and basic authentication credent…

…ials provided
Add helper class to manage credentials to set on the HttpClient.
Add a unit test reproducing the issue.

The HttpCredentialsHelper is static which means you cant have 2+ http components in the same JVM with different settings.

The HttpCredentialsHelper is static which means you cant have 2+ http components in the same JVM with different settings.

True. I'll address that.

If you do a hot reload updating routes that used http, then the map could be growing forever causing a memory leak.
A better approach is to store that help as a instance on the http component, then its private to this component. You can create the helper in the doInit method etc.

Thanks for the feedback Claus.
There isn't a doInit method on HttpComponent so I just create it in the method which creates the ClientBuilder and pass it to the private methods creating the configurers.
I also had to modify HttpComponentVerifierExtension.java which creates a ClientBuilder.
Perhaps it would be better to move the Helper to the main http package and give it package visiblity following these changes?

Yeah if you think this is better and have time to do so


Train model

Hi. How can I train your model with new data or should I start from scratch?
Thanks in advance

Hi. How can I train your model with new data or should I start from scratch? Thanks in advance

You can organize your own dataset, according to paddseg's tutorial. Of course, you can also load our pre-trained weights for fine-tuning.

Thanks! Close


Add Endpoint to delete Group

DO NOT MERGE BEFORE #97
Only commit: 1d3baca781cee9685a33f3713653360460992c03 applies
Description

Add endpoint to delete a group

Sample
curl "http://content-performance-manager.dev.gov.uk/groups.json?api_token=1234567" \
     -H "Content-Type: application/json"

@chao-xian I have addressed your comments, please let me know if you are happy with the PR


"sun/misc/Unsafe" occurs when running in native

I compiled my application to distribution and running the exe, when I clicked the button to open the file picker, a dialog appears showing the content above

related issue https://github.com/Wavesonics/compose-multiplatform-file-picker/issues/87


DS Interview Q&A

Hi @ThejeshKumar, did you forget to add a description?

I'll close it for now, feel free to reopen


Adding custom scroll bar complementing the theme of the website

Is your feature request related to a problem? Please describe.
Adding custom scroll bar complementing the theme of the website in both light and dark mode
Describe the solution you'd like
This enhances user experience and increases visual appeal.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@thestarsahil For instance:

this looks more attractive than the original one


Parsing and Serializing are not one-to-one

Hello there. First off, thank you for the project!
As a starting point, I would like to ask a question regarding oxrdfxml Rust library that is part of this repository and that's what I'm currently using.
I am working on some RDF files with a specific schema. That is Spdx.
I noticed something weird while using your library for parsing and serializing such data.
It seems like that, if I parse such a file using RdfXmlParser and serialize the triples as they come in by the parser, then the result is not 1:1.
Let me give you an example of code:
use oxrdfxml::{RdfXmlParser, RdfXmlSerializer};
let data = "...";
let mut parser = RdfXmlParser::new().for_slice(data.as_bytes()).filter_map(Result::ok);
let mut serializer = RdfXmlSerializer::new().for_writer(Vec::new());
for triple in parser {
    serializer.serialize_triple(&triple).unwrap()
}

Also, assume in the code that I have retrieved all the prefixes and the base uri from the parser and given that information to the serializer.
Here's some example input and example output of this kind of code:
Input:
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:spdx="http://spdx.org/rdf/terms#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
  <spdx:SpdxDocument rdf:about="http://openssl_1774#SPDXRef-DOCUMENT">
    <spdx:dataLicense rdf:resource="https://spdx.org/licenses/CC0-1.0"/>
    <spdx:hasFile>
      <spdx:File rdf:about="http://openssl_1774#SPDXRef-filed41d8cd98f00b204e9800998ecf8427e6">
        <spdx:fileName>openssl-1.1.1h/test/ssl-tests/16-certstatus.conf</spdx:fileName>
        <rdfs:comment/>
        <spdx:copyrightText rdf:resource="http://spdx.org/rdf/terms#noassertion"/>
        <spdx:licenseConcluded rdf:resource="http://spdx.org/rdf/terms#noassertion"/>
      </spdx:File>
    </spdx:hasFile>
  </spdx:SpdxDocument>
</rdf:RDF>

Output:
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:spdx="http://spdx.org/rdf/terms#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
	<spdx:SpdxDocument rdf:about="http://openssl_1774#SPDXRef-DOCUMENT">
		<spdx:dataLicense rdf:resource="https://spdx.org/licenses/CC0-1.0"/>
	</spdx:SpdxDocument>
	<spdx:File rdf:about="http://openssl_1774#SPDXRef-filed41d8cd98f00b204e9800998ecf8427e6">
		<spdx:fileName>openssl-1.1.1h/test/ssl-tests/16-certstatus.conf</spdx:fileName>
		<rdfs:comment></rdfs:comment>
		<spdx:copyrightText rdf:resource="http://spdx.org/rdf/terms#noassertion"/>
		<spdx:licenseConcluded rdf:resource="http://spdx.org/rdf/terms#noassertion"/>
	</spdx:File>
	<rdf:Description rdf:about="http://openssl_1774#SPDXRef-DOCUMENT">
		<spdx:hasFile rdf:resource="http://openssl_1774#SPDXRef-filed41d8cd98f00b204e9800998ecf8427e6"/>
	</rdf:Description>
</rdf:RDF>

At this point, I would like to disclaim that I'm not familiar or knowledgeable at all with the RDF format and the semantics of it.
So, my question to you is the following:
Is the output that I'm seeing the correct one? I would expect to get the same exact output compared to the input.
Finally, I would like to mention that for my purposes, I needed to preserve that property (output matches with input) and for that reason I rewrote the serializer to respect that property.
If you are interested and you believe that this property should be maintained by the oxrdfxml library, I would be happy to open a pull request with my changes.

Hi! Thank you for this great question!
Indeed, oxrdfxml aims at parsing RDF/XML into abstract RDF triples, loosing all presentational elements... So, the serializer misses some data to do 1:1 serialization. I also try to keep the serializer fairly efficient so buffering all the triples to figure out a nice display is not an option.
To answer your question, the output is a correct one, in the sense it is a valid RDF/XML serialization of the same RDF graph. However, indeed, the original input is nicer so if we can make the output closer to the input while keeping the serializer streaming it would be amazing. RDF/XML is used less and less by the RDF community so I have not put much effort into oxrdfxml beside having a working serializer and a hopefully correct parser.
What we can do is make sure the parser emits the triple with the spdx:hasFile predicate before the description of this value and make the serializer properly do the nesting in the serialization (this is maybe already implemented, I don't remind).

I would be happy to open a pull request with my changes.

I would love that if you MR is not too complex and keep the serializer streaming (no buffering of all input triples).
Thank you again

Thanks for your answer. I guessed that you would say no buffer and that's exactly what I did :stuck_out_tongue:
The reason I did that was because I didn't want to rewrite the parser.
Yes, the parser doesn't emit the <spdx:hasFile> element as soon as it sees it but only after it closes </spdx:hasElement>.
So, I believe the serializer as is right now could work if the parser changed in order to produce the elements as it sees them.

Thank you!

I guessed that you would say no buffer and that's exactly what I did 😛

It's what I suspected hence me stressing this point ;)

So, I believe the serializer as is right now could work if the parser changed in order to produce the elements as it sees them.

Yes!

Ok. I would say let's leave this ticket open and I will try to make that change.
My time is a bit limited so don't expect something very soon but I could give it a stab if that's ok with you as well.

Amazing! Thank you! If you give it a try and feel that your modification gets a bit complicated, feel free to reach out and open a draft PR. I am not sure it will be an easy change.


#4463 FAQ for Maven compilation failure with error like python2 not found

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues #4463

skywalking\apm-webapp\pom.xml
<configuration>
 <arguments>install --registry=https://registry.npm.taobao.org/ --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/</arguments>
</configuration>

I've tested it with python2 not installed.
[INFO] tool-profile-snapshot-exporter ..................... SUCCESS [  2.561 s]
[INFO] server-starter ..................................... SUCCESS [  7.839 s]
[INFO] tool-profile-snapshot-exporter-es7 ................. SUCCESS [  2.667 s]
[INFO] server-starter-es7 ................................. SUCCESS [  4.893 s]
[INFO] apm-webapp ......................................... SUCCESS [01:49 min]
[INFO] apache-skywalking-apm .............................. SUCCESS [ 27.541 s]
[INFO] apache-skywalking-apm-es7 .......................... SUCCESS [ 23.390 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16:12 min
[INFO] Finished at: 2020-03-09T09:38:13+08:00
[INFO] ------------------------------------------------------------------------

Codecov Report

Merging #4473 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4473      +/-   ##
==========================================
+ Coverage   24.95%   24.97%   +0.02%
==========================================
  Files        1231     1231
  Lines       28496    28496
  Branches     3905     3905
==========================================
+ Hits         7111     7118       +7
+ Misses      20726    20719       -7
  Partials      659      659

Impacted Files
Coverage Δ

...walking/oap/server/core/analysis/Downsampling.java
100% <0%> (+100%)
: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 b059f7f...a6dd2a5. Read the comment docs.


Add button for committing to Git

Fixed #686
This adds a button to make it easier to commit to Git, without having to bind a key to the source_control.commit command.

Issue: Due to the way panels work, if you change theme then it won't update the button's colors properly. Is there a good way to tell it to recreate the panel? I could create a new button widget that uses the theme's values, but that feels excessive.
We could use Druid's existing Key to store the theme colors in, and then have change them just update the keys?

You can create the text layout in paint.

Yes, but that would require recreating the Button widget to allow it to have a TextLayout instance directly? I might be missing something.

Added the druid code for the Button widget, which will also let us add customizations to it in the future. This fixes the issue of it not properly updating with the theme.


Nested files don't get passed '~' option

If I have a library in node_modules, which is imported by a partial, then imported again, I get ERROR in  ... File to import not found or unreadable.
Given node_modules/somelib/colours.scss exists, this doesn't work:

sass/core/_colours.scss:

@import '~somelib/colours.scss';

src/components/Thing.scss:

@import 'core/colours';

src/components/Thing.jsx:

require('./Thing.scss');

However, this works:

src/components/Thing.scss:

@import '~somelib/colours.scss';

src/components/Thing.jsx:

require('./Thing.scss');

Note I'm running on Windows 7.

Possibly related to #102 and #107.

Thx for reporting this. I'll have a look as soon as I found some time. Unfortunately I'm loaded with work... :unamused:.
In the meantime, you can also take a look for yourself. The code is not complicated, but it requires some understanding about how to write loaders for webpack.

Is this still an issue with the recent version of sass-loader?

Should be fixed with 2.0.0


feat: Return Value for load Function

The load function in the current codebase does not return any value. This design was fine for our initial use case, but we anticipate that returning the generated image elements could be beneficial as our requirements evolve.
This change provides greater flexibility and allows users of the load feature to follow up on loaded images as needed. For example, you might have a test that needs to check which source was actually loaded, and having a function that returns a generated Image element simplifies this check.
--
          If need to BREAKING CHANGE interface, I think before merging this Pull Request is best timing to change interface before add test code.

How about new Pull Request to change this load interface first if you agree my suggestion. What is your opinion
Originally posted by @manudeli in https://github.com/fepack/image/pull/32#discussion_r1333393327

Suggestion
const loaded = await load('./images/test', ['webp', 'png']); // first one is trying, but if not available webp, png is fallback


Added CI/CD pipeline.

Added:

firebase hosting site
firebase preview site trigger
CI
CD

/gcbrun

Temporary Url for review: https://business-ar-admin-dev--pr-208-qczfpjq3.web.app


Support Static IPs and Preemptible instances on Google Compute Engine

/cc @jeffmendoza

@jeffmendoza do you find this PR useful? Are there things I can improve?

Preemptable worked. Static IP worked only if I provided the IP and not the "name" of the IP, which is what I'm used to with gcloud:
 --address ADDRESS
    Assigns the given external address to the instance that is created. The
    address may be an IP address or the name or URI of an address resource.
    This option can only be used when creating a single instance.

Would be nice, but not a must have.

I must admit I was lazy on this one. It does the job so...
I'll try to improve it if you think it's worth it

Up to you

@jeffmendoza I've rebased the commits

@jeffmendoza I've added resolving static address by name

nice!

@jeffmendoza Can I improve something to make the PR more likely to be merged?

Looks good to me, let's ping @ehazlett or @nathanleclaire

LGTM

Thank you. Where can I update the documentation?

@dgageot I think the doc relevant for you here is docs/drivers/gce.md

Indeed. PR in progress

see #1623


Typo in instructions

Hi,
I believe there is a typo in section 'Create the image version"
-apiversion "2020-02-14" `
should be  -api-version "2020-02-14" `
A dash should be placed between api and version
HTH

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

ID: 45a82eb4-6023-683b-50ad-eb5d5ffd9f4c
Version Independent ID: 672e6918-aa05-3f03-2497-1d3a6ac1488d
Content: Use Azure Image Builder with an image gallery for Windows VMs - Azure Virtual Machines
Content Source: articles/virtual-machines/windows/image-builder-gallery.md
Service: virtual-machines
GitHub Login: @kof-f
Microsoft Alias: kofiforson

@drobinson-bell Thanks for the Feedback. The document is updated and changes will go live soon.


Skip auth for Sentry when --auth-token and --api-key are specified

I noticed that we don't skip auth when --auth-token and --api-key are specified. We should be doing that.
https://github.com/1Password/shell-plugins/blob/0b46a42d5295cf0fa1bedbf6b6356f7f7568778e/plugins/sentry/sentry_cli.go#L10-L22

Can I work on this issue?

Yes, go for it @roy9495!


Update containerd to v1.6.10

containerd has recently be released at version 1.6.9: see https://github.com/containerd/containerd/releases/tag/v1.6.9.
Apart from the good practice of using the latest release, the reason why I'm raising this up is that v1.6.9 contains a fix related to the native snapshotter. Which happens to be the snapshotter to use apparently when running on ZFS, as per the conversation at the bottom of https://github.com/k3s-io/k3s/discussions/3980.
See https://github.com/canonical/microk8s/issues/3499 for more details about the issue with the native snapshotter, which I raised for Microk8s but very probably applies to k3s as well (I haven't tested in practice).

By the way, I don't know if it's already documented somewhere, but it would be interesting to know more about the process that leads to a tag in Git for the containerd "fork" at https://github.com/k3s-io/containerd/tags.

It's manual, and involves rebasing our patches to add registry rewrites and a couple other things.

I would be happy to see this issue resolved.
I'm facing an issue with containerd v1.6.8-k3s1 where I am unable to pull certain images that already fixed in 1.6.9.

Discussion and Issue: https://github.com/containerd/containerd/discussions/7083, https://github.com/containerd/containerd/issues/7093
PR for 1.6 https://github.com/containerd/containerd/pull/7447

$ sudo $(which k3s) crictl version
Version:  0.1.0
RuntimeName:  containerd
RuntimeVersion:  v1.6.8-k3s1
RuntimeApiVersion:  v1

$ sudo $(which k3s) crictl pull quay.io/pulp/galaxy:4.6.2
E1115 15:40:14.338598 2355381 remote_image.go:242] "PullImage from image service failed" err="rpc error: code = Unknown desc = failed to pull and unpack image \"quay.io/pulp/galaxy:4.6.2\": failed to extract layer sha256:db4e88ec5915e6d2ca0aaab9198f8dc4e2eb40285da4d9e751f853cef1315964: operation not permitted: unknown" image="quay.io/pulp/galaxy:4.6.2"
FATA[0010] pulling image: rpc error: code = Unknown desc = failed to pull and unpack image "quay.io/pulp/galaxy:4.6.2": failed to extract layer sha256:db4e88ec5915e6d2ca0aaab9198f8dc4e2eb40285da4d9e751f853cef1315964: operation not permitted: unknown

$ sudo $(which k3s) crictl pull pulp/pulp-galaxy-ng:latest
E1115 15:40:57.810207 2355556 remote_image.go:242] "PullImage from image service failed" err="rpc error: code = Unknown desc = failed to pull and unpack image \"docker.io/pulp/pulp-galaxy-ng:latest\": failed to extract layer sha256:a3b8450d21451a6808b1f3ca7390772b12554abfb223273830ce6ca1e19b1fb1: operation not permitted: unknown" image="pulp/pulp-galaxy-ng:latest"
FATA[0010] pulling image: rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/pulp/pulp-galaxy-ng:latest": failed to extract layer sha256:a3b8450d21451a6808b1f3ca7390772b12554abfb223273830ce6ca1e19b1fb1: operation not permitted: unknown

I haven't seen any reports of this issue in the wild, other than the sparse conversation here. I don't think anyone really uses the native snapshotter unless they have absolutely no other choice, as its performance is (as far as I know) pretty poor.

Validated on commit a07bb555ba052516a666b9d1b11ec581f9c7b5f8
Environment Details

Infrastructure

[ ] Cloud
[ ] Hosted

Node(s) CPU architecture, OS, and Version:

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

Cluster Configuration:

1 server

Testing Steps

Install k3s using commit curl -sfL https://get.k3s.io | INSTALL_K3S_COMMIT=a07bb555ba052516a666b9d1b11ec581f9c7b5f8 INSTALL_K3S_EXEC="server" sh -
Run kubectl get node -A -o wide to check the version (Look for containerd://1.6.10-k3s1)

Validation Results:

Containerd 1.6.10 is displayed.

$ kubectl get node -A -o wide
NAME               STATUS   ROLES                  AGE     VERSION                INTERNAL-IP     EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION    CONTAINER-RUNTIME
ip-172-31-43-134   Ready    control-plane,master   2m20s   v1.25.4+k3s-a07bb555   <IP_ADDRESS>   <none>        Ubuntu 22.04.1 LTS   5.15.0-1019-aws   containerd://1.6.10-k3s1

Additional context / logs:

For the record, related commit: https://github.com/k3s-io/k3s/commit/6462a31b96ae89c0b101b8b264dd2fbcba42c093.


fix: polish Rslib desc and add website link

Close https://github.com/web-infra-dev/rslib/issues/303.

Released: https://github.com/rspack-contrib/rstack-doc-ui/releases/tag/v1.5.4


Current running process doesn't appear in tab title

[x] I am on the latest Hyper.app version

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

OS version and name: macOS Sierra 10.12.1

Hyper.app version: 1.0.0

Link of a Gist with the contents of your .hyper.js: vanilla config

Relevent information from devtools: N/A

The issue is reproducible in vanilla Hyper.app: Is vanilla.

Issue
I expected the process name to show in the tab title as it does in most other terminals. Instead, it's always "Shell" unless explicitly set. The current behaviour seems to have been introduced in this PR: #892.
I'm not sure whether this is the intended behaviour (#49 seems to suggest that it is), but regardless, it's an unexpected omission of a feature that seems to be standard among other terminal apps. I'm used to being able to figure out which is my vim tab just by looking at the tab bar!

I too experience this exact issue.

@smably Can you tell me if vim is on the left side of text?    vim npm-debug.log@ppot is what i get.

There's a discussion on a related topic here where I've found a workaround: hyper/issues/1188
It should be applicable to your use case.

I'm seeing this too. Hyper 1.0.0 on Yosemite and the tabs just display "Shell".
@audunolsen The workaround you posted in #1188 does work for me - thanks for that.
It seems to me like #892 should have fixed this?

Hey there, please try again with the new Hyper v2 release and open a new issue if the problem stills exists. Thank you!


Conditional transition have a different behaviour between 0.7.x and 0.8.x

Description:

In 0.7.x if I made a condition to avoid transition inside the intro-outro attributes when the condition is not valid and the element with transition is removed from the DOM the transition is not executed.
In 0.8.x the animation is performed also when the component is remove from the DOM.

I've used this syntax to avoid transition on component teardown / unrender. The wanted behaviour is   very similar to noOutro component attribute (https://github.com/ractivejs/ractive/issues/2770).
Versions affected:

0.8.x
edge

Reproduction:

enable the animation
display the element
use "Disable transition and hide" to check different behaviour.

0.8.x https://jsfiddle.net/swkz9n7n/33/
0.7.x https://jsfiddle.net/swkz9n7n/32/
Code:
0.8.x

Hello!

  <button on-click="@this.toggle('performTransition')">
  	Enable/Disable transition
  </button>

  <button on-click="@this.fire('disableTransitionAndHide')">
  	Disable transition and hide
  </button>

  <button on-click="@this.toggle('showElement')">
  	Toggle element
  </button>

Animation enabled: {{performTransition}}

 {{#if showElement}}

    	  	We are ready for some bugs!

  {{/if}}

function fade(t, params) {
  var DEFAULTS = {
    delay: 0,
    duration: 300,
    easing: 'linear'
  };

  var targetOpacity;

  params = t.processParams(params, DEFAULTS);

  if (t.isIntro) {
    targetOpacity = t.getStyle('opacity');
    t.setStyle('opacity', 0);
  } else {
    targetOpacity = 0;
  }

  t.animateStyle('opacity', targetOpacity, params).then(t.complete);
}

const r = window.r = new Ractive({
  el: '#main',
  template: '#template',

  transitions: {
    fade,
  },

  data: {
    performTransition: true,
    showElement: true,
  },

  onrender() {
    this.on('disableTransitionAndHide', () => {
      this.set({
        performTransition: false,
        showElement: false,
      });
      return false;
    });
  },
});

0.7.x

Hello!

 <button on-click="togglePerformTransition">
  	Enable/Disable transition
  </button>

  <button on-click="disableTransitionAndHide">
  	Disable transition and hide
  </button>

  <button on-click="toggleShowElement">
  	Toggle element
  </button>

Animation enabled: {{performTransition}}

  {{#if showElement}}

    	We are ready for some bugs!

  {{/if}}

function fade(t, params) {
  var DEFAULTS = {
    delay: 0,
    duration: 300,
    easing: 'linear'
  };

  var targetOpacity;

  params = t.processParams(params, DEFAULTS);

  if (t.isIntro) {
    targetOpacity = t.getStyle('opacity');
    t.setStyle('opacity', 0);
  } else {
    targetOpacity = 0;
  }

  t.animateStyle('opacity', targetOpacity, params).then(t.complete);
}

const r = window.r = new Ractive({
  el: '#main',
  template: '#template',

  transitions: {
    fade,
  },

  data: {
    performTransition: true,
    showElement: true,
  },

  onrender() {
    this.on('disableTransitionAndHide', () => {
      this.set({
        performTransition: false,
        showElement: false,
      });
      return false;
    });

    this.on('toggleShowElement', () => {
      this.toggle('showElement');
    });

    this.on('togglePerformTransition', () => {
      this.toggle('performTransition');
    });
  },
});

This is an unfortunate side-effect of the way that Ractive batches changes to the DOM. Each method that returns a Promise (generally) uses Ractive's internal runloop that waits to propagate changes to the VDOM, and subsequently the DOM, until all of the data changes have propagated. Since the element is responsible propagating changes to its attributes, one of which is the transition section, the transition doesn't have a chance to unregister before the element begins its removal process. The way around that is to make sure that the transition is removed in its own turn of the runloop e.g. this.set('performTransition', false); this.set('showElement', false);. All changes in Ractive are synchronous except element removal when a transition is involved, so you can safely ignore the runloop Promise anywhere there are no transitions or you don't care that removed elements may be in the DOM while the transitions complete.

So the transition behaviour between 0.7 and 0.8 has been changed and the one present in the last Ractive version is the expected one?
Just to confirm.

Not exactly. The behavior with 0.7 would not remove the transition, it will just change the plugin name so that when the transition starts to try to run, there is nothing to actually run. With 0.8, the transition is actually removed from the element.
I think the best solution to some of these transition issues may be to come up with a composite transition that could also run other transitions in sequence and/or parallel. Something like
...
, which would perform the fly and grow transitions at the same time and then the fade when they are done. The conditional would effectively make the transition resolve immediately when performTransition is falsey.

So in my understanding I need to write a transition which invokes other n transitions in sequence or in parallel. In order to do this I have to use ractive.transition() (http://docs.ractivejs.org/latest/ractive-transition)
Right now I have problem using this function inside a transition: it seems that t.complete is never invoked. I have made a simple example: https://jsfiddle.net/wpy70jm7/
In addition I haven't find a way to specificy .isIntro,  so the transition performed is always the out one: https://jsfiddle.net/wpovmp6y/2/. However the node is never removed from the DOM and the function.

You don't necessarily need to; I was mostly just thinking out loud. In this case using two separate sets is the best workaround.
I wouldn't use transition to build a composite transition. I would store and replace the complete method on the passed transition object, replace it with a local one used to move the sequence along, and call the stored method when everything's done.
transition was added more to have a way to trigger transitions without having to add and remove bits of DOM. So you can do things like <button on-click="@.transition('ripple'), @.doSomething()">.

Ok, thank you for the clarification.


NOISSUE - Rename package aliases uuidProvider into uuid

Signed-off-by: Manuel Imperiale<EMAIL_ADDRESS>

Codecov Report

Merging #1323 (2b09b82) into master (6b7dc54) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1323   +/-   ##
=======================================
  Coverage   59.89%   59.89%
=======================================
  Files         113      113
  Lines        8812     8812
=======================================
  Hits         5278     5278
  Misses       3076     3076
  Partials      458      458

Impacted Files
Coverage Δ

users/service.go
66.42% <100.00%> (ø)

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 6b7dc54...2b09b82. Read the comment docs.

Codecov Report

Merging #1323 (2b09b82) into master (6b7dc54) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1323   +/-   ##
=======================================
  Coverage   59.89%   59.89%
=======================================
  Files         113      113
  Lines        8812     8812
=======================================
  Hits         5278     5278
  Misses       3076     3076
  Partials      458      458

Impacted Files
Coverage Δ

users/service.go
66.42% <100.00%> (ø)

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 6b7dc54...2b09b82. Read the comment docs.


Can we execute blocking operations inside actor?

Hi there,
Can we execute long-time I/O job in an actor, eg. call other API with retry? I didn't find any documentation about that, my understanding is that there is not limitation about that, the lock of an actor does not have a duration.However, in other actor systems like Vert.x if we have blocking operations we'll need to run it inside some other type of  actor instance(the worker verticle).
Thanks!

After I tried it out, now I believe that the virtual actor is just like any other API, request → execution → response , so you'll not get the response until the execution finishes. In that way, execution should not take too long, because otherwise the caller might not be able to get response due to timeout.


add plugin and run pod install

Bug report

CHECKLIST

[ ] I have read the issue reporting guidelines

[ +] I confirm this is a suspected bug or issue that will affect other users

[ ] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.

[ ] I have read the documentation thoroughly and it does not help solve my issue.

[ ] I have checked that no similar issues (open or closed) already exist.

Current behavior:

Hi,I am new to creating an app in ios, I have an error when adding the firebasex plugin in cordova because when I add it and create the ios platform in cordova, when the firebasex plugin is installed, pod install is executed and it enters as in a cycle since it repeats the same action and at the end it does not add anything

Expected behavior:

Steps to reproduce:

first add the cordova platform add ios command.
When it's adding the plugins to the platform, when it installs firebasex, it runs pod install, and then it's in a loop
Screenshots

ordova platform add  ios
Using cordova-fetch for<EMAIL_ADDRESS>Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: com.myproject.emovil
Name: myproject
iOS project created with<EMAIL_ADDRESS>Installing "cordova-plugin-add-swift-support" for ios
Installing "cordova-plugin-android-permissions" for ios
Installing "cordova-plugin-camera" for ios
Installing "cordova-plugin-crop" for ios
Installing "cordova-plugin-device" for ios
Installing "cordova-plugin-dialogs" for ios
Installing "cordova-plugin-file" for ios
Installing "cordova-plugin-file-transfer" for ios
Plugin dependency<EMAIL_ADDRESS>already fetched, using that version.
Dependent plugin "cordova-plugin-file" already installed on ios.
Installing "cordova-plugin-firebasex" for ios
Running command: pod install --verbose
Cloning into '/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju'...
 Note: switching to '591d56e1300b6d11948e1b821efac785a295989c'.

 You are in 'detached HEAD' state. You can look around, make experimental
 changes and commit them, and you can discard any commits you make in this
 state without impacting any branches by switching back to a branch.

 If you want to create a new branch to retain commits you create, you may
 do so (now or later) by using -c with the switch command.

 Submodule 'third_party/abseil-cpp' (https://github.com/abseil/abseil-cpp.git) registered for path 'third_party/abseil-cpp'

 Submodule 'third_party/benchmark' (https://github.com/google/benchmark) registered for path 'third_party/benchmark'

 Submodule 'third_party/bloaty' (https://github.com/google/bloaty.git) registered for path 'third_party/bloaty'

 Submodule 'third_party/boringssl-with-bazel' (https://github.com/google/boringssl.git) registered for path 'third_party/boringssl-with-bazel'

 Submodule 'third_party/cares/cares' (https://github.com/c-ares/c-ares.git) registered for path 'third_party/cares/cares'

 Submodule 'third_party/envoy-api' (https://github.com/envoyproxy/data-plane-api.git) registered for path 'third_party/envoy-api'

 Submodule 'third_party/googleapis' (https://github.com/googleapis/googleapis.git) registered for path 'third_party/googleapis'

 Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/googletest'

 Submodule 'third_party/libuv' (https://github.com/libuv/libuv.git) registered for path 'third_party/libuv'

 Submodule 'third_party/opencensus-proto' (https://github.com/census-instrumentation/opencensus-proto.git) registered for path 'third_party/opencensus-proto'

 Submodule 'third_party/opentelemetry' (https://github.com/open-telemetry/opentelemetry-proto.git) registered for path 'third_party/opentelemetry'

 Submodule 'third_party/protobuf' (https://github.com/protocolbuffers/protobuf.git) registered for path 'third_party/protobuf'

 Submodule 'third_party/protoc-gen-validate' (https://github.com/envoyproxy/protoc-gen-validate.git) registered for path 'third_party/protoc-gen-validate'

 Submodule 'third_party/re2' (https://github.com/google/re2.git) registered for path 'third_party/re2'

 Submodule 'third_party/xds' (https://github.com/cncf/xds.git) registered for path 'third_party/xds'

 Submodule 'third_party/zlib' (https://github.com/madler/zlib) registered for path 'third_party/zlib'

 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/abseil-cpp'...

pod: Command failed with exit code 1 Error output:
Cloning into '/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju'...
Note: switching to '591d56e1300b6d11948e1b821efac785a295989c'.
 You are in 'detached HEAD' state. You can look around, make experimental
 changes and commit them, and you can discard any commits you make in this
 state without impacting any branches by switching back to a branch.

 If you want to create a new branch to retain commits you create, you may
 do so (now or later) by using -c with the switch command. Example:

   git switch -c <new-branch-name>

 Or undo this operation with:

   git switch -

 Turn off this advice by setting config variable advice.detachedHead to false

 Updating files: 100% (9462/9462), done.
 Submodule 'third_party/abseil-cpp' (https://github.com/abseil/abseil-cpp.git) registered for path 'third_party/abseil-cpp'
 Submodule 'third_party/benchmark' (https://github.com/google/benchmark) registered for path 'third_party/benchmark'
 Submodule 'third_party/bloaty' (https://github.com/google/bloaty.git) registered for path 'third_party/bloaty'
 Submodule 'third_party/boringssl-with-bazel' (https://github.com/google/boringssl.git) registered for path 'third_party/boringssl-with-bazel'
 Submodule 'third_party/cares/cares' (https://github.com/c-ares/c-ares.git) registered for path 'third_party/cares/cares'
 Submodule 'third_party/envoy-api' (https://github.com/envoyproxy/data-plane-api.git) registered for path 'third_party/envoy-api'
 Submodule 'third_party/googleapis' (https://github.com/googleapis/googleapis.git) registered for path 'third_party/googleapis'
 Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/googletest'
 Submodule 'third_party/libuv' (https://github.com/libuv/libuv.git) registered for path 'third_party/libuv'
 Submodule 'third_party/opencensus-proto' (https://github.com/census-instrumentation/opencensus-proto.git) registered for path 'third_party/opencensus-proto'
 Submodule 'third_party/opentelemetry' (https://github.com/open-telemetry/opentelemetry-proto.git) registered for path 'third_party/opentelemetry'
 Submodule 'third_party/protobuf' (https://github.com/protocolbuffers/protobuf.git) registered for path 'third_party/protobuf'
 Submodule 'third_party/protoc-gen-validate' (https://github.com/envoyproxy/protoc-gen-validate.git) registered for path 'third_party/protoc-gen-validate'
 Submodule 'third_party/re2' (https://github.com/google/re2.git) registered for path 'third_party/re2'
 Submodule 'third_party/xds' (https://github.com/cncf/xds.git) registered for path 'third_party/xds'
 Submodule 'third_party/zlib' (https://github.com/madler/zlib) registered for path 'third_party/zlib'
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/abseil-cpp'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/benchmark'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/boringssl-with-bazel'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/cares/cares'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/envoy-api'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/googleapis'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/googletest'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/libuv'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/opencensus-proto'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/opentelemetry'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/protobuf'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/protoc-gen-validate'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/re2'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/xds'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/zlib'...
 Submodule 'third_party/abseil-cpp' (https://github.com/abseil/abseil-cpp.git) registered for path 'third_party/bloaty/third_party/abseil-cpp'
 Submodule 'third_party/capstone' (https://github.com/aquynh/capstone.git) registered for path 'third_party/bloaty/third_party/capstone'
 Submodule 'third_party/demumble' (https://github.com/nico/demumble.git) registered for path 'third_party/bloaty/third_party/demumble'
 Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/bloaty/third_party/googletest'
 Submodule 'third_party/protobuf' (https://github.com/protocolbuffers/protobuf.git) registered for path 'third_party/bloaty/third_party/protobuf'
 Submodule 'third_party/re2' (https://github.com/google/re2) registered for path 'third_party/bloaty/third_party/re2'
 Submodule 'third_party/zlib' (https://github.com/madler/zlib) registered for path 'third_party/bloaty/third_party/zlib'
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/abseil-cpp'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/capstone'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/demumble'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/googletest'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/protobuf'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/re2'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/zlib'...
 Submodule 'third_party/benchmark' (https://github.com/google/benchmark.git) registered for path 'third_party/bloaty/third_party/protobuf/third_party/benchmark'
 Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/bloaty/third_party/protobuf/third_party/googletest'
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/protobuf/third_party/benchmark'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/bloaty/third_party/protobuf/third_party/googletest'...
 Submodule 'third_party/benchmark' (https://github.com/google/benchmark.git) registered for path 'third_party/protobuf/third_party/benchmark'
 Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/protobuf/third_party/googletest'
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/protobuf/third_party/benchmark'...
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/protobuf/third_party/googletest'...
 fatal: write error: No space left on device
 fatal: fetch-pack: invalid index-pack output
 fatal: clone of 'https://github.com/google/googletest.git' into submodule path '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/protobuf/third_party/googletest' failed
 Failed to clone 'third_party/googletest'. Retry scheduled
 Cloning into '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/protobuf/third_party/googletest'...
 fatal: write error: No space left on device
 fatal: fetch-pack: invalid index-pack output
 fatal: clone of 'https://github.com/google/googletest.git' into submodule path '/private/var/folders/pv/zlwrqvnj295fbx4hvdmy5mj80000gn/T/d20221210-8933-u1zqju/third_party/protobuf/third_party/googletest' failed
 Failed to clone 'third_party/googletest' a second time, aborting
 fatal: Failed to recurse into submodule path 'third_party/protobuf'

Environment information

Cordova CLI version

cordova 11.0.0

Cordova platform version

Installed platforms: ios 6.2.0 Available platforms:  android ^10.1.1 browser ^6.0.0 electron ^3.0.0 osx ^6.0.0

Plugins & versions installed in project (including this plugin)

 "cordova-android": "^11.0.0", "cordova-browser": "^6.0.0", "cordova-ios": "^6.2.0", "cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-android-permissions": "^1.1.5", "cordova-plugin-camera": "6.0.0", "cordova-plugin-crop": "^0.4.0", "cordova-plugin-device": "^2.1.0", "cordova-plugin-file": "^7.0.0", "cordova-plugin-file-transfer": "1.7.1", "cordova-plugin-firebasex": "^16.0.0", "cordova-plugin-ios-camera-permissions": "1.2.0", "cordova-plugin-media": "^6.1.0", "cordova-plugin-media-capture": "4.0.0", "cordova-plugin-network-information": "3.0.0", "cordova-plugin-qrscanner": "^3.0.1", "cordova-plugin-splashscreen": "^1.0.0", "cordova-sqlite-storage": "6.0.0", "polarcape-cordova-plugin-document-handler": "1.1.1"

Dev machine OS and version, e.g.

OSX

monterey 12.5.1

Windows 10

winver

Runtime issue

Device details

e.g. iPhone X, Samsung Galaxy S8, iPhone X Simulator, Pixel XL Emulator

OS details

e.g. iOS 12.2, Android 9.0

Android build issue:

Node JS version

node -v

Gradle version

ls platforms/android/.gradle

Target Android SDK version

android:targetSdkVersion in AndroidManifest.xml

Android SDK details

sdkmanager --list | sed -e '/Available Packages/q'

iOS build issue:

Node JS version

v18.4.0

XCode version
-13.3.1 (13E500a)

Related code:
insert any relevant code here such as plugin API calls / input parameters

Console output

console output

// Paste any relevant JS/native console output here

Other information:

Did you fix this? I'm having the same issue

Any updates ?

Ensure you have the latest version of Cocopods installed, e.g. brew upgrade cocoapods
Ensure your local repo is up-to-date: pod repo update
Build and run the example project as a know working codebase
for reference.

If you are able to reproduce the issue in the example project, please open a new issue and fill out the issue template in full, including steps to reproduce in the example project and details of test devices used to reproduce the issue.


register_buffer error

When I run the 'predictor_example.ipynb' and load the pre-trained model, it always gives me an error shown below:
46         self.register_buffer("pixel_mean", torch.Tensor(pixel_mean).view(-1, 1, 1), False)
47         self.register_buffer("pixel_std", torch.Tensor(pixel_std).view(-1, 1, 1), False)
48
TypeError: register_buffer() takes 3 positional arguments but 4 were given
I didn't change anything, so what's wrong here?

Induced by pytorch version

@usstduan Can you tell me what the right version of Pytorch to use? I used Pytorch with the 1.8 version and met the same issue.

@usstduan Hi I just fixed this issue by reinstalling pytorch, torchaudio and torchvision using pip instead of conda. And here is the version that I used:
python 3.9.1
torch 1.10.1+cu111
torchaudio 0.10.1+cu111
torchvision 0.11.2+cu111
numpy 1.23.1


Two-Factor Auth

Two-Factor authorization would be a very welcomed feature in my book.
To be able to log into nginx-proxy-manager via 2FA as well as being able to provide 2FA for access to hosts - this would vastly improve the security of less secure or non-secure applications hiding behind the nginx proxy.
Something like Authelia should provide a good starting point.

+1 on this or implementing https://github.com/jc21/nginx-proxy-manager/issues/137

Noting https://github.com/authelia/authelia for being maintained actively currently, and having more features

Authelia integration would be a massive feature

One of the maintainers of Authelia here. We'd be willing to do some form of collab to help with this. Particularly with the access to the hosts section as that is the easiest part.
Ideally if we did it I think the ideal place to do it is in the access tab as an alternate provider to the HTTP basic auth. Also it shouldn't be limited to Authelia in my opinion, people should be able to configure all aspects of the ngx_http_auth_request_module.
Authelia docs.

This would actually bring me back to nginx-proxy-manager over some other solution as there's no other solution with as easy of a point and click interface as this, but vanilla nginx supports this with Authelia's guide so I've been sticking with that.

TBH I would even be happy for a guide to add Authelia to NginxProxyManager

+1 I opened a request for voucher-proxy or keycloak before I found this one, but any route he goes with I'd be willing to try :) his interface is one of the best I've found for homelab!

Google provide a 2FA module that can be integrated with protocols like SSH and OpenVPN.
https://github.com/google/google-authenticator-libpam

Keycloak works with nginx-proxy-manager!

Here is also a good tutorial on getting nginx-proxy-manager secured with Authelia.

IMHO, integration with most IdP will address this. SAML2 will be a common use case.
I'm using Azure AD for my hosted applications. MFA can be configured in Azure AD. I believe it will be similar for all IdP.

I too would love to see NPM support Google Authenticator/2FA.

Is possible to make use of this Authenticator API implementation to easily integrate:
https://github.com/infiniteloopltd/AuthenticatorAPI.com

@kennylajara could you share how you implemented this?

I also found this on git .. allows 2FA for any Web App.. Integration with any of these into one is a goal I am looking for ...
https://github.com/Arno0x/TwoFactorAuth

I think this is a very important feature. From my point of view this feature should be prioritized higher.

I think this is a very important feature. hope it can be added soon.

If 2FA can't be done then implementing OpenID Connect for SSO authentication would be the next best thing.

It can technically already be integrated for backend apps already, just not the NPM frontend. I think having both would be a good addition however, and fully support the idea of OpenID Connect 1.0, in a lot of ways I prefer it. Me and the other Authelia devs would welcome a collaboration on this as well.

+1 I would like to see this implemented

having to restrict the ip range that can access port 81 works, the number of homelabbers or people who spin this up on vps...a bit better security for the management interface would be good,


Improve logging for transactions outputting a summary transaction and…

Improve logging for transactions outputting a summary transaction and workbasket pk and status.
Info is fetched only during stringification so cost is only incurred if logging is enabled.
In the example below it is easy to see that transactions in archived workbaskets are being checked..

Codecov Report

Merging #572 (62aeab8) into master (3141ce9) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head 62aeab8 differs from pull request most recent head bb6c9b3. Consider uploading reports for the commit bb6c9b3 to get more accurate results

@@            Coverage Diff             @@
##           master     #572      +/-   ##
==========================================
+ Coverage   92.79%   92.81%   +0.01%
==========================================
  Files         319      319
  Lines       19860    19889      +29
  Branches     1593     1593
==========================================
+ Hits        18430    18459      +29
  Misses       1137     1137
  Partials      293      293

Impacted Files
Coverage Δ

checks/tasks.py
97.10% <100.00%> (ø)

common/models/transactions.py
88.57% <100.00%> (+0.81%)
:arrow_up:

common/models/utils.py
97.87% <100.00%> (+0.50%)
:arrow_up:

common/tests/test_models.py
99.01% <100.00%> (+0.01%)
:arrow_up:

common/tests/test_models_utils.py
100.00% <100.00%> (ø)

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 3141ce9...bb6c9b3. Read the comment docs.

Probably going for a more compact format, with  pk, status  next to each other:

It strikes me looking at this, that these fields work just like "identifying_fields" in TrackedModel, maybe Transaction and Workbasket should have identifying_fields = ("partition", "order") and identifying_fields = ("pk", "status")  - though that's a little off topic.


fix panic when a not present assets is called

This PR contains 1 enhancement + 1 bug fix.
Enhancement
The results now contains the HTTP Status Code for the http probes, it allows to display it in the card of the UI:

This is more convenient than expanding the error message, and allows to search for particular error codes in the JSON results.
Bug fix
Any request to a not present asset crashes cabourotte with a panic (fatal error: stack overflow):
{"level":"info","ts":1733926719.405267,"caller":"http/handler.go:310","msg":"tt.html"}
runtime: goroutine stack exceeds<PHONE_NUMBER>-byte limit
runtime: sp=0xc020554388 stack=[0xc020554000, 0xc040554000]
fatal error: stack overflow

runtime stack:
runtime.throw({0xad87b6?, 0x47c02d?})
	/usr/lib/go/src/runtime/panic.go:1067 +0x48 fp=0x75e0609b9d00 sp=0x75e0609b9cd0 pc=0x4725c8
runtime.newstack()
	/usr/lib/go/src/runtime/stack.go:1117 +0x5bd fp=0x75e0609b9e40 sp=0x75e0609b9d00 pc=0x4566dd
runtime.morestack()
	/usr/lib/go/src/runtime/asm_amd64.s:621 +0x7a fp=0x75e0609b9e48 sp=0x75e0609b9e40 pc=0x4787ba

goroutine 19 gp=0xc000104700 m=7 mp=0xc000100708 [running]:
strings.Join({0xc000512250?, 0x1?, 0x1?}, {0xacd0ed?, 0x3?})
	/usr/lib/go/src/strings/strings.go:428 +0x465 fp=0xc020554398 sp=0xc020554390 pc=0x5334a5
github.com/mcorbin/corbierror.(*Error).Error(0xc000036740)
	/home/thomas/src/github.com/cabourotte/vendor/github.com/mcorbin/corbierror/error.go:27 +0x36 fp=0xc0205543e0 sp=0xc020554398 pc=0x93a636
github.com/mcorbin/corbierror.(*Error).Error(0xc000036740)
	/home/thomas/src/github.com/cabourotte/vendor/github.com/mcorbin/corbierror/error.go:29 +0x4a fp=0xc020554428 sp=0xc0205543e0 pc=0x93a64a
github.com/mcorbin/corbierror.(*Error).Error(0xc000036740)
	/home/thomas/src/github.com/cabourotte/vendor/github.com/mcorbin/corbierror/error.go:29 +0x4a fp=0xc020554470 sp=0xc020554428 pc=0x93a64a
github.com/mcorbin/corbierror.(*Error).Error(0xc000036740)

How to reproduce: Call anything in the path /frontend/ except index.html.
I changed the method to manage the embedded assets, the missing files are now returning 404 Not Found. It allows also to use any file in the assets folder, like bulma.min.css which was there but not used.

Hello,
Thank you for your contribution.

The results now contains the HTTP Status Code for the http probes

Having the result type not containing fields specific to an health check is on purpose. My worry is that thie type would become a big bag of unrelated fields with time if it starts to contain fields specific to one specific health check.

Hello,
Thank you for your contribution.

The results now contains the HTTP Status Code for the http probes

Having the result type not containing fields specific to an health check is on purpose. My worry is that thie type would become a big bag of unrelated fields with time if it starts to contain fields specific to one specific health check.

I see the point, but it seems to me, especially for http probes, that the result status code is an information to highlight.
Do you want me to create another PR just for the bug fix?

Do you want me to create another PR just for the bug fix?

Yes you can, yes (or I'll backport it myself, as you want).

I see the point, but it seems to me, especially for http probes, that the result status code is an information to highlight.

It would be better IMO to have a generic field in the Result struct (for example Annotation               map[string]string) that could contain these kind of information and could be reused for all health check types.

Nice idea, let me adapt this PR to introduce this concept

The modifications are pushed, the exporters and the tests are also up to date with this change


Capstone project Kanban board

Link to the project
Please find below the link to our team project 🔗
Github Project.
Members 👥
In our team, we have 3 members:

@rashedarman,
@HunterX-7    and
@chiztechnology

Hi Team,

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights
✔ Kanban board is ready.
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.