⚠ Bofrost.at has degraded performance

In 291387e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1846 ms

Resolved: Bofrost.at performance has improved in 2fc1884 after 6 minutes.


Communicating between two scripts via ethernet

https://github.com/zockerhuhn/DnDInitTracker/commit/41f1d6a5e7551951d89cc76288eba08a594c56d5


update version api

Update version resource to return correct version

Codecov Report

Merging #899 into master will increase coverage by 0.06%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #899      +/-   ##
============================================
+ Coverage     99.37%   99.44%   +0.06%
  Complexity     2092     2092
============================================
  Files           317      317
  Lines          5774     5771       -3
  Branches        309      305       -4
============================================
+ Hits           5738     5739       +1
  Misses            5        5
+ Partials         31       27       -4

Impacted Files
Coverage Δ
Complexity Δ

...com/quorum/tessera/api/common/VersionResource.java
100% <100%> (ø)
3 <0> (ø)
:arrow_down:

.../tessera/admin/cli/subcommands/AddPeerCommand.java
100% <0%> (+2.63%)
11% <0%> (ø)
:arrow_down:

.../quorum/tessera/sync/SyncResponseMessageCodec.java
100% <0%> (+3.22%)
5% <0%> (ø)
:arrow_down:

...ain/java/com/quorum/tessera/p2p/RestP2pClient.java
100% <0%> (+6.89%)
9% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


[MM-11222] Fix overflow issue on help pages

Summary
Fix overflow issue with help pages.
The code i removed was introduced here to fix Grammarly scroll issue. But I cannot replicate this anymore so, there is a good chance Grammarly might have fixed it on their end
Ticket Link
MM-11222
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Has UI changes

@sudheerDev You might need a rebase I think, a lot of older commits going in.

@asaadmahmood Done

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0a3016e513952e150.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0a3016e513952e150

Spinmint test server destroyed


Improve install UX on the website

Update 2fanotifier.org to include an install button/link/whatever.

I updated the site to have a link to the Chrome Web Store, which is useful. However, I did not yet update the site to have inline install, which is what I would like to have for a better UX. Leaving this issue open until we get inline install implemented with a nice UX to explain the permissions.

Chrome is deprecating inline install, so this issue is moot.


CDAP-14392 Validate Bigquery sink output schema

If field type does not match with big query column:

If schema has more columns than big query table:

If required field is missing:

Passes if nullable fields are missing.

Resolved conflicts.

Fixed, squashing and merging.


[BEAM-1009] Update multiple modules to use Mockito 2

I think it is better to start doing this incrementally otherwise we will probably never get it fully.
Notice that I did not choose a more recent version of mockito because I got a conflict with this issue.
Notice also that I did not go straight to Mockito 3 because Powermock have issues with it too, but we can tackle that in the future (since API compatibility is higher between 2 and 3, that will be easier).
R: @lukecwik

Run JavaPortabilityApi PreCommit

Run Java_Examples_Dataflow PreCommit

Run JavaPortabilityApi PreCommit

Run JavaPortabilityApi PreCommit

Run Python_PVR_Flink PreCommit

@lukecwik was OOO recently and might have missed this. Consider resolving the conflict and bumping this up.

I'm back from vacation and taking a look.

FYI, #9338 is updating to Mockito 3


Use Password Authentication for Kubernetes

Currently, Cryostat only authenticates users by default when run in OpenShift. We should configure password authentication when running on Kubernetes, perhaps generating credentials prior to deployment.

For now, I think it's enough to allow users to provide a secret through the Cryostat CRD containing the credentials in the format expected by Cryostat's BasicAuthManager.
From the Cryostat README:

The BasicAuthManager uses basic credential authentication configured with a standard Java properties file at $CRYOSTAT_CONFIG_PATH/cryostat-users.properties. The credentials stored in the Java properties file are the user name and a SHA-256 sum hex of the user's password. The property file contents should look like:
user1=abc123
user2=def987

Where abc123 and def987 are substituted for the SHA-256 sum hexes of the desired user passwords. These can be obtained by ex. echo -n PASS | sha256sum | cut -d' ' -f1.

If the user provides this secret, the operator should mount the properties file within the secret at the $CRYOSTAT_CONFIG_PATH/cryostat-users.properties within the Cryostat container. It should then set the CRYOSTAT_AUTH_MANAGER environment variable to io.cryostat.net.BasicAuthManager.
If the user doesn't provide the secret, then we fall back to the existing behaviour. On OpenShift, the OpenShiftAuthManager is used. On Kubernetes, the NoopAuthManager is used.

Hey @jaadbarg! This is the issue I had in mind.

Here's how the API could look:
// CryostatSpec defines the desired state of Cryostat.
type CryostatSpec struct {
	// ...

	// Options to configure how Cryostat authenticates users.
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Authentication Options"
	AuthenticationOptions *AuthenticationOptions `json:"authentication,omitempty"`
}

type AuthenticationOptions struct {
	// By providing a secret containing a credentials property file, Cryostat will use basic
	// authentication instead of the platform defaults. When unset on OpenShift, Cryostat will integrate
	// with OpenShift's OAuth Server (Recommended). When unset on Kubernetes, Cryostat will not
	// perform any form of authentication.
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Basic Authentication"
	BasicAuthentication *BasicAuthenticationSecret `json:"basicAuth,omitempty"`
}

// BasicAuthenticationSecret refers to a Secret containing credentials
// that Cryostat can use for basic authentication.
type BasicAuthenticationSecret struct {
	// Name of the Secret within Cryostat's namespace.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:io.kubernetes:Secret"}
	SecretName string `json:"secretName"`
	// Key within secret containing the properties file. The properties file should contain one user per line,
	// with the syntax "user=passHex", where "user" is the username and "passHex" is the SHA-256 hash of the desired
	// password. The SHA-256 hash can be computed by tools such as "sha256sum".
	// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
	Filename string `json:"filename"`
}

Hi @ebaron I can take this one👍👍

Looks like this was already completed. In 3.0 it will be implemented slightly differently via oauth2_proxy/openshift-oauth-proxy, but the CR API will be the same or very similar for the user perspective.

I think this is still outstanding, it was done in the Helm Chart but not in the operator.


Fixes:Added the declaration of license

Need to declare the license at the beginning of the file
Signed-off-by: yulng<EMAIL_ADDRESS>Signed-off-by: yulng<EMAIL_ADDRESS>

@yulng thanks for the submission, the DCO needs to be signed off in the following syntax, note the <> angle brackets:
Signed-off-by: Your Name<EMAIL_ADDRESS>
You should be able to do a git commit --amend to edit the message, then git push --force-with-lease to update the PR branch.

@yulng thanks for the submission, the DCO needs to be signed off in the following syntax, note the <> angle brackets:
Signed-off-by: Your Name<EMAIL_ADDRESS>
You should be able to do a git commit --amend to edit the message, then git push --force-with-lease to update the PR branch.

ok, done, just now

@yulng you need to push the latest changes to this same branch on github to update the PR.

@yulng you need to push the latest changes to this same branch on github to update the PR.

Updated
Thanks

Thanks, merged.


Set up Cloud SQL Postgres database for dagster storage

PR Overview

This PR sets up a Cloud SQL Postgres database for dagster storage in our nightly builds. This will hopefully prevent the dagster backend storage database from locking up and killing our builds.
Changes:

Creates a Cloud SQL Postgres console with 2 CPUs and 8 GB of RAM. @jdangerx and I decided handling the instance lifecycle from within the container might cause some jankyness so we will keep the instance running 24/7 which will cost about $101 a month. We will explore running postgres within our VM container to save cost and the overhead of managing an external db #3003.
Adds logic in docker/gcp_pudl_etl.sh to start and stop the dagster-storage Cloud SQL instance and create and delete a dagster-storage-$ACTION_SHA-$GITHUB_REF database. This way, we have a fresh database for each nightly build run and won't incur Cloud SQL instance charges when we aren't running a nightly build.
Add static external IP addresses to the pudl-deployment-tag and pudl-deployment-dev VMs so they can be whitelisted by the Cloud SQL instance.
Points the dagster deployment to the Postgres database
Passes the PUDL_SETTINGS_YAML to the container. I think this var was set manually in the GCP Console.

PR Checklist

[ ] Merge the most recent version of the branch you are merging into (probably dev).
[ ] All CI checks are passing. Run tests locally to debug failures
[ ] Make sure you've included good docstrings.
[ ] For major data coverage & analysis changes, run data validation tests
[ ] Include unit tests for new functions and classes.
[ ] Defensive data quality/sanity checks in analyses & data processing functions.
[ ] Update the release notes and reference reference the PR and related issues.
[ ] Do your own explanatory review of the PR to help the reviewer understand what's going on and identify issues preemptively.

I removed the Cloud SQL lifecycle logic from the gcp_pudl_etl.sh script.


Failed to start API Mock endpoint

Describe the bug
When I run amplify mock it sets up the storage and creates the tables properly. It tells me that elastic search is not supported but then i get the following error:
Failed to start API Mock endpoint Error: Invalid config for UNIT_RESOLVER {"dataSourceName":"ElasticSearchDataSource","typeName":"Query","fieldName":"searchAccounts","requestMappingTemplateLocation":"resolvers/Query.searchAccounts.req.vtl","responseMappingTemplateLocation":"resolvers/Query.searchAccounts.res.vtl","kind":"UNIT"}
 Missing data source ElasticSearchDataSource

Can mock bypass this error so that I can at least use the other features?
To Reproduce
Steps to reproduce the behavior:

have existing amplify project with @searchable on at least one object
upgrade to latest amplify cli
run amplify mock
See error

Expected behavior
Not get an error and be able to use mock.
Desktop (please complete the following information):

OS: macOS
Browser firefox
Version 69.0b10

Additional context
My graphql transform compiles without errors via CLI and amplify console.

I still have this issue, see my comment here:
https://github.com/aws-amplify/amplify-cli/pull/1999#issuecomment-525882093

@rpostulart could you share a minimal project where  we can reproduce this issue

Of course what do you need?  EventConnection
}

