i have pytorch warning!

code is run successfully! but this warning print in my terminal.
do you know how to solve this warning?
thank you~~:)

/opt/conda/conda-bld/pytorch_1565272279342/work/aten/src/ATen/native/cudnn/RNN.cpp:1236: UserWarning: RNN module weights are not part of single contiguous chunk of memory. This means they need to be compacted at every call, possibly greatly increasing memory usage. To compact weights again call flatten_parameters().
/opt/conda/conda-bld/pytorch_1565272279342/work/aten/src/ATen/native/cuda/LegacyDefinitions.cpp:14: UserWarning: masked_fill_ received a mask with dtype torch.uint8, this behavior is now deprecated,please use a mask with dtype torch.bool instead.

Hi,
I also had these warnings, though I just ignored them... I think this will not affect the training.

ok! thank you! :)

@jaeyun95, When I run the code, there is an error! python my_train.py -params r2c++_res101_attribute/default.json -folder saves/flagship_rationale -plot plt
OSError: Caught OSError in DataLoader worker process 0.
Could you give me some advice?
Thank you very much.


doc/install-source.html: Wrong Go version.

in the #Fetch the repository section @ release-branch.go1.6  it says

$ git checkout go1.5.3

We really should have an automated way to update this (or have a release
branch)

Assigning to @adg since he closed #14049 (basically a dup)
/cc @broady

Another: https://go-review.googlesource.com/#/c/22001
This needs to be automated.

This isn't fixed immediately on the web site, but it will be fixed when Go 1.6.2 is released next week.


RATIS-830. Add a metric for tracking failed client requests on a server

What changes were proposed in this pull request?
Add a metric for tracking failed client requests on a server
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-830
How was this patch tested?
UT

R: @bshashikant
Can you take a look please?

@bshashikant
That's a good idea. Will split metrics to different types of request.

@bshashikant
Updated to count on different types of failed requests. Can you take another look?

@amaliujia Thanks the patch @bshashikant Thanks for review. I merged the patch.

@runzhiwang  thank you!


add bottom vulnerability on any wrong answer

closes #109

@TraceyOnim After a vulnerability has been added, shouldn't the game continue? It remains paused on my end

@TraceyOnim After a vulnerability has been added, shouldn't the game continue? It remains paused on my end

The reason to make it stay in paused state is to let the player know easily a vulnerability is added after a wrong answer. But we can confirm with @sparrell first

okay, everything else looks good to me

How do I continue playing after seeing the paused state?

How do I continue playing after seeing the paused state?

by clicking the space bar there is a continue button on the pop up window which will allow the player to continue playing


Terraform apply/ plan: net/http: invalid header field value for "Authorization"

Description
terraform apply/ plan calls getting aborted due to │ Error: an error occurred while fetching a LAN 7: Get "https://api.ionos.com/cloudapi/v6/<resource>?depth=0&pretty=true": net/http: invalid header field value for "Authorization" .
Expected behavior
The resources should be refreshed/ applied without errors.
Environment
Terraform version:
1.9.5

Provider version:
initally discovered appeared in 6.4.13, also persisting after upgrade to 6.5.0
OS:
Debian GNU/Linux 12 (WSL)

Configuration Files
We are reading the token from an file (ionos_auth_file). I already replaced the token with a fresh one (generated from DCD). The file has only the plain token, without any kind of (Bearer-)Prefix.
provider "ionoscloud" {
  token = file("${var.ionos_auth_file}")
}

We are using a modular approach, having a submodule which also uses the ionoscloud-provider. These modules have also been updated to 6.5.0 and are using the same file contents for authentification.
How to Reproduce
Unfortunately, I cannot provide the entire configuration due to cooperate restrictions here. But for example, having a terraform-created ionoscloud_lan within a VDC will cause the process to fail.

Run terraform apply within a tenant having any kind of IONOS-managed ressource (VDC, LAN)
During refresh, the process will fail.

