Unable to find this in the documentation

I'm working on an implementation and I would like to validate some assumptions, information I can't seem to find in the documentation but hope to have assumed correctly based on the source code of the package.
It's all about the scenario after the first payment of a Subscription is done.

Mollie Cashier does not create new OrderLines. Your application needs to do that itself with methods like newSubscription(). So Cashier::run() does nothing unless you have created new subscriptions.
Mollie Cashier creates Orders from OrderItems and creates payments @ Mollie with the known mandate id.
Mollie Cashier is 'blind' to previous start and end dates of the Subscription. With newSubscription it will simply create a new Subscription with cycle_started_at having a value of that current day. Therefore things like changing the cycle_started_at are best done by event handlers like OrderPaymentPaid.

Assuming you have

used $billable->newSubscription(...);
redirected the customer to Mollie's hosted checkout
and the customer has completed the payment in the Mollie hosted checkout:

Mollie Cashier does not create new OrderLines. Your application needs to do that itself with methods like newSubscription(). So Cashier::run() does nothing unless you have created new subscriptions.

Cashier Mollie handles creating the Order and OrderLines for the first payment/Order. Subsequent Orders are generated from Order Lines that are due, so in case of a subscription that's when the current billing cycle is completed. This processing is triggered by executing cashier:run periodically. If there are no order items due, nothing gets processed.

Mollie Cashier creates Orders from OrderItems and creates payments @ Mollie with the known mandate id.

Yes  - except for the first cycle, which is created from the first Mollie payment which also used to yield the mandate id.

Mollie Cashier is 'blind' to previous start and end dates of the Subscription. With newSubscription it will simply create a new Subscription with cycle_started_at having a value of that current day. Therefore things like changing the cycle_started_at are best done by event handlers like OrderPaymentPaid.

Using newSubscription() you're creating a new subscription, so there are no previous start dates. There is currently no way to override the default start date (now), but we're open to review any suggestions/PRs to add this - as long as the use case makes sense.

@sandervanhooft thanks for your extensive reply :)
Then it seems Cashier Mollie doesn't create new orders in my test scenario. This is what I'm doing:

New user, creates a new Subscription for one day.
The user goes through the Mollie payment and comes back on the site. subscribed() and subscribedToPlan() both confirm that my user is in the plan and subscribed.
Then I change the following fields to move the subscription period one day back, to test if Cashier will create a new Order. subscriptions.cycle_started_at , subscriptions.cycle_ends_at , orders.processed_at, order_items.process_at, payments.created_at & payments.updated_at.
Then I would expect Cashier to create a new Order. But nothing happens.

I guess that is the reason why I was getting the impression you are supposed to create the order yourself. But that assumption (first one) was wrong.
The question I'm left with is, how does Cashier determine when a new Order needs to be created? Based on what data, or what code?

There should be one or multiple OrderItem s with order_id null, and a process_at date in the past.
Some pointers to dig deeper:
https://github.com/mollie/laravel-cashier-mollie/blob/f22df342643e15fbd58544229430eaaa78bdf8d4/src/Cashier.php#L130-L139
https://github.com/mollie/laravel-cashier-mollie/blob/f22df342643e15fbd58544229430eaaa78bdf8d4/src/Order/OrderItem.php#L150-L160

Hi @jivanrij,
Ah, @sandervanhooft beat me a few minutes… anyways. Here is a longer explanation, hope it helps!
The whole determining of Cashier on which Subscriptions to process happens within the Cashier::run() method (s. https://github.com/mollie/laravel-cashier-mollie/blob/main/src/Cashier.php#L130). Here we check for all OrderItems that should be processed (scope scopeShouldProcess() s. https://github.com/mollie/laravel-cashier-mollie/blob/4ec435acd86a0f6708be18458c54170a7f58f183/src/Order/OrderItem.php#L157). The scope returns all OrderItems which are not processed (don’t have an Order associated s. https://github.com/mollie/laravel-cashier-mollie/blob/4ec435acd86a0f6708be18458c54170a7f58f183/src/Order/OrderItem.php#L120) and are due() - have the process_at field set to a value in the past s. https://github.com/mollie/laravel-cashier-mollie/blob/4ec435acd86a0f6708be18458c54170a7f58f183/src/Order/OrderItem.php#L147)

So, on the initial new Subscription Cashier creates 2 OrderLines.

One for the current payment that will be handled directly.
A second one for the next period, that will be handled at the end of this period.
When handling the 2nd OrderLine, a 3rd OrderLine will be created that will be picked up after the second period.
etc...

Seems as simple as that. I just didn't notice the date on the order_lines was a future date.
Thanks @Naoray and @sandervanhooft


Make test calls to the /register endpoint

POST to endpoint with valid username and password
POST to endpoint with invalid username and password

User needs to navigate to {base_url}/register/
User needs to POST their username and password

Tests I did:

If user submits valid username and password, user is created
If user submits invalid username and/or password, error message is displayed


Update API for Aks Edge Essentials

This PR updates the get calls for annotations to provide distribution names for aks-edge-k3s and aks-edge-k8s.

This checklist is used to make sure that common guidelines for a pull request are followed.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Draft

Please add test for this new feature.

Please add test for this new feature.

When you do kubectl get nodes on that infrastructure, you get an api response. In the infrastructure, the distro name is aks-edge-k3s. The test is dependent on the underlying infrastructure. We worked with the customer on validating this feature on that particular infrastructure. It passed the validation for the aks-edge-essentials scenario where this feature was tested on on-prem server with aks-edge-k3s/k8s configuration.


'Repair' option on the installer requires one of the problem check boxes to be checked.

It seems that the installer currently won't let me 'Repair' my BetterDiscord installations unless I tell it one of the listed problems exists (they don't; the actual problem was Discord crashing on the Activity page). This should be fixed, or an 'Other' option added at least.

An Other option is unrealistic because it can't repair things it doesn't know how to repair. For problems that aren't listed, there is a link right there. It is even visible in your screenshot. Although based on your description a Fatal JavaScript error on launch fits your description.

Thanks for the clarification. I wasn't aware it did something different depending on the problem as I understood that 'Repair' usually just means 'make sure all the files and such are there'.

Unfortunately due to how volatile modding another program is there is a lot that can go wrong so even checking that the files are there isn't really enough to ensure it's working.


Terminal sends the same lines twice

See https://github.com/Microsoft/vscode/issues/44018 for the discussion and the consequences.
To reproduce:

install tsc 2.7.2
create new folder
change to folder
tsc --init
open VS Code
create a HelloWorlds.ts
Run Task > pick the watch task
have auto save one
change the HelloWorld.ts a couple of times. At some point the Building... in the status line doesn't disappear anymore.

The underlying reason is that the terminal sends lines twice confusing the tracking of the task output.

As you can see in the above screen shot the FIle change detected line at 11:13:12 is send twice resulting in the task to assume that two builds have started but only one compilation complete is send hence the building is kept.

@Tyriar can you please have a look. This results in a regression with the tasks when using tsc 2.7.x which introduced clearing the terminal when a new compile run triggered through a file change starts.

I tried to debug this but when debugging it doesn't reproduce. I was only able to track this down by adding console.log statements here https://github.com/Microsoft/vscode/blob/master/src\vs\workbench\parts\tasks\electron-browser\terminalTaskSystem.ts#L263

@Tyriar can you please comment. IMO we need to address at least the original bug (even if we introduce some work arounds) for this milestone. It is a bad user experience.

I'm not really understanding why the problem matcher system doesn't handle this as the events are still being fired in order, just sometimes they can be duplicated?
When the problem case happens, tryBegin and tryFinish are being called correctly, just tryBegin is being triggered twice. I would expect the second tryBegin to either be ignored or reset the current run.

Looking into it deeper, I'm assuming this is to allow problems to be matched on things like gulp tasks which can have multiple differenthave several tasks.

@Tyriar I agree that we can prevent this in the problem matcher but shouldn't the terminal not send the lines twice. Or is the tsc compiler issuing them twice.
I though that this would be better fixed in the terminal since others listen onData might be affected by this as well.

Actually this is more complicated. It is not that the two identical lines come right after each other. There can be any blank lines in between as well and I am actually concerned that if the output contains errors they might interleave with the begin end as well. So deduping them might get more complicated on the matcher side.

I releases a work around in the problem collector however that meant to capture quite some state.

Closing. Dups #44018


Code missing import command

from django.template.loader import render_to_string
from django.core.mail import EmailMultiAlternatives

must be added to the signals snippet

Thanks! Fixed.


Added missing  in item-metadata-in-target-batching.md

Added missing  inside the Target, without it the document will not be xml well-formed and cause the project to unload.

@ghogen
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@ghogen Thanks, I appreciate your attention.


Write another user mode to fix Permissions Fail

At the level of doubt and also suggestion, I wonder if there is the possibility to spend some instruction for writing files via SCP be made by a particular user as the www-data, to fix the failure error permission.
The fact is that my access user server is called ubuntu, but permission policies and with the directory owner is www-data.
I think not to make any trick to be changing the directory permissions policies, but seek some solution to scribe the transfer with the same permissions.
It is possible to spend some instruction by remote-sync or have to change my policy permission on the server?

I'm unsure of what you are asking of the remote sync module.


Change dependency from Jasper to WaSP

Using WaSP should pass more tests from TCK than the Jasper due to a fix that wasn't included on it but is on WaSP

Using WaSP should pass more tests from TCK than the Jasper due to a fix that wasn't included on it but is on WaSP


latency(cdc): 2 phase scheduling processor bug fix

What problem does this PR solve?