type Mutation {
  sendNotification(input: NotificationInput): NotificationResult @function(name: "sendNotifications-${env}")
}

type NotificationResult {
    result: String
}
input NotificationInput {
    action: String
    data: String
}

same here with simple lambda as source:
/api
/resolvers
Query.echo.req.vtl
Query.echo.res.vtl
/stacks
CustomResources.json
schema.graphql
schema.graphql:
type Query {
  echo(msg: String): String
}

CustomResources.json:
.
.
.
"QueryEchoResolver": {
      "Type": "AWS::AppSync::Resolver",
      "Properties": {
        "ApiId": {
          "Ref": "AppSyncApiId"
        },
        "DataSourceName": {
          "Fn::GetAtt": [
            "proxyGraphQLLambdaDataSource",
            "Name"
          ]
        },
        "TypeName": "Query",
        "FieldName": "echo",
        "RequestMappingTemplateS3Location": {
          "Fn::Sub": [
            "s3://${S3DeploymentBucket}/${S3DeploymentRootKey}/resolvers/Query.echo.req.vtl",
            {
              "S3DeploymentBucket": {
                "Ref": "S3DeploymentBucket"
              },
              "S3DeploymentRootKey": {
                "Ref": "S3DeploymentRootKey"
              }
            }
          ]
        },
        "ResponseMappingTemplateS3Location": {
          "Fn::Sub": [
            "s3://${S3DeploymentBucket}/${S3DeploymentRootKey}/resolvers/Query.echo.res.vtl",
            {
              "S3DeploymentBucket": {
                "Ref": "S3DeploymentBucket"
              },
              "S3DeploymentRootKey": {
                "Ref": "S3DeploymentRootKey"
              }
            }
          ]
        }
      }
    }
,
,
,

Query.echo.req.vtl:
{
    "version": "2017-02-28",
    "operation": "Invoke",
    "payload": {
        "type": "Query",
        "field": "echo",
        "arguments": $utils.toJson($context.arguments),
        "identity": $utils.toJson($context.identity),
        "source": $utils.toJson($context.source)
    }
}

