Update bynder-tutorial.md

Replaced semi colon with a colon in the url string for custom domain under section 4.a

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

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

Looks good; thanks for this typo fix @LinkOps.

Looks good; thanks for this typo fix @LinkOps.


Cannot build for production when using --web-component argument. (uglifyjs)

This is possibly more well suited for the ember-cli repo, but is directly related to Glimmer.
When starting a new glimmer app with
ember new my-app -b @glimmer/blueprint --web-component

It is not possible to build with the --environment production flag.
My theory is that the code is not being transpiled before hitting uglify, so uglify doesn't know how to parse it.
Build fail message:
Build failed.
File: app.js (7:6)
The Broccoli Plugin: [UglifyWriter] failed with:
SyntaxError: The Broccoli Plugin: [UglifyWriter] failed with:
    at JS_Parse_Error.get (eval at <anonymous> (/Users/willsonsmith/Documents/web/test-build/node_modules/uglify-js/tools/node.js:27:1), <anonymous>:86:23)
    at writeError (/Users/willsonsmith/Documents/web/test-build/node_modules/console-ui/lib/write-error.js:23:23)
    at UI.writeError (/Users/willsonsmith/Documents/web/test-build/node_modules/console-ui/lib/index.js:159:3)
    at CLI.logError (/Users/willsonsmith/Documents/web/test-build/node_modules/ember-cli/lib/cli/cli.js:275:13)
    at tryCatch (/Users/willsonsmith/Documents/web/test-build/node_modules/rsvp/dist/rsvp.js:539:12)
    at invokeCallback (/Users/willsonsmith/Documents/web/test-build/node_modules/rsvp/dist/rsvp.js:554:13)
    at publish (/Users/willsonsmith/Documents/web/test-build/node_modules/rsvp/dist/rsvp.js:522:7)
    at publishRejection (/Users/willsonsmith/Documents/web/test-build/node_modules/rsvp/dist/rsvp.js:457:3)
    at flush (/Users/willsonsmith/Documents/web/test-build/node_modules/rsvp/dist/rsvp.js:2414:5)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)

steps to reproduce

ember new my-app -b @glimmer/blueprint --web-component
ember build --environment production

expected:
would build
actual:
fails to build
ember build with no env works, as well as using ember build --environment development

Thanks for the issue! This is a known issue and we have one open already in the web-component repo. The problem is that uglify can't handle es2015+. We're working on it!

Thanks! I'll close this and leave a link to the issue in web-component.
https://github.com/glimmerjs/glimmer-web-component/issues/7


Error when gradle  version 2.6.2