Issue Number: ref #4757
What is changed and how it works?
Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`

Test TestTableExecutorAddingTableDirectly fails.

/run-unit-test


Any upstream size data?

Do you have transfer size for the upstream direction for all the requests?  I assume the transfer size charts are just the data going from the server to the browser?

Hi Dan. Yes the transfer size charts like this are referring to the average download size:

If you wanted to find out the size of the requests themselves, you could query the requests table like this:
SELECT AVG(reqHeadersSize) FROM [httparchive:runs.2017_05_15_requests] WHERE mimeType = 'application/javascript'

The result is 448.7 bytes.

Not sure if it is in the SQL tables but the HAR files have a bytesOut measurement (though it is usually a tiny rounding error in the grand scheme of things).

Have seen clients where upstream is an issue - mainly due to the size of
cookies attached to each request
On 9 June 2017 at 17:19, Patrick Meenan<EMAIL_ADDRESS>wrote:

Not sure if it is in the SQL tables but the HAR files have a bytesOut
measurement (though it is usually a tiny rounding error in the grand scheme
of things).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HTTPArchive/httparchive/issues/114#issuecomment-307434040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaELE-MQvDW4fEoHVMHOk58KMZOHwCYks5sCXCRgaJpZM4N1eCm
.

Yeah, here's a relevant thread from the forum: https://discuss.httparchive.org/t/size-of-document-cookies/49

Thanks I will do some queries and poke around in the data. Access networks can be pretty asymmetrical with different US and DS loss attributes and I am noodling on upstream packet sizes, counts and the impact on physical layer efficiencies for a variety of different traffic loads including web surfing.

Looks like this is resolved. Closing.


Check out pyoxygraph

See: https://github.com/oxigraph/oxigraph. There is a project that aims to provide basic ORM functionality for oxigraph in python: https://pyoxigraph.readthedocs.io/en/stable/ and I believe the maintainers will be at the workshop I'm attending. This might be an alternative to Apache Jena and having a (pydantic aware) python ORM might be a very nice thing to have for us as well.
also: https://github.com/p2p-ld/pydantigraph

Based on these benchmarks: https://github.com/ad-freiburg/qlever/wiki/QLever-performance-evaluation-and-comparison-to-other-SPARQL-engines#evaluation-and-comparison-on-the-dblp-dataset-390-m-triples I think we can save ourselves the trouble


docs(dev): add DEV_DOCS.md

Please read and mark the following check list before creating a pull request:

[x] I read and followed the CONTRIBUTING.md guide.

Short description of what this resolves:

Adds Developer documentation
Closes #170
Closes #173

😄


does not work when gpg-agent is enabled

New to gopass, just test driving it.

macOS 10.12.3
gopass 1.0.0 installed from binary tarball
gpg 1.4.20 installed from brew
gpg-agent 2.0.30 installed from brew
git 2.9.2

I've configured gpg-agent to start automatically in ~/.bash_profile:
[ -f ~/.gpg-agent-info ] && source ~/.gpg-agent-info
if [ -S "${GPG_AGENT_INFO%%:*}" ]; then
  export GPG_AGENT_INFO
else
  eval $( gpg-agent --daemon --write-env-file ~/.gpg-agent-info )
fi

$ cat ~/.gnupg/gpg-agent.conf
use-standard-socket
default-cache-ttl 28800
max-cache-ttl 86400

Tested the agent, and it works. If I do gpg -d path/to/some/encrypted/file repeatedly, I only need to enter the GPG pass once.
I've installed gopass and done gopass init:
$ gopass init
Please select a private Key for encryption:
[0] 0xXXXXXXXXXXXXXXXX - Florin Andrei <florin@XXXXXXXXXXXXXXXX>
Please enter the number of a key (0-0) [0]:
Password store initialized for: 0xXXXXXXXXXXXXXXXX - Florin Andrei <florin@XXXXXXXXXXXXXXX>

Please select a key for signing Git Commits
[0] 0xXXXXXXXXXXXXXXXX - Florin Andrei <florin@XXXXXXXXXXXXX>
Please enter the number of a key (0-0) [0]:
Initialized empty Git repository in /Users/XXXXXXXXXXXXX/.password-store/.git/
[master (root-commit) e0dcdef] Add current contents of password store.
 2 files changed, 53 insertions(+)
 create mode 100644 .gpg-id
 create mode 100644 .gpg-keys/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[master d984775] Configure git repository for gpg file diff.
 1 file changed, 1 insertion(+)
 create mode 100644 .gitattributes
Git initialized

Then I've tried to insert some fake password, for testing:
$ gopass insert web/google.com
Enter password for web/google.com:
Failed to restore terminal: errno 0
Retype password for web/google.com:
Failed to restore terminal: errno 0
gopass: Encrypting web/google.com for these recipients:
 - 0xXXXXXXXXXXXXXXXX - Florin Andrei <florin@XXXXXXXXXXXXXXXXXX>

Do you want to continue? [Y/n]:
gpg: XXXXXXXX: There is no assurance this key belongs to the named user

pub  4096R/XXXXXXXX 2016-07-25 Florin Andrei <florin@XXXXXXXXXXXXXX>
 Primary key fingerprint: XXXX XXXX XXXX XXXX XXXX  XXXX XXXX XXXX XXXX XXXX
      Subkey fingerprint: XXXX XXXX XXXX XXXX XXXX  XXXX XXXX XXXX XXXX XXXX

It is NOT certain that the key belongs to the person named
in the user ID.  If you *really* know what you are doing,
you may answer the next question with yes.

Use this key anyway? (y/N) y

You need a passphrase to unlock the secret key for
user: "Florin Andrei <florin@XXXXXXXXXXXXXXXXX>"
4096-bit RSA key, ID XXXXXXXX, created 2016-07-25

gpg: problem with the agent - disabling agent use
error: gpg failed to sign the data
fatal: failed to write commit object

Error: failed to committ files to git: exit status 128

If I kill gpg-agent, and unset the GPG_AGENT_INFO variable (so basically disabling the GPG agent completely), then gopass works just fine, but of course it keeps nagging me about the GPG passphrase every time.

Thanks for testing gopass. GPG and the subtle differences between the different platform/packages are the hardest part of this project. We didn't experience this issue during release testing but we'll look into it.

Not sure if it helps or is even related, but my shell is /usr/local/bin/bash version 4.3.46 installed from brew.

@FlorinAndrei First I'd recommend upgrading to the latest GnuPG 2.1 from brew, it is backwards compatible and brings a lot of nice features. Second do you have your key marked as trusted on your machine? gpg --edit-key YOURKEYID then (where gpg> is the prompt) gpg> trust then gpg> save . This should prevent the warnings you were getting, if you are still having trouble let us know.

In the meantime, brew has completely changed how they are dealing with these packages (they had a complete mess before with separate gpg, gpg2 and gpg21 packages) and are now finally based on the GPG 2.1 and forward branch.
TBH it wasn't completely their fault, as GPG introduced some mutually incompatible and hard breaking changes between those three versions.
Nevertheless, this should be resolved by now if you

go with GPG 2.1+
don't have any dependencies on GPG <2.1

Also see: https://github.com/Homebrew/homebrew-core/issues/12025

Closing this as we think it's resolved. Please report back if you think it isn't.


⚠ Itaca Gallery has degraded performance

In 4ec80e1, Itaca Gallery ($SITE_TCGLR) experienced degraded performance:

HTTP code: 200
Response time: 8068 ms

Resolved: Itaca Gallery performance has improved in 9c129ab after 6 minutes.


Live Server not working

Issue Type: Bug
Hello,
I am using Visual Studio and I have the Live Server extension. It was working fine (cmnd + L + O or right click > Open with Live Server). However, it is not working as it used to--displaying the content on the browser. I've uninstalled and re-installed the extension, restarted VS Code and the Macbook. Would you be able to help me identify what's wrong and how to fix it?
Thank you.
Extension version: 5.6.1
VS Code version: Code 1.59.0 (Universal) (379476f0e13988d90fab105c5c19e7abc8b1dea8, 2021-08-04T23:14:40.191Z)
OS version: Darwin x64 20.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz (4 x 2700)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 7

Memory (System)
8.00GB (0.48GB free)

Process Argv
--crash-reporter-id b38d612c-bac3-4b94-87e3-40ee85f24696

Screen Reader
no

VM
0%

I believe this issue has been resolved--Live Server extension is working fine now. Thank you.


test: Cypress | Flaky fix Git/GitSync/GitSyncedApps_spec.js & unskip

Description

This PR fixes the flaky app/client/cypress/e2e/Regression/ClientSide/Git/GitSync/GitSyncedApps_spec.js in CI runs & unskip

Type of change

Script fix (non-breaking change which fixes an issue)

Testing
How Has This Been Tested?

[X] Cypress CI runs

Checklist:
QA activity:

[X] Added Test Plan Approved label after Cypress tests were reviewed

/ci-test-limit

/ci-test-limit runId=6982640965

/ci-test-limit runId=6982640965

/ci-test-limit runId=6982640965


Added choices for other regions.

Issue #, if available: #11 11
https://github.com/awslabs/amazon-timestream-tools/issues/11
Description of changes:
Added choices for other GA regions.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This will have to be updated again once other regions go GA, but it seemed like the alternative of checking using the region class was cumbersome for a helper script. Open to changing if that makes sense though.


acquireTokenPopup redirects to about:blank#blocked in Chrome

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.32.1
Wrapper Library
Not Applicable
Wrapper Library Version
None
Public or Confidential Client?
Public
Description
I have a Sveltekit app running on an Azure Static Web App.  I am trying to implement login with msal-browser.  I have taken a lot from the msal-browser Typescript example and everything works well in my development environment. When I push to the cloud the acquireTokenPopup opens up a blank popup and redirects to about:blank#blocked in chrome.  When I refresh and try again it only redirects to about:blank#blocked, it does not open a popup.  I am able to login with firefox, however.
The redirect happens so quickly I cannot see the error message and I was not able to find an error in the Chrome log file.  I am allowing all popups and cookies from third parties.
Error Message
Redirects before I can gather error
Msal Logs
No response
MSAL Configuration
auth: {
        clientId: "clientid",
        authority:"https://login.microsoftonline.com/consumers/"
    },
    cache: {
        cacheLocation: "sessionStorage", // This configures where your cache will be stored
        storeAuthStateInCookie: false, // Set this to "true" if you are having issues on IE11 or Edge
    },
    system: {
      loggerOptions: {
            loggerCallback: (level, message, containsPii) => {
                if (containsPii) {
                    return;
                }
                switch (level) {
                    case LogLevel.Error:
                        console.error(message);
                        return;
                    case LogLevel.Info:
                        console.info(message);
                        return;
                    case LogLevel.Verbose:
                        console.debug(message);
                        return;
                    case LogLevel.Warning:
                        console.warn(message);
                        return;
                }
            }
        }
    }
};

Relevant Code Snippets
import { PublicClientApplication, LogLevel} from "@azure/msal-browser";
import type {SilentRequest, AuthenticationResult, Configuration, AccountInfo, PopupRequest, EndSessionRequest} from "@azure/msal-browser";

/**
 * Configuration class for @azure/msal-browser:
 * https://azuread.github.io/microsoft-authentication-library-for-js/ref/msal-browser/modules/_src_config_configuration_.html
 */
const MSAL_CONFIG: Configuration = {
    auth: {
        clientId: "03ad6ad7-32dc-470d-81ba-e1e78eb89a32",
        authority:"https://login.microsoftonline.com/consumers/"
    },
    cache: {
        cacheLocation: "sessionStorage", // This configures where your cache will be stored
        storeAuthStateInCookie: false, // Set this to "true" if you are having issues on IE11 or Edge
    },
    system: {
      loggerOptions: {
            loggerCallback: (level, message, containsPii) => {
                if (containsPii) {
                    return;
                }
                switch (level) {
                    case LogLevel.Error:
                        console.error(message);
                        return;
                    case LogLevel.Info:
                        console.info(message);
                        return;
                    case LogLevel.Verbose:
                        console.debug(message);
                        return;
                    case LogLevel.Warning:
                        console.warn(message);
                        return;
                }
            }
        }
    }
};

/**
 * AuthModule for application - handles authentication in app.
 */
export class AuthModule {

    private client: PublicClientApplication; // https://azuread.github.io/microsoft-authentication-library-for-js/ref/msal-browser/classes/_src_app_publicclientapplication_.publicclientapplication.html
    private account: AccountInfo | null; // https://azuread.github.io/microsoft-authentication-library-for-js/ref/msal-common/modules/_src_account_accountinfo_.html
    private loginSilent: SilentRequest;
    private loginPopup: PopupRequest; // https://azuread.github.io/microsoft-authentication-library-for-js/ref/msal-browser/modules/_src_request_popuprequest_.html
    private silentCustom: SilentRequest;
    private popupCustom: PopupRequest;

    constructor() {
        this.client = new PublicClientApplication(MSAL_CONFIG);
        this.account = null;
        this.loginPopup = {
            scopes: ["openid", "profile", "User.Read"]
        };
        this.loginSilent = {
            ...this.loginPopup
        }

    }

    private async getTokenSilent(silentRequest:SilentRequest):Promise<string|null>{
        let accounts = this.client.getAllAccounts()
        if(accounts.length){
            silentRequest.account = accounts[0]
            const response: AuthenticationResult = await this.client.acquireTokenSilent(silentRequest);
            return response.accessToken;
        }
        throw new Error('No accounts')

    }
    private async getTokenPopup(popupRequest:PopupRequest):Promise<string|null>{
        return this.client.acquireTokenPopup(popupRequest).then((resp) => {
            return resp.accessToken;
        }).catch((err) => {
            console.error(err);
            return null;
        });
    }

    private async getToken(silentRequest:SilentRequest, popupRequest:PopupRequest): Promise<string|null>{

        try{
            return await this.getTokenSilent(silentRequest)
        } catch(e){
            console.log("silent token acquisition fails. " + e);
        }try{
            return await this.getTokenPopup(popupRequest)
        }catch(e){
            console.log("popup token acquisition fails. " + e);
        }
        return null
    }

    async getLoginToken(): Promise<string|null>{
        return this.getToken(this.loginSilent, this.loginPopup)
    }

}

### Reproduction Steps

1. Go to the following [link](https://yellow-glacier-0da21f510.2.azurestaticapps.net/)
2. Select the login button on the upper right hand side

### Expected Behavior

I expect to be able to login with a popup and receive a token.

### Identity Provider

Azure AD / MSA

### Browsers Affected (Select all that apply)

Chrome
Microsoft Edge

### Regression

_No response_

### Source

External (Customer)

@jetilton this seems like a Chrome popup configuration issue, please take a closer look at your browser settings.

@hectormmg I am not sure what more I can look at on the Chrome side.  I have gone to settings and set my default behavior to "Sites can send pop-ups and use redirects".  I have also manually added my site to the "Allowed to send pop-ups and use redirects," exceptions list.  I have tried this from multiple computers.  Interestingly, Firefox is set to block pop-ups, but the login process runs smoothly.  Is there something in the Chrome settings you can suggest apart from the popup blocker?

@jetilton I still believe something in your config is most likely the issue, but you can try to set the asyncPopups flag to true in the system configuration options and see if this helps as a workaround. It will prevent "about:blank" from being loaded in the popup in the first place.

@jetilton Please raise a new issue or link to this if the workaround @hectormmg suggested did not help unblock you. Closing this.


Source map support

Source code mapping provides file/line/column position mapping from YAMLScript input to Clojure (or other) output.
It is necessary to accomplish:

Quality error messages
REPL support
Debugger support
Advanced dev tooling

This is likely closely tied to LSP #133.


Upgrade Ruby to 2.7.5

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Upgrades Ruby to 2.7.5. See commits for more details.
This PR should be tested before merge, as per https://docs.publishing.service.gov.uk/manual/ruby.html#update-ruby-version-in-the-relevant-repos.

CI Passes
Deployed okay to integration, compared against production pages:

https://www.gov.uk/flood-and-coastal-erosion-risk-management-research-reports
https://www.gov.uk/search/services

No deprecation messages in logs
No problems with Grafana or Sentry (all sentry error messages are old ones about the ES problem).


Adds ability to return multi-qubit expectation values to all devices

In PennyLane core, we have added the ability to use qml.expval.Hermitian(A, wires) on an arbitrary number of wires. That is, you can now pass a matrix A of size [2**N, 2**N] which acts on N qubits (i.e., len(wires)==N).
This PR adds support to the PennyLane-Forest plugin for this feature. This includes the following changes:

forest.numpy_wavefunction: replaces the expand_one method with the expand method, allowing an N qubit observable to be expanded to act on the entire system. Corresponding tests also added.

forest.wavefunction: replaces the expand_one method with the expand method, allowing an N qubit observable to be expanded to act on the entire system. Corresponding tests also added.

forest.qvm: modifies the expval method so that, if a multi-qubit observable is requested, the device calculates the wavefunction probablities, and uses this (alongside the eigenvalues of A) to reconstruct the required expectation value. Corresponding test test_multi_mode_hermitian_expectation also added.

forest.qpu: inherits the above functionality from forest.qvm.

Note: This feature requires the latest development version of PennyLane.

Thanks @msohaibalam for your review, I've just pushed a commit with all suggested changes.
The tests are likely going to fail for two reasons:

There have been breaking changes in pyQuil 2.8, I'll make a new PR now to address this

This PR requires PennyLane GitHub master installed for these two tests to pass --- semaphore is simply installing the pip version. We are working on updating the version on pip this week.

Note: this is likely a stop-gap solution, once #9 is implemented, it will likely be faster and more efficient than the matrix expansion done here.


Multiplication support

It would be nice to be able to multiply a series of numbers

Great idea, but would you mind implementing this yourself and submitting a PR?

Implemented in #2


fix SOUS-887

the objects passing in http are too large... which we should talk about seperately, it's 2 mb we are going over wire, this will eventually be too much for http protocol

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #607 into master will decrease coverage by 0.02%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master     #607      +/-   ##
==========================================
- Coverage   70.75%   70.73%   -0.03%
==========================================
  Files         230      230
  Lines       12910    12914       +4
==========================================
  Hits         9135     9135
- Misses       3140     3144       +4
  Partials      635      635

Impacted Files
Coverage Δ

util/logging/kafkasink.go
7.27% <0%> (-0.58%)
:arrow_down:

util/restful/statusmiddleware.go
51.51% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Update CSS customizations

Reevaluate CSS work to make sure it fits into the new DMPRoadmap CSS changes

testing during thorough UAT. closing this issue.


Security Breaching Hammer

About the PR
Adds the standard armory melee weapon that needs to be mapped into all stations armories, its intended use besides smashing skulls really hard is to security to use when they need to force their way into a department by either breaking the walls/windows into it or to force open powered doors like the jaws of life but a lot slower. (you can also break airlock with it)
only map 1 per station, this is the equivalent to the fireaxe.

Changelog
:cl: Leander

add: New standard armory hammer weapon for security to force its way into departments.

The last thing it needs is a sprite when worn in the backpack slot, since this is way to big to fit in any backpack.


Updated the subserver provider to make it work

Working with the subserver provider, i've noticed that there were a bugs.
Here it is, tested & working on my side.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

Updated Code with new providers


Remove outdated content from the README's Optional modules section

The README's "Optional modules" section mentions that the only such module is the lambdas module.
This is now outdated, since the spec includes a few other optional modules (e.g. inheritance).
This PR updates the README accordingly.

Thanks for the fast merge :v:


AGENT-508: add dockerfile for generating release image

This is a preliminary step to start moving the dockerfile within the repo (currently defined in the CI config)

/assign @bfournie

/lgtm

/approve


Trakt username not displayed after sign in

Sign in process does not go smoothly. But can access some trakt features.

Just a problem on the slow emulator.


Autopts linux documentation updates

Updates the documentation for running autopts on Linux by updating the VirtualBox sections, fixing some structure formatting and adding another troubleshooting entry
fixes https://github.com/zephyrproject-rtos/zephyr/issues/80300

Also just FYI, passed the screenshots into tinypng so while the resolution is 4 times higher on the newly added screenshots, the image sizes are roughly the same.

@sjanc please review

@sjanc , can you help review.


Could not get container name when remove an image which is in use

[root@fedora buildah]# ./buildah from busybox
busybox-working-container
[root@fedora buildah]# ./buildah rmi busybox
ERRO[0000] Could not remove image "busybox" (must force) - container '\x00' is using its reference image

[root@fedora buildah]# ./buildah from fedora
fedora-working-container
[root@fedora buildah]# ./buildah rmi fedora
ERRO[0000] Could not remove image "fedora" (must force) - container '\x00' is using its reference image

@14rcole PTAL

The issue is gone in the latest code.


⚠ Mobitopup has degraded performance

In 67f010c, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 3101 ms

Resolved: Mobitopup performance has improved in 0a351b5.


added a custom cluster function

Can now run stuff like
from sklearn.cluster import KMeans
kmeans = KMeans(n_clusters=2, random_state=0)
self.Dataset().cluster(custom_clusterer = kmeans)
self.vector_tools.cluster.custom_kmeans_cluster

Closing due to alternative implementation discussed here: https://github.com/RelevanceAI/RelevanceAI/pull/294


bug: confusing err when parsing ancient timestamptz

create table test (
  tz timestamptz
);

insert into test values ('0001-01-01 00:00:00Z');

will cause  Parse error: Can't cast string to timestamp (expected format is YYYY-MM-DD HH:MM:SS[.D+{up to 6 digits}] or YYYY-MM-DD HH:MM or YYYY-MM-DD or ISO 8601 format).
'1969-01-01 00:00:00Z' is ok.
Originally posted by @xuefengze in https://github.com/risingwavelabs/risingwave/pull/13496#discussion_r1402886878

Not useful in practice, but common when people tries to test edge cases.


The command: "arm-poky-linux-musleabi-gdb HelloWorld_HighLevelApp.out" is incorrect.

The command: "arm-poky-linux-musleabi-gdb HelloWorld_HighLevelApp.out" is incorrect.
You do not need to specify the app name ("HelloWorld_HighLevelApp.out" in this case).  Simply running arm-poky-linux-musleabi-gdb is sufficient.

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

ID: b0db551c-2484-3af9-ac08-d9978e82b445
Version Independent ID: dea4dddf-46d1-cb41-2dcf-b77dece8c581
Content: Build, deploy, and debug a high-level application from the Windows command line
Content Source: AzureSphere/articles/app-development/manual-build.md
Product: azure-sphere
GitHub Login: @Phka
Microsoft Alias: azurespheredocs

@Gilgamesh82 Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@Gilgamesh82 Are you able to set breakpoints if you start the debugger without the target?

@Gilgamesh82 Have you had a chance to see the above response?

IIRC yes.

To enable full source code debugging, you need to pass the .out app binary from your build as a parameter to gdb.


Only deleted event is fired on OS X 10.9.3

Use gaze for my own project — markup builder on gulp. OS — OS X 10.9.3.
gaze — 0.6.4
nodeJS — from 0.10.26 to 0.10.29 (i've tried all versions)
I've tried all versions of gaze initing, but only deleted events work.
Initial code
gulp.task('dev', function() {
  gaze('./markup/modules/**/*.js', function(err, watcher) {
        this.on('all', function(event, filepath) {
            console.log(filepath + ' was ' + event);
            gulp.start('modules-js');
        });
    });
});

I changed header.js when and there is log from gaze:
/Users/a.malko/Sites/markupBuilder/markup/modules/header/header.js was deleted
Other events have not been fired after that.
May be i've done something wrong?

+1


Granular authentication Control

It is now possible to deactivate selected authentication methods
(x509, basic auth, token auth) inside the cluster by adding
removing the required arguments to the Kube API Server.
This enables developers select / enable only the required authentication methods.

Did small changes to the authentication options and secret generation.
The x509 authentification is currently not optional because disabling it
would affect the kubectl clients deployed on the master nodes.

CI test this

ci check this


Fix engine dependency issue

Proposed changes
Fix nodes engine dependency issue. intl is used in aliyun ecs driver UI.
Also removed the duplicated entries in pipeline dependency

Types of changes
Bugfix

Linked Issues
https://github.com/rancher/rancher/issues/16121

Further comments

There is another issue https://github.com/rancher/rancher/issues/16122
@westlywright


feat. i18n supports! Add preliminary support for other languages.

Refactor & Localization in progess. Need more help from other language speakers. If possible, please create a branch named 'i18n' on your project.

nice

I need access

I need access

My repo is open to everyone. What access do you need to be exact?

Maybe a yaml file would be cleaner?


[Coverage] Fix coverage merge invoke task

What does this PR do?
This PR fixes a leftover typo in the coverage merge invoke task.

Motivation
Working code.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Magic function reset should not be called after setstate

The first construction of __iter__ after __setstate__ should not call reset.
Might be some edge cases when we restore to the state of 'no active iterator'.

That's a good call. I think we should do that across all DataPipes that have a custom reset() method.

Originally posted by @NivekT in https://github.com/pytorch/pytorch/pull/77741#discussion_r876157282

I am adding a PR now

Fixed by https://github.com/pytorch/pytorch/pull/77774


Fix pulse parameter formatter bug with symengine

Summary
Old formatter logic assumes always evaluated complex value is input, however, with symengine a parameter expression remains unevaluated though values are assigned. This usually crashes string-based complex value evaluation.
Details and comments
Use direct typecast instead of string-based evaluation. Truncation with the default of 10 decimal point is added to eliminate truncation error during typecast.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 82.483%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
49638

Relevant Lines:
60180

💛  - Coveralls


No such module 'ComposableArchitecture'

Hello, thank you for your amazing library, recently I met this problem.
I am using Xcode 13.1, here's the way to reproduce the problem:
First, create a "multiplatform app"
Second, change target to macos
Third, add composable library in SPM
Fourth,in the code import this library and then compile the project, then it will result in an error complaining about "No such module"
but the ios target building is ok. Why was that?

If you add the lib via Xcode interface, Xcode asks you which target you want to add the lib to (but only one). Juste go to your target settings and add a dependency to the lib.

Hi @danleechina! I'm going to convert this to a discussion, since it doesn't appear to be a bug with the library. For a visual, @AlexisQapa means you must add the library to the Mac target here:


Using pre-built library?

It appears glfw-sys will always compile glfw for whatever the target system is.
However we control the build system precisely and have the ability to provide it with pre-built glfw. It seems a shame/pointless to compile anyway: instead of giving it pre-built library, we instead give it all the tools to build one...
A lot of other *-sys crates allow specifying existing libraries with things like pkg-config which can also ensure all the libraries are properly presented when linking binaries later on.
Is there a reason why glfw needs to be pre-built? I'm a little confused if this is actually a requirement: the README mentions that Windows users can download pre-built glfw binaries. If so, that should imply that it's possible to use pre-compiled libraries, somehow.

After some experimentation, I've come to realise that it makes no sense for this ticket to exist on glfw-sys: all glfw-sys does is build library and spit out some flags.
Instead, we should add a feature flag to glfw-rs that uses pkg-config to find the library instead of getting it via glfw-sys. I'll make a ticket there and link here.

I was asked to reopen this at https://github.com/PistonDevelopers/glfw-rs/issues/506 .

Is this being worked on still?

I haven't done anything but it's still desirable. I think the way to do it is you just add pkg_config to build deps and something like pkg_config::probe_library("glfw3") at start of build.rs main and in case it fails, fall back to building (current code). I guess I can try it later today if I don't forget.

So, I tried a simple patch like the one at the bottom. It works in-as-so-far as getting glfw-sys to find the library and include it later. However there's an issue: once we come to try and use this in glfw-rs via glfw-sys feature flag, we get:
rust_glfw> Building src/lib.rs (glfw)
rust_glfw> Running rustc --crate-name glfw src/lib.rs --out-dir target/lib -L dependency=target/deps --cap-lints allow -L native=/nix/store/5msqd90ci50307ffs5i1avb6k78z6a41-glfw-3.3.8/lib -C opt-level=3 -C codegen-units=1 --remap-path-prefix=/build=/ --extern bitflags=/nix/store/a6bgm020s04nynwnzsbqn10ghwm5gpsf-rust_bitflags-1.3.2-lib/lib/libbitflags-25edeaf30b.rlib --extern glfw_sys=/nix/store/k4sljpxxy6c074kh5l9ajpzlw44ngzz9-rust_glfw-sys-5.0.0+3.3.9-lib/lib/libglfw_sys-29d93d1f86.rlib --extern raw_window_handle_0_5=/nix/store/9fz8iq16hmrv39qg5rjjwh874ld8xbcm-rust_raw-window-handle-0.5.2-lib/lib/libraw_window_handle-2212bb0514.rlib --cfg feature="glfw-sys" --edition 2021 -C metadata=44075dcdb8 -C extra-filename=-44075dcdb8 --crate-type lib -L native=/nix/store/5msqd90ci50307ffs5i1avb6k78z6a41-glfw-3.3.8/lib --color always
rust_glfw> error: could not find native static library `glfw3`, perhaps an -L flag is missing?
rust_glfw> error: aborting due to 1 previous error
error: builder for '/nix/store/5ijyddy0abr8cz7yswk2kj8xhvwqs8yx-rust_glfw-0.55.0.drv' failed with exit code 1;
       last 10 log lines:
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Running cd .
       > Running phase: buildPhase
       > Building src/lib.rs (glfw)
       > Running rustc --crate-name glfw src/lib.rs --out-dir target/lib -L dependency=target/deps --cap-lints allow -L native=/nix/store/5msqd90ci50307ffs5i1avb6k78z6a41-glfw-3.3.8/lib -C opt-level=3 -C codegen-units=1 --remap-path-prefix=/build=/ --extern bitflags=/nix/store/a6bgm020s04nynwnzsbqn10ghwm5gpsf-rust_bitflags-1.3.2-lib/lib/libbitflags-25edeaf30b.rlib --extern glfw_sys=/nix/store/k4sljpxxy6c074kh5l9ajpzlw44ngzz9-rust_glfw-sys-5.0.0+3.3.9-lib/lib/libglfw_sys-29d93d1f86.rlib --extern raw_window_handle_0_5=/nix/store/9fz8iq16hmrv39qg5rjjwh874ld8xbcm-rust_raw-window-handle-0.5.2-lib/lib/libraw_window_handle-2212bb0514.rlib --cfg feature="glfw-sys" --edition 2021 -C metadata=44075dcdb8 -C extra-filename=-44075dcdb8 --crate-type lib -L native=/nix/store/5msqd90ci50307ffs5i1avb6k78z6a41-glfw-3.3.8/lib --color always
       > error: could not find native static library `glfw3`, perhaps an -L flag is missing?
       >
       > error: aborting due to 1 previous error
       >
       For full logs, run 'nix log /nix/store/5ijyddy0abr8cz7yswk2kj8xhvwqs8yx-rust_glfw-0.55.0.drv'.
error: 1 dependencies of derivation '/nix/store/8i5x0s9pmfp1q5pip7ak0p1njc94zpi2-rust_isim-0.1.0.drv' failed to build

We can see the -L native=/nix/store/5msqd90ci50307ffs5i1avb6k78z6a41-glfw-3.3.8/lib which is my system install that glfw-sys helpfully found. However the error message is talking about a static library! Presumably this is because of this code in glfw-rs: https://github.com/PistonDevelopers/glfw-rs/blob/b8845df2142c868557b1dc6687c0b71540203627/src/ffi/link.rs#L17 . It always assumes that glfw-sys produces a static library, which is not true anymore.
My original patch (which we are using since I made the ticket) didn't have this issue because it bypassed glfw-sys all together.
I'm not sure what the right way forward is. Should we just take off kind = "static" in link.rs? I'm not sure what the consequences are for the people using glfw-sys currently.
diff --git a/Cargo.toml b/Cargo.toml
index 720802e0..b2287c9f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,6 +17,7 @@ path = "lib.rs"

 [build-dependencies]
 cmake = "0.1"
+pkg-config = "0.3"

 [features]
 wayland = []
diff --git a/build.rs b/build.rs
index d0a2bde9..53aaeded 100644
--- a/build.rs
+++ b/build.rs
@@ -1,7 +1,15 @@
 extern crate cmake;
+extern crate pkg_config;
+
 use cmake::Config;

 fn main() {
+    if pkg_config::probe_library("glfw3").is_ok() {
+        // We got the library via pkg_config, we don't need to try and build it
+        // below.
+        return;
+    }
+
     let mut cfg = Config::new("glfw");

     cfg.define("GLFW_BUILD_EXAMPLES", "OFF")

PS: In the end we also want X11 to be found by pkgconfig so we end up patching glfw-rs either way... I guess there should be x11-sys dependency that already handles this.

Wow, thanks for working on this! It's a shame it can't be done right now tho


[tests] add a xunit.runner.json to get [Long Running Test] message

This will cause a message like:
[xUnit.net 00:03:54.91] Aspire.EndToEnd.Tests: [Long Running Test] 'Aspire.EndToEnd.Tests.IntegrationServicesTests.VerifyComponentWorks(resourceName: sqlserver)', Elapsed: ...
.. to be printed whenever a test runs over 2 minutes. This will help in debugging tests that might take too long to run, and crash or timeout on CI with no other information.
Microsoft Reviewers: Open in CodeFlow

Awesome, thanks @radical!

Anything else interesting in the xunit configs of our other repos that we should copy?

Anything else interesting in the xunit configs of our other repos that we should copy?

diagnosticMessages can be useful, and we can have that turned on for CI. I'm using it in my helix PR where it is pretty useful as we have a test fixture doing a bunch of work that can fail.


Bug: Navigation Helper - isAllowed function - ACLlistener is Attached Several Times

Here is a fun bug for you all.
Everytime you instantiate a new Navigation Helper the the same  Listener is attached to the shared Manager once again.
file: https://github.com/zendframework/zend-view/blob/master/src/Helper/Navigation/AbstractHelper.php

protected function setDefaultListeners()
    {
        if (! $this->getUseAcl()) {
            return;
        }
        $events = $this->getEventManager() ?: $this->createEventManager();
        if (! $events->getSharedManager()) {
            return;
        }
        $events->getSharedManager()->attach(
            'Zend\View\Helper\Navigation\AbstractHelper',
            'isAllowed',
            ['Zend\View\Helper\Navigation\Listener\AclListener', 'accept']
        );
    }

so if you do
echo $this->navigation('Name')->menu();
echo $this->navigation('Name')->breadcrumbs();

Then the same AclListener function will be attached 3 times

one on ->navigation
another on ->menu
and the last on -> breadcrumbs

It means that everytime the "isAllowed" function is called (it is called a LOT)  then the AclListener function is called X times (3 times in my example).........
To fix this issue I believe that Zend View should not be in charge of registering any event
So my fix would be to get rid of this function altogether.
The Acl Listener should be moved the the zend-acl repository
And it should be the user responsibility to register any event on the isAllowed function.

My ugly fix while I wait on a more official solutions is to make sure getUseAcl return false
so that no event is attached
if (! $this->getUseAcl()) {
            return;
        }

To do so  I had to create a new Delegator
class NavigationHelperIsAllowedBugFixDelegator implements DelegatorFactoryInterface
{

    public function __invoke(ContainerInterface $container, $name, callable $callback, array $options = null)
    {
        $helper = $callback();
        /* @var $helper \Zend\View\Helper\Navigation */
        $pluginManager = $helper->getPluginManager();
        $pluginManager->addInitializer(function($container, $helper){
            $helper->setUseAcl(false);
            return $helper;
        });

        return $helper;
    }

}

And I assign this delegator to the Navigation View Helper
'view_helpers' => [
        'delegators' => [
            \Zend\View\Helper\Navigation::class => NavigationHelperIsAllowedBugFixDelegator::class
        ]
    ],

Basically what it does is when the navigation helper is instantiated,  I fetch the Navigation Plugin Manager and I add an initializers that will disable the useAcl variable and thus avoid registering any event on the shared Manager automatically
$helper->setUseAcl(false);

Fancy isn't it ?
I had to use a delegator from the navigation helper because instantiation of the Navigation Plugin Manager is Hard Coded !

Here is my workaround that I absolutely hate
In one of my module I am adding a delegator  at the "navigation" view helper level
'view_helpers' => [
   'delegators' => [
           // Navigation isAllowed Bug Fix
            \Zend\View\Helper\Navigation::class => [
                Navigation\ServiceManager\NavigationHelperIsAllowedBugFixDelegator::class
            ]
    ]
]

Here is the delegator:
use Zend\ServiceManager\Factory\DelegatorFactoryInterface;
use Interop\Container\ContainerInterface;

class NavigationHelperIsAllowedBugFixDelegator implements DelegatorFactoryInterface
{

    public function __invoke(ContainerInterface $container, $name, callable $callback, array $options = null)
    {
        $eventManager = $container->get('EventManager');
        $this->eventManager = $eventManager;

        /* @var $helper \Zend\View\Helper\Navigation */
        $helper = $callback();
        $this->attachEventListenerWithoutAcl($helper);

        /* @var $pluginManager \Zend\View\Helper\Navigation\PluginManager */
        $pluginManager = $helper->getPluginManager();

        // We Cannot use Initializer because our problem appears on the setEventManager initializer
        // that is registered by the Navigation Plugin Manager construct function
        // and there is not way to add an initializer at the top of the queue
        // So the workaround is to add a delegator - for all the default navigation Helpers.
        $plugins = [
            \Zend\View\Helper\Navigation\Menu::class,
            \Zend\View\Helper\Navigation\Breadcrumbs::class,
            \Zend\View\Helper\Navigation\Sitemap::class,
            \Zend\View\Helper\Navigation\Links::class,
        ] ;

        foreach($plugins as $pluginName){
            $pluginManager->addDelegator($pluginName, function(ContainerInterface $container, $name, $callback) use($eventManager){
                $helper = $callback();
                $this->attachEventListenerWithoutAcl($helper);
                return $helper;
            });
        }

        return $helper;
    }

    public function attachEventListenerWithoutAcl($helper){
        $oldValue = $helper->getUseAcl();

        $helper->setUseAcl(false);
        $helper->setEventManager($this->eventManager);
        $helper->setUseAcl($oldValue);
        return $helper;
    }

}

Because it is a delegator this code is executed before any initializers.
So what it does is
Get the navigation helper
tell him not to use Acl (setUseAcl(false) );
inject the eventManager (and because setAcl is false it means that no listeners will be added to the Shared Event Manager)
and tell him to reuse Acl - so that the event is actually triggered in the "accept" function
Now the ugly part is I add another delegator on all the Navigation Plugin Manager level for each Navigation Helpers

menu
breadcrumbs
sitemaps
link

This delegator does the same thing than above
It has to be delegators and cannot be initializers because the issue comes from the Initializer added by the Navigation View Helper Plugin Manager (in the __construct function)
So I hate this workaround - but I don't think we can do it another way.

Also it would be nice if the the isAllowed function had some kind of caching mechanism at the navigation container level - so it does not have to trigger events over and over if a page has already been accepted before

Another improvement:
Stop the propagation of events listening to the isAllowed event when one returns false.
If one listener returns false it means that the page is not allowed and thus we can safely stop the propagation...
Zend\View\Helper\Navigation\AbstractHelper
    /**
     * Determines whether a page should be allowed given certain parameters
     *
     * @param   array   $params
     * @return  bool
     */
    protected function isAllowed($params)
    {
        $events = $this->getEventManager() ?: $this->createEventManager();
        $results = $events->triggerUntil(function($result){
            return $result === false;
        }, __FUNCTION__, $this, $params);

        return $results->last();
    }

@aft-christophe

To fix this issue I believe that Zend View should not be in charge of registering any event

This will be addressed for version 3 of zend-navigation. And also other performance improvements.

The Acl Listener should be moved the the zend-acl repository

Why does zend-permissions-acl need to know something from zend-navigation? (Do not forget zend-permissions-rbac.)

Thank you

This will be addressed for version 3 of zend-navigation. And also other performance improvements.

That s great.

Why does zend-permissions-acl need to know something from zend-navigation? (Do not forget zend-permissions-rbac.)

Ok so because it is related to navigation you want that in the navigation repo - that s fine by me.
We could ask the question the other way around though - why would zend-navigation need to
know something from zend-permissions-acl
Thanks

@aft-christophe

…you want that in the navigation repo…

I never said that! 😃
Btw. I think, before version 3 we can add some small improvements like stopping the propagation.

This repository has been closed and moved to laminas/laminas-view; a new issue has been opened at https://github.com/laminas/laminas-view/issues/12.


Add Watts.app v1.3.3

Thank you for the contribution. It needed some fixes, so they were made in 3705b85b5faf4b3d6710917b3baed7ad959981b1. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


SOS: New Page for Presentations

We should ahve a page with all the presentation titles, speakers, link to the videos, link to the presentation and so on for the SOS 2022 conference.  This page should be released on 16th of September.

@heldyboy Were can I find the schedule, speakers' names, presentations, and video links?

Hi Prabath, you can find it here...
https://secureourstreets.com
On Sat, Sep 10, 2022 at 10:13 AM prabath-asrg @.***>
wrote:

@heldyboy https://github.com/heldyboy Were can I find the schedule,
speakers' names, presentations, and video links?
—
Reply to this email directly, view it on GitHub
https://github.com/ASRG/asrg.io/issues/487#issuecomment-1242664823, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGGR4ZRZYIS5YH5XGVSXQIDV5Q7I5ANCNFSM6AAAAAAQHZ5EEU
.
You are receiving this because you were mentioned.Message ID: <ASRG/asrg.
@.***>

@prabath-asrg Can you please add the link?

Hey @heldyboy I can but still, we do not have uploaded the youtube links and presentation files. Is this okay?

https://sos.asrg.io/schedule-and-presentations/


Travis.org is not working: Added github actions and django30,31 and 32 in tox.

Adding python3.7,3.8,3.9 version for testing.
Shiting towards github actions. travis.org is no more running tests.
Adding django30,31 and 32 in tox.

@mjumbewu Please review.

Seems straightforward, but admittedly I haven't looked into github actions yet. I see the tests specified in the workflows/ folder, but is there something I should do to enable actions on the repo and get these running??


times grid bug (XLA)

Hi,
I noticed a problem with the time grid in euler_sample when XLA compilation (with dynamic shape for times) is used.

https://colab.research.google.com/drive/1kg8RChmJ3TxdONBHE1lIdCAmZKIXwGcY#scrollTo=pohADCcoTZMh
Thank you

Hi,
Thanks for reporting. This is related to the way XLA deals with dynamic shapes. I'll update once fixed. You can use num_time_steps instead of time_step in process.sample_paths for now.
Cyril


Want to achieve automatic cross domain

Is your feature request related to a problem? Please describe.
When using the company's es, you cannot modify the ES configuration. At this time, it's good to have automatic cross domain
Describe the solution you'd like
A clear and concise description of what you want to happen.
refer to：https://github.com/qax-os/ElasticHD
There is no need to modify the configuration

The issue isn't clear.


a possible way of handling disconnected peers

This is one way of handling disconnected peers that seems to work in our case. For issue #81
Calling:
pub fn disconnected_peers(&mut self) -> Vec<PeerId>
cleans up peers and returns disconnected peers. Needs to be called any time the API user wants to clean up peers.
Not sure how to handle when GGRS takes over the socket. Could potentially handle this in log_ggrs_events if the socket is accessible.
Anyway, just a possible solution.

Thanks. I think this fits well with how he currently handle new peers at least.
PeerLeft event from server makes sense.
Ggrs taking ownership: in my game i currently deal with this by using an Arc<RwLock<WebRtcSocket>> newtype, though i was hoping to find a less convoluted solution for the example.

Implementation looks good. I suggest two things:
1 - Make a ChannelManager. It's an eyesore to have 6 channels being passed individually as parameters.
2 - We should open another issue to propagate errors the same way... unless there's a better way?

1 - Make a ChannelManager. It's an eyesore to have 6 channels being passed individually as parameters.

I think a simple struct with named fields passed by value to message_loop would be fine to keep this PR focused.

#94 should supersede this issue and provide the necessary tidiness to be production ready.


Update dcos-e2e

@mesosphere-ci run linux integration tests

Please let's be better about PR descriptions and commit messages and always provide info on the reasoning behind changes


AppConfig.cs missing

After cloning, the Nancy.Self-Hosting-Project does not compile because of the missing AppConfig.cs.

This issue should be fixed now. Thanks for reporting it.


Use correct scope variable when iterating over the challenges

on the gameboard

Coverage remained the same at 97.482% when pulling 1f64b8fed796013c0788be10a262112b45c73def on fixGameboard into ff3356097e45f5a12e1331d24f5f8e0bd1e4aa58 on master.


Devcon.exe failed

I downloaded ScpVBus-x64 and saved it into the same folder as pyxinput. I opened cmd as admin and navigated to install.bat and then ran install.bat.
I get the following messages:
Device node created. Install is complete when drivers are installed...
Updating drivers for Root\ScpVBus from {Location}\PYXInput\ScpVBus-x64\ScpVBus.inf.
Devcon.exe failed

I have the same issue :(

Here is what I had to do to get it running on Windows 10, 64bit:
https://ph.answers.acer.com/app/answers/detail/a_id/38288/~/windows-10%3A-disable-signed-driver-enforcement

Hey @Daeron2k,
Or, instead of disabling your SIP, you can use the following drivers signed by nefarius himself:
Try this link , which I got from the page for vXbox on sourceforge.

Hey @Daeron2k,
Or, instead of disabling your SIP, you can use the following drivers signed by nefarius himself:
Try this link , which I got from the page for vXbox on sourceforge.

That did the trick for me. Win10 up to date as of this post.

Hey @Daeron2k, Or, instead of disabling your SIP, you can use the following drivers signed by nefarius himself: Try this link , which I got from the page for vXbox on sourceforge.

which file do I run? do I need to use cmd or a certain command?

Hey @Daeron2k, Or, instead of disabling your SIP, you can use the following drivers signed by nefarius himself: Try this link , which I got from the page for vXbox on sourceforge.

which file do I run? do I need to use cmd or a certain command?

never mind, for others, just extract the the folder, right click "ScpVBus" and click install

Hey @Daeron2k,
Or, instead of disabling your SIP, you can use the following drivers signed by nefarius himself:
Try this link , which I got from the page for vXbox on sourceforge.

That did the trick for me. Win10 up to date as of this post.

I right click the ScpVBus and click install
It pops up with "The operation was completed successfully"
I run "import pyxinput"
I still get "Unable to find VBus controller"
What am i doing wrong?


Print log to stdout in test

Use simple trick to allow print log to stdout in test

Interesting.
Some existing tests explicitly set a logger that delegates to println!, but not all (I guess you were seeing this in iface tests right?).
Changing the macros to println! is definitely cleaner, it'll apply to all tests without them having to explicitly init log which is very nice.


Examples in readme.md

Examples in readme.md won't work since methods are not longer static.

please watch this https://www.youtube.com/watch?v=q5Xb5r4MUB8

Yeah, I know how to implement it with latest laravel, but other programmers may be confused by following steps in readme.md :) However, great module :)

For laravel 4 use this branch instead https://github.com/xroot/laravel-paypalpayment/tree/l4 . thanks


Renamed function b to sortArray and added comments

I think the function accepts and array as input and returns a sorted one. I have updated the name of the function and added a comment to reflect this.

Looks good, :shipit:


KeyError: 'up_cross'

Hi, when I do this with pretrained model :
python main.py --harmonize_iterations 10 --save_dir "./output" --is_single_image --image_path "./demo/girl_comp.jpg" --mask_path "./demo/girl_mask.jpg" --foreground_prompt "girl autumn" --background_prompt "girl winter" --pretrained_diffusion_path "stabilityai/stable-diffusion-2-base"
it says no keys 'up_cross' in attention_maps (utils.py, line 115) during first iteration. It seems attention_map is empty. Can you please help me figure out? Many thanks~

Hi @wzking09 ,
Could you please check your version of the diffusers package? There are some significant changes in newer diffusers which may lead to incompatibility with our code. The code should run smoothly under diffusers==0.9.0 (as shown in requirements.txt).
Hope this can help.

It works! thanks a lot :)


Add ocio-v2 working group meeting notes

Signed-off-by: Doug Walker<EMAIL_ADDRESS>

This is awesome @doug-walker ! Thanks for your work on this.


Working on AppVeyor - DO NOT REVIEW/MERGE

-Setting cleanLogs to false to see if it resolves file locking in windows

No longer using appveyor


docs(): Update README.md - fix typo build-config.json

** PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

@gianpaj thanks so much, that one was missed from my eyes ;)


Tests slower by factor of two on GHC 8.6 wrt GHC 8.4

In what follows, I disable the "fix syntax error test" because it
usually times out on my machine.
The total time taken to execute all tests is slightly misleading,
because more tests (30 vs 28) are executed on 8.6 than on 8.4, but the list of
individual timings makes the issue quite clear.
Here are the GHC 8.4 timings:
$ cabal v2-install exe:ghcide --overwrite-policy=always -w ghc-8.4.4
Wrote tarball sdist to
/home/jacek/src/ghcide/dist-newstyle/sdist/ghcide-0.0.2.tar.gz
Resolving dependencies...
Up to date
Symlinking 'ghcide'

$ cabal v2-run tests -w ghc-8.4.4 -- -p '! /fix syntax error/'
Resolving dependencies...
Up to date
HIE
  open close:                                OK (0.51s)
  diagnostics
    introduce syntax error:                  OK (0.62s)
    variable not in scope:                   OK (0.67s)
    type error:                              OK (0.67s)
    typed hole:                              OK (0.82s)
    remove required module:                  OK (0.67s)
    add missing module:                      OK (0.79s)
    cyclic module dependency:                OK (0.63s)
    cyclic module dependency with hs-boot:   OK (0.52s)
    correct reference used with hs-boot:     OK (0.52s)
    redundant import:                        OK (0.66s)
    package imports:                         OK (0.67s)
    unqualified warnings:                    OK (0.72s)
  code actions
    rename actions
      change to local variable name:         OK (0.67s)
      change to name of imported function:   OK (0.68s)
      suggest multiple local variable names: OK (0.67s)
      change infix function:                 OK (0.70s)
    type wildcard actions
      global signature:                      OK (0.67s)
      multi-line message:                    OK (0.67s)
      local signature:                       OK (0.66s)
    remove import actions
      redundant:                             OK (0.67s)
      qualified redundant:                   OK (0.67s)
    import rename actions
      Data.Mape -> Data.Map:                 OK (0.65s)
      Data.Mape -> Data.Maybe:               OK (0.65s)
    fill typed holes
      replace hole `_` with show:            OK (0.85s)
      replace hole `_` with globalConvert:   OK (0.86s)
      replace hole `_b` with globalInt:      OK (0.95s)
      replace hole `_c` with globalInt:      OK (0.93s)

All 28 tests passed (19.41s)

... and here are the timings for GHC 8.6
$ cabal v2-install exe:ghcide --overwrite-policy=always -w ghc-8.6.4
Wrote tarball sdist to
/home/jacek/src/ghcide/dist-newstyle/sdist/ghcide-0.0.2.tar.gz
Resolving dependencies...
Up to date
Symlinking 'ghcide'

$ cabal v2-run tests -w ghc-8.6.4 -- -p '! /fix syntax error/'
Resolving dependencies...
Up to date
HIE
  open close:                                      OK (0.52s)
  diagnostics
    introduce syntax error:                        OK (1.29s)
    variable not in scope:                         OK (1.37s)
    type error:                                    OK (1.33s)
    typed hole:                                    OK (1.55s)
    remove required module:                        OK (1.40s)
    add missing module:                            OK (1.48s)
    cyclic module dependency:                      OK (1.30s)
    cyclic module dependency with hs-boot:         OK (0.53s)
    correct reference used with hs-boot:           OK (0.53s)
    redundant import:                              OK (1.37s)
    package imports:                               OK (1.38s)
    unqualified warnings:                          OK (1.39s)
  code actions
    rename actions
      change to local variable name:               OK (1.33s)
      change to name of imported function:         OK (1.36s)
      suggest multiple local variable names:       OK (1.37s)
      change infix function:                       OK (1.36s)
    type wildcard actions
      global signature:                            OK (1.34s)
      multi-line message:                          OK (1.33s)
      local signature:                             OK (1.37s)
    remove import actions
      redundant:                                   OK (1.35s)
      qualified redundant:                         OK (1.34s)
    import rename actions
      Data.Mape -> Data.Map:                       OK (1.35s)
      Data.Mape -> Data.Maybe:                     OK (1.39s)
    fill typed holes
      replace hole `_` with show:                  OK (1.54s)
      replace hole `_` with globalConvert:         OK (1.55s)
      replace hole `_b` with globalInt:            OK (1.72s)
      replace hole `_c` with globalInt:            OK (1.72s)
      replace hole `_convertme` with localConvert: OK (1.59s)
      replace hole `_c` with parameterInt:         OK (1.67s)

All 30 tests passed (40.13s)

So, typical times for individual tests of 0.6s vs 1.3s, or a total
runtime of 20s vs 40s.
Given that https://github.com/digital-asset/ghcide/commit/61760936f9a96e42bbd73b2d0b5def0ce663a89f introduced a 0.5s timeout overhead into each test (as reflected in the timing of the essentially no-op test "open close"), we could actually be looking at a much more significant slow-down factor in code execution.
Perhaps there is something important or interesting behind this.

Interesting, not sure what could be the issue here.

Bizarrely, performing the equivalent experiment with stack rather than cabal shows no significant difference in timings between the two compiler versions.

Maybe you accidentally disabled optimizations in one case?

I think this can be closed now


QuizEnhancement

[x] A score card feature can be implemented so that current score is visible on every question rather than only in the last.

[ ] There should be an option to editing the application name.

[x] Currently next button is skipping the question irrespective the fact if user has selected any option or not. It is assumed as answered only on clicking submit button.

[ ] There is no provision to visit the previous question. (With new next-question feature and score card, I don't think we need a provision to visit previous question. Still if there is a need for that, I'll be happy to make this change)

Screenshots:
https://www.dropbox.com/s/5mno0ibv1zuk166/Screenshot_2016-03-02-13-36-26.png?dl=0
https://www.dropbox.com/s/rncqcq2alajjih2/Screenshot_2016-03-02-13-36-39.png?dl=0
https://www.dropbox.com/s/6c0jun1c86nsifa/Screenshot_2016-03-02-13-36-54.png?dl=0

Thank you, are you still on this?


[R] Can't install adbcflightsql from CRAN

What happened?
I attempted to install adbcflightsql and got the following error:
> install.packages("adbcflightsql")
Installing package into ‘/home/linuxbrew/.linuxbrew/lib/R/4.3/site-library’
(as ‘lib’ is unspecified)
Warning message:
package ‘adbcflightsql’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

How can we reproduce the bug?
Try to install adbcflightsql
Environment/Setup
I've tested on an Ubuntu22 and a Fedora39 machine. I get the same error on both. I haven't tested on a Windows or MAC.

I think the adbcflightsql package is not released on CRAN.
You may install from GitHub.

Thanks @eitsupi. I think you are correct that the package is not published to CRAN. However the docs here suggest that it is.
It would be great if this package was published to CRAN. Its not always possible to install from GitHub behind corporate proxies.

Ran into the same issue, docs say that you can install from CRAN but that seems incorrect. If the driver manager is available (https://cran.r-project.org/web/packages/adbcdrivermanager/) it seems that the individual drivers should as well.
I tried building with pak but I get the following error:

→ Will install 1 package.
→ Will download 1 package with unknown size.
+ adbcflightsql   <IP_ADDRESS>00 👷🏻♂🔧 ⬇ (GitHub: 4a0ebcd)
ℹ Getting 1 pkg with unknown size
✔ Got adbcflightsql <IP_ADDRESS>00 (source) (5.58 MB)
ℹ Packaging adbcflightsql <IP_ADDRESS>00
✔ Packaged adbcflightsql <IP_ADDRESS>00 (1.6s)
ℹ Building adbcflightsql <IP_ADDRESS>00
✖ Failed to build adbcflightsql <IP_ADDRESS>00 (1.5s)
Error:
! error in pak subprocess
Caused by error in `stop_task_build(state, worker)`:
! Failed to build source package adbcflightsql.
---
Standard output:
[1] TRUE
Vendoring files from arrow-adbc/go/adbc to src/go/adbc:
- ../../go/adbc/adbc.go  ->  src/go/adbc/adbc.go
- ../../go/adbc/driver/bigquery/bigquery_database.go  ->  src/go/adbc/driver/bigquery/bigquery_database.go
- ../../go/adbc/driver/bigquery/connection.go  ->  src/go/adbc/driver/bigquery/connection.go
- ../../go/adbc/driver/bigquery/driver_test.go  ->  src/go/adbc/driver/bigquery/driver_test.go
- ../../go/adbc/driver/bigquery/driver.go  ->  src/go/adbc/driver/bigquery/driver.go
- ../../go/adbc/driver/bigquery/record_reader.go  ->  src/go/adbc/driver/bigquery/record_reader.go
- ../../go/adbc/driver/bigquery/statement.go  ->  src/go/adbc/driver/bigquery/statement.go
- ../../go/adbc/driver/flightsql/cmd/testserver/main.go  ->  src/go/adbc/driver/flightsql/cmd/testserver/main.go
- ../../go/adbc/driver/flightsql/flightsql_adbc_server_test.go  ->  src/go/adbc/driver/flightsql/flightsql_adbc_server_test.go
- ../../go/adbc/driver/flightsql/flightsql_adbc_test.go  ->  src/go/adbc/driver/flightsql/flightsql_adbc_test.go
- ../../go/adbc/driver/flightsql/flightsql_connection.go  ->  src/go/adbc/driver/flightsql/flightsql_connection.go
- ../../go/adbc/driver/flightsql/flightsql_database.go  ->  src/go/adbc/driver/flightsql/flightsql_database.go
- ../../go/adbc/driver/flightsql/flightsql_driver.go  ->  src/go/adbc/driver/flightsql/flightsql_driver.go
- ../../go/adbc/driver/flightsql/flightsql_statement.go  ->  src/go/adbc/driver/flightsql/flightsql_statement.go
- ../../go/adbc/driver/flightsql/logging.go  ->  src/go/adbc/driver/flightsql/logging.go
- ../../go/adbc/driver/flightsql/record_reader_test.go  ->  src/go/adbc/driver/flightsql/record_reader_test.go
- ../../go/adbc/driver/flightsql/record_reader.go  ->  src/go/adbc/driver/flightsql/record_reader.go
- ../../go/adbc/driver/flightsql/timeouts.go  ->  src/go/adbc/driver/flightsql/timeouts.go
- ../../go/adbc/driver/flightsql/utils.go  ->  src/go/adbc/driver/flightsql/utils.go
- ../../go/adbc/driver/internal/driverbase/connection.go  ->  src/go/adbc/driver/internal/driverbase/connection.go
- ../../go/adbc/driver/internal/driverbase/database.go  ->  src/go/adbc/driver/internal/driverbase/database.go
- ../../go/adbc/driver/internal/driverbase/driver_info_test.go  ->  src/go/adbc/driver/internal/driverbase/driver_info_test.go
- ../../go/adbc/driver/internal/driverbase/driver_info.go  ->  src/go/adbc/driver/internal/driverbase/driver_info.go
- ../../go/adbc/driver/internal/driverbase/driver_test.go  ->  src/go/adbc/driver/internal/driverbase/driver_test.go
- ../../go/adbc/driver/internal/driverbase/driver.go  ->  src/go/adbc/driver/internal/driverbase/driver.go
- ../../go/adbc/driver/internal/driverbase/error.go  ->  src/go/adbc/driver/internal/driverbase/error.go
- ../../go/adbc/driver/internal/driverbase/logging.go  ->  src/go/adbc/driver/internal/driverbase/logging.go
- ../../go/adbc/driver/internal/shared_utils.go  ->  src/go/adbc/driver/internal/shared_utils.go
- ../../go/adbc/driver/panicdummy/panicdummy_adbc.go  ->  src/go/adbc/driver/panicdummy/panicdummy_adbc.go
- ../../go/adbc/driver/snowflake/binding.go  ->  src/go/adbc/driver/snowflake/binding.go
- ../../go/adbc/driver/snowflake/bulk_ingestion_test.go  ->  src/go/adbc/driver/snowflake/bulk_ingestion_test.go
- ../../go/adbc/driver/snowflake/bulk_ingestion.go  ->  src/go/adbc/driver/snowflake/bulk_ingestion.go
- ../../go/adbc/driver/snowflake/concat_reader.go  ->  src/go/adbc/driver/snowflake/concat_reader.go
- ../../go/adbc/driver/snowflake/connection.go  ->  src/go/adbc/driver/snowflake/connection.go
- ../../go/adbc/driver/snowflake/driver_test.go  ->  src/go/adbc/driver/snowflake/driver_test.go
- ../../go/adbc/driver/snowflake/driver.go  ->  src/go/adbc/driver/snowflake/driver.go
- ../../go/adbc/driver/snowflake/record_reader.go  ->  src/go/adbc/driver/snowflake/record_reader.go
- ../../go/adbc/driver/snowflake/snowflake_database.go  ->  src/go/adbc/driver/snowflake/snowflake_database.go
- ../../go/adbc/driver/snowflake/statement.go  ->  src/go/adbc/driver/snowflake/statement.go
- ../../go/adbc/drivermgr/arrow-adbc/adbc_driver_manager.h  ->  src/go/adbc/drivermgr/arrow-adbc/adbc_driver_manager.h
- ../../go/adbc/drivermgr/arrow-adbc/adbc.h  ->  src/go/adbc/drivermgr/arrow-adbc/adbc.h
- ../../go/adbc/drivermgr/doc.go  ->  src/go/adbc/drivermgr/doc.go
- ../../go/adbc/drivermgr/wrapper_sqlite_test.go  ->  src/go/adbc/drivermgr/wrapper_sqlite_test.go
- ../../go/adbc/drivermgr/wrapper.go  ->  src/go/adbc/drivermgr/wrapper.go
- ../../go/adbc/ext.go  ->  src/go/adbc/ext.go
- ../../go/adbc/go.mod  ->  src/go/adbc/go.mod
- ../../go/adbc/go.sum  ->  src/go/adbc/go.sum
- ../../go/adbc/infocode_string.go  ->  src/go/adbc/infocode_string.go
- ../../go/adbc/LICENSE.txt  ->  src/go/adbc/LICENSE.txt
- ../../go/adbc/pkg/bigquery/driver.go  ->  src/go/adbc/pkg/bigquery/driver.go
- ../../go/adbc/pkg/bigquery/utils.c  ->  src/go/adbc/pkg/bigquery/utils.c
- ../../go/adbc/pkg/bigquery/utils.h  ->  src/go/adbc/pkg/bigquery/utils.h
- ../../go/adbc/pkg/doc.go  ->  src/go/adbc/pkg/doc.go
- ../../go/adbc/pkg/flightsql/driver.go  ->  src/go/adbc/pkg/flightsql/driver.go
- ../../go/adbc/pkg/flightsql/utils.c  ->  src/go/adbc/pkg/flightsql/utils.c
- ../../go/adbc/pkg/flightsql/utils.h  ->  src/go/adbc/pkg/flightsql/utils.h
- ../../go/adbc/pkg/gen/main.go  ->  src/go/adbc/pkg/gen/main.go
- ../../go/adbc/pkg/panicdummy/driver.go  ->  src/go/adbc/pkg/panicdummy/driver.go
- ../../go/adbc/pkg/panicdummy/utils.c  ->  src/go/adbc/pkg/panicdummy/utils.c
- ../../go/adbc/pkg/panicdummy/utils.h  ->  src/go/adbc/pkg/panicdummy/utils.h
- ../../go/adbc/pkg/snowflake/driver.go  ->  src/go/adbc/pkg/snowflake/driver.go
- ../../go/adbc/pkg/snowflake/utils.c  ->  src/go/adbc/pkg/snowflake/utils.c
- ../../go/adbc/pkg/snowflake/utils.h  ->  src/go/adbc/pkg/snowflake/utils.h
- ../../go/adbc/sqldriver/doc.go  ->  src/go/adbc/sqldriver/doc.go
- ../../go/adbc/sqldriver/driver_internals_test.go  ->  src/go/adbc/sqldriver/driver_internals_test.go
- ../../go/adbc/sqldriver/driver_test.go  ->  src/go/adbc/sqldriver/driver_test.go
- ../../go/adbc/sqldriver/driver.go  ->  src/go/adbc/sqldriver/driver.go
- ../../go/adbc/sqldriver/flightsql/flightsql_test.go  ->  src/go/adbc/sqldriver/flightsql/flightsql_test.go
- ../../go/adbc/sqldriver/flightsql/flightsql.go  ->  src/go/adbc/sqldriver/flightsql/flightsql.go
- ../../go/adbc/standard_schemas.go  ->  src/go/adbc/standard_schemas.go
- ../../go/adbc/status_string.go  ->  src/go/adbc/status_string.go
- ../../go/adbc/tools.go  ->  src/go/adbc/tools.go
- ../../go/adbc/utils/utils.go  ->  src/go/adbc/utils/utils.go
- ../../go/adbc/validation/validation.go  ->  src/go/adbc/validation/validation.go
All files successfully copied to src/go/adbc
---
Standard error:
Running bootstrap.R...
---
Backtrace:
1. pak::pak("apache/arrow-adbc/r/adbcflightsql")
2. pak::pkg_install(pkg, ...)
3. pak:::remote(function(...) get("pkg_install_do_plan", asNamespace("pak"))(...), …
4. err$throw(res$error)
---
Subprocess backtrace:
 1. base::withCallingHandlers(cli_message = function(msg) { …
 2. get("pkg_install_do_plan", asNamespace("pak"))(...)
 3. proposal$install()
 4. pkgdepends::install_package_plan(plan, lib = private$library, num_workers = nw, …
 5. base::withCallingHandlers({ …
 6. pkgdepends:::handle_events(state, events)
 7. pkgdepends:::handle_event(state, i)
 8. pkgdepends:::stop_task(state, worker)
 9. pkgdepends:::stop_task_build(state, worker)
10. base::throw(pkg_error("Failed to build source package {.pkg {pkg}}.", …
11. | base::signalCondition(cond)
12. global (function (e) …
Execution halted

The issue with flightsql, snowflake, and (soon) BigQuery is that CRAN does not provide a Go compiler on Windows, so the utility of submitting it is limited. We don't have a way to build binaries ourselves at the moment, unfortunately.

ahh bummer :( might be worth updating the docs to remove:

You can install the released version of adbcflightsql from CRAN with:
install.packages("adbcflightsql")

I already have Go installed so that's not my issue... any idea on how to debug? I'm not very familiar with R

How about installing from R-multiverse?
I have registered adbcflightsql and seems working fine (binary packages are available).
https://community.r-multiverse.org/adbcflightsql
cc @shikokuchuo

It seems like the actual error is obscured here, but the most common error is that a Go compiler is not installed ( go.dev/dl or use a package manager like brew install go or apt-get install golang (double check those names!)

I think pak is known to be unclear about error messages (r-lib/pak#266)
In my opinion, it is much safer for beginners to use install.packages and remotes package's functions.
For packages that cannot exist on CRAN, I think it is recommended to install them from R-multiverse with install.packages. Such as:
https://github.com/pola-rs/r-polars?tab=readme-ov-file#install

So i figured out my issue. I was using an older version of Go. Once I updated to latest, it compiled fine. That being said, I agree installing from R-multiverse is a much better experience!! thanks so much for setting that up

Thanks to @shikokuchuo, adbcsnowflake (and nanoarrow) can now also be installed from R-multiverse.

Do you think it would be possible to update the README and rewrite the installation instructions from R-multiverse?


Figure out a more reliable and efficient way to wait for pod sandbox to become running

Capture https://github.com/kubernetes-incubator/rktlet/pull/16#r78791638
Today we wait the uuid file to be written by polling the file, which is not ideally efficient. There already have been works around using sd_notify to notify the host system about the state of the pod. https://github.com/coreos/rkt/pull/2826
We should consider leverage that.

@yifan-gu I've been debugging/stracing today how systemd-run --service-type=notify rkt  app sandbox behaves, and sd_notify simply just works already out of the box as explained in https://github.com/coreos/rkt/issues/3260#issuecomment-251959741.
So in order to have this working in rktlet we can rely on systemd's running status already now, instead of probing the uuid file. app sandbox will be marked correctly in systemd as "running", once it reaches default.target.

To be more clear, app sandbox wrapped in a systemd service unit simply can be marked as Type=notify.

@s-urbaniak That only works if the stage1 supports sd-notify (e.g. stage1-fly doesn't). I don't think there's a reliable way to identify this special case, is there?
I know there's an annotation for support, but I think that was for an app to notify its stage1, not for a stage1 to notify us.
If we care about fly, it seems like we'll have to have a fallback to uuid file.

@euank correct, this does not apply to stage1-fly. app sandbox doesn't support the stage1-fly either, because it doesn't run systemd, so my investigation was out of scope for this flavor.

True. I think we might have to consider going back on the alpha feature for swapping stage1s for now, which makes type=notify a great solution.

@euank No objection other than we still want to be careful about leave some room for stage1 fly in the future. e.g. We can make a function or something module that does this waiting, so later we just need to update this module to support fly.

I talked more with @lucab today, and it sounds like sdnotify should be the way to go!
It's just a matter of implementing it.

I'll take it

As discussed with @squeed and @lucab the cleaner way would definitely be systemd and waiting on the readiness of the app sandbox transient service unit. Nevertheless this won't (and probably never will) work with kvm.
Therefore the current consensus is to add a --wait-ready=<timeout> option in rkt, invoked in rktlet after the uuid file has been generated.


anonym voting with keypads (closes #12)

Added an anonymous voting mode for the VoteCollector.
@jwinzer You are the VC expert, can you please test this? Should work ;)

Motion ballots are generated ok. Delegate table does not work yet. Mixed case (anonymous and assigned keypads) needs to be thought thru.

@jwinzer Can you make an issue for your points and maybe look at the delegate table?

Yes, I will.


[Implement-7147][UI] Optimize the display of the pop-up window for creating worker groups

Purpose of the pull request

this pr close #7147
Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #7148 (826fa1b) into dev (9fffbdb) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #7148      +/-   ##
============================================
- Coverage     40.52%   40.49%   -0.04%
+ Complexity     3587     3584       -3
============================================
  Files           647      647
  Lines         26375    26375
  Branches       2936     2936
============================================
- Hits          10689    10681       -8
- Misses        14689    14699      +10
+ Partials        997      995       -2

Impacted Files
Coverage Δ

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
:arrow_down:

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

LGTM


the python version

I rewrite it from C++ file. It might not be perfect but it works at least for HIC059_30.hic and rabbit_rep1_30.hic

Thanks for all your work!
This isn't compatible with Python 2.7, could you try and fix the problems
so it runs successfully in both 2.7 and 3?
E.g. the line
return str(buf,encoding="utf-8", errors="strict")
becomes
return str(buf).encode("utf-8")
On Wed, Oct 26, 2016 at 6:02 AM, Yue Wu<EMAIL_ADDRESS>wrote:

I rewrite it from C++ file. It might not be perfect but it works at least
for HIC059_30.hic and rabbit_rep1_30.hic
You can view, comment on, or merge this pull request online at:
https://github.com/theaidenlab/straw/pull/4
Commit Summary

Merge remote-tracking branch 'theaidenlab/master'
Merge remote-tracking branch 'theaidenlab/master'
python version

File Changes

A python/straw_python.py
https://github.com/theaidenlab/straw/pull/4/files#diff-0 (414)

Patch Links:

https://github.com/theaidenlab/straw/pull/4.patch
https://github.com/theaidenlab/straw/pull/4.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/theaidenlab/straw/pull/4, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWiW3Fs8mx4qrTrGBxiAEvzD-uRcYhAks5q3tDdgaJpZM4KgvK5
.

--
Neva Cherniavsky Durand, Ph.D.
Staff Scientist, Aiden Lab
www.aidenlab.org


[Config] Added .envrc

Please refer to this link (https://direnv.net/) to learn about direnv.
I did not include aws sso login --profile ... as it may be excessive and burdensome.

@JayChoi1736 Please check the effect on https://github.com/Krustuniverse-Klaytn-Group/platform-qa-tool
Since the dependent repository uses venv, we may need to change something on the repo as well.


update documentation on air's capabilities

Since air version 1.52.0 it also supports a proxy to support live reloading. This commit updates Templ's documentation to mention this so users can make a more informed description.

Any reason why this is a draft PR? I think it's OK to add, or maybe not even worth mentioning when the feature was added to air, since the latest versions have it.


show Frame in CameraGeometry repr

very small change to the CameraGeometry __repr__() to also print the current Frame name, and clean up some other attributes.  The frame is useful to know, since it can be transformed.
>>> t = TelescopeDescription.from_name("LST","LSTCam")
>>> t.camera.geometry

CameraGeometry(camera_name='LSTCam', pix_type=PixelShape.HEXAGON, npix=1855, \
        cam_rot=0.000 deg, pix_rot=100.893 deg, frame=CameraFrame)

An alternate would be to print the full repl of the Frame, which is more wordy, but makes it clear if a focal_length is set or not. Note that if the user does CameraGeometry.from_name("LST") the frame doesn't have a focal length, as it is unknown.
CameraGeometry(camera_name='LSTCam', pix_type=PixelShape.HEXAGON, npix=1855, cam_rot=0.000 deg, pix_rot=100.893 deg, frame=<CameraFrame Frame (focal_length=28.0 m, rotation=0.0 rad, telescope_pointing=None, obstime=None, location=None)>)


refactor: remove meta_client crate

Which issue does this PR close?
Part of #92
Rationale for this change
The old meta client is deprecated already, and should be replaced by the meta_client_v2.

What changes are included in this PR?

Remove the old meta client.
Extend the capability of meta_client_v2 to support to provide routing information.

Are there any user-facing changes?
The configuration about meta_client section will be removed.

How does this change test
Unit test and integration test.

How about also removing the _v2 in meta_client_v2


AUTHME HELP ME FAST

Hi,
I need help please help me
How to prevent join with big/small characters?
TOPIC: https://www.spigotmc.org/threads/help-me-fast-please-small-and-large-characters-the-name-when-do-join.79653/

Duplicate, on our way :/

When an issue? Please environment I have a very big problem. I use plugin already 1 year and this is my big problem, please fix it the next Update, thanks a lot :)


Build single-page "sales site" for IPFS Companion

Create a static IPFS page with better UX for opting into Release and Beta Channels than "Install" section: https://github.com/ipfs/ipfs-companion#install
It should detect browser type and display only compatible installation links

Should this maybe be a part of an overall redesigned install page (for all flavors/implentations of IPFS) as part of a redesigned ipfs.io site?

@jessicaschilling yes, I believe thats the right place for this.


Fail on missing charts

Summary and Scope
Remove complex sub-shell logic in 'extract.sh', script as a small refactor to ~ fix 'not' failing on missing Helm charts.
Also, add logic to the extract phase of the makefile to short-circuit build failures so builds fail faster on missing charts, etc.
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves CASMINST-5355

Testing
Tested forced non-existent chart reference and happy path test via make -j 8 for images.
Tested on:

Ubuntu VM (Local)

Example 'short circuit' output on failure of make -j 8 (process group is killed):
...
Error: failed to download "csm-algol60/cray-hms-trs-operator" at version "22.0.3"
make: *** Deleting file 'manifests/platform.txt'
make: *** Deleting file 'manifests/core-services.txt'
make: *** Deleting file 'manifests/storage.txt'
make: *** Deleting file 'manifests/velero-1.7-upgrade.txt'
make: *** Deleting file 'manifests/sysmgmt.txt'
make: *** [Makefile:20: manifests/velero-1.7-upgrade.txt] Interrupt
make: *** [Makefile:20: manifests/storage.txt] Interrupt
make: *** [Makefile:20: manifests/core-services.txt] Interrupt
make: *** [Makefile:20: manifests/platform.txt] Interrupt
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.


VQB query by name without user_id nor org_id

Context
trace.
From time to time, this condition is true at VisualizationQueryBuilder and message is logged: @name && !(@id || @user_id || @organization_id || @owned_by_or_shared_with_user_id || @shared_with_user_id)
During #12536 we decided to address the issue instead of removing the message, because it's a wrong situation and it has some impact at DB load.
No STR yet.

Ping?

I was on vacation, sorry.
Yes, it is. If you open the linked trace, you'll see "Last seen: 1 day ago", meaning that it still happens.

Thank @juanignaciosl! Hope you enjoy your time off. ;-)


Zip File support

I have noticed that when opening a Zip file in your app, it opens it in Windows Explorer and not in Files. This is annoying because i have to switch inbetween two file viewers when accessing my Zip files. If this could be fixed then it would be good because it is a basic feature in all File Explorer apps

Duplicate of #45

Ok. Sorry i didn't realise because that was a long time ago.


:memo: Update readme

Problem Statement
Readme was confusing.
Solution
Restructure to be less confusing, especially:

Avoid talking too much about specific platforms (thanks @AlainODea)
Keep the getting started instructions simple and clear at the top

I merged @AlainODea's PR #90 and made some changes of my own. No real changes to content, just reformatting and restructuring the readme.
I think it's much clearer now, but cc @AlainODea @andreihava-okta @mraible just in case you think something doesn't look right. 😄

@nbarbettini this is great 👍
@mraible this is good to merge.

@AlainODea - @nbarbettini is on my team, so he can merge too! 🙂

Nice! 😊


update core dependencies due to pywebpush update

Breaking Change:
I'm a little on deep water here.
These are added in setup.py so I just edited them there.
I ran the gen_requirements, but requirements_test_all.txt did not get updated.
Are there any manifest that need to be changed?
Related PR
https://github.com/home-assistant/home-assistant/pull/22737
@robbiet480
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

Please update the change logs or release note link in the PR description for those core dependency. And do some manual test to make sure our login function (which used PyJwt I think) not broken.

Which change logs are you referring to?
Manual tests works.
Also tox tests works (there are tests for auth in there)