amplify mock
Failed to start API Mock endpoint Error: Invalid config for UNIT_RESOLVER {"dataSourceName":"proxyGraphQLLambda","typeName":"Query","fieldName":"echo","requestMappingTemplateLocation":"resolvers/Query.echo.req.vtl","responseMappingTemplateLocation":"resolvers/Query
.echo.res.vtl","kind":"UNIT"}
 Missing mapping template resolvers/Query.echo.req.vtl

If it can be useful I add that I run "amplify mock" from Windows 10.
From the error we see that the template is searched in the path as:
"Resolvers / Query.echo.req.vtl"
to notice instead that the path of Windows is with backslash:
"Resolvers \ Query.echo.req.vtl"

also, the resolvers folder in build/ is empty

Is there any update on this?

 "QueryEchoResolver": {
      "Type": "AWS::AppSync::Resolver",
      "Properties": {
        "ApiId": {
          "Ref": "AppSyncApiId"
        },
        "DataSourceName": {
          "Fn::GetAtt": [
            "proxyGraphQLLambdaDataSource",
            "Name"
          ]
        },
        "TypeName": "Query",
        "FieldName": "echo",
        "RequestMappingTemplateS3Location": {
          "Fn::Sub": [
            "s3://${S3DeploymentBucket}/${S3DeploymentRootKey}/resolvers/Query.echo.req.vtl",
            {
              "S3DeploymentBucket": {
                "Ref": "S3DeploymentBucket"
              },
              "S3DeploymentRootKey": {
                "Ref": "S3DeploymentRootKey"
              }
            }
          ]
        },
        "ResponseMappingTemplateS3Location": {
          "Fn::Sub": [
            "s3://${S3DeploymentBucket}/${S3DeploymentRootKey}/resolvers/Query.echo.res.vtl",
            {
              "S3DeploymentBucket": {
                "Ref": "S3DeploymentBucket"
              },
              "S3DeploymentRootKey": {
                "Ref": "S3DeploymentRootKey"
              }
            }
          ]
        }
      }
    }

@federicopuntoni  Where is proxyGraphQLLambdaDataSource defined. Could you share the cloudformation template where this data source is defined

Also getting the same issue. I'm busy with the Amplify tutorial Part 1. I'm using the same settings as the example shows. However, the mock API fuction failed as shown below
$ amplify mock api
Failed to start API Mock endpoint Error: not found: java

@bugzbuks Amplify Mock needs Java to be installed in your computer to start DynamoDB local. Could you please install the latest version of Java and see if the issue gets resolved

@Yuth Java is installed and working.

Same issue:
"Failed to start API Mock endpoint Error: No AppSync API is added to the project"
I do have an API though as per:
$ amplify add codegen --apiId xxxxxxxxxxx
Gives response:
"Codegen support only one GraphQL API per project"
Also Java is installed and working.

I do have an API though as per:
$ amplify add codegen --apiId xxxxxxxxxxx

If you add an API to your project with --apiId you can use that API only for codegen. Mock needs API to be provisioned in the project and does not work with externally provisioned API


Not able to Find and Replace strings which fall into multiple lines

Description
Hi,
When the find and replace need to be done on the string, I cannot copy the whole string which is fall into multiple lines and replace it with new one.

DBeaver Version
Version <IP_ADDRESS>410132322
Operating System
Windows 11
Database and driver
DB2 ZOS
Steps to reproduce
Try to find the string as in example which fall into multiple lines, copy the multiple line string and try to paste in the find and replace window, it just doesn't except multiple rows or even paste the string into the single row.
Additional context
No response

I suppose, your case could be solved using regular expressions. However, I need to fully understand what you are trying to replace and what the replacement string is. Please clarify your request, providing detailed steps to reproduce with the concrete case, and I'll try to help you.

Thanks for your reply. I have multiple SQL queries which has IN predicate include in multiple line(which I have to grab and paste from the Excel, so it will fall into multiple lines). If I need to add another Number/predicate string (along with the existing values) I have to find the whole predicate string and find and replace along with the new one adding comma.
Probably can be done with the Regular expression. Not sure. I will try that way as well.

Thanks for the bug report. We reproduced the issue that multiple lines can't be pasted to the find/replace text field


Move papyrus_storage dependency from main Cargo.toml to native_blocki…

…fier's Cargo.toml.

This change is

Codecov Report

Merging #921 (933ea9c) into main (0865caf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #921   +/-   ##
=======================================
  Coverage   68.50%   68.50%
=======================================
  Files          42       42
  Lines        5864     5864
  Branches     5864     5864
=======================================
  Hits         4017     4017
  Misses       1473     1473
  Partials      374      374

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


I have some doubts about the framework

Hi,
@ExponentialML
This is a really useful repo, but I have a question to ask. In the video fusion paper, it seems that they decouple the denoising process into base noise and residual noise. However, I couldn't find this in the pipeline of diffusers, which confuses me. Is this a completely new version?

Hi, @ExponentialML
This is a really useful repo, but I have a question to ask. In the video fusion paper, it seems that they decouple the denoising process into base noise and residual noise. However, I couldn't find this in the pipeline of diffusers, which confuses me. Is this a completely new version?

Hey! In all honesty, I cannot verify that the Pipeline used from ModelScope's repository is verbatim with the paper. I only implemented this repository after the initial release of the ModelScope video diffusion model (referencing showlab's Tune-A-Video's repository for training).
Also, I havn't yet referenced any of the paper's implementations, but loosely follow others in same field. When I was asked as to which paper this was referencing, I found that the paper (assuming you found it on paperswithcode) and linked it as the closest candidate.
In terms of base noise along with a residual, I don't think that this would be too difficult to implement. I'll give it a go as a side experiment (not on my todo list at the moment), but in the mean time if you would like to, it would be great to open a PR and attempt to implement it.

So for this repo, to achieve video generation, it just added a temporal layer in the unet, right? (Perhaps this is not a rigorous way to put it, but that's roughly what I see from the code). The reason I raised this issue is just to confirm if I missed any code details.
Regarding the implementation of basic noise and residual noise denoising you mentioned, I'd be happy to submit a PR for it. I'll implement it soon.

That's the correct assumption. Loosely, there are temporal layers in the form of:
(b h w) f c batch, height, width, frames, channels
Then, double self attention is used such that it replaces the cross attention layer (text input in the majority cases for CrossAttention) before the feed forward. 3D temporal convolution layers are also added.
Thanks for willing to submit the PR! Looking forward to it.

Thank you again for your explanation～


[Bug] Incorrect disk size for local storage

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the bug
Currently, the disk size of localStorage's shuffleMeta is not descrease correctly when using appPurgeEvent to remove resources.
That will make the disk size collected by uniffle leak and then make the disk invalid.
Affects Version(s)
master
Uniffle Server Log Output
No response
Uniffle Engine Log Output
No response
Uniffle Server Configurations
No response
Uniffle Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

When will the disk become invalid? I'm curious that I've never encountered this issue.


Won't accept my credentials

I've enabled my Google Calendar API following the setup instructions found on this plugin's Readme. I added the 2 variables (GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET) to my .env file which resides in the root, yet I'm still getting this after running gatsby develop.
"gatsby-source-google-calendar" threw an error while running the onCreateDevServer lifecycle:

    No client configuration available.
    Enable the Google Calendar API by visiting:

    https://developers.google.com/calendar/quickstart/nodejs#step_1_turn_on_the

    Follow the workflow and then store Client ID and Client Secret in your .env* files as
    GOOGLE_CLIENT_ID=<client_id>
    GOOGLE_CLIENT_SECRET=<client_secret>

Hey, thank you for the issue! Were you able to solve the problem?
Is your .env file called .env.development? When you run gatsby develop, Gatsby runs in the "development" environment. Accordingly, your .env file must be called .env.development so that your defined environment variables are loaded correctly.
By default, Gatsby supports two environments, "development" and "production". When you run gatsby build or gatsby serve, Gatsby runs in the "production" environment. Accordingly, your .env file must be called .env.production.
Please let me know if you run into any more problems!

Hey, thank you for the issue! Were you able to solve the problem?
Is your .env file called .env.development? When you run gatsby develop, Gatsby runs in the "development" environment. Accordingly, your .env file must be called .env.development so that your defined environment variables are loaded correctly.
By default, Gatsby supports two environments, "development" and "production". When you run gatsby build or gatsby serve, Gatsby runs in the "production" environment. Accordingly, your .env file must be called .env.production.
Please let me know if you run into any more problems!

@msigwart My bad. This is my very first attempt with Gatsby. I breezed through the docs. Lesson learned.

@msigwart My bad. This is my very first attempt with Gatsby. I breezed through the docs. Lesson learned.

I'm getting a similar issue - the plugin does not work after it's successfully authorized. I'm placing all tokens (ID, SECRET, ACCESS, REFRESH) in both the .end.development and .env.production files.
This is the message I get:
File: node_modules/gatsby-source-google-calendar/gatsby-node.js:208:11

Error: invalid_grant

Is there a specific way I should be configuring the OAuth Consent Screen? I'd appreciate any advice!

I'm getting a similar issue - the plugin does not work after it's successfully authorized. I'm placing all tokens (ID, SECRET, ACCESS, REFRESH) in both the .end.development and .env.production files.
This is the message I get:
File: node_modules/gatsby-source-google-calendar/gatsby-node.js:208:11

Error: invalid_grant

Is there a specific way I should be configuring the OAuth Consent Screen? I'd appreciate any advice!


Tried restoring to local but hitting into SKIP ATTRIBUTE error uploading

When I tried to restore to my AWS instance, at least the restoration went on for quite a bit before hitting into a schema problem.
Now, I'm trying to restore to a local Appwrite but the same 'npm run appwrite:restore'  gave me the following:
Uploading 65014241b5de18bb8ffc from 65013c65d0b06f882ade from 65013c22b24e1d41d537
(node:17072) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
SKIP ATTRIBUTE key=title collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=image collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=description collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=display_order collection=65013c65d0b06f882ade
Error uploading 65014241b5de18bb8ffc from 65013c65d0b06f882ade from 65013c22b24e1d41d537
Uploading 65013fa51081b682ad87 from 65013c65d0b06f882ade from 65013c22b24e1d41d537
SKIP ATTRIBUTE key=title collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=image collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=description collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=display_order collection=65013c65d0b06f882ade
Error uploading 65013fa51081b682ad87 from 65013c65d0b06f882ade from 65013c22b24e1d41d537
Uploading 65013f814dff9db54f20 from 65013c65d0b06f882ade from 65013c22b24e1d41d537
SKIP ATTRIBUTE key=title collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=image collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=description collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=display_order collection=65013c65d0b06f882ade

I have created the collections and buckets and it was so straightforward earlier... 😔

Check your appwrite.json. Have you placed It in a root of repo copy?
https://github.com/react-declarative/appwrite-backup-tool/blob/8caf2e69b4967ca3bcca8057fbe0e0a3b91f389d/scripts/restore.mjs#L22
appwrite login
appwrite init project
appwrite init collection


fix(TripPlannerLocControls): fix stop ID swaps

Summary of changes

Asana Ticket: Trip Planner swap button doesn't update map and Trip Planner shows nonsensical results when origin/destination are updated after initial search

General checks

[x] Are the changes organized into self-contained commits with descriptive and well-formatted commit messages? This is a good practice that can facilitate easier reviews.
[ ] Testing. Do the changes include relevant passing updates to tests? This includes updating screenshots. Preferably tests are run locally to verify that there are no test failures created by these changes, before opening a PR.
[ ] Tech debt. Have you checked for tech debt you can address in the area you're working in? This can be a good time to address small issues, or create Asana tickets for larger issues.

Looks like Mocah tests are failing


Problem making a simple token transfer

I'm having problems doing what I thought would be a straightforward token transfer.
First some code:
#[derive(Accounts)]
#[instruction(amount: u64)]
pub struct TransferTokens<'info> {
    #[account(mut)]
    pub sender: Signer<'info>,
    #[account(mut)]
    pub sender_tokens: Account<'info, TokenAccount>,
    pub recipient_tokens: Account<'info, TokenAccount>,
    pub mint: Account<'info, Mint>,
    #[account(address = SYSTEM_PROGRAM_ID)]
    pub system_program: Program<'info, System>,
    #[account(address = TOKEN_PROGRAM_ID)]
    pub token_program: Program<'info, Token>,
}

pub fn transfer_tokens(ctx: Context<TransferTokens>, amount: u64) -> ProgramResult {
    let sender = &ctx.accounts.sender;
    let sender_tokens = &ctx.accounts.sender_tokens;
    let recipient_tokens = &ctx.accounts.recipient_tokens;
    let token_program = &ctx.accounts.token_program;

    transfer(
        CpiContext::new(
            token_program.to_account_info(),
            Transfer {
                from: sender_tokens.to_account_info(),
                to: recipient_tokens.to_account_info(),
                authority: sender.to_account_info(),
            },
        ),
        amount,
    )?;

    return Ok(());
}

const mint = new PublicKey("4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"); // USDC devnet
const sender = program.provider.wallet.publicKey;
const recipient = new PublicKey(otherPublicKey);
const senderATA = await getOrCreateAssociatedTokenAccount(...);
const recipientATA = await getOrCreateAssociatedTokenAccount(...);
let instructions: TransactionInstruction[];
if (senderATA.instruction) instructions.push(senderATA.instruction);
if (recipientATA.instruction) instructions.push(recipientATA.instruction);
if (instructions.length === 0) instructions = undefined;
const price = 1000;

await program.rpc.transferTokens(new BN(price), {
  accounts: {
    sender: sender,
    senderTokens: senderATA.address,
    recipientTokens: recipientATA.address,
    mint,
    systemProgram: SystemProgram.programId,
    tokenProgram: TOKEN_PROGRAM_ID
  },
  instructions
});

When I'm running this I get:
Transaction simulation failed: Error processing Instruction 0: Cross-program invocation with unauthorized signer or writable account
    Program XXX invoke [1]
    recipientATA.address's writable privilege escalated
    Program XXX consumed 9908 of 200000 compute units
    Program XXX failed: Cross-program invocation with unauthorized signer or writable account

Obviously the sender has to sign the transaction, but I guess I don't really understand why I need permission to send tokens to someone else.
The JS code is slightly abbreviated, but what I'm doing is that I'm adding instructions to create the token accounts unless they exist. The weird thing is that this works the first time when I'm including the instructions to create the token accounts, but after that the "writable privilege escalated" error happens.
Can anyone see what I'm doing wrong?

recipient_tokens not marked as mut. Needs to be mutable to receive tokens since you're changing its amount field

also, you dont have to do this
    #[account(address = TOKEN_PROGRAM_ID)]
    pub token_program: Program<'info, Token>,

just do
pub token_program: Program<'info, Token>,

Thats what the Program type is for

@billythedummy I actually tried that already, but then I'm getting 140: A mut constraint was violated.

The error disappeared when I updated Anchor from 0.17 to 0.18.


UP-4766: Fix tenant admin add portlet bug - rel-4-3-patches

…rtlet as a Tenant Admin user.

Coverage increased (+0.004%) to 22.874% when pulling b768276179fbb3f6848c8ff9ced23a6c868c80bc on groybal:up-4766-rel-4-3-patches into e6b4afdd506529d90275b783e859c6be70f204ab on Jasig:rel-4-3-patches.


Upload rpm and deb packages to bintray

@mattstratton Hello! Please feel free to consider Cloudsmith for packaging.
It's commercial, but offers generous free tiers and is also very free for open-source (with 100GB of storage, and 1TB of bandwidth). It doesn't have Chocolately support just yet, but it'll happily serve built binaries (raw support), and deb/rpm is the bread and butter for the service. :-)
Full disclosure: I work for Cloudsmith and may be biased (but only very slightly, honest!)


ISS-22778: Updated DateTime parsing

Description

Updated DateTime parsing

Pre-launch Checklist

[X] The Documentation is updated accordingly, or this PR doesn't require it.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I listed at least one issue that this PR fixes in the description above.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] All existing and new tests are passing.

Will merge it in next sprint


Fix include type in Significant Text agg

Closes #2275
I'm not sure where this should be backported exactly. This aggregation was introduced in Elasticsearch 6.0.

I'm not sure where this should be backported exactly. This aggregation was introduced in Elasticsearch 6.0.

Since we're not likely to release any minor/patch versions older than 8.8, we could probably just backport to 8.8, 8.9 and 8.10 for now. For other versions we can probably address on a case-by-case basis so you don't have to open 20 backport PRs. :laughing:

Backports:

https://github.com/elastic/elasticsearch-specification/pull/2292
https://github.com/elastic/elasticsearch-specification/pull/2291
https://github.com/elastic/elasticsearch-specification/pull/2290
https://github.com/elastic/elasticsearch-specification/pull/2285


Docker "latest" tag is not found

Overview
Docker tag latest is useful as it is possible for scripts using the docker image to be always up-to-date.
Problem
No latest tag found:
docker: Error response from daemon: manifest for \
cosmwasm/rust-optimizer:latest not found: manifest unknown: manifest unknown.

Note
If it may happen that latest tag may be unstable, provide additional stable tag for marking container version tested by time.

What's the use case for that? The builder version should be fixed. Otherwise your builds are not reproducible.

The main use case is developing.
Of course, for production all unstable versions should be locked, but for developing it is better to upgrade dependencies automatically to use the latest version with the newest features.
One more point: template projects, documentation, etc. should not be modified any time new version is released.
Example: CosmWasm Docs contains outdated rust-optimizer version and may be easy fixed by using latest tag.

I see your point. However, we should discourage any sort of usage of this project without version pinning as this created builds that are not reproducible. We should clarify this as part of #101.


QCAlgorithm custom data security accessor

Expected Behavior

Allow algorithms to get a custom data security instance through its underlying and type.
The use case that triggered this requirement was: allowing algorithms to remove custom data types once the underlying security has been deselected from the universe, which notifies the algorithm through the QCAlgorithm.OnSecuritiesChanged callback.

Actual Behavior

Currently, this requires searching through the QCAlgorithm.Securities collection

Potential Solution

N/A
Reproducing the Problem

N/A
System Information

N/A
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Closing in favor of https://github.com/QuantConnect/Lean/issues/3620


Whether to support TCPOnly when udp is restricted by the carrier.

Whether to support TCPOnly when udp is restricted by the carrier.

it is possible to support TCP only for connections that require Relay (the case you described), we might need to adjust a bit the agent

@mlsmaycon
Please add it. It would be good a method that work similar way with DERP server. It is the only relay server that work every place that i test it! (i think the reason is the TLS/HTTPS working method)

@iamshiyan
It is out there already! We have a single TCP relay running and listening on port 443, but we will deploy more.
Works with our cloud version at https://app.netbird.io/.
Self-hosted is supported as well.

@iamshiyan It is out there already! We have a single TCP relay running and listening on port 443, but we will deploy more. Works with our cloud version at https://app.netbird.io/. Self-hosted is supported as well.

How can this be self-hosted? I mean, I have a coturn server listening in UDP/TCP and I changed my management.json "Proto" to "TCP" in "Stun" and "Turn" sections, but this doesn't work when I block all UDP traffic with my firewall (it works, however, in unblocked UDP traffic). So, what am I doing wrong?

@fernandoenzo @iamshiyan, Sorry for not getting back sooner. You can configure a TCP relay by adding a setting like the in your management.json Turn config:
        "Proto": "tcp",
        "URI": "turn:turn.example.com:3472?transport=tcp",

I will close this issue for now, please open a new one in case you want further assistance.

@mlsmaycon   Does netbird support  udp relay?
if I set  no-udp and  no-udp-relay in coturn turnserver.conf,  the netbird get error
netbird status -d
Relays:
  [stun:stunserver.stunprotocol.org:3478] is Available
  [stun:stun.freeswitch.org:3478] is Available
  [turn:turn-home.ioth.top:6478?transport=tcp] is Unavailable, reason: allocate: Allocate error response (error 442: UDP Transport is not allowed by the TURN Server configuration)

if I set no-udp, but unset no-udp-relay in coturn turnserver.conf,  the netbird status no error, but I seem that netbird client use udp to connect coturn relay :
netbird status -d
Relays:
  [stun:stunserver.stunprotocol.org:3478] is Available
  [stun:stun.freeswitch.org:3478] is Available
  [turn:turn-home.ioth.top:6478?transport=tcp] is Available


Missing File

When I run the scripts 'table2-1-IF_comparison_cifar10_0.ipynb', the terminal shows "AttributeError: module 'src.selection' has no attribute 'TopNGradients'". 😢

I have changed the module name to "HighestKGradients", but forgot to update the other code snippets.
You can change the module name into other modules according to the modules in https://github.com/hslyu/GIF/tree/main/src/selection.

I have changed the module name to "HighestKGradients", but forgot to update the other code snippets.
You can change the module name into other modules according to the modules in https://github.com/hslyu/GIF/tree/main/src/selection.

Thanks a lot！😊


Updated sources link to ansible

Updated sources link to ansible

Codecov Report

Merging #275 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #275   +/-   ##
=======================================
  Coverage   83.13%   83.13%
=======================================
  Files         103      103
  Lines        1186     1186
  Branches      102      102
=======================================
  Hits          986      986
  Misses        181      181
  Partials       19       19

Impacted Files
Coverage Δ

src/smart-components/platform/platforms.js
90.47% <ø> (ø)
: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 7d2470d...1eb8660. Read the comment docs.


Synchronize API with AFL.rs

https://github.com/rust-fuzz/afl.rs/pull/137
https://github.com/rust-fuzz/afl.rs/issues/31
https://github.com/rust-fuzz/rfcs/pull/1

Haha, the backtrace is interpreted as a list of issues by github.
I think this will be an issue with all future reports of the kind I made. Maybe a solution is to change the name thread rust-fuzz to rustfuzz or rs-fuzz.


tf.identity() not copying varying inputs

When using tf.identity() it seems like a proper implementation to pass through the input tensor without copying. However, when the input is the value of a variable it might change later, leading to surprising behavior:
var = tf.Variable(1)
old = tf.identity(var.value())
with tf.control_dependencies([old]):
  with tf.control_dependencies([var.assign_add(1)]):
    new = tf.identity(var.value())

sess = tf.Session()
sess.run(tf.global_variables_initializer())
print(sess.run([old, new]))  # Unexpected: [2, 2]

I would think this code should be equivalent to the following workaround that uses a second variable to remember the previous value:
var = tf.Variable(1)
old = tf.Variable(var.initialized_value())
with tf.control_dependencies([old.assign(var.value())]):
  with tf.control_dependencies([var.assign_add(1)]):
    new = tf.identity(var.value())

sess = tf.Session()
sess.run(tf.global_variables_initializer())
print(sess.run([old, new]))  # Expected: [1, 2]

Can we make tf.identity() aware of whether its input is static or varying, to always return the value from the time it's executed?

@danijar Thanks for filing this issue!
I believe it's a duplicate of #4663 , so I'm closing this out.  If you feel I've made a mistake, respond to this issue and I'll re-open it.


Import ShapedArray from jax.core instead for jax.abstract_arrays

Fixes #90.
Related JAX changelog: https://jax.readthedocs.io/en/latest/changelog.html#jax-0-4-16-sept-18-2023.

Looks good. I'm going to merge and let's just remove PyMC4 support over in https://github.com/exoplanet-dev/exoplanet-core/pull/89. Thanks!!


Add musicoin wallet on MEW. Custom node configurations

Add musicoin wallet on MEW. Custom node configurations
I think following files are enough.
*Added
app/scripts/abiDefinitions/musicAbi.json
app/scripts/tokens/musicTokens.json
*modified
app/scripts/controllers/CX/addWalletCtrl.js
app/scripts/controllers/decryptWalletCtrl.js
app/scripts/nodes.js

ledgerMusicPath is null. So people cannot access their MUSIC with trezor now and have wrong paths. Should be fixed.

both  ledgerMusicPath and trezorMusicPath


Documentation Links Broken

Come On Guys Your documentation links are broken and are all out of whack on the master branch
This is referenced on your master branch README.md: ( Running local environment )
https://github.com/Mirantis/virtlet/blob/master/docs/devel/running-local-environment.md
Doesn't work 404
Deploy Using DaemonSets -> https://github.com/rcsavage/virtlet/blob/master/deploy/README.md
Also does not work - 404
Separate Document->https://github.com/rcsavage/virtlet/blob/master/deploy/real-cluster.md
Does not work - 404

Oops, sorry, failed to update README.md after setting up new mkdocs-based docs. #860 will fix this


Security Groups for public ingress fail <IP_ADDRESS>/0 check

https://github.com/cesar-rodriguez/terrascan/blob/b4e8922a7a388a3f0351c9b0ae52d8d95cf7a95f/terrascan/checks/security_group.py#L53
Per
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-update-security-groups.html load balancers need a source of <IP_ADDRESS>/0 for public traffic. This test also fails for instances running VPN services, such as OpenVPN. Is there another recommended way of opening public ingress for legitimate traffic for HTTP, HTTPS, and other network protocols like OpenVPN?

For ingress traffic from the internet what I usually do is to limit ALB traffic to CloudFront's public IP space. There might be legitimate use cases where you want to allow <IP_ADDRESS>/0 so just use this check as a guideline for all other use cases where it's not desired.

@cesar-rodriguez Is there a way to mark that specific resources should ignore this rule?


Drop flag on disconnect

Add a clause to drop the flag when a player disconnects

Experimental code implemented in commit 466e649, testing required

Fixed in commit ba22c75


Feature proposal: allow passing math markup to function after argument list

Passing content to functions has special syntactical support:

quote from https://typst.app/docs/tutorial/formatting/

Wait, shouldn't all arguments of a function be specified within parentheses? Why is there a second set of square brackets with content after the parentheses? The answer is that, as passing content to a function is such a common thing to do in Typst, there is special syntax for it: Instead of putting the content inside of the argument list, you can write it in square brackets directly after the normal arguments, saving on punctuation.

quote from https://typst.app/docs/reference/types/function/

You can call a function by writing a comma-separated list of function arguments enclosed in parentheses directly after the function name. Additionally, you can pass any number of trailing content blocks arguments to a function after the normal argument list. If the normal argument list would become empty, it can be omitted. Typst supports positional and named arguments. The former are identified by position and type, while the later are written as name: value.

Here is my proposal for a new feature:

allow passing math markup to a function by writing it directly after the normal argument list.

This would make it more convenient to decorate already written equations without having to wrap them in parentheses or brackets.
Example
Before
#set math.equation(numbering: "(1)")
#let nonum = math.equation.with(block: true, numbering: none)

#nonum($
  integral_(-oo)^oo e^(-x^2\/2) dif x = sqrt(2pi)
$)