When I sync the lib version and I get error
`FAILURE: Build completed with 7 failures.
1: Task failed with an exception.

What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find ru.terrakok.cicerone:cicerone:5.0.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/ru/terrakok/cicerone/cicerone/5.0.0/cicerone-5.0.0.pom
- https://repo.maven.apache.org/maven2/ru/terrakok/cicerone/cicerone/5.0.0/cicerone-5.0.0.pom
- https://storage.googleapis.com/download.flutter.io/ru/terrakok/cicerone/cicerone/5.0.0/cicerone-5.0.0.pom
Required by:
project :app > ee.getid:getidlib:2.6.2
Could not find com.reginald:editspinner:1.0.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/reginald/editspinner/1.0.0/editspinner-1.0.0.pom
- https://repo.maven.apache.org/maven2/com/reginald/editspinner/1.0.0/editspinner-1.0.0.pom
- https://storage.googleapis.com/download.flutter.io/com/reginald/editspinner/1.0.0/editspinner-1.0.0.pom
Required by:
project :app > ee.getid:getidlib:2.6.2
Could not find com.agrawalsuneet.androidlibs:dotsloader:1.4.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/agrawalsuneet/androidlibs/dotsloader/1.4.1/dotsloader-1.4.1.pom
- https://repo.maven.apache.org/maven2/com/agrawalsuneet/androidlibs/dotsloader/1.4.1/dotsloader-1.4.1.pom
- https://storage.googleapis.com/download.flutter.io/com/agrawalsuneet/androidlibs/dotsloader/1.4.1/dotsloader-1.4.1.pom
Required by:
project :app > ee.getid:getidlib:2.6.2
Could not find com.github.MasayukiSuda:Mp4Composer-android:v0.4.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/MasayukiSuda/Mp4Composer-android/v0.4.0/Mp4Composer-android-v0.4.0.pom
- https://repo.maven.apache.org/maven2/com/github/MasayukiSuda/Mp4Composer-android/v0.4.0/Mp4Composer-android-v0.4.0.pom
- https://storage.googleapis.com/download.flutter.io/com/github/MasayukiSuda/Mp4Composer-android/v0.4.0/Mp4Composer-android-v0.4.0.pom
Required by:
project :app > ee.getid:getidlib:2.6.2
Could not find com.otaliastudios:cameraview:2.7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/otaliastudios/cameraview/2.7.0/cameraview-2.7.0.pom
- https://repo.maven.apache.org/maven2/com/otaliastudios/cameraview/2.7.0/cameraview-2.7.0.pom
- https://storage.googleapis.com/download.flutter.io/com/otaliastudios/cameraview/2.7.0/cameraview-2.7.0.pom
Required by:
project :app > ee.getid:getidlib:2.6.2

The issue with dependencies was fixed on April 15, please let me know if you have more questions.


Temporary fix for routing commands

This temporary closes WouterJ/Bundleless#5

I would rather see getting this fixed in Symfony itself. But I can live with a temporary fix :)


splits compliance field validation computed property by creating a se…

…parate dependent property without a check for suggestion mismatch but depends on the output from a full validation

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1233   +/-   ##
======================================
  Coverage    8.24%   8.24%
======================================
  Files          60      60
  Lines        2280    2280
  Branches      483     483
======================================
  Hits          188     188
  Misses       2092    2092

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 4e2f586...0bc1075. Read the comment docs.


AcidTab not working anymore

I updated to latest chrome on windows 10, version 106.0.5249.119 and now you plugin is not working, it show a tab group for every tab open, chrome says that u using something that is deprecated,
I hope you will be able to make it work again cause it is a great and usefully plugin
Thamks

Could you upload more information about what chrome is saying is deprecated? I have not seen this and the code should not be using deprecated features as far as I am aware.


wingetcreate update should not be case-sensi-weird

Brief description of your issue
I was trying to update node.js to the latest ver of of the 14.x branch, but by running winget show openjs.nodejs --versions I noticed its missing 14.16.1 and 14.17.0.
So I tried submitting it:
PS C:\Users\mnpen> wingetcreate new https://nodejs.org/dist/v14.17.0/node-v14.17.0-x64.msi
Downloading and parsing: https://nodejs.org/dist/v14.17.0/node-v14.17.0-x64.msi...

This tool will walk you through a series of questions to help you create your package manifest.

For information about the restrictions for each field, visit https://github.com/microsoft/winget-cli/blob/master/doc/ManifestSpecv1.0.md

Press ENTER to submit the value for each question including accepting the (default) value.

Please enter values for the following fields:
 [PackageIdentifier] The package unique identifier |e.g. Microsoft.VisualStudio|: OpenJS.Nodejs
 [PackageVersion] The package version |e.g. <IP_ADDRESS>|: 14.17.0
 [DefaultLocale] The package meta-data default locale |e.g. en-US|: en-US
 [Publisher] The publisher name |e.g. Microsoft|: Node.js Foundation
 [PackageName] The package name |e.g. Visual Studio|: Node.js
 [License] The package license |e.g. MIT License|:

OK... it doesn't seem to be recognizing that this is an existing package. Maybe there's a different command for updating the existing package? I cancel out, run  wingetcreate --help, ahah, yes, of course there is, it's called update.
PS C:\Users\mnpen> wingetcreate update -i OpenJS.Nodejs -u https://nodejs.org/dist/v14.17.0/node-v14.17.0-x64.msi
A GitHub account or personal access token must be linked in order to continue with this command.
Execution of the command is paused until the GitHub login has been completed.

Initiating GitHub login...

Launching web browser... If default web browser does not launch, please go to: https://github.com/login/device
Please enter the following user verification code when prompted: <bleep>

Resuming command execution...
Retrieving latest manifest for OpenJS.Nodejs
ERROR: repos/microsoft/winget-pkgs/contents/manifests/o/OpenJS/Nodejs was not found.
Please check the spelling and casing of the package identifier

Well that's really weird because when I run winget list it explicitly says I have OpenJS.Nodejs installed:
Node.js                                  OpenJS.Nodejs                                        14.16.1             16.2.0       winget

So I go to github to try and figure out what it's actually listed as. I find https://github.com/microsoft/winget-pkgs/tree/master/manifests/o/OpenJS/NodeJS and try again, changing it to capital JS to match the github URL. And indeed, that seems to have found something:
PS C:\Users\mnpen> wingetcreate update -i OpenJS.NodeJS -u https://nodejs.org/dist/v14.17.0/node-v14.17.0-x64.msi
Using GitHub token from cache...
Retrieving latest manifest for OpenJS.NodeJS
Downloading and parsing: https://nodejs.org/dist/v14.17.0/node-v14.17.0-x64.msi...

Generating a preview of your manifests...
Version manifest preview:
# Created using wingetcreate

PackageIdentifier: OpenJS.NodeJS
PackageVersion: 16.2.0
DefaultLocale: en-US
ManifestVersion: 1.0.0
...

But it thinks its 16.2.0 for some reason and doesn't even prompt to ask otherwise. But maybe that's issue #23 ?
Anyway, I'm calling this sensi-weird because it does appear to be case-sensitive but it doesn't match the case that winget list shows, so that's kinda weird.
Steps to reproduce
Try running wingetcreate update -i using an existing package but "wrong" case.
Expected behavior
Just do a case-insensitive match. If different packages are allowed to have the same name but in different cases, that's going to be a whole 'nother problem.
And also, maybe a separate issue, but make winget list show the actual ID in the ID column.
Actual behavior
Doesn't match
Environment

Windows Manifest Creator v<IP_ADDRESS>

@mnpenner I opted for "Feature" to look at making the "PackageIdentifier" lookup case insensitive. I agree we have several challenges with casing. In the winget-pkgs repository, we try to honor case sensitive publisher and package names for the sake of preference and branding. The --exact argument requires case sensitivity in the Windows Package Manager client. I think in this case, we should be able to match on an exact package identifier without requiring case sensitive lookup, but when we generate the manifest we do so respecting the directory structure/casing for the "latest" manifest we encounter.

I would think that anywhere the ID is displayed, it can be displayed in the publisher's preferred case, but I can't think of a scenario where any of the searches should be case-sensitive, even with --exact. I would assume --exact means no partial matches (nothing before or after) and case-sensitive duplicate PackageIdentifiers shouldn't be allowed in the first place (not sure if they are or aren't).


Feat: Enable graph data reuse in workflows

Description
When using custom pipelines for multiple parameters, the same graph was regenerated many times. To avoid that we now can only generate a single graph and reuse it
Please verify that you have completed the following steps

[ ] I have self-reviewed my code.
[ ] I have included test cases validating introduced feature/fix.
[ ] I have updated documentation.

We should really come up with a convention for when something is called "info" or "data". But other than that it looks good!


Creating multiple RolePolicyAttachment results in attachments getting dropped.

My working code is below. Notice that I had to add an explicit depends on for the third resource. Without this, I'm seeing the first policy attachment for SNS get dropped consistently. Not great as it causes your underlying app in ECS to start failing in strange and unexpected ways.
// Create an IAM role for the ECS task
const taskRole = new aws.iam.Role("ecsTaskRole", {
  assumeRolePolicy: aws.iam.assumeRolePolicyForPrincipal({ Service: "ecs-tasks.amazonaws.com" }),
});

// Attach the AmazonSNSFullAccess policy to the role
const snsPolicyAttachment = new aws.iam.RolePolicyAttachment("ecsTaskSNSRolePolicyAttachment", {
  role: taskRole.name,
  policyArn: aws.iam.ManagedPolicy.AmazonSNSFullAccess,
});

// Attach the AmazonKinesisFullAccess policy to the role
const kinesisPolicyAttachment = new aws.iam.RolePolicyAttachment(
  "ecsTaskKinesisRolePolicyAttachment",
  {
    role: taskRole.name,
    policyArn: aws.iam.ManagedPolicy.AmazonKinesisFullAccess,
  },
  { dependsOn: snsPolicyAttachment },
);

cc @t0yv0 in case the bugs I open are still going into the void.

@EvanBoyle thanks for raising this with us. I've tried a couple of times and haven't been able to reproduce this. It looks like it is not possible to concurrently attach a policy to a role, but upstream has code to specifically handle that scenario. My hunch is that it may have been a perfect race condition or an error in the IAM service that failed to recognize the concurrent operation and send an error code.
If this issue occurs regularly or if you find a way to reliably reproduce this please let us know.

@corymhall sorry, should've included more detailed repro steps

run the program and create only the SNS attachement
add the Kinesis attachment and run the program again
Run a refresh and see that one of the attachements has been deleted (verify the policies attached to the role in the AWS console as well)

I'd be surprised if this is a one off race condition. We saw this in both our development and production stacks.

I'm still not able to reproduce that behavior. Do you know what version of pulumi-aws you are using?

I see references to both 6.33.1 and 6.32.0 in my state file.

I experience something similar too. My attachment drops sometimes after deploy. In my case I only have one attachment and it drops at random after deploy.

We have the same issue.
We create a special admin role by hand everytime we create a new AWS account in our AWS organization to access the account from our root account: You only login into the root account and can then jump to the sub accounts in the org.
We use sst / pulumi to create a new user for programmatic access for a sub account:
/// <reference path="./.sst/platform/config.d.ts" />

export default $config({
  app(input) {
    return {
      name: 'tool',
      removal: input?.stage === 'production' ? 'retain' : 'remove',
      home: 'aws',
      providers: {
        aws: {
          profile: 'org-admin',
          region: 'eu-central-1',
        },
      },
    }
  },
  async run() {
    const documents = new sst.aws.Bucket('Documents')

    const user = new aws.iam.User('programmatic-access-tool')
    const accessKey = new aws.iam.AccessKey(
      'programmatic-access-tool',
      {
        user: user.name,
      },
    )

    // Give the user the policy 'AdministratorAccess'
    new aws.iam.PolicyAttachment('ProgrammaticAccessTool', {
      policyArn: 'arn:aws:iam::aws:policy/AdministratorAccess',
      users: [user.name],
    })
  },
})

Sometimes this drops the AdministratorAccess policy from our OrgAdmin role


fix(frontend-canister): copy .ic-assets.json file from src to dist

Description
for default node starter template: adds webpack copy plugin to copy .ic-assets.json* file from src to dist
How Has This Been Tested?
Checklist:

[x] The title of this PR complies with Conventional Commits.
[x] I have edited the CHANGELOG accordingly.
[ ] I have made corresponding changes to the documentation.

what do you think about instead writing e2e here: https://github.com/dfinity/sdk/pull/2359 ?
there, we will already have a default .ic-assets.json file to test with

Since this PR changes the behavior, I think it'll be better to include a test in this PR with it.  The test can be much simpler than the test in that other PR.


Account type on Right click Player menu

When you right click players in the world, it would be good to be able to see their account type displayed next to their names in the right click panel.
Right now, if someone doesnt talk, you have to view their hiscores and then see if they have entries in any of the Ironman type hiscores, my proposal would essentially make something that looks like the attached image. This doesnt need to be limited to this menu.

We cant really do this because client do not exposes this information

Also, this would just help griefing, so its bad idea.


Copious BlockModel texture logspam

(version 1.2.2) When running the game, a waterfall of "unable to resolve texture due to reference" warnings cascade down the screen, seriously affecting performance and log size.

When you say "x is happening in the log" providing the log is helpful
this is caused by vexxel's texture pack, I can't fix his pack for him.


Deploy to Azure button not working

It shows error on portal.azure.com that "There was an error loading the template from URI 'https://wingtipsaas1.blob.core.windows.net/templates-mt/wtpapp.json'. Ensure that the template is publicly accessible and does not have any comments."

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

ID: 15c96859-ad47-d8bb-7789-e323ca3ededf
Version Independent ID: c386cb71-20ee-4ef3-e453-79bd93808e53
Content: Deploy a sharded multi-tenant database SaaS app that uses Azure SQL Database
Content Source: articles/sql-database/saas-multitenantdb-get-started-deploy.md
Service: sql-database
Sub-service: scenario
GitHub Login: @MightyPen
Microsoft Alias: genemi

@Rcoder0907 Thank you for taking the time to report this issue.
We will work with the repo owner to get it fixed.

@Rcoder0907 I have created an issue on the repo.
It should be fixed at the earliest.
We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

@MightyPen @Rcoder0907 The issue is fixed now.
You should be able to publish without any issues

@Rcoder0907 We believe that this Issue #42077 is now fixed.

Related to:   https://github.com/microsoft/WingtipTicketsSaaS-MultiTenantDB/issues/14

I am now Closing this fixed Issue:
#please-close
Thank you for submitting this Issue. We hope to hear from you again.
cc: @KalyanChanumolu-MSFT


[BUG] Value is stored for longer than FailSafeMaxDuration

First of all, thank you for this library!
The best .NET caching library out there. 👍
Describe the bug
According to the Options docs, the field FailSafeMaxDuration is the amount of time a cached entry will be available when using fail-safe.
This is also backed by the FailSafe docs. That example describes a Duration of 5 minutes, a FailSafeMaxDuration of 2 hours, and a FailSafeThrottleDuration of 1 minute, and concludes:

a total 2 hours is passed (FailSafeMaxDuration): the value is actually deleted from the cache, like, for real

However, using the same example with smaller durations (see below), it seems that the cache is never deleted when the factory consistently fails.
To Reproduce
Here's a MRE (Minimal Reproducible Example) of the issue:
using ZiggyCreatures.Caching.Fusion;

var cache = new FusionCache(new FusionCacheOptions());
var entryOptions = new FusionCacheEntryOptions
{
    Duration = TimeSpan.FromSeconds(5),
    IsFailSafeEnabled = true,
    FailSafeMaxDuration = TimeSpan.FromSeconds(10),
    FailSafeThrottleDuration = TimeSpan.FromSeconds(2),
};

await cache.SetAsync("key", "value", entryOptions);

for (var i = 0; i < 60; i++)
{
    var value = await cache.GetOrSetAsync<string>("key", _ => throw new Exception(), entryOptions);
    Console.WriteLine($"[{i}s] Got value: {value}");

    await Task.Delay(1000);
}

Expected behavior
It should not be possible to get the value after 10 seconds. It should throw an exception.
Actual behavior
It keeps getting the value for forever.

Note, setting FailSafeThrottleDuration to a super high value makes it behave slightly better. In my example, it would throw an exception after 15 seconds. Still, according to documentation, it should happen after 10 seconds. And besides, using a throttle is a good idea.
Versions
I've encountered this issue on:

FusionCache 1.0.0 and 0.26.0
.NET 8
Win 11

Additional information
As an aside, in the FailSafe docs it says:

FailSafeMaxDuration: how long a value should be kept around at most, after its logical expiration

That makes it sound like if Duration is 5 seconds and FailSafeMaxDuration is 10 seconds, the total time the value would be kept around is 5+10 seconds. But that's inconsistent with the rest of the docs, including some of your answers, stating it will take the highest value of the two.

Hi @F2 and thanks for using FusionCache.
Sorry for the delay but I was at the MVP Global Summit and was not able to look into this.
Anyway interesting, you seem to be right at first glance: now that I'm back I'll look into this asap and will let you know.
Thanks!

I'm looking into this, will update soon.

Update: ok I think I've found the culprit, working on the best way to make the change considering all the edge cases.

Hi, I just release v1.1.0 🥳

@jodydonetti Thank you so much. I can confirm it works in my code. 🤩


Refactor riak_kv_qry_worker

Refactor of riak_kv_qry_worker.

Remove the unused #state.status field that was written to but never checked.
Remove the unused #state.name field that was written to but never checked. This is the registered name for the process and available from it's process info.
Functions to extract data from the ?SQL_SELECT records to clean up function headers.
Extract code into it new functions e.g. in case statement bodies.

Motivation
Remove cruft and prepare for all the changes that will arrive for temporary tables and streaming queries.
There are more changes in this style in the streaming queries WIP https://github.com/basho/riak_kv/pull/1415.

@borshop merge


Add explorer eval and gambits explorer and explorer practice button toggles to the Explorer options

Added in v2.1.15


Delete Issue:

const photos = [];
      for(var i=0;i< localIdentifier.length;i++)
      {
          photos.push({ uri: 'ph://'+localIdentifier[i]})
          console.log(localIdentifier[i])
      }

      const alAssetUris = photos.map(({ uri }) => {
        const [, identifier] = uri.match('ph://([^/]+)');
        console.log('identifier '+identifier);
        if (!identifier) {
          console.error(`Unable to find identifier from asset "${uri}"`);
          return uri;
        }
        return `assets-library://asset/asset.JPG?id=${identifier}&ext=JPG`;
      });

      console.log(alAssetUris)

      await CameraRoll.deletePhotos( alAssetUris );

