BFF List Certificates

Scope of changes
This adds a BFF endpoint for listing the certificates in both testnet and mainnet based on the vasp IDs in the claims. Also in this PR is a lot of code to support the admin client mock so that we can inject handlers from the tests, which is used in this PR to implement the list certificate tests.
SC-6646
Type of change

[ ] bug fix
[x] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
The tests should pass, although I think we will need to do a bit more work to make this work with csrf.
Author checklist

[x] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[x]  I have added new test fixtures as needed to support added tests
[x]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[x]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report

Merging #630 (b010d63) into main (715fd71) will decrease coverage by 6.65%.
The diff coverage is n/a.

:exclamation: Current head b010d63 differs from pull request most recent head 18d41d5. Consider uploading reports for the commit 18d41d5 to get more accurate results

@@            Coverage Diff             @@
##             main     #630      +/-   ##
==========================================
- Coverage   45.69%   39.03%   -6.66%
==========================================
  Files         542      439     -103
  Lines       16056     4872   -11184
  Branches     1201     1201
==========================================
- Hits         7336     1902    -5434
+ Misses       7603     2787    -4816
+ Partials     1117      183     -934

Impacted Files
Coverage Δ

...hub.com/trisacrypto/directory/pkg/bff/auth/auth.go

...com/trisacrypto/directory/pkg/gds/tokens/tokens.go

...ithub.com/trisacrypto/directory/pkg/gds/members.go

...ub.com/trisacrypto/directory/pkg/sectigo/errors.go

...trisacrypto/directory/pkg/bff/db/models/v1/json.go

...trisacrypto/directory/pkg/gds/store/index/index.go

...hub.com/trisacrypto/directory/pkg/sectigo/creds.go

...m/trisacrypto/directory/pkg/gds/store/trtl/trtl.go

...risacrypto/directory/pkg/gds/client/credentials.go

...ub.com/trisacrypto/directory/pkg/gds/store/load.go

... and 93 more

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 715fd71...18d41d5. Read the comment docs.


Display content element type selection in dialog

It was easy to miss when displayed in the sidebar.
REDMINE-17336

Coverage remained the same at 99.205% when pulling 12ac46f50261829d15f0ec488408b08d5df079c0 on tf:insert-dialog into 507889d7f5d7ab5a4700a2ffa57a90f418184a77 on codevise:master.


Come up with a good RFC/proposal process?

I think it would be beneficial to come up with an rfc/proposal process so we can have discussion before we begin implementing big things. Any ideas on how this would work?

@gegy1000 could I have your input here?

At this early stage of the project I don't believe this is necessary yet.

It could be useful since I would like to formally discuss and finalize the port IPC, I think.

We could possibly post issues here for it with a [proposal] tag?

That would probably be adequate for now. I'll close this until it becomes apparent that we need a better solution.


Abe/ztm

Hmmm...I didn't remember making a commit this morning.  Should I have made the second commit differently?
Also, would you recommend creating an image folder for organization?

@a-hend yeah, I'd make a directory for the image assets - you won't find those in amongst everything else out in the real world.


Update collection revision detail page banner UI and logic

Merged into fran/my-collections feature branch.


Config error at line 1: preload failed (no such file) even when there is a file there

title
there very mutch is a working file there, i dont know why its not seeing it
$ hyprpaper
[LOG] Welcome to hyprpaper!
built from commit 61961973cfd10853b32c7f904cdb88f9ab6d84dd (?)
[CRITICAL] Exiting because of config parse errors!
Config error at line 1: preload failed (no such file)
$ ls $HOME/Pictures/wallpapers/mountens\ better.png
'/home/makerio/Pictures/wallpapers/mountens better.png'

config:
preload = /home/makerio/Pictures/wallpapers/mountens\ better.png
wallpaper = DP-1,$HOME/Pictures/wallpapers/mountens\ better.png

oopsie! for got i had put a \ in there!


Add type-safe overload for Manifest.from(mergePath, configurationAction)

In order to make it easier to use from statically compiled languages such as Java and Kotlin.
See #6574

Good question @StefMa. This would be a breaking change for plugins written in Groovy. It's to late to do this for Gradle 5.0 but could be done for 6.0.

I'm not that Groovy and Closure expect.
But assume that I have that Groovy Code:
new Fu().bar {
    println("Paul")
}

new Fu().bar {
    println("Rodrigo")
}

And this is the class for it:
class Fu {

    void bar(Closure<String> setup) {
        println("Closure")
        setup.call("Closure")
    }

    void bar(Action<String> action) {
        println("Action")
        action.execute("Action")
    }
}

When I remove the bar(Closure) the implementation the "calling" code can still call bar(Action) without changing the code.
So why is that a breaking change? 🤔

@StefMa, it's more about plugins compiled against the API, bound to the Closure taking method. Those plugins would be broken if that method then vanishes.


fix(typo): change "it's" to "its" in docs

Description
Fix typo in docs

should be changed in config.lua since it's auto-generated


[Event Request] - OnPostTransferTransLine Codeunit 5531 "Calc. Inventory Page Data"

Hello, please consider adding the following event to Codeunit 5531 "Calc. Inventory Page Data"
    [IntegrationEvent(false, false)]
    local procedure OnPostTransferTransLine(var InventoryPageData: Record "Inventory Page Data"; var TransHeader: Record "Transfer Header")
    begin
    end;

and call it accordingly inside the "TransferTransLine" procedure:
...
...
                                InventoryPageData."Action Message Qty." := "Remaining Quantity (Base)";
                                InventoryPageData."Action Message" := "Action Message";
                            end;
                    end;
                1:
                    begin
                        // Inbound Transfer
                        InventoryPageData.Type := InventoryPageData.Type::Transfer;
                        InventoryPageData.Description := TransHeader."Transfer-from Name";
                        InventoryPageData.Source := StrSubstNo(Text5740, Format(TransHeader."Transfer-from Code"));
                        InventoryPageData."Scheduled Receipt" := "Remaining Quantity (Base)";
                        InventoryPageData."Reserved Receipt" := "Reserved Quantity (Base)";
                    end;
                else
                    Error(UnsupportedEntitySourceErr, SourceType, SourceSubtype);
            end;
        end;

        **OnPostTransferTransLine(InventoryPageData, TransHeader);**

    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52288.


Cannot override variables from _variables.scss

I am using this library with the corresponding NPM module and webpack.
I am using the Beta version (installed with @next)
I can seem to manage to override variables from _variables.scss.
What i did:

install the module
create theme.scss
try to override $button-radius

If i import _variables.scss without the main materialize.scss it wont compile.
If i import materialize.scss and override it wont change the radius.
If i import materialize.scss and _variables.scss and override it wont change the radius.
How can i override variables from that file?

@ItamarShDev you need to change the value for $button-radius directly in _variables.scss, then when you recompile it will create a new base stylesheet with that and any other amendments you have made.

but when using npm this file will reset every installation, right?

@ItamarShDev you could keep a base folder with the updated _variables.scss as a template before running npm init, then use this to start each project.


create credentials & aquire login

example
example2

[ ] create credentials (hided from remote)
[ ] try to payload login data

requests - cu login - https://www.nylas.com/blog/use-python-requests-module-rest-apis/
smartbill - get the file - https://api.smartbill.ro/#!/Facturi/getFile
sessions - https://requests.readthedocs.io/en/master/user/advanced/#session-objects

ajuta ?
https://stackoverflow.com/questions/19069701/python-requests-library-how-to-pass-authorization-header-with-single-token


Cafe coffe

Description
made a clone of Cafe Coffee Day
Related Issue

Closes #9

Type of Change
Please check the type of change that applies to your PR:

[ ]  Bug Fix
[ ] New Feature
[ ] Enhancement (improvements, refactoring, etc.)
[X] Documentation Update
[ ] Other (please specify):

Checklist
Before submitting your pull request, please ensure you've completed the following:

[X] I have read the CONTRIBUTING.md document and followed the contribution guidelines.
[X] My code follows the project's coding standards.
[X] I have added or updated the necessary documentation (if applicable).
[X] My changes do not introduce any new linting or test errors.
[X] All new and existing tests have passed.
[X] I have reviewed my code to ensure its quality.

Screenshots (if applicable)

Additional Information
Please provide any additional information that may be relevant to your PR. This could include implementation details, potential side effects, or other context that would be useful for reviewers.
Author's Note
Is there anything else you'd like to add or mention about this PR? Feel free to share any thoughts or considerations here.

Best of Luck and Happy Coding.


New operators: is not, is in, is not in, not in

is not → !==
a not in b → !(a in b) (like CoffeeScript, but with in instead of of; disabled when coffeeOf is on)
is in and is not in are like CoffeeScript's in and not in but for general use

Open questions:

