We have a catch 22 here

Hi;
In this section, where we are suppose to register a Web API app, we are required to provided the"Reply URL" like https://localhost:44316/.
But this is only known if we already had a Web API App. But my problem is, at this point I don't have a Web API App created in VS2017. Because if I try to create a new Web API App before registering my app in Azure B2C, and want to provide VS Individual User Account info, VS requires me to provide a Domain Name, Application ID. So I come to Azure to get the App ID, it asks me for Reply URL of the app that I was not able to create yet.
So, I'm stuck in this catch 22. How can I register an App, without knowing the Reply URL first?
Thanks!

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

ID: b1c2ea43-4468-6ce2-c963-6940f5cb1d34
Version Independent ID: e91ad7a8-0dbd-79b4-0f1b-b3c5a66d6d78
Content: Application registration in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-app-registration.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@BenHayat
Thanks for the feedback! We are currently investigating and will update you shortly.

@jason-j-MSFT
Thank you Jason;
Yes, this issue prevents you of creating a NEW Web API Project in VS2017 that you want to use Azure B2C and let VS do scaffolding for you.
My suggestion to fix this as following.
In VS2017 when you create a "Web Application" and then choose to use Azure B2C, in that dialog box, VS provides the information of what the port # is and the full Reply URL (I'm attaching a screen shot). If VS does the same thing with Web API project, then that solves the problem. Because we could start creating the project, get to this dialog, copy the "Reply URL" and then switch to Azure portal and provide the Reply URL to Azure to register the App.
Hope this helps

@BenHayat you can set the Reply URL to whatever page you want your user to be directed to after the user has been authenticated. Generally it's just the main homepage url (https://myapp.azurewebsites.net/"). You can also change the Reply URL after you have published the app so that it matches your application, and you can have multiple Reply URLs as well. Because you are trying to connect to an existing application (per the screenshot) it is expecting you to provide the information for that application.

Hi Marilee:
The screenshot I provided, was just to show that in VS, the dialog shows the port # that was assigned when you are about to create a "Web App" project. But in case of "Web API" project it does not provide that info and it would make life a lot easier if it did.
Here is a screenshot of when creating a Web API and you don't get that info.

In regular Azure AD you can change the reply url back after you've set it, but I'm not sure if this is the same for B2C web APIs. You should be able to search for an unregistered port and choose that one. Any insights, @davidmu1 ?

Thank you Marilee for still looking into this.
If VS team, could simply show the port # in the dialog box for Web API app (just like they do with Web App) it solves this problem for everyone.
Could you please make this request to VS team on behave of Azure team? Just a simple line that shows what port VS has assigned a the time the project was created so we can provide it to Azure Portal.
I hope someone from Azure team has a constructive solution to this issue.
Thank you in advance!

@tysonn Tyson, I'm not understanding the change required to the article referenced. It seems like a product issue between the VS engineering team and the B2C engineering team. Adding @parakhj.

Thanks for the reply and clarification. You can technically put in any value for the redirect URI, since you won't actually be using it. We are working to improve the app registration experience to make the field optional in the future. This would be great to update that in VS, as this required field causes confusion. Trust me, I've run this by several devs and they all said "You're right, it's a catch 22". I hape this simple fix can be done by VS 15.9 (ASP core 2.2) Thanks again  Regards,  Ben Hayat  Software Engineer & Architect  Business Solution Architect Phone:<PHONE_NUMBER> Skype:     microintelligence Email<EMAIL_ADDRESS>CONFIDENTIALITY NOTICE:  The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. ---- On Fri, 12 Oct 2018 15:43:32 -0400 Parakh Jain<EMAIL_ADDRESS>wrote ---- Hi Ben, Thanks for reaching out. Today, the B2C app registration experience in the azure portal requires you to input a redirect URI, even if the app registration is for a web api. But usually, web api's do not make authentication requests. They are usually presented with a token, which the API then needs to validate, and validation does not require using the redirect URI. You can technically put in any value for the redirect URI, since you won't actually be using it. We are working to improve the app registration experience to make the field optional in the future. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

I definitely understand the issue. Unfortunately, this article is meant to be generic instructions and can't cover specific issues with VS. Because the Reply URL can be changed after the application is registered, I changed the article to:

For Reply URL, enter an endpoint where Azure AD B2C should return any tokens that your app requests. For example, you can set it to listen locally at https://localhost:44316. If you don't yet know the port number, you can enter a placeholder value and change it later.

#please-close

@BenHayat  Thank you very much. I do appreciate the feedback so that we can work together to make the docs better.


Create *imrbk123abc.is-cool.dev

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description

Link to Website

I have read the CLA Document and I hereby sign the CLA


export is a reseved word

https://developer.mozilla.org/en/JavaScript/Reference/Reserved_Words
please consider also allowing exports.
vows.describe('something').addBatch().exports(module);

I've aliased it to exportTo.
Cheers

I've aliased it to exportTo.
Cheers


Refactoring Workspace JupyterHub Image

We are using as the manager of ADRF workspaces. Basically, we are leveraging the capabilities of JupyterHub / Zero to JupyterHub (z2jh) to do it.
In the workspace deployment, we are using the version 0.9.2 of JupyterHub and 0.7.0 of Z2JH.
The JupyterHub image's DockerFile is here: https://github.com/NYU-CI/zero-to-jupyterhub-k8s/tree/adrf/images/hub
The configuration file is here:  https://github.com/NYU-CI/adrf_jupyter_helm_configuration/blob/master/staging/config-rdp.yaml
Things that need to be achieved in this refactoring:

The source codes inside the configuration file (config-rdp.yaml) should be migrated to the hub image. The configuration file should not have a code.
We should try to use the newest version of Z2JH
Python Boto3 lib should be installed in the requirements.txt, and when a workspace starts and finishes, an event should be published to an AWS SNS topic;
The List of projects should not come from LDAP, this information should come from DFAdmin
The amount of memory and cpu of the remote desktop and jupyterlab containers should also come from DFadmin - Projects Tools;
The image being used to provide JupyterLab should also come from DFadmin - Projects Tools.