Currently I am using this code for IOS in react native version 0.62.2.. This code is not worked. Please help us to implement. Cant get any log information in Xcode.

Please tell me how to delete after importing photos from photos app. I have mentioned the code what I used

Hi, this looks like a usage question that will probably get better results on Stack Overflow. Closing it here for now, let me know if I'm misunderstanding it and I'll reopen the issue.


Screenshots are not updated in "Create and Publish a GraphQL API" page

Description:
Some of the screenshots in the Create and Publish a GraphQL API page is not updated.
For example see the screenshot below.

Affected Product Version:
3.2.0

Fixed with
https://github.com/wso2/docs-apim/pull/2621
https://github.com/wso2/docs-apim/pull/2639


Angular 7 Support

Describe the bug
Running:
ng update @clr/angular
Results in the follwoing error:
Package "@clr/angular" has an incompatible peer dependency to "@angular/common" (requires "^6.0.0", would install "7.0.0")
How to reproduce
Have existing project on Angular 6.x.x and Clarity 0.13.x
Follow the recommended upgrade procedure as described here: Step 6: Update Clarity
First upgrade Angular:
ng update @angular/core
Then try upgrade Clarity:
ng update @clr/angular
Expected behavior
Clarity supports Angular 7.x.x
Versions
Angular: 7.0.0
Node: 9.11.1
Clarity: 0.13.1-patch.1
Device:
OS: Windows 10 x64

This is part of the 1.0 milestone and will be coming out soon. This is already covered by #2729 and #2154. Watch for the 1.0 beta and RC releases to update to Angular 7.

Alright, thanks.


Drop-in plugin support for WordPress

WordPress drop-in plugins are located in the root of wp-content. In most cases, these are advanced configuration tools to overload inner workings of WordPress, like the object-cache, main database class, output caching, etc...
A full list of supported drop-ins can be most conveniently found in this blog post from a prolific WordPress contributor:
https://hakre.wordpress.com/2010/05/01/must-use-and-drop-ins-plugins/

Redundant to #265 or you @johnjamesjacoby see a difference.
Best.

Redundant to #265 or you @johnjamesjacoby see a difference.

Very redundant. I'll close this. Thanks!

But open for longer time. Maybe the new like button can help ;)


Time Tracking "Invalid time format"

Do you want to request a feature or report a bug?
BUG
What is the current behavior?
Time tracking in projet = Invalid time format
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Project -> Time tracking -> New time tracking.
What is the expected behavior?
When I notice a time less than 1:00 I get the following message:
Invalid time format.
But when i notice a time upper 1:00 i have no error

Did this work in previous versions of DocumentServer?
Yes
DocumentServer version:
<IP_ADDRESS>
Operating System:
Ubuntu Server 16.04
Browser version:
Firefox 59.0.2

@ArkaineHeinlein
The fix is included into the latest version of the product. (already available)
Just update Community Server to 9.6.1

I have do that and noting happen

Please specify the version and the type of installation


send small packet cause long delay on windows

in autobahn test case 1.1.1, autobahn client received all data at once from async/sync echo server when the socket was closed.
I've tried turning on TCP_NODELAY, but the result remains same.
There is also a register key(TcpAckFrequency) specifying the number of ACKs that will be outstanding before the delayed ACK timer is ignored, but it requires a restart of system.
tested on win7/win10 64bit, msvc14.0, boost 1.62.0, autobahn 0.7.5

You mean this test case?
http://vinniefalco.github.io/autobahn/sync_echo_server_case_1_1_1.html
I don't understand the problem - you said that the client "received all data at once." This is correct behavior, the test sends a single message with payload size zero. The test also indicates "wasClean==True", meaning that the close frames were properly sent and receives.
What exactly is the problem here?

case 1.1.1  requires first message to be echoed within 1 sec. The wire log should looks like TX,RX,TX,RX. While in my case, it is TX,TX,RX,RX.

Okay, so this problem only happens on your configuration? Are you running the echo server from the debugger? Are you running a Release build? Do you have _NO_DEBUG_HEAP=1 set in your Environment (project properties)?

I just re-ran the Autobahn test suite, on Windows 10 using the RelWithDbgInfo target, and _NO_DEBUG_HEAP=1 in the project environment. There were no failures:
http://vinniefalco.github.io/autobahn/index.html

Were you able to gather any additional information on this issue?

I've run the Autobahn test suite many times and I have not been able to reproduce your issue. Without additional information, there is nothing I can do. If you have more information, feel free to re-open this or create a new issue, thanks.


fix: not updating zone list view after deleting

fix: not updating Zone CP list view after deleting
Fixes not updating the Zone CP list view after deleting one.
Signed-off-by: Philipp Rudloff<EMAIL_ADDRESS>

I’ve added a test for this now.


The functions in pointnet_util.py are completely implemented in Python without cuda?

Description: in pointnet_util.py, the functions, such as query_ball_point and farthest_point_sample, are completely implemented in Python without CUDA.
My question: are these functions as efficient as those cuda implementation such as the library pointops?

not very efficient yet, when using s3dis dataset, the knn operator will make GPU out of memory easily.

Thanks for your reply!
Thus, it is better to use the corresponding CUDA implementation of the operations such as FPS and KNN, isn't it?

not very efficient yet, when using s3dis dataset, the knn operator will make GPU out of memory easily.

In my experiment, the program runs out of GPU memory when running torch.einsum(...) on 2048 points. Thus, I have to decrease the batch size to 8.
However, it is not the best solution. We need to use the corresponding CUDA implementation.

Yes, I think it would be the best to have them implemented with a custom CUDA kernel. Maybe you can have a look at https://github.com/erikwijmans/Pointnet2_PyTorch.git, which implements grouping/interpolation with custom CUDA kernel.

@EricLina did you work on S3DIS data with this repo?

@EricLina did you work on S3DIS data with this repo?

Right

@EricLina did you work on S3DIS data with this repo?

Right

Could you please elaborate few things:

Did you use the codes here directly for S3DIS or you have made some changes?
Which model did you use? The Hengshuang?
Did you get the similar accuracies with the ones reported on the paper?

Thanks!!

I did not change the code, if you can't run it up, you would better to check your dataset preparations.
Yeah, there are two models using the same name, Hengshuang's and Tsinghua's. I used Hengshaung's model.
using qqcvb's code, I got 69.84 mIoU, (training 48h on single A30, batch_size 2).

For those who would like to use FPS but are not able to compile the custom CUDA kernel for FPS, you could try the FPS implementation from Deep Graph Library (DGL) here
It is much faster than the pure python FPS implementation from https://github.com/yanx27/Pointnet_Pointnet2_pytorch (~18x faster in my case), and it is still pure python code.

Yes, I think it would be the best to have them implemented with a custom CUDA kernel. Maybe you can have a look at https://github.com/erikwijmans/Pointnet2_PyTorch.git, which implements grouping/interpolation with custom CUDA kernel.


Undefined Functions

Hey,
great Wrapper!
But I got the following errors:
..\..\q231950\xingapi\consumercredentials.go:8: undefined: ConsumerCredentia
..\..\q231950\xingapi\consumercredentials.go:9: undefined: ConsumerCredentia
..\..\q231950\xingapi\oauthauthenticator.go:66: undefined: NewCredentials

consumercredentials:
package xingapi

type ConsumerCredentialsExample struct {
	Token string
	Secret string
}

func NewCredentialsExample() ConsumerCredentials {
	return ConsumerCredentials{"xxx", "xxx"}
}

Have you an idea?

I think I fixed with renaming the Function.

Hello MuhPirat, as you can see in the .gitignore https://github.com/q231950/xingapi/blob/master/.gitignore#L28 the ConsumerCredentials.go file is being ignored. As described in the readme the user of the xingapi client is supposed to copy ConsumerCredentialsExample.go to ConsumerCredentials.go since your sensitive XING token/secret will be stated there. As it is being ignored by the git you are on the safe side in case you push any changes to a possibly public remote.


fix: request header modifier removing HTTPRoute

Signed-off-by: bitliu<EMAIL_ADDRESS>cc @AliceProxy

Codecov Report

Merging #724 (98ef0ca) into main (ee75e3b) will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #724      +/-   ##
==========================================
- Coverage   63.64%   63.47%   -0.17%
==========================================
  Files          47       47
  Lines        5927     5927
==========================================
- Hits         3772     3762      -10
- Misses       1919     1929      +10
  Partials      236      236

Impacted Files
Coverage Δ

internal/provider/kubernetes/tlsroute.go
53.74% <0.00%> (-5.73%)
:arrow_down:

internal/provider/kubernetes/gatewayclass.go
75.36% <0.00%> (+2.17%)
:arrow_up:

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


Move bamsarts button to the footer with other contributors.

It looks out of place.

Pull request submitted https://github.com/sudz123/Happy_Hacking/pull/209


Page title

Add page title to most pages

Fixes https://github.com/inventree/InvenTree/issues/275


Content gathering from searXNG response websearch

Hey @ItzCrazyKns,
I wanted to commend you on this repository—it's a gem. The project structure is well-organized, and the logic is solid. I recently forked your code, built it locally, and ran some tests—everything worked seamlessly!
While reviewing the academicSearchAgent.ts file in the src/agents folder, I noticed that you're using the 'content' from the SearXNG response directly in the document's page_content. However, it seems like the snippet contains only a small portion of text. I might be missing some detail here, so please feel free to correct me if I’m wrong, but could you explain how this limited content is enough to serve as context in your implementation?

Thanks!