After
#set math.equation(numbering: "(1)")
#let nonum = math.equation.with(block: true, numbering: none)

#nonum$
  integral_(-oo)^oo e^(-x^2\/2) dif x = sqrt(2pi)
$

I could work on that , can I ?


Sync eng/common directory with azure-sdk-tools for PR 8152

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/8152  See eng/common workflow

/check-enforcer override


Unable to export data from Sketch Engine to Lexonomy

Hello. First of all, thank you for creating this resource! I cannot find detailed documentation for exporting data from Sketch Engine to Lexonomy. If this exists, I would be very happy if you could point me to this information.
Here are the steps I took.

Created Lexonomy account
Put Lexonomy API key into sketch Engine account
Created a Corpus form the Web in Sketch Engine.
Selected the 1-Click Dictionary Feature
Clicked the Go Button.
Click Open.

Upon completing step 6, I am taken to the dictionary but it is blank, there are no headwords or nothing. I have tried to do this with several different corpora and with no success.  Here is a screenshot of the screen says after step 6:

When clicking on this dictionary you can see that no data has been imported:

Please hold while I investigate this!

(maybe i'm slightly hijacking this issue, but) i tried to use the OCD feature in SkE and it returned even less:

neither a blank dictionary in lexonomy
nor an email that the processed failed

last time i tried (about two months ago) i got an email that 'something had failed' - which, at least, alerted me about some problem. currently, i don't seem to be getting feedback after initiating a SkE->OCD run.

update: just about now

i have received an Automatic notification from Sketch Engine
and a dictionary has been created (...with the rather small default of 10 entries... but still!)

i'm closing this issue: an initial version of SkE -- push data --> lexonomy.eu is working (again); any further - or new - problem should go into a new issue.
(@axme100 pls. reopen if this - as described above - is still a problem)


add followthesun v0.2.4 to stable

I guess it will be solved by merging PR https://github.com/ioBroker/ioBroker.repositories/pull/1032


documenting issues with @cached_property

Hi,
when I use @cached_property on a class function it won't get documented by sphinx autodoc.
Is there a way to fix that or a workaround ?
Thanks,
bastian
found following notice in the spinx docs:
If you document decorated functions or methods, keep in mind that autodoc retrieves its docstrings by importing the module and inspecting the doc attribute of the given function or method. That means that if a decorator replaces the decorated function with another, it must copy the original doc to the new function.
From Python 2.5, functools.wraps() can be used to create well-behaved decorating functions.

Thanks for pointing this out.

Thanks for fixing... you have a great library ;)