The name of the SNS topics are: adrf-workspace-started and adrf-workspace-stopped. They are already created in Dev and Staging.
We still need to create an IAM Role ADRFPublishToWorkspaceTopics, and add public permissions to the two Workspace SNS Topics. Ps.: Create a Policy with the same name and suffix Policy. (https://docs.aws.amazon.com/sns/latest/dg/AccessPolicyLanguage_UseCases_Sns.html)
The published message should be a JSON with the format:
{
    "username": "rafael",
    "project_id": 284
}

Boto3 Usage
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sns.html#SNS.Client.publish
https://docs.aws.amazon.com/sns/latest/api/API_Publish.html

DFAdmin holds the information of Projects, Users and Datasets in the system. The dev URL is https://dfadmin.dev.adrf.cloud and the Staging URL is https://dfadmin.adrf.info (Through VPN). At the top right corner of the screen, there is a button "API". Click this button and you will be able to see the swagger view of the DFAdmin APIs. In order to achieve the goal of this issue, we will use the projects listing API. https://dfadmin.adrf.info/api/v1/projects?member=
This URL will return all the projects associated with the user. And most of the configurations we will need to spin up a Workspace POD will come from the project tools field.
If you look for the user rafael for example, it will have the project "Export Test" and this project comes with following tools property:
"tools": [
                {
                    "notes": null,
                    "additional_info": null,
                    "tool_name": "Workspace_K8s",
                    "other_name": "",
                    "system_info": {
                        "JUPYTER_MEMORY": 1000,
                        "REMOTE_DESKTOP_MEMORY": 1000,
                        "REMOTE_DESKTOP_CPU": 1,
                        "JUPYTER_CPU": 1
                    }
                }

In order to call this API a user needs to be authenticated. We will create a user only for the jupyterhub service. For now we don't have it. But if you want to get token from keycloak, here is the CURL command:
Staging:
curl -X POST \
  https://id.adrf.info/auth/realms/ADRF/protocol/openid-connect/token \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'cache-control: no-cache' \
  -d 'username=<username>&password=<password>&client_id=vision&grant_type=password&totp=<MFA_OTP>'

From this call, you need to get the access_token and use in the following call
curl -X GET \
  https://dfadmin.adrf.info/api/v1/projects?member=<username>\
  -H 'Accept: */*' \
  -H 'Authorization: Bearer <access_token>' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Host: dfadmin.adrf.info' \
  -H 'accept-encoding: gzip, deflate' \
  -H 'cache-control: no-cache'

The new Jupyterhub image, handling the workspace life cycle will get all the information about the projects of a user from this last API.

Two pending items from original list:

We should try to use the newest version of Z2JH
Python Boto3 lib should be installed in the requirements.txt, and when a workspace starts and finishes, an event should be published to an AWS SNS topic (In progress)

There is one pending item from original list:

We should try to use the newest version of Z2JH


SVG for iOS isn't rendering

Hi Paul, I've been trying to get iOS to render my svg's for a couple hours now and have no success. It works great for Android. Any suggestions?

I've verified the embedded resource path is correct
The control is rendering background color, width, height
Android doesnt have any issues with the same code
On droid/win we call SvgImageRenderer.Init() as detailed in the docs. But not doing this for ios since the method doesn't seem to be available.

Thanks!

@tate-u Sorry you went through all this trouble. The SvgImageRenderer.Init() is not there yet because there is not support for iOS yet. I am working on implementing iOS though. It is one of my highest priorities so I will keep this issue open for now and post progress here.

Ah...well that makes more sense now. I was thinking we didn't need to call Init in iOS for some reason.
No reason to be sorry, and thanks for dedicating time to create this control!

Quick update on this. There are several approaches to implement svgs on iOS :

Create iOS bindings for something like https://github.com/SVGKit/SVGKit
Implement from scratch
Port an existing .Net SVG library to iOS
Improve an existing cross platform SVG library like : https://github.com/praeclarum/NGraphics to add support for more shapes.

I have decided to take the 4th approach by forking NGraphics and then replacing the SVGParser with a more robust parser from a .NET SVG Library (http://www.codeproject.com/Articles/127039/SharpVectors-SVG-Reloaded-An-Introduction).
If you want to follow the progress more closely star : https://github.com/paulpatarinski/NGraphics
I am probably about 1-2 weeks away from having most of the shapes working and tested, but in the end there will be a much more performant/stable implementation for both iOS and Android.
Cheers
Paul

Looking forward to it!

Update : Got iOS working last night. Need to put some finishing touches. I will be releasing an Alpha some time this week.

@tate-u http://www.nuget.org/packages/Xam.Plugins.Forms.Svg/
v >= <IP_ADDRESS> adds iOS Svg support.
There is some known missing functionality (support for gradients, animations...), but for the most part most basic svgs should render properly. Let me know if you are having issues.


Go Panic when log: is enable with out log level

Do you want to request a feature or report a bug?
Bug
Did you try using a 1.7.x configuration for the version 2.0?

[ ] Yes
[x] No

What did you do?

Accidently left log: enabled after commenting out log level: debug after ending debug session.
traefik.yml
log:
# DEBUG, PANIC, FATAL, ERROR, WARN, and INFO
#  level: DEBUG

What did you expect to see?
Default log level
What did you see instead?
Traefik failed to run. See below for log output
Output of traefik version: (What version of Traefik are you using?)

Version:      2.0.1
Codename:     montdor
Go version:   go1.13.1
Built:        2019-09-26T16:25:50Z
OS/Arch:      linux/arm

What is your environment & configuration (arguments, toml, provider, platform, ...)?
global:
  checkNewVersion: true
  sendAnonymousUsage: true

api:
  dashboard: true
  insecure: true
#  debug: true

log:
# DEBUG, PANIC, FATAL, ERROR, WARN, and INFO
#  level: DEBUG
....

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
goroutine 1 [running]:
github.com/containous/traefik/v2/pkg/config/file.decodeRaw(0x557ee40, 0x1747868, 0x57060e0, 0x15, 0x55206c0, 0xd, 0x18)
	/go/src/github.com/containous/traefik/pkg/config/file/raw_node.go:79 +0x978
github.com/containous/traefik/v2/pkg/config/file.decodeRawToNode(0x57060e0, 0x1a96a71, 0x7, 0x55206c0, 0xd, 0x18, 0x0, 0x0, 0x30)
	/go/src/github.com/containous/traefik/pkg/config/file/raw_node.go:18 +0xdc
github.com/containous/traefik/v2/pkg/config/file.decodeFileToNode(0x576e7d0, 0xc, 0x55206c0, 0xd, 0x18, 0x5, 0x5522280, 0x576e7d0)
	/go/src/github.com/containous/traefik/pkg/config/file/file_node.go:43 +0x168
github.com/containous/traefik/v2/pkg/config/file.Decode(0x576e7d0, 0xc, 0x185b480, 0x5549300, 0x3, 0x3)
	/go/src/github.com/containous/traefik/pkg/config/file/file.go:20 +0x40
github.com/containous/traefik/v2/pkg/cli.loadConfigFiles(0x0, 0x0, 0x185b480, 0x5549300, 0x318c420, 0x5696c00, 0x0, 0x0)
	/go/src/github.com/containous/traefik/pkg/cli/loader_file.go:81 +0xc4
github.com/containous/traefik/v2/pkg/cli.(*FileLoader).Load(0x54f4f30, 0x540c050, 0x0, 0x0, 0x5549380, 0x1bd64, 0x5549400, 0x40)
	/go/src/github.com/containous/traefik/pkg/cli/loader_file.go:44 +0xec
github.com/containous/traefik/v2/pkg/cli.run(0x5549380, 0x540c050, 0x0, 0x0, 0x38, 0x5549400)
	/go/src/github.com/containous/traefik/pkg/cli/commands.go:108 +0xf0
github.com/containous/traefik/v2/pkg/cli.execute(0x5549380, 0x540c050, 0x2, 0x2, 0x14e01, 0x54480b0, 0x0)
	/go/src/github.com/containous/traefik/pkg/cli/commands.go:64 +0x328
github.com/containous/traefik/v2/pkg/cli.Execute(...)
	/go/src/github.com/containous/traefik/pkg/cli/commands.go:40
main.main()
	/go/src/github.com/containous/traefik/cmd/traefik/traefik.go:65 +0x3e4
panic: Unsupported type: invalid

Feel free to close this if this is expected behavior. I find it strange that Traefik would crash instead of assuming default levels.

Hello,
It's not a valid YAML syntax, so yes this kind of error can produce some unexpected behavior.

In #5548, I remove the panic but this kind of syntax will still stop Traefik.


what is problem?

This was due to a clickHouse connection failure during mogo startup, and the latest commit code has fixed the issue by adding retry logic.


Update repo URLs in README

The README file still points to old repo URLs, this PR is fixing it :)

Oops! Thank you for fixing this!


Release/2.0.0 beta.1

Closes #292
@rbarilani I left the breaking changes info regarding dc-dialog__overlay in the changelog. Should we remove it or leave it?
A couple of tweaks had to be made to SC to make the new DC work correctly. Nothing major but some teams may be annoyed a bit.

👍

👍
@gregdeane I would leave the BC message.

@rbarilani let us know if you need the release merge removed from develop branch. If I'm not available, please ask @cjhowald or @frontendherodk.
As for squashing commits... This may be possible currently but I believe once we upgrade to GitHub approval flow, it will no longer be possible. I might be wrong. That said, we may want to make our peace with unsquashed commits.


Adding method to recover if specific error happens

We currently have a recover method that gives the opportunity to the user to check the incoming error and recover it to a success full state or to another error type.
The new recoverIf method brings a more specific approach, where the error type can be passed as a parameter and the closure will be called with a casted error if the error type matches.

The recover method recovers any error and is the developer responsibility to switch the incoming error and cast it if needed (something that will happen very often).
The recoverIf method recovers form a single error type and it delivers it already casted.
For example, using the recover method:
future.recover { error in
    switch error {
    case is CoreError.NotFound:
        // do stuff 1
        return Future(42)
    case is CoreError.NotValid:
        // do stuff 2
        return Future(42)
     default:
         // Otherwise, return the same error
         return Future(error)
    }
}

Same code using the recoverIf method:
future.recoverIf(CoreError.NotFound.self) { error in
        // do stuff 1. Note that error is already casted.
        return Future(42)
    }.recoverIf(CoreError.NotValid.self) { error in
        // do stuff 2. Note that error is already casted.
        return Future(42)
    }.recover { error in  // <-- actually, this is call to recover is no longer needed.
        // Otherwise, return the same error.
        return Future(error)
}

Then, the proposal is then to remove the recover method and replace it by the recoverIf?

OK, we don't have this function in kotlin as I don't see the value of it because most of the time you need to handle more than one type of error but as it's a helper function I'll approve it.
The name doesn't reflect what it does because it's doing the same thing as the recover function but only casting it.
Swift support overloaded functions with the generic? I mean, having the same name in both functions but only has a generic type and another one nope.

@joselufo, yes, we could use the same name recover in both methods. What do you think @RubenVot? :)
Option A:

recover() { error in ... /* error might be any*/}
recoverIf(errorType) { error in ... /*error is casted*/}

Option B:

recover() { error in ... /* error might be any*/}
recover(errorType) { error in ... /*error is casted*/}

Your votes please?

@joselufo, yes, we could use the same name recover in both methods. What do you think @RubenVot? :)
Option A:

recover() { error in ... /* error might be any*/}
recoverIf(errorType) { error in ... /*error is casted*/}

Option B:

recover() { error in ... /* error might be any*/}
recover(errorType) { error in ... /*error is casted*/}

Your votes please?

We can make A more Swifty, using labels:

recover() { error in ... /* error might be any*/}
recover(ifMatching errorType) { error in ... /*error is casted*/}

But if we don't like this additional verbosity then B over the original A.

I already had approved :)
Don't have a big opinion about this. Both recover or recover/recoverif work for me. I might prefer Joan's option recoverIf because it is more explicit, but not worried about it.
Neutral vote.

I prefer option B as recoverIf() from my point of view doesn't reflect what it's doing so if we are doing the same just casting the type we can use the same name with a extra parameter.

@newboadki what about some intermediate:

recover() { error in ... }
recover(if: errorType) { error in ... }

Do we have an agreement? hehehe :)
p.s. I know this is such a minor thing, but it is nice to engage discussions with you :) <3. Looking forward for real significant pull requests!

Changes applied. Added method to Obserbable<T> as well.


Text case change with keyboard shortcut

It would be good to be able to change case of selected text to upper case /lower case with keyboard shortcuts like in VS

Ctrl + U : make selected text lowercase (eg: abc)
Ctrl + Shift + U : makes selected text uppercase (eg : ABC)

I searched for extensions in the VS Code Marketplace and got what is I want.
Thanks


gulp install command