I thought about this for a while and was sure someone’s definitely gonna ask it. So I'll explain it in detail:
First of all, let's talk about how Perplexity does it. Perplexity maintains its own index, built by its crawlers or open data, who knows, and performs searches on it just like Google does, but exposes more content than Google, and thus the model has more data to write up an answer on. It uses something more than a simple keyword-based search, not something AI-related for sure. It’s able to do it at lightning speed, which tells me they’re using something more than a simple keyword-based search and their models are getting more data.
Now, in Perplexica, I can't maintain an open-source search index like Google, Bing, and Perplexity have, so I had to rely on popular search engines to gather data to answer the question. That being said, I chose SearXNG, which is a metadata search engine and gathers data from popular search engines like Google, Bing, Brave, Yahoo, etc. Initially, I had decided to scrape each website, perform similarity searches, and then gather data for answering, but that would take too long, like tooo long, so I decided not to do it. I had to find another way to tackle the problem, so all I did was perform a similarity search on the content received from SearXNG and then pass it to the model for answering.
Now the question arises, is this beneficial? It indeed is. See, most search engines perform keyword-based searches, and we are able to get the data we need from multiple sources, at least most of it. It returns a short snippet of the website, and the model is able to generate an answer from that snippet. We get data from 10-15 snippets, which is enough to create sufficient knowledge for the model to write up an answer. Most models are aware of things and are able to infer information in between, which we call hallucinating. This happens very rarely when not enough data is scraped.
What is the solution for it? The Co-pilot feature I’m working on will bring something close to scraping the whole website. It won’t be exactly like how Perplexity’s Co-pilot feature works, but it will be something of its own and will provide really good quality answers.
Those were all my thoughts. Have a good day!


InstructionScheduleMap parameters should be ParameterExpressions

What is the expected enhancement?
The input parameters into the InstructionScheduleMap should be expected to be ParameterExpressions. Types and tests should be updated accordingly. This is a follow on to #3385.

Do you mind if I take this on?

@srijithprabhu If you’re not still looking at this, I’d be interested in taking a look

Given there's been little movement on this I'm good to reassign to you @menehune23. Thanks for taking this on.
The follow up if interested after is #3384 which would be a very valuable feature, essentially turning Schedules into functions and opening up the door to reusable code representations.

Sure @taalexander, I’d love to take them both on :)

If you have questions that need quicker answers you can always feel free to find me on our Slack.

@taalexander I've got a bit of a concern, as it looks like ParameterExpressions represent real numbers (based on how they return self when conjugating), while the existing param type for InstructionScheduleMap seems to support complex numbers (Union[int, float, complex]). Are parameters here expected to be real always?
Also, is this going to be a breaking change for any downstream consumers of this class? I'd imagine the parameter type change would break existing use-cases.

For now if a ParameterExpression is passed to get/pop could we just pass it through to the underlying function? If passed to the very rough https://github.com/Qiskit/qiskit-terra/blob/f132cf7fc69920f393bc2055e98f20e8e7d6bce0/qiskit/pulse/schedule.py#L744
(was originally meant to be temporary and replaced by #3384).
This class could be modified to try and cast the ParameterExpression to a float, and raise if not possible.

@taalexander Were you referring to casting from within ParameterizedSchedule? I could go with that approach, but since this issue pertains to params for schedule generator functions as well as ParameterizedSchedules (for instance, this generator:  https://github.com/Qiskit/qiskit-terra/blob/master/test/python/pulse/test_instruction_schedule_map.py#L195), it might be less breaking to cast to a float before calling any generators/schedules. It's easy to update ParameterizedSchedule, but difficult to make users update their generator functions. Thoughts?

I suppose if schedules will eventually support parameters (per #3384), I could see the argument for NOT converting to floats within the InstructionScheduleMap. I put up a PR (#4940), so feel free to discuss further there if appropriate.

My apologies for the delay (I work a lot on the backend and often have to put my head down there). If you find me taking forever to respond, I'm typically pretty quick on Slack.

I suppose if schedules will eventually support parameters (per #3384), I could see the argument for NOT converting to floats within the InstructionScheduleMap. I put up a PR (#4940), so feel free to discuss further there if appropriate.

I think I agree with this. I view the ParameterizedSchedule as more of a constrained schedule generator function for calibration generation functions coming from the backend, eg., it expects a certain format and is constrained to a limited amount of parameter math so as to prevent arbitrary code execution dictated by a remote source. It was always meant to be a temporary solution being deprecated in favour of a proper representation for functions with a signature ("parameterized schedules") in the pulse IR.

@taalexander No problem at all. For myself, I don't get as much free time to work on Qiskit as I'd like due to my family and regular job, so I'm not in a big rush.
I've thought about this some more in the meantime. Given that ParameterizedSchedule is meant to be temporary, it might be good to cast to float before passing params to a schedule (again, to not break existing generator functions). In the future, if params need to be left unbound when passed to a newer schedule type (i.e. when #3384 is implemented), we can do a type check and choose to only cast to float for function schedules, leaving as ParameterExpressions otherwise.
If that makes sense, and if you agree with it, then my PR #4940 can remain as is.


Should call postOpen only after Connect is succeeded

When DB connection is failed in Connect, myconn might be null.
So, calling postOpen may causes SEGV.

Coverage decreased (-0.8%) to 64.079% when pulling 5125e903d1dedebc9643ea167aa5e3909b5fea52 on unak:fix-segv-after-connection-failure into 556c9f06750e945ff295980976162710b9e43af3 on shogo82148:master.

Coverage decreased (-0.8%) to 64.079% when pulling 5125e903d1dedebc9643ea167aa5e3909b5fea52 on unak:fix-segv-after-connection-failure into 556c9f06750e945ff295980976162710b9e43af3 on shogo82148:master.


Carthage support please :)

:heart:

Hey, I'd be happy to accept PR adding it but I doubt I'll have time to add it myself anytime soon.
Whole code of this algorithm is enclosed in just 2 files :)
Most of my free time is focused on Sourcery


add CFPB open source template files

This adds all of the CFPB open source files as found in https://github.com/cfpb/open-source-project-template

yes plz


BAEL-5915 Added different ways to create an object

The diff looks odd, created https://github.com/eugenp/tutorials/pull/13539 instead.


Use HeroIcons rather than Material Icons

I think Hero Icons are just better.

For what?

Oh, for the upcoming extension popup :)

Ah, okay!


Create a plugin for additional filetypes (such as parquet)

This creates a new plugin for xiplot that (currently) adds parquet and feather (not in WASM) support.
The support for those formats is removed from xiplot, but the plugin is added as a (non-WASM) dependency.
The plugin is in the same repo since it is literally just two files (one __init__.py and one pyproject.toml).
(I'll update the WASM branch to have this as a recommended plugin, if the plugin seems like a good idea)

With the suggested minor tweaks, this looks good to me.


Start health checks early.

Do not wait a full tick cycle to execute the first health check.
Additional changes:

Make request timeout configurable (for testing purposes).
Support synchronizing on health check goroutine termination through an internal wait group (for testing purposes).
Stop leaking by closing the HTTP response body.
Extend health check logging and use WARNING level for (continuously) failing health checks.

@dtomcej feel free to continue where you left off. :-)

I would prefer to not modify the code for testing purpose only.
It could lead to confusion/issue in the future.
Can with think of another solution for testing?

We need some kind of synchronization point to make sure all health check goroutines have completed by the time the test asserts the results. Without modifying the code, the only alternative I see is to wait a constant amount of time and hope that all requests have finished. However, that leads to both longer-than-necessary test runtimes and a potential source of flakiness, both of which I consider worse that the addition of a wait group.
I tried to use the injected loadBalancer to signal when the health checks are complete, but it turned out we can't use that because not all test paths call methods on the loadBalancer (e.g., "healthy server staying healthy"). I'm at a point where I think it might be possible to make it work, but only at the price of a much more complicated test implementation.
Thus, a handful of extra prod code to simplify testing seems justified. I've made sure the wait group is commented and unexported so code outside of the healthcheck package won't be able to access it.
WDYT?

Ouch, not sure on this, sorry.
Designing the code to make it easily testable, I'm OK with that. But adding test parts directly into the code is a whole different story. Especially sync stuff ^^
@containous/traefik WDYT ?

@emilevauge I think I found a way: Did a bit of refactoring so that I can start the health-checking goroutine concurrently from the test; that way, I can also define the wait group in the test.
The downside of this is that I'm not strictly testing a public API anymore but an unexported function. But that's not the worst either. You never get a lunch for free. :-)
Let me know what you think.

Could you rebase again ?

@emilevauge squashed and rebased.


crash when picking image on Google Photo, Samsung Gallery

Case of Google Photo
urlString: content://com.google.android.apps.photos.contentprovider/2/1/mediakey%3A%2Flocal%253Aa76ef5cf-a011-4999-ac93-0cb9b29f998e/ORIGINAL/NONE/1522628562
or
urlString: content://com.google.android.apps.photos.content/2/1/mediakey%3A%2Flocal%253Aa76ef5cf-a011-4999-ac93-0cb9b29f998e/ORIGINAL/NONE/1522628562

Case of Samsung Gallery
urlString: content://com.sec.android.gallery3d.provider/union/image/item/2104

In most cases, this is an error because user tried to fetch an image that does not exist on your physical device. Therefore, we will process the exception in that part.


egress gateway not creating - Failed to assign to any requested addresses: hostname "egress.istio-egress.svc.cluster.local" not found"

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
Trying to deploy an egress gateway using the waypoint proxy:
based upon this doc https://istio.io/latest/docs/ambient/usage/waypoint/#deploy-a-waypoint-proxy
and this blog: https://www.solo.io/blog/egress-gateways-made-easy/
The gateway remains in a "PROGRAMMED" false state.
Version
istioctl version
client version: 1.23.0
control plane version: 1.23.0
data plane version: 1.23.0 (11 proxies)

kubectl version
Client Version: v1.31.0
Kustomize Version: v5.4.2
Server Version: v1.29.7-eks-2f46c53

Additional Information
bug-report.tar.gz

{"level":"error","time":"2024-08-29T22:07:24.540321Z","scope":"controllers","msg":"error handling istio-egress/egress, retrying (retry count: 4): apply failed: patch apps/v1, Kind=Deployment/istio-egress/egress: admission webhook \"validate.kyverno.svc-fail\" denied the request: \n\nresource Deployment/istio-egress/egress was blocked due to the following policies \n\nallowed-registries-r7-istio-xgress:\n  autogen-r7-repos-istio-auto: All images in this Pod must come from an authorized\n    repository.\n","controller":"gateway deployment"}