Need to check and fix non-unique pb/@n values

There are six instances of pb/@n which are not unique, found with this XPath: //pb[@n = following::pb/@n]. Once they've been diagnosed and fixed, we can add Schematron to enforce uniqueness, and then proceed with issue #145.

Done.


Intel Extreme Tuning Utility v<IP_ADDRESS>

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install -m <manifest>?

Can' test on VM 🙃
Microsoft Reviewers: Open in CodeFlow

@OfficialEsco the LicenseUrl is giving me a 404. I also tried to change the version number.


[WIP] Added more extensive error handling

This PR is based on work by https://github.com/Lanoli and earlier attempts (PR #110, PR #39, code https://github.com/serilog/serilog-sinks-elasticsearch/tree/handlefailures) to add better support for errors while sending events to ES. Due to the Bulk API usage, it is hard to see when an event is not accepted by Elasticsearch. For example; you index a field the first time as a number and in another message, you decide to log a string with the same field name. This event will not be parseable and ES will silently fail. With the new options, you can actually act on these errors. Either by just logging them, sending them to another sink or handling them yourself using a callback.
Also added; a console sample and a docker-compose file to start up a local ES setup with Kibana.
This is Work in Progress. Missing is:

[ ] How to handle index creation failure.
[ ] The durable sink. This is a nasty one as it is a subsystem not using the actual sink.

@mivano Is it intended that this PR will be fixedup and merged in soon?
Your comment says this is a work in progress, so perhaps there is some way to go yet before it is ready for a merge?
This is exactly the sort of thing we are after, to be able to detect failures in logging to ES, so would be great if it was merged and released.
thanks.

Sorry, no it is not finished yet. Need to find time to complete it by adding the last features and do testing. Good to hear this is interesting to you. If you have specific use cases or wishes, let me know.

Hi,
So one specific use case we have is where we have dynamic schemas enabled and have blown the limit on the number of fields elastic can index - this silently fails and we have no idea that our messages have not been logged.
Of course moving away from dynamic schemas would help here, which is something we are working on, but of course there are many reasons why logging to elastic may fail.
The biggest problem to solve I guess is what to do with the logs of the failures to log to elastic - do you log them to a completely different sink, in which case you lose the benefit of being able to search in elastic for your errors, or do you save them somewhere so that, when the elastic issue is resovlved (e.g. it comes back on line), you can send all those elastic failure messages to elastic itself to be preserved and searchable?

Any ETA on when this will be merged?

Merged. Documentation here: https://github.com/serilog/serilog-sinks-elasticsearch#handling-errors


⚠ Jenkins Plugins Artifactory has degraded performance

In 4d57541, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1199 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 6494806 after 12 minutes.


Add preliminary BookList class.

A simple BookList class.
Resolves #101

Codecov Report

Merging #103 (454514c) into master (fc4017a) will decrease coverage by 0.48%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #103      +/-   ##
============================================
- Coverage     69.79%   69.31%   -0.49%
  Complexity      411      411
============================================
  Files            85       86       +1
  Lines          1298     1307       +9
  Branches        124      124
============================================
  Hits            906      906
- Misses          358      367       +9
  Partials         34       34

Impacted Files
Coverage Δ

src/main/java/bookface/model/book/BookList.java
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@TYKCodes thanks for the review! just committed the changes


expyState automatically expand and collapse