Followed your instructions on my mac.  Could not get gulp to run, got error below.
Did some checking, and apparently i had to install gulp using npm install -g gulp-cli, which worked.
MacBook-Pro:bootstrap4 user$ gulp dev
[10:24:32] Using gulpfile ~/Projects/BootstrapCSS/bootstrap4/gulpfile.js
/Users/user/.npm-global/lib/node_modules/gulp/bin/gulp.js:129
gulpInst.start.apply(gulpInst, toRun);
^
TypeError: Cannot read property 'apply' of undefined
at /Users/user/.npm-global/lib/node_modules/gulp/bin/gulp.js:129:20
at process._tickCallback (internal/process/next_tick.js:61:11)

Same here


小米账户登录失败，mi.com可以正常登录

已经尝试过关掉网络相关插件，仍然无法登录，以下是完整日志
2022-06-16 11:33:55 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-16 11:33:55 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-16 11:34:18 WARNING (SyncWorker_3) [custom_components.xiaomi_miot.core.xiaomi_cloud] Error while decrypting response of request to https://api.io.mi.com/app/home/device_list :

504 Gateway Time-out

504 Gateway Time-out
Powered by Tenginetengine

2022-06-16 11:34:18 WARNING (SyncWorker_3) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: home/device_list {'getVirtualModel': True, 'getHuamiDevices': 1, 'get_split_device': False, 'support_smart_home': True} failed, result:

504 Gateway Time-out

504 Gateway Time-out
Powered by Tenginetengine

2022-06-16 11:34:18 WARNING (SyncWorker_3) [custom_components.xiaomi_miot.core.xiaomi_cloud] Got xiaomi cloud devices for<PHONE_NUMBER> failed: {}
2022-06-16 11:34:18 WARNING (MainThread) [custom_components.xiaomi_miot] None device in xiaomi cloud:<PHONE_NUMBER>
2022-06-16 11:35:23 ERROR (MainThread) [custom_components.xiaomi_miot.config_flow] Setup xiaomi cloud for user:<PHONE_NUMBER> failed: Login failed
2022-06-16 11:35:33 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Timeout fetching xiaomi_miot-mihome-message-2656251828 data
2022-06-16 11:35:48 ERROR (MainThread) [custom_components.xiaomi_miot.config_flow] Setup xiaomi cloud for user:<PHONE_NUMBER> failed: Login to xiaomi error: {'location': 'https://sts.api.io.mi.com/sts?d=wb_1c2eeeee-55ed-4699-b008-4d9219aac22f&ticket=0&pwd=1&p_ts=1655379348000&fid=0&p_lm=1&auth=Q78yjbZ7hBxe%2Fw5xkBXEBKusRl3nWk5m2lguL7Kl5c%2FVX4dtdV%2Bevvdd2JRJSuBs4HaNUABcn5LoiDEn%2F%2FzSEhELGFwQPTzQaGg%2BuNHLjxtoB45kwy0Bn91gdu7x61tibHgne%2FhkwgdXZKYVae9k%2FlNcgADc0tuDq0vRncgt2ts%3D&m=1&tsl=0&nonce=3mEy%2B3%2BxprgBpPwX&_ssign=Z%2Bwzov52kny6iMFeTbVuns5k63o%3D', 'status_code': 200, 'cookies': {}, 'response': '{"code":-12, "message":"throttle deny agw"}'}
2022-06-16 11:35:52 WARNING (SyncWorker_1) [custom_components.xiaomi_miot.core.xiaomi_cloud] Error while decrypting response of request to https://api.io.mi.com/app/v2/message/v2/typelist :Gateway Timeout
2022-06-16 11:35:52 WARNING (SyncWorker_1) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} failed, result: Gateway Timeout

貌似日志的内容会触发md，建议看原文？

米家服务器于今日19点左右开始不稳定，请耐心等待。

嗯，也是才刚发现米家app内也有问题


Add project content type

This is supported out of the box with the forked project. Some changes will need to be made to allow for some customizations.


Change the cases at a few places in help message

What is the purpose of this change? What does it change?

It changes the case of the words at a few places in help message for odo config -h.
Was the change discussed in an issue?
fixes #1661
How to test changes?

/approve

/lgtm

Compiler:"", Platform:""}
error: You must be logged in to the server (the server has asked for the client to provide credentials)
make: *** [configure-installer-tests-cluster] Error 1

/retest

/retest
Login failure #1638
 Please log in to the cluster


storage: Fix linter issue

Go style tries to avoid indented else blocks.
@tattsun

lgtm 👍

Oh, sorry. Thanks!


MMS transcribe audio.wav is error

👉 python examples/mms/asr/infer/mms_infer.py --model "/path/to/asr/model" --lang lang_code \
--audio "/path/to/audio_1.wav" "/path/to/audio_2.wav" "/path/to/audio_3.wav"
It throws the error is  RuntimeError: Error(s) in loading state_dict for Wav2VecCtc:         Unexpected key(s) in state_dict: "w2v_encoder.w2v_model.encoder.layers.0.adapter_layer.W_a",  "w2v_encoder.w2v_model.encoder.layers.0.adapter_layer.W_b", "w2v_encoder.w2v_model.encoder.layers.0.adapter_layer.b_a",  "w2v_encoder.w2v_model.encoder.layers.0.adapter_layer.b_b", "w2v_encoder.w2v_model.encoder.layers.0.adapter_layer.ln_W",  "w2v_encoder.w2v_model.encoder.layers.0.adapter_layer.ln_b", ....
the model is mms1b_all.pt.
python version :python3.9
cuda: 11.7
torch:1.13.1
how to solve this error.

Have you pull to the latest fairseq-py master branch?

Have you pull to the latest fairseq-py master branch?
fairseq version is 0.12.2?is it OK?

Have you pull to the latest fairseq-py master branch?
I change the torch version to 2.0.1.  got the same errors .but it run successfully on colab? so what is wrong with my env?
fairseq-0.12.2
pytho-3.9.10
torch-2.0.1
cuda11.7
ubuntu 20.4
model is mms1b_all.pt

BTW, it should now be very simple to use MMS with transformers:
See:

https://huggingface.co/docs/transformers/main/en/model_doc/mms
https://github.com/huggingface/transformers/pull/23813
https://huggingface.co/facebook/mms-1b-all

BTW, it should now be very simple to use MMS with transformers:
See:

https://huggingface.co/docs/transformers/main/en/model_doc/mms
[MMS] Scaling Speech Technology to 1,000+ Languages | Add attention adapter to Wav2Vec2 huggingface/transformers#23813
https://huggingface.co/facebook/mms-1b-all

Thansk, it's solved by following your guide


Question: Will some of the extensions, like ToC, gist work w/ custom kernels?

I'm wondering if these extensions (or at least a subset of them) are expected to work with arbitrary custom kernels. Obviously magics will not be guaranteed to work with any kernel, but ones like gist, ToC, etc. should, no?
Thanks!

The nbextensions should work with any kernel, but the ipython extensions only work with the IPython kernel.

great, thanks!


World map location for Vannaka easy cryptic clue is incorrect

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 11
Bug description
While doing an easy clue I found out that the location of a map marker for the vannaka step is way off. it's located north-east of where it should be.
Screenshots or videos

RuneLite version
Runelite Version: <IP_ADDRESS>
Launcher Version: 2.4.0
Logs
No response

fix: https://github.com/runelite/runelite/pull/15211
It seems there is two cryptic clues that have you seek out Vannaka. One has the correct coordinate and the other has an incorrect 'x' coordinate.


Importing QB resets CSS

It appears the QB is interfering with styling of other parts of the app.
Here's a screen shot form part of my mono repo where the app uses QB:

And another part of the mono repo where QB is not used.

I'm not 100% sure, so correct me if I'm wrong but QB appears to be working in such away that it interferes with apps the try to use it. (This seems consistent with a problematic theme in this SDK.  It appears to be an app that was hurriedly open sourced opposed a component library and object model that was designed for a happy Dx.)

fixed - thanks for accepting PR


python312Packages.apricot-select: drop nose dependency

Description of changes

#326513

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg eval

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

4 packages built:

python311Packages.apricot-select
python311Packages.apricot-select.dist
python312Packages.apricot-select
python312Packages.apricot-select.dist

on ofborg the tests hang and time out

yes that why there is a doCheck = false;

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

4 packages built:

python311Packages.apricot-select
python311Packages.apricot-select.dist
python312Packages.apricot-select
python312Packages.apricot-select.dist


Grammarly Clone

Hi, I am TRIDIB BAG. I'm a GSSoC22 participant.
I want to add Grammarly Character Counter clone  with proper documentation as there is nothing regarding this . I'm really want to contribute in this topic .

/assign


Implement Data Loading Step in ETL Data Pipeline

Implementing Data Loading Step in ETL Data Pipeline has been completed.

Implementing Data Loading Step in ETL Data Pipeline has been completed.


[Snyk] Upgrade i18next from 23.7.1 to 23.7.7

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade i18next from 23.7.1 to 23.7.7.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 6 versions ahead of your current version.
The recommended version was released 22 days ago, on 2023-11-28.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Check out a preview of your pull request here: https://app-servicecanadalabs-dev-pr-preview-1.azurewebsites.net


Refactor promises in throws method

Regardless of issue https://github.com/sindresorhus/ava/issues/123, I think the promise code in x.throws might be written more cleaner.

This is odd, because of this minor change, 40 tests are failing.

@SamVerschueren see my comment here if you want to fix that.

Could you update it to:
return fn
  .catch()
  .then()

instead of shortcut form?

@vdemedes See: https://github.com/sindresorhus/ava/pull/124#discussion_r43855517

@sindresorhus this applies if we have .then() and .catch() in that order.
.then(yes, no) is a shortcut for .catch(no).then(yes).

@vdemedes It is not a shortcut:
Promise.reject('err').catch(() => null).then(() => console.log('success'))
//=> outputs: success