from your istiod logs

ah thank you.

I found this while trying to troubleshoot this issue: is the following still needed
istiod:   pilot:     env:       PILOT_ENABLE_ALPHA_GATEWAY_API: "true"

only if you need the alpha APIs (tcp route, tls route, etc)

got it, thank you.


can I takeover S3 bucket?

Service name

I have a subdomain xyz.domain.com where (Hosted/pointed) to S3 bucket but as you can see from above image that the bucket error  AccessDenied
so I tried checking is Bucket is already taken or not using aws-cli

seeing this I claimed S3 bucket and hosted publicly still the xyz.domain.com gives the same exact error message as (Image1)
I did checked nslookup which it was pointing to fastly

I tried claiming xyz.domain.com but it was already clamied(Domain 'domain.com' is owned by another customer)

what I Have tried?

I have Adding xyz.domain.com to Route53 and I was successful with it but it still shows the error from image[1]
Updated Both CNAME and A record with appending www[1].xyz.domain.com

how can you takeover already claimed bucket?

I claimed the bucket not someone else

Please read the comment again even if I add bucket that doesn't do anything on xyz.domain.com still it was showing same error I enabled static hosting too, if you clearly read the comment I stated the cname is pointing to fastly but not S3 but there server header is showing AmazonS3. This is edge case and I want to know what's happening if you guys know please let me know I think there is misconfiguration in DNS server

If you add the bucket the bucket doesn't exist error will change to access denied in case of xml format takeover of s3 bucket than you change it to static hosting but you missed also adding bucket policy i get. That doesn't  matter if they have fasty or cloudflare or edge in case of cdn.

@GDATTACKER-RESEARCHER can you please elaborate.
{
"Version": "2012-10-17",
"Id": "Policy167899115xxxx",
"Statement": [
{
"Sid": "Stmt167899114xxxx",
"Effect": "Allow",
"Principal": "",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::xyz.domain.com/"
}
]
}
Here is my policy, and I don't know the term XML format takeover, what I'm assuming is if the someone already did XML format takeover then it shows 403 error but they didn't update the policy to S3 bucket.  But still I'm confused how cloud I takeover S3 bucket.

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": {
"AWS": ""
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::xyz.domain.com/"
}
]
}
that guy mean there are 2 type of takeover errors in s3 takeover one shows error in xml format where as other is normal white page with error metioned try this policy it will work and try visiting path to your uploaded file than.

The policy is indeed correct and I'm able to access my html file at http://xyz.domain.com.s3-website-us-east-1.amazonaws.com

@GDATTACKER-RESEARCHER it's not about accepting the report or not I just want to know what could be the developer did the mistake to show such response. And btw the report got duplicated in H1 but still want to know!!

@GDATTACKER-RESEARCHER, @knowthetech, @EdOverflow, @codingo
Hey there, I was able to figure out what's going on in this scenario thanks to Green-jam, who provided me with a lead from which I was capable of replicating this scenario.
Here are my Findings,

firstly, I have an S3 bucket abc.rhack.tech.s3-website-us-east-1.amazonaws.com that is public and has static hosting enabled in this situation, but the above it is hosted in an unknown bucket that we cannot discover, why? I'll explain further below.

Dev is achieving this by making his S3 data buckets available via Fastly.
2.1)  Adding his subdomain xyz.rhack.tech to fastly, [where in the above scenario its xyz.domain.com]
2.2)  then as for host he is pointing it to S3 bucket [abc.rhack.tech.s3-website-us-east-1.amazonaws.com], [where in the above scenario its Unknown]

lastly, Adding CNAME to DNS
3.1) I have added my fastly-dns [xyz.rhack.tech.global.prod.fastly.net] to target field
which will obfuscate S3 bucket from dig, nslookup, reverse lookup, etc.

So, the above scenario is a false positive and cannot able to perform S3 bucket takeover
Green-jam : fastly is connected to an S3 bucket that you don't have the details of. The S3 bucket you have claimed may just effectively be a random S3 bucket that matches the subdomain name. The actual S3 bucket connected to by fastly that you do not know the name of, plus it already looks claimed anyway hence the 403 from s3.
regards,
@C0oki3s


SimpleRelay syslog listener for Palo Alto

Define a config snippet

may be done, may be in playbook.


Bad CucumberExpression creation performance