Hi, just trying to use your project. but my tableview always automatically expand and collapse (the expand even didn't show its item) whenever i click the section. Is there any wrong with that? i've been following and study your example as well

I think this should be related to your own implementation since the example projects are working properly. The code you shared is not enough to have any clue about your implementation.

sorry, yes it's my mistake. because i set manual expand. thank youuu


Virtual conference notes

Stash for ideas and sources related to upcoming virtual events
A nearly carbon-neutral conference model

Speakers record their own talks
Talks are viewed on the conference website
Participants contribute to an online Q&A session

Involve stakeholders in setting event agenda: empowering participants increases their investment in the success and outcome of events

NEXT STEPS

SET DATE(S) FOR VIRTUAL CONFERENCE
PRELIMINARY CALL FOR VOLUNTEERS THROUGH EMAIL LIST
** Event volunteers
** Recommendations on speakers
** Input on (draft?) agenda
** [Call for co-sponsors?]
OPEN PRE-REGISTRATION
PROVIDE ACCESS TO PROMOTIONAL MATERIALS

Planning documents

Start-up and close-out checklists for beginning and end of the day
** what to do before starting the event (changing sign-up messages, changing content on the website and starting Zoom rooms)
** What to do after the event ends (changing website content, posting video, transcribing audio)
Daily call sheet: sequence of and notes on presenters (who is using polls? What URLs need to be shared? on which session?)
Contingency plans, based on risk assessments (what can or will go wrong?)
** backup speakers in case of an emergency
** YouTube live stream if Zoom attendance is too high: have email written and prepared to send if we need to redirect people

Event roles

event manager (a/v feed) (x2)
event moderator (emcee) (x2)
speaker coordinator/panel host (x2)
Q&A and chat moderators (2-4x)
other volunteers: live Tweeters…? (prepare on Slack channel?)

REMEMBER: be sure to look after all people involved with running the session: food, water and coffee for staff, easy comms with and about speakers
Alliance swag/goodie bag?

Speakers
Who are the presenters? We need big thinkers from adjacent fields. Astronomers and particle physicists. More from GBIC2 speakers? Aim for more highly interactive presentations

Contact speakers early and often: ensure that they have all the info they need to make successful presentations
Get speakers to attend at least one practice session to ensure that they're familiar with the technology — screen sharing, webcam management, real-time communication online, etc.
Plan backup speakers just in case

Agenda

Keep it simple—one fast-paced track: a series of lightning talks and panel discussions designed to keep the audience interested
Zoom polls at the beginning of each talk to keep the audience engaged
Single session room with Q&A rooms following each speaker’s talks
Encourage panelists to use chat directly to one another for internal communications
Import lists of who attended and how long they remained in the virtual room

Do we need a community whiteboard to annotate during Zoom webinars—or is Twitter enough?
Promotion
Affiliate marketing: provide partners (local, in-country—drawn from nodes and signatories)

Promotion calendar with list of important dates and suggested mailing/posting times
Boilerplate/swipe copy
Graphics for social media
Promote event on speakers’/supporters' mailing lists

Do we need sponsors for this? Probably not, but it might be good to invite voluntary financial support
Attendee registration

sign-up form: name and email, via MailChimp-Zoom integration
confirmation page: with three simple optional questions
** What sparks your interest in this virtual session?
** What speakers or content are you interested in?
** Are you planning to attend live or watch the recorded sessions? [give range if schedule is intensive]

Social media

Schedule tweets/posts in advance on Buffer, describing activities of the conference and using event hashtag
Piggy-back on  speakers' networks by @mentioning them and their organizations both in advance and during the conference.
Encourage speakers to post on social media ahead of the event about what they're working on
Post links to allow people to join the conference spur-of-the-moment
Engage with the public during the event (recruit live-tweeting volunteers, like Nicole Kearney?)
Tag speakers in LinkedIn posts


Restore Additional toggl button to timetracking block

Relevant integration (if any):

GiLab

🐛 Describe the bug
Restore extra GitLab button at sidebar:

https://github.com/toggl/track-extension/pull/1669

The benefit is that the sidebar button is always visible, regardless of how down in comments you have scrolled.
It has been gone for a while after gitlab.com updates. Please restore it.

Fix: https://github.com/toggl/track-extension/pull/2156


Add a way to filter out containers in templates

Just following the last sentence from README (TODO).
Current set of functions allowed in templates is very limited and does not allow much filtering.
Even subset from following functions would help:

equality of strings
test, if a string is present in an array of string (for this we need also a function to define in template the array of string)
wildcard matching
startsWith

I'd be interested in something like where too. Although intersect would be nice too for those moments where we have a comma list of filter tags and a comma list of env tags.  Any work so far on bringing some of the Hugo stuff over?

Closing this w/ since #54 has landed.  Equality/prefix/suffix and a few where functions should provide better ability to filter containers in templates.  We can open new issues/PR for other template functions that would be useful.


Feature request: Property of current resistance of BehavioralResistor

There are three parameters that can be accessed:

Voltage
Power
Current

How about easy to access resistance property?
I know that it can be computed with voltage and current properties but I think it would be cool to be aligned with ordinary resistor

I have considered this, but then I also had to think about what "resistance" means when you start to use idt() and ddt(), which basically turns these resistances into capacitors or inductors. So I decided to not include it yet.
Nevertheless, we can consider such a property. However, would it need to be defined as R = Voltage / Current, or does it need to be the small-signal resistance?

I think the easiest to understand would be just R = Voltage / Current.
It's pity but I was not able to check this in LTSpice. There is no resistance properties.
Also please if you decide to include it keep the name: resistance of the parameter


UKG - Added Code to fetch Astra Database Connection Details

…ls from GSM

What this PR does: Added Code to fetch Astra Database Connection Details
Which issue(s) this PR fixes:
Fixes #
Checklist:

[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CLA Signed:  DataStax CLA

Hi @pradeepiimt
Thanks for the contributions. Would be great if you can resolve the review comments mentioned by @msmygit, if you need our help for the same, please feel free to create a new PR to merge your changes to this branch & we will help with it.
Thanks!


requestFocus() doesn't work.

requestFocus() doesn't work. How set request focus and open keyboard.

get the solution.

Did you figure this out?

re-open if this is still an issue

What is the soultion?


How to export texture?

I can export core file but how to export png file and preview it?

As #3 now you can preview textures by opening desired 'Texture' entry inside core file and export them by right-clicking on its preview

it beats me!

Can you explain?

where export texture and preview it?

If this is Horizon, then its texture format is not supported yet. Exporting and previewing should work "fine" for Death Stranding at this moment.

Thank you.


[suggestion] Predicate to filter by asset value

Feature request
Add predicates which will work for different types of assets and their values.
Motivation
@gv-timur asked for a way to query assets (of store type) and filter them by their value (which is LimitedMetadata)
Who can help?
@appetrosyan, @arjentix, @gv-timur

not relevant anymore


fix: repair doc links for nested packages

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


feat(version): Bump DF version to v1.11.0

Only released on Monday - don't you want to give it a few more days?

@ashotland Sounds like a good idea! Raised as #117 depends on this but we can work on it independently. Will aim for next week for both of these PR's.

Closing in favour of https://github.com/dragonflydb/dragonfly-operator/pull/128


add module and jsnext:main field to package.json

i am using the library in an mjs codebase built with rollup and without one of those fields (depending on the rollup-plugin-resolve config, thats why i added both) the config might break. this means without the fields one would need to
import Big from 'big.js/big.mjs'

because the mjs module can not be resolved.

Okay, just the module field please.

Thank you.


Textarea in internet explorer

I'm submitting a ...  (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior
When trying to use type textarea in internet explorer it's raise an error.
Expected behavior
Minimal reproduction of the problem with instructions
Use type textarea and try to open in internet explorer.
What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 2.0.X

Browser: IE XX

**Language:**TypeScript

Node (for AoT issues): node --version =

@eliran2 using material or bootstrap ?

bootstrap

Just tested on IE-11 and everything work as expected see https://angular-5ioeet.stackblitz.io/,
please ensure to include all required polyfills for IE.

seems an error is raised ERROR Error: Invalid property value., I'll look into it soon.

run np install formly latest?
On Wed, Nov 1, 2017 at 11:09 PM, Abdellatif Ait boudad <
<EMAIL_ADDRESS>wrote:

Closed #544 https://github.com/formly-js/ng-formly/issues/544.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/formly-js/ng-formly/issues/544#event-1321850278, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANS_lpiSXxkt3W9WD2l9-CJbSQEdEqizks5syN4EgaJpZM4QLJJL
.

@eliran2 the fix is to set valid value for cols and rows attrs (IE doesn't allow undefined value  for attr), just seting them in the config will solve you issue:
type: 'textarea',
templateOptions: {
  cols: 1,
  rows: 1,
},

The fix will be included in 2.0.0-beta.1, if you didn't yet switched into the new package name @ngx-formly/bootstrap see https://github.com/formly-js/ng-formly/issues/501#issuecomment-337271517

Thank you very much (:
On Thu, Nov 2, 2017 at 11:43 PM, Abdellatif Ait boudad <
<EMAIL_ADDRESS>wrote:

@eliran2 https://github.com/eliran2 the fix is to set valid value for
cols and rows attrs (IE doesn't allow undefined value for attr), just
seting them in the config will solve you issue:
type: 'textarea',templateOptions: {
cols: 1,
rows: 1,
},
The fix will be included in 2.0.0-beta.1, if you didn't yet switched into
the new package name @ngx-formly/bootstrap see #501 (comment)
https://github.com/formly-js/ng-formly/issues/501#issuecomment-337271517
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/formly-js/ng-formly/issues/544#issuecomment-341567341,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANS_lu3Daozfw9Fis17tXSSqIHDBBNSNks5syjefgaJpZM4QLJJL
.


Fix overriding optimize_device_cache with optimize_cuda_cache in PPOConfig

Removed the unneeded else branch and added a check to prevent both options being set at the same time
Fixes: #1689

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


oh snap, 502 Bad Gateway

I did the Configure Ingress Controller lab before Configure Network Policy.
At the "Test out the Application by going to the Dashboard..." step of the Configure Network Policy lab, I immediately get a 502 Bad Gateway error, as my service-tracker-ui  service is now of type ClusterIP, and I access the ui via https://[myacr].eastus.cloudapp.azure.com/ui#/dashboard, not from a LoadBalancer IP address.
Perhaps the README.md should note this distinction?

This is expected.

I know it's expected... Just concerned about folks getting confused because it is not mentioned in the lab README.md. I guess this is one of those "let people put 2 & 2 together" issues. No problem.


Added missing CodeMirror.Doc method - listSelections

The missing method is listed in documentation in Selection section between doc.getCursor and doc.somethingSelected methods.

@manekovskiy thanks mate!


Hello AutoCompleteType have unexcepted behavior

unexcepted code

use indicium::simple::Indexable;

struct MyType<'a>(&'a str);

impl<'a> Indexable for MyType<'a> {
    fn strings(&self) -> Vec<String> {
        vec![self.0.to_string()]
    }
}

impl From<&'static str> for MyType<'static> {
    fn from(input: &'static str) -> Self {
        MyType(input)
    }
}

use indicium::simple::AutocompleteType;
use indicium::simple::SearchIndex;
use indicium::simple::SearchIndexBuilder;

fn main() {
    let mut search_index: SearchIndex<usize> = SearchIndexBuilder::default()
        .autocomplete_type(AutocompleteType::Global)
        .build();

    search_index.insert(&0, &MyType::from("apple"));
    search_index.insert(&1, &MyType::from("ball"));
    search_index.insert(&3, &MyType::from("bird"));
    search_index.insert(&4, &MyType::from("birthday"));
    search_index.insert(&5, &MyType::from("red"));

    let autocomplete_options: Vec<String> = search_index.autocomplete("a very big bi");

    assert_eq!(
        autocomplete_options,
        vec!["a very big bird", "a very big birthday"]
    );
}

Behavor: the left do not equal with right, because the 'a' is not autocomplete
thread 'main' panicked at 'assertion failed: (left == right)
left: ["very big bird", "very big birthday"],
right: ["a very big bird", "a very big birthday"]', src/main.rs:34:5

rustc version
1.62.0
rustup show
Default host: aarch64-apple-darwin
rustup home:  /Users/cs/.rustup

installed toolchains
stable-aarch64-apple-darwin (default)
1.61.0-aarch64-apple-darwin
active toolchain
stable-aarch64-apple-darwin (default)
rustc 1.62.0 (a8314ef7d 2022-06-27)

Thank you for the feedback @csh0101. Sorry for the delay responding, I did not see that you had posted this until now.
I'm not sure, but it looks like you might be using examples from an older version of Indicium but using a newer version of Indicium to run them?
When you instantiate the SearchIndexBuilder with default settings by using SearchIndexBuilder::default() it will automatically remove small keywords such as "a", "an", "and", "the", etc. If you add  SearchIndexBuilder::default().exclude_keywords(None), small words will no longer be excluded from searches and autocompletions. You can also use exclude_keywords to add support for small words in other languages.
If I re-run your example with this builder clause it will work as expected and pass the test:
    let mut search_index: SearchIndex<usize> = SearchIndexBuilder::default()
        .autocomplete_type(AutocompleteType::Global)
        .autocomplete_type(AutocompleteType::Global)
        .build();

Also note that the newest version of Indicium supports all types that implement the ToString trait. Now you can do this:
search_index.insert(&0, &"apple");
search_index.insert(&1, &"ball");
search_index.insert(&3, &"bird");
search_index.insert(&4, &"birthday");
search_index.insert(&5, &"red");

Without having to implement anything.
I hope this helps. Let me know if you have any other questions.

Closing this issue. If you have any other issues or questions, feel free to add


INTEGRATION [PR#1380 > development/8.1] improment: ZENKO-749 removed stretch from aws-node-sdk object test

This pull request has been created automatically.
It is linked to its parent pull request #1380.
Do not edit this pull request directly.
If you need to amend/cancel the changeset on branch
w/8.1/improvement/ZENKO-749-remove-stretch-from-aws-node-sdk-tests, please follow this
procedure:
 $ git fetch
 $ git checkout w/8.1/improvement/ZENKO-749-remove-stretch-from-aws-node-sdk-tests
 $ # <amend or cancel the changeset by _adding_ new commits>
 $ git push origin w/8.1/improvement/ZENKO-749-remove-stretch-from-aws-node-sdk-tests

Please always comment pull request #1380 instead of this one.

Closing this pull request as the parent is stale. The changes were merged with Pull request: https://github.com/scality/S3/pull/1397


Use of commitOnChange + buttonGroupInput throws console warning

We have a form component in an app with fieldDefaults: {commitOnChange: true} and an included formField with a buttonGroupInput as its item.
This throws "Warning: React does not recognize the commitOnChange prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute...." - indicating that the defaulted prop is making its way through to the underlying component, which does not support (or need) it.

Yes, this is a known issue, and I am not quite sure what the best way to solve it is.  As I discussed with John Haynes, we no longer have a convenient way at Runtime to analyze what props are supported on an object.  (that was one advantage of proptypes).
We could add an explicit flag of the form supportsCommitOnChange on the component, but that seemed to me a little bit clunky.
Thanks for filing -- should have done so after my analysis/work with John.  Will circle back on this


Vagrant on Ubuntu 14.04 missing run-dev.py

Possibly I am missing something. I have Vagrant installed on a local Ubuntu 14.04 host, with the latest virtual box installed. Doing Vagrant upworked fine. However, inside the Vagrant container, there is no ./tools/run-dev.py.
$ /srv/zulip $ sudo vagrant ssh -- -L9991:localhost:9991
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.16.0-38-generic x86_64)
 * Documentation:  https://help.ubuntu.com/
Last login: Tue Oct  6 12:48:44 2015 from <IP_ADDRESS>
(zulip-venv)vagrant@vagrant-base-trusty-amd64:~$ cd /srv/zulip
(zulip-venv)vagrant@vagrant-base-trusty-amd64:/srv/zulip$ source /srv/zulip-venv/bin/activate
(zulip-venv)vagrant@vagrant-base-trusty-amd64:/srv/zulip$ ./tools/run-dev.py --interface=''
-bash: ./tools/run-dev.py: No such file or directory

Is this a know issue?

That is quite weird for the development environment.    In theory that should just be a clone of the git repository with a few files added...

Hmm, that's where I went wrong:
(zulip-venv)vagrant@vagrant-base-trusty-amd64:/srv/zulip$ git status
fatal: Not a git repository (or any of the parent directories): .git

I downloaded the server install from https://www.zulip.com/dist/releases. I imagine i should be cloning https://github.com/zulip/zulip.git

Yes, exactly, there's two setup models:
(1) Zulip production server tarball, which has the javascript all built, etc from https://www.zulip.com/dist/releases
(2) Zulip development environment, where you want a git repository so you can easily test changes as you write commits for them, which uses vagrant
We should probably add a test in the Vagrantfile to confirm .git exists so other folks don't run into this problem.  I'll rename this issue to fixing that problem.


How to prevent Ensure Authorize from blowing up when resource list is empty?

Hi!
We've been using Ensure Authorize a lot and we absolutely love it!
We're wondering what's the best way to handle empty results when the resource needs to be authorized.
Example: Let's say user hits a /friends endpoint which returns a list of users and we authorize! on each friend/user. However, the user doesn't have any friends yet so authorize! will never get called. Hence, AuthorizationNotPerformed will be thrown.
Assuming the above makes sense - The only workaround we found so far is to perform a fake authorization or manually set @_authorize = true.
Are there any other recommendations?
Thanks!

We use check_authorization in combination with load_and_authorize_resource, which automatically calls authorize! for you.
There are plenty of reasons why you might not want to use load_and_authorize_resource but let's look at how it handles the case you mentioned!
When you visit /friends, say that hits a FriendsController#index action.  load_and_authorize_resource essentially does this in a before_action:
authorize! :index, Friend
@friends = Friend.accessible_by(current_ability)

It uses authorize! to verify that you're allowed to index Friends at all, then it uses accessible_by to make sure @friends only has records you're allowed to see.  It always calls authorize, even though the list of friends may end up empty.
Hope that helps!


When the [Bug Report] Select component is used in the dialog component, click the pop-up layer on the tab to shake the text down

Element UI version
1.3.3
OS/Browsers version
macOS/windows 7    chrome 58
Vue version
2.3.3
Reproduction Link
https://jsfiddle.net/aLhftyq3/
Steps to reproduce
点击 “打开嵌套表单的 Dialog”  选择弹出层中的 select， 观察弹出层内文字内容会变模糊。
What is Expected?
select 的选择不会影响 弹出层的展示。
What is actually happening?
select 的选择会导致 弹出层内文字内容变模糊。

更新啦！

Duplicate of #2461. You can join the discussion there, and since we haven't found the cause for this problem, you're welcome to contribute.


window object becomes null

for some reason, in my component, anytime I refer to window object it always undefined. But when I typing in the inspector, windows shows available. It only happen when the component is build with react-static.
Why is that? am I not referring to the same window?

function getWindow() {
  let window = window || null;
  const cachedWindow = window || {};
  console.log('cachedWindow');
  console.log(cachedWindow);
  return cachedWindow;
}

export default getWindow;

window object does not exist in node.
You need to guard safely with
if (typeof document === 'undefined') {

}

every peace of code which uses window or document to avoid server-side rendering issues.


createEffect doesn't fire again on changes (but createMemo works as expected with same callback)

Describe the bug
I was trying to use this hook,
but it only fired once.
I was using signal inside, which changes for sure (because I tested it with createMemo).
Your Example Website or App

Steps to Reproduce the Bug or Issue

Create some signal
Use it in createEffect using console.log to print signal value
You will see printed msg in console only once, no matter how many times signal changes

Expected behavior
As in docs :)
Screenshots or Videos
No response
Platform

OS: Windows
Browser: Brave
Version: 1.39.22

Additional context
No response

Is it possible to share a reproduction from https://playground.solidjs.com? From the description it seems like something we do in every example so might need to see what you are doing.

On playground it works o.O
https://playground.solidjs.com/?version=1.4.1#NobwRAdghgtgpmAXGGUCWEwBowBcCeADgsrgM4Ae2YZA9gK4BOAxiWGjIbY7gAQi9GcCABM4jXgF9eAM0a0YvADo1aAGzQiAtACsyAegDucAEYqA3EogcuPfr2ZCouOAFEZMuM1xYHTlwDKaADm0GpSsvKKKnQa2noWVlYy9BDeaLQQvADCDBAujAAUAJT8VrwOmWR8wMx5PrxkcLi5qbgAurwAvH5wznBBoVBqhQAMxZZZlRDVvLX1AGJR7p7evk0ti8seXh3dvf2DYWMT5dOzGI5w8Pn7Jd0AfI3NrfmFdW33ANS8AIynEDOV36K12hRKXQeG1euCWClB3ne9RKxWKSSmQlwTCyhTOFQAPCI0AA3B543iEklkqYVCoAcVcADlXAAlACCABkcgB5ACqjIAKoh+B83sVJOT8foiaTJTLqbTadk+YLeABJRnZFmuACyTIFrgAIrwAEIATQOLgRuGFIFFsO2q1wJQlNIp0qpkpM9FwuEyvAIxC6Km9vsyKl4mWyGmYAGsuiBLkIbrhJA8NVrdfqpaG-RAFbSpfKzgDXVYhKJxODSpCKTDxLx9A9fCJaMx6CmAHTBZquNTXYS4E34NUiXFgKCEQgqYoAQgBYEk7SAA
It could be some temporary problem, it was occuring in combination with createResource and solid-app-router


Update tags of blog post

A new tag can be added or an existing tag can be deleted from a blog post.

Multiple tags can be added and deleted for a post.


When withTimeout hits a timeout, don’t wait for cooperative cancellation before returning

Previously, when we hit the timeout in withTimeout, we just cancelled body but relied on cooperative cancellation before the caller could continue. Since the caller is obviously no longer interested in the operation, we can return with CancellationError immediately.
Fixes #883
rdar://116705684

@swift-ci Please test

@swift-ci Please test Linux

Heh, you might want to consider renaming this to withUnstructuredTimeout or something like that. Giving up structured concurrency should be explicit I think as you lost priority escalation here.

Good catch, @ktoso. I implemented priority propagation now.

@swift-ci Please test

@swift-ci Please test Windows

That does the trick with the hot loop around task.priority... tbh I'd rather just admit this drops structured concurrency, but if you've happy with this then your call.
We should provide a built-in operation for this soon, the while-true loop is very wasteful 😭

I would be very happy to see native implementations of all the async utilities I have in here. But until then, I’ve got to implement them in the best way I can…


Fixing IL generation on out/ref parameter result assignment

Fixing an issue with IL generation when storing the out/ref parameters result. This would cause functions where the out parameter was in a position other then 2 (index 1).
Validated that this fixes issues uncovered by EasyTable bindings tests.

:shipit:

Looks good.

Might be good to add a regression test for this to the existing FunctionGeneratorTests suite.

Added test and merged PR.


Iterate by chunks over specified axis / WIP

This relies on iterating using OuterIterCore while monitoring the location of the current index. When the iterator detects the last chunk, a different shape is used.
I'm not sure this is the proper design yet, it works for forward iteration but probably not for reversed iteration.

Reversed iteration works with the last changes. I'll proof read that again later but it should be ok.

Reverse iteration doesn't need to be a goal, only when it's cost free to do so.

Oh, my review question that I haven't managed to answer myself is, does the raw pointer of the iteration stay in bounds? We cannot have it point outside the array's allocation, even when we just use the last value to stop on.  I think it should be ok, by the construction of OuterIterCore.

Yes the raw pointer should always be in bounds because the stride and length given to OuterIterCore ultimately point to the last block and not any further. Thus the only additional risk is if the last shape is not correct.

The latest changes should address your remarks. Though for the style change I'm not sure whether the style I've used suits you.

Beautiful!
I'm back at my review question. I think last_ptr can point outside of the array, which we can't do unfortunately.
Consider the case where size equals the length of the axis. last_ptr will point outside of the array.
For a regular slice we can point "one past the end" but no pointing further outside is legal (when using ptr.offset)
[a, b, c, d] x
 ^  ^  ^  ^  ^    valid pointer targets in and next to a slice

With a non-unitary stride, we easily land way past the end (or before it, if it's negative). We may not point to one row past the end.

To clarify, it is UB to use ptr.offset to point at anything but the “valid pointer targets”, even if we don't deref the pointer.

Doing that safely is a digression for another day (and when this is stable) http://doc.rust-lang.org/nightly/std/intrinsics/fn.arith_offset.html

To clarify, it is UB to use ptr.offset to point at anything but the “valid pointer targets”, even if we don't deref the pointer.

I see, I didn't know it was UB, I thought only derefing was UB. Looks like I need to add some special case for when size == self.dim[axis]

Additionally maybe clamp size to the length of the dimension if needed. Silently accepting a larger size is consistent with the uneven last view anyway.

Right that looks like a good behaviour.

I've thought about that offseting a bit more. With size clamper to the dimension length, there is an invariant last_index * iterator_stride <= dim_len * dim_stride, and the inequality is an equality when size == dim_len. So at worst the offset will point to right after the last allocated element if I'm correct.
This is however subject to the assumption that, for a dimension of length 1, the stride does not go out of bounds. It should be enforced by the strides checks but I'm unsure about this special case.
However we're better sure than sorry, so I've implemented the special handling for size == dim_len.

That assumption does not hold for views of length 1. Consider [0, 1, 2, 3] sliced like 1..; 2; it has elements [1, 3], len = 2, stride = 2 the "one past the end" in stride * dim_len = 4 terms is outside of the valid range.
We don't know where the last allocated element is (stride may be negative). I don't see any other way but making sure the pointer always points at something we know is a valid element.

Here's atwo demos, where last_ptr ends up pointing outside the range. Just to make it a bit more concrete.
    let a = Array::<f32, _>::zeros((8, 1));
    let sl = a.as_slice().unwrap();
    println!("pointers: {:p}, end={:p}", sl.as_ptr(),
        unsafe { sl.as_ptr().offset(sl.len() as isize) });
    let a = a.slice(s![..;-1,..]);
    let it = a.axis_chunks_iter(0, 8);

    let a = Array::<f32, _>::zeros((8, 2));
    let sl = a.as_slice().unwrap();
    println!("pointers: {:p}, end={:p}", sl.as_ptr(),
        unsafe { sl.as_ptr().offset(sl.len() as isize) });
    let a = a.slice(s![1..;2,..]);
    let it = a.axis_chunks_iter(0, 8);

I've added a better check to avoid offseting out of bounds. Checking rem != 0 is the proper check imho. I've added more diverse test cases and can no longer witness an offseting going out of bounds.

Yep I agree. Now it's good :smile:

:fish_cake:

Cool, thanks for your help with this, I'm not yet used to the requirements of unsafe rust, so it was nice having you pointing out the flaws.

Yep, no problem, it's great that we can work on it like this. Rust didn't give us the largest challenges in the world this time..


Latest version 1.2.2 is not up to date with master

This works:
pod 'MSCircularSlider', :git => 'https://github.com/ThunderStruct/MSCircularSlider.git', :branch => 'master'
but this is not the latest version of master:
pod 'MSCircularSlider', '1.2.2'

Apologies for being late. Released 1.3.0 and updated the pod!

Hi,
I try to install the pod version 1.3.0 with "platform :ios, '11.0'" in my Podfile and I get this error:
[!] CocoaPods could not find compatible versions for pod "MSCircularSlider":
In Podfile:
MSCircularSlider (= 1.3.0)
Specs satisfying the MSCircularSlider (= 1.3.0) dependency were found, but they required a higher minimum deployment target.

Hi,
Thanks for that! I accidentally bumped up the minimum deployment target to 12.2. It should be fixed now!


Remove architecture check from CMake package

Description
CMake adds an architecture check to each package by default. This causes the package to break if e. g. the package was built on a 32 bit system and used on a 64 bit system, even though this is a header-only library. This can happen if a caching package manager like conan is being used.
In CMake 3.14 this check can be disabled by passing ARCH_INDEPENDENT to write_basic_package_version_file. In versions prior to that CMAKE_SIZEOF_VOID_P needs to be unset for the duration of this function.
GitHub Issues
catchorg/Catch2#1368

Thanks!

Is this something that happens despite specifying header_only in package_info in the conanfile?

This happens because specifying header_only in package_info.
When stating to conan that it's a header-only lib, you're telling conan that you can reuse the built package for all architectures and OSes.
The docs say this:

That means, if someone consumes MyLib with the header_only=True option, the package downloaded and used will be the same, irrespective of the OS, compiler or architecture the consumer is building with.

But the CMake write_basic_package_version_file does add a platform check, which makes CMake install()ed header-only libs platform-dependent unless worked around (which is what this PR did).

Nice & concise explanation, thank you very much!


Make compose box tooltips consistent

At present, we have inconsistent styling for tooltips for the buttons in the top row of the compose box. We should fix this by making the styling match the tooltip for the x button:

This requires:

[ ] Removing the bold formatting from the "Go to conversation" tooltip.
[ ] Converting the "Expand compose" tooltip to Tippy.

@zulipbot claim

Can we convert web public stream tooltip to Tippy as well?

@alya made the pull request #22137. Can you review it?


engine: correctly handle Job deps. Fixes https://github.com/windmilleng/tilt/issues/2708

Hello @maiamcc,
Please review the following commits I made in branch nicks/completed:
5f1c8518198f005448de13040bc8a5d94a3d5c77 (2020-01-03 14:00:08 -0500)
engine: correctly handle Job deps. Fixes https://github.com/windmilleng/tilt/issues/2708

ping?


Use max stack/local data to avoid resizing stack frame arrays

Every Code attribute specifies the maximum depth of the stack and local array. This appears to be a hard requirement in the JVM specification.
We should refactor our push/pop operations to simply alter a pointer into a fixed-size array, and see if it yields any performance improvements (I think it will!). We will need to modify parts of the code that operate/modify the stackframe's array directly.

Closing as I don't believe this will yield any speed increase, and will be rendered inconsequential considering currently planned changes.


Error when configuring Azure Monitor with ManagedIdentityCredential: Instrumentation Key Validation Fails

Package Name: azure-monitor-opentelemetry
Package Version: 1.5.0
Operating System: Docker (mcr.microsoft.com/devcontainers/python:3.11) on WSL2 Ubuntu 22.04
Python Version: 3.11.9

Describe the Bug
When calling configure_azure_monitor with a ManagedIdentityCredential, an error is thrown during the configuration process.
Code Snippet
from azure.identity import ManagedIdentityCredential
from azure.monitor.opentelemetry import configure_azure_monitor

configure_azure_monitor(
   credential=ManagedIdentityCredential(),
)

Error Traceback
File "/workspaces/.venv/lib/python3.11/site-packages/azure/monitor/opentelemetry/_configure.py", line 105, in configure_azure_monitor
    _setup_tracing(configurations)
File "/workspaces/.venv/lib/python3.11/site-packages/azure/monitor/opentelemetry/_configure.py", line 137, in _setup_tracing
  trace_exporter = AzureMonitorTraceExporter(**configurations)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/.venv/lib/python3.11/site-packages/azure/monitor/opentelemetry/exporter/export/_base.py", line 86, in __init__
  parsed_connection_string = ConnectionStringParser(kwargs.get('connection_string'))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/.venv/lib/python3.11/site-packages/azure/monitor/opentelemetry/exporter/_connection_string_parser.py", line 39, in __init__
  self._validate_instrumentation_key()
File "/workspaces/.venv/lib/python3.11/site-packages/azure/monitor/opentelemetry/exporter/_connection_string_parser.py", line 84, in _validate_instrumentation_key
  raise ValueError("Instrumentation key cannot be none or empty.")

To Reproduce
Steps to reproduce the behavior:

Follow the configuration steps as per the documentation.
Execute the provided code snippet.
Observe the error.

Expected Behavior
The configuration should succeed and use the managed identity without validating a non-existent connection string.
Additional Context
The issue seems to come from the base exporter where the connection string validation happens before checking for the existence of credentials:

azure/monitor/opentelemetry/exporter/export/_base.py
86 parsed_connection_string = ConnectionStringParser(kwargs.get('connection_string'))
87
88 self._api_version = kwargs.get('api_version') or _SERVICE_API_LATEST
89 self._credential = kwargs.get('credential')

This validation logic should be adjusted to account for scenarios where credentials are provided directly, bypassing the need for a connection string.

@StromFLIX
Thanks for reporting this. The docs are actually incorrect in this regard. You still need to pass in a connection string to identify what resource you are sending telemetry to. We will update the docs accordingly thanks.

@lzchen I also need to pass in the instrumentation key as part of the connection string or can i use a placeholder there to make better use of the managed identity ?

@StromFLIX
You need to pass in a valid connection string as a whole like normal. The managed identity and connection string serve different purposes.

Can you expand on this @lzchen ?

The managed identity and connection string serve different purposes.

We were looking on using managed identities as a way to be "secret-less" but if we have to pass the connection string anyway, I don't see what benefit we get by switching to managed identities.

@spygi
The connection string is used to specify WHERE to send your data to. More specifically it needs to contain resource identification (via instrumentation key) and ingestion endpoint. The managed identity is only used for authentication. You create an identity that is authorized to send data to that specific resource. See this doc for more details. Just a note that the credentials themselves don't have information about the resource so it is not a viable replacement for the instrumentation key.

Thank you for the clarification @lzchen!
Interesting that the instrumentation key is needed to identify the resource. In the connection string there is also an applicationId. I thought the purpose of this is to identify the resource, can you clarify in that case what it's needed for?

As far as I understand this: if we want to use managed identity (or any Entra service principal) authentication in App Insights, we need to disable the so called "local authentication" (see screenshot). Once this is disabled, you cannot just use connection string to ingest telemetry, but each request must be authenticated with a service principal (e.g., managed identity). The identity must have the Monitoring Metrics Publisher role assigned on the scope of App Insights instance.
@lzchen is correct assumption? Is this scenario is supported by the azure-monitor-opentelemetry package?
See this docs for more information: Microsoft Entra authentication for Application Insights

can you confirm this is a correct assumption? Is this scenario supported by the azure-monitor-opentelemetry package?

This is correct and is supported.
@spygi

Interesting that the instrumentation key is needed to identify the resource. In the connection string there is also an applicationId. I thought the purpose of this is to identify the resource, can you clarify in that case what it's needed for?

ApplicationId is not used at all by the azure-monitor-opentelemetry package. Only instrumentation_key is used to identify resource.


Greenkeeper/@types/node 10.11.2

Coverage remained the same at 95.122% when pulling a665fe150908cfe144ef84e28d3eb4cb52988c2b on<EMAIL_ADDRESS>into 16d175d0ac1f024a2502e99c6b2178705360d9d0 on master.

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: