Slicing for 3D volume does not work

Versions
python 3.8.12
ipyvolume 0.6.0a10
Problem
I followed the tutorial to create slices in 3d volume https://ipyvolume.readthedocs.io/en/latest/examples/slice.html. First I show show the volume with
import ipyvolume as ipv
fig = ipv.figure()
scatter = ipv.examples.gaussian(show=False)
ipv.show()

then I try to add the slice planes with
plane = ipv.plot_plane("z");

but I got an error instead
---------------------------------------------------------------------------
UnboundLocalError                         Traceback (most recent call last)
Input In [71], in <cell line: 1>()
----> 1 plane = ipv.plot_plane("x")

File ~/anaconda3/envs/mozek/lib/python3.8/site-packages/ipyvolume/pylab.py:1113, in plot_plane(where, texture)
   1111     u = [0., 1., 1., 0.]
   1112     v = [0., 0., 1., 1.]
-> 1113 mesh = plot_trisurf(x, y, z, triangles, texture=texture, u=u, v=v)
   1114 return mesh

UnboundLocalError: local variable 'x' referenced before assignment

Do you have any idea why the slicing tutorial is not reproducible in my environment?

It appears there was a major update to the plot_plane function such that the 'where' options were changed from {'x', 'y','z'} to {'front', 'back', 'left', 'right', 'top', 'bottom'}. If you change the plot_plane argument to "top", you will solve this error, but other errors will arise.


Join user to groups

Hi, thanks for the lib!
Did you think about join users to groups during creation? We've a use case for this and I'm able to create a PR for it, but first I'd like to hear what you think about it.
I checked keycloak's UserModel interface, and there is a joinGroup method I think calling this method do the job. My doubt is what happens if group doesn't exist.
Thanks