👓 What did you see?
On my project with about 150 stepdefs and about 400 test scenarios, the IntelliJ profiler says the CucumberExpression.<init> method takes 25.9% of the total CPU time. This is because the method is called for all step defs and for all test scenarios. I think the performance could be better.
✅ What did you expect to see?
I expect  CucumberExpression.<init>  to avoid unnecessary processing (contributes to #2035).
I understand that cucumber-java8 can introduce dynamic behavior which requires parsing the expressions for each test scenario. However, I think we can safely cache everything that is constant and does not depend on cucumber-java8. I identitifed the following performance improvement points in CucumberExpression:

TreeRegex creation: in CucumberExpression constructor, this object serves to get some "metadata" about a regular expression itself (i.e. not depending on context). Thus, two identical regular expressions will lead to the same TreeRegp, so the creation is cacheable.
The original code:
this.treeRegexp = new TreeRegexp(pattern);

could be replaced by (treeRegexps is a static Map<String, TreeRegexp>):
this.treeRegexp = treeRegexps.computeIfAbsent(pattern, TreeRegexp::new);

calls to escapeRegex in the rewriteToRegex method are done on the Node.text() content: two identical Node.text() will lead to the same escaped result, independently of the context. Thus, the result of escapeRegex is cacheable.
The original code:
return escapeRegex(node.text());

can be replaced by (escapedTexts is a static Map<String, String>):
return escapedTexts.computeIfAbsent(node.text(), CucumberExpression::escapeRegex);

These two optimization points lead to four combinations to be benchmarked (original version is createExpression0). The benchmark consists in creating 400 times five different expressions:

Benchmark
cached calls to escapeRegex
cached TreeRegex creation
ops/s

CucumberExpressionBenchmark.createExpression0
no
no
153,024 ± 13,800

CucumberExpressionBenchmark.createExpression1
yes
no
181,960 ± 12,133

CucumberExpressionBenchmark.createExpression2
no
yes
186,236 ± 11,232

CucumberExpressionBenchmark.createExpression3
yes
yes
219,890 ± 12,365

Caching the TreeRegex creation lead to 22% performance improvement and using both methods lead to 44% performance improvement.
On a real project with about 150 stepdefs and 400 test scenarios, the IntelliJ Profiler runs is about 7700 ms and says that CucumberExpression.<init> is:

25.9% of the total CPU time with the original version (1994 ms)
15.7% of the total CPU time with both optimizations enabled (1209 ms, i.e. that's a 785 ms improvement on total time, or 10%)

I suggest to use the variant createExpression3 and I would be happy to propose a PR.
📦 Which tool/library version are you using?
Cucumber 7.10.1
🔬 How could we reproduce it?
The benchmark with the four variants is in
cucumberexpressions.zip
Steps to reproduce the behavior:

Create a Maven project with the following dependencies:
 <dependency>
     <groupId>io.cucumber</groupId>
     <artifactId>cucumber-java</artifactId>
     <version>${cucumber.version}</version>
     <scope>test</scope>
 </dependency>
 <dependency>
     <groupId>io.cucumber</groupId>
     <artifactId>cucumber-junit-platform-engine</artifactId>
     <version>${cucumber.version}</version>
     <scope>test</scope>
 </dependency>
 <dependency>
     <groupId>io.cucumber</groupId>
     <artifactId>cucumber-picocontainer</artifactId>
     <version>${cucumber.version}</version>
     <scope>test</scope>
 </dependency>
 <dependency>
     <groupId>org.openjdk.jmh</groupId>
     <artifactId>jmh-generator-annprocess</artifactId>
     <version>1.36</version>
     <scope>test</scope>
 </dependency>

Run the benchmark

I would welcome a pull request for this, but the cache should not be static.
Consider extracting the code from the CucumberExpression constructor to a CucumberExpressionFactory. This factory could then be instantiated in the ExpressionFactory with a cache instance. Note that the  RegularExpression also create a TreeRegex. The same optimization may be useful there.

Ah. Please disregard my previous comment.
The ExpressionFactory is instantiated with a ParameterTypeRegistry which contains scenario specific state. I need to think about this. At some point it becomes easier to remove cucumber-java8 and then refactor cucumber-core instead.

I don't see the issue with ParameterTypeRegistry : the proposed solution only cache things that are "really constant" (i.e. that are not impacted by cucumber-java8).
I don't think the static cache will cause a real memory usage issue because on my project with ~150 stepdefs and ~400 test scenarios, the TreeRegex cache has only 117 elements and the escapedTexts cache has only 205 elements. However, if you want to replace the static caching, the ExpressionFactory could create a Runner which holds the TreeRegex cache. This Runner would be passed to RegularExpression and CucumberExpression constructors (small API change), with the advantage to have only one TreeRegex cache instead of two (one in RegularExpression and CucumberExpression). The Runner could hold the escapedTexts as well.
Caching the TreeRegex in RegularExpression makes the constructor 4 times faster (JMH benchmark: uncached=7'000 ops/s, cached=28'000 ops/s). On my project with 150 stepdefs and 400 test scenarios, this makes no impact because the RegularExpression.<init> was contributing to only 0.34% of the total CPU time. But this may be different with other projects.
Good point on thread-safety. TreeRegex looks thread-safe. GroupBuilder.add() method is not thread-safe because it calls ArrayList.add(), but I don't think this is an issue as GroupBuilder.add() is only called when the GroupBuilder is constructed in TreeRegex.createGroupBuilder(). Maybe the GroupBuilder could be modified to remove the add() method with a Builder pattern in order to ensure thread-safety (TreeRegex.createGroupBuilder() could be moved to this Builder for a better separation of concerns).

I don't see the issue with ParameterTypeRegistry : the proposed solution only cache things that are "really constant" (i.e. that are not impacted by cucumber-java8).

I was hoping to keep a non-static cache in the ExpressionFactory and then retain a reference to the factory in Cucumber-JVM. But this isn't feasible right now. While I'm not too worried about leaking memory this way, not having statics anywhere makes it much easier to reason about (concurrent) code.
And while this does make steps towards https://github.com/cucumber/cucumber-jvm/issues/2035 it would become mostly obsolete the moment we drop cucumber-java8 and build every cucumber expression exactly once. So I would rather spend time working towards improvement that don't become obsolete in the future.
Would it be possible to create an optimization for  escapeRegex that doesn't depend on caching?

I'll try to optimize escapeRegex without caching (I'm thinking about a custom String.replace(String,String) method, but this would require more effort and the code would be more complex than a simple regexp).

I've refactored the escapeRegex method with two different methods inspired by String.replace(String,String):

Method
Description
ops/s

escapeRegex0
The original method CucumberExpression.escapeRegex
1'200'000

escapeRegex1
Escaping character by character
8'300'000

escapeRegex2
Escaping characters by blocs
6'300'000

The escapeRegex1 is 7 times faster than the original version and is implemented as follows:
/**
 * List of characters to be escaped.
 * The last char is '}' with index 125, so we need only 126 characters.
 */
public static final boolean[] CHAR_TO_ESCAPE = new boolean[126];
static {
    CHAR_TO_ESCAPE['^'] = true;
    CHAR_TO_ESCAPE['$'] = true;
    CHAR_TO_ESCAPE['['] = true;
    CHAR_TO_ESCAPE[']'] = true;
    CHAR_TO_ESCAPE['('] = true;
    CHAR_TO_ESCAPE[')'] = true;
    CHAR_TO_ESCAPE['{'] = true;
    CHAR_TO_ESCAPE['}'] = true;
    CHAR_TO_ESCAPE['.'] = true;
    CHAR_TO_ESCAPE['|'] = true;
    CHAR_TO_ESCAPE['?'] = true;
    CHAR_TO_ESCAPE['*'] = true;
    CHAR_TO_ESCAPE['+'] = true;
    CHAR_TO_ESCAPE['\\'] = true;
}

public static String escapeRegex1(String text) {
    int length = text.length();
    StringBuilder sb = new StringBuilder(length);
    for (int i = 0; i < length; i++) {
        char currentChar = text.charAt(i);
        if (currentChar < CHAR_TO_ESCAPE.length && CHAR_TO_ESCAPE[currentChar]) {
            sb.append('\\');
        }
        sb.append(currentChar);
    }
    return sb.toString();
}

The code is pretty simple and elegant.
The escapeRegex1 is implemented as follows:
// CHAR_TO_ESCAPE ommited for brivety (same as above)

public static String escapeRegex2(String text) {
    int length = text.length();
    StringBuilder sb = new StringBuilder(length);
    int blocStart=0;
    for (int i = 0; i < length; i++) {
        char currentChar = text.charAt(i);
        if (currentChar < CHAR_TO_ESCAPE.length && CHAR_TO_ESCAPE[currentChar]) {
            if (i > blocStart) {
                // flush previous block
                sb.append(text, blocStart, i);
            }
            sb.append('\\');
            sb.append(currentChar);
            blocStart=i+1;
        }
    }
    if (length > blocStart) {
        // flush remaining characters
        sb.append(text, blocStart, length);
    }
    return sb.toString();
}

The code is a bit more complex and slower than escapeRegex1.
Should I do a PR with only this optimization with escapeRegex1 (i.e. without caching the TreeRegex and without caching calls to escapeRegex) ?


SAKIII-4167 fix but when no counts are defined

https://jira.sakaiproject.org/browse/SAKIII-4167

Merged via squash


dev: possibly changing storage architecture

Not sure if storage architecture is the right term here. I'm seeing that to obtain the transaction receipt via get_transaction_receipt ,the logic of doing so is
 let find_receipt = block
            .transaction_receipts()
            .into_iter()
            .find(|receipt| receipt.transaction_hash == transaction_hash.into())
            .map(|receipt| {
                receipt
                    .clone()
                    .into_maybe_pending_transaction_receipt(TransactionStatus::AcceptedOnL2, (block_hash, block_number))
            });

looping through the receipts in the block O(n) and populating the output TxReceipt struct. This could work in the case where transaction per block is low but would possibly be expensive should a block has many transactions.
My simple proposal is to store in the db a tx_hash -> transaction body mapping. Of cos there are many things to consider. Trying to get the ball rolling at least

repository archived in favor of https://github.com/madara-alliance/madara


Documentation: quickstart-autokit: be more verbose on variables

Currently https://github.com/balena-os/leviathan/blob/master/documentation/quickstart-autokit.md#provision-your-autokit-into-a-leviathan-worker-fleet in it's step 5 mentions that some variables need to be set, but do not mention exactly where they should be set.
 Links to documentation on how to do that would be awesome for newcomers too.

Users don't understand what is appropriate when specifying autokit variables. Instead of it being intitutive, make them definitive @vipulgupta2048 The Getting Started guide should be a golden path to making autokit work. No confusions.


[BUG] - Siemens edit WIP not loading correctly - io_loadspec_twix - MRSHub.org

Describe the bug
Siemens edit WIP is identified as isUnEdited and isMEGA at once. Additionally, it has extras and not subspec dims.
Additional context
See MRSHub.org post (https://forum.mrshub.org/t/error-in-osprey-unrecognized-field-name-names/1875/5)

Solved in #722


Issue #380

I changed the library and the example to accept the ringWidth attribute for the thickness control of the ProgressBarCircularIndeterminate. If the attribute ringWidth is bigger than getWidth() / 2, it will be used the value 4 for the ringWidth attribute as previously used

thanks


monitoredPrefixesFiles: only last array item considered for ASN monitoring

Describe the bug
In config.yml, monitoredPrefixesFiles is an array so we can use multiple yml files for the prefixes. However only the last array item will be used for ASN monitoring. Prefixes appear to be read from both files.
Provide an example
bgpalerter@pubip:~/test$ ./bgpalerter-linux-x64 generate -a 20813 -mo 20813.yml
-bash: ./bgpalerter-linux-x64: No such file or directory
bgpalerter@pubip:~/test$ ../bgpalerter-linux-x64 generate -a 20813 -mo 20813.yml
Generating monitoring rule for <IP_ADDRESS>/23
Generating monitoring rule for <IP_ADDRESS>/23
Generating generic monitoring rule for AS 20813
Done!
bgpalerter@pubip:~/test$ ../bgpalerter-linux-x64 generate -a 20817 -mo 20817.yml
Generating monitoring rule for <IP_ADDRESS>/24
Generating generic monitoring rule for AS 20817
WARNING: The generated configuration is a snapshot of what is currently announced. Some of the prefixes don't have ROA objects associated or are RPKI invalid. Please, verify the config file by hand!
Done!
bgpalerter@pubip:~/test$
bgpalerter@pubip:~/test$ grep -A3 monitoredPrefixesFiles config.yml
monitoredPrefixesFiles:
  - 20813.yml
  - 20817.yml

bgpalerter@pubip:~/test$
bgpalerter@pubip:~/test$ ../bgpalerter-linux-x64
BGPalerter, version: 1.26.2 environment: production
Loaded config: /home/bgpalerter/test/config.yml
Monitoring <IP_ADDRESS>/23
Monitoring <IP_ADDRESS>/23
Monitoring <IP_ADDRESS>/24
Monitoring AS 20817
^C
bgpalerter@pubip:~/test$

Expected behavior
Monitor ASN's from all files, non only the last one.
Are you using the binary or the source code?
Binary (BGPalerter, version: 1.26.2 environment: production)
Your information
Lukas Tribus, AS20811

Hi @lukastribus,
Thanks for reporting. This is fixed and it will go out with the next release.


M365 Learning Pathway Provisioning stuck at Validating URL

M365 Learning Pathway Provisioning stuck at Validating URL . I checked the pre requisites and its all in place.
M365 Learning Pathway error.txt

Can someone look into this.

Hi, Thanks for your comprehension. There was an issue that is now fixed.


notebooks: pipe renderer API postmessages to the renderer itself

Previously the postMessage on acquireNotebookRenderer API was just
a proxy to the global vscode postmessage. Now, it's linked to the
renderer and will cause an optional onDidReceiveMessage method on
the renderer to be called.
The message still also goes to the global webview message handling
for advanced use cases, but this change allows the webview<->renderer
communication to be more nicely contained
and separate for most use cases.
This PR fixes #98353 (in combination with the new comm work that Peng did)

moved out a NotebookCommunication interface and added an editor ID. Call output renderers with that as well
👀 it seems like $postMessage previously only worked when sending messages to the active pane. I'd adjusted this so that it looks up and matches by editor ID.
Make the NotebookCommunication for renderers 'scoped' for the renderer's own events
Add onDidReceiveMessage to the notebook webview API


Deletion of _, spaces and - characters

When you try to add in the hyp_remoteString or hyp_localString a string that contains one of the characters in the set that you create in the methods: "_- " then it deletes those values and it doesn't add a _. So let's say that you want age_of_person, you enter that as a value, it should say, as a result age_of_person, but the result turns to be ageofperson.

Oh, I get it! The issue is that we don't do any caching, but you're right. It's a valid use case.
Test:
[@"age_of_person" hyp_localString] => ageOfPerson
[@"ageOfPerson" hyp_remoteString] => age_of_person
Returns unexpected results.

This is working! \o/


update exp/ClimaCore/atm-ocn-lnd

#524 cleans up the experiments/ClimaCore folder, but there's one test I wasn't able to get running. Since it will involve somewhat substantial work, I wanted to separate this into its own issue/PR.
To Do

[ ] get atm-ocn-lnd running
[ ] update to most recent package versions

update CLIMAParameters interface
replace LandHydrology package (with ClimaLSM)

[ ] add atm-ocn-lnd to CI

We have decided not to update this test case, and to instead remove it. See #537 for more details


The expiration time is incorrect for the message whose 'Time to live' is set to 'None' on queue explorer

Storage Explorer Version: 1.31.0-dev
Build Number: 20230704.7
Branch: main
Platform/OS: Windows 10/MacOS Ventura 13.4.1 (Apple M1 Pro)
Architecture: x64
How Found: From running test cases
Regression From: Previous release (1.28.1)
Steps to Reproduce

Expand one storage account -> Queues.
Create a queue -> Click 'Add' -> Set 'Time to live' to 'None'.
Click 'OK' -> Observe the 'Expiration Time' of the message.
Check whether the expiration time is correct.

Expected Experience
The expiration time is correct.

Actual Experience
The expiration time is incorrect.

Additional Context

The 'Expiration time' is correct on 'View Message' dialog.

This issue doesn't reproduce on Linux Ubuntu 20.04.
The screenshot on MacOS as below.

Verified this issue on the build main 20230707.6. Fixed on Windows.
@MRayermannMSFT on MacOS. The expiration time is '01/01/10000'. Could you please help to take a look?

WE'L

Ok, update! So the reason you are seeing that time is due to your machine's time zone. In the queue data grid, the times are shown in local time. This is by design. It is similar to how other date times in data grids, like blob last modified time, are shown in local time. I know that when y'all test on macOS, those are local machines you have at your desk. And since China is ahead of UTC time, it makes sense you are seeing a later time date.

Got it. thanks for your updates!


Avoid converting non-strings to arrow strings for read_parquet

[x] ref #10631
[x] Tests added / passed
[x] Passes pre-commit run --all-files

This disables the conversion for read_parquet (unfortunately also for fast parquet).
This is a minimal solution for a problem that we can solve with dask-expr and the pandas option infer_string in the future. This is aimed at solving the biggest pain for most users out there without too much effort on our side.
cc @fjetter

(non-blocking comment though)

I can do this as a follow up

IIUC our type mapper is already doing the right thing for strings, isn't it?

Yes I think matt is referring to dates getting cast to object instead of something more sensible like datetime64

And decimals and others I suspect.  There are a variety of types that we currently convert to strings that we shouldn't be.  It's probably easy to fix that problem by converting them to something more sensible, like decimal->float or decimal->pyarrow-decimal rather than decimal->string[pyarrow]

We are not casting them to strings anymore, we are now storing them as objects. Casting them with the types mapper is not supported out of the box, but we could cast them manually if we want to do this. We can also keep them as arrow backed objects, that would be the easiest solution

We can also keep them as arrow backed objects, that would be the easiest solution

That seems better to me than object dtypes.  It also is maybe a good low-stakes test of arrow dtypes for us.


re-enable RTL in 65 branch

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes and the overall coverage did not decrease.
[ ] All unit tests pass on CircleCi.
[ ] I ran all tests locally and they pass.

Why is this PR directly open for 650 ? Are the changes not in master ?

Changes are already available in master, but the same had been reverted on 6.5 due to required changes not available in targeted Forms add-on during the release of the core-components.

Changes are already available in master, but the same had been reverted on 6.5 due to required changes not available in targeted Forms add-on during the release of the core-components.

Modifications to the core component should function regardless of the addon version. It's acceptable if the feature linked to addon changes doesn't work perfectly, but the form itself should render correctly.


Safari - when I log out, I don't see Username/Password fields

Rancher versions: v2.0.0-beta4-rc4
Steps to Reproduce:

Setup a rancher server
Log in as admin
Log out

Results:  Username & Password field don't show up.  Chrome automatically opens local username/password fields, since that is all I have available.  Safari doesn't.  Since local is only available, I shouldn't have to click on "Use a Local User" link.

Version - 2.0 master 4/26
Verified fixed


USE_NNPACK build flag not honored.

I get
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ADD_CFLAGS
    ADD_LDFLAGS
    USE_NNPACK
    VERBOSE

Environment info (Required)
Architecture:        armv7l
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       39 bits physical, 48 bits virtual
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           8
Vendor ID:           GenuineIntel
CPU family:          6
Model:               158
Model name:          Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Stepping:            13
CPU MHz:             2400.000
BogoMIPS:            4800.00
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            16384K
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx pdpe1gb lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq dtes64 ds_cpl ssse3 sdbg fma cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch kaiser fsgsbase bmi1 hle avx2 bmi2 erms rtm xsaveopt arat
----------Python Info----------
Version      : 3.7.3
Compiler     : GCC 8.3.0
Build        : ('default', 'Apr  3 2019 05:39:12')
Arch         : ('32bit', 'ELF')
------------Pip Info-----------
Version      : 19.2.2
Directory    : /usr/local/lib/python3.7/dist-packages/pip
----------MXNet Info-----------
No MXNet installed.
----------System Info----------
Platform     : Linux-4.9.184-linuxkit-armv7l-with-debian-10.0
system       : Linux
node         : 2007a277dc67
release      : 4.9.184-linuxkit
version      : #1 SMP Tue Jul 2 22:58:16 UTC 2019
----------Hardware Info----------
machine      : armv7l
processor    :
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0494 sec, LOAD: 0.8141 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0411 sec, LOAD: 0.2910 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0434 sec, LOAD: 0.2042 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0334 sec, LOAD: 0.2438 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0324 sec, LOAD: 0.5857 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0043 sec, LOAD: 0.3265 sec.

Package used (Python/R/Scala/Julia):
Python 3.7
Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio):
gcc version 8.3.0 (Debian 8.3.0-6)
MXNet commit hash:
75a9e187d00a8b7ebc71412a02ed0e3ae489d91f
Build config:
cmake -GNinja -DVERBOSE=1  -DUSE_NNPACK=1 \
 -DADD_LDFLAGS="-L${NNPACK}/build/ -lnnpack -lpthreadpool"  \
 -DADD_CFLAGS="-I${NNPACK}/include/ -I${NNPACK}/deps/pthreadpool/include/" \
 -DUSE_BLAS=openblas \
 -DUSE_OPENCV=1 \
 -DUSE_CUDA=0 \
 -USE_MKLDNN=0 \
 ..

Error Message:
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_CROSSCOMPILING FALSE
-- CMAKE_HOST_SYSTEM_PROCESSOR armv7l
-- CMAKE_SYSTEM_PROCESSOR armv7l
-- CMAKE_SYSTEM_NAME Linux
-- Performing Test SUPPORT_CXX11
-- Performing Test SUPPORT_CXX11 - Success
-- Performing Test SUPPORT_CXX0X
-- Performing Test SUPPORT_CXX0X - Success
-- Performing Test SUPPORT_MSSE3
-- Performing Test SUPPORT_MSSE3 - Failed
-- Performing Test SUPPORT_MSSE2
-- Performing Test SUPPORT_MSSE2 - Failed
-- Determining F16C support
-- Performing Test COMPILER_SUPPORT_MF16C
-- Performing Test COMPILER_SUPPORT_MF16C - Failed
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Could NOT find Jemalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR)
-- Found OpenCV: /usr/local (found version "4.1.1") found components:  core highgui imgproc imgcodecs
-- OpenCV 4.1.1 found (/usr/local/lib/cmake/opencv4)
--  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
USE_LAPACK is ON
-- Could NOT find Jemalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR)
CMake Warning at 3rdparty/googletest/googletest/CMakeLists.txt:47 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.
-- Found PythonInterp: /usr/bin/python (found version "3.7.3")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found GTest: gtest
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for fopen64
-- Looking for fopen64 - not found
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- /mxnet/3rdparty/dmlc-core/cmake/build_config.h.in -> /mxnet/3rdparty/dmlc-core/include/dmlc/build_config.h
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ADD_CFLAGS
ADD_LDFLAGS
USE_NNPACK
VERBOSE