Promise.resolve(() => console.log('success'), () => null)
//=> no output

@schnittstabil https://github.com/petkaantonov/bluebird/wiki/Promise-anti-patterns#the-thensuccess-fail-anti-pattern

My suggestion is to convert this:
.then(function () {
			x.throws(function () {}, err, msg);
			}, function (fnErr) {
 				x.throws(function () {
 					throw fnErr;
 				}, err, msg);
 			});

to this:
.catch(function (fnErr) {
	x.throws(function () {
		throw fnErr;
	}, err, msg);
})
.then(function () {
	x.throws(function () {}, err, msg);
})

…  and rationalize to yourself that at least the code is "less coupled" or something.
I don't do that :bowtie:

@vdemedes if you really, really, really want to avoid .then(…, …) then you may prefer:
	if (fn && fn.then) {
		return new Promise(function (resolve, reject) {
			fn.then(function () {
				try {
					x.throws(function () {}, err, msg);
				} catch (e) {
					reject(e);
				}
			}).catch(function (errFn) {
				try {
					x.throws(function () {
						throw errFn;
					}, err, msg);
					resolve();
				} catch (e) {
					reject(e);
				}
			});
		});
	}

@schnittstabil The reason I created this PR was to make the code cleaner, not make it more complex :). So your example is definitely a no-go.
@vdemedes Suggestion doesn't work
Example
var Promise = require('bluebird');

Promise.reject(new Error('foo'))
    .catch(function (err) {
        console.log(err.message);
    })
    .then(function (success) {
        console.log(success);
    });
// => foo
// => undefined

Promise.resolve('bar')
    .catch(function (err) {
        console.log(err.message);
    })
    .then(function (success) {
        console.log(success);
    });
// => bar

Promise.reject(new Error('foo'))
    .then(function (success) {
        console.log(success);
    }, function (err) {
        console.log(err.message);
    });
// => foo

Promise.resolve('bar')
    .then(function (success) {
        console.log(success);
    }, function(err) {
        console.log(err.message);
    });
// => bar

It looks like the only option is the then(success, err) one. If you don't want to use that one, just keep it the way it is :).

It looks like the only option is the then(success, err) one.

I'm fine with using this pattern. It's IMHO only an anti-pattern when you use it thinking it's a shortcut for .catch().

Ok, let's merge this and we'll see what we can do later.


Update to 2.14.1

This is an important security update:
http://marc.info/?l=git&m=150238802328673&w=2

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

The AppVeyor build failed because of an HTTP error, so I restarted the build.

Thanks @mingwandroid.


any interest in porting to Firefox (as an add-on)?

It'd be great to use this in the main add-on area of the nav bar rather than the bookmarks bar.
Any interest in getting that working on Firefox? Asking before I start looking at that in case others already have.

Having this ported to Firefox and published to addons.mozilla.org would be awesome for people using Firefox as their main dev browser!
This extension is very useful.
Firefox now supports a bunch of WebExtensions API like Chrome does, so, potentially, there isn't a lot of work involved, but I don't know for sure.

🙋

I whipped up a quick wrapper extension using WebExtensions:  https://github.com/protestContest/whatfont-webextension
Tested in Firefox, but I think it should work in any browser that supports WebExtensions. Let me know if I'm violating the license or anything.


Versioning support, bulk of complex testing

Resolves #20 with the introduced marker min_version(api_version), so tests only run when specified with a later version. The env var ARRAY_API_TESTS_VERSION allows one to specify a version to test with, which currently defaults to xp.__array_api_version__ and fallsback to "2021.12".
Covers complex testing for extended and new functions in the 2022.12 spec. Does not cover outside of that yet, nor complex special cases—something for a future PR.
Realise I need to update Hypothesis first so it recognizes 2022.12 before I'd want this merged.

Does hypothesis use the api_version keyword to __array_namespace__? https://data-apis.org/array-api/draft/API_specification/generated/array_api.array.array_namespace.html#array_api.array.array_namespace (not that anything even has that outside of numpy.array_api)?