Should we allow implicit arrays like role is in 'admin', 'editor' and char is in 'a'..'f'?
Or float ranges like 0..1?
Should we use includes instead of indexOf with the new Civet is [not] in operators? (Daniel says CoffeeScript operators should probably stay as-is for compatibility. I'm not totally convinced...)

I disabled is not when coffeeNot is enabled.
I tried to also add a not in operator in non-Coffee mode, but for some reason it's not working... If you see my mistake, please let me know!

I fixed not in by correctly augmenting ReservedWord. At the same time I fixed not being assignable when coffeeNot is on, which seems wrong. (CoffeeScript doesn't allow it, and in Civet with coffeeNot on, you can't ever read the value of not.)

I think we can merge this in as it is now and split out the open questions into follow on PRs as needed, @edemaine thoughts?

Yep, I agree!


implement our own profile pic feature

We have a ticket for Gravatar (#648). Someone on Facebook (link) would like to not use Gravatar:

I haven't researched [Gravatar] much, but I try to stay high & fly low throughout life, if you know what I mean. Something as universal where my picture will be ascribed to every action I commit on the internet kind of scares me I guess ... was just trying to avoid it by uploading a simple jpg. Maybe you could ad this option someday, I know you're busy, but I don't think many people will donate to a pictureless blob, either!

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/316233-implement-our-own-profile-pic-feature?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

+1 https://twitter.com/kellyrued/status/582916641924710401

+1 from https://gratipay.freshdesk.com/helpdesk/tickets/5326:

I don't see an option to change my profile pic on gratipay. It would be useful, wouldn't it? Currently it automatically fetches the profile pic of the latest social media account added, with no option to fetch it back from a previously added account or to upload a pic.

Closing in light of our decision to shut down Gratipay.
Thank you all for a great run, and I'm sorry it didn't work out! 😞  💃


Request for StarAzure Brand Icon

Requesting the Star portion of the image https://farm8.staticflickr.com/7390/13075523155_65a44b8163_o.png
Many thanks.

No Support for Brand Icons!


Aqara g2h pro ->No audio or Error

Hey so i have an issue with g2h pro from aqara i can get the video to work  but the audio isn't cooperating with me
Im using the build in go2rtc in frigate beta 13 thats Version: 1.8.4
If i add the ffmpeg:[camera name]#audio=aac#audio=opus camera dosen't work at all no audio or video ffmpeg errors
Can anyone point me in the right direction ? thanks sorry if is obvious im fairly new to frigate and go2rtc
Frigate config

Go2rtc config

Camera informations (took this without the audio params as with audio params it dosen't show)

logsGo2rtc.txt
logsfrigate.txt

Your go2rtc is not valid yaml.

the go2rtc config that i attached was from frigate
that's how the full go2rtc config looks with one more camera but please don't mind that the issue is only with g2hpro
how should i fix it sorry yaml is pretty new to me and if editor dosen't say something is not okay i have no way of knowing that
Cheers

Have you tried looking for your error in this repository?

Im retarded. you were right thats how it should look for anyone else that could be as retarded as i am


Remove redundant destructor call, fixes #15

Unlike the claim in the issue, #15 was never fixed in the code, in any version. Lines have been removed from the output call and the image resource will be set to null after it has been destroyed, as it should be.

This was removed per 0a4c4d5.


'daytona remove' interface should ask for confirmation

Is your feature request related to a problem? Please describe.
When using the interface to remove workspaces, users can accidentally select the wrong one and delete it without being asked for confirmation. Additionally, when testing and creating multiple workspaces, such as for reviewing pull requests, users should have the ability to select and delete multiple workspaces simultaneously.
Describe the solution you'd like
The interface for deleting workspaces in Daytona 'daytona remove' should prompt users for confirmation when deleting a workspace. The interface should also offer the option to select multiple workspaces for removal.

Please create a separate feature request for the multiple workspaces removal

/attempt #360

/attempt #360
On it!

@Tpuljak
This is strange, what can I do?

@ezhil56x we had a few breaking changes introduced with #371. Please check out the breaking changes in the description and update what's required.

/attempt #360


Removing server in settings doesn't remove builds from build list.

Not even after a restart of visual studio? That's what should happen.

I'll try the restart on Monday and see if that does it.


ignite-1792 ContinuousProcessor should use ALWAYS_TRUE predicate instead of null

Changes look good. Merged to the master.


Adding Zendesk live chat for support with JS widget on valoraapp.com

Expected Behavior
A chat widget on valoraapp.com for support
https://support.zendesk.com/hc/en-us/articles/360022182054-Adding-the-Chat-widget-to-your-website
Current Behavior
no chat no help

closed as wont do (because not wanted anymore, and if reopened lets reopen in the right repo

closed as wont do (because not wanted anymore, and if reopened lets reopen in the right repo


Replace Bloom fonts with Doorway ones

This PR adds the new fonts to Doorway, and updates usage of fonts to these new defaults
after -- you can see Metropolis has replaced all sans serif fonts and Noto Serif has replaced the serif fonts.

wil reopen against main-2


UNIX domain socket are not supported by default

It seems that the default handler uses PrometheusBuilder::new and uses a HTTP listener which doesn't work when Axum uses a UDS listener which should use the UDS listen for the Prometheus builder.
I'm not super knowledgeable about all that stuff so I'm not sure if there's a way to make this work by default out of the box without writing a MakeDefaultHandle that tries to detect if there's a UDS listen or a HTTP listen and switch the instantiation based on that.

I don't think this is something we plan to support out of the box.
There're a couple of ways implement this on your own — for instance with the latest addition of BaseMetricLayer you can setup your exporter however you like, completely decoupled from the rest this crate. I don't think I'll ever plan to work on this, but if it's really important to you (or for anybody else) to support this by default, I'll accept PRs.


Participant limit & type

For Teams Meetings, and with Microsoft 365 Business Standard plan, we can host online meetings and video calls for up to 300 people I assume Participants up to 300 will have fully interactive equal meeting capabilities. Participants over 1,000 up to 20,000 have View-only capabilities.
What will happen with participants between 300 to 1000? Will they get view-only capability as well?

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

ID: 92fcb1f6-5cc2-f6bd-cfa9-11d811f1dbf1
Version Independent ID: 9a571e6d-8cb3-9ff8-a5c2-62deab146264
Content: Meetings, webinars, and live events - Microsoft Teams
Content Source: Teams/quick-start-meetings-live-events.md
Service: msteams
Sub-service: meetings
GitHub Login: @wlibebe
Microsoft Alias: wlibebeype of meeting	Number of participants	Interaction	Registration supported
Meetings	Up to 20,000*	- With Microsoft 365 Business Basic, Microsoft 365 Business Standard, Microsoft 365 Business Premium, and Microsoft Apps for Business plans, you can host online meetings and video calls for up to 300 people using Microsoft Teams. With Microsoft 365 E3/E5, Microsoft 365 A3/A5, and Microsoft 365 Government G3/G5 plans, this limit increases up to 1,000 people.

Participants up to 1,000 have fully interactive equal meeting capabilities.
Participants over 1,000 up to 20,000 have View-only capabilities.

Hello @DhirenGala
I think that the view-only feature is only for those other plans however I'll try to confirm.

Found it

View-only broadcasts is available in Microsoft 365 E3/E5 and Microsoft 365 A3/A5

https://learn.microsoft.com/en-us/microsoftteams/view-only-meeting-experience


Token not work

After confirming that my browser runs bard well , I copied the token. But an error occurred (and also in colab):
Traceback (most recent call last):   File "W:\PythonDoc\ChatAPI\BardApi.py", line 4, in <module>     bard = Bard(token=token)   File "W:\cache\ChatAPI\lib\site-packages\bardapi\core.py", line 55, in __init__     self.SNlM0e = self._get_snim0e()   File "W:\cache\ChatAPI\lib\site-packages\bardapi\core.py", line 129, in _get_snim0e     raise Exception( Exception: SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'.
And I check the code in core.py, I find that :
       if resp.status_code != 200:             raise Exception(                 f"Response status code is not 200. Response Status is {resp.status_code}"             )         print(resp.text)        snim0e = re.search(r"SNlM0e\":\"(.*?)\"", resp.text)         if not snim0e:             raise Exception(                 "SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'."             )
The resp seems works. But snim0e = re.search(r"SNlM0e\":\"(.*?)\"", resp.text) The regex doesn't seem to match.
I'm guessing maybe Google changed the structure of the page or something.
Please see if you can fix it. Thanks.

Sorry for write same issue with: https://github.com/dsdanielpark/Bard-API/issues/155


Resurface errors from slack as RuntimeErrors

The integration harness expects errors to be raised out of
receive_issue_impact_change in during error scenarios.  This was just
returning nil, which is an invalid return value.

One suggestion on the README edits.  After that is fixed, approved!

Good catch, thanks!  Fixing and merging.


if server coms only via GPO "Add Server" appears on each startup

I confirm (by marking "x" in the [ ] below: [x]):

[X] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[X] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have read contributing guidelines.

Summary
If users do not have configured any server there is a popup of Desktop Settings/Add Server on each start of the client.

This popup appears even if server configuration is deploy via GPO (Computer setting). If closed without any changes clients works perfect with GPO provided server. But on next start same behavior again.
Steps to reproduce
Please include all of the following:

Operating System: Windows 10 21H2
Mattermost Desktop App version: 4.7.1
Mattermost Server version: NA

GPO (Computer):
EnableServerManagement: Enabled
DefaultServerList: one valid server in list
Client is installed with no additional configuration and just started.
Expected behavior
if server settings are provided via GPO client should start without popup for settings (as it would do if user has configured a server)
Observed behavior
popup "Add Server" appears on any start of the application
Possible fixes
check if server may provided via GPO (Computer/User), if so, do not open "Add Server" window.

JIRA tickets are created for all valid bug reports filed here. Bugs and features that the Mattermost core team are not immediately working on are opened as Help Wanted GitHub issues and welcome to contributions.
Our goal is to bring the Mattermost desktop repository into our day-to-day internal process with the hope of having more frequent desktop releases with faster feature development and turnaround time on bug fixes.

Opened a ticket: https://mattermost.atlassian.net/browse/MM-37863

This is fixed in v4.7.2,


Elements > Toggle > When change size small true then sun icon is not visible

While going through the application process, found following issue,
Actual Result:

Toggle When change size small true then sun icon is not visible.

Screenshot:

Completed-


Clarification of memoization in exercise coordinate-transformation

Context
In the last task of exercise coordinate-transformation, the instruction introduces memoization as following:

Memoizing is sometimes called dynamic programming, it allows for expensive operations to be done only once since their result is remembered.

However, the instruction also says:

[…] returns a new function that remembers the inputs to the supplied function so that the last return value can be "remembered" and only calculated once if it is called again with the same arguments.

which says that the function should only remember its last input and result.
Problem
This is from a computer science point of view.
Dynamic programming usually memoize all previous computation. Memoizing all the previous results enables dynamic programming algorithms to compute a certain problem only once.
In this task of exercise coordinate-transformation, it only asks to "remember" the last input and result, which does not completely match the idea of dynamic programming in general.
The immediate disadvantage the above mismatch introduce could be:

The learner confuses the concept of dynamic programming with caching or something else and meets with obstacles later when studying dynamic programming.
The learner who knows about dynamic programming tries to do dynamic programming and fails the test so they get confused.

Potential solutions

Rephrase the quote and indicate that the problem is different from general dynamic programming problem, something like:

Memoizing is sometimes called dynamic programming, it allows for expensive operations to be done only once since their result is remembered. Note that while in dynamic programming often all previous operations are remembered, in this exercise we only want to the last one to be remembered.

Modify the task so it asks the learner to record all previous computations in stead of the just the last one.
Add yet another task which asks the learner to record all previous computations.

@SichangHe Thanks a lot for raising this issue with such a great description. I really appreciate it.
I agree with your assessment here. I also always had the feeling something was off with with that task but did not take the time yet to bring it out as clearly as you did.
I would recommend to implement solution 1 suggested above as a first step here to address the immediate issue quickly.
Re solution 2 and 3: Can you advise on what a good solution would look like if this would be real Memoizing? I am unsure whether handling the two coordinate parts adds to much overhead here that distracts from the actual objective of teaching closures. :thinking:

For a solution for "real" memoizing, there are multiple ways to do it but one of them is presented in the previous issue Improve Concept Exercise: Coordinate Transformation (closures) from @SleeplessByte
under the "Solution that should not pass (but passes)" heading:

[…] but the many many ways to build a cache make it harder to write automated analyzers for, and we really want to force people to use let (or var) here.
Solution that should not pass (but pass)
export function memoizeTransform(f) {
 const cache = {}

 return function memoize(x, y) {
   const key = `${x}:${y}`

   return cache[key] || cache[key] = f(x, y)
 }
}

There are indeed many ways to "build a cache" here.
At a glance, you can have a global variable as the cache, or a variable inmemoizeTransform as shown in this example, or a variable in memoize, or a variable under either function's this.
And, it indeed does not require using let or var, although I'm not so sure what that point is about.

Thanks for linking that other issue. I also don't have all the background here why it was done this way so following the Chesterton's Fence guideline, lets stick with solution 1 then. Would you like to create a PR for that?

Thanks for linking that other issue. I also don't have all the background here why it was done this way so following the Chesterton's Fence guideline, lets stick with solution 1 then. Would you like to create a PR for that?

I would like to adopt solution 1 as well. For the PR, I am worried about the exact wording, so I guess we could discuss a bit first.

@SleeplessByte Thank you for your feedback on this.
I see the revised wording is better.
As for dropping references of dynamic programming, I am in favor of not doing so. I think the exercise introduces memoization, and it is indeed closely related to dynamic programming. Also, these kind of text adds a little sugar in the exercise.
I recognize that dynamic programming does not "usually" memoize, instead, it generally refers to bottom-up approaches. That was a mistake I made. However, in my experience, when dynamic programming does memoize, usually all previous results are remembered. But, that's debatable.
For the intended use of let or var, I don't think it would impose any real restriction. What one can do with let, theoretically, one could use a const with an object to achieve the same effect. But, I guess that is fine.

That said, I revised the rewording from @SleeplessByte a bit. Hopefully, it would be an enhancement.

Memoizing is sometimes used in dynamic programming. It allows for expensive operations to be done only once since their results are remembered. Note that in this exercise only the last result is remembered, unlike some solutions in dynamic programming that memoize all results.

Grammar changed a little bit.
Using result instead of computation to hopefully reduce confusion.

If we are happy about the wording, I would like to create a PR. Otherwise, we can continue to change it.

Wording looks fine to me.
Thanks!


ETIMEDOUT when trying to upload data

Describe the bug
The NodeRed node is returning an ETIMEDOUT error every time it tries to upload data to Mindsphere. This installation has been working fine and uploading data correctly for about 3 weeks, until the 31/03/2021, when this error appeared. We need information on how to get more logs or more data to solve this issue. Perhaps there is a problem with the internet connection between the PC and Mindsphere, but if that is the case, we need information on how to verify this.
To Reproduce
We couldn´t reproduce the issue in other environments.
Expected behavior
The data should be correctly uploaded to Mindsphere.
Screenshots
Attached is a screenshot of the error.

Desktop (please complete the following information):

OS: Windows Server 2019
NPM version: 6.14.11
NodeRed version: 1.2.9
Mindconnect node version: 3.10.0

MindSphere Plan

iot value plan

Additional context
This is a production environment and we need to get this up and running as fast as possible.

The NodeRed is installed behind a proxy, but all necessary environment variables to be able to reach Mindsphere were configured. Two configuration were added to npm using npm config set: https-proxy and proxy. Actually, if I type my tenants URL in a browser inside that machine, I am able to access the tenant.
I was looking at the troubleshooting guide and noticed that this could be related to a invalid date/time on the device. The computer where this NodeRed is installed is part of an Active Directory, and the entire Active Directory is synchronized via NTP with the Microsoft servers. Is this configuration OK, or should we synchronize to another specific NTP server?

@fPecc this is probably not the time on the device, but most probably your proxy settings. You need to have HTTP_PROXY variable set up correctly and that should happen before the node-red process is started. the error indicates that node process can't reach internet...

@sn0wcat Its strange that the communication has been working for a while now only using the npm proxy configs. But anyways, I configured both environment variables http_proxy and https_proxy and then opened a new command prompt and verified the configuration using:
echo %http_proxy%
echo %https_proxy%
The result of both commands was the expected configured proxy.
Then, I restarted the NodeRed.
I will be monitoring the communication today and give some feedback.

@fPecc glad to hear it :) just ping me if there are problems :)

Hi @sn0wcat
I'm having the same problem right now, but there is no proxy configured.
In order to test Internet Connection, I added a http request node (GET https://www.google.com) and the statusCode is "200".

What do you suggest us to try?
OS: Windows 10
NPM version: 6.14.11
Node version: 14.16.0
NodeRed version: 1.2.9
Mindconnect node version: 3.11.0

@EliasReuter if the device is in the same network  configure the proxy the same way @fPecc did, this looks like network issue

@EliasReuter mindconnect node uses the HTTP_PROXY environment variable, it might be that http node can handle the system proxy settings but the node needs the variable explicitly set //cc @fPecc

@sn0wcat
Even if I don't have or need proxy configured in my environment?

@EliasReuter did you manage to get the connectivity working, can we close this issue?

Hi @sn0wcat
Yes. It was a customer's network configuration problem that caused this error in my case.
We can close this issue.
Thank you for the support!


[ca] Add new shopping list, scripts and scenes

Adds support for:

shopping list
scenes
scripts

Looks good, thanks!


OPEN: Dependency issues with new version of enzyme

I'm using "enzyme": "^3.2.0" and today, after installing chai-enzyme I got:

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^2.3.0 but none is installed. You must install peer dependencies yourself.

See #199

0.8.0 does not support enzyme 3, the issue I referenced is about support with enzyme 3 which you are on. You need the beta version of chai-enzyme, for more information check out the issue there. React 15 and more happens to require enzyme 3, so it's misleading.

Ok, thanks.


Prevent modal from scrolling to top after modal dismiss / close

How to prevent modals from scrolling to the top of the page after each modal dismiss / close action?

@LeleDev, please do not use the issues forum for support related-requests.  Rather, please follow the instructions here.  The issues forum is reserved for bugs.

@LeleDev @icfantv I am having this probably now, but only in IE. Is this truly a support question or an actual bug that should in fact be listed here? I'm not yet sure what's causing it.

@abobwhite i am not seeing this behavior on our demo page.  can you please create a working plunker that demonstrates the issue using the latest version of our code?  you can easily create a plunker from our button links in on the demo page.

I'm not experiencing this problem too, with the current version


[SDP-1071] events: enable SSL for Kafka

What
This PR adds support for SSL connections with Kafka.
Why
Security reasons.
Known limitations
Test with certificates signed by Certificate Authorities globally trusted.
Checklist
PR Structure

[x] This PR has a reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR title and description are clear enough for anyone to review it.
[x] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).

Thoroughness

[x] This PR adds tests for the new functionality or fixes.
[x] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[x] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[x] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[x] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[x] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[x] This is not a breaking change.
[ ] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[ ] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr226.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr226.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr226.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr226.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr226.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr226.previews.kube001.services.stellar-ops.com


hyprctl autocompletions for bash, zsh and fish

Describe your PR, what does it fix/add?
basic autocompletions for bash, zsh and fish
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
fish shell shows extra completions for hyprctl dispatcher example: hyprctl dispatcher fullscreen fullscreen
fish shell also doesn't read from /usr/local/share/fish/vendor_completions.d/
haven't tested to build on the latest branch
Is it ready for merging, or does it need work?
yeah kind of
also making it better later examples
adding comments on zsh
adding dynamic completions for exec, focusmonitor, etc

maybe make it a draft then while you're working on it and tag me when ready

closing this pr because too lazy to finish it. +  outside my expertise.


To do: don't always create a new conda env

If an env already exists, just figure out what needs to be added and removed.

Also in need of this. Now with JULIA_CONDAPKG_EXE it's easy to use an existing conda executable, but it seems that we could not use an existing conda environment other than that in $PYTHON_JULIAPKG_PROJECT/.CondaPkg.
I'd suggest adding an environment variable JULIA_CONDAPKG_ENV. The default behaviour is the current one, and if JULIA_CONDAPKG_ENV is specified, the existing conda environment is activated and used.

Closing as this was done a while ago.
@thautwarm You can already do this by having the conda environment you want to use already activated before you start Julia, and set JULIA_CONDAPKG_BACKEND=Null. If that's not sufficient feel free to open a new ticket.


request: use mixins instead of inheritance

I'd love to be able to turn in any existing class into a message by mixing in a module. In other words, instead of:
class Poke < Broadcast::Message
  medium :jabber

  def body
    "Poke!"
  end
end

I want to be able to do:
class Poke
  include Broadcast::Message
  medium :jabber

  def body
    "Poke!"
  end
end

Hi
Just wanted to let you know that I merged in the mixins branch into broadcast 0.3.0, hope you find it useful! :)


tests don't run from pycharm

/Users/cjm/Library/Caches/pypoetry/virtualenvs/semsim-UokXyP9h-py3.9/bin/python /Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm/_jb_unittest_runner.py --path /Users/cjm/repos/semsim/tests/test_get_phenodigm_pairs.py
Testing started at 3:40 PM ...
Launching unittests with arguments python -m unittest /Users/cjm/repos/semsim/tests/test_get_phenodigm_pairs.py in /Users/cjm/repos/semsim/tests

Error
Traceback (most recent call last):
  File "/Users/cjm/repos/semsim/tests/test_get_phenodigm_pairs.py", line 40, in test_make_filtered_map
    map_df = pd.read_csv(
  File "/Users/cjm/Library/Caches/pypoetry/virtualenvs/semsim-UokXyP9h-py3.9/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper
    return func(*args, **kwargs)
  File "/Users/cjm/Library/Caches/pypoetry/virtualenvs/semsim-UokXyP9h-py3.9/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv
    return _read(filepath_or_buffer, kwds)
  File "/Users/cjm/Library/Caches/pypoetry/virtualenvs/semsim-UokXyP9h-py3.9/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 575, in _read
    parser = TextFileReader(filepath_or_buffer, **kwds)
  File "/Users/cjm/Library/Caches/pypoetry/virtualenvs/semsim-UokXyP9h-py3.9/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 934, in __init__
    self._engine = self._make_engine(f, self.engine)
  File "/Users/cjm/Library/Caches/pypoetry/virtualenvs/semsim-UokXyP9h-py3.9/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1218, in _make_engine
    self.handles = get_handle(  # type: ignore[call-overload]
  File "/Users/cjm/Library/Caches/pypoetry/virtualenvs/semsim-UokXyP9h-py3.9/lib/python3.9/site-packages/pandas/io/common.py", line 786, in get_handle
    handle = open(
FileNotFoundError: [Errno 2] No such file or directory: 'tests/resources/test_mapping.csv'

Ran 2 tests in 0.011s

FAILED (errors=2)

Error
Traceback (most recent call last):
  File "/Users/cjm/repos/semsim/tests/test_get_phenodigm_pairs.py", line 27, in test_make_phenodigm
    make_phenodigm(
  File "/Users/cjm/repos/semsim/semsim/get_phenodigm_pairs.py", line 46, in make_phenodigm
    raise FileNotFoundError(f"Cannot find {filepath}!")
FileNotFoundError: Cannot find tests/resources/test_jaccard!

I recommend not constructing strings with "/"s, it's not very portable. Older code uses os.path.join but I recommend doing with Path, see:
https://github.com/INCATools/ontology-access-kit/blob/56778858b271838ce2db6cd6a4f87287952c68fa/tests/__init__.py#L1-L8

One thing to check here in PyCharm is the working directory in your runtime configuration - PyCharm automatically sets this to the test/ directory, and breaks these tests with hardcoded paths to text fixtures

I recommend not constructing strings with "/"s, it's not very portable. Older code uses os.path.join but I recommend doing with Path, see:
https://github.com/INCATools/ontology-access-kit/blob/56778858b271838ce2db6cd6a4f87287952c68fa/tests/__init__.py#L1-L8

+1


Setting up continuous deployment on a container app through the portal fails due to deny assignment

Which language are you using?
Typescript/Node
Provide resource details

Function app name: msk-functions-node
Resource id: /subscriptions/e0f035e9-2d23-4fa1-bc02-b4367ea174f1/resourceGroups/MskContainerappEnvironment_FunctionApps_88542ce8-3b01-4d55-9ced-410277f17b64/providers/Microsoft.App/containerapps/msk-functions-node

Expected behavior
Setting up continuous deployment on the container app through the portal would be successful.
Actual behavior
Set up fails due to a deny assignment on the system-generated resource group.
To Reproduce
Steps to reproduce the behavior:

Follow tutorial here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-deploy-container-apps?tabs=acr%2Cbash&pivots=programming-language-typescript
Navigate to the newly created container app in the Azure portal.
Note the system-generated resource group, which does not follow the expected resource group from the tutorial.
Under "Get Started", click "Set up deployment", configure settings, and then click "Start continuous deployment".
"Start continuous deployment" fails with deny assignment error.

Additional context
The container app resource group appears to be a system-generated resource group, and the deny assignment appears to be intended to prevent modifications that may result in an incorrect state.
Given these constraints, what is the correct way to set up continuous deployment?

Hi @peter-mskeng , enabling deployment center from portal is currently work in progress. Deployment from system resource group will not work. In the meanwhile it is recommended to use Github Actions or Azure pipelines . Here are the samples github action - https://github.com/Azure/azure-functions-on-container-apps/tree/main/samples/GitHubActions, Azure pipelines - https://github.com/Azure/azure-functions-on-container-apps/tree/main/samples/AzurePipelineTasks.
@peter-mskeng  - would like to meet with you and  discuss your scenario , requirements . this will help shape the roadmap. Please drop a note to<EMAIL_ADDRESS>Look forward to talking to you!

Ok thanks, I will try the Github Action with Azure Service Principle for RBAC. I had previously gone down this route following the learn more link from the portal, but then got stuck on deployment credentials. So thank you providing for this sample repository with instructions.
Yes, I would be happy to meet to discuss our scenario, will email you. Briefly, we have been building out a static web app with a managed API backend, then we had the opportunity to integrate a key data source via ODBC, but this required a custom driver, so after some research I determined we could build a docker image off the base azure functions image, install the driver there, and then deploy to a container.
This works successfully so far, so now I am trying to configure continuous deployment on the container app. We're using Github Actions for the static web app and it works very well, so we hope to use the same pattern for the container app too.

I got this to work after some trial and error, using https://github.com/Azure/azure-functions-on-container-apps/tree/main/samples/GitHubActions as suggested.
Specifically, in the build step I had to use "docker.io" for both LOGIN_SERVER and REGISTRY, but then in the deploy step I had to use "registry.hub.docker.com" instead of "docker.io".
These other combinations failed:

Using "docker.io" for REGISTRY caused the deploy step to fail with an internal server error.
Using "registry.hub.docker.com" for REGISTRY caused the push step to fail with insufficient_scope: authorization failed.
Using "registry.hub.docker.com" for both LOGIN_SERVER and REGISTRY caused the build step to fail with an authorization error, because I am not using "registry.hub.docker.com/" to prefix my custom base image in the Dockerfile.

Like so:
name: Deploy container to Azure Functions App

on:
  # Automatically trigger it when detected changes in repo
  push:
    branches: [ main ]

permissions:
  contents: read

env:
  AZURE_FUNCTION_APP_NAME: 'msk-functions-node'   # set this to your function app name on Azure
  LOGIN_SERVER: 'docker.io'                       # set this to login server for your private container registry (e.g. 'contoso.azurecr.io', 'docker.io' )
  REGISTRY: 'docker.io'                           # set this to proper value for REGISTRY
  NAMESPACE: '******'                             # set this to proper value for NAMESPACE
  IMAGE: '**************'                         # set this to proper value for IMAGE
  TAG: ${{ github.sha }}                          # set this to proper value for TAG
  REGISTRY2: 'registry.hub.docker.com'

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout to the branch
        uses: actions/checkout@v3

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1

      - name: Log in to container registry
        uses: docker/login-action@v1
        with:
          registry: ${{ env.LOGIN_SERVER }}
          username: ${{ secrets.REGISTRY_USERNAME }}
          password: ${{ secrets.REGISTRY_PASSWORD }}

      - name: Build and push container image to registry
        uses: docker/build-push-action@v2
        with:
          push: true
          tags: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.IMAGE }}:${{ env.TAG }}
          file: ./Dockerfile
          context: ./

  deploy:
    runs-on: ubuntu-latest
    needs: build

    steps:
      - name: Azure Login
        uses: azure/login@v1
        with:
          creds: ${{ secrets.AZURE_RBAC_CREDENTIALS }}

      - name: 'Run Azure Functions Container Action'
        uses: Azure/functions-container-action@v1
        id: fa
        with:
          app-name: ${{ env.AZURE_FUNCTION_APP_NAME }}
          image: ${{ env.REGISTRY2 }}/${{ env.NAMESPACE }}/${{ env.IMAGE }}:${{ env.TAG }}

      # If you want to display or use the functionapp url, then uncomment the task below
      #- name: 'Published functionapp url'
      #  run: |
      #    echo "${{ steps.fa.outputs.app-url }}"

      - name: Azure logout
        run: |
          az logout

Just ran into this same issue in the portal. I can't create a new revision to update my app because of the deny assignment! My only current workaround is to push two docker images with different tags to my registry, and then manually change the image my function app is configured for. Not ideal, but it works for now. I'll eventually end up with a github actions workflow, but not ready for that yet.

Hi Matt, per design the user is expected to interact with functions resource  and not the underlying azure container apps resource or the revisions. Azure Functions is handles revisions and the latest revision is always picked by Azure Functions resource. If you are trying to update the resource with new image , check out the guidance here - https://github.com/Azure/azure-functions-on-container-apps/tree/main/samples/VSCode Sample#update-code-or-container-image or github actions would pick up the updates from your code , build it and deploy to Azure Functions resource. Btw what is your scenario?

Hi Matt, per design the user is expected to interact with functions resource and not the underlying azure container apps resource or the revisions. Azure Functions is handles revisions and the latest revision is always picked by Azure Functions resource. If you are trying to update the resource with new image , check out the guidance here - https://github.com/Azure/azure-functions-on-container-apps/tree/main/samples/VSCode Sample#update-code-or-container-image or github actions would pick up the updates from your code , build it and deploy to Azure Functions resource. Btw what is your scenario?

It was my assumption that when I push an image (with the same tag, in my case 'latest') to the Azure Container Repo, that either the function resource or function container app would detect this, spin down the old revision, and create a new revision based on the updated image.
Currently, I have to manually update the version by going to the function resource itself and selecting a new tag. Even if I could restart the container app, and it would pick up the new image that would help. But I even get denied access to restart the container app.
My scenario is that I'm a single dev pushing from my local box, with no cicd (yet).

hi @mtycholaz  - container restart has to happen to pull the image - this happens only if functions in stop/start or if you update the function app  or new revision conditions happen like  -A new revision is created when a container app is updated with revision-scope changes. The changes are limited to the revision in which they're deployed, and don't affect other revisions.
A revision-scope change is any change to the parameters in the properties.template section of the container app resource template.
These parameters include:
Revision suffix
Container configuration and images
Scale rules for the container application
Hope this helps!


Set element in an Tensor

Maybe it's a dumb question and I just didn't well read the doc but Is it possible to assign a value at a position in a tensor?
Something like that:
        self.adjacency_matrix.set((x, y), 1);

I believe Tensors are immutable. You can build them up from vectors or iterators but I think it's difficult and maybe impossible to mutate specific elements.

@DimitriTimoz yes, tensors are immutable. The way to change the value of a specific element would be to use the Tensor::slice_assign method, which returns a new (copied) tensor. This requires a tensor to copy as the replacement tensor. If this code is in a hot loop and the device is a GPU, I would recommend that you avoid recreating this replacement tensor to avoid device<>host synchronization.


Migrating Multiple Schema Versions

Hey everyone,
I stumbled upon Atlas and would like to use it to migrate multiple schema versions using the versioned migration approach via the Terraform provider. Unfortunately I'm struggling a bit. Basically what I'd like to do is, handle two schema.sql files (users_v1_schema.sql and users_v2_schema.sql) with two migrations folders (e.g. migrations_v1 and migrations_v2), so that I can run two versions in parallel for a certain period. The Atlas config and CLI works just fine, I'm just running into issues deploying it via the Terraform provider.
I'm trying to do something like this:
data "atlas_migration" "this" {
  for_each = local.schemas

  revisions_schema = each.key
  dir              = "${each.value}?format=atlas"
  url              = local.url
}

resource "atlas_migration" "this" {
  for_each = local.schemas

  revisions_schema = each.key
  dir              = "${each.value}?format=atlas"
  version          = data.atlas_migration.this[each.key].latest # Use latest to run all migrations
  url              = local.url
  dev_url          = local.dev_url
}

with local.schemas being a map of schema names and a migration folder. E.g. { "users_v1" : "migrations_v1", "users_v2" : "migrations_v2" }.
Sadly I'm running into this error:
module.db_migration.data.atlas_migration.this["users_v1"]: Reading...
module.db_migration.data.atlas_migration.this["users_v2"]: Reading...
module.db_migration.data.atlas_migration.this["users_v2"]: Read complete after 0s [id=migrations_v2?format=atlas]
module.db_migration.data.atlas_migration.this["users_v1"]: Read complete after 0s [id=migrations_v1?format=atlas]
module.db_migration.atlas_migration.this["users_v2"]: Refreshing state... [id=file://migrations_v2?format=atlas]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
  + create

Terraform will perform the following actions:

  # module.db_migration.atlas_migration.this["users_v1"] will be created
  + resource "atlas_migration" "this" {
      + dev_url          = (sensitive value)
      + dir              = "migrations_v1?format=atlas"
      + id               = (known after apply)
      + revisions_schema = "users_v1"
      + status           = (known after apply)
      + url              = (sensitive value)
      + version          = "20231025085555"
    }

  # module.db_migration.atlas_migration.this["users_v2"] will be created
  + resource "atlas_migration" "this" {
      + dev_url          = (sensitive value)
      + dir              = "migrations_v2?format=atlas"
      + id               = (known after apply)
      + revisions_schema = "users_v2"
      + status           = (known after apply)
      + url              = (sensitive value)
      + version          = "20231025091424"
    }

Plan: 2 to add, 0 to change, 0 to destroy.
╷
│ Warning: Lint error
│
│   with module.db_migration.atlas_migration.this["users_v2"],
│   on ../modules/db-migration/migrations.tf line 14, in resource "atlas_migration" "this":
│   14: resource "atlas_migration" "this" {
│
│ File:<PHONE_NUMBER>1424_initial_schema.sql
│ executing statement: pq: schema "users_v2" does not exist
│
│ (and one more similar warning elsewhere)
╵

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

module.db_migration.atlas_migration.this["users_v2"]: Creating...
module.db_migration.atlas_migration.this["users_v1"]: Creating...
module.db_migration.atlas_migration.this["users_v2"]: Still creating... [10s elapsed]
module.db_migration.atlas_migration.this["users_v1"]: Still creating... [10s elapsed]
module.db_migration.atlas_migration.this["users_v2"]: Creation complete after 14s [id=file://migrations_v2?format=atlas]
╷
│ Warning: Lint error
│
│   with module.db_migration.atlas_migration.this["users_v1"],
│   on ../modules/db-migration/migrations.tf line 14, in resource "atlas_migration" "this":
│   14: resource "atlas_migration" "this" {
│
│ File:<PHONE_NUMBER>5555_add_users_table.sql
│ executing statement: pq: schema "users_v1" does not exist
│
│ (and one more similar warning elsewhere)
╵
╷
│ Error: sql/migrate: connected database is not clean: found schema "users_v2". baseline version or allow-dirty is required
│
│
│   with module.db_migration.atlas_migration.this["users_v1"],
│   on ../modules/db-migration/migrations.tf line 14, in resource "atlas_migration" "this":
│   14: resource "atlas_migration" "this" {

It looks to me like I'm getting this error because two migrations are running in parallel. users_v2 actually completed successfully, but users_v1 then failed. I also tried adding the schemas before via atlas_schema as described here but ran into the same error.
Is something like this even supported? Could you give a hint on how to fix it maybe?

Hi
I'm a bit confused as to what you're trying to achieve.
In principle, if you are using versioned migrations, a schema in your database should be managed by only one migration directory. There are exceptions to the rule which can be managed using custom exclude flags, etc, but still each schema resource (table etc) would be managed by only one directory.
What is the relation between migrations_v1 and migrations_v2?

Hi!
the naming was a bit unclear. It’s rather user_v1_migrations user_v2_migrations. One folder per Schema. I’m trying to run two schemas in parallel for downtime less migration in case of a breaking change we can’t avoid.
Thanks!

Hey. This means you (sometimes) want one schema to be one or more versions farther than the other schema, correct?
But they won't drive in different directions, right? Just one is faster than another?

Hey! Technically yes, but since the schema name changes, it‘s going to be a whole new set of tables I suppose. Each create table statement will contain e.g. „users_v2“.“some_table“ instead of „users_v1“, so I‘d expect a whole bunch of drop tables and create tables?
I can also spin up a new „v2“ DB cluster temporarily as a workaround. First idea was just using versioned schemas as it’s more lightweight.


@conda-forge-admin, please add user @zklaus

Additional comment:
I think I cracked the osx-arm64 migration in #7. I'll clean that up and then we can finish it directly in #4. If you add me here, I can push the needed commits to the regro-bot branch.

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @zklaus in conda-forge/parallelio-feedstock#9.


Ignore missing values a.k.a. non-daily tracker

Is there support for non-daily trackers? For example: I track the size of certain muscles in order to follow progress. I do this every other day and not every day. When I render charts there are gaps between data points. Lines are not drawn, so I have to go with bar charts. However, the more time goes by the narrower get the bars, since most of the days there are no data points. I'd like an option ignoreEmpty where dates are skipped when there is no data for the given date. Is this already possible?

Parameter fillGap can help you. :)

Amazing. So simple. Thanks :)

I can add a parameter skip (accept a number) to skip data every N days for advanced usage.

I can add a parameter skip (accept a number) to skip data every N days for advanced usage.

@pyrochlore Is there a fillGap alternative for the bar chart? to Ignore empty/missing values?

HI @suniluci,
For parameter fillGap in the line chart, we did not add data to the series but connect data points across days missing values.
In the bar chart, there is no such connection between data.
I planed to add custom dataset and function to do interpolation (thus add interpolated data on missing data) in the version next to the next release. Is this feature what you need?

Depends on what you can do with the function. This approach might be the most flexible one tho. So looking forward to see what's coming :)


Start working on a :toctree:

Closes #130.

Ok, all the toctrees are working :tada:
Now, we only have to give an aesthetical touch to them :)

As it looks now, I think we're ready to merge.


Add one-liner ps1 script to start Docker stack on Windows

Signed-off-by: John McCabe<EMAIL_ADDRESS>Description

Adds a one-liner deploy_stack.ps1 PowerShell script in order to start the FaaS Docker stack on Windows.
Updates README.md to call out scripts explicitly

Motivation and Context
When standing up the environment on Windows I defaulted to trying docker-compose up, only realising something was wrong when I read the warnings about Compose does not support 'deploy' configuration.
It also brings the user experience on Windows into line with Linux/OSX.
How Has This Been Tested?
Have run locally on Windows 10 Pro (10.0.15063 Build 15063), tested the following scenarios:

Docker not installed, returns a message pointing the user towards installing Docker.
Swarm not initialised, the docker stack command returns a clear warning telling the user to swarm init.
Successful deploy on a running swarm (1-node).

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I tend to use Docker via Git Bash on Windows - or the Ubuntu subsystem meaning bash scripts work unaltered. If using Powershell is a common use-case then let's merge this change.

Did derek catch you out? 🤖

Well played derek !
@alexellis I've updated the error output for the Linux scripts as suggested, and yeah personally I stick with PowerShell on Windows where possible.

Merged. Thanks @johnmccabe


A couple of fixes

commit f9dbbf6:
I'm not sure what happened to the timer, if it really got stuck in shell's main loop xD
commit 9cbab10:
messageTray.remove(source) does not exist, there is a private _removeSource(source) but I think it's better to call source.destroy(reason) that does more cleanup before calling the private function

Ah, yes I seemed to miss a few of these in my playing around with the code back when. Runs OK.


Office 365 Apps replaced Azure AD Basic

Office 365 Apps replaced Azure AD Basic, it doesn't look like they are separate licensing types according to:
https://azure.microsoft.com/en-gb/pricing/details/active-directory/

@stevensnicole : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


updated to add validation of LPA prior to codegen.

Purpose

To call the API gateway to check if an LPA exists prior to code-gen.
To fix an issue with trailing empty lines in a file.

Fixes issues with hunting down failed LPA id's
Approach

Add additional calls and logic to check that an LPA exists using an existing python script
with aborts on fail to find.
fix the trailing empty line issue
some prettifying

Learning

contains comparison in bash: https://stackoverflow.com/questions/4277665/how-do-i-compare-two-string-variables-in-an-if-statement-in-bash
loop through a comma separated var: https://stackoverflow.com/questions/27702452/loop-through-a-comma-separated-shell-variable
remove excess empty lines on end of file: https://unix.stackexchange.com/questions/81685/how-to-remove-multiple-newlines-at-eof

Checklist

[X] I have performed a self-review of my own code
[X] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

demo of failed code...

demo of validated code.

Coverage remained the same at 80.846% when pulling c3788890b3337cda2a1c7adf31764dcb21c73492 on Add_Sirius_precheck_to_script into 0f43d9f69ed3d65a559f4cd0671a1310f365c479 on master.


Prevent Critical dependency Warnings When Bundling MongoDB with WebPack

I use webpack 4.25.0 to bundle mongodb 3.2.7 into a node.js 10.16.0 app. The bundle works fine, but each time I build I have to see these warnings:
WARNING in ./node_modules/require_optional/index.js 82:18-42
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/mongodb-core/index.js
 @ ./node_modules/mongodb/index.js
 @ ./src/utility/mongo.mjs
 @ ./src/server.js

WARNING in ./node_modules/require_optional/index.js 90:20-44
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/mongodb-core/index.js
 @ ./node_modules/mongodb/index.js
 @ ./src/utility/mongo.mjs
 @ ./src/server.js

WARNING in ./node_modules/require_optional/index.js 97:35-67
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/mongodb-core/index.js
 @ ./node_modules/mongodb/index.js
 @ ./src/utility/mongo.mjs
 @ ./src/server.js

This may have something to do with the fact that I use Ecmascript Modules instead of Common.js modules to import the mongodb package; my mongo.mjs file starts like this:
import { default as mongodb } from 'mongodb';
const MongoClient = mongodb.MongoClient;

To avoid seeing these warnings on every build, I've added an object to my webpack.config.js file that looks like this:
let wp = {}; wp.stats = {}; wp.stats.warningsFilter = (warning)=>
{
	let aryModulesToBlockWarningsFrom =
	[
		"node_modules/require_optional/index.js"
	];

	let block = false;
	aryModulesToBlockWarningsFrom.forEach((modulePath)=>
	{
		if(RegExp(modulePath).test(warning) === true)
		{
			block = true;
		}
	});
	return block;
};

However, I was hoping that the require_optional developers might be able to enhance their code in a way it would still work great but just not produce these warning upon bundling mongodb.

This is still a bug.

This is not a require_optional bug, but rather a feature of webpack. When webpack encounters a conditional dependency it doesn't know which dependency should be bundled with it, so it takes them all, and it issues a warning.
The mongodb node driver uses require_optional in at least one file, to load bson-ext if it's available, and bson if not, which means that webpack is warning you that it's bundling both of them
There is a fix involving the webpack plugin ContextReplacementPlugin, but I have not yet figured out / found out how to do it.


EduMeet performance for 2 vcores

Hello !
How many participants in one call can I have with the following configuration ?
1 VM ( 2 virtual cores, 1 virtual core = 1 thread, 2 GB RAM)
Is it possible to have 40 participants in one call assuming lastN = 8 ?
I believe that there is (8 video consumers + 12 audio consumers  = 20 consumers per participant [all visible participants are speaking and 4 others are speaking but not visible] ).
So, if limit is 500 consumers per thread (or 1000 consumers per 2 threads), we can have 20 x 40 = 800 consumers per such call.
Is it correct ?

Here you can see that mediasoup uses additional consumers for piping consumers from one router to another, so to host 30 participants in one room we need 4 threads (4 vcores).
link


Not finished. Need button to be merged.

Relates #9 used react-bootstrap modal for accessibility.
const [modalShow, setModalShow] = React.useState(false);
<button onClick={() => setModalShow(true)}>Click me
  <PopUp
    show={modalShow}
    content="Thank you, your response has been successful"
    onHide={() => setModalShow(false)}
  />

Use the code above to test it. Waiting on the merging of the button to finish this P.R.

actual can use. https://material-ui.com/components/modal/

incomplete, need to add the 'Ok' button

pull the master and solve the conflict @Dalmano


Update Fluent Bit to v1.7.9 and enable multithreading on Windows.

Default to 8 workers (same as Linux). I left it in its own block since it seems likely we'd change Windows or Linux independently in the future, but I can consolidate if we want to reinforce the "consistency" aspect.
http://b/191158630

Is there an expected timeframe for when this FluentBit 1.7.9 (or any release 1.7.8 or later, referring to Google Cloud Support Case #28072890) is going to be incorprated into the Ops Agent? We keep having issues with the FluentBit log file filling up the C: drive on various servers.

Is there an expected timeframe for when this FluentBit 1.7.9 (or any release 1.7.8 or later, referring to Google Cloud Support Case #28072890) is going to be incorprated into the Ops Agent? We keep having issues with the FluentBit log file filling up the C: drive on various servers.

@Rob-S There ended up being an issue with 1.7.9 (see https://github.com/fluent/fluent-bit/issues/3646#issuecomment-883663469). It's already been fixed and will be released in 1.8.3. Once that's out (hopefully this week), we'll test and get this in ASAP.

Replacing this PR with https://github.com/GoogleCloudPlatform/ops-agent/pull/156 — follow updates there.


Add Replicate demo and API

Hi @vinesmsuic @lim142857 @wren93 ,
Very cool project on AnyV2V!
This pull request makes it possible to run AnyV2V on Replicate (https://replicate.com/cjwbw/AnyV2V) and via API (https://replicate.com/cjwbw/AnyV2V/api). Currently, the demo includes prompt-based video editing. Also, we'd like to transfer the demo page/redirect to TIGER-AI-Lab so you can make modifications easily, and happy to help maintain/integrate the upcoming changes :)

Thanks @chenxwh , will take a look into it
Max

@chenxwh Thank you for your hard work! I was wondering if we could add "ddim_init_latents_t_idx": 0 (default), "pnp_f_t": 1.0 (default), "pnp_spatial_attn_t": 1.0 (default), and "pnp_temp_attn_t": 1.0 (default) to the tweakable configs in the Replicate page.

@chenxwh Thank you for your hard work! I was wondering if we could add "ddim_init_latents_t_idx": 0 (default), "pnp_f_t": 1.0 (default), "pnp_spatial_attn_t": 1.0 (default), and "pnp_temp_attn_t": 1.0 (default) to the tweakable configs in the Replicate page.

Sure, happy to! Could you maybe provide some short description to those variables so I can add them to the demo too? I think it'll help people understand better how to set them. Thank you!

@chenxwh Thank you for your hard work! I was wondering if we could add "ddim_init_latents_t_idx": 0 (default), "pnp_f_t": 1.0 (default), "pnp_spatial_attn_t": 1.0 (default), and "pnp_temp_attn_t": 1.0 (default) to the tweakable configs in the Replicate page.

Sure, happy to! Could you maybe provide some short description to those variables so I can add them to the demo too? I think it'll help people understand better how to set them. Thank you!

ddim_init_latents_t_idx:  the starting latent from sampling step, ranged [0, step-1], default 0
pnp_f_t: Convolution injection value, ranged [0.0, 1.0], default 0.2 (our paper config)
pnp_spatial_attn_t: Self-Attention injection value, ranged [0.0, 1.0], default 0.2 (our paper config)
pnp_temp_attn_t: Temporal Attention injection value, ranged [0.0, 1.0], default 0.5 (our paper config)

thanks @vinesmsuic, I have added those to the demo now!

@chenxwh Thanks! Please checkout this updated config descriptions:

ddim_init_latents_t_idx: This parameter determines the time step index at which to begin sampling from the initial DDIM inversed latents, with a range of [0, num_sampling_steps-1] and a default value of 0. In the context of a DDIM sampling process where the sampling step is 50, the scheduler progresses through the time steps in the sequence [981, 961, 941, ..., 1]. Therefore, setting ddim_init_latents_t_idx to 0 initiates the sampling from t=981, whereas setting it to 1 starts the process at t=961. A higher index enhances motion consistency with the source video but may lead to flickering and cause the edited video to diverge from the edited first frame.
pnp_f_inject_t: Specifies the proportion of time steps in the DDIM sampling process where the convolutional injection is applied. The value ranges from [0.0, 1.0], with the default set to 1.0, indicating injection at every time step.
pnp_spatial_attn_t: Specifies the proportion of time steps in the DDIM sampling process where the spatial attention injection is applied. The value ranges from [0.0, 1.0], with the default set to 1.0, indicating injection at every time step.
pnp_temp_attn_t: Specifies the proportion of time steps in the DDIM sampling process where the temporal attention injection is applied. The value ranges from [0.0, 1.0], with the default set to 1.0, indicating injection at every time step.
For pnp_f_inject_t, pnp_spatial_attn_t, and pnp_temp_attn_t, a higher value improves motion consistency with the source video. However, if the edited first frame differs too much from the original first frame, a higher value may cause flickering.

@chenxwh right, We found that 1.0 on the 3 pnp injection value works best for prompt-based editing, so maybe its better to use 1.0 for default. Sorry for the confusion.

Sure! The latest changes reflect the updated default value with detailed descriptions for those values. An updated example is also added to the demo.

Thanks for the merge! I have redirected the page to https://replicate.com/tiger-ai-lab/anyv2v and added you to the tiger-ai-lab  org (https://replicate.com/tiger-ai-lab so you have the authority to make any changes to the page! And always happy to help pushing updates :)

@chenxwh Thanks a lot for the contribution! Could you also add me to the tiger-ai-lab org :)

Sure thing @lim142857! Just added you as well :D

Hi @chenxwh, I wonder if we can modify the demo to allow users to input their own edited_1st_frame to override instruction prompt if provided? It seems a lot of users want to try out with their own edited first frame instead of the instructpix2pix output.

sure I will make the changes later today :)

I think letting people upload it probably too much overhead. People might need to visit other website to do it. It's a bit complex.
@chenxwh I'm wondering whether it's possible to breakdown the demo to two steps because the first-step result from instructpix2pix is not very stable. We can sweep several hparams (random seed, cfg params) to let instructpix2pix generate a few different images (They can even re-run this until they are happy with it). This should be quite cheap. Then a user can click on the most satisfied image to continue to do video generation. This will dramatically increase the success rate.

I think letting people upload image probably causes too much overhead. People might need to visit other website to do it. It's a bit complex.
@chenxwh I'm wondering whether it's possible to breakdown the demo to two steps because the first-step result from instructpix2pix is not very stable. We can sweep several hparams (random seed, cfg params) to let instructpix2pix generate a few different images (They can even re-run this until they are happy with it). This should be quite cheap. Then a user can click on the most satisfied image to continue to do video generation. This will dramatically increase the success rate.

The demo on the website only supports end of end inference. So I think the best way is to give option to use the default full pipeline or accept provided first frame that is obtained from the existing instructpix2pix model.

Hi @chenxwh, just discussed with @wenhuchen and we would love to stick to the original plan (modify the demo to allow users to input their own edited_1st_frame to override instruction prompt if provided). Really appreciate your help :)

A new version is pushed to Replicate now :) and opened another PR for the change


Fixing local docker setup configuration for easier e2e dev testing

Summary

Fixing the local setup configuration to help with dev testing.
Added a flag (S3_FORCE_PATH_STYLE) for S3Async client to indicate how to read the buckets.

Had a relevant Astra PR but it is waiting on other object store access changes.
Requirements

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

i think we should close this one for now. it looks like the refactor landed https://github.com/slackhq/astra/pull/1030
and we probably want to see if the fake s3 is still broken with the new implementation. another thought is setting INDEXER_MAX_TIME_PER_CHUNK_SECONDS=0 in the docker compose file since 1.5 hours is really fast for local dev and we can just turn it off.


Handling provider-added fields to maps and slices

What problem are you facing?

Currently, if there is a configurable slice of fields on a managed resource, we check to make sure that the external resource and the managed resource have the same elements of that slice. One example of this is with labels. We want to add all labels that a user provides, and remove any that get set outside the context of Crossplane. However, this becomes an issue if the provider itself adds some elements to the slice. For example, when gVisor is enabled on a GKE NodePool, GCP adds the following to labels and taints:
                DiskType:  "pd-standard",
                ImageType: "COS_CONTAINERD",
                Labels: map[string]string{
+                       "sandbox.gke.io/runtime": "gvisor",
                        "some-label":            "true",
                },
                LocalSsdCount: 0,
                MachineType:   "n1-standard-2",
                ... // 6 identical fields
                ShieldedInstanceConfig: &container.ShieldedInstanceConfig{EnableIntegrityMonitoring: true, EnableSecureBoot: true},
                Tags:                   nil,
                Taints: []*container.NodeTaint{
                        &{Effect: "NO_SCHEDULE", Key: "some-pods", Value: "false"},
+                       &{Effect: "NO_SCHEDULE", Key: "sandbox.gke.io/runtime", Value: "gvisor"},
                },
                WorkloadMetadataConfig: nil,
                ForceSendFields:        nil,
                NullFields:             nil,

When we compare the external resource and the managed resource, we see that there is a diff and attempt to remove the additional fields. This can cause a continuous update loop as we remove the fields and GCP keeps adding them back.
How could Crossplane help solve your problem?

The solution here will be more of a design decision than a bug fix. One could argue that the controller is acting correctly here and a user should provide these labels and taints in their spec if they want Crossplane to not try and remove them. However, that results in a rather poor user experience.
The most straight-forward solution is that we late initialize any slice values that we deem "mergeable" with values the cloud provider adds. This would be in accordance with the Kubernetes late initialization patterns. However, this would necessitate some sort of change in our managed reconciler because we currently late initialize before updating an external resource. This leads to the situation where a user:

Delete an element from a slice
The controller reconciles the object, notices the element is present on the cloud provider, so late initializes
On the next reconcile, the controller now sees that element present again (because of late initialization) and does not detect a diff so will not try to delete it

Another option is to manually implement logic that strategically ignores some field updates (such as the gVisor ones above), but that does not scale well across all API types.

Delete an element.

For maps, we can have users do something like "key-i-want-to-delete": "-" for the keys that they want to delete, a little bit similar to kubectl label pods foo bar-. Unless a key has a value like this, we merge all.
Slices are harder, especually if provider wants to add an element at an arbitrary point of the lifecycle of the resource. Maybe go with manual ignore for slices?


(ctrl - z) turns removes user interaction with app

When I press ctrl-z while my cmd app is in focus, all text in current line disappears including '>>>', and the window doesn't respond to key presses.

@haggerty-william what is the expected behaviour ?
For me, ctrl-z suspends the process. And fg brings it back to where I was.

Also, what platform are you on ?

windows

Oh, good to hear that. I've been looking for testers on Windows.
What is the expected behaviour for ctrl-z on Windows ?

it is the 'undo' command on windows.
In my experience windows console like apps can react several different, I personally believe that some behaviors are better then others so I will document my opinion here too :)
undo last keystroke || power-shell does this. and its wonderful!!
input "^Z"    || this is what windows cmd does. personally hate this behavior, and I dont understand why it does this.
clear line || forget where I saw this, slightly better then what windows cmd does

According to https://superuser.com/a/214261 ctrl+z doesnt undo in CLI.
The EOF char is much more correct IMO. My 2 cents

I would like to point out that no one here ever claimed that cmd interpreted ctrl+z as a undo.
Also note that the Powershell CLI(made by Microsoft) takes (shift+ctrl+z) as the EOF signal.
Opinion:
I think having a longer shortcut for the EOF signal like the ps CLI is better because it is used significantly less then a undo functionality.
I also don't think my opinion is that important because I never used the EOF signal to do anything before. Honestly, I cant even think of a situation where I could use a EOF signal in cmd or any cli to do something.

Since there is no certainty that the behaviour is not expected, I will be closing this.


Don't show 0 balance when not Unlocked

By showing hyphens rather than a 0 it should put some minds at ease rather than assuming all coins are lost.

Cool. We should probably do this in siac as well

Didn't https://github.com/NebulousLabs/Sia-UI/commit/75955d0920c7e33c38bad7f8c095ad3333bb7a67 address this? I don't see a balance at all when the wallet is locked.

https://github.com/NebulousLabs/Sia-UI/commit/75955d0920c7e33c38bad7f8c095ad3333bb7a67 only modified the Wallet plugin, this pull is for the Overview plugin.

ah, gotcha


Missing a license

I was interested in using some of xfns as a starting point, but I observed that it appeared to be unlicensed. Would it be possible to add a license or clarify if there is an existing license? Thanks!

Good catch @CodyRay! forgot to do that when we first started this repo 😊
Everything in the repo is licensed under Apache 2. I just merged #3 so it's all official in the repo now.
Hope to see you at the next contribfest event in person at Kubecon too! 💪


Survey study -- allow participant to fill out survey before completing email verification loop

Expected behavior:

Log in as admin
Edit a study to include a survey link
Log out
Go to survey study details page
Scroll to bottom, click on Join button
User should see a dialog prompting to enter & confirm email
After submitting, they should be taken directly to the survey link.

Actual behavior:
7. Clicking the submit button does nothiung on the frontend, but triggers an "Email not verified" error on the backend.
8. Clicking the submit button again displays an "Email is already in use" error on the frontend.

On our staging server, this bug was caused by the testing email server rejecting addresses that hadn't been pre-verified. More technical info about that here.
Once those email addresses had been added via the AWS SES management console, the feature worked as expected.


Modify transformations for better iOS Safari rendering

Fixes #69.
@fritz-c I haven't actually had a chance to test this on an iPhone, but I believe this should make Safari render the image at full detail when zoomed in. I should be able to test this out on an iPhone later today, unless you can check it earlier.
@fritz-c Tested working on iPhone!
Also tested to make sure nothing broke in IE10. By the way, it seems to be perfectly usable in IE9 (just without animations) which is great!

Works perfectly and the code is clean. This is one of the best pull requests I've ever received. Thank you.

Out now with v4.2.2

Thanks!


B-22132-INT fix link amend orders

Agility ticket
Summary
Fix dead link
How to test

Login to a customer with a submitted/approved move
Click the 'Upload a copy of your new orders' link
Navigates to orders amend page

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 3337774f91325f9477c5fcdf92b946cf9aa01fc3

Take a look at the happo, one of them is broke as a result of your change


Add support for retired libraries index

FYI @mario-guerra @scottaddie
This adds the basic pages for the retired pages:

Currently I'm filtering the data in the CSV files where support=maintenance, which already has some data and matches what you were wanting. We can change some of that meaning as you work on importing/updating the data.

This new set of pages are isolated mostly from the others, as they aren't shown in the navigation bar or anything so you need to know the direct url. I'm going to go ahead and merge this so we can get a good preview of those pages. I will make follow-up changes or revert if needed.


Are the models released under MIT License?

Hi,
Thank you for releasing this. Very very interesting work. I plan to test this in the coming months.
Can you confirm that the pretrained models you distribute on this repo and through huggingface are under MIT License?
Thank you,
Alex

The models are distributed with CC-BY 4.0. I added a note. Sorry for the confusion.

Thanks for confirming, and thanks again for this work. Have a good weekend!


Disabling the DXVK forced Vsync on Windows

Considering that DXVK does work on Windows I figured someone might have an answer.
Recently started using DXVK and saw some massive improvements (55 FPS average —> 90 FPS average on Dying Light, no more stutters and less jitter when moving the camera in cities on AC Origins for example).
However from what I understood, there seems to be a forced Vsync that comes natively with DXVK. Can it be turned off? I tried creating a dxvk.conf file and putting dxgi.syncInterval = 0 inside, placed it along with the .dlls in the game folder but it doesn’t seem to do anything, mouse movement still feels sluggish and the input lag is still noticeable and I always prefer playing with Vsync off because of it. Using Windows 10. GPU is an AMD R9 380X. Is there something I’m missing?
Software information
Dying Light, no FPS cap, ingame Vsync Off, 120Hz, Exclusive Fullscreen
System information

GPU: AMD Radeon R9 380X
Driver: 21.5.2
Wine version: Using Windows 10, not Linux
DXVK version: 1.10.3

tried creating a dxvk.conf file and putting dxgi.syncInterval = 0 inside

That is the one yes if playing d3d11 or d3d10 games. For d3d9 you'd use d3d9.presentInterval = 0
Note that not all games will pick up the conf file next to the dll's since it depends on their working directory so you'll have to check in the logs if the options are picked up. It's the same location the logs are generated you'd want to wput the conf file.
Besides that you can use the environment variable DXVK_CONFIG_FILE to point to a dxvk.conf file you've placed somewhere and it should always get picked up. If you set it through the Windows gui you might have to reboot first, not sure.

DXVK doesn't force any vsync by default and just using the in-game setting should work fine.
10 May 2023, 11:26 by @.***:

tried creating a dxvk.conf file and putting dxgi.syncInterval = 0 inside

That is the one yes if playing d3d11 or d3d10 games. For d3d9 you'd use > d3d9.presentInterval = 0
Note that not all games will pick up the conf file next to the dll's since it depends on their working directory so you'll have to check in the logs if the options are picked up. It's the same location the logs are generated you'd want to wput the conf file.
Besides that you can use the environment variable > DXVK_CONFIG_FILE>  to point to a > dxvk.conf>  file you've placed somewhere and it should always get picked up. If you set it through the Windows gui you might have to reboot first, not sure.
—
Reply to this email directly, > view it on GitHub https://github.com/doitsujin/dxvk/issues/3410#issuecomment-1541748088> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/A3G6J6KBIWTNGRXGHCIYN2DXFNNNZANCNFSM6AAAAAAX4OMYLQ> .
You are receiving this because you are subscribed to this thread.> Message ID: > <doitsujin/dxvk/issues/3410/1541748088> @> github> .> com>

Thanks for all of the help, I did set it through the Windows GUI and I haven't actually restarted the PC since then, will try that later today and report back.

As was mentioned, DXVK does not force Vsync, and if the in-game options do not work then setting syncInterval won't help either. There's likely something wrong with the way your driver is configured.

Update: restarting the PC didn't seem to help but setting maxFrameLatency to 1 for sure did, there's no noticeable input lag anymore, game is running smooth as butter and is very responsive now. Will mark this as solved and hopefully this thread helps someone in the future if they somehow end up dealing with a similar nuisance.
A big thanks to everyone that tried to help, especially doitsujin for his solution and DXVK itself, a very impressive project. Will continue to use it and test it in other titles for sure.
Best regards


Square Activation not recognized

I defined a custom Yolo that has as activation function the square function:
class TinyYOLOv1(nn.Module):
    def __init__(self, B=2, num_classes=20):
        super(TinyYOLOv1, self).__init__()
        S = 7  # grid size
        self.conv1 = nn.Conv2d(3, 8, kernel_size=3, stride=2, padding=1)
        self.square_activation1 = SquareActivation()
        self.batch_norm1 = nn.BatchNorm2d(8)
        self.avgpool1 = nn.AvgPool2d(kernel_size=2, stride=2)

        self.conv2 = nn.Conv2d(8, 16, kernel_size=3, stride=2, padding=1)
        self.square_activation2 = SquareActivation()
        self.batch_norm2 = nn.BatchNorm2d(16)
        self.avgpool2 = nn.AvgPool2d(kernel_size=2, stride=2)

        self.flatten = nn.Flatten()
        self.fc1 = nn.Linear(256, 2048)
        self.square_activation = SquareActivation()
        self.fc2 = nn.Linear(2048, S * S * (B * 5 + num_classes))

    def forward(self, x):
        x = self.conv1(x)
        x = self.square_activation1(x)
        x = self.batch_norm1(x)
        x = self.avgpool1(x)

        x = self.conv2(x)
        x = self.square_activation2(x)
        x = self.batch_norm2(x)
        x = self.avgpool2(x)

        x = self.flatten(x)
        x = self.fc1(x)
        x = self.square_activation(x)
        x = self.fc2(x)
        return x

class SquareActivation(nn.Module):
    def forward(self, x):
        return x ** 2

model = TinyYOLOv1()
After I fit this model with my data and save in onnx format using this code:
# Input to the model
x = torch.randn(1, 3, 64, 64)
torch_out = model(x)

# Export the model
torch.onnx.export(model,               # model being run
                  x,                         # model input (or a tuple for multiple inputs)
                  "TinyYOLO.onnx",   # where to save the model (can be a file or file-like object)
                  export_params=True,        # store the trained parameter weights inside the model file
                  opset_version=15,          # the ONNX version to export the model to
                  do_constant_folding=True,  # whether to execute constant folding for optimization
                  input_names = ['input'],   # the model's input names
                  output_names = ['output'], # the model's output names
                  )

and then I'm trying to give this command:
he-man-tenseal keyparams -m TinyYOLO.onnx -c calibration-data.zip -o keyparams.json
which raises the following error: ONNX operator 'Pow' not implemented
Can you help me?

solved by using
class SquareActivation(nn.Module):
   def forward(self, x):
       return x * x

Thanks for your comment @salvatorebuono02
Indeed, x**2 (and other powers) is not supported, however, might be easy to implement.
Best, Martin


HOTFIX: WEBAPP-357: Fix internal links in ie

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword WEBAPP.

Do E2E tests work in IE?^^


Stack toasts and snackbars

Overview of the problem
Buefy version: 0.6.1
Vuejs version: 2.5.4
OS/Browser: Any
Description
Is it possible to have the toasts and/or snackbars stack? I didn't find a setting for that.
Something like these plugins are doing https://goo.gl/GUoSAB or https://goo.gl/8cWd54
Expected behavior
Have toasts and snackbars stack in top/bottom instead of waiting for the previous one to finish showing.
Actual behavior
Toast and snackbars waits until the previous one finishes causing a delay if there are multiple toats/snackbars in matter of seconds.

@johnmerced Next release... https://github.com/rafaelpimpa/buefy/issues/125

@jtommy - looks like you marked this as "next release" but linked to an issue that was marked as "won't fix" several months before you noted this was coming in the next release. I'm assuming "won't fix" is the answer that won? If so, is there a decent work around for when toasts could be called in quick succession? If not stacking, then perhaps not showing a toast if one is already currently being shown? The queue doesn't quite solve the UX challenge like stacking does.


Backend Program Task/Report Screen-Admin-App - Sprint 2

Create all the required entities, routes, requests for Program Task/Report Screen.

am working on this


Unreachable match in boogie translation

Scala 3.3.1 is showing a warning on the boogie translation for LocalAssign statements which looks legitimate.
[warn] -- [E030] Match case Unreachable Warning: /home/am/Documents/programming/2023/bil-to-boogie-translator/src/main/scala/translating/IRToBoogie.scala:468:49
[warn] 468 |      val loads = rhs.functionOps.collect { case m: BMemoryLoad => m }
[warn]     |                                                 ^^^^^^^^^^^^^^
[warn]     |                                                 Unreachable case
[warn] -- [E030] Match case Unreachable Warning: /home/am/Documents/programming/2023/bil-to-boogie-translator/src/main/scala/translating/IRToBoogie.scala:472:57
[warn] 472 |        val gammas = rhsGamma.functionOps.collect { case g: GammaLoad => g.gammaMap }.toSeq.sorted
[warn]     |                                                         ^^^^^^^^^^^^
[warn]     |                                                      Unreachable case
[warn] two warnings found

This can be seen by compiling on the branch update-scala.
functionOps is a Set[FunctionOp], which GammaLoad and BMemoryLoad aren't subclasses of.
The relevant code snippet is below; I believe this means rely() checks for memory accesses occurring in the RHS of a local assign won't be inserted?
      val loads = rhs.functionOps.collect { case m: BMemoryLoad => m }
      if (loads.isEmpty || loads.forall(_.memory == stack)) {
        List(assign)
      } else {
        val gammas = rhsGamma.functionOps.collect { case g: GammaLoad => g.gammaMap }.toSeq.sorted
        val memories = loads.map(m => m.memory).toSeq.sorted
        List(ProcedureCall("rely", Seq(), Seq(), memories ++ gammas), assign)
      }

I could fix this by adding corresponding BMemoryLoad.memory and GammaLoad.gammaMap to MemoryLoadOp and GammaLoadOp but that seems superficial.
I'm not sure why this needs a different approach to MemoryStore, this function seems to have the implicit assumption you don't store and load in the same statement; e.g. MemoryStores to the stack don't check whether the RHS contains a global load.

Ah I had noticed there may be an issue around missing relies on Friday but hadn't investigated yet, thanks for finding it for me.
The code snippet checks if a LocalAssign (assignment to temporary variable/register) contains no loads or they are all stack loads (realistically there should only be one load per statement) because if so then a rely is not needed, otherwise a rely should be added before the load.