-- Build files have been written to: /mxnet/build
Minimum reproducible example
Just building from source

Any updates on this issue @marcoabreu (it has been nearly 6 months). I am experiencing the same problem - although I am first exporting the library paths:
export YOUR_NNPACK_INSTALL_PATH=/home/nchafni/Cyrus/libs/NNPACK
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$YOUR_NNPACK_INSTALL_PATH/lib
export CFLAGS="-I/home/nchafni/Cyrus/libs/NNPACK/include/ -I/home/nchafni/Cyrus/libs/NNPACK/third-party/pthreadpool/include/"

cmake -DUSE_CPP_PACKAGE=1 -DUSE_NNPACK=1 -DUSE_CUDA=0 -DUSE_MKLDNN=1 -DUSE_LAPACK=0 -DUSE_OPENCV=0 -DUSE_OPENMP=0 ..

cmake output:
...
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    USE_NNPACK

How are people currently building with NNPACK??

I managed to build an older version of mxnet with nnpack, but it was a couple of times slower than the binary build ob 1.5.1 on raspberry pi 4. Running a resnet50 based model. So might make no sense to try to build with nnpack anymore


Properties set to null (or uninitialized) are not serialized

Using version 1.5.0 nuget package ExtendedXmlSerializer on .NET framework 4.6.1
When serializing a class that has properties that have either not been set or have a value set to null, the property does not appear in the serialized XML.
For simple values such as string, date time I would expect an empty node to be included in the serialized data.
Gist Sample

Thanks for reporting this @lruckman.  We're looking at ways of configuring the XML output so that you can have control over the formatting.
I would like more information from you regarding this, if you can.  Is the expectation here from previous usage of the .NET XML serializer and/or expected standards?  From my take, it would seem the default output should be as concise as possible, not only from a data-transfer context, but also for human/readability perspective as well.

Checking how XmlSerializer works confirms you're doing it the same way, uninitialized property does not get emitted so probably not an issue the way you're doing it. In the future though at the very least having some sort of configuration option I could set so that it would emit an empty node if I needed it to would suffice but for now I'm just going to close the issue.

OK cool, thanks @lruckman  for your input.  We will try to keep track of this in #22 and see if we can make it happen. 👍


fix: flag any operations with array responses

The validator was mistakenly checking only GET operations for array responses. This PR switches the logic to check any operation, which is how we describe the check in our documentation. Test cases adjusted to verify this logic.
Resoves #71

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Research what is needed for Discord integration

Research the following information:

What APIs can we use to integrate with Discord?
Are those APIs available for dotnet core, too?
What functionalities would be worth adding to the bot in combination with Discord? (e.g. just post to a channel or react to Discord messages as well?)
What steps would be necessary to integrate this into the bot?

I have found different projects supporting the discord api:

Discord.NET
DSharpPlus

Both look good in my opinion. The scenarios for an integration that I have in mind are quite different.
One would be to post streamcord.io like updates to Discord. The problem with this is that at the moment this is not only done for the streamer using the bot but also for other streamers that he adds to the bot.
In that particular case Bot Brown can probably only be the program that notifies the central bot that a streamer has begun their show and not the central bot that does post to Discord
The other scenario would be that the bot can react to things that happen on Discord during an active stream.


Setup post deployment ft-tests

JIRA link (if applicable)
Change description
Setup post deployment ft-tests
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x ] No

need to re-open


Change log and merge

maintaining the change log (summary of the main changes since last release) and merge dev to main for next release

Add a dev branch for future versions