Handling user groups during migration sounds like a great idea!
That said, I think we might need some additional configuration for group mapping (similar to how it's currently handled for roles) - that is, a group map and a toggle to migrate unmapped groups.
That will also resolve the problem of "what to do if a group doesn't exist" - we should add it if the toggle is ON and ignore it if it's OFF (and actually ignore any groups not present in the group map in that case).
Adding the new config options means we should probably also update the screenshot in the Optional - additional configuration section of the README.md.
Last but not least, this will most likely require updating the User DTO to include a groups field of some sort - this field should not be mandatory and should be documented as such in README.md.
If you're up for it, that would be a great contribution to the project :)

Sounds great!
I updated issue with requirements for this feature, this the local implementation I did:
if (legacyUser.getGroups() != null) {
    legacyUser.getGroups().forEach(group ->
            ofNullable(realm.getGroupById(group)).ifPresentOrElse(
                    userModel::joinGroup,
                    () -> userModel.joinGroup(realm.createGroup(group))
            )
    );
}

I'll open this PR in the next few days


can this on run at linux?

It seems that is can not run on linux server.

It runs perfectly fine on our Kubernets cluster where we use docker with linux.
Do you have some errors in your environment?

It runs perfectly fine on our Kubernets cluster where we use docker with linux. Do you have some errors in your environment?

thanks for the clarification.


[generic] fragment indicators confuse redirect logic

[x] I've verified and I assure that I'm running youtube-dl 2017.03.20

Presence of a fragment indicator (#) at the end of a URL causes youtube-dl to think it is a different URL, and the redirect logic in extractor/generic.py gets confused:
pb3:extractor jhawk$ youtube-dl -vs --write-pages 'http://www8.hp.com/us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf#'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vs', u'--write-pages', u'http://www8.hp.com/us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf#']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.20
[debug] Python version 2.7.10 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg git-2017-02-28-7f62368, ffprobe git-2017-02-28-7f62368, rtmpdump 2.4
[debug] Proxy map: {}
[generic] thewolf: Requesting header
[redirect] Following redirect to http://www8.hp.com/us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf
[generic] thewolf: Requesting header
WARNING: Falling back on generic information extractor.
[generic] thewolf: Downloading webpage
WARNING: URL could be a direct video link, returning it as such.

That'd be this check at 1695, I guess:
(Pdb) l
1691
1692 	        if head_response is not False:
1693 	            # Check for redirect
1694 	            new_url = head_response.geturl()
1695 	            if url != new_url:
1696 ->	                self.report_following_redirect(new_url)
1697 	                if force_videoid:
1698 	                    new_url = smuggle_url(
1699 	                        new_url, {'force_videoid': force_videoid})
1700 	                return self.url_result(new_url)
1701
(Pdb) p url
u'http://www8.hp.com/us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf#'
(Pdb) p new_url
u'http://www8.hp.com/us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf'
(Pdb)

And just for the record, no Location: header here:
pb3:extractor jhawk$ youtube-dl -s 'http://www8.hp.com/us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf#' --print-traffic
[generic] thewolf: Requesting header
send: u'HEAD /us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf HTTP/1.1\r\nHost: www8.hp.com\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nConnection: close\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Server: Apache
header: Last-Modified: Sun, 19 Mar 2017 15:25:54 GMT
header: X-Powered-By: Servlet/2.5 JSP/2.1
header: Content-Encoding: gzip
header: Content-Type: text/html; charset=UTF-8
header: Content-Length: 11065
header: Date: Sun, 19 Mar 2017 23:46:09 GMT
header: Connection: close
header: Vary: Accept-Encoding
[redirect] Following redirect to http://www8.hp.com/us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf
...

(Apparently this doesn't have much to do with why this video doesn't download, but that'd be another issue.)

It appears that 54b960f340ed5398136ef0206d17cafba2575678 gives another instance of this problem, since it compares URLs with string equality
+                if new_url != url:
+                    self.report_following_redirect(new_url)

and generally speaking URLs can have different #fragments and thus not compare as equal, but not merit a redirect. I haven't actually verified this problem in the commit from yesterday, I'm just concluding that based on inspection.
But the original problem I raised in this issue is certainly still present, as shown by python -m youtube_dl -vs 'http://www8.hp.com/us/en/solutions/security/thewolf.html?jumpid=va_87trme41uf#'


Remove templates from coverage

The template code that HTMLbars creates should not be the responsibility of the Ember Dev for code coverage.
This removes templates from blankets coverage test.
Cheers

@kiwiupover, I'm not sure I agree, but maybe there is a middle ground.
Templates contain logic (such as if conditions) that isn't necessarily going to be covered through alternative means.  For example, flipping a boolean isn't going to show up in code coverage without templates, but could have a massive impact on what is displayed; so I still see a value in knowing what lines of a template were used.
That said, there is a TON of code in the virtual DOM that we don't care about at all and may not be able to hit from a coverage perspective (e.g. rendering cached/non-cached fragements.  Maybe coverage on the routes/controllers/components is sufficient - I'd certainly be willing to consider that as an argument.  There is also an argument to be made that it's technically extremely difficult to distinguish which parts should/shouldn't be covered in the templates, so why cover anything.
I'd like to hear more about your rational on this.

@sglanzer I tend to agree with @kiwiupover on this one - we've been coverage testing our ember app with karma and istanbul since the 0.96 days and have never included templates.
I suppose it's a question of preference.
That said, I would think that documenting the ability to exclude (or include) templates is a simple mod to the blanket-options.js file would suffice
I would recommend altering the PR to include an update to the README.md file to highlight the ability to change the default

@jschilli @kiwiupover That's a fair point, documentation is enough to cover the difference.  Let's default to exclusion (since there is so much additional uncovered code in those files) and document the ability to switch to inclusion.
As written currently upgrades won't get this code, since the options aren't overwritten when running the generate again.  It would be nice to add an upgrade diff and choice to overwrite in the same way that ember-cli upgrades handle this.
As a temporary measure I can add a note to the README about excluding templates.  I'll do that now.

+1


Gender cannot be edited by clinvar submission editor

Describe the bug
If it's set to "unknown" in the pedigree then this triggers a validation error.
To Reproduce

Import case with individual gender/sex set to "unknown"
Add to clinvar editor
Export clinvar XML

Expected behavior
Should be editable/syncable from upstream case.
Additional context
N/A

Root Cause Analysis
This feature has not been implemented yet.

Resolution Proposal
Add regular background tasks that syncs the sex/gender for the Individual record from the related Case record.
Affected Components
VarFish Server
Affected Modules/Files
clinvar_export
Required Architectural Changes
None
Required Database Changes
None
Backport Possible?
Yes
Resolution Sketch
Implement a background task that is to be run regularly. This task should go over all clinvar.models.Individual records and sync the sex with the upstream information. We should also implement a management command to trigger this update.


live server is going well but when i'm opening my html files without it, the images can't load

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

Expected behavior

Environment
Browser:

- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: <!-- Check which version is installed -->
- Platform:  <!-- Mac, Linux, Windows -->
- Visual Studio Code: <!-- `code --version` -->

Others

I'm having a similar issue. It used to work for loading images, but now they appear broken. It used to work and then suddenly it no longer does work. I'll attach some screenshots.

this worked for me:
instead of this link:
http://<IP_ADDRESS>:5500/
uses that:
http://localhost:5500/


integration not loaded (Can't remove it)

After update

Strava integration is totally broken , is impossible delete the integration, when i click on Delete nothing is happening and the integration not deleted.

what can i do now?

I would suggest you restart your HA instance, including the OS. Then delete the entities, integration and remove it from HACS. If that doesn't work, then more drastically you'll need to delete the custom component in the config folder. You'll get errors, but it'll be gone. You can try a re-install, and then a delete to try and clear it up.


Html doc fix

Fix html doc regression, add test to prevent it from re-occurring, keep markdown working.
Check rag-demo with html doc works again.

This change is

This is subsumed by #282.


Header options are converted into lowercase

OD Support

[X] OD

Summary
e.g. basic auth fails, because the Authorization header is case sensitive
Details
Today I tried to scrape an OD using your Zeiver application and it failed. The OD is password protected with basic authentication. I know the password, but there is no native way to supply password options for the OD in Zeiver, as far as I know (I saw the --auth-proxy option for the proxy, but there is no --auth for the OD).
So I tried to insert the Authorization header manually. However, the header options converted to lowercase by Zeiver, thus making basic auth fail.
Version: Zeiver 0.8.3
Screenshots/Links
No response
Comments
No response

@flyingcactuscloud First and foremost, thank you for taking the time to create this issue.

the header options converted to lowercase by Zeiver, thus making basic auth fail.

This is true.
Zeiver makes both the header name/value entirely lowercase. This is because when creating Zeiver, it did not occur to me the header values will incorporate characters that are uppercase as well. No idea how I came to that conclusion. Maybe the Accept header let you get away with it? ❓
In any case, a fix will be coming soon with the next update.

there is no native way to supply password options for the OD in Zeiver, as far as I know (I saw the --auth-proxy option for the proxy, but there is no --auth for the OD).

Thank you for mentioning this. I will be adding an authorization option along with the fix soon.
Side Note

The OD is password protected with basic authentication.

This sounds like a Closed Directory rather than an Open one, as it requires authentication to use.

For progress, please check pr #5 as it will address this issue.

I appreciate the instant fix. With the new version auth works beautifully.
The server software is listed as compatible OD, true you might say it's not an open directory anymore but I'd say basic authentication ain't something which is very rare in the web. To be honest I did not spend a lot of thought on this, and therefore did not think of my request being out of scope. Thanks anyways!


add __STDC_FORMAT_MACROS

avoid missing expected ‘)’ before ‘PRIu32‘ error
Signed-off-by: Skactor<EMAIL_ADDRESS>/kind bug
/area build
Does this PR introduce a user-facing change?:
NONE

@Skactor: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Skactor
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval by writing /assign @jasondellaluce in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @Skactor! It looks like this is your first PR to falcosecurity/falco 🎉

without this patch, I see errors below when i'm trying to build sinsp
In file included from /root/falco/build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src/falcosecurity-libs/userspace/libsinsp/plugin_manager.h:23,
                 from /root/falco/build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src/falcosecurity-libs/userspace/libsinsp/plugin_manager.cpp:18:
/root/falco/build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src/falcosecurity-libs/userspace/libsinsp/version.h: In constructor ‘sinsp_version::sinsp_version(const string&)’:
/root/falco/build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src/falcosecurity-libs/userspace/libsinsp/version.h:36:44: error: expected ‘)’ before ‘PRIu32’
   36 |   m_valid = sscanf(version_str.c_str(), "%" PRIu32 ".%" PRIu32 ".%" PRIu32,
      |                   ~                        ^~~~~~~
      |                                            )

Which version of libs are you trying to build?

I think it should be fd46dd139a8e35692a7d40ab2f0ed2016df827cf

/milestone 0.34.0

cc @falcosecurity/falco-maintainers

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale


Released pretrained ASR checkpoint of SimulST cannot be load

In SimulST on MuST-C, the author provides "A pretrained ASR checkpoint can be downloaded", but this archive seems to be difficult to load.
Unzip the file (must_c_v1_en_de_pretrained_asr.zip) shows:

data/
data.pkl
version

It's unclear how to convert it to checkpoint_best.pt, which is used in the following training phase. @xutaima

I followed  the order and trained the asr model , but still can't load ....


existingSecret name is hard coded

It looks like the exsistingSecret was accidently hard coded to the name of the pod based on the error i was getting noty able to mount secret and the following lines in the deployment template:
- name: secrets
         secret:
           secretName: {{ include "netbox.fullname" . }}

Ugh sorry I dropped the ball on this. I've got a fix in the wings and am planning to push an updated chart in the next few hours.

This is fixed in chart version 2.1.0, which includes NetBox 2.8.1 (but can support NetBox 2.7.11 or above).


Caching for .parse_latest

As noted in the readme.md
The parser utilizes caching, so multiple calls to retrieve the same data will not consume your API calls limit.
After running the code several times, I found that the API calls quota is being consumed. I noticed that the .parse_latest() currently doesn't seem to have any caching yet or I am missing something. Can someone help confirming this?
Thanks

Hi @Raymondangsetya,
Hope you're doing well!
I wanted to take a moment to thank you for your keen observation regarding the .parse_latest() function. Your input is invaluable to us and helps us improve our system.
I understand your concern about the API calls quota. However, I'm excited to share that we're currently transitioning away from sec-api.io. This change will essentially make the caching issue a thing of the past, as our new system will handle API calls differently.
We're really looking forward to this transition and the improvements it will bring to our system. We appreciate your understanding and patience during this period.
Please don't hesitate to reach out if you have any more questions or concerns. We're here to help!
Warm Regards,
Elijas
Link to the issue


RFC: Replace bee-queue

Description
bee-queue seems to be not maintained again. So far it doesn't seem like there's anything too bad but it might be worth to investigate new alternatives, fork it or write own Redis driver
Last PR to bee-queue was accepted almost 2 years ago :(
Package version
1.1.0

Closing, since irrelevant now with version 2.0.0
Some kind of Redis queue would still be nice to have tho. But there's no need to "replace" Bee Queue, since it's not in use in first place :)


CU1002 Funtion "FindInvoices" Add new publisher event

Requesting a new publisher event at the end of function "FindInvoices" in CU1002
Publisher event:
OnFindInvoicesOnBeforeInsertTempJobPlanningLineInvoice
                TempJobPlanningLineInvoice."Document No." := JobPlanningLineInvoice."Document No.";
                TempJobPlanningLineInvoice."Quantity Transferred" := JobPlanningLineInvoice."Quantity Transferred";
                TempJobPlanningLineInvoice."Invoiced Amount (LCY)" := JobPlanningLineInvoice."Invoiced Amount (LCY)";
                TempJobPlanningLineInvoice."Invoiced Cost Amount (LCY)" := JobPlanningLineInvoice."Invoiced Cost Amount (LCY)";
                TempJobPlanningLineInvoice."Invoiced Date" := JobPlanningLineInvoice."Invoiced Date";
                TempJobPlanningLineInvoice."Transferred Date" := JobPlanningLineInvoice."Transferred Date";
                OnFindInvoicesOnBeforeInsertTempJobPlanningLineInvoice(TempJobPlanningLineInvoice,JobPlanningLineInvoice);
                TempJobPlanningLineInvoice.Insert();
            end;
        until JobPlanningLineInvoice.Next = 0;
    end;
end;

[IntegrationEvent(false, false)]
local procedure OnFindInvoicesOnBeforeInsertTempJobPlanningLineInvoice(var TempJobPlanningLineInvoice: Record "Job Planning Line Invoice"; JobPlanningLineInvoice: Record "Job Planning Line Invoice")
begin
end;

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. We will update this issue with information about availability.


Added automated builds via AppVeyor

This pull requests adds automated builds of Saint Coinach stuff via AppVeyor.  The result is automatically packaged and uploaded to GitHub Releases with each commit.
Why?
Automated builds would make Godbert and SaintCoinach.Cmd more accessible to non-technical users and generally keep an up to date version at the ready.
AppVeyor was chosen because it offers a Windows build environment needed by Saint Coinach, where popular alternatives like Travis CI only offer Mac and Linux.  Luckily, AppVeyor has similar syntax to Travis CI and is free for open source projects.
How to use?
AppVeyor is configured via the appveyor.yml file.  Currently, it automatically builds on commit and pushes the zipped executable + README back to GitHub Releases for Godbert and SaintCoinach.Cmd.
Just keep committing as usual and it will magically work!
Edit the release on GitHub afterwards to add patch notes, if applicable.  Else the release description may default to a blank message or the latest commit message.
What's left to do?
Automatic builds need to be enabled at AppVeyor and the auth_token needs to be set from a GitHub account with write access to the repo.
Configuring AppVeyor

Log in at AppVeyor using your GitHub credentials.
Click (+) New Project in the top left, then GitHub > Authorize GitHub for public projects.
Back in AppVeyor, mouse over SaintCoinach and click (+) Add on the far right.

Configuring auth_token

Log in at AppVeyor using your GitHub credentials.
On GitHub, generate a new access token:

Click Generate new token in the top right.
Name it AppVeyor and check public_repo.
Copy the resulting token somewhere safe.

On AppVeyor, encrypt the token for safe use in the config file:

Paste the previously generated token and click Encrypt.
In appveyor.yml, set auth_token: secure: to the encrypted token from last step.  DO NOT use the unencrypted token here or bad things can happen to your repos!
Commit and tag the change containing the updated auth token, then push.

From here on, AppVeyor will autonomously process each commit without further intervention.

Thank you, I setup an account and merged your appveyor.yml in with my own token.  Automated builds look good!  Sorry it took so long to merge in.

No worries.  Thanks for accepting it!


Could you please finish the get_PropertyRange() function?

Could you please finish the get_PropertyRange() function?

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

ID: f66b118d-0ac1-19cf-7287-627a40246f47
Version Independent ID: aba19245-f30c-3593-f086-2e14ced65e6d
Content: Sample Extension Unit Plug-in DLL - Windows drivers
Content Source: windows-driver-docs-pr/stream/sample-extension-unit-plug-in-dll.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @barrygolden
Microsoft Alias: bagold

Thanks for reaching out to the Windows Driver Developer Documentation team. Unfortunately, we don’t have the resources to offer individual technical advice to the broad array of customers who use the driver documentation.
You may have success posting your question about what additional code the IHV can add to the get_PropertyRange() function in the following forums, where other driver developers and Microsoft engineers can be found. The community there is quite responsive.
MSDN Windows Hardware WDK and Driver Development forum
NTDEV forum at OSR Online


implement linting + reports for scss code

using causes/scss-lint

[x] linting
[ ] reporting (html as part of a site report)

Coverage decreased (-7.06%) to 75.5% when pulling ca29307991ccec1759edbb980b107ae6b5d0cca2 on scss-lint into 4d76c82abeba96f0d8178770dcc61d798538a3c6 on master.

Coverage decreased (-7.06%) to 75.5% when pulling ca29307991ccec1759edbb980b107ae6b5d0cca2 on scss-lint into 4d76c82abeba96f0d8178770dcc61d798538a3c6 on master.


Azure Insights Preview - Authentication failed. The 'Authorization' header is not present or provided in an invalid format.

Trying to use the new Azure Insights EventOperations and getting authorization failures.
        SubscriptionCloudCredentials credentials = new CertificateCloudCredentials(subscriptionID, cert);
        Microsoft.Azure.Insights.InsightsClient client = new InsightsClient(credentials);

        var test2 = client.EventOperations.GetCountSummaryAsync("");
        test2.Wait();

        var response = client.EventOperations.ListEventsAsync("", "");
        response.Wait();

There are two types of client libraries. They are divided by namespace. The "WindowsAzure" libraries can user CertificateCloudCredentials. They access Azure through the original access points. They correspond to features configured via https://manage.windowsazure.com . The "Azure" libraries correspond to the new Azure Resource Manager controls, and https://portal.azure.com and use AAD.


Bosh Lite require xip to resolve cf routes internally

I encounter this issue while trying to apply a bosh errand that interacts with cf. This makes bosh-lite with CF internet dependant. To achieve full offline setup for cf and bosh-lite dnsmask should run outside the vm and within the vm. I tried using the host machine as a dns server for the bosh-lite-vm but i could not make it work. I am willing to generate a Pull request on this and a way to introduce though config entries to the dnsmask configuration. Before starting working on this I want to know if this is something that I can expect to get merge. If thats the case I will start working right away.

How would this affect default bosh-lite configuration when internet is available? Or are you just proposing a PR around documenting how this can be configured?


Look for User webhook to register to get update on commit events

Look like web hooks are only available for repositories ...
https://developer.github.com/v3/repos/hooks/

We decided to poll actively user feed to get the info we need.


OKTA_AWS_ROLE_TO_ASSUME does not work with OKTA_BROWSER_AUTH

Describe the bug
If you are using OKTA_BROWSER_AUTH (for MFA purposes) and have an assertion with multiple roles presented to you and you supply a role name in the OKTA_AWS_ROLE_TO_ASSUME it is not used and you are still prompted for input.

I can reproduce this if I have a typo, a leading space, or a trailing space in OKTA_AWS_ROLE_TO_ASSUME.
Are any of those the case for your situation?

Thanks for reaching out quickly!
Here is literally what I have...
OKTA_AWS_ROLE_TO_ASSUME=okta-AWS-SS-CloudAdmin

Ah okay.
Role names alone aren't supported.
OKTA_AWS_ROLE_TO_ASSUME needs to be a full IAM Role ARN like:
arn:aws:iam::123456789012:role/okta-AWS-SS-CloudAdmin
If you replace<PHONE_NUMBER>12 with your real account number, it should work.
This is not described properly in README.md. I'll keep this open until the readme is updated to be more specific.
Thank you for reporting this.

ohhhhh... I thought about trying the ARN but.. from everything I was seeing and the verbiage of "ROLE" I just figured... nah, its gotta be the role name.  Doh.

No worries. I've fixed the readme now. Hopefully, the new wording is clearer 😃

The problem with requiring the ARN instead of just the role name is that it makes the setting less re-usable across multiple accounts/roles.  If you changed it to use the role name and simply constructed the ARN from that it would make assuming the same role across numerous accounts possible.

That is a cool idea. If you're up for implementing it and testing it, I can review and merge it.
The goal of using ARNs was to support many AWS accounts at once with a single Okta app. That is how my colleagues and I use it at work.
In the meantime, you can use a script like this to get role lists:
okta-listroles | jq '.[] | "\(.accountName),\(.roleOptions[].roleArn)"' --raw-output

That will yield output like this:
Account: account-alias<PHONE_NUMBER>12),arn:aws:iam::123456789012:role/EC2-Admins

With some awk or fc magic you could make a role/account switcher around the outside of the existing tool 😃


GLES3 shadeless colors are incorrect compared to Vulkan  [3D]

Tested versions
4.3 stable
System information
Windows 10
Issue description
Left side is a SubViewport contains a MeshInstance3D plane.
Right side is a Sprite2D
GLES3:

Vulkan:

Steps to reproduce
N/A
Minimal reproduction project (MRP)
minimal_reproduction_project.zip

I suspect this comes from the sRGB conversion approximation we use in the compatibility renderer. We use a version of the sRGB conversion function that is much cheaper to compute, but slightly less accurate. The difference is very subtle, which makes me think it isn't something else more fundamental

What's the cost of using the accurate conversion ?
I see it's only used in tonemap_inc.glsl, copy.glsl and cubemap_filter.glsl only, but canvas.glsl and copy_to_fb.glsl are using the accurate conversion.
// Approximation from http://chilliant.blogspot.com/2012/08/srgb-approximations-for-hlsl.html
vec3 srgb_to_linear(vec3 color) {
	return color * (color * (color * 0.305306011 + 0.682171111) + 0.012522878);
}

// Accurate
vec3 srgb_to_linear(vec3 color) {
	return mix(pow((color.rgb + vec3(0.055)) * (1.0 / (1.0 + 0.055)), vec3(2.4)), color.rgb * (1.0 / 12.92), lessThan(color.rgb, vec3(0.04045)));
}

If using the accurate function is bad for performance, so we can make this optional for Vulkan and GLES3 especially for low end devices and weak GPU.
Currently the 3D editor becomes so laggy on my potatoe pc when using Vulkan but switching to D3D12 makes it so much better, any performance optimization will be appreciated especially for Editor. Thanks in advance and have a nice day ^

I have asked Codeium about the cost, and this was the reply!
The cost of using this function to convert every pixel from sRGB to linear color space can be significant, especially for high-resolution images or real-time rendering applications.
Here's a breakdown of the operations involved in the function:

lessThan comparison: 1 operation
mix function: 1 operation
pow function: 1 operation (for the non-linear transformation)
Multiplications: 4 operations (2 for the linear transformation, 2 for the non-linear transformation)
Additions: 2 operations (1 for the linear transformation, 1 for the non-linear transformation)

Assuming a modern GPU or CPU, the cost of these operations can be estimated as follows:

lessThan comparison: ~1-2 clock cycles
mix function: ~2-4 clock cycles
pow function: ~10-20 clock cycles (depending on the implementation and precision)
Multiplications: ~2-4 clock cycles each
Additions: ~1-2 clock cycles each

Overall, the total cost of the function can be estimated to be around 20-50 clock cycles per pixel. This may not seem like a lot, but when applied to every pixel in an image, the cost can add up quickly.
For example, for a 1080p image (1920x1080 pixels), the total cost would be:

20-50 clock cycles/pixel x 2,073,600 pixels = 41,472,000 - 103,680,000 clock cycles

This can be a significant portion of the total processing time for an image, especially if the function is called repeatedly or in a performance-critical loop.
To mitigate this cost, some possible optimizations could be:

Using a lookup table (LUT) to precompute the sRGB to linear conversion for a range of values
Using a simpler, approximate conversion formula that is faster but less accurate
Using SIMD instructions (e.g. SSE, AVX) to perform the conversion in parallel for multiple pixels at once
Using a GPU-accelerated implementation of the function, which can take advantage of the GPU's massively parallel architecture to perform the conversion much faster.

I have tested both cheap and accurate functions in godot on a 4096 texture and there was no noticable difference, both was slow.

shader_type canvas_item;

uniform bool cheap = false;

vec3 srgb_to_linear(vec3 color) {
	return mix(pow((color.rgb + vec3(0.055)) * (1.0 / (1.0 + 0.055)), vec3(2.4)), color.rgb * (1.0 / 12.92), lessThan(color.rgb, vec3(0.04045)));
}

vec3 srgb_to_linear_cheap(vec3 color) {
	return color * (color * (color * 0.305306011 + 0.682171111) + 0.012522878);
}

vec3 linear_to_srgb(vec3 color) {
    return mix(color.rgb * 12.92, 1.055 * pow(color.rgb, vec3(1.0 / 2.4)) - 0.055, greaterThanEqual(color.rgb, vec3(0.0031308)));
}

vec3 linear_to_srgb_cheap(vec3 color) {
	return max(vec3(1.055) * pow(color, vec3(0.416666667)) - vec3(0.055), vec3(0.0));
}

void fragment() {
	vec4 tex = texture(TEXTURE, UV);
	vec3 col = cheap ? srgb_to_linear_cheap(tex.rgb) : srgb_to_linear(tex.rgb);
	if (UV.x <= 0.33333) {
		COLOR.rgb = col;
	} else if (UV.x <= 0.66666) {
		COLOR.rgb = cheap ? linear_to_srgb_cheap(col) : linear_to_srgb(col);
	}
}

@WhalesState Its good to see you are taking an interest in performance. Unfortunately, you have been misled, most of what Codeium has told you is totally wrong and much of it is self-contradictory. Particularly the second post is 100% wrong
srgb_to_linear and linear_to_srgb don't take a large part of the frame, so the impact from using the approximation is hard to measure. On Desktop hardware I don't think you would be able to measure the difference. The optimization is more for mobile hardware where extra instructions are costlier.


Server secret key

Heya,
Unsure if this is possible/wanted/otherwise:
I'm currently using the LSIO Docker image for the hishtory server, and I wonder if it would make sense for the server to generate/output a secret key on first install/each time it's started?
So on the clients, we'd set:
export HISHTORY_SERVER=http://my-hishtory-server.example.com
export HISHTORY_KEY=SERVER-UUID

Then do an init on the clients.
This would make programmatic installs a lot faster across the board. But I'm unsure how feasible or wanted this is due to the end-to-end nature of hishtory.
If this feature is not to be implemented due to the above, please close!

As a general feature, this does seem to me like it goes against the goal of supporting end-to-end encryption (since the server should never know any client's keys). Admittedly, this isn't necessarily relevant in a self-hosting context when the server is run by the same entity as the clients, but it does still seem like a worthwhile principle.
Though I'm curious: what is the motivation behind this request? Is the goal to ensure that clients cannot register against the backend server if they don't have the key? If so, that seems like something we could support, but I'm curious if an alternative solution is to either:

Use the HISHTORY_MAX_NUM_USERS environment variable to limit the number of users (e.g. setting it to one ensures that once you've registered, no other users will be able to register with the backend)
Deploying the backend behind a load balancer, and using the load balancer to add authentication requirements (e.g. a basic solution would be to use HTTP basic auth [example])

Heya,
The main reason was a simple one:
Ease of use for first time users using the docker image.
Granted, getting the UUID is quite simple on the clients, so this isn't a make or break request.
My initial idea was as follows:
The server generates a UUID, but doesn't store it, it was more for the following workflow:
Server gets created > a UUID is generated with uuidgen or similar (however you currently do it), but this isn't stored, merely displayed in stdout > when rolling out clients, you wouldn't need an initial client to get the UUID to apply to other clients, as you'd use the initial value the server gives.
But in all honesty, given the e2e ethos, the more I think about it, the more it goes against that, even if it is just output to stdout or similar.
I'd say close the ticket unless you see any value add from it.

Got it, thanks for the explanation! While I agree this could be done and it might simplify the installation flow, I'm also inclined to skip it to stay aligned with the e2e ethos. Thanks for the feedback and discussion!


fix(tiller): increase the max message size for grpc

Increases the default message size from 4MB to 10MB.

This change is

Any reason why we shouldn't merge this onto 2.0.2 as well?


ADVI stepsize sequence parameter (eta) adaptation

See https://github.com/stan-dev/stan/pull/1699

This looks OK --- feel free to clean up formatting or not.  I'm going to take a pass over all of this after the dust settles and try to clean up style and add full comments.

Jenkins, retest this please.

@akucukelbir, if there's an open issue, can you close it for me? I don't know what it would be called.

i'll take a look. i don't think there is. we're using https://github.com/stan-dev/stan/pull/1590 as a blueprint. (really suboptimal, i know.) i'll try to split the remaining things into issues and follow the naming convention for the upcoming pull requests.


Actually fixing unicode symbols

continuation of #49 where I didn't catch the failing unit tests after pasting in the unicode characters with '' inside the strings. Also, the degree symbol was automatically pasted as ° instead of \u00b0 in one location.

The tests that are now failing in here (TemperatureTest) are definitely passing on my machine. Fore some reason there seems to be ° symbols that are not there on my machine.
I'm not sure why this is happening. I also didn't do any changes in this file in my previous commits... @MadsKirkFoged any ideas?
Passing local tests:

Debugging locally in first failing test: no degree symbol in T3 so test is passing:

Source code of this test for reference:
    [TestMethod]
    public void CelsiusDivideFahrenheit()
    {

        //Arrange
        Temperature T1 = new(100, TemperatureUnit.DegreeFahrenheit);
        Temperature T2 = new(4, TemperatureUnit.DegreeCelsius);

        //Act
        UnknownUnit T3 = T2 / T1;
        var K3 = T2.As(TemperatureUnit.SI) / T1.As(TemperatureUnit.SI);

        //Assert
        Assert.AreEqual(T3.ToString(), "0.8914");
        Assert.AreEqual(K3, 0.89136455411224458);
    }

Looks like it is only working on your computer :-D
Github, Azure and my computer is failing the tests

I don't understand what would have changed since yesterday... the tests' source file has not been updated for 3 weeks

So it seems like this is a bug where UnknownUnit wrongly gets the ° symbol from the division operation between two temperatures (except that on my machine it doesn't)...

This is a bug I haven't though about before..
When we have an Unknownunit and try to cast it to known unit using IntelligentCast there are units like Ratio and Degree that can be casted to both unit. That means that the order suddenly matters.
We might have to think about a good fix for this.
Right now I have created a temp fix:

I still don't get why it catches on AngleUnit and ApparentPowerUnit though.. it doesn't for me, which is why my tests are passing:

Any why has this changes without any changes to these files?

I think I got to the bottom of it.
It started when you sorted the list in: https://github.com/MadsKirkFoged/EngineeringUnits/pull/47/commits/6543891ce51b797eb6c8a04098b02bebe7efea2c Which was a good thing that should have worked! And that I also though would work!
But from it I learned that some units are the same and therefore the order matter.
I have reworked the list a bit and grouped all the similar units and then sorted the units in each list.
In the future it could be nice with a solution where the order didn't matter but that is yet to be discovered :)

Nice! Tricky one this... should we close this and open a new issue to track... the issue?


[OnPrem][TE-9740] Git Action file.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Loading and Writing Data

Description:
Write the Loading and Writing Data guide

Added the new guide [1].
[1] https://ei.docs.wso2.com/en/latest/streaming-integrator/guides/loading-and-writing-date/


Feature-Request: Show completions

First of all, thanks for developing this plugin, it's my favorite by far!
There is just one inconvenience which I wish could be resolved:
Regular (clean) vim displays a bar with all suggestions when pressing tab:

With lightline, I loose this functionality.
Has anybody considered implementing this feature into lightline?

For me, lightline and wildmenu works well together. The statusline switches to the completion candidates automatically on pressing the tab key. Please share your entire vimrc.

OK, so, as it turns out, wildmenu does work, it just was deactivated by default - which is odd, considering that using vim --clean has it switched on.
Anyway, I didn't know that this feature was called "wildmenu" in VIM and thus was not able to get the reference from vim's help. I tried googling, but as this feature just seemed to disappear upon using lightline (for whatever reason - I now tried executing my vimrc by hand in vim --clean and wildmenu still worked...), I always googled for "lightline tab completion" or similar.
For anybody having the same issue and coming here from Google: set wildmenu fixed the problem.
I apologize for bothering you @itchyny, but you already helped me out without knowing, just by asking for my vimrc. 😄


Add labels to connector lines

This is the implementation of an additional connector_labels-parameter which allows arbitrary labels on the connector lines of the tree as discussed in #7 .
@ablaom , @sylvaticus: Would this be a suitable solution to what we discussed in #7?

Codecov Report

Merging #8 (72c5562) into master (a76af19) will decrease coverage by 4.77%.
The diff coverage is 60.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   98.41%   93.65%   -4.77%
==========================================
  Files           1        1
  Lines          63       63
==========================================
- Hits           62       59       -3
- Misses          1        4       +3

Impacted Files
Coverage Δ

src/TreeRecipe.jl
93.65% <60.00%> (-4.77%)
:arrow_down:

Thanks for the hint with codecov. I've added a basic configuration file.

Thanks for the addition.


gridstack is overriding my data-gs-y attribute

Hello, I am trying to achieve this layout on click of a button:
-------------------------------------
|           |           |           |
|     W1    |     W2    |    W3     |
|           |           |           |
-------------------------------------

the function is in my React component is
setGridStack(e) {
    e.preventDefault();

    var tabId = $(e.target).attr('href') + " > .gridstack-grid";
   $(tabId).gridstack();
  }

I can see the change in the .gridstack-grid container but the result is totally messed up:

Also, i set the data-gs-x and data-gs-y via a property loaded through JSON, and before clicking on the anchor link the attributes are the expected one, but after calling gridstack() the attributes are all messed up:

I don't know if it's something related to this, but moving those objects  works only the first time, and are placed with strange offsets. Plus the resize handle is never visible.
This is my component (simplified for clarity)
import React from 'react';

class Item extends React.Component {
  constructor(props) {
    super(props);
  }

  componentDidMount() {

  }

  render() {
    return (

              { this.props.name }

              This is the default value.
              x: {this.props.x}

              y: {this.props.y}

    );
  }
}

export default Item;

nvm, I've found that the grid stack container must be named grid-stack, then everything is working as expected (it seems that I was flipping the axis?). Next time I'm gonna get a rubber duck


Fix keycloak extension container

The init container currently fails when trying to download extensions externally. The problem is explained here

Done but we aren't using keycloak anymore


use indoc for error formatting

A couple of minor updates:

use indoc to format the multiline error message a little nicer
pass the query as a mutable reference to the package_error function

just noting that this didn't pass the python test actions, looks like just a formatting issue


Add GCS support for OPA bundles

Fixes #232
This PR adds support to the policy orchestrator to be able to retrieve and set policy defined in OPA bundles located on Google Cloud Storage.
There is a new integration key format that the Hexa Admin can read in for the Open Policy Agent.
{
    "project_id": "Hexa GCS Demo",
    "bundle_url": "https://storage.googleapis.com/storage/v1/b/opa-bundles-hexa-orchestration/o",
    "gcp": {
      "bucket_name": "opa-bundles-hexa-orchestration",
      "object_name": "bundle.tar.gz",
      "key":
        {
          "type": "service_account"
        }
    }
}

The keys supported for now are of type Service Account or refresh token json.

Codecov Report

Merging #245 (b2472a0) into main (0aac83f) will decrease coverage by 1.35%.
The diff coverage is 50.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #245      +/-   ##
==========================================
- Coverage   90.07%   88.71%   -1.36%
==========================================
  Files          45       45
  Lines        1934     1994      +60
==========================================
+ Hits         1742     1769      +27
- Misses        134      166      +32
- Partials       58       59       +1

Impacted Files
Coverage Δ

...estratorproviders/openpolicyagent/bundle_client.go
51.51% <34.78%> (-40.16%)
:arrow_down:

pkg/orchestrator/applications_handler.go
87.96% <40.00%> (-2.43%)
:arrow_down:

...hestratorproviders/openpolicyagent/opa_provider.go
90.15% <82.60%> (+1.16%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0aac83f...b2472a0. Read the comment docs.


Runtime error when running ProseMirror library

Describe the bug
Not working with ProseMirror on Vite project, but it is working on Vue CLI project.
Reproduction
import { schema } from "prosemirror-schema-basic";
import { Schema } from "prosemirror-model";
export default {
  setup() {
    onMounted() {
      const extendedSchema = new Schema({
        nodes: schema.spec.nodes,
        marks: schema.spec.marks
      });
    }
  }
}

running the above setup() code will have the following error
vue.js:1218 RangeError: Schema is missing its top node type ('doc')
    at Function.compile (schema.js:209)
    at new Schema (schema.js:480)
    at D:\Repos\prosemirror-explore\src\components\ProseMirror.vue:35
    at callWithErrorHandling (vue.js:1159)
    at callWithAsyncErrorHandling (vue.js:1168)
    at Array.hook.__weh.hook.__weh (vue.js:3116)
    at flushPostFlushCbs (vue.js:1275)
    at render (vue.js:5557)
    at mount (vue.js:3988)
    at Object.app.mount (vue.js:8131)

System Info

required vite version: 1.0.0-beta.3
required Operating System: Windows 10
required Node version: 12.15.0
Optional:

npm version: 6.13.4
Installed vue version (from yarn.lock or package-lock.json): 3.0.0-beta.14
Installed @vue/compiler-sfc version: 3.0.0-beta.20

Logs (Optional if provided reproduction)

Run vite or vite build with the --debug flag.
Provide the error log here.

Can you provider a complete reproduction for this? I test with you said and it is work.

sorry i realized i didn't pull in one of the prosemirror packages. its a non-issue


Copying doesn't work

Using "Command-c" to copy on mac gives the error below:
  File "/Users/joshyacktman/Desktop/DIP-dev/LangEditors.py", line 241, in <module>
    root.mainloop()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/tkinter/__init__.py", line 1458, in mainloop
    self.tk.mainloop(n)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tkcode/codebox.py", line 106, in _proxy
    result = self.tk.call(cmd)
_tkinter.TclError: text doesn't contain any characters tagged with "sel"

When there's no selection, you can't copy it.


Operation settings SecureData "LinkedToInputs" option missing description (did not confirm functionality)

Describe the Bug with repro steps
I haven't tested if it's just a description that needs to be updated or that the feature is missing (I'm assuming it's the former).
In v1 designer, setting "LinkedToInputs" in manifest would have a different description:

In v3, the text is unchanged:

Setting:
secureData: {
  options: {
    outputsMode: OutputSecureDataMode.LinkedToInputs,
  },
}

What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Chrome
Additional context
No response
AB#25031203

There is currently a gap in settings where things are missed. We will be doing a rewrite of settings: https://github.com/Azure/LogicAppsUX/issues/2266


Typing improvements

Description

[x] Runs mypy
[x] Adds stubs for openmm.unit
[x] Fixes missing annotations for some Pint-derived classes
[x] Fixes some warnings
[x] Removes some un-used # type: ignores

Status

[ ] Ready to go

Codecov Report

Merging #84 (cf95f84) into main (b8fdc8b) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

Additional details and impacted files


Nonexisting target error

I'm using the latest version (1.11.1) of DotBot and my current setup looks like the following:
~/.dotfiles
    dotbot
    install
    install.conf.yaml

My install file:
#!/usr/bin/env bash

set -e

CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"

DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

cd "${BASEDIR}"
git submodule update --init --recursive "${DOTBOT_DIR}"

"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"

My install.conf.yaml file:
- defaults:
    link:
      create: true
      relink: true

- clean: ['~']

- link:
    ~/.iterm2: iterm2
    ~/.vscode: vscode

- shell:
  - [git submodule update --init --recursive, Installing submodules]

Every time I run install I get the message:
All targets have been cleaned
Nonexistent target ~/.iterm2 -> iterm2
Nonexistent target ~/.vscode -> vscode
Some links were not successfully set up
Installing submodules [git submodule update --init --recursive]
All commands have been executed

==> Some tasks were not executed successfully

I'm using the very much close to default as I could, but clearly I'm missing something...

If your repository structure looks like the one above there is no iterm2- or vscode file/folder, they are "nonexistent".

Do you mean in the ~/.dotfiles folder, or under the ~/ folder?
If I create a folder with the same name, vscode I get the following message:
~/.vscode already exists but is a regular file or directory
And either way, I can't get it to work.

It should exist in your ~/.dotfiles folder (or wherever your dotfiles Git repo is).
You can't have ~/.vscode exist because Dotbot can't overwrite the folder with a symlink (unless you have the force option set). So make sure vscode is in ~/.dotfiles and make sure ~/.vscode is moved or deleted.

That worked! I don't know why, but I thought that DotBot would move the nonexistent folders and create the symlinks for them. (I'm actually creating my first .dotfiles, hence not having any folders).
Anyway, thank you for shedding some light on my noobness @anishathalye and @arcticicestudio

It should exist in your ~/.dotfiles folder (or wherever your dotfiles Git repo is).
You can't have ~/.vscode exist because Dotbot can't overwrite the folder with a symlink (unless you have the force option set). So make sure vscode is in ~/.dotfiles and make sure ~/.vscode is moved or deleted.

i just had a d'ugh moment wondering about a similar inconsistency, the obvious is sometimes not obvious unless it's stated.
I don't think your notes actually say that the originals won't be auto deleted.

By "your notes", are you referring to the documentation in the README? Perhaps we could clarify it better in there. Do you think it would be adequate to add to the link section, before the "if desired ..." bit, "By default, link does not overwrite existing files, or symbolic links that point to the wrong location."

Hi @anishathalye.
Backgroud
I checked README, set the dir, then ran with the ./install command, and dotbot said Some tasks were not executed successfully.
I thought I  missed something, so I checked recommended tutorial, and found out I have to copy the dotfile to the newly created directory. And still a failure.
Finally, I got here and realized I have to delete the original dotfile.
I think the issue above is caused by the line To get started, you just need to fill in the install.conf.yaml and Dotbot will take care of the rest. Dotbot is not taking care of all the things.
Advice
I suggest it would be better to provide a simple 1~x guide under the Quickstart section, it would be

setup dotbot
config install.conf.yml
copy the original dotfile to the directory created above
delete the original dotfile
run ./install

Thank you for creating dotbot.


Review Discovery behaviour with IPV6

Having a container:
CONTAINER ID   IMAGE          COMMAND                  CREATED      STATUS      PORTS                                                  NAMES
c1118ee08957   mysql:latest   "docker-entrypoint.s…"   8 days ago   Up 8 days   33060/tcp, <IP_ADDRESS>:3309->3306/tcp, :::3309->3306/tcp   some-mysql-4

And configuration:
discovery:
  docker:
    match:
      image: /mysql/

integrations:
- name: nri-mysql
  env:
    HOSTNAME: localhost
    PASSWORD: root
    PORT: ${discovery.port}
    REMOTE_MONITORING: "true"
    USERNAME: root
  interval: 30s
  timeout: null
  integration_user: ""
  working_dir: ""

Makes Discovery behave incorrectly. It returns empty string as ip (line 11 in screenshot below)

TODO

Analyze why this is happening (IPV6? 33060/tcp port in docker run?) and fix it in a a way that it returns the expected IP.

Same error with nri-nginx:
time="2022-05-12T09:01:09Z" level=warning msg="integration exited with error state" component=integrations.runner.Runner error="exit status 1" integration_name=nri-nginx stderr="[FATAL] can't continue: Get \"http://:::0/status\": dial tcp [::]:0: connect: cannot assign requested address"

Config:
discovery:
  docker:
    match:
      image: /nginx/
integrations:
  - name: nri-nginx
    env:
# use discovery.private.ip if container doesn't have attached public ip address
      STATUS_URL: http://${discovery.ip}:${discovery.port}/status
      METRICS: true
      STATUS_MODULE: discover
      REMOTE_MONITORING: true

root@ip-10-10-0-85:/home/ubuntu/infrastructure-agent# docker ps
CONTAINER ID   IMAGE          COMMAND                  CREATED          STATUS          PORTS                                               NAMES
9964500a8d11   nginx:1.15.8   "nginx -g 'daemon of…"   48 minutes ago   Up 48 minutes   80/tcp, <IP_ADDRESS>:8080->8080/tcp, :::8080->8080/tcp   tmp_nginx_1


gettimeofday in ISR broken after SNTP

gettimeofday in ISR seems to not return reasonable values any more after time is set with SNTP
outside of ISR it still works
example GPIO ISR:
static void IRAM_ATTR gpio_isr_handler_encoder1_btn1(void* arg)
{
gpio_ev_ts_t ev;
uint32_t ev.event = gpio_get_level(GPIO_INPUT_IO_ENCODER1_BTN);
gettimeofday(&ev.timestamp, NULL); // issue here, no valid result after SNTP
xQueueSendFromISR(gpio_event_queue_ui, &ev, NULL);
}

Hi @ctag-fh-kiel, unfortunately gettimeofday is not safe to be used in ISR, as it takes a mutex internally. We'll look into ways of fixing this. For now, you can use esp_timer_get_time function (#include "esp_timer.h") to get monotonic time since reset. This function can be used in task code and in ISR.


Hue 3.8.0 Tarball issues with LDAP integration

It looks like a fix is not included in the tarball. apps/useradmin/src/useradmin/ldap_access.py in master branch is using a method called get_ldap_bind_password which takes an argument. But the same file in tarball is using a method called get_ldap_password()
Following is the exception I ran into:
[27/Apr/2015 11:33:58 -0400] middleware   INFO     Processing exception: get_ldap_password() takes no arguments (1 given): Traceback (most recent call last):
  File "/opt/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner
    return func(*args, **kwargs)
  File "/opt/hue/apps/useradmin/src/useradmin/views.py", line 332, in add_ldap_users
    connection = ldap_access.get_connection_from_server(server)
  File "/opt/hue/apps/useradmin/src/useradmin/ldap_access.py", line 39, in get_connection_from_server
    return get_connection(ldap_config)
  File "/opt/hue/apps/useradmin/src/useradmin/ldap_access.py", line 48, in get_connection
    password = desktop.conf.get_ldap_password(ldap_config)
TypeError: get_ldap_password() takes no arguments (1 given)

Thanks, this is true, I just put the commit in https://github.com/cloudera/hue/commits/branch-3.8
Will prepare a 3.8.1 tarball release

3.8.1 release is out https://github.com/cloudera/hue/tree/release-3.8.1 with a tarball link in http://gethue.com/hue-3-8-with-an-oozie-editor-revamp-better-performances-improved-spark-ui-is-out/


Request for Write Access to Manage Labels

Hello Project Admin @iamparas0 ,
I am mentoring this project and would like to help manage the issues more effectively. Could you please grant me write access so that I can create and assign labels to the issues?
This will help in prioritizing and organizing the tasks better.
Thank you,
Dharshini R

Hello Project Admin @iamparas0 ,
I am mentoring this project and would like to help manage the issues more effectively. Could you please grant me write access so that I can create and assign labels to the issues?
This will help in prioritizing and organizing the tasks better.
Thank you, Dharshini R

welocome, Dharshini R
I have sent you the request please accept it.

To the concerned, should I simply reply to contributors, or is it necessary
to both reply and assign them to issues? I'm receiving requests from
contributors asking to be assigned to specific issues.
On Wed, 9 Oct 2024, 21:24 Paras Vishwakarma, @.***>
wrote:

Hello Project Admin @iamparas0 https://github.com/iamparas0 ,
I am mentoring this project and would like to help manage the issues more
effectively. Could you please grant me write access so that I can
create and assign labels to the issues?
This will help in prioritizing and organizing the tasks better.
Thank you, Dharshini R
hey dharshini , if you label someones issue so please ensure to give a
quoted reply like go for it , so they can continue and assign also .
—
Reply to this email directly, view it on GitHub
https://github.com/iamparas0/TIC-TAC-TOE/issues/154#issuecomment-2402715552,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BF6PBEONCEPHETOANSXKO4LZ2VGUNAVCNFSM6AAAAABPSXCSXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBSG4YTKNJVGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

sometimes they don't get it , through reply they get confirmation.
you can go through issues and check if the issue is valid or not , also check same issue is not raised by someone else or assigned.


[GITHUB-13] Updates apt repo

Updates apt repo to build.openvpn.net, also switched to 2.4 as
the default since 2.3 had some security vulnerabilities.

:+1:


An error occurred when vLLM deployed the GGUF file

Hi! This is a great job. I have tried using the vLLM deployment model. The vLLM service can be started normally, but the following error occurs when the service is invoked.
openai.BadRequestError: Error code: 400 - {'object': 'error', 'message': 'As of transformers v4.44, default chat template is no longer allowed, so you must provide a chat template if the tokenizer does not define one.', 'type': 'BadRequestError', 'param': None, 'code': 400}
The service startup command is as follows:
CUDA_VISIBLE_DEVICES=0 vllm serve ./xLAM-7b-fc/xLAM-7b-fc-r.Q5_K_M.gguf
--trust-remote-code
--served-model-name xlam-7b-fc
--port 4040
--api-key agent-model
--gpu-memory-utilization 0.5
vllm=0.6.0
transformers=4.43.2
from openai import OpenAI
client = OpenAI()
messages=[]
messages.append({"role": "user", "content": "你好"})
result = client.chat.completions.create(messages=messages, model=model_name, temperature=0)

@zuxin666 Could you take a look at the issue regarding xLAM-7b-fc-r??

Hi @bingoohe , we haven't tried using vllm to deploy the GGUF versions of xLAM models. As the vllm official doc said, it might still be an experimental feature. So we would suggest you use our non-quantized versions when deployed with vllm, or follow the deployment instructions here for the quantized models.


Move to Bun

Describe the feature you'd like to request
Move this entire repository to use Bun instead of pnpm.
Describe the solution you'd like to see
No response

Would have to disable Dependabot due to dependabot/dependabot-core#6528


Set authorizer name and Uri

Closes #22
Custom authorizer support. Authorizer URIs point to the aliased function version and the authorizer name is appended with the alias name.
The authorizer will be deployed into the APIG stage. If a different alias is deployed that does not contain an authorizer, it will disappear from the API staging area (console), but remains deployed within the correct stage. This is expected behavior, because an APIG deployment to a stage will deploy the complete staging area - so everything not part of the current deployment has to be removed.
From a functional perspective the deployed APIs remain completely intact.

Coverage decreased (-0.4%) to 51.651% when pulling 06bbfedfa11a6b0171b881565f8327e4adb85f8a on support-custom-authorizers into f7ca6081fe9fcab3e80f87e337c961922d53476a on master.

Coverage decreased (-0.4%) to 51.651% when pulling 5756f32ef8223592e73741cec590ed9793590989 on support-custom-authorizers into f7ca6081fe9fcab3e80f87e337c961922d53476a on master.


support search and jump

Support jump to cursor position by click search result in side bar.

This change is

@fxha There still some bugs, for example, if we search \``javascript`, we click the search result, but it will break the render content of the search result file. Maybe I'll handle it after your PR merged or before.

when you remove a few lines from the opened tab and click on a search result that match line > current tab lines or the file length on disk is less than the match line.

First, we need to set autoSave to true now?
We need to research after user edit and save any file.
If a matched search result existed on disk but it not existed on the opened tabs? What should we do?

First, we need to set autoSave's default value to true now?

I would consider autoSave as experimental feature with regard to automatically formating and not supported markdown elements. So keep it disabled by default.
Regarding changed tabs and find in files: I think the easiest fix would be to correct invalid parameters in muya. E.g. when we try to open line 4 but the file on disk/opened tab only has 2 lines then line 2 should be selected and also the same for an invalid offset, select the best offset or position 0.

Otherwise, this PR is merged first, then I submit an issue in marktext/marktext, and I am trying to fix the problem that the cursor may not find.


SSH keys problems under MacOS

Mounted SSH_AUTH_SOCK is not working.
git.add+url over ssh not working.

MacOs docker and SSH_AUTH_SOCK
https://github.com/docker/for-mac/issues/410

@Scukerman ssh-socket forwarding in mac os works only on edge version of docker

That's what I installed right after your message. There's no difference in the output.
It doesn't work in both versions.

@Scukerman also try to create env variable like in docker
--env SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock
and u should pass volume with ssh-socket
-v /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock -v /Users/$USER/.ssh/config:/root/.ssh/config:ro
if u don't specify key werf will use SSH_AUTH_SOCK
https://werf.io/documentation/reference/toolbox/ssh.html

I also did this too. It doesn't work whatever I do.
Now I already have switched back to the stable Docker for Mac.
I'll try to do it one more time in the next week. Or I'll wait for others to test it. Maybe there's something wrong in my actions so I'll wait for other opinions.
BTW, have you tried to make it work?

I've got some time a little to install the Docker for Mac edge version again.

I went to https://docs.docker.com/docker-for-mac/edge-release-notes/
I downloaded the latest edge version Docker Desktop Community <IP_ADDRESS> :
Link: https://download.docker.com/mac/edge/39357/Docker.dmg
Then I ran CleanMyMac X to completely remove the previous docker.
And finally, I installed it.

$ env | grep SSH_AUTH_SOCK
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.QWRYp18MAK/Listeners
$ docker run -it -v ${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK} -e SSH_AUTH_SOCK="${SSH_AUTH_SOCK}" --rm alpine:latest /bin/sh -c "apk --no-cache add dropbear-ssh && ssh -T<EMAIL_ADDRESS>fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
(1/2) Installing dropbear-dbclient (2019.78-r0)
(2/2) Installing dropbear-ssh (2019.78-r0)
Executing busybox-1.30.1-r2.trigger
OK: 6 MiB in 16 packages

Host 'github.com' is not in the trusted hosts file.
(ssh-rsa fingerprint sha1!! bf:6b:68:25:d2:97:7c:51:1a:47:5b:be:fb:88:aa:d5:4a:92:ac:73)
Do you want to continue connecting? (y/n) y
ssh: Failed to connect to agent

ssh: Connection to git@github.com:22 exited: No auth methods could be used.

I also tried:
$ docker run -it -v /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock -v ~/.ssh/config:/root/.ssh/config:ro -e SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock --rm alpine:latest /bin/sh -c "apk --no-cache add dropbear-ssh && ssh -T<EMAIL_ADDRESS>fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
(1/2) Installing dropbear-dbclient (2019.78-r0)
(2/2) Installing dropbear-ssh (2019.78-r0)
Executing busybox-1.30.1-r2.trigger
OK: 6 MiB in 16 packages

Host 'github.com' is not in the trusted hosts file.
(ssh-rsa fingerprint sha1!! bf:6b:68:25:d2:97:7c:51:1a:47:5b:be:fb:88:aa:d5:4a:92:ac:73)
Do you want to continue connecting? (y/n) y

ssh: Connection to git@github.com:22 exited: No auth methods could be used.

But it doesn't seem to work because I don't have /run directory. It's macOS.

@Scukerman example with docker-edge

docker run --rm -it -v /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock -v /Users/$USER/.ssh/config:/root/.ssh/config:ro -w /tmp/ --env SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock ubuntu bash
apt-get update ; apt-get install -y ssh-client git
root@2f06b7385e7e:/tmp# ssh-add -L
ssh-rsa .................
root@2f06b7385e7e:/tmp# git clone git@github.com:flant/werf.git
Cloning into 'werf'...
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known hosts.
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (64/64), done.
remote: Total 52746 (delta 36), reused 54 (delta 17), pack-reused 52657
Receiving objects: 100% (52746/52746), 14.14 MiB | 5.04 MiB/s, done.
Resolving deltas: 100% (33055/33055), done.
root@2f06b7385e7e:/tmp# ls -la werf/
total 188
drwxr-xr-x 13 root root  4096 Nov  5 12:15 .
drwxrwxrwt  1 root root  4096 Nov  5 12:16 ..
-rw-r--r--  1 root root    13 Nov  5 12:15 .dockerignore
-rw-r--r--  1 root root   370 Nov  5 12:15 .editorconfig
drwxr-xr-x  8 root root  4096 Nov  5 12:15 .git
drwxr-xr-x  3 root root  4096 Nov  5 12:15 .github
-rw-r--r--  1 root root   379 Nov  5 12:15 .gitignore
-rw-r--r--  1 root root  1859 Nov  5 12:15 DEVELOPMENT-ANSIBLE.md
-rw-r--r--  1 root root 10772 Nov  5 12:15 LICENSE
-rw-r--r--  1 root root 10807 Nov  5 12:15 README.md
drwxr-xr-x  3 root root  4096 Nov  5 12:15 cmd
drwxr-xr-x 11 root root  4096 Nov  5 12:15 docs
-rwxr-xr-x  1 root root   177 Nov  5 12:15 go-build.sh
-rw-r--r--  1 root root  7947 Nov  5 12:15 go.mod
-rw-r--r--  1 root root 79806 Nov  5 12:15 go.sum
drwxr-xr-x  7 root root  4096 Nov  5 12:15 integration
drwxr-xr-x 22 root root  4096 Nov  5 12:15 pkg
drwxr-xr-x 13 root root  4096 Nov  5 12:15 playground
-rw-r--r--  1 root root    24 Nov  5 12:15 rolling-versions
drwxr-xr-x  5 root root  4096 Nov  5 12:15 samples
drwxr-xr-x  7 root root  4096 Nov  5 12:15 scripts
drwxr-xr-x  3 root root  4096 Nov  5 12:15 stapel
drwxr-xr-x  4 root root  4096 Nov  5 12:15 tests

It doesn't work for me for some reason.
At the step where you list all public keys, my ssh agent doesn't see any of those.
root@41a5f92eba7d:/tmp# ssh-add -L
The agent has no identities.

I repeated all the commands you have posted above.

@Scukerman  do add ssh key ssh agent on you host?

@distorhead how can we mount ssh auth socket to werf like with docker command?
docker run --rm -it -v /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock -v /Users/$USER/.ssh/config:/root/.ssh/config:ro -w /tmp/ --env SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock ubuntu bash

i tred this
project: ssh-key-test
configVersion: 1

---
image: ssh-key-test
from: alpine:3.7
mount:
  - fromPath: /run/host-services/ssh-auth.sock
    to: /run/host-services/ssh-auth.sock
git:
  - url: git@github.com:flant/werf.git
    to: /tmp
ansible:
  install:
    - name: LS
      shell: ls -la /tmp

run with
SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock werf build -s :local

and got the error
Version: v1.0.4-beta.12
Using werf config render file: /private/var/folders/t_/b9jj0s1d3wq6kx6pyk1dlnfw0000gn/T/werf-config-render-109591707

┌ Determining of stages
│ ┌ ⛵ image ssh-key-test
│ │ ┌ Refreshing flant/werf repository
│ │ │ Clone git@github.com:flant/werf.git
│ │ └ Refreshing flant/werf repository (0.00 seconds) FAILED
│ └ ⛵ image ssh-key-test (0.00 seconds) FAILED
└ Determining of stages (0.00 seconds) FAILED

Running time 0.05 seconds
Error: error creating SSH agent: "Error connecting to SSH_AUTH_SOCK: dial unix /run/host-services/ssh-auth.sock: connect: no such file or directory"

LOL. I didn't use the keychain so my keys weren't added.
Yay! It worked! Thx.
So the next is to have it working with werf.

@Scukerman it work's
project: ssh-key-test
configVersion: 1

{{ $_ := set . "SSH_AUTH_SOCK" "/run/host-services/ssh-auth.sock" }}

---
image: ssh-key-test
from: alpine:3.7
git:
  - url: git@github.com:flant/werf.git
    to: /tmp
ansible:
  install:
    - name: LS
      shell: ls -la /tmp

execute
werf build -s :local

output
Version: v1.0.4-beta.12
Using werf config render file: /private/var/folders/t_/b9jj0s1d3wq6kx6pyk1dlnfw0000gn/T/werf-config-render-982202574
Using system ssh-agent: /private/tmp/com.apple.launchd.apwuwwEzZa/Listeners

┌ Determining of stages
│ ┌ ⛵ image ssh-key-test
│ │ ┌ Refreshing flant/werf repository
│ │ │ Fetch remote origin of git@github.com:flant/werf.git
│ │ └ Refreshing flant/werf repository (2.18 seconds)
│ │
│ │ ┌ Initializing git mappings
│ │ │ ┌ [0] git mapping from flant/werf repository
│ │ │ │       add: /
│ │ │ │       to: /tmp
│ │ │ │
│ │ │ │ ┌ Creating archive for commit f20d80c0ae22b918df162926f23d30c317939fe4 of flant/werf git mapping /
│ │ │ │ │ Using work tree /Users/maksimfominov/.werf/local_cache/git_worktrees/1/remote/github.com/flant/werf.git
│ │ │ │ │ HEAD is now at f20d80c0 Merge pull request #1877 from flant/updateHelmTo2.15.2
│ │ │ │ └ Creating archive for commit f20d80c0ae22b918df162926f23d30c317939fe4 of flant/werf git mapping / (0.44 seconds)
│ │ │ │
│ │ │ │ Commit f20d80c0ae22b918df162926f23d30c317939fe4 will be used
│ │ │ └ [0] git mapping from flant/werf repository (0.44 seconds)
│ │ └ Initializing git mappings (0.44 seconds)
│ │
│ │ Using stage from
│ │ Using stage install
│ │ Using git stages
│ └ ⛵ image ssh-key-test (2.62 seconds)
└ Determining of stages (2.62 seconds)

┌ Calculating signatures
│ ┌ ⛵ image ssh-key-test
│ │ from:                   7dee0876697ca9038ea99569fdda9b6b37ed1afab65e033f2f1d024be2f4ee5e
│ │ gitArchive:<PHONE_NUMBER>d2f186996874a6556088b95e61fb2161849477e6287c6bed1d5cef
│ │ install:                f1af131fa434d7d2eabf8c12122e7e2441cee6fef4150bd4e279e1cb7167db3b
│ │ gitCache:               <empty>
│ │ gitLatestPatch:         <empty>
│ │
│ │ Git files will be actualized on stage gitArchive
│ └ ⛵ image ssh-key-test (0.53 seconds)
└ Calculating signatures (0.53 seconds)

┌ Checking invalid stages cache
└ Checking invalid stages cache (0.00 seconds)

┌ Preparing stages build instructions
│ ┌ ⛵ image ssh-key-test
│ └ ⛵ image ssh-key-test (0.03 seconds)
└ Preparing stages build instructions (0.03 seconds)

┌ Building stages
│ ┌ ⛵ image ssh-key-test
│ │ Use cache image for stage from
│ │     repository: werf-stages-storage/ssh-key-test
│ │       image_id: f8a53a3ee421
│ │        created: 2019-11-06T13:00:46.4342597Z
│ │            tag: 7dee0876697ca9038ea99569fdda9b6b37ed1afab65e033f2f1d024be2f4ee5e
│ │           size: 4.0 MiB
│ │
│ │ ┌ Building stage gitArchive
│ │ ├ Info
│ │ │     repository: werf-stages-storage/ssh-key-test
│ │ │       image_id: 5e37f87e433f
│ │ │        created: 2019-11-06T13:01:19.6541028Z
│ │ │            tag:<PHONE_NUMBER>d2f186996874a6556088b95e61fb2161849477e6287c6bed1d5cef
│ │ │           diff: 10.0 MiB
│ │ └ Building stage gitArchive (1.11 seconds)
│ │
│ │ ┌ Building stage install
│ │ │ ssh-key-test/install   [WARNING]: Failure using method (v2_playbook_on_play_start) in callback plugin
│ │ │ ssh-key-test/install  (<ansible.plugins.callback.werf.CallbackModule object at 0x7f6b013408d0>):
│ │ │ ssh-key-test/install  [Errno 36] File name too long
│ │ │ ssh-key-test/install
│ │ │ ssh-key-test/install  ┌ shell 'LS' [ls -la /tmp]
│ │ │ ssh-key-test/install  │ stdout:
│ │ │ ssh-key-test/install  │   total 188
│ │ │ ssh-key-test/install  │   drwxr-xr-x    1 root     root          4096 Nov  6 13:01 .
│ │ │ ssh-key-test/install  │   drwxr-xr-x    1 root     root          4096 Nov  6 13:01 ..
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root            13 Nov  6 13:01 .dockerignore
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root           370 Nov  6 13:01 .editorconfig
│ │ │ ssh-key-test/install  │   drwxr-xr-x    3 root     root          4096 Nov  6 13:01 .github
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root           379 Nov  6 13:01 .gitignore
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root          1859 Nov  6 13:01 DEVELOPMENT-ANSIBLE.md
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root         10772 Nov  6 13:01 LICENSE
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root         10807 Nov  6 13:01 README.md
│ │ │ ssh-key-test/install  │   drwx------    2 root     root          4096 Nov  6 13:01 ansible_command_payload_eh8to6
│ │ │ ssh-key-test/install  │   drwxr-xr-x    3 root     root          4096 Nov  6 13:01 cmd
│ │ │ ssh-key-test/install  │   drwxr-xr-x   11 root     root          4096 Nov  6 13:01 docs
│ │ │ ssh-key-test/install  │   -rwxr-xr-x    1 root     root           177 Nov  6 13:01 go-build.sh
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root          7947 Nov  6 13:01 go.mod
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root         79806 Nov  6 13:01 go.sum
│ │ │ ssh-key-test/install  │   drwxr-xr-x    7 root     root          4096 Nov  6 13:01 integration
│ │ │ ssh-key-test/install  │   drwxr-xr-x   22 root     root          4096 Nov  6 13:01 pkg
│ │ │ ssh-key-test/install  │   drwxr-xr-x   13 root     root          4096 Nov  6 13:01 playground
│ │ │ ssh-key-test/install  │   -rw-r--r--    1 root     root            24 Nov  6 13:01 rolling-versions
│ │ │ ssh-key-test/install  │   drwxr-xr-x    5 root     root          4096 Nov  6 13:01 samples
│ │ │ ssh-key-test/install  │   drwxr-xr-x    7 root     root          4096 Nov  6 13:01 scripts
│ │ │ ssh-key-test/install  │   drwxr-xr-x    3 root     root          4096 Nov  6 13:01 stapel
│ │ │ ssh-key-test/install  │   drwxr-xr-x    4 root     root          4096 Nov  6 13:01 tests
│ │ │ ssh-key-test/install  │ exit code: 0
│ │ │ ssh-key-test/install  └ shell 'LS' [ls -la /tmp] (1.11 seconds)
│ │ │ ssh-key-test/install   [WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin
│ │ │ ssh-key-test/install  (<ansible.plugins.callback.werf.CallbackModule object at 0x7f6b013408d0>):
│ │ │ ssh-key-test/install  'LiveStdoutListener' object has no attribute '_reader'
│ │ │ ssh-key-test/install
│ │ ├ Info
│ │ │     repository: werf-stages-storage/ssh-key-test
│ │ │       image_id: 092005dc1ad7
│ │ │        created: 2019-11-06T13:01:24.0082086Z
│ │ │            tag: f1af131fa434d7d2eabf8c12122e7e2441cee6fef4150bd4e279e1cb7167db3b
│ │ │           diff: 0 B
│ │ └ Building stage install (4.29 seconds)
│ └ ⛵ image ssh-key-test (5.40 seconds)
└ Building stages (5.40 seconds)

Running time 8.61 seconds


chore: optimize vote structure by removing type and using uint32 for …

Purpose

Optimize vote structure by:

removing vote type as it can be deducted from step
making round uint32_t instead of uint64_t

The actual optimization is in these files:

libraries/types/vote/include/vrf_sortition.hpp
libraries/types/vote/src/vrf_sortition.cpp

The rest of the changes is just refactor for using the corret types
Note:
As pbft period, round  and step are used across the code base, e.g. in Vote, PbftManager, VoteManager, ProposedBlocks classes, etc... we might use custom types and use it everywhere instead of remembering that period is uint64_t, round is uint32_t etc..
using PbftPeriodType = uint64_t;
using PbftRoundType = uint32_t;
using PbftStepType = uint32_t;

We might introduce custom
How does the solution address the problem

Changes made

These are all very reasonable and good ideas. :-)   Certainly 32 bits should be more than plenty for expressing the round.

prnet cleaned-up successfully


Too many transactions queued with IndexedDB adapter

Chrome Canary 50 throws event.target.transaction.error “Too many transactions queued”" with Lawnchair's .get[array] method with the Indexed DB adapter.  Chrome Canary now throttles after 255 queued transactions as described here.
My offline geo web app has 30,000+ JSON objects managed by Lawnchair and often calls.get(array_of_keys,...) to request 500 objects with the required keys depending on map location.  This has been working for many years with excellent performance on many different platforms and mobile devices.
It seems that the current .get implementation for IndexedDB creates a transaction for each key required. This triggers Chrome Canary to stop the show.
After searching the web for IndexedDB IN query functionality I found this article which seems to use cursors and fewer transactions for its algorithm. I hacked together this function using that algorithm which works on Chrome Canary 50 where the .get method now fails.

Good job, @ajl236.  I took your solution, added the "query queuing" that @brianleroux uses, and made it work for (non-array) objects.  I have several local changes that I would like to make into v0.7.0, but I think I'll get this one out there sooner rather than later.

Resolution has been merged and committed.


Minor cleanup removing unnecessary imports and suppress warnings

As the title goes, there are a few unnecessary imports and suppress warnings annotations.

Thank you for your submission.


add UI for driver updates

Creates a UI component very similar to the electron update notification for the driver updates. Moves the actual install script execution behind a user click event.
There are a couple slightly strange things happening because we're trying to dispatch Redux events from a non-component module. We generally wouldn't pass around the dispatch function, but it was the best way I could figure out how to expose it to the drivers file. Ideally, we wouldn't be passing the shell options in application state, but I couldn't get access to the raw store to pass to the drivers file (in order to manually subscribe to the user-initiated install action), so the shell script execution gets moved into the component that actually handles the click event.

@gniezen I think this is ready for review now.


could we sync tables with same host but different port for different db

if so, what is the syntax to do that? thanks. -- Shenghua

Like this from example 1 in the read me - simply set the hostnames to be the same, but with different ports, E.G <IP_ADDRESS>:3306 and <IP_ADDRESS>:3307:
# Sync the table web.customers from one host to another (non-standard port on target):

db-sync --user root --password mypass <IP_ADDRESS> <IP_ADDRESS>:13306 web.customers


Completion of error handling

Would you like to add more error handling for return values from functions like the following?

malloc ⇒ list_windows
strdup ⇒ x11fs_readdir

Thanks very much for pointing this out, will fix shortly.

Actually, a large number of functions used are capable of failing, and there is little code in-place to handle it. I'll be more than happy to help you out with this if you would like.

@sdhand, there are two distinct types of calls that we can make for any server request - in general a checked and unchecked type. https://xcb.freedesktop.org/manual/structxcb__generic__error__t.html and, it seems that we aren't doing very much on the event loop. So, I'm wondering if you would prefer we swap over to all of our calls being checked calls, so that we can immediately handle errors should they arise with the use of a follow up call - or if you'd like to just use a pass/fail approach to a call and lose the ability to narrow down errors?

Save for event, naturally


Appstudio update test-custom-default-branch-mszg

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nwtb-on-pull-request-
creating pipelinerun test-simple-build-nwtb-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-uqzm-on-pull-request-
creating pipelinerun test-simple-build-uqzm-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nyrh-on-pull-request-
creating pipelinerun test-simple-build-nyrh-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-wadk-on-pull-request-
creating pipelinerun test-simple-build-wadk-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-mcmm-on-pull-request-
creating pipelinerun test-simple-build-mcmm-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-imul-on-pull-request-
creating pipelinerun test-simple-build-imul-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-mijr-on-pull-request-
creating pipelinerun test-annotations-mijr-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-ufgi-on-pull-request-
creating pipelinerun test-simple-build-ufgi-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-lqle-on-pull-request-
creating pipelinerun test-simple-build-lqle-on-pull-request- in namespace build-e2e-pprm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Update README.md

Hi - the port numbers are accurate. When you have HTTPS enabled, the default port number will be 6984 rather than 5984. I will leave the HTTPS port in the documentation to encourage people to get a valid certificate set up.


Nonexistent source file for cpp is silently ignored

Expected Behavior

If a specific file is named as a source for cpp compilation and that file does not exist, an error message is printed and the build fails.
Current Behavior

If a specific file is named as a source for cpp compilation and that file does not exist, the build "succeeds" with no indication that the specified file does not exist.
Context

I am trying to build a C++ library from generated sources (from SWIG). I didn't know why I wasn't getting any output .o or library files. I wasted most of a day before realizing that I was passing a list of files to include and it was just ignoring it. But even when I passed a filename it ignored it, until I realized that the path wasn't exactly what it was expecting and it was just ignoring the problem.
Steps to Reproduce (for bugs)

You can reproduce it by adding a nonexistent source to the example in subprojects/docs/src/samples/native-binaries/cpp-lib. The full gradle.build (renamed with .txt to make github happy) is:
build.gradle.txt
Your Environment

Build scan URL:

I think something we should be clearer with here is that the include (and exclude) methods are taking patterns and not file names.  So if you used include "**/*.cpp", I think that it wouldn't be surprising that the build was up-to-date if you had no files matching that patter. I think it would be surprising if you had multiple patterns (**/*.cpp and **/*.cxx and **/*.C) and all of your source files matched only one of those patterns and Gradle complained that "files were missing" because the other patterns were not matched.
We want to have a better representation of a "collection of sources" (#105).
Is there a particular use case for explicitly listing all source files that couldn't be solved with some kind of conventional extension/pattern?

Is there a particular use case for explicitly listing all source files that couldn't be solved with some kind of conventional extension/pattern?

That depends on what behavior you want. In my case, since I'm automatically generating a specific source file, if it comes time to compile and that file didn't get created, I want an error to be raised and the build to halt. Based on decades of programming with (at least) dozens of compilers, build tools, etc., this is what I fully expected to happen. I was shocked that what I thought were very explicit instructions about what I wanted (to compile a specific file) were just silently ignored.
I don't see how patterns would help me achieve this. Now that I know about this behavior, I guess I could add a step to the build process just to check for the existence of the source file.
This issue, plus my (lesser) shock at #495 have convinced me that this plugin has too many surprises, at least for me.
Although I've switch to another build method (invoking cmake for the native parts of my build), I really appreciate your work on making native builds better in gradle and hope my feedback is helpful.

I don't see how patterns would help me achieve this. Now that I know about this behavior, I guess I could add a step to the build process just to check for the existence of the source file.

Ah, I see what you're saying. I think the way I would look at it is that the code generation step should fail if a source file wasn't created properly and not the other way around. In other words, the build failing with "such-and-such file is missing" isn't as useful as "such-and-such file could not be created".

Although I've switch to another build method (invoking cmake for the native parts of my build), I really appreciate your work on making native builds better in gradle and hope my feedback is helpful.

Thanks, it is helpful. If you're using Gradle for non-native things, we're working on some samples to wrap a CMake build.


Option to specify mpd password

My mpd server is protected with a password. While I can access it from Polybar by giving the password the correct value in its configuration file, I can’t find such an option in the man page of Waybar v0.8.0 or in the master branch.

@minijackson Can you give a shot? :D

I can try, but since I don't have much off time, I'd prefer to mentor someone, if someone wants to give this issue a shot ^^

Done in #888 888


Implement setProgramConstant byteArray & vector for GLSL shaders

Currently, these functions for setting shader uniforms silently discard input when the shader program format is GLSL.

Note: I don't know if that's how the ByteArray one should work, but I can't see an analogue for that kind of thing in GLSL.

I was wondering if you can put this pull request into your respiratory just incase they don't accept

and also how do you find out which line of shader code is causing the errors cause I work for fnf stuff

and sometimes the shaders break @6J7KZg2f


Problem converting page layout from source to metadata format

Summary
Try converting a custom object's page layout from source to metadata format, but all other page layouts of that particular custom object get converted as well.
Steps To Reproduce:

Specify a custom object's page layout (just 1 page layout) in manifest (package.xml)
Run sfdx force:source:convert -d mdapi -x force-app\main\default\package.xml

Expected result
Expect to see 1 page layout (the one specified in manifest) being converted in the output directory.
Actual result
All other page layouts (including the one specified in manifest) related to the custom object being converted into metadata format and appear in the output directory.
System Information
{
"cliVersion": "sfdx-cli/7.109.0",
"architecture": "win32-x64",
"nodeVersion": "node-v14.17.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.2 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.0 (core)",
"@oclif/plugin-update 1.4.0-3 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"@salesforce/sfdx-trust 3.6.0 (core)",
"alias 1.1.10 (core)",
"apex 0.2.2 (core)",
"auth 1.7.1 (core)",
"config 1.2.12 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.4.12 (core)",
"generator 1.1.7 (core)",
"limits 1.2.1 (core)",
"org 1.6.7 (core)",
"salesforce-alm 52.0.4 (core)",
"schema 1.0.7 (core)",
"sfdx-cli 7.109.0 (core)",
"sfdx-run-script 0.1.0 (link) C:\Users\3683xj\WYC\Salesforce\Repos\Post-Refresh\sfdx-deployment-scripts-runner\scriptrunner",
"telemetry 1.2.2 (core)",
"templates 52.1.0 (core)",
"user 1.3.0 (core)"
],
"osVersion": "Windows_NT 10.0.19042"
}
Additional information
This situation doesn't seem to affect standard object's page layout.

Have the same issue
sfdx-cli/7.86.3 darwin-x64 node-v14.15.5

Hi @yeanchiat @chernyy-svyat have you guys tried the beta source plugin it fixes a lot of metadata issues like this


Add set.seed ability to CLI when splitting NLU data

Description of Problem:
The user is not able to set a seed when using the CLI to split NLU data into test and training data sets (rasa split data nlu command). This feature will enhance reproducibility when required.
Overview of the Solution:
Add set.seed() to split_nlu_data.py or train_test_split.py
Definition of Done:

[ ] Tests are added
[ ] Feature described the docs
[ ] Feature mentioned in the changelog

Thanks for submitting this feature request 🚀@Ghostvv will get back to you about it soon!✨
Caw! 🐧

Great idea 👍 We could add an argument like --random-seed to rasa split data nlu to set the seed. Needs to be added here: https://github.com/RasaHQ/rasa/blob/master/rasa/cli/data.py. And the seed should be forwarded to https://github.com/RasaHQ/rasa/blob/master/rasa/nlu/training_data/training_data.py#L400 in order to set it.
@neelkes Do you want to work on this feature yourself and submit a PR?

I found this enhancement pretty useful. Can I be assigned to this issue? (Supposing that @neelkes is not working with this feature anymore)

@joaorobson Sure, feel free to work on it. Thanks! Let me know if you need help/if you have questions.


Documentation for PAT is missing

Description
Personal access tokens are currently only documented in the API. There's a blog how-to (https://zitadel.com/blog/new-personal-access-token). There should be a guide explaining PAT and how to set it up via API or Console.
Acceptance criteria

[ ] PAT Guide done

@hifabienne @livio-a we should provide a guide with an working example on how to use PAT tokens with ZITADEL. See also https://github.com/zitadel/zitadel/discussions/4009#discussioncomment-3190650

Hello everyone! I want to understand how to work with PAT. But can't find any documentation or examples. May be some draft are avaliable or any example in client library?

Hello everyone! I want to understand how to work with PAT. But can't find any documentation or examples. May be some draft are avaliable or any example in client library?
Hi! I spent some times to dig into .NET client source codes. If I understand right PAT can be send as usual JWT token. If that to authenticate action on resource server I should go with PAT to Zitadel /oauth/v2/introspect endpoint to check token and get full information. Do my thoughts right way or any other options?

Hi - A pat in ZITADEL is basically a ready to use token which can be used as Authorization Header.
To check this token it normally should be, as you concluded correctly, sent to the introspect endpoint.

Thank you for reply! Have a nice day!


new blog post: running inlets PRO on fly.io

Signed-off-by: Johan Siebens<EMAIL_ADDRESS>

Merged into master with a few edits and fixed typos, also updated the date to today's date.
Thank you very much for the time and effort on this 💪


Samsung Galaxy J7 Prime not all messages are being backed up in specific messages.

Steps to reproduce the behaviour
                                     get a Samsung Galaxy J7 Prime and download the beta sms backup+ 1.5.11 and set the phone to back up all messages from standard message thing that came with the phone then youll notice that if the person had 30messages it would only back up like 18 of them also new incoming messages with the auto back up on set to 30min and 1min will only back up a message ever other 40 messages so im missing alot I set the battery to unmonitored apps so it wont go to sleep but its acking like it cant see thouse messages at all when i do a manual backup it says its done but its not done... Also my wife has the same for becuse i got a 2 for one and this is happening with her as well just instead of it being my text that arnt going though its her friend only like 20 out of the 300 went to the gmail.

Please specify the following:

Android version
Nougat 7.0
Phone model / brand
Samsung Galaxy J7 Prime (32gb)
SMS Backup+ version installed
beta sms backup+ 1.5.11
Messaging app
Messages version 4.0.23

My backups stopped when I updated the app.  I am using a Samsung Galaxy J3 Luna Pro.
The log details backups through June 9th, but the APP reports the last backup happened April 28.
I have requested another backup and it appears to be processing more than 3,000 items.

this is my wifes phone all sms are sent to the email but randal and hubby are not being updated at all even if i reset the messages that did go to email are stagarded real bad there is like 100+ messages sent to these two ppl but the app just wont send them If i do it manualy are even try to just do the new messages by auto backup??? please help