Error and Debug Output
Example for terraform apply on a existing VDC with multiple managed kubernetes instances, multiple LAN's and other resources. The VDC also has virtual machines, but they are not touched by a change of the terraform apply.
╷
│ Error: an error occurred while fetching an ip block ID <id> Get "https://api.ionos.com/cloudapi/v6/ipblocks/<id>?depth=0&pretty=true": net/http: invalid header field value for "Authorization"
│
│   with ionoscloud_ipblock.prod_cluster_block1,
│   on ip.tf line 2, in resource "ionoscloud_ipblock" "prod_cluster_block1":
│    2: resource "ionoscloud_ipblock" "prod_cluster_block1" {
│
╵
╷
│ Error: an error occurred while fetching a LAN 7: Get "https://api.ionos.com/cloudapi/v6/datacenters/<id>/lans/7?depth=0&pretty=true": net/http: invalid header field value for "Authorization"
│
│   with module.kubernetes_cluster.ionoscloud_lan.kubernetes_lan,
│   on ../modules/kubernetes_cluster/network.tf line 2, in resource "ionoscloud_lan" "kubernetes_lan":
│    2: resource "ionoscloud_lan" "kubernetes_lan" {
│
╵
╷
│ Error: an error occurred while fetching a User ID <someid> Get "https://api.ionos.com/cloudapi/v6/um/users/<someid>?depth=1&pretty=true": net/http: invalid header field value for "Authorization"
│
│   with module.serviceaccount.ionoscloud_user.serviceaccount,
│   on ../modules/somename_serviceaccount/serviceaccount.tf line 8, in resource "ionoscloud_user" "serviceaccount":
│    8: resource "ionoscloud_user" "serviceaccount" {

Additional Notes
We've seen this error while refreshing the state of LAN's, VDC or any kind of IONOS-managed resource.
When applying only to managed Kubernetes, the apply works, but when IONOS-managed ressources, like a LAN are referred, the process will fail.
References

Was not able to reproduce with token stored in file.
If you store token in IONOS_TOKEN env variable, does this reproduce?
Another way to debug is to enable TF_LOG=debug and IONOS_LOG_LEVE=trace. This way you can actually see your token in the http request and see if maybe some garbage chars were added while in the file.
Also you can try to use the same token with ionosctl or postman and see if you still get the same error, just to make sure it's not terraform related.

Was not able to reproduce with token stored in file. If you store token in IONOS_TOKEN env variable, does this reproduce? Another way to debug is to enable TF_LOG=debug and IONOS_LOG_LEVE=trace. This way you can actually see your token in the http request and see if maybe some garbage chars were added while in the file. Also you can try to use the same token with ionosctl or postman and see if you still get the same error, just to make sure it's not terraform related.

Thank you for the hint with the IONOS_LOG_LEVEL flag! I did another test and saw in the now more verbose log that there were unexpected HTTP 401 errors present.  I created another token directly from the DCD (and downloaded the token file instead of copying it from the text box), which resulted in the terraform calls to be working again!
Thank you for your help! And sorry for the time waste, as this seems to be an user or client error on my side here.


docs: 'current' didn't update to '13'

What happened?
https://arrow.apache.org/adbc/current/ doesn't equal https://arrow.apache.org/adbc/13/ but it should
Stack Trace
No response
How can we reproduce the bug?
No response
Environment/Setup
No response

Maybe the sorting is a bit off...
+ local -r 'latest_docs=0.11.0;0.11.0'
+ [[ -z 0.11.0;0.11.0 ]]
++ echo '0.11.0;0.11.0'
++ awk '-F;' '{print $1}'
+ local -r latest_dir=0.11.0
++ echo '0.11.0;0.11.0'
++ awk '-F;' '{print $2}'
+ local -r latest_version=0.11.0
Latest version: 0.11.0 in directory 0.11.0
+ echo 'Latest version: 0.11.0 in directory 0.11.0'


Bridge UST not received.

Sent UST from BSC to TERRA before 4 hours still not received UST in my TERRA wallet.
Check bsc Txid : 0xcc092829c2a30d04002d182d9c292947816f192ee9ceb7463f26cb43a37b7b6d

Terra address : terra1htsnwlszzxqk6gjvwkjcg2hye583l6hc5y0eyp

Hello @Rijulove  , A support ticket has been opened for you, with support ticket ID FLV9829. Talk to a Terra Dev on the Live support page so that you can get a response and transaction looked into. Thank you. CLICK HERE

Sent UST from BSC to TERRA before 4 hours still not received UST in my TERRA wallet.
Check bsc Txid : 0xcc092829c2a30d04002d182d9c292947816f192ee9ceb7463f26cb43a37b7b6d

Hello, A support ticket has been opened for you with Support ticket number AS738HD. You should talk to a Terra money Dev on the LIVE SUPPORT PAGE So that your issue can be looked into. Thank you. CLICK HERE

The wait period is not up to an hour, It means there is a problem with your in-node string,
Please reach out to Terra Ecosystems Support Team with the ticket id LUN74532 using the livechat page, the best team of dev will assist you on the issue immediately.


Is there a way to generate swagger from a flasgger app?

I am having trouble finding documentation on how to reverse generate swagger.yaml or swagger.json from a flasgger app. Is this supported?
Ideally, I would like to hit an endpoint similar to /apidocs/ such as /apidocs/swagger.yaml that would generate a swagger yaml.

I discovered that the javascript app is invoking this endpoint /apispec_1.json to get a swagger spec in json. Is that a stable URI?

@ashee yes, specs will be generated in json in /apispec_1.json and if you have more than one spec in the list it will be _2.json and so on..

Do you think it's common enough of a usecase to mention this in README?
Would you accept a PR to mention this there?


[$250] Workspace - The middle message flows out of the container when the email is longer

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Create a new workspace from an account that's on the policyExpenseChat beta (e.g @expensifail.com)
Add a new member with a big email to the workspace via Manage Members > Invite
Log-in as the member and send a message in the member's workspace chat
Log back in again to the admin account and remove the member from the workspace via Manage Members > Remove
Now log-in as the member again and navigate to the workspace chat

Expected Result:
Verify the all messages (footer and middle) doesn't go out of the container and you can see the whole message.
Actual Result:
The middle message flows out of the container when the email is long.
Workaround:
visual
Platform:

Where is this issue occurring?

Android
Mobile Web

Version Number: 1.1.70-2
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

Posted!
Internal - https://www.upwork.com/ab/applicants/1532202118117892096/job-details
External - https://www.upwork.com/jobs/~0128e737173a7ddbbd

This may be a regression from https://github.com/Expensify/App/pull/8409.

Came here to say something similar to Rajat - I could've sworn we fixed this in the past. Let's identify if this is a regression and if so, run through the RCA process like usual.

Okay, I'll get back to this tomorrow

Assigning Kadie as I'm heading OOO

This one which only happens for archived policy expense chat and I think RenderHTML is causing it

@thesahindia Hmm, I highly doubt because content width is set to 80% https://github.com/Expensify/App/blob/50da22fa41944f42b7c36ba7a91f0ab737eb6cc6/src/components/RenderHTML.js#L19

The email is wrapped inside Tooltip and that's what causing this

Yep, that's close but doesn't explain why that's a problem or a fix for it.
Fix
Add this prop to Tooltip containerStyles={[styles.dInline]}
https://github.com/Expensify/App/blob/26956bb813f2c0ef9b256b06a3d90df10b82e5d2/src/components/ReportWelcomeText.js#L116

Alright, so here's what I think.

This is occuring because of RenderHTML. We started using RenderHTML for messages that can be long very recently (~10 days).
So the root cause behind this issue is new and unknown.
This issue is a regression from #9199, and not #8409

I think we should treat the issue mentioned on slack as a seperate issue.

It is a regression from #8409.
And a fix for it is to add containerStyles={[styles.dInline]} to the Tooltip in ReportWelcomeText.
To avoid further regressions, we should redesign Tooltip.

Update: aha!
Adding styles.breakAll fixes RenderHTML being nested inside Text on Web.

So this looks like a purely css solution to me!
cc: @thesahindia

Price doubled! Please get your proposals in.

Create a new workspace from an account that's on the policyExpenseChat beta (e.g @expensifail.com)

@rushatgabhane I am bit confused by 'from an account that's on the policyExpenseChat beta'. What is policyExpenseChat beta? How can I be on the policyExpenseChat beta? Can you help me on this?

How can I be on the policyExpenseChat beta? Can you help me on this?

@deetergp can you please help @sobitneupane get on the beta?

@sobitneupane what's your email for new expensify? It'll be needed to add to the beta

Proposal
Issue
The Text component in react native is a special component that is unique relative to the layout. Everything inside is not considered to be part of the flex layout. In short, we should not use a View wrapped in Text having a child Text ie:
<Text>
  <View>
    <Text>Text</Text>
  </View>
</Text>

ref: https://reactnative.dev/docs/text#containers
Solution
We should not use View inside the Text component. The RenderHTML function returns a View with a child Text. As such, wrapping the response inside Text causes the overflow issue. We should change the following:
https://github.com/Expensify/App/blob/6bac9af7294877114f8bf9532ff7b8c46146c90d/src/components/ReportWelcomeText.js#L63-L122
To:
<>
            {isPolicyExpenseChat && isArchivedRoom && <RenderHTML html={reportArchivedText} />}
            <Text style={[styles.mt3, styles.mw100, styles.textAlignCenter]}>
                {!(isPolicyExpenseChat && isArchivedRoom)
                    && (
                        <>
                            {/* Add align center style individually because of limited style inheritance in React Native https://reactnative.dev/docs/text#limited-style-inheritance */}
                            <Text style={styles.textAlignCenter}>
                                {props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartOne')}
                            </Text>
                            <Text style={[styles.textStrong]}>
                                {/* Use the policyExpenseChat owner's first name or their email if it's undefined or an empty string */}
                                {lodashGet(props.personalDetails, [props.report.ownerEmail, 'firstName']) || props.report.ownerEmail}
                            </Text>
                            <Text>
                                {props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartTwo')}
                            </Text>
                            <Text style={[styles.textStrong]}>
                                {ReportUtils.getPolicyName(props.report, props.policies)}
                            </Text>
                            <Text>
                                {props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartThree')}
                            </Text>
                        </>
                    )}
                {isChatRoom && (
                    <>
                        {/* Add align center style individually because of limited style inheritance in React Native https://reactnative.dev/docs/text#limited-style-inheritance */}
                        <Text style={styles.textAlignCenter}>
                            {roomWelcomeMessage.phrase1}
                        </Text>
                        <Text style={[styles.textStrong]} onPress={() => Navigation.navigate(ROUTES.getReportDetailsRoute(props.report.reportID))}>
                            {ReportUtils.getReportName(props.report, props.personalDetails, props.policies)}
                        </Text>
                        <Text>
                            {roomWelcomeMessage.phrase2}
                        </Text>
                    </>
                )}
                {isDefault && (
                    <>
                        {/* Add align center style individually because of limited style inheritance in React Native https://reactnative.dev/docs/text#limited-style-inheritance */}
                        <Text style={styles.textAlignCenter}>
                            {props.translate('reportActionsView.beginningOfChatHistory')}
                        </Text>
                        {_.map(displayNamesWithTooltips, ({
                            displayName, pronouns, tooltip,
                        }, index) => (
                            <Text key={displayName}>
                                <Tooltip text={tooltip}>
                                    <Text style={[styles.textStrong]} onPress={() => Navigation.navigate(ROUTES.getDetailsRoute(participants[index]))}>
                                        {displayName}
                                    </Text>
                                </Tooltip>
                                {!_.isEmpty(pronouns) && <Text>{` (${pronouns})`}</Text>}
                                {(index === displayNamesWithTooltips.length - 1) && <Text>.</Text>}
                                {(index === displayNamesWithTooltips.length - 2) && <Text>{` ${props.translate('common.and')} `}</Text>}
                                {(index < displayNamesWithTooltips.length - 2) && <Text>, </Text>}
                            </Text>
                        ))}
                    </>
                )}
            </Text>
        </>

Result
Android

Web

@sobitneupane what's your email for new expensify? It'll be needed to add to the beta

<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

New contributors are limited to working on one job at a time, however experienced contributors may work on numerous jobs simultaneously (contributing.md)

@allroundexperts I'm holding on the review until your first issue is closed.

New proposals are welcome!

@rushatgabhane My issue got closed. Can you review my proposal now?

@allroundexperts your proposal makes sense. You've given a reason why wrapping <RenderHTML> inside <Text> is a problem.

// This is bad
<Text>
    <RenderHTML html={longText} />
</Text>

Don't forget to take care of spacing (top margin) in the PR.

@rushatgabhane I agree — @allroundexperts's proposal looks solid. Let's go with that one!

Sent invites to @allroundexperts and @rushatgabhane

@jliexpensify Applied on upwork!

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests

Interesting.. we don't have a PR yet. cc: @allroundexperts

@rushatgabhane That's true.

Issue not reproducible during KI retests. (Second week). Not sure if we are missing any step.
@rushatgabhane  are you able to repro?

@mvtglobally not reproducible.

@jliexpensify I'm curious if a C+ is compensated when a proposal is approved, but the issue is fixed by another PR.

@rushatgabhane let me take this one to the team and I'll get back to you with an answer!

@jliexpensify appreciate it, thank you! 😊

Paid both, closing!


pkg/covermerger: never give up diffing the files

It hopefully fixes https://github.com/google/syzkaller/issues/4815.
The default 1 second timeout is not what we want.
To reproduce the problem, set timeout to 10 ms.

It can actually make the coverage flaky.

0 means no timeout at all, right? Not some default one?

// Number of seconds to map a diff before giving up (0 for infinity).


Adding file necessary for importing to ReadTheDocs

Followed the instructions here for setting up ReadTheDocs.

Pull Request Test Coverage Report for Build 126

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 75.314%

Totals

Change from base Build 125:
0.1%

Covered Lines:
1199

Relevant Lines:
1592

💛  - Coveralls


fix: JavaScript should not be an option

Is your feature request related to a problem? Please describe.
Currently the wizard includes a "Will you be using TypeScript or JavaScript?" question, which overrides the answer to TypeScript. I understand this is a bit of a joke, but the additional question could cause confusion or frustration with users that are trying to use JavaScript (for example #117). Also consider that many users of templates are beginners, and every question you ask them adds cognitive overhead that could cause them to quit if they don't understand the decision.
Describe the solution you'd like to see
I think a better DX would be to simply remove this question from the template, which would better represent that the template is specifically for TypeScript. If you want to be extra explicit, you could still add "Using TypeScript!" somewhere in the log.
Describe alternate solutions
Keep the question but have it automatically be answered like this:
? Will you be using TypeScript or JavaScript? TypeScript

This would look similar to what's there now, but still require less user input.
Additional information
No response

If someone isn't sure if they should learn TypeScript, telling them they should (and possibly that it's the only supported option) is better than telling them they're wrong.

I like the joke as is, however I can see why it could add confusion to people. In my opinion, if T3 becomes hyper successful (as I think it should), then perhaps one day it would be better to remove the joke. But to be honest, I like it as is

We're going to keep this until it's no longer possible to justify, maybe even a bit longer than that

@c-ehrlich May I ask what the reason/advantage is? I'm a little uncomfortable with recommending create-t3-app to JavaScript users as it stands because of this, which is unfortunate because I think there's an opportunity to give them a friendly invitation to learn TypeScript here.


The game's sensitivity resets when I stop using the controller.

I play with 60% sensitivity in the game, when I stop using the controller it automatically changes to 100%. Maybe it's a configuration that I'm overlooking. Leaving that aside, the mod is extremely useful and I appreciate you working on it

Might be a duplicate of https://github.com/getItemFromBlock/Create-Tweaked-Controllers/issues/9
What version are you on, and what other mods are you using ?

Alright, there might be an issue with my system then
I will have to see if switching to the other system (the one used in 1.20) fix that issue

It's completely fixed, thanks!

Perfect, I will keep this open until I roll the same update for 1.19 since the 1.19 branch use the same code as the 1.18

Update for 1.19 and 1.20 is out, closing this now


Loading target multiple action elements with wildcard

Hi Adam,
This PR addresses the feature request in #542. Users would be able to target multiple action elements using one or more asterisk wildcards e.g:

<div u:loading u:target="foo-*">
<div u:loading u:target="foo-*-bar">
<div u:loading u:target="*foo*bar">

I've added tests and manually tested it against my personal use case, which it satisfies.
Cheers,
Armand

Thanks for the PR! Will be merged in #551.

Merged in! Will be released in 0.52.0.


Add bitsandbytes 4bit quantization

What does this PR do?

This PR introduces bitsandbytes 4bit quantization options, bitsandbytes-fp4 and bitsandbytes-nf4. I wasn't sure how to best integrate these new options with the launcher and server so I opted to add new options vs. combining the bitsandbytes flag with new nf4 and fp4 dtype flags. The latter would have meant more control flow to allow both --quantize and --dtype to be specified but only if bitsandbytes and nf4 or fp4 were provided.
I built and tested using the docker image on a g4.12xlarge, Falcon-7B, and Falcon-40B.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@Narsil

I added a link to the QLoRA paper that introduces the NF4 data type in the README as well as a description of the bitsandbytes-nf4 and bitsandbytes-fp4 flags for the quantize option in the text-generation-launcher. Are there any other outstanding asks preventing this from getting merged?


Add input synchronization between panes so we can type same command into multiple panes at same time

Description of the new feature/enhancement
I come from Konsole & Tmux Terminal where you have the option to sync your input to multiple panes (or between your pre-selected panes in konsole). It's real handy when you ssh into more than one machine and want to run same commands on all of them. So, something like that would be nice in windows terminal.

@arslanastral - this one looks like a duplicate of https://github.com/microsoft/terminal/issues/2634.

Sure is, thanks for finding the dupe!
/dup #2634

@arslanastral - please follow the original ticket: https://github.com/microsoft/terminal/issues/2634.
This will be resolved one day!
@zadjii-msft  - I am still trying to understand whether we are waiting for the plugin infra for it or not :blush:

Nah, that one's been requested enough times that it seems sensible to just ship in-box with the Terminal.

Nah, that one's been requested enough times that it seems sensible to just ship in-box with the Terminal.

That is unfortunate. Having a suitable replacement for iTerm2 in macOS is what is keeping my company from making the swap from macOS to Windows. iTerm2 has the split panes and all that as well as the ability to input to all panes at once. It makes it incredibly useful when you manage hundreds of Linux systems and have to do maintenance on a bunch of them at once where you have to input the same commands on multiple systems.

I think you misunderstood that comment - I meant it as, "nah, we don't need to wait to ship an extensibility framework to be implemented before we implement this. We should just do this."


TimeoutError: Failed to fetch MetaMask network data Wait timed out after 3951ms

Hello
The following error occurs:
TimeoutError: Failed to fetch MetaMask network data
Wait timed out after 3951ms

Tried to wrap in wait, but it didn't help:
var session = null;
await driver.wait(async () => {
         session = await metaMask.login(seed)
}, 60000);

I tried increasing the timeout:
const metaMask = new MetaMask(driver, until, 10000);
But now I have another error, although the page in MetaMask loaded quickly and without problems
TimeoutError: Extension page is not loaded or session already started

Fixed
I needed to change the login() call to
var session =  await metaMask.login(seed);
from
var session = null;
await driver.wait(async () => {
         session = await metaMask.login(seed)
}, 60000);

Thank you :D


d3dcompiler_47 Instructions

The "Setting up the mod with ProtonTricks" section has an appeal for instructions to install d3dcompiler via WINE so I thought I'd post two ways on how to do it.

Through the GUI

Launch winetricks in your game's prefix. Since I'm using GOG via Lutris, I didn't use the Steam directory.

env WINEPREFIX="/games/gog/cyberpunk-2077/" winetricks

Select "Select the default wineprefix"

Select "Install a Windows DLL or component"

Scroll down a little until you see d3dcompiler_XX.

Check the "right" version, and exit winetricks.

In my case, I checked d3dcompiler_47. I can assume this'll be updated again at some point.

Through the console

Grab a list of all DLL versions using this command:

winetricks list-all | grep d3dcompiler

Just run this command, again replacing the prefix with your own:

env WINEPREFIX="/games/gog/cyberpunk-2077/" winetricks d3dcompiler_47

Regardless of which way you do it, it seems as through you cannot uninstall these DLL files once installed, even by unchecking them in the GUI. You'd have to completely delete your prefix and reinstall.
I'd submit a Pull Request to change the documentation page, but I've no idea how to do it and I'd rather leave it to the people who do.

You can simply delete the DLL manually and replace with stock DLL stub file. And yeah, there is no way to uninstall it using winetricks itself,

I guess the main thread for that is  in #660.
Just to follow up, since Wine started implementing d3dcompiler features.
As of Wine 7.16, you still need native d3dcompiler_47 for cyberengine tweaks to work. Just tested it without it and it didn't start.

We do not officialy support linux, guides were made by the community. Feel free to update the wiki with more up-to-date info, best place to discuss this would probably be our Discord server.
Closing this as it is not really an issue (we never intended or officially supported linux as mentioned and we won't for various reasons)

I just tested Cyberpunk 2077 with CyberEngine Tweaks using built in d3dcompiler_47.dll (Wine 8.19) and it works fine! So there is clearly some progress to it and it doesn't need the native override anymore.


Signer-ffi build doesn't generate files on MacOS

I am actually trying to build the lib on MacOS following this steps. At the end, no .so files are generated. I have seen this error on M1 and Intel.

:link: zboto Link

In linux this works

What I can see is MacOS generates .dylib while linux generates .so

That's correct. Linux's dynamic libraries are .so files, whilst MacOS's are .dylibs


[WIP] add more bots

Release Drafter: https://probot.github.io/apps/release-drafter/
Work In Progress: https://probot.github.io/apps/wip/
todo: https://probot.github.io/apps/todo/
Reminders: https://probot.github.io/apps/reminders/
No Response: https://probot.github.io/apps/no-response/

ping @StrikerRUS and @jameslamb .
I like Release Drafter most. However, to better use it, we should label all PRs for Now.

To be honest, I find that bots make process messy.
For example, lockbot: I don't want to wake up, open my email app and see 30+ email from bots. I don't want to unsubscribe from all notifications from closed issues because I want to get notifications for user's comments, but I cannot customize to not get notifications about bot's comments. Also, this bot breaks the order of closed issues when you apply Recently updated sort order: really updated issue are lost in the dozens of "recently locked" issues.

@StrikerRUS
Yeah, the lock bot is a little bit annoying, we can set skipCreatedBefore to avoid it locks these old issues.
For the rest bots, I think only No Response will comment and close the issues, but it should only comment on the non-closed issues.
WIP is a light bot, I think have it or no have it have no differences.
todo is mainly for myself, sometimes I will forget to create new issues for these todos.
Reminder is a user-activated function, I think it is safe to add.

BTW, we can disable the comment by lock bot, let it just lock the thread.

@guolinke Yep, making bots less verbose is very cool thing!
Please give me some time to read about new bots.

Release Drafter: https://probot.github.io/apps/release-drafter/
Work In Progress: https://probot.github.io/apps/wip/
todo: https://probot.github.io/apps/todo/
Reminders: https://probot.github.io/apps/reminders/
No Response: https://probot.github.io/apps/no-response/

In my opinion we should not use the todo bot.
I think we need to develop the discipline ourselves of preferring GitHub issues to TODO/FIXME comments in code. One way to nudge people on this is to use linters to prevent TODO/FIXME comments from being merged, like I've done in the R package
I read the docs for TODO bot and I feel it's not worth the overhead. To make it usable you have to learn their specific comment syntax, and I'm pretty confident that what you can express in those contents will only be a subet of features you get with directly authoring issues (e.g. attaching screenshots).

@StrikerRUS @jameslamb
I almost labeled all PRs since the last release.
I categorize PRs into the following classes:

feature, PR with the new functions
breaking, change of existing functions, result in different results
doc, documentation related
fix, bug fixes
maintenance, related CI, tests, code style, etc.
efficiency, related to efficiency improvement

Maybe some of PR is categorized into wrong classes, you can double-check it.

@guolinke I've labeled the rest of PRs and replaced some labels. You can check them by sorting closed PRs by "Recently updated" (~3 pages).

thanks @StrikerRUS .
@jameslamb I agree to remove todo bot, it seems messy in this PR: https://github.com/microsoft/LightGBM/pull/2850

Seems that lockbot is still not working...

Will Release Drafter conflict with our current release changelog maker?
https://github.com/microsoft/LightGBM/blob/676b288d91f4d17e62f0f27ef0d2a5e4ade6d957/.vsts-ci.yml#L191

@StrikerRUS yeah, I think we can disable the changlog generated by vsts.

@StrikerRUS @jameslamb any other suggestions?


Module not found: Package path ./generated is not exported from package

Hey, the project straight from the box returns the following issue when I press "Blog" section:
 ⨯ ./app/(marketing)/[...slug]/page.tsx:2:0
Module not found: Package path ./generated is not exported from package .../Developer/saas-stripe/my-saas-project/node_modules/contentlayer (see exports field in .../Developer/saas-stripe/my-saas-project/node_modules/contentlayer/package.json)
  1 | import { notFound } from "next/navigation"
> 2 | import { allPages } from "contentlayer/generated"
  3 |
  4 | import { Mdx } from "@/components/content/mdx-components"
  5 |

after pnpm run dev I also get info message: ConfigReadError (...Developer/saas-stripe/my-saas-project/contentlayer.config.js): Error [ERR_MODULE_NOT_FOUND]: Cannot find module .../Developer/saas-stripe/my-saas-project/.contentlayer/.`
I tried to find the issue of that, but I have no idea how to fix it

Hi @SecurityQQ, have you modified files in the meantime ? Because I created a new project with npx, add .env file and I do not get this error. Let me know if you still have this problem.


FriendRequest is not export to npm module

i'am trying v0.4.0 with npm install
how to get a FriendRequest instance while using require('wechaty') ?
const {Wechaty,Room,Contact,FriendRequest} = require('wechaty')

FriendRequest is undefined
i'am testing the following code.
const sender : Contact = message.get('from')
const fr = new FriendRequest()
fr.send(sender, 'hello~')

sorry for that, I forgot it.
3 solutions:

you can modify node_modules/wechaty/index.js, add src/friend-request.js to it like this:
const FriendRequest = require('./src/friend-request.js')
Object.assign(Wechaty, { FriendRequest })

i recommend u to try typescript version(master), it's easy to use by run ts-node instead of node, nothing too complicated... (if u r luck enough)

wait some time, then i'll update npm a new version later.

@JasLin Hi, just ping u because I published wechaty v0.5.1 on npm just now, with FriendRequest exported.


NIFI-6082: Added DatabaseRecordLookupService, refactored common DB utils

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Forgot to mention that there is a check-style error.

@ijokarumawak Sorry when I tried to rebase just my merge commit, it overwrote the commits from your PR :( My mistake, I can restore the history if you like

@mattyb149 Thanks for the updates! The comment about how avro schema is created is the only remaining concern to me. Were you able to reproduce the issue? If we can document why that is needed, that would be very helpful for future updates and maintenance. Thanks!

I don't mind with not having my commit history :)

When I removed the code from DataTypeUtils.convertRecordFieldtoObject(), I get the same IllegalTypeConversionException thrown from JoltTransformRecord as before this PR. Its transform() method calls convertRecordFieldtoObject() directly (not via DataTypeUtils.toRecord() or whatever), and only if the object is a Record does it check the fields' types and convert each of the fields. Once it gets called with a Map of ARRAY[RECORD], then it calls convertRecordMapToJavaMap()` which then calls convertRecordFieldtoObject() for each field. The field in my example is an Object[] with a type of ARRAY[RECORD]. There is no handling for Object[] at that point, hence the IllegalTypeConversionException. Were you not seeing this during your testing?
I think I should put that code back in, as well as tracking down why I had to put that "override nullable" stuff in. What do you think?

Ok I remember now, it's for when the lookup doesn't match any keys. We still build the schema from the table (where the column is not nullable), but when no results are returned, we put nulls in the fields. To reproduce, send in a couple of records for which the lookup is successful, and then a record where the lookup value is not found.
Is there a better way to handle this?

Thanks @mattyb149 for explaining why we need nullable fields. That makes sense.
However, in that case, I would implement that adjustment at LookupRecord side.
I submitted a PR to your branch, to share my idea.
If you agree with that and can cherry pick my commit to this PR, then I'm +1. Thanks!
https://github.com/mattyb149/nifi/pull/6

Thanks @mattyb149 for merging my commit. I've merged this PR to master!


TP12 changes

Please review my changes

@rapatchi,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Build on Dashing+

Hey. So I spent some time recently getting this working on Dashing, Eloquent and Foxy.
The main changes were updating message generation from IDL files in Dashing.
Pulled in @deb0ch warning fixes from this PR: https://github.com/ros2-rust/ros2_rust/pull/20 as a base.
Will probably take a shot at full IDL support #21. @lelongg has a https://github.com/ros2-rust/ros2_rust/pull/15, but it is pre-dashing.

I'll have to update the azure pipeline

Could one of the current maintainers take a look to merge this? Seems like the number of folks writing their own rust client libraries from scratch is increasing due to the perceived inactivity of this official repo. @esteve @lelongg

I don't have a working dashing+ ros2 installation right now so it's difficult for me to test the changes but the changes look sensible. I suppose someone else making sure it's working should be enough to merge it (the pipeline tests are not testing much as I remember).


Add Rich Enterprise Controls to the User Interface

Tutorials: https://developers.sap.com/tutorials/sapui5-fiori-cf-fiorify.html
Write here how you think we can improve the tutorial ...
hi, in Step 2: Use the smart filter bar , i found 77 items.

but  you propose 12,18,60 and 3 as answer.
In fact, After click on OK button, we must click on GO button .
Best regards.

Thanks for the feedback.
That's right, after clicking "OK" to close the filter window you have to click on "Go" to actually apply the filter. Only then the number of items changes. I will change the wording to hopefully make things clearer.


authentication decorators not working?

Hi!
I'm currently trying out channels and following the instructions about authentication in the docs and I seem to stumble upon a problem.
Right now, I have a view that is uses the LoginRequiredMixin from braces. So once I'm logged in, I can access the View that will take care of connecting to the websockets.
My websocket.connect consumer looks like the following:
@channel_session_user_from_http
def ws_connect(message):
    if message.user.is_authenticated():
        Group(message.user.username).add(message.reply_channel)
        Group(message.user.username).send({'text': 'Conected!'})
    else:
        message.reply_channel.send({'text': 'Not authenticated.'})

However, I always have a AnonymousUser instead of the authenticated user.
Do I do anything wrong or is there a problem regarding the channel_session_user_from_http decorator?

The most common cause of this is the session cookie not making it through to the WebSocket; are you running both the site and the WebSocket through the same domain/port (if you're on runserver, then this is true by default).
You can see what cookies you have in message['cookies'] - would be good if you can compare that to the ones you get in a normal view to make sure they're coming through alright.

Hey  @andrewgodwin,
thanks for the quick response. I checked a min ago and message['cookies'] raises a KeyError. By Accessing the __dict__-Attribute, shows there is also nothing similar. An idea what the reason could be?

My mistake, it's message['headers'] - there's no decoded cookies attribute in ASGI!

I have a headers key, however no cookie data in there.

The problem sits in front of the screen! In my JS I used ws://<IP_ADDRESS>:8000/ws. However, I acceded the page via http://localhost:8000. Thanks anyway and please, keep up the good work
I will close this Issue now :)

Aha! I have done that too. Will see if I can add it in our docs somewhere :)

Maybe the documentation could use
var socket = WebSocket('ws://' + location.host + '/ws');

instead of
var socket = WebSocket('ws://<IP_ADDRESS>/ws');

Agreed.


Test Suite Readme update - pandas prerequisite

@LakshmiKumar23 This PR adds mention of pandas as a pre-requisite for the RPP test suite

@kiritigowda can you merge this


Check if range issue is consistent

Create an interferogram between and inspect if there is a range error present
July 10 2019
S1B_IW_SLC__1SDV_20190710T014959_20190710T015026_017065_0201B8_069B
July 4 2019
S1A_IW_SLC__1SDV_20190704T015049_20190704T015116_027961_03283A_191E

It is even worse for the other pairs


A question on evaluation time

Hi, thanks again for your code and evaluation results. I'm reproducing the results of your method and the program is quite slow when I run ./eval_seq in the bin folder. As a result, it would take a long time to test even one sequence. So I tend to try the eval_pair. Again, it takes 10109ms to do "ssc.getScore" function. In your paper, however, the average time of making descriptors is approx 2.563 ms. Have I missed any details?  My platform info: Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz.

I've just restarted my Desktop and the time cost is still the same as before. It will take almost 20 days if I'd like to generate the pairs'  similar scores of sequence 07, which is the smallest sequence, following the neg_100 strategy, let alone the other sequences. Please help~~~THX in advance!

Hi, thanks again for your code and evaluation results. I'm reproducing the results of your method and the program is quite slow when I run ./eval_seq in the bin folder. As a result, it would take a long time to test even one sequence. So I tend to try the eval_pair. Again, it takes 10109ms to do "ssc.getScore" function. In your paper, however, the average time of making descriptors is approx 2.563 ms. Have I missed any details? My platform info: Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz.

Hello, can you provide the time consuming of each part of the program?  (data loading, projection, icp, computing descriptor, and matching)


[YUNIKORN-1293] Add custom redirects to the current version doc

Docusaurus hides the version number in the URL for the latest versions, e.g right now our latest version is 1.0.0, but http://localhost:3000/docs/1.0.0 gives a 404. Ideally, we should make have an accessible URL for this version as well. This is in order to fix: https://github.com/apache/spark/pull/37622

This is not a scalable or maintainable solution. It breaks the release procedure.
Not sure why YuniKorn needs to comply with this rule for a specific version of documentation when there is no version information in any of the volcano links published as part of the Spark 3.3 documentation:

https://volcano.sh/en/docs/podgroup/
https://volcano.sh/en/docs/podgroup/#example

This is not a scalable or maintainable solution. It breaks the release procedure.
Not sure why YuniKorn needs to comply with this rule for a specific version of documentation when there is no version information in any of the volcano links published as part of the Spark 3.3 documentation:

https://volcano.sh/en/docs/podgroup/
https://volcano.sh/en/docs/podgroup/#example

This is a very good point. Let's move the discussion to the Spark community: https://github.com/apache/spark/pull/37622. This PR is not a sustainable solution, it's gonna break when we release a new version. We can revert this once we reach a consensus there.  BTW, I've spent hours and this is the best solution so far that can work.

We'll leave it in place for the next days, release 1.1 is due next week and should include a new versioned release for the docs to be created. Before we can commit that update this change will most likely need to be rolled back to not break our docs.


AudioKit doesn't pass App Store Validation (Mac App Store)

Steps to reproduce:

open HelloWorld project (Mac)
set valid bundle ID (it must be ID registered in your Developer Account)
enable signing
make sure project can be build
archive project
validate archive from Organizer

Actual result:

Expected result: Validation success
I'm trying to submit my new app to the Mac App Store and can't validate it.
I contacted Apple and they answered "We’ve determined that your question should be addressed by the support channel for AudioKit - the third-party resource you are using".
I created a new ticket and tried to explain the root of the problem "App Store Validation shows wrong error messages – it doesn't help to figure out actual problem". But I'm not sure Apple will help me with this.

This is likely because you've set the AudioKit and AudioKitUI frameworks as embedded in your app. You need to link with them only, not embed them, since they are static.

@megastep you just saved my life!


Hello every one, please i got an error in my code, here is the error, please can someone help me how to fix it...thanks.... "but saw tensor: %s" % p) ValueError: prefix tensor must be either a scalar or vector, but saw tensor: Tensor("batch_size:0", dtype=int32)

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:
It must be a bug or a feature request.
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.


New version: r12f.Rnp version 0.1.143.main

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 403
Microsoft Reviewers: Open in CodeFlow

I created a new PR with winget-create here, not sure if it will work better: https://github.com/microsoft/winget-pkgs/pull/54559.


boards: arm: nrf9160_pca10090: increase reset line wait time

The reset line wait time of 1 ms has been shown to not be enough for the reset. Increasing to 10 ms.
Signed-off-by: Sigurd Olav Nevstad<EMAIL_ADDRESS>

Thanks! It would be nice if you could to add a link in the commit message to the commit that made this change necessary.

Looks OK to me, please, make CI green

CI is green now

Looks OK to me, please, make CI green

CI is green now

I'd still want @lemrey to confirm that this longer sleep duration is fine.

LGTM

Then we merge this.


🚀 when upgrading - script should detect if the installed version is the current version

Feature Description
When upgrading with the installer script on Buster it already detects the installed version of RPi-Jukebox-RFID, but it doesn't know, if it is the current version and doesn't need to update at all.
How do you envision the feature to work from a users perspective?
Make updates easier.

I agree this could be a nice enhancement.
We read already the used git commit during installation, if we save the commit number, we could compare it in future installation.
If the commit number is different, I think we can assume that the commit number coming from the repo is newer.

The version information is maintained here: https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/master/settings/version
This numbering is updated rarely, so currently the information is not very useful. The installer uses the latest commit from master branch, so the newest updates are used, but the version should reflect this or be dropped altogether.
An idea could be to store the git commit in the version file (maybe while keeping the major version), so this information is useful and can be used to determine, if the install script should run at all.
@MiczFlor, what do you think?
See also #829.


Loss not changing when training with Kaggle dataset

Hello,
Thank you for this beautiful work
I have not changed the settings and am using your code as it is with the Kaggle dataset but I have the loss that does not change when training.
Why don't I get the same results as you?
Thank you in advance.
Epoch 0 | Loss   0.45
Epoch 1 | Loss   0.42
Epoch 2 | Loss   0.42
Epoch 3 | Loss   0.42
Epoch 4 | Loss   0.41
Epoch 5 | Loss   0.41
Epoch 6 | Loss   0.41
Epoch 7 | Loss   0.41
Epoch 8 | Loss   0.41
Epoch 9 | Loss   0.41
Epoch 10 | Loss   0.41
Epoch 11 | Loss   0.41
Epoch 12 | Loss   0.41
Epoch 13 | Loss   0.41
Epoch 14 | Loss   0.41
Epoch 15 | Loss   0.41
Epoch 16 | Loss   0.41
Epoch 17 | Loss   0.41
Epoch 18 | Loss   0.41
Epoch 19 | Loss   0.41
Epoch 20 | Loss   0.41
Epoch 21 | Loss   0.41
Epoch 22 | Loss   0.41
Epoch 23 | Loss   0.41
Epoch 24 | Loss   0.41
Epoch 25 | Loss   0.41
Epoch 26 | Loss   0.41
Epoch 27 | Loss   0.41
Epoch 28 | Loss   0.41
Epoch 29 | Loss   0.41
Epoch 30 | Loss   0.41
Epoch 31 | Loss   0.41
Epoch 32 | Loss   0.41
Epoch 33 | Loss   0.41
Epoch 34 | Loss   0.41
Epoch 35 | Loss   0.41
Epoch 36 | Loss   0.41
Epoch 37 | Loss   0.41
Epoch 38 | Loss   0.41
Epoch 39 | Loss   0.41
Epoch 40 | Loss   0.41
Epoch 41 | Loss   0.41
Epoch 42 | Loss   0.41
Epoch 43 | Loss   0.41
Epoch 44 | Loss   0.41
Epoch 45 | Loss   0.41
Epoch 46 | Loss   0.41
Epoch 47 | Loss   0.41
Epoch 48 | Loss   0.41
Epoch 49 | Loss   0.41
Train Accuracy =  0.8181365664610407

can you try re-training once only with de-focus blurred and sharp images (not using the motion blur images)
If you see that the training accuracy is high, then you can think of introducing motion blur images to the training.


Connecting...

If you try to connect to a device and the connection failed, the "connect-button" stays grey and it says "connecting...". Then you need to restart the app.

I have seen this too. Need to add a timeout. I would suggest making this a setting that the use can change from the default setting.

This can happen when it asks for a password to authenticate and you decide to abort the connection attempt.


Add ulx uptime to check server's uptime

Fixes: #12

Great...  We don't want that.

Also, using SysTime() because CurTime() supposedly freezes when all players disconnect. We don't want that.

This is when hibernation is enabled (can't remember if we have it enabled or not). If the use-case for this command is to determine how unstable the server is getting due to imprecision, then CurTime() is definitely the right choice here.

Now the uptime command will fluctuate based on lag, will be inaccurate if server has been running for over 6 hours and possibly be totally wrong if sv_hibernate_think is 1. As per your request :P


Use no user when the users section is missing in kubeconfig

Fixes kubernetes-incubator/client-python#236

Looks good. Thanks.


Upgrade hamcrest dependency

Type of change

Refactoring

Description

Upgrade 7years old hamcrest matcher library
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[x] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=smoke

:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: smoke
TEST_CASE:
TOTAL: 3
PASS: 3
FAIL: 0
SKIP: 0

:x: Test Summary :x:
TEST_PROFILE: pr
TEST_CASE:
TOTAL: 115
PASS: 107
FAIL: 1
SKIP: 7
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

testCreateUserWithWrongPayloadCRD in io.enmasse.systemtest.shared.brokered.api.UserApiTest


feature/quick-replies-with-location

#232

Coverage increased (+0.002%) to 94.1% when pulling aa2dcdce3e5b6993d508e4bc27e7dcea123616f5 on feature/quick-replies-with-location into 6eb3b49df88ec526fc187e6ff34fdbd232b63bc1 on develop.


How to scale the ui globally?

Hey, in egui you can change the global zoom_factor or pixels_per_point and I tried to do this in bevy_egui like this:
if keys.pressed(KeyCode::ControlLeft) && keys.just_pressed(KeyCode::Plus) {
    let ctx = egui_context.ctx_mut();
    ctx.set_zoom_factor(ctx.zoom_factor() * 1.1);
} else if keys.pressed(KeyCode::ControlLeft) && keys.just_pressed(KeyCode::Minus) {
    let ctx = egui_context.ctx_mut();
    ctx.set_zoom_factor(ctx.zoom_factor() * 0.9);
}

However the ui changes for like 0.5 seconds and then flips back. What am I doing wrong?

Nvm found out about EguiSettings

Yeah, one of the ways is to do that with EguiSettings, but it was introduced before Egui had its own scale factor. It should work as well, so I'll double-check it too.


Query Name Minimisation - RFC 7816

Hello, I have trying out dnscat2 in a lab environment and have observed when an iterative query is performed by bind (9.14.3 installed from Alpine 3.10) the client will fail to establish a tunnel.
After looking into the problem, it appears that bind 9.14 ships with Query Name Minimisation feature as defined by RFC 7816 enabled by default. More information.
Essentially, bind is making a number of A queries of the form _.example.com (where dnscat server it authoritative for example.com). E.g. if the client wants 1234.1234.1234.example.com, bind will make the following requests for A and AAAA RRs

_.com
_.example.com
_.1234.example.com
etc

Sadly, dnscat2 does not expect this and results only rejecting the first query that it is authoritative for (_.example.com) as not found and ignoring later requests.
A non invasive workaround to the problem is adding a dummy dns server that is authoritative for the same domain as dnscat2 but with no RRs and configuring dnscat2 to proxy requests to it (i.e. it will reject anything that dnscat2 can process). Alternatively,  disabling qname minimisation on the server would be acceptable.

Interesting, I hadn't heard of this before!
On Wed, Jul 17, 2019 at 5:39 AM Karim Kanso<EMAIL_ADDRESS>wrote:

Hello, I have trying out dnscat2 in a lab environment and have observed
when an iterative query is performed by bind (9.14.3 installed from
Alpine 3.10) the client will fail to establish a tunnel.
After looking into the problem, it appears that bind 9.14 ships with Query
Name Minimisation feature as defined by RFC 7816 enabled by default. More
information https://www.isc.org/blogs/qname-minimization-and-privacy/.
Essentially, bind is making a number of A queries of the form _.
example.com (where dnscat server it authoritative for example.com). E.g.
if the client wants 1234.1234.1234.example.com, bind will make the
following requests for A and AAAA RRs

_.com
_.example.com
_.1234.example.com
etc

Sadly, dnscat2 does not expect this and results only rejecting the first
query that it is authoritative for (_.example.com) as not found and
ignoring later requests.
A non invasive workaround to the problem is adding a dummy dns server that
is authoritative for the same domain as dnscat2 but with no RRs and
configuring dnscat2 to proxy requests to it (i.e. it will reject anything
that dnscat2 can process). Alternatively, disabling qname minimisation on
the server would be acceptable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/iagox86/dnscat2/issues/144?email_source=notifications&email_token=AAEAQTEUBPYACMDSI7J427LP74HGLA5CNFSM4IEP4W4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7W6PDA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEAQTAIGU2VYT7DERJEGWLP74HGLANCNFSM4IEP4W4A
.

I've taken a deeper look into this issue. It appears what is needed in dnscat2 for it to work reliably with latest versions of bind is for it to:

Reply to NS requests for its domain with its own address.
Send "Not Found" reply for A/AAAA requests within the domain its authoritative for instead of silently ignoring them or using the passthrough function.
Include an authoritative nameserver in the "Not Found" reply (I guess this would not hurt being in all replies).

It might be possible to ignore point 3 and instead change point 1 to "reply to NS requests for any sub domain with its own address". This is because the algorithm presented in RFC 7816 does not distinguish between these two.
Alas, I dont have any experience with ruby so I am not sure whether I have the time to put together a PR. Instead, I have included some analysis below in the hope that it will be of some use and is not lost.
Examples
To better demonstrate the issue a topology was created in GNS3 which was used for Wireshark captures. The Topology is as below (dns-C1 will be performing the iterative query and dns-isp is the authoritative root):

The FQDN of the dnscat server is dnscat2.c2.site.
In the following, all captures were performed on the link between dns-C1 and SW1 with the cache on dns-C1 empty. The colouring of the captures shows the remote party:

Pink is between dns-C1 and dnscat client
Green is between dns-C1 and dnscat server
Blue is between dns-C1 and other dns servers.

Scenario 1
The first scenario is when dns-C1 is configured with qname-minimization disabled. It works as expected:

Scenario 2 (nominal)
The second scenario is when dns-C1 is configured with qname-minimization relxed (the default configuration). The dnscat2 server fails to answer any but the first request for A _.domain. bind will end up sending ServFail to the dnscat2 client after a timeout.

Scenario 3 (dummy passthrough)
Third scenario is when dnscat server is configured to pass through requests to a 3rd dns server that has no resource records configured. I.e. it will send "Not Found" for any request. This appears to work, however it will fail when qname-minimization strict is configured.

Scenario 4 (strict RFC 7816)
When qname-minimization strict is configured in bind it will not request the A _.domain records, and instead request NS resource records or reading the nameserver from the SOA in cases where the NS is not defined for a given domain. This is important as is the bind manual suggest this option may become the default in the future.
I was unable to configure a dummy bind server that is used as a pass through for dnscat to provide the correct responses as the authoritative name servers section of the response is not copied across. Thus I believe there is no workaround in this case.


Don't publish rule event in case of external event.

Currently, RuleManager publishes rule event by matching only event's type.
Therefore RuleManager will publish external event as rule event if event's type is valid.

Released in 1.6.3


Mock Wire.h

Feature Request
Mock this library:
https://www.arduino.cc/en/reference/wire
Compilation mocks now exist due to #72
It appears this will need to be implemented as an array of HardwareSerial objects within GODMODE.

It looks like the maximum depth of this mock will be to support the example shown here: https://www.arduino.cc/en/Tutorial/SamdSercom
Note the following (apparently internal) features that will need to be mocked somehow.

pinPeripheral() function, whose use below may or may not contain a typo
TwoWire(something, something, something) constructor
&sercom3 variable of some sort
SERCOM3_Handler -- not sure if this is some magic name

#include <Wire.h>
#include "wiring_private.h"

TwoWire myWire(&sercom3, 0, 1);   // Create the new wire instance assigning it to pin 0 and 1

void setup()
{
  myWire.begin(2);                // join i2c bus with address #2

  //  use the internal function that reassigns the pins
  pinPeripheral(0, PIO_SERCOM);   //Assign SDA function to pin 0
  pinPeripheral(1, PIO_SERCOM);   //Assign SCL function to pin 1

  myWire.onRequest(requestEvent); // register event
}

void loop()
{
  delay(100);
}

// function that executes whenever data is requested by master
// this function is registered as an event, see setup()
void requestEvent()
{
  myWire.write("hello "); // respond with message of 6 bytes
                          // as expected by master
}

// Attach the interrupt handler to the SERCOM
extern "C" {
  void SERCOM3_Handler(void);

  void SERCOM3_Handler(void) {
    myWire.onService();
  }
}

Given that this mock exists, I'm closing this issue
https://github.com/Arduino-CI/arduino_ci/blob/master/cpp/arduino/Wire.h


Error when ContentType is in wrong format

Fixes:
When spliting the ContentType returns only one item, assignating the app_label and model fails. The API returns a 500 error.
Ensure that a ValidationError is returned if a ValueError is raised during the assignation

Linked to #2972

Looks like @jeremystretch already fixed this.


⚠ ku-s has degraded performance

In b865305, ku-s ($KU_API_STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 16369 ms

Resolved: ku-s performance has improved in c7b3705.


Investigate and fix uncaught JSON.parse error

Description
Get this message in console log:
Uncaught (in promise) SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

Probably an uncaught exception in some mistaken API call

Not able to reproduce


Training Details of Diffdock-L

Hello! I noticed that in the original DiffDock paper, you mentioned "We trained our final score model on four 48GB RTX A6000 GPUs for 850 epochs (around 18 days)." However, in the DiffDock-L paper, there is no mention of the specific GPUs and the time taken for training. I would like to ask about the training process of the workdir/v1.1/score_model you provided. Specifically, how many GPUs were used and how many days did the training take? If possible, could you also provide the training time for each epoch? On my side, it takes at least one and a half hours to train one epoch using only the PDBBind dataset. Is this within expectations?

I'm also having a similar issue. I tried training from scratch on PDBBind using the following command:
python -m train --run_name _debug --test_sigma_intervals --esm_embeddings_path data/esm2_embeddings.pt --log_dir workdir --lr 1e-3 --tr_sigma_min 0.1 --tr_sigma_max 19 --rot_sigma_min 0.03 --rot_sigma_max 1.55 --batch_size 16 --ns 48 --nv 10 --num_conv_layers 6 --dynamic_max_cross --scheduler plateau --scale_by_sigma --dropout 0.1 --sampling_alpha 1 --sampling_beta 1 --remove_hs --c_alpha_max_neighbors 24 --receptor_radius 15 --num_dataloader_workers 1 --cudnn_benchmark --val_inference_freq 5 --num_inference_complexes 500 --use_ema --distance_embed_dim 64 --cross_distance_embed_dim 64 --sigma_embed_dim 64 --scheduler_patience 30 --n_epochs 5
I am running the most recent commit (b4704d9 on the main branch). It took only 90 seconds to train 5 epochs, which seems inappropriately low to me.
It would be helpful if the README could include details on how to retrain the models from scratch to replicate the paper.


q

$q pls

Use $queue to invoke the audio queue, I don't want to add an alias for a command that's 5 letters long :/

Use $queue to invoke the audio queue, I don't want to add an alias for a command that's 5 letters long :/


Cycling loc stream destroy and create show memory leakage

When repetitive calls are made to create and destroy loc streams, I see evidence of memory increase not at every history time step but at the time when loc stream is regenerated.   There is a small bug in the constructor, which will be worked on to make the trajectory sampler code work properly.
TestDriver Date: 2020/12/14  Time: 21:10:00   29.7%Memory Committed
TestDriver Date: 2020/12/14  Time: 21:20:00   29.7%Memory Committed
TestDriver Date: 2020/12/14  Time: 21:30:00   29.8%Memory Committed
TestDriver Date: 2020/12/14  Time: 21:40:00   30.0%Memory Committed
TestDriver Date: 2020/12/14  Time: 21:50:00   30.0%Memory Committed
TestDriver Date: 2020/12/14  Time: 22:00:00   29.8%Memory Committed
TestDriver Date: 2020/12/14  Time: 22:10:00   29.7%Memory Committed
TestDriver Date: 2020/12/15  Time: 02:40:00   30.0%Memory Committed
TestDriver Date: 2020/12/15  Time: 02:50:00   30.0%Memory Committed
TestDriver Date: 2020/12/15  Time: 03:00:00   26.3%Memory Committed
TestDriver Date: 2020/12/15  Time: 03:10:00   32.6%Memory Committed
TestDriver Date: 2020/12/15  Time: 03:20:00   32.2%Memory Committed
TestDriver Date: 2020/12/15  Time: 03:30:00   32.3%Memory Committed

I'm going to ping @atrayano here too. Just because he's probably our locstream expert...

This should not be staled and closed. Marking longterm


[google_maps_flutter_web] Add "My Location" Widget

Currently, we don't "My Location" widget, so this PR i want support that feature, Thanks
Issue: https://github.com/flutter/flutter/issues/64073
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

small demo
https://user-images.githubusercontent.com/34020090/208731403-2a8d8374-c3d3-482b-9c1a-c4b00b43660e.mov

Hi @ditman, can you help to review ?, i'm fixed some your comments, but there is a comment i will fix it in the next pr because this pr is too big to review :D.

Update from triage: this in on @ditman's radar, but there's been high-priority work in another plugin that has taken precedence.

Update from triage: this in on @ditman's radar, but there's been high-priority work in another plugin that has taken precedence.

@stuartmorgan Thank you for letting me know.

We've just completed the migration of the plugin code to the flutter/packages repository, as described in https://flutter.dev/go/flutter-plugins-repo-migration, and this repository is now being archived. Unfortunately that means that all in-progress PRs here must be moved to flutter/packages.
Please see our instructions for an explanation of how to move your PR, and if you have any issues moving your PR please don't hesitate to reach out in the #hackers-ecosystem channel in Discord.
Our apologies that your PR was caught in this one-time transition. We're aware that it's disruptive in the short term, and appreciate your help in getting us to a better long-term state!


Update tag modification test + make it not rely on Shuttle internals

As noted by @jorajeev, this test relies on the main thread being TaskId(0). Updated the test to remove this reliance on Shuttle internals, and added an assertion that the spawned task is unaffected by the tag setting while at it.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closed as tags are deprecated.


createJsonClient post params

When I try to do something like
var client = restify.createJsonClient({
  url : 'http://localhost:3003'
});

client.post('/foo', {bar : 'bar'}, function (err, req, res, obj) {
  ...
});

on serverside where I have this:
server.post('/foo', function (req, res, next) {
  console.log([req.body, req.params]);
  ...
});

req.body is undefined and req.params an empty object {}

Well, it doesn't look like you assigned a bodyParser?
server = restify.createServer();
server.use(restify.bodyParser());
server.post('/foo', function (req, res, next) {
  console.log([req.body, req.params]);
  ...
});

Let me know if that fixes you.


unauthenticated mode

I was wondering if you can use the unauthenticated requests? Like getting a public gist without authenticating the user.

I don't think it does at the moment, but it really should. PRs welcome!

I found a work around. If you initialize a Github instance like this:
var noauthgithub = new Github({});

It will allow you to make some requests with the gists and stuff. You just don't define anything in the options. The variable still exists, it just doesn't have anything in it so no variable does not exist  errors are thrown. Therefore, you don't really need to change anything, but I'll keep it open just in case somebody wants it to be official.

@sargeant45 Ah! Good to know! I wasn't sure given there isn't really any documentation around it and it's not evident in any of the unit tests. Updating issue to be more documentation-related. Thanks!


Parsing errors when using named groups in regexes

What version of standard?
11.0.1
What operating system, Node.js, and npm version?
macOS: 10.13.6
node: v10.7.0
npm: 6.10.0
What did you expect to happen?
It would be able to lint code that contains regexes with named groups (stage 4 proposal)
What actually happened?
It fails with a parsing error when you use a regex like that.
Parsing error: Invalid regular expression: /(?<name>[a-z]+)/: Invalid group

To use experimental syntax you have to use babel-eslint, please see this part of the documentation:
https://github.com/standard/standard#how-do-i-use-experimental-javascript-es-next-features


migrate error on pgroonga

Hi,
I tried to upgrade redmine and full text search.
An error occurs when db migrate.
"tag_ids" is integer[] but not support in pgroonga?
Environments:
OS:                           ubuntu 20.04.3
Redmine:                  4.2.3
full text search:          v1.0.3

Rails version             5.2.6
Ruby version              2.7.0-p0 (x86_64-linux-gnu)
RubyGems version          3.1.2
Rack version              2.2.3
Database adapter          postgresql

Errors:
...
==<PHONE_NUMBER>1606 CreateFtsTargets: migrating =================================
...
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UndefinedObject: ERROR:  data type integer[] has no default operator class for access method "pgroonga"
HINT:  You must specify an operator class for the index or define a default operator class for the data type.
: CREATE  INDEX  "fts_targets_index_pgroonga" ON "fts_targets" USING PGroonga ("id", "source_id", "source_type_id", "project_id", "container_id", "container_type_id", "custom_field_id", "is_private", "last_modified_at", "title", "content", "tag_ids") WITH (normalizer = 'NormalizerNFKC121')
...
var/lib/redmine-4.2.3/plugins/full_text_search/db/migrate/20190603061606_create_fts_targets.rb:26:in `change'

postgresql and extension version:
$ psql --version
psql (PostgreSQL) 12.9 (Ubuntu 12.9-0ubuntu<IP_ADDRESS>)

redmine=# SELECT *
FROM pg_extension;
 extname  | extowner | extnamespace | extrelocatable | extversion | extconfig | extcondition
----------+----------+--------------+----------------+------------+-----------+--------------
 plpgsql  |       10 |           11 | f              | 1.0        |           |
 pgroonga |       10 |         2200 | f              | 2.1.8      |           |
(2 rows)

Thanks

Could you try with the latest PGroonga again?

No response.

I tried with the latest pgroonga, but no change.
I gave up
thanks


Generated Doc in unsupported or corrupted

I am trying to generate doc by
const docx = htmlDocx.asBlob(html) as Buffer;
res.setHeader("Content-Type", "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
res.setHeader("Content-Disposition", `attachment; filename=${_.snakeCase(title)}.docx`);
return res.send(docx);

But on opening file it is saying "The document “test.docx” could not be opened. The file isn’t in the correct format."
I have also tried generating doc from sample page. It is also giving same error.

cc: #https://github.com/evidenceprime/html-docx-js/issues/86#issuecomment-742252485


fix alt-text code sample

addresses #227
documentation of the "alt-text" rule was not up to date

Coverage remained the same at 100.0% when pulling 64a1f1b40bf7ecbae8b649838ab8205aaa51a66b on katharinafluch:documentation-alt-text into 3fb2583b2573199bb49e578e0d2415bf819c272b on evcohen:master.


Use queueMicrotask when available. Fix #109

Thanks for creating this. Looks like travis CI changed. I updated master to work. Please rebase and the tests should pass.

Looks like Closure compiler does not recognize queueMicrotask. We need to create an extern file to make the compiling pass.
https://developers.google.com/closure/compiler/docs/api-tutorial3#howto-app
Let's create a file src/closure_compiler_externs.js with the following content
// Closure Compiler extern definitions
function queueMicrotask(fn) {}

That should make the test pass. If not, we just need to add the file as an extern definition to the closure command in package.json.
"closure": "google-closure-compiler --js=src/*.js --checks_only --module_resolution=node --compilation_level=ADVANCED --externs src/closure_compiler_externs.js",

Not sure this is the right approach, since queueMicrotask, setImmediate are methods of the window object, why not do window.queueMicrotask, ....

This library needs to support Node and webworkers, which don’t have a
window object. queueMicrotask is available in web workers.
On Mon, Dec 16, 2019 at 2:37 AM Jérémy Lal<EMAIL_ADDRESS>wrote:

Not sure this is the right approach, since queueMicrotask, setImmediate
are methods of the window object, why not do window.queueMicrotask, ....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/taylorhakes/promise-polyfill/pull/110?email_source=notifications&email_token=AACTJJZXZDZLGGYBVAOSQ73QY4V43A5CNFSM4J23Y5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG5ZIAA#issuecomment-565941248,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACTJJ5DXNYGWP4BK3TKUITQY4V43ANCNFSM4J23Y5EQ
.

Closing due to inactivity


LoginRedirect and LoginPop does not work

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] question
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Run application and sign-in.
Correlation ID: 0f55ecf0-cf8c-499a-b34f-819da33a5dbc
Timestamp: 2020-12-17 15:01:45Z
 - Correlation ID: undefined - Trace ID: undefined
    at ServerError.AuthError [as constructor] (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:216:28)
    at new ServerError (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:3319:32)
    at ResponseHandler.validateTokenResponse (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:4508:23)
    at AuthorizationCodeClient.<anonymous> (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:4759:45)
    at step (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:181:27)
    at Object.next (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:162:57)
    at fulfilled (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:152:62)

Expected/desired behavior

Should get successful response for authorization_code grant_type

Browser and version?

Edge

Versions

"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4287.0 Safari/537.36 Edg/88.0.673.0"

Mention any other details that might be useful
This is sample request which is made
curl 'https://TENANT_NAME.b2clogin.com/TENANT_NAME.onmicrosoft.com/b2c_1/oauth2/v2.0/token' \   -H 'content-type: application/x-www-form-urlencoded;charset=utf-8' \   -H 'Accept: */*' \   -H 'Origin: http://localhost:6420' \   -H 'Referer: http://localhost:6420/' \   --data-raw 'client_id=CLIENT_ID&redirect_uri=http%3A%2F%2Flocalhost%3A6420&scope=openid%20https%3A%2F%2F<TENANT_NAME>.onmicrosoft.com%2FB2C_1%2Fdemo.read%20profile&code=LONG_CODE&code_verifier=CODE_VERIFIER&grant_type=authorization_code&client_info=1&client-request-id=652b426c-7223-4c37-9dec-7fdfb0df3951' \   --compressed
When I tried with adding client_secret using postman it worked and returned id_token

Thanks! We'll be in touch soon.

@santanp apologies for late response. This is a public client app using auth code with PKCE, so you should not be needing client_secret. Can you confirm that you've followed the registration steps correctly? If so, can you share your application manifest (masking your credentials)?

Thanks @derisen I followed the registration steps you shared and I was able to get the required tokens using auth code with PKCE flow.
I had another question not related to current issue, It was regarding using custom domain for sign-in\sign-up. It would be great if you could help. I see that sign-in\sign-up always give domain with https://<tenant-name>.b2clogin.com I wanted to apply custom domain for our website. I went through few articles online where its mentioned its part of future roadmap. But I came across Microsoft example in documentation https://docs.microsoft.com/en-us/azure/active-directory-b2c/overview where they have applied custom domain https://login.woodgrovedemo.com.
Ref Link :
https://woodgrovedemo.com/Account/LogIn

@santanp no worries : ) Customer owned domains is a feature that is coming along, but its not here yet unfortunately (see this). Woodgrove is a one-off scenario probably made for demo purpose.

Thanks again @derisen for all the help. Would love to see custom domain feature soon.


Add output dir for images

We can add an output flag to decide where to download the images downloaded by the client.
https://github.com/enrichman/stegosecrets/blob/main/internal/cli/images.go

Can you please provide details about it?

Hi @arshad-k7, sure. Basically the images command is pretty basic and the directory where to download the images is hardcoded: fmt.Sprintf("images/%d.jpg", i).
https://github.com/enrichman/stegosecrets/blob/main/internal/cli/images.go#L35
It will be nice to have an -o/--output flag to select the folder where to download them:
stego images -o myimages

Hi @arshad-k7 are you working in this issue? If not, I'd like to be assigned, @enrichman


Plan about further developing.

What is about to continue your work?
There is no good open source NURBS.

Hi @Evil-Spirit! I've been pretty busy the last few months, but I should be putting some new features in soon. The speed branch is about 10x faster for nearly all computations.

We want to found something good for the https://github.com/whitequark/solvespace.


How to use existing reducer state as a model

Hi everyone, I read the docs but I can't find an answer.
Imagine I have the following root reducer (which I pass to createStore later):
import myReducer from './myReducer'

const rootReducer = combineReducers({
    myReducerState: myReducer
})

In myReducer, I have the following initial state:
const initialState = {
  exampleProp1: null,
  exampleProp2: null,
  formData: { userName: '', password: '' }
}

... then I handle some actions ...

... then I export reducer ...

Next I want to do something like:
<Form model='myReducerState.formData' ...
   ... some inputs ...

I want to be able to access state.myReducerState.formData anytime I want it, but I also want that formData to be updated by react-redux-form when I type inside the form (so I don't need to handle input changes and all that).
Is it possible? Thanks in advance.

Sure it is! Just replace combineReducers with combineForms. Works almost exactly the same way, but now your reducers will be made "visible" to React-Redux-Form and a form state slice will be set up for your reducers.
import myReducer from './myReducer';
import { combineForms } from 'react-redux-form';

const rootReducer = combineForms({
    myReducerState: myReducer
})

But that means that you have created whole form state for exampleProp1 and exampleProp2 which are not forms data or haven't you?
I need something similar but I don't want to create form state for props which are not forms values but I need in my form reducer the access to the state which is not part of the form. How can I do that?
Here is my attempt:
const store = combineReducers({
  subApp: myReducer
  ...
})

const initialState = {
  schema: {...},
  uiSchema: {...},
  data: {...} // form values
}

function myReducer(state = initialState, action) {
  // there are some conditions between schema, uiSchema and data
  const modified = pipe(fn1, fn2, ...)(state)

  return {
    schema: modified.schema,
    uiSchema: modified.uiSchema,
    data: modified.data
  }
}

How can I achieve that with react-redux-form?
I've tried createForms() but that created form state even for schema and uiSchema which is undesirable.
const store = combineReducers({
  ...createForms({ subApp: myReducer }),
  ...
})


Oc 429 remove activate device request

In cucumber-tests-platform-common there is a folder soap-ui-project that has Admin-SoapUI-project,xml that has content referring to ActivateDeviceRequest, DeactivateDeviceRequest and their responses.
On the topic of SOAP UI projects, there are also SOAP UI projects in the config repos with references to the removed requests and responses.
The Documentation repo has documentation of these operations that had better be removed as well.


Data Variables Don't Work in Macros

When I try to call a variable from my data.json file in an imported macro it doesn't output anything. The variable displays fine if I call it in the base template, just not the macro. I don't get any errors in the console.
data.json File:
{
    "logoPath": "/assets/img/logo.svg"
}

Macro Template:
{% macro logo() %}

{% endmacro %}

Base Template:
{% import<EMAIL_ADDRESS>as helpers %}

    {{ helpers.logo() }}

Result:

Here's my Gruntfile config:
       twigRender: {
            dev: {
                options: {
                    namespaces: { 'templatePath': 'src/templates' }
                },
                files : [
                    {
                        data: 'src/templates/data.json',
                        expand: true,
                        cwd: 'src/templates/',
                        src: ['**/*.twig', '!**/_*.twig', '!_*/*.twig', '!_*/**/*.twig'],
                        dest: 'src/html/',
                        ext: '.html'
                    }
                ]
            }
        }

Hi @kmgdevelopment, sorry – I have not worked on this project for a very long time. Does it work, when you pass the logoPath as a paramter to your macro?
{% macro logo(logoPath ) %}

{% endmacro %}

{% import<EMAIL_ADDRESS>as helpers %}

    {{ helpers.logo(logoPath) }}

Hey @stefanullinger — Yes, it does work if you directly pass the data variable as a parameter to the macro. Though obviously that's not ideal for redundancy reasons.

Hey @kmgdevelopment, reading the docs of Twig / TwigJS, I get the feeling that macros have their own scope, so accessing or writing to global variables might not work. I have not found any example, showing accessing or writing to a global variable in TwigJS. Can you provide some working example?

Hey! I'm normally used to working with Twig via Craft CMS so I can't point you to a working example with just raw Twig. This Stack Exchange post talks about setting globals, is that anything?


Move data loader from predict_pv_yield

Should this be moved into this repo?
https://github.com/openclimatefix/predict_pv_yield/blob/master/predict_pv_yield/data/dataloader.py

Yeah, and I think the dataloader from SatFlow too


Deploy typescript apps

I don't think it's possible to do it with a package.json script alone. Specifically because of those lines: https://github.com/platformatic/platformatic/pull/1214/files#diff-730c92c29ec17f5ccece0e328607e220d545659998dfb5626d3b355ef5c2c722R261-R268.
They disable typescript compilation.


AWS details not displaying OU names on filtered data

The API returns different property names if we're filtering AWS org units. This ensures the ID is always used as a fallback.
https://issues.redhat.com/browse/COST-524

Codecov Report

Merging #1661 into master will decrease coverage by 0.02%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master    #1661      +/-   ##
==========================================
- Coverage   77.48%   77.45%   -0.03%
==========================================
  Files         243      243
  Lines        3846     3850       +4
  Branches      703      705       +2
==========================================
+ Hits         2980     2982       +2
- Misses        786      788       +2
  Partials       80       80

Impacted Files
Coverage Δ

src/utils/computedReport/getComputedReportItems.ts
73.13% <60.00%> (-1.47%)
:arrow_down:

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 e7000c0...f705ed4. Read the comment docs.


Feature/enhance video streaming

Summary:
This PR is relative to #445, in order to enhance the video stream performance.
In Depth:
In I/O operation, we're using class PipedInputStream and PipedOutputStream.  For writing thread, we found that data was written into buffer by each single Byte. After per byte was written into buffer, the reading thread was waked up (Thread state is changed from a blocked state to an executable state). It starts polling while the CPU is idle, run the read thread(Thread state is changed from an executable state to implementation state).
But at this point, writing thread may occupy the critical resource of the thread, leading to read thread blocking(Thread state is changed from implementation state to blocking state). Frequently switch CPU state will reduce the CPU operating efficiency, and increase power consumption.
In addition, read thread seize the critical resources in an inappropriate time will also reduce the efficiency of proxy transmission. For example, after write thread just writes a few bytes, almost at the same time, read thread gets the resources begin to read, the data in buffer will have to split into many frames to transmit.
So, we rewrite the class PipedInputStream and class PipedOutputStream, for more details, please reference #445 and modified codes.
Performance Test:
PC: Debian 32-bit, Windows 32-bit
Phone: Android4.4(XiaoMI mi3)
Connection: USB_AOA
Result:
The data in test are false video stream data, aims to get the max value in transmission.

SDL(Debian)

Proxy (NOT include this PR)
1408.868Kb/s

Proxy (include this PR)
2227.984Kb/s

SDL(Windows)

Proxy (NOT include this PR)
1.2Mb/s

Proxy (include this PR)
7.5Mb/s

@joeygrover
Could you help to review this PR?
Thanks!

Hi Brandon,
In the future if you're PR is ready for review you can request a reviewer and we will get notified as well. However, looking at this PR I think this might need an evolution proposal. This PR is to basically create a custom implementation of a java class that we would have to support moving forward. I'd like to know if any other solutions were considered (different java classes, refactor code to not need pipes, etc). All of that could be explained and laid out in an evolution proposal. So before I can review and accept I would need to ensure the SDLC gets a chance to review the high level idea and approve.

@joeygrover
Hi Joey,
Thanks for your response. I'd like to create an evolution proposal if it's necessary. But for now, we don't have other solutions for this PR.

I don't feel as though I can review/merge this unless the SDLC accepts this as a proposal. You already have most of the info between the issue and the PR. So please submit a proposal with that information and if accepted I will review/merge this PR.

@BrandonHe about video streaming performance, have you tried sending video data directly from encoder using byte buffer and handler instead of pipe to stream packetizer?
from my experience this will result in best performance.

@joeygrover
Thanks for your explanation! I will submit a proposal to ask SDLC to review first.
Based on your information, can I understand that submit a proposal is our standard code contribution process?

Hi @chenbd, Thanks for your suggestion, we have tried directly send encoder data using byte buffer, it doesn't have much improvement compared with this solution. I'm also afraid it will not be accepted by SDLC using byte buffer and handler to stream.

@BrandonHe this document should help you determine when a PR should have a proposal or not.
The improvement of just sending the packets straight from the encoder would be to avoid having to create our own custom pipe streams.


(CI) Move all linux dependencies to a repository variable.

Issue is closed automatically by CI. Commit: 88178ee7a00856eceb2b0af51c2040b38ded1013