Incorrect serialization of TargetPlatform prevents error from being tracked

Platform:

[ ]  Dart
[x]  Flutter Android or iOS
[ ]  Flutter Web

IDE:

[ ]  VSCode
[x]  IntelliJ/AS
[ ]  XCode
[ ]  Other, which one?

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

[ ]  Enabled
[x]  Disabled

Platform installed with:

[x] pub.dev
[ ] GitHub

Output of the command flutter doctor -v below:

flutter doctor -v
$ flutter doctor -v
[✓] Flutter (Channel unknown, 2.3.0-2.0.pre.234, on Mac OS X 10.14.6 18G8022
    darwin-x64, locale en-US)
    • Flutter version 2.3.0-2.0.pre.234 at /Users/venkat/code/flutter
    • Upstream repository unknown
    • Framework revision 89442b495e (8 weeks ago), 2021-05-14 21:34:02 -0700
    • Engine revision 3c1d96f0b8
    • Dart version 2.14.0 (build
      2.14.0-edge.a527411e5100a0a4f48c4009087a1b988aa784af)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/venkat/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    ✗ Xcode 11.3.1 out of date (12.0.1 is recommended).
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 38.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[✓] IntelliJ IDEA Community Edition (version 2020.1.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 55.0.1
    • Dart plugin version 201.9335

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.24.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.14.6 18G8022
      darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 91.0.4472.114

! Doctor found issues in 1 category.

The version of the SDK (See pubspec.lock):
6.0.0-beta.1

I have the following issue:
Exceptions don't get captured because serialization fails on the TargetPlatform enum:
https://github.com/getsentry/sentry-dart/blob/b9866b750e892f4283fd8cbcd9b9625ad7821e77/flutter/lib/src/flutter_enricher_event_processor.dart#L126
Steps to reproduce:
Capture any exception on MacOS/iOS/Android
Actual result:
The following exception:
         Converting object to an encodable object failed: Instance of 'TargetPlatform'
         #0      _JsonStringifier.writeObject (dart:convert/json.dart:688:7)
         #1      _JsonStringifier.writeMap (dart:convert/json.dart:769:7)
         #2      _JsonStringifier.writeJsonValue (dart:convert/json.dart:724:21)
         #3      _JsonStringifier.writeObject (dart:convert/json.dart:679:9)
         #4      _JsonStringifier.writeMap (dart:convert/json.dart:769:7)
         #5      _JsonStringifier.writeJsonValue (dart:convert/json.dart:724:21)
         #6      _JsonStringifier.writeObject (dart:convert/json.dart:679:9)
         #7      _JsonStringifier.writeMap (dart:convert/json.dart:769:7)
         #8      _JsonStringifier.writeJsonValue (dart:convert/json.dart:724:21)
         #9      _JsonStringifier.writeObject (dart:convert/json.dart:679:9)
         #10     _JsonStringStringifier.printOn (dart:convert/json.dart:877:17)
         #11     _JsonStringStringifier.stringify (dart:convert/json.dart:862:5)
         #12     JsonEncoder.convert (dart:convert/json.dart:262:30)
         #13     JsonCodec.encode (dart:convert/json.dart:172:45)
         #14     jsonEncode (dart:convert/json.dart:81:10)
         #15     new SentryEnvelopeItem.fromEvent.<anonymous closure> (package:sentry/src/sentry_envelope_item.dart:20:27)
         #16     new SentryEnvelopeItem.fromEvent.<anonymous closure> (package:sentry/src/sentry_envelope_item.dart:19:36)
         #17     _CachedItem.getData (package:sentry/src/sentry_envelope_item.dart:49:33)
         #18     new SentryEnvelopeItem.fromEvent.<anonymous closure> (package:sentry/src/sentry_envelope_item.dart:25:32)
         #19     new SentryEnvelopeItem.fromEvent.<anonymous closure> (package:sentry/src/sentry_envelope_item.dart:24:23)
         #20     SentryEnvelopeItemHeader.toJson (package:sentry/src/sentry_envelope_item_header.dart:26:34)
         #21     SentryEnvelopeItem.envelopeItemStream (package:sentry/src/sentry_envelope_item.dart:36:47)
         <asynchronous suspension>
         #22     SentryEnvelope.envelopeStream (package:sentry/src/sentry_envelope.dart:30:7)
         <asynchronous suspension>
         #23     Stream.forEach.<anonymous closure> (dart:async/stream.dart)
         <asynchronous suspension>

Expected result:
Expect the payload to get serialized properly.
This should be surrounded in a describeEnum to avoid a serialization error.

A fix is already being worked on in https://github.com/getsentry/sentry-dart/pull/520
Thanks for raising an issue.

Closed by https://github.com/getsentry/sentry-dart/pull/520


Fixed indentation

Removed tabs, using 2 spaces everywhere.

Great work, fantastic!
I agree with all the text, except the function naming, IMHO, the underscore character "_"  is more readable than the dash character "-", also the underscore usage is more common in Shell scripting.
Some related links:
http://wiki.bash-hackers.org/scripting/style
https://google.github.io/styleguide/shell.xml
What do you think?

Let's continue this discussion in #638 ...


Allow showing different timeranges on a single page

This can be useful in a dashboard when you want to
see previous trends for a specific metric.
Intervals can be specified in the config file.

I merged this and tweaked things a bit so the details graphs respect the column behavior of the main view and uses the configuration option for the amount of columns


Persistence Issue with CastleMock with Docker

Describe the bug
We have deployed the Docker image of CastleMock but the projects we are creating in CastleMock remain in the instance till the session is live. Once the session expires the projects and all the saved responses are deteled. Kindly let me know if enabling database persistence with Docker image is possible.
To Reproduce
Steps to reproduce the behavior:

Install Docker on any VM.
Create the Project and relevant mock setup.
Wait till the session expires, after that re-login the project is deleted.

Expected behavior
Somehow we need persistence, otherwise, we can't keep creating the project and setup again and again.

Hi @SagarGupta1.
Database storage is currently not supported. Everything is stored on the disk. However, there is a way to persist the data outside a Docker container. Please see the wiki for more information: https://github.com/castlemock/castlemock/wiki/Docker#persistence
I hope you find this answer helpful.
Cheers!

The problem is we are deploying the docker image to Cloud Foundry, there I can provide "docker run" command, the start command is catalina.sh. We need a way so that to catalina.sh we can provide some repo link

hi you can use volume and this will keep the data persistent.
eg.
docker run -d -p 8080:8080 -v C:\dev\web\castlemock:/root/.castlemock castlemock/castlemock


SessionManager Validates session_id After session_start() Causing a Warning

Hi,
session_start() in SessionManager is causing a warning using an id with invalid characters. This behaviour should be handled to prevent problems like "information disclosures". An attacker can trigger the warning too easy.
Code to reproduce the issue
        $config = new SessionConfig();
        $manager = Container::getDefaultManager();
        $manager->setConfig($config);

        $this->sessionContainer = new Container('foo', $manager);

Reproduce The Issue
% curl -I 'http://zend.local/' -H 'Cookie: PHPSESSID=_test_'
HTTP/2 500
server: nginx/1.10.3
date: Tue, 02 Jul 2019 08:59:35 GMT
content-type: text/html; charset=UTF-8

Expected results
There a three possible ways to handle the situation:

Suppress the warning, regenerate a new id, start the session again

if (! @session_start()) {
    $this->regenerateId();
    session_start();
}

Suppress the warning but also throw an exception that the session is not be started

if (! @session_start()) {
    throw new Exception\RuntimeException('Failed to start the session');
}

Just ignore the warning and move handling to the validators

@session_start();

I'm personally a fan of the first option because I think that the developer doesn't want to handle errors that occurred during session start.
"If the session doesn't start, just ignore the user provided id and create a new/correct one."
Actual results

.../vendor/zendframework/zend-session/src/SessionManager.php:140
session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' [E_WARNING]

Zend\Session\Validator\Id is trying to address the problem, but fails to do so because the validation happens after session_start().
Related Issue
I found #21, but @SvenRtbg's comment is not 100% addressing what I'm concerned about.
My concern is information disclosures when the system is not handling warnings properly (never show any errors to the end user).
I hope the filed issue is clear and has enough details. Let me know if you need more background.
Best regards

Hi,
Yesterday i had a lot of errors (fuzzing attack to session)

error_reporting
session_start(): Failed to write session lock: A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE

line
140

code
2

file
/export/www/test/vendor/zendframework/zend-session/src/SessionManager.php

and this is also, because SessionManager validates session_id after session_start()
I checked @sbani code to reproduce this issue, and I can see that even though session_id does not validate, the session is created on the memcache side

[test@devel DEVEL]$  memcached-tool localhost:11211 dump
Dumping memcache contents
add test 0<PHONE_NUMBER> 0

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


CorInfoImpl refactoring part #2

In this part I have mechanically moved parts of CorInfoImpl
to be forked to both CorInfoImpl.RyuJit and CorInfoImpl.ReadyToRun.
I decided not to move getFieldInfo for now as it's a lengthy
method and right now I'm only changing one line in it so that
conditional compilation should be sufficient. We can fork it
later if the changes become more pronounced e.g. due to the
differences in thread static bases.
The full list of methods I'm moving in this change is as follows:
() ComputeLookup
() getReadyToRunHelper
() getReadyToRunDelegateCtorHelper
() GetHelperFtnUncached
() getFunctionEntryPoint
() constructStringLiteral
Apart from the mechanical move I have made a few other minor
changes:

I have changed the hard-coded CORINFO_RUNTIME_ABI to a
symbolic constant that is defined in CII.RJ and CII.RTR. In
this one simple case I have already "executed" the split
by putting the appropriate constant into each file, otherwise
I left the moved methods unchanged for now.

I have made one additional change I overlooked in my
previous cleanup change: I modified getHelperFtn by adding
optional support for indirection cells that are used for
the helpers in R2R.

As mentioned above, for now I assume that I'll deal with the
differences in getCallInfo and getFieldInfo using
Thanks
Tomas

Ahh, I see, it treated it as a comment - the seemingly missing text at the end of the last sentence was supposed to read "... I'll deal with the differences in getCallInfo and getFieldINfo using #ifdef READYTORUN but I put the compiler directive at the beginning of the line and the commit message parser apparently threw it away as a comment :-).

Thanks Michal and Simon for the immediate reviews!
Tomas