I tried running this on https://github.com/data-apis/array-api-compat/pull/14 and there were several failures (outside of the expected XFAILs).
FAILED array_api_tests/test_creation_functions.py::test_asarray_arrays - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_creation_functions.py::test_full_like - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_creation_functions.py::test_ones_like - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_creation_functions.py::test_zeros_like - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_data_type_functions.py::test_result_type - TypeError: result_type() received an invalid combination of arguments - got (torch.dtype, torch.dtype), but expected one of:
FAILED array_api_tests/test_linalg.py::test_matrix_transpose - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_linalg.py::test_vecdot - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_manipulation_functions.py::test_concat - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_manipulation_functions.py::test_stack - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_add[add(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_add[__add__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_add[__iadd__(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_add[__iadd__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_divide[divide(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__truediv__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__itruediv__(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__itruediv__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_equal[equal(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_equal[__eq__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_log1p - AssertionError: out=inf, but should be roughly log1p(x)=87.49823360321435 [log1p()]
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[multiply(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__imul__(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__imul__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_not_equal[not_equal(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_not_equal[__ne__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_pow[pow(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__pow__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__ipow__(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__ipow__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x1, x2)] - AssertionError: out.dtype=int8, but should be int32 [__mod__(int32, int8)]
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[subtract(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__sub__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__isub__(x1, x2)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__isub__(x, s)] - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch
FAILED array_api_tests/test_searching_functions.py::test_where - hypothesis.errors.InvalidArgument: dtype=torch.complex64 not recognised in array_api_compat.torch

(there might be more too since the known xfails were all skipped).

Does hypothesis use the api_version keyword to __array_namespace__?

Nope. It uses __array_namespace__() just for a throaway check is all.

several failures

Thanks for the report, I've identified a few issues before we can get this in. I'll prioritise resolving them so hopefully end of next week everythings up-to-speed.

Thanks for the report, I've identified a few issues before we can get this in. I'll prioritise resolving them so hopefully end of next week everythings up-to-speed.

I should of mentioned last week I think I've addressed any blocking issues @asmeurer. So I'll continue to work on this branch, but if things look good to you it's okay to merge as-is on my end.

Let's merge this. I'll open an issue if I notice any issues with testing the compat library.


Put only last version in dist

dist folder should only contain last version, without version number suffix.
Package manager are here to handle the version we install & configuration / import file link to dist/lib_name.js. Having to handle version number everywhere is painfull.

:+1:


Don't bundle search script, serve as a static asset instead

Fixes #777

This seems to fix #777. I still think there's a better way to go about it and thought I was on a good thread by looking at the defer property when loading the script, but was still running into the same issue.
This fix instead is a bit more rudimentary. Instead of bundling the search.js file into the main.js bundle built with each page, I moved the search.js file to the static directory and serve it up as a normal script only on the search page. The upside is that I didn't realize we were serving the search.js contents on every page, so while this script is no longer minified, it's being served significantly less and reduces the sizeof every page load on the site.


chore(master): release 1.1.23

:robot: I have created a release beep boop
1.1.23 (2023-08-15)
Bug Fixes

deps: update dependency laravel/framework to v10.19.0 (171314c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-stripe-webhooks/releases/tag/v1.1.23 :sunflower:


Vacant Property Count

When Zooming on Vacant Property Map (using mouse), the total property count varied above 35K (47K, 52K, 67k)
Steps to reproduce the behavior:

Go to www.cleanandgreenphilly.org
Click on "Find Properties"
Use mouse to zoom in/out
See error in Total Property Count ranging on up to 67,097
Have not added any Filters (checked in the moment, when trouble shooting to ensure these were clear)

Would expect count NOT to exceed ~35,227 when looking at the entire map range for Philadelphia.

macOS 10.15
Chrome
Tried to reproduce at 3:27PM 2024-11-20 and could not, property range came in at 35,227 as expected.

I've seen this happen, and, generally, the changing numbers of properties depending on the zoom level was confusing to people in our workshop. There may be room for a smarter rewrite of this feature to avoid this problem entirely.
However, what I think is happening is that the FE is briefly using both the point and polygon layers of the pmtiles as it switches zoom levels, which is basically doubling the number of observations when toggling between zoom levels. There's probably an easy way to avoid this.


Instructions out of date for RHEL 8/9

When I try to install Ruby on RHEL (8/9), then yum and dnf note that there is no package called libyaml-devel, and that the version of GCC cited no longer exists.
Let's remove the -6 version suffix entirely from the GCC package, for maintainability with future OS versions that will grow this number over time.
In recent versions of RHEL, the libyaml-devel package is hidden by default. RHEL users will need to explicitly enable some package groups:
# RHEL 8 based distros:
dnf config-manager --set-enabled powertools

# RHEL 9 based distros:
dnf config-manager --set-enabled crb

dnf install libyaml-devel

Per https://github.com/rvm/rvm/issues/5288#issuecomment-1387705721
For comparison, RVM uses Ruby's built-in libyaml implementation:
https://github.com/rvm/rvm/issues/2998#issuecomment-330061538
Ruby is one of the more complicated programming languages to install. Would be nice to have a tarball of pre-compiled binaries, independent of package management install media, in order to provide a dead simple way to get Ruby in contexts like ephemeral CI/CD environments and Docker FROM scratch images.

What's more, the instructions differ between the old CentOS variant vs RHEL.
CentOS used a repository called powertools, a debranded copy of codeready builder for rhel. In other words...

CentOS: sudo dnf config-manager --set-enabled powertools
RHEL: sudo subscription-manager repos --enable codeready-builder-for-rhel-<your RHEL major version here>-x86_64-rpms

Hi, thanks for bringing this to my attention. I've updated CentOS/RHEL instructions to read:
yum install -y autoconf gcc patch bzip2 openssl-devel libffi-devel readline-devel zlib-devel gdbm-devel ncurses-devel tar

The wiki where these instructions are is community-editable, so feel free to make tweaks to the instructions too. I'm personally not familiar with most operating systems that we maintain installation instructions for, so I'm dependent on people like you to keep the instructions valid and up-to-date for the systems you have experience with.


fix: send asset metadata create_time & update_time to Compass

Compass request data structure did not support sending the create_time and update_time parsed from data present in extractors. For example, this would be the time a table was created in a database and the time it was last updated at.

Update Proton's commit ID to pull in changes that add create_time and update_time fields in each of the asset metadata types - table, user, topic etc.
Populate Asset.Data.{CreateTime, UpdateTime} and stop populating Asset.{CreateTime,UpdateTime} (these fields are used by the system to track the first and last injestion run that inserted/updated the asset).

Depends on https://github.com/odpf/proton/pull/191.
Closes #409.

@StewartJingga this PR can be reviewed now. Have verified changes to the best of my ability. Will remove the draft status once https://github.com/odpf/proton/pull/191 is merged and the proton commit is updated.


Fixes for agent:

connect to address-controller in brokered space (setup ca secret and env var, use correct port)
handle failure to delete/create addresses on broker better
handle deletion of topics with existing subscriptions
don't delete temporary queues

@grs Ah, it wasn't set for the brokered address space! :+1:

@grs It should still use 443 instead of 8081 i think though, because the PORT_HTTPS is only available when running in single-tenant mode.


I've run into another problem in exporting ;w;

Sirs! I don't even know what I missed from the tutorial ;w;
Please help. Thanks a lot ♥

Please ask in Sollumz' help channel, that's what it's there for.
your mesh has no Sollumz materials, hence it was skipped.

Please ask in Sollumz' help channel, that's what it's there for. your mesh has no Sollumz materials, hence it was skipped.

Thank you so much for your kind advice. And so sorry if I put my question in the wrong place. So new here. Thanks!


Make drush optional

Would you be up for making the drush installation/configuration optional? My reasoning is that at work, we use Drupal VM on projects other than Drupal. Mainly Wordpress, and it fits perfectly. Drush is really the only non-optional installation step that's not useful for general php projects. https://github.com/generoi/bedrock/blob/genero/config/drupal-vm.config.yml
If we end up merging https://github.com/oxyc/drupal-vm/commit/8265f232e457d5ab4282c49777d0542a313d84fa that vars/main.yml could be a good spot to place the default variable if we want to "hide" the functionality.

I think this is a good idea... but I'd like to fix up my geerlingguy.drupal role so it can be used (maybe within a loop even) to do Drupal installs instead of all the custom stuff in task includes in Drupal VM.
I'm thinking if we can define a list of drupal_sites (default to just the one), and that loop can be passed to the included role that allows install by makefile or composer, that kind of setup would be by far the nicest/most streamlined.
There are a few other architectural changes that would need to be made, but it could make Drupal VM a lot more flexible—and offer a great solution to other users who just want a good geerlingguy.drupal role to use.

I like the idea of having multiple Drupal sites, I was going to open an issue to request it (since I support about 40 Acquia Cloud sites, something DD2 does do well).

Related to supporting multiple site installations #181, #33, #10.

One issue that will come up once we do this is that the you would need to use arrays to reference the drupal variables in apache_vhosts and nginx_hosts.
apache_vhosts:
  - servername: "{{ drupal_sites[0].drupal_domain }}"
    documentroot: "{{ drupal_sites[0].drupal_core_path }}"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://<IP_ADDRESS>:9000{{ drupal_sites[0].drupal_core_path }}"

This will break https://github.com/geerlingguy/drupal-vm/blob/master/Vagrantfile#L35:L40 as it does not support arrays at the moment.
Maybe we can somehow use with_items for the webserver roles as well?

Though I've got my memory/cpus bumped, I thought it might be useful to note that currently my VM is running 13 websites (D7), and I've seen it run at ~25 previously.
It's Drupal-VM, though I use bash scripts to build sites on demand on the top of it via drush.
In my case, I've now got drush running exclusively through my own version control system.
It's also worth noting that the speed would be significantly better for others installing Drupal via drush to not use Drush. I really haven't been fond of the speed when I had it enabled when I started using drupal-vm.

For reference I played around and came up with a proof of concept which would support accessing lists and hashes.
diff --git a/Vagrantfile b/Vagrantfile
index e688613..82dfb5f 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -26,6 +26,8 @@ end

 # Use config.yml for basic VM configuration.
 require 'yaml'
+require 'erb'
+require 'ostruct'
 dir = File.dirname(File.expand_path(__FILE__))
 unless File.exist?("#{dir}/config.yml")
   raise 'Configuration file not found! Please copy example.config.yml to config.yml and try again.'
@@ -35,9 +37,16 @@ vconfig = YAML.load_file("#{dir}/config.yml")
 # Replace jinja variables in config.
 vconfig = walk(vconfig) do |value|
   while value.is_a?(String) && value.match(/{{ .* }}/)
-    value = value.gsub(/{{ (.*?) }}/) { vconfig[Regexp.last_match(1)] }
+    value = value.gsub(/{{ (.*?) }}/) do
+      expr = Regexp.last_match(1).gsub(/\.([^\[]+)/) { "['#{Regexp.last_match(1)}']" }
+      "<%= #{expr} %>"
+    end
+  end
+  if value.is_a?(String) && value.match(/<%= .* %>/)
+    ERB.new(value).result(OpenStruct.new(vconfig).instance_eval { binding })
+  else
+    value
   end
-  value
 end

 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

Basically I transform the jinja syntax to ERB syntax and then use ERB. I guess there might be a way to optimize the performance here.
I tested that this supports:
drupal_core_path: "{{ vagrant_synced_folders[0].destination }}/drupal"

I noticed that projects like Acquia's BLT are including Drush as a project dependency via Composer. So I'm even more inclined to make Drush optional, just like Drupal Console, and maybe not include either by default (but have Drush be a dependency of the included/example Composer projects. This would add a step for those using Drush make files—they would need to make sure drush is active inside installed_extras. But it would save 30-60s of setup time for those who already build Drush into their own project.

drupal-project has the same setup as well. Personally I would continue to install it as that makes drush available everywhere on the VM and the project specific drush installation is not available in the users $PATH. Drush delegates all commands to the project specific drush installation if it finds one though. This last part is the main reason why I have drush as a dependency.

Now that you mention it, I guess it's pretty rare that I actually run drush commands outside the project directory on the VM though...
One issue is that we need to define the %drush-script in our drush aliases.
If I run drush @dev status this command is issued:

ssh -o ForwardAgent=yes -o PasswordAuthentication=no -i /Users/cindy/.vagrant.d/insecure_private_key<EMAIL_ADDRESS>'env COLUMNS=161 drush  --local --alias-path=/Users/cindy/Projects/Personal/d8/drush --debug --uri=d8.dev --root=/var/www/drupalvm/web --verbose  core-status 2>&1'

Which only then detects my local drush dependency:

Using the Drush script found at /var/www/drupalvm/vendor/drush/drush/drush.launcher using pcntl_exec

Fixed.


Erick leon

Checklist:

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

It looks like your current branch is out of sync and out of date because I see questions in the PR that are already in the main branch.
I am going to close this PR.
Please delete this branch, update your main branch and then create a new branch which will have all of the latest changes.
Then you can create a new PR for your questions. 👍


Delivery failure

Changes

:gift: Add delivery failure (like for channels: https://knative.dev/docs/eventing/event-delivery/#configuring-channel-event-delivery)

/kind enhancement

Fixes #1154

Release Note

Added error information to failed messages

/cherry-pick release-1.11

/cherry-pick release-1.11


automatically determine project type

after we import data from production we want to determine the project type. Some of those we can determine from the project code (eg ends with -flex) but that only gets us so far.
We should be able to use this API in hg web /sena-3/file?style=json-lex to get a list of files in the root of the repo. That may be enough to determine different project types. For example FLEx projects have a file called FLExProject.ModelVersion, we'll need to check on the following products to see what they look like and how we can distinguish them.

[ ] FLEx file FLExProject.ModelVersion exists
[ ] WeSay file ending with .WeSayConfig exists
[ ] OneStory Editor file OsMetaData.xml exists
[ ] OurWord

by default many of the projects will have an unknown project type. We should make a couple APIs we can manually call through swagger to trigger a refresh of a project type. To start with maybe one to refresh the type for a specific project. And one to refresh the types for the first N unknown projects in the DB.

Not all OneStoryEditor projects will have an OsMetaData.xml file, as that was apparently added in more recent versions of OSE. However, OSE projects can be reliably determined by looking for a file named (project code).onestory, but NOTE that the filename may contain uppercase letters (e.g., if the user named the project QAA-Robin the project code would be qaa-robin but the .onestory file would be QAA-Robin.onestory).


CI fails with GitHub Actions version 20220605.1, while 20220530.2 was good, saying ld: error: unable to find library -lgcc

This is ok:
Current runner version: '2.292.0'
Operating System
  macOS
  11.6.6
  [2](https://github.com/fzyzcjy/flutter_rust_bridge/runs/6792167664?check_suite_focus=true#step:1:2)0G624
Virtual Environment
  Environment: macos-11
  Version: 202205[3](https://github.com/fzyzcjy/flutter_rust_bridge/runs/6792167664?check_suite_focus=true#step:1:3)0.2
  Included Software: https://github.com/actions/virtual-environments/blob/macOS-11/20220[5](https://github.com/fzyzcjy/flutter_rust_bridge/runs/6792167664?check_suite_focus=true#step:1:5)30.2/images/macos/macos-11-Readme.md
  Image Release: https://github.com/actions/virtual-environments/releases/tag/macOS-11%2F20220530.2
Virtual Environment Provisioner
  <IP_ADDRESS>-main-20220531-1

This fails:
Current runner version: '2.292.0'
Operating System
  macOS
  11.6.6
  [2](https://github.com/fzyzcjy/flutter_rust_bridge/runs/6792167757?check_suite_focus=true#step:1:2)0G624
Virtual Environment
  Environment: macos-11
  Version: 20220605.1
  Included Software: https://github.com/actions/virtual-environments/blob/macOS-11/20220605.1/images/macos/macos-11-Readme.md
  Image Release: https://github.com/actions/virtual-environments/releases/tag/macOS-11%2F20220605.1
Virtual Environment Provisioner
  <IP_ADDRESS>-main-202205[3](https://github.com/fzyzcjy/flutter_rust_bridge/runs/6792167757?check_suite_focus=true#step:1:3)1-1

with error:
= note: ld: error: unable to find library -lgcc
          clang-12: error: linker command failed with exit code 1 (use -v to see invocation)

Environment

https://github.com/actions/virtual-environments/blob/macOS-11/20220530.2/images/macos/macos-11-Readme.md
https://github.com/actions/virtual-environments/blob/macOS-11/20220605.1/images/macos/macos-11-Readme.md

Diff:

https://github.com/actions/virtual-environments/compare/macOS-11/20220605.1...macOS-11/20220530.2?diff=split

https://stackoverflow.com/questions/68873570/how-do-i-fix-ld-error-unable-to-find-library-lgcc-when-cross-compiling-rust
https://github.com/rust-lang/rust/pull/85806
maybe related to android ndk version bump?

https://github.com/fzyzcjy/flutter_rust_bridge/issues/149

@Desdaemon  A bit more digging led me to https://github.com/rust-lang/rust/pull/85806#issuecomment-941058074 which suggests that NDK version 22 is baked into the compiler, so unless you are dependent on NDK 23 features I think using an earlier version is the only way for now, barring compiling Rust itself.

Attempt: https://github.com/fzyzcjy/flutter_rust_bridge/commit/51799779e7bd16bdfdbca0d247668732181abcc4

https://github.com/actions/virtual-environments/issues/5595

How pytorch workaround it: https://github.com/pytorch/pytorch/commit/5513cb82db612c90fde43841df215347b2ee30b5

Already solved


Allow keyId to be mutated by actual signature

Only proposer keyId should be pre-defined before payload signatures.
For authorizer signatures, signers should be able to sign with any keys as long as the total weight is over 1000.
This PR removes the limit that authorizer keyId need to be known beforehand during the initial construction of the transaction, and use whatever signatures are actually provided.

@boczeratul This entire piece is going to be replaced to support pre-authz. Pre-authz should give you the flexibility to do what you need here. I don't think it specifically handles this exact situation but should give you a substantial amount of room to get around it. I've been digging into the encoding and how we send things to the access node a fair bit lately and I believe you are correct in this PR so will see if i can work it into what's coming.
I believe this whole situation is a weird hold over from when we first added in the proposer concept to the transactions. Will be nice to clean this up.
Going to close as this file is going away tomorrow, but will reference it when I go to make this a thing.


Length of clips

There is a column with start_time but no mention of duration. Is duration mentioned in the paper somewhere?

I found it, 10 seconds seems to fit well some of audio clips + caption that I checked, then ctrl + f "10 second" in the paper and there it is.

FYI -- If you have not downloaded the audio files, this repo provides you with an easier way to do that.
https://github.com/XinhaoMei/ACT?tab=readme-ov-file#set-up-dataset

great! I will close the issue for now!
Also, FYI, we will release the audios for downloading with twice the dataset in the near future!


Add "stale documentation" banner

Notify when version of the API docs being viewed are stale

Based on this, it seems like this is coming from readthedocs

Read the docs is saying "Read the Docs Addons will be enabled by default on October 7th — Read the full announcement in our blog to know if your project will be affected and how to update."
Source: https://readthedocs.org/projects/pymc-marketing/builds/25345886/


Use ExecOptions.cwd

See actions/toolkit#165.
This PR is based on numworks/setup-msys2#24.

ping @Ecco


VM snapshots for fast provisioning

I have been now using MANTL for a while, and we would like to use it my group to rapidly deploy applications. One major problem in achieving fast deployment/scalability is that it takes long time to deploy software via Ansible. I think this can be done faster having some snapshots of the various entities (control/edge/resource), and booting from the point where the machines are already provisioned. I think this would be a nice improvement, did you think about that?

We currently build a Vagrant image that has software preinstalled. The issue is mostly that many parts of provisioning depend on information that is available at that time (IPs, secrets, etc).
How could we improve our image?

I think you should enable some mechanism to boot that image on cloud, and then write up some notebooks to just inject the IPs, secret etc... Would this be problematic?

@mcapuccini I'm not sure I understand what you mean. Are you talking about images for cloud providers, or for Vagrant? This might be a duplicate of #992.
Currently, if some package is installed or a machine is configured properly, Ansible returns ok for that step and doesn't change anything. This makes the provisioning process much faster where we use our own images (as of right now, just Vagrant).

@siddharthist I am talking about cloud providers. I didn't know that Ansible has this feature, this is great. We have a OpenStack cluster, I will have to look into Packer at a certain point. I'll ping you if I get anything working.

@mcapuccini Thanks for the input! I'm going to close this now since cloud images are already in our issues/roadmap. We'd love to hear more feedback/results on the issue referenced above.


[PE-D][Tester D] Missing closing parenthesis at end of error message for edit

I think there should be a closing parenthesis at the end of the error message for edit.
Steps to reproduce:

Run edit 1 sc/123 3

Result:

Labels: severity.VeryLow type.DocumentationBug
original: mfjkri/ped#4

Unable to change in feature freeze, this will be omitted


OSCORE over coap at client side

Here we discuss about how integrate OSCORE over coap at client side.
Some ideas I have in mind :
The OSCORE context must be retrieve from OSCORE object so setting OSCORE context should looks like :
long oscoreInstanceId;
initializer.setInstancesForObject(21, new OSCORE(oscoreInstanceId, master, sid, rid, ....);
initializer.setInstancesForObject(SECURITY, Security.oscore(serverURI, 123, oscoreInstanceId));
initializer.setInstancesForObject(SERVER, new Server(123, 30, BindingMode.U, false));

Then in CaliforniumEndpointsManager.createEndpoint(), if the client should use oscore for the given server, a endpoint is created with support of oscore and with corresponding oscore context a bit like for PSK. (see https://github.com/eclipse/leshan/blob/leshan-1.0.0-M11/leshan-client-cf/src/main/java/org/eclipse/leshan/client/californium/impl/CaliforniumEndpointsManager.java#L89)
(@rikard-sics tell me if this is make sense as I don't know so well the OSCORE RFC I maybe missed something.)

Yes it makes sense to create the OSCORE context when the actual endpoint is created (using information from the OSCORE object). When the endpoint is being created the OSCORE context will be created and that endpoint will then use the OSCORE DB where this context is stored.
Every outgoing request sent with that endpoint should also have the OSCORE flag set. For incoming requests they are parsed with OSCORE automatically and the correct context will be found from the information in the OSCORE option. For incoming responses the correct OSCORE context is found from the CoAP Token (when sending a request the Token is saved associated to the context used).
Right now the OSCORE Object is not created on the client. Excluding the bootstrap server for now, the best solution would then be for the client to take OSCORE security information as command line parameters and create an OSCORE object from them?

Right now the OSCORE Object is not created on the client. Excluding the bootstrap server for now, the best solution would then be for the client to take OSCORE security information as command line parameters and create an OSCORE object from them?

Yep like PSK :-)

Yep like PSK :-)

Okay, makes sense :)

I will proceed according to the steps you outlined here:
#718 (comment)

These points should now have been addressed in commit https://github.com/eclipse/leshan/commit/e31012710a149b619852f6b741e8ea4da083f3e6
(At least for the OSCORE-only scenario. Combination with DTLS needs more work.)

I have now made a PR that adds support for setting OSCORE related security parameters in command line arguments to the client here https://github.com/eclipse/leshan/pull/755

With https://github.com/eclipse/leshan/pull/1277 integrated in master and missing work listed at https://github.com/eclipse/leshan/issues/725#issuecomment-1179021294.
Maybe we can close this one ?
@rikard-sics WDYT ?


chore: Turn warnings into errors on CI

In doing #794 I wondered if there'd be any benefit in turning warnings into errors on ci by adding -D warnings to the check runs.
It could be annoying but may prevent regressions from getting through.
I'm happy to create a PR if you're interested.

Yeah I'm okay with this.


Does database replication require port-forwarding?

Do nodes need to have a port forwarded to accept incoming connections for orbit-eb database replication to occur between them? Could two nodes replicate their databases between each other if both of them didn't have port forwarding enabled and were on different networks?

Yes nodes do need to have port-forwarding for communication unless you will tell ipfs to use an external signal server like in #468

Moving this to the Field Manual to go into more detail


Github OAuth App - Federated Login

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Federated login for Google, Amazon and Facebook but not Github.
What is the expected behavior?
the Authenticator HOC will include a "Sign-in with Github" button.
This issue is identical to aws-amplify/amplify-cli#995 except for github as the identity provider.
Keycloak has github as an identity provider so i have to use that in my amplify app in addition to Cognito.

duplicate of https://github.com/aws-amplify/amplify-cli/issues/5807?

What's the state of this feature? It's ridiculus that AWS Amplify doesn't support federated login with GitHub in 2024 yet...


[Spike] Explore how to implement delegation for Verax Governance

Snapshot is ready to have delegation.
Now, we need to identify delegates and implement the solution.


Pull request with type [UPDATE] for user [bryand-recastsoftware] and object type [ConsoleExtension] - titled [Right Click Tools]

Automated pull request from the Endpoint Configuration Manager Community hub.

And the peasants rejoiced!
Thanks @sihlamMSFT and @silveyy for all your work and help shepherding this along!  Just updated our TP environment flawlessly.  Now to see if our code actually works.

Fantastic! thanks for confirming. Quick question, did you happen to verify the "upgrade" scenario of your extension? For example had the previous version installed now new version is available in the hub.... download and update in console?
We are hopefully in the home stretch here!

Yup, the TP had the existing release installed already.  Got the 'Download Update' button, approved install, installed (locally) and confirmed that 4.6.2103 is installed.

Excellent, thanks for confirming!


Add 2 buttons with stylings similar to mac sidebar

Original :

Mine :

Fixes : #1

Thanks for Contribution!


No smooth animation (emulator and smartphone)

I don't know if it's just me but both on android emulator and on smartphone (galaxy s7), animations are not smooth.
This is just about testing (so fix with deployment) or is a problem?

Hi... Well, I have tested it on numerous devices and seems to be working great... are you experimenting frame drops? if so, in which animations?

you ll never get a smooth FPS on development mode, try build a release mode of flutter app to get a smooth animation

The animations are not as smooth on the emulator, mostly because the emulator itself is not as smooth as the real device, just try it on your phone :)


Callable macro with zero arguments is behaving like macro without arguments

Consider this code with a macro call that provides more than the zero parameters expected:
`define FOO() 42
module top();
  assign a = `FOO(123);
endmodule

Running this through the Surelog preprocessor
surelog -nobuiltin -nocache -writeppfile /dev/stdout /tmp/pp.sv

results in expansion of `FOO() as if it was a `FOO with some unrelated parenthesis blob at the end:
module top();
  assign a = 42
(123)
;
endmodule

So it looks like it treats a macro call with zero parameters `FOO() like an unparametrized macro `FOO (internally it seems it just looks at the number of formal parameters, not if it actually does expect formal parameters).
Expected would be an error message, that complains about a macro call with too many parameters.
Something like this
verilator -E /tmp/pp.sv
%Error: /tmp/pp.sv:3:22: Define passed too many arguments: FOO
    3 |   assign a = `FOO(123);

Fixed by #1908


Add osx-arm64 support

WIP to add osx-arm64 (M1/Apple Silicon) support

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

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

@conda-forge-admin, please rerender


Describe Member organisation

Who is the audience of this description? Might this be merged with member onboarding?

Yep combining is great.
Must be something about who is doing what
Best,
HJ

On 23 Aug 2017, at 07:07, Jake Gillberg<EMAIL_ADDRESS>wrote:
Who is the audience of this description? Might this be merged with member onboarding?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.


[feature] Add RollingLimit and LifetimeLimit

Feature
Reason:
There was a requirement to have hard limits rather than the windowed limits where the limit could be exceeded in the time period. Additionally, there was a need to have a lifetime (cumulative) and one time limits, which extended from Limit so that the interface would not change.

Coverage decreased (-0.5%) to 99.535% when pulling 4932b98e9f20716cf7813f149f7a5fdd416c3c01 on ashleym1972:feature/hard-limit into 8e3542026625c42babc8959aff5a5893e005427a on coinbase:master.

Coverage decreased (-0.5%) to 99.535% wat

I left in an unused private method. Oops.

I was commenting on how the test coverage was 100.035% :)

It is pretty funny.


Stable diffusion with mkl

Hey,
I have been trying to run the stable diffusion example with mkl, but it fails with undefined reference to "hgemm".
At first I thought I was missing some libs, but then I realized mkl is coming from containerized lib via rust-mkl and ocipkg so it seems the function doesn't exist (at least in the package referenced, I saw updated for the 2020.1 version in the repo but the static version in the container is hardcoded to an older one). I also played with MKLROOT path, and it seems that hgemm is the only missing part even if my local lib is found (didn't test 2024.x version)
After installing locally and some grep usr/include/mkl, no more luck but sgemm and dgemm do exist though. Checked the official mkl doc (https://www.ehu.eus/sgi/ARCHIVOS/mklman.pdf) and didn't find it too.
For reference, the command is
cargo run --features=mkl --example stable-diffusion --release    -- --cpu --prompt "a cosmonaut on a horse (hd, realistic, high-def)"

Tried with both
sudo apt install intel-mkl # => 2020.4.304-2ubuntu3
sudo apt install intel-oneapi-mkl # => 2024.0.0-49656

If you can give me a status on if this is supposed to work before I start digging in ghcr.io/rust-math/rust-mkl/linux/mkl-static-lp64-iomp:2020.1-6048495329 manually, this would be much appreciated

This is indeed supposed to work fine, the missing hgemm issue should only happen with outdated version of mkl and 2024.0.0 should actually be all good so not sure why it wasn't getting it right at that point (might be worth forcing a clean build after installing the lib). More details in this related issue #443 .

Thanks @LaurentMazare, will have a look at rust-mkl and submit a PR to update to 2024 version then because I don't think this crate is useful is the current state


qpidd unable to bind any port

Hi Guys,
I figure you guys are dealing with similar bugs  that I am experiencing. I was  wanting to use QPIDD on  the Linux bash build for a Microsoft conference talk I am doing. When I  am starting the message broker for my application I get a nasty error stating that I am unable to bind my application to a port.  I suspect it is an issues with the Accept socket function implementation.
*error code and source file
2016-08-27 16:02:22 critical Unexpected error: Can't bind to port [::]:60181: Address already in use (qpid/sys/posix/Socket.cpp:206)
https://apache.googlesource.com/qpid/+/asyncstore/cpp/src/qpid/sys/posix/BSDSocket.cpp

Your Windows build number
14393
Steps / commands required to reproduce the error

Turned off firewall and ran the cmd in administrator mode.
bash
sudo apt-get install qpidd
sudo qpidd --port=0   or just  sudo qpidd

Strace of the failing command
https://gist.github.com/michaelinipop/9907a6d8f47a2ce74ceb5becae3e14ba
Required packages and commands to install
qpidd

Thanks guys,
michael

https://gist.github.com/michaelinipop/9907a6d8f47a2ce74ceb5becae3e14ba

Just to check: run netstat -an | more from CMD and confirm that nothing on the Windows side is listening on that port. (Each port on the machine can only be bound once.)
Adding that to your report would increase its completeness.

@rodrymbo  thank you for the suggestion.
I did run netstat to confirm there is no interference.
before posting this bug submit I did try try different ports. When you run -p0 the program tries to find a available port.
when I run sudo qpidd it uses the default amqp standard port 5672  if you look at a snippet from the  strace the socket is created and also closed on exit of  the error message . Therefore there is no chance the port being used by another process.
futex(0x7f486f4813c0, FUTEX_WAKE_PRIVATE,<PHONE_NUMBER>) = 0 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 9 connect(9, {sa_family=AF_INET6, sin6_port=htons(5672), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 getsockname(9, {sa_family=AF_INET6, sin6_port=htons(56159), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 connect(9, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(9, {sa_family=AF_INET, sin_port=htons(5672), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0 getsockname(9, {sa_family=AF_INET6, sin6_port=htons(56159), inet_pton(AF_INET6, "::ffff:<IP_ADDRESS>", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 close(9)

Looks same as #674.

@michaelinipop - Thanks for reporting the issue and trying out WSL! @therealkenc is correct in pointing out that the issue is with the lack of proper support for IPV6_V6ONLY in WSL (see the trace snippets below). The problem is that WSL allows the app to set the IPV6_V6ONLY socket option to be set on a socket, but when it is not currently able to interact with the network layer to fully honor the option. In that case, when a socket sets this option and tries to bind to a IPV6 address on a given port, it also tries to reserve the same port for IPV4 traffic and runs into collisions as below. This is something we are aware of and are actively working with the networking team to resolve the issue at our end. Meanwhile, if you can force the app to only work with IPV4 address (or use different addresses for IPV4 and IPV6), you may be able to work around the issue. We apologize for the inconvenience, but hopefully the real fix is coming soon.
`
bind(9, {sa_family=AF_INET, sin_port=htons(5672), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
setsockopt(10, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0
bind(10, {sa_family=AF_INET6, sin6_port=htons(5672), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EADDRINUSE (Address already in use)
`

With the help of the Windows networking team, we were able to fully implement the IPV6_V6ONLY flag. With that change the Address already in use issue is gone. But, unfortunately, the qpidd server is still not able to start. It fails in the futex - FUTEX_CMP_REQUEUE_PRIVATE flag, which is currently not implemented. I have opened a task to track this. The fix for IPV6_V6ONLY is still in our dev branch, but should soon hit the release branch.

@sunilmut  Thank you so much for following up on this. I can easily imagine how technical it is support almost every edge case within the posix command set. Nevertheless, I look forward to seeing this working.

FUTEX_CMP_REQUEUE_PRIVATE (#1006 and friends) is rearing it's head more now that IPC over sockets is working much better. I wonder (out loud without a lot of basis) whether it can be stubbed in WSL somehow as a first step, rather than trying to get the semantics correct all at once. In most/all the OSS code I've come across, the software doesn't really care if there is a thundering herd of threads/processes waking up only to go right back to sleep. Because in reality there is no herd; there's a few cows standing around. The real problem is that glibc pthreads thinks the functionality is there, so it gets used.
Anyway, just a thought. I haven't looked at the glibc pthread implementation to see if it is possible to just lie. The musl pthread implementation doesn't even use it AFAIKT.

Just FYI that the IPV6_V6ONLY issue is fixed in 14936 (see release notes)

I've added support for FUTEX_CMP_REQUEUE. The change will be in an Insider build soon.

The fixinbound tag sailed here back in August, so this is fixedfallcreatorsupdate by fiat. If there are still problems with the qpidd (there might) please open a new issue following the template.


Fix a few broken links found around the codebase.

Signed-off-by: Chris Lalancette<EMAIL_ADDRESS>

LGTM.

@Mergifyio backport foxy dashing


#7-Create frontend REACT component for a single energizer-Justinas

Naming Rules
Name your PR like this: ISSUENUMBER-TITLE-YOURNAME
Description
I've benn add on Load component for a single energisser,But I can't make proper funcionality,because I don't have API.
Related to
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #7
Checklist:

[ ] ] My code follows the style guidelines of this project

[ ] I have carefully reviewed my own code

[ ] I have commented my code

[ ] I have updated any documentation

How is this meant to integrate with the work that @AzinYad did last week on PR #15 ? I

We need to build up on the existing work, I thought we have communicated clearly that we will be using Azin's front-end template and the database that bertil helped us to containerize,

"As a host, I want to view an energiser with a description of how to run it#7
create frontend REACT component for a single energizer
serve the data to the frontend from an endpoint"
This task wasn't clear what exactly to do. it's a component? If, yes what component? Next thing I can't implement without API.
And of course, I can't integrate, because since I try to create a SingleEnergiser component, the Azin front-end template wasn't merged. So I don't have the whole picture.
My question will be what task I should do?
Thank you for your time!

How is this meant to integrate with the work that @AzinYad started last week on PR #15?

@JustinasBrazauskas Are you asking me?
The story has two subtasks - one for the frontend and one for the backend. The database schema has been merged into main so there should be no blockers for creating the backend endpoint.
Can you refactor your frontend code to work with the structure that has been merged into main?
You have to coordinate within the team so that all of your code works together.

@bertilnilsson Yeah I'm asking you!
that's one is ok, creating the backend endpoint. Understandable.
But another  subtask about fornt end.  What exactly  to do with the front end, is a bit confusing to me.
Yes I done.

Yeah I resolved conflicting code.

Yeah I resolved conflicting code.

Did you look at the diff on the FIles changed tab? This branch would break the app if it was merged.

I've been deleted all these files.
Can close this branch and get the newst version from main?


White box testing should be easier

Testing would be so much easier if we could mock the device calls and the app process interactions to create scenarios. Right now we're relying on black box testing with BPSampleApp, and although it works it's pretty slow (we're at 45 min to run tests). Much of the time is spent creating and deleting simulators. While black box testing is useful to actually test that the whole thing works, a bunch of the logic in the code could be tested without having a real simulator.
@oliverhu seems to be knowledgable on the ways of OCMock so passing this on to him.

@ob  @oliverhu  is this still a valid issue?


[7.x] Unit Test ViewComponent

I'm guessing this is better suited for the InteractsWithViews trait from 8.0?

See above. I'm also not sure this is even a super helpful test?


Expose __genji_indexes table.

This fixes #214.
I added t.tableInfos[indexStoreName] and fixed the .indexes command.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9da6936). Click here to learn what that means.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #226   +/-   ##
=========================================
  Coverage          ?   61.58%
=========================================
  Files             ?       67
  Lines             ?     6273
  Branches          ?        0
=========================================
  Hits              ?     3863
  Misses            ?     1897
  Partials          ?      513

Impacted Files
Coverage Δ

database/config.go
68.59% <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 9da6936...2251419. Read the comment docs.


Mcknight/backport 58

Description
1.Testing in pulling in pr #58 will fix testing error in back port on 1.0.latest.
2. Looking at ways to control tox dbt-core install (currently hardcoded in dev_requirements)
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-redshift next" section.

rough ideas to control pointer for dev_requirements. create a github action that updates pointer.
positives:

could be used for all branches main
Negatives:
extra github action
potential issue with having to recommit the change?


Bump Node default version to 20

Latest version of supported runtimes should be the default.
Node 20 has the auto-generation of relationships env vars, so ref #170

Linked #170 as the overall proposed solution is in #80


Cannot read property 'slice' of undefined

I have to use cryptr in my React App but I'm getting this error - PFA
Help.
Thanks in advance.

Cryptr is a bash script, not sure how you using it in an React App?

Got it !
seems like cryptr is just a wrapper around the node core crypto module.
Which is not available in the browser and It is not designed to work in a browser or react application.
Thanks


Oracle SOA Suite Chart

Also adding a script to package charts and publish.
Publishing will require updating the Github page to point to the main branch.
This is assuming the chart repository will then be https://oracle.github.io/helm-charts
Signed-off: Emmanuel Leroy<EMAIL_ADDRESS>

We can't merge binaries, they must be published as release artefacts (preferably built by GitHub Actions, but that's not mandatory).


Idea: use platformdirs to manage user folders

https://pypi.org/project/appdirs/

It could help to reduce code complexity, especially in shortcuts and profiles management. But it's an additional dependency.
What do you think @jmkerloch?


length and null checks in en/decaps

The functions oqs_qs_kem_encaps_keyslot and oqs_qs_kem_decaps_keyslot are provided some buffers for the input and output parameters, with pointers to return the intended length of these buffers in case they are queried, or they hold the actual length of the provided buffers when it's not a query. These lengths are not passed on and they are not checked against the kem context. This could lead to over-writes or over-reads. Null pointers are also not handled properly.

Thanks @baentsch, nice catch!

Thanks @baentsch, nice catch!

On my own sloppy code :-/ Thanks for the addition.

Thanks again for the contribution. Merged.


Mail issue with "Read from Laravel - config/mail.php"

On a fresh install of 1.2.18 the mail issue was solve for SMTP mode But not Read from Laravel - config/mail.php

Mails are sent successfully with test email and live email with SMTP mode
Mails are sent successfully with test email  with Read from Laravel - config/mail.php
Mails are failing live email with   with Read from Laravel - config/mail.php

I can see that 2 different functions are used to send emails:
(Test)src/MicroweberPackages/Notification/Http/Controllers/Admin/NotificationController.php

(Live)src/MicroweberPackages/User/Http/Controllers/UserForgotPasswordController.php

Dump of $request->only('email') I get:
<EMAIL_ADDRESS>Dump of $status = Password::sendResetLink(...) I get:
"passwords.sent"
The issue seems to come from the configuration of
\Illuminate\Auth\Passwords\PasswordBroker

hi, can you try again on the dev branch , we have made more fixes

Very close! It's almost all fixed
✅ On the dev branch emails are sending successfully for (new orders + admin forgot password) on test mode AND live
☒ But frontend forgot password is not working

hi, it should be fixed now in dev branch

I confirm everything is working now, good job!


docs(acme): add account_key for acme plugin

Description
Added documentation to the acme plugin on the new account_key parameter.
Testing instructions
For changes in https://github.com/Kong/kong/pull/9746
Checklist

[x] Review label added
[ ] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

@fffonion @jschmid1

@szesch  I've just made a release/gateway-3.3 branch. Could you please move this to target that branch?

@lena-larionova I've updated the target branch.

@lena-larionova updated with your suggestions. Thanks!

I think we are all good at this PR! Could you help me merge it @lena-larionova 😄 ? Not very familar with the merge pattern and policy in this repo : )


Error during training : MXNetError

Try reducing the batch size.

It's 16 now, should it be further reduced?

Yeah, reduce it till the point you don't get this error


Fix typos

Thank you for your PRs!
I've squashed them into a single commit: https://github.com/Bastian/recipes/commit/9ee05d911d30487af295c66ae6eb729bc11d7311


Bug after log out from admin panel

Laravel Version: 5.7.*
PHP Version: 7.2
Laravel-admin: 1.8

Description:
There is a bug when you log out of control panel and then log in to the web page normally (it redirects you to the admin panel when you enter the data). Then try to refresh the page and redirect you to /home which may appear as 404 Not Found.
Steps To Reproduce:

Sign in to the admin panel.
Log out in the admin panel.
Go to yourdomain.com/login
Try logging in with your account (you will be redirected to the admin panel)
Refresh the page (you will be redirected to yourdomain.com/home)

@z-song any answers?

@l3lackS Fixed ,upgrade to version v1.8.5

The fix for this is causing a new issue on the latest version v1.8.11 - you always get redirected to the home route.
Steps to reproduce:

access a link which isn't home while not logged in
when redirected to login page, login
you'll be redirected to admin home instead of the original target.

The issue arises because ->to() doesn't save the intended URL as ->guest() does.


Make Blockscout push relevant events to a Redis queue

Right now, if a client wants to read from Blockscout they need to continuously poll, which creates many difficulties on the client side and is less efficient network/compute wise.
Implement a Redis queue and push to it instead so clients that want to listen to certain ones can just listen from that queue instead.
See: https://redis.io/commands/rpoplpush

Closed in favor of the new implementation. See https://www.notion.so/clabsco/Invite-and-Sign-Up-based-Rewards-d8f5e637e2b94ad8ac7f501b227f68df for details