Cannot readily install lib into Aurelia

Hello there, JavaScript n00b here... sorry if this is totally crazy, but I was expecting to be able to
au new --here

with Aurelia CLI (0.17.0) with standard options all the way, and then
npm install aurelia-authentication --save

which nicely resolves to the current latest 3.0.0-rc5.
Now I add aurelia-authentication to the dependencies element in aurelia.json and then I
au build

which results in the following error:
Starting 'readProjectConfiguration'...
(...)
Tracing aurelia-authentication...
{ uid: 8,
  name: 'writeBundles',
  branch: false,
  error:
   { Error: ENOENT: no such file or directory, open '/Users/mhg/Projects/AuNew/src/extend.js'
       at Error (native)
       at Object.fs.openSync (fs.js:640:18)
       at Object.fs.readFileSync (fs.js:508:33)
       at Object.exports.readFileSync (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/file-system.js:38:13)
       at amodroTrace.fileRead (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/bundled-source.js:83:31)
       at Object.context.fileRead (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:176:18)
       at Object.context.load (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:357:30)
       at Object.Module.load (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:832:29)
       at Object.Module.fetch (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:822:66)
       at Object.Module.check (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:854:30)
     errno: -2,
     code: 'ENOENT',
     syscall: 'open',
     path: '/Users/mhg/Projects/AuNew/src/extend.js',
     moduleTree: [ 'aurelia-authentication' ],
     fileName: '/Users/mhg/Projects/AuNew/node_modules/aurelia-authentication/dist/amd/aurelia-authentication.js' },
  duration: [ 0, 177231957 ],
  time:<PHONE_NUMBER>084 }
{ uid: 0,
  name: '<series>',
  branch: true,
  error:
   { Error: ENOENT: no such file or directory, open '/Users/mhg/Projects/AuNew/src/extend.js'
       at Error (native)
       at Object.fs.openSync (fs.js:640:18)
       at Object.fs.readFileSync (fs.js:508:33)
       at Object.exports.readFileSync (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/file-system.js:38:13)
       at amodroTrace.fileRead (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/bundled-source.js:83:31)
       at Object.context.fileRead (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:176:18)
       at Object.context.load (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:357:30)
       at Object.Module.load (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:832:29)
       at Object.Module.fetch (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:822:66)
       at Object.Module.check (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:854:30)
     errno: -2,
     code: 'ENOENT',
     syscall: 'open',
     path: '/Users/mhg/Projects/AuNew/src/extend.js',
     moduleTree: [ 'aurelia-authentication' ],
     fileName: '/Users/mhg/Projects/AuNew/node_modules/aurelia-authentication/dist/amd/aurelia-authentication.js' },
  duration: [ 0, 373788815 ],
  time:<PHONE_NUMBER>097 }
{ Error: ENOENT: no such file or directory, open '/Users/mhg/Projects/AuNew/src/extend.js'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.fs.readFileSync (fs.js:508:33)
    at Object.exports.readFileSync (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/file-system.js:38:13)
    at amodroTrace.fileRead (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/bundled-source.js:83:31)
    at Object.context.fileRead (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:176:18)
    at Object.context.load (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:357:30)
    at Object.Module.load (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:832:29)
    at Object.Module.fetch (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:822:66)
    at Object.Module.check (eval at <anonymous> (/Users/mhg/Projects/AuNew/node_modules/aurelia-cli/lib/build/amodro-trace/lib/loader/Loader.js:14:9), <anonymous>:854:30)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/mhg/Projects/AuNew/src/extend.js',
  moduleTree: [ 'aurelia-authentication' ],
  fileName: '/Users/mhg/Projects/AuNew/node_modules/aurelia-authentication/dist/amd/aurelia-authentication.js' }

What is wrong with me? (please just tell me - I can handle it!)

https://github.com/SpoonX/aurelia-authentication#aureli-cli

Thanks for the super-quick response! 👍  😄
I did what it said, and then I got this:
{ Error: ENOENT: no such file or directory, open '/Users/mhg/Projects/AuNew/src/aurelia-fetch-client.js'

and then I ran
npm install aurelia-fetch-client --save

and added aurelia-fetch-client to aurelia.json, but then I got
{ Error: ENOENT: no such file or directory, open '/Users/mhg/Projects/AuNew/src/aurelia-api.js'

and then I did the same thing with aurelia-api, but then the same thing happened for qs, and stringify... and when I added stringify, it kept saying
{ Error: ENOENT: no such file or directory, open '/Users/mhg/Projects/AuNew/src/src/stringify.js'

Am I doing this wrong?

nope. this is the way to go. gets easier later, since then you know begorehand what to install

@mookid8000 well, it this version what needed is:
npm i aurelia-api aurelia-authetication aurelia-fetch-client
and in aurelia.json
       "extend",
	  "aurelia-api",
	  "aurelia-fetch-client",

{
"name": "qs",
"path": "../node_modules/qs/dist/",
"main": "qs"
},
{
"name": "aurelia-authentication",
"path": "../node_modules/aurelia-authentication/dist/amd",
"main": "aurelia-authentication"
},
{
"name": "jwt-decode",
"path": "../node_modules/jwt-decode/lib",
"main": "index"
},

Excellent - that solved it 👍

Can you explain to me real quick (or point me to information somewhere else) how to resolve the typical "ENOENT: no such file or directory" error seen above?
What is it that allows for e.g. Aurelia's own dependencies to resolve perfectly by their name only (and not requiring the name-path-main object)?

there's some explanation here on howto add packages to cli .
not all of them do. main thing prventing it is a) outdated package.json structure and b) a module consists of several files. newer aurelia plugins will have a aurelia.build entry in the package.json to remove this step. but that feature might not be in all plugins and/or enabled in aurelia cli

ups the here was missing: :smile:  https://github.com/aurelia/cli

Excellent! Thanks for the quick response and fix 😄


sfproj supported?

does service fabric project supported?

I haven't used service fabric myself. Are you using .NET core or .NET framework?


Feature/unbalanced tree

Coverage increased (+0.02%) to 99.115% when pulling 93540dde03be20ba7d51979fe69421a1efc53fd2 on feature/unbalanced_tree into a5157907b9df5c3c8a56cdfa5e84aed3626f7d19 on master.


[e2e]: generic schedule main attestation-name slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5550112778
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.attestation-name.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.attestation-name.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Jul 14 03:27:00 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5560162794
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.attestation-name.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.attestation-name.slsa3.yml
Trigger: schedule
Branch: main
Date: Sat Jul 15 03:35:17 UTC 2023
Tests are passing now. Closing this issue.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-24-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 955

Questions ?
Please refer to the Backport tool documentation


Question: Support for EnumDataType Annotation

When using the EnumDataType Annotation to map an enum type to a string the enum type is being ignored.  Unfortunately I am modifying some legacy code and would like to be able to generate a schema which includes an enum for allowable values.
This can be done in Json.Net  but I am preferring the additional attributed provided by NJsonSchema.
Have I missed a setting or is the EnumDataType attribute not yet supported?
Thanks

Is this something which correctly works with Newtonsoft.Json but is not correctly picked up (same way) by NJS? So is NJS not behaving the same way as Newtonsoft.Json? If this is the case we should add it.

We need to either fix it here:
https://github.com/RicoSuter/NJsonSchema/blob/master/src/NJsonSchema/Generation/JsonSchemaGenerator.cs#L680
And/Or here:
https://github.com/RicoSuter/NJsonSchema/blob/master/src/NJsonSchema/Generation/DefaultReflectionService.cs#L263

Thanks for the pointer, I'll take a look.  Although I'm not sure my skills will be up to resolving it

Yeah this works flawlessly in Newtonsoft.Json.Schema but id love to use the MIT on this project. Can we get upated LOC @RicoSuter I might get some lockdown time to have a stab at this.


[BUG] Exception thrown on JSON files with top-level Arrays

Describe the bug
When the CLI checks a JSON file to see if it's a valid template (IsValidSchema()), it attempts to parse the file as a JObject to see if a $schema property is defined.  However, this doesn't work if the top-level JSON structure in the file is a JArray instead, resulting in an exception and a cryptic message printed on the CLI:

An exception occurred: Error reading JObject from JsonReader. Current JsonReader item is not an object: StartArray. Path '', line 1, position 1.

Expected behavior
The CLI should be able to handle any content in a JSON file (even improperly formatted) and simply skip the file if it's not a template (not having a $schema property, or the value of that property not representing an ARM template).  In the case of a top-level JArray, this is not in the correct format for an ARM template, so these files can be skipped.
Reproduction Steps
Create a simple JSON file with an array as the starting structure.  For example:
[ ]

Attempt to scan that file with the CLI.  It will throw an exception and print the message described above.
Environment
No response

When fixing this bug, IsValidSchema() should also be improved - it currently attempts to parse the entire file with JObject.Parse(template), even though it typically only needs to read the first 2 lines (the opening { character for a JObject, and the $schema property, usually the first property in the template).  Using other JSON reader methods to only parse the necessary pieces of the file will greatly improve performance.


CPU's consumption

Hi,  nice and interesting open source project, thank you!
I did run the demos and compiled my .Net Core application following the instructions in the Getting-Started-CefGlue-Winapi-(.NET-Core)
I noticed that in all precompiled demos and in my new project,   the CPU's consumption is 30-35%  continuously.

What provokes such high consumption?
another question.  In case of "multi-process", I don't understand what path to give
         .WithCustomSetting(CefSettingKeys.BrowserSubprocessPath, path_to_sunprocess)

Thanks!

Thanks for the compliment.
On the consumption, I kind of lost track of that over time. Thanks for pointing it out. I will investigate.
On the "multi-process" issue, my comment was referring to setting path to a separate process.
.NET Core compiles  to dll not an exe. For multi-process, Cef requires the use of the main exe or a separate subprocess. So my comment was highlighting ways to achieve multi-process in .NET Core apps as the dll will not be recognized as a subprocess.
https://bitbucket.org/chromiumembedded/cef/wiki/GeneralUsage.md#markdown-header-separate-sub-process-executable
For .NET Core apps, to achieve multi-process, my suggestions are:

Do a self-contained build that will create an exe.
Leave the app as dll and add a separate subprocess.

I was able to track the CPU consumption to the external WinApi lib.
I am investigating and making changes to that.
Meanwhile, this is the gtk CPU consumption.

Thanks a lot for pointing this out!
Found it. This was introduced in HostEventLoop when I implemented external pumping. This uses Win32 PeekMessage, while the previous one uses Win32 GetMessage. I will do more research to see why that is an issue.
Please see differences here.
Meanwhile, please replace:
class Program
{
   static int Main(string[] args)
   {
      ----
         return new HostEventLoop().Run(window);
     }
  }
}

With:
class Program
{
   static int Main(string[] args)
   {
      ----
         return new EventLoop().Run(window);
     }
  }
}

CPU usage after change:


Adding more channels

Another feature that would be great are other typical channels such as:
Normal, displacement, subsurface, transparency etc.

Thank you for your suggestion! At present, DreamMat does not yet support these features. Please stay tuned for our subsequent work for generating normal and displacement maps. As for subsurface reflections and transparency, they would require a more advanced BRDF model, which could potentially introduce more computational complexity in the distillation process. However, this is interesting, and we believe it is worth further exploration.


ATTN packets

When or under what conditions are they to be sent?

its not very well defined. certainly you can get them from the server if you send data in a format its not expecting. you also see them from tds clients if the time out is exceeded as its a way for a client to cancel a long running query on the server.
Generally if the SQL server is sending you one you've sent it something it doesnt understand or is not expecting. (obviously it provides no details about what that may be :) )

It can be received if you try to cancel explicitly previous statement, comparing to other messages you could send, ATTN can be send during RPC/Batch execution and won't be queued. I think this is not yet handled correctly in TDS, since the rest of the messages need to be flushed (received by the client). TBD


fix: fail fast in java/wordcount-mapreduce init

That was a typo, I guess

The CLA needs to be signed.  I made this change with a different PR.


Cannot connect to RSC

I followed exactly as the readme says. Installed the module and ran Set-RscServiceAccountFile to generate an encrypted service account file and store it in a default location. But when I run Connect-Rsc command it gives me the following error. Am I missing anything. Note: I have MFA enabled in RSC.

PS C:\Windows\system32> Connect-Rsc
Connect-Rsc : One or more errors occurred.
At line:1 char:1

Connect-Rsc

  + CategoryInfo          : AuthenticationError: (:) [Connect-Rsc], AggregateException
  + FullyQualifiedErrorId : UnableToAuthenticateToRubrikSecurityCloud,RubrikSecurityCloud.PowerShell.Cmdlets.Connect
 _Rsc

Hi @sayujshrestha
Thank you for bringing this to our attention. I have been able to reproduce this on Windows PowerShell 5.1. This issue does not occur on PowerShell (Core) 5.2+
We have identified the cause and are working on a fix.
Regards
Rynardt

Yes, it is 5.1.19041.3570. Thank you for your attention. I will be eagerly waiting for the fix.

This issue has been addressed and will be fixed in the next release.


Add Python 3.6 to the testing

Coverage remained the same at 48.897% when pulling 1d5ff946024227e0fc6c16678ff45e2f17932bab on cclauss:patch-1 into 18d9e544af61416698f9f96923b5bc1f1b06f2fc on xhtml2pdf:master.

Done. Thanks!


Add transaction debugger in the etherlime CLI

Overview
As a developer I frequently need to debug my failing transactions. I need to have a tool to debug the problems of my transactions
Changes needed:
TBD

Ethereum Transaction debugger is integrated in etherlime in version 1.0.0.


Small cleanup to SceneTree dock context menu

Fixes #27995
I also made some changes similar to #26678, i.e. Attach Script/Extend Script is now hidden when multiple nodes are selected.

Thanks!


[DBAAS-989] increment CRDs to v1beta1 apiVersion, change policy fields

Signed-off-by: Tommy Hughes<EMAIL_ADDRESS>Description

increment apiVersions to v1beta1
add conversion webhooks.
move and rename all connection policy fields to a new connections object.

connectionNsSelector -> connections.nsSelector
connectionNamespaces -> connections.namespaces

move all policy-related fields in DBaaSInventories to a new spec.policy object.
if ANYTHING is set in an inventory's spec.policy, even if it's set to nil... it will override everything in the dbaaspolicy object for that one inventory.
add coverage for DBaaSPlatformReconciler

related UI changes - https://github.com/RHEcosystemAppEng/dbaas-dynamic-plugin/pull/212
Type of change

[ ] 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 not work as expected)

Checklist (Definition of Done)

[ ] All acceptance criteria specified in JIRA or in issue number have been completed
[ ] Unit tests added that prove the fix is effective or the feature works
[ ] Documentation added for the feature
[ ] all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer

@tchughesiv could you add the steps of test & verification in the PR description?


Support SCSS @mixin

SCSS @mixin classes are not supported in current build process. I've added support by using sass-loader.
Here is how I resolved the issue:

npm i -D sass-loader
In webpack.config.js, replace all instances of 'postcss-loader' with 'sass-loader'

If there is a better way to achieve this, please let me know.

Or alternatively postcss-loader => postcss-loader?parser=postcss-scss here
More info: PostCSS SCSS Syntax

@frenzzy Seems better to keep with postcss-loader, but can't get your alternate approach work. Did npm install postcss-scss and made following edit:
loaders: ['style-loader', 'css-loader', 'postcss-loader?parser=postcss-scss'],
I think postcss-scss needs to be required. I tried adding require('postcss-scss')(), before line 87, but no luck.
What am I missing?

postcss-scss not needed on line 87, you just need to install it: npm install postcss-scss
It's just a parser and mixins processed by precss plugin on line 87 (see mixins section)
It should work directly for the imported/required files into js code:
/* MyComponent.js */
import style from './stylesWithMixins.scss';
// or
require('./stylesWithMixins.scss');

For imported styles in the css code you also need to configure postcss-import:
/* MyComponent.scss */
@import './mixins.scss'; /* processed by postcss-import */

This is likely a higher level discussion between going with sass or postcss as a whole. The idea, if I'm not mistaken, is to try and move away from precompiler specific syntax as much as possible and move towards "future CSS" syntax. Either way, I think an official note on this in the docs would be a good thing.

Using plain CSS via PostCSS is a recommended approach in RSB, because it reduces the size of the tech stack in your app, enforces you to lean vanilla CSS and modern CSS Level 3 features that allow you doing everything you would normally do with Sass/SCSS, also compilation / bundling will work faster with plain .css files and PostCSS pre-processor.
I just have added the doc explaining how to configure Sass in case you still want to use it:
https://github.com/kriasoft/react-static-boilerplate/blob/master/docs/recipes/how-to-use-sass.md
Feel free to add more stuff into this doc if something is missing.

@koistya please, explain step 3 in more details


Model Predict.....

Hi, thanks for your work, i'm wondering to know about the model prediction in your version.

Please look this function：
https://github.com/calmisential/TensorFlow2.0_SSD/blob/8372f2410fa1d3e73c011ca50750334b23055d11/test.py#L28


Add (optional, enable by env) esbuild-loader

For faster build in dev mode.

Add env LENS_DEV_DISABLE_TS_CHECKER , to disable type checking (as most editor already have it), default is on (as before)
Add env LENS_DEV_USE_ESBUILD_LOADER , to enable esbuild-loader, default is off as before.

No significant improvements after some basic benchmark (only reduce about ~1s, memory usage reduces ~200MB) , I will close this.


Claiming an issue

Ben had the idea that employees could claim issue (invisible to clients) where if an employee is working on an issue, it gives the impression to others that it's already been "claimed" by them. Just a deeper level of assigning an issue. Will look into possible solutions for this to try and make 1.0.0 - but might be further into future.

Try and get this in for 1.0.0 now, as Louise has also mentioned something similar.

This has now been fully implemented.


Android 1.0 Release

Work necessary for the 1.0 Release on of the Android Renderer

Android 1.0 Release has been published.


Include files required to compile

Fixes https://github.com/sumneko/lua-language-server/issues/1156

Thank you!


CustomPaint shadow in IOS have offset

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
1.- Use this component in Android and iOS:
class TopPanelClip extends CustomClipper<Path> {
  final height = 50.0;

  @override
  Path getClip(Size size) {
    final Path path = Path();
    path.moveTo(0.0, height);
    path.quadraticBezierTo(size.width / 2, 0.0, size.width, size.height / 2);
    path.lineTo(size.width, size.height);
    path.lineTo(0.0, size.height);
    path.extendWithPath(path, const Offset(0, -2));
    path.close();
    return path;
  }

  @override
  bool shouldReclip(CustomClipper oldClipper) => true;
}

class ClipShadowPath extends StatelessWidget {
  final Shadow shadow;
  final CustomClipper<Path> clipper;
  final Widget child;

  const ClipShadowPath({
    super.key,
    required this.shadow,
    required this.clipper,
    required this.child,
  });

  @override
  Widget build(BuildContext context) {
    return CustomPaint(
      painter: _ClipShadowShadowPainter(
        clipper: clipper,
        shadow: shadow,
      ),
      child: ClipPath(clipper: clipper, child: child),
    );
  }
}

class _ClipShadowShadowPainter extends CustomPainter {
  final Shadow shadow;
  final CustomClipper<Path> clipper;

  _ClipShadowShadowPainter({required this.shadow, required this.clipper});

  @override
  void paint(Canvas canvas, Size size) {
    var paint = shadow.toPaint();
    var clipPath = clipper.getClip(size).shift(shadow.offset);
    canvas.drawPath(clipPath, paint);
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) => true;
}

In this Component:
SizedBox(
    width: MediaQuery.of(context).size.width,
    height: 100,
    child: ClipShadowPath(
        shadow: const Shadow(
            blurRadius: 5, offset: Offset(0, -2)),
            clipper: TopPanelClip(),
            child: Container(
            color: ThemeCustom.backgroundColor),
        ),
    )
)

Expected results
The shadow does take up the entire width of the component
Actual results
The shadow does not take up the entire width of the component
Code sample
Code sample
class TopPanelClip extends CustomClipper<Path> {
  final height = 50.0;

  @override
  Path getClip(Size size) {
    final Path path = Path();
    path.moveTo(0.0, height);
    path.quadraticBezierTo(size.width / 2, 0.0, size.width, size.height / 2);
    path.lineTo(size.width, size.height);
    path.lineTo(0.0, size.height);
    path.extendWithPath(path, const Offset(0, 0));
    path.close();
    return path;
  }

  @override
  bool shouldReclip(CustomClipper oldClipper) => true;
}

class ClipShadowPath extends StatelessWidget {
  final Shadow shadow;
  final CustomClipper<Path> clipper;
  final Widget child;

  const ClipShadowPath({
    super.key,
    required this.shadow,
    required this.clipper,
    required this.child,
  });

  @override
  Widget build(BuildContext context) {
    return CustomPaint(
      painter: _ClipShadowShadowPainter(
        clipper: clipper,
        shadow: shadow,
      ),
      child: ClipPath(clipper: clipper, child: child),
    );
  }
}

class _ClipShadowShadowPainter extends CustomPainter {
  final Shadow shadow;
  final CustomClipper<Path> clipper;

  _ClipShadowShadowPainter({required this.shadow, required this.clipper});

  @override
  void paint(Canvas canvas, Size size) {
    var paint = shadow.toPaint();
    var clipPath = clipper.getClip(size).shift(shadow.offset);
    canvas.drawPath(clipPath, paint);
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) => true;
}

In this Component:
SizedBox(
    width: MediaQuery.of(context).size.width,
    height: 100,
    child: ClipShadowPath(
        shadow: const Shadow(
            blurRadius: 5, offset: Offset(0, -2)),
            clipper: TopPanelClip(),
            child: Container(
            color: ThemeCustom.backgroundColor),
        ),
    )
)

Screenshots or Video
The shadow does not take up the entire width of the component,

With blrurradius: 5. (the offset is exaggerated for demonstration)

With blrurradius: 0 or 1

Logs
Logs

Flutter Doctor output
Doctor output
╰─ flutter doctor -v                                                                                 ✔  22:19:39
[✓] Flutter (Channel stable, 3.13.0, on macOS 13.4.1 22F770820d darwin-x64, locale es-ES)
    • Flutter version 3.13.0 on channel stable at /Users/zethusx64/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (8 days ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/zethusx64/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_SDK_ROOT = /Users/zethusx64/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Users/zethusx64/Downloads/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • iPhone 14 Pro Max (mobile) • C7DD8BD4-D64D-4294-B3B9-AE61E0BF4C23 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 13.4.1 22F770820d darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 116.0.5845.110

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @jlopezrod. Thanks for filing this issue. I seem to reproduce same behaviour on Android and iOS on both stable and master channels. Is this the case on your end as well? Also, does removing the set offset in shadow help in this case or setting to Offset.zero?

Hi, this behavior only occurs on iOS, in Android work perfect!, and when I set Offset.zero or remove it, I have the same behaviour.
this is in Android, same code:

Thanks for your response @jlopezrod. Here is the behaviour on my end with this code sample. I can see a little offset from the right of the screen.

Android
iOS (Impeller)
iOS (Without Impeller)

Code Sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          body: Center(
        child: SizedBox(
          width: MediaQuery.of(context).size.width,
          height: 100,
          child: ClipShadowPath(
            shadow: const Shadow(blurRadius: 5, offset: Offset(0, -2)),
            clipper: TopPanelClip(),
            child: Container(color: Colors.blue),
          ),
        ),
      )),
    );
  }
}

class TopPanelClip extends CustomClipper<Path> {
  final height = 50.0;

  @override
  Path getClip(Size size) {
    final Path path = Path();
    path.moveTo(0.0, height);
    path.quadraticBezierTo(size.width / 2, 0.0, size.width, size.height / 2);
    path.lineTo(size.width, size.height);
    path.lineTo(0.0, size.height);
    path.extendWithPath(path, const Offset(0, 0));
    path.close();
    return path;
  }

  @override
  bool shouldReclip(CustomClipper oldClipper) => true;
}

class ClipShadowPath extends StatelessWidget {
  final Shadow shadow;
  final CustomClipper<Path> clipper;
  final Widget child;

  const ClipShadowPath({
    super.key,
    required this.shadow,
    required this.clipper,
    required this.child,
  });

  @override
  Widget build(BuildContext context) {
    return CustomPaint(
      painter: _ClipShadowShadowPainter(
        clipper: clipper,
        shadow: shadow,
      ),
      child: ClipPath(clipper: clipper, child: child),
    );
  }
}

class _ClipShadowShadowPainter extends CustomPainter {
  final Shadow shadow;
  final CustomClipper<Path> clipper;

  _ClipShadowShadowPainter({required this.shadow, required this.clipper});

  @override
  void paint(Canvas canvas, Size size) {
    var paint = shadow.toPaint();
    var clipPath = clipper.getClip(size).shift(shadow.offset);
    canvas.drawPath(clipPath, paint);
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) => true;
}

This might be specific to impeller, can you try with your sample without impeller?

Thanks, that worked for me. I added the following in my info.plist
<key>FLTEnableImpeller</key>
<false />

I just tested this on with the following version and the shadow no longer has an offset.  Closing the issue.
doctor
$ flutter doctor -v
[✓] Flutter (Channel main, 3.16.0-11.0.pre.11, on macOS 13.6 22G120 darwin-arm64, locale en)
    • Flutter version 3.16.0-11.0.pre.11 on channel main at /Users/aaclarke/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 90b24fb5b1 (4 days ago), 2023-10-12 13:54:12 -0400
    • Engine revision f020067363
    • Dart version 3.3.0 (build 3.3.0-16.0.dev)
    • DevTools version 2.28.1

impeller

skia


[Bug]: Provider should not delete namespace if it did not create it

Describe the bug
Our deployment of flux looks like this
resource "kubernetes_namespace" "flux_system" {
  metadata {
    name = var.flux_namespace
  }
  ...<details>
}

resource "flux_bootstrap_git" "this" {
  namespace        = var.flux_namespace
  branch           = data.gitlab_project.cluster_state.default_branch
  components_extra = ["image-reflector-controller", "image-automation-controller"]
  ...<auth details>
}

We recently got an incident because flux decided to delete a namespace it didn't create upon destruction. I think the culprit is here: https://github.com/fluxcd/terraform-provider-flux/blob/main/internal/provider/resource_bootstrap_git.go#L652C77-L652C88
The terraform provider should attempt to delete the namespace only if it created it, not if it was created externally.
flux uninstall cli command provides an option to avoid this behavior: --keep-namespace
Steps to reproduce
As flux was stuck for a different reason those are the steps that I undertook. With the code above,

terraform apply
terraform state rm 'flux_bootstrap_git.this'
terraform apply --target='flux_bootstrap_git.this'
I believe the same could be reproduced by simply
terraform apply
terraform destroy --target='flux_bootstrap_git.this'

Expected behavior
Namespace is not destroyed at any point
Screenshots and recordings
No response
Terraform and provider versions
Terraform v1.7.1
on linux_amd64

provider registry.terraform.io/fluxcd/flux v0.23.0

Terraform provider configurations
provider "aws" {
region = var.region
default_tags {
tags = var.default_tags
}
assume_role {
role_arn = ""
}
}
provider "kubernetes" {
experiments {
manifest_resource = true
}
host                   = data.aws_eks_cluster.cluster.endpoint
cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority[0].data)
token                  = data.aws_eks_cluster_auth.cluster.token
}
provider "helm" {
kubernetes {
host                   = data.aws_eks_cluster.cluster.endpoint
cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority[0].data)
token                  = data.aws_eks_cluster_auth.cluster.token
}
}
provider "flux" {
host                   = data.aws_eks_cluster.cluster.endpoint
cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority[0].data)
token                  = data.aws_eks_cluster_auth.cluster.token
}
provider "gitlab" {
token    = local.gitlab_admin_token
base_url = var.gitlab_base_url
}
flux_bootstrap_git resource
resource "flux_bootstrap_git" "this" {
namespace        = var.namespace
branch           = data.gitlab_project.cluster_state.default_branch
components_extra = ["image-reflector-controller", "image-automation-controller"]
depends_on = [gitlab_deploy_key.main]
url        = "ssh://${local.formatted_ssh_url}"
ssh = {
username    = local.username
private_key = local.key_pem
}
}
Flux version
0.23.0
Additional context
No response
Code of Conduct

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

Would you like to implement a fix?
None

@dempo93, great spot. Could you please try using the latest version of the provider and report back please.
required_providers {
    flux = {
      source = "fluxcd/flux"
      version = "1.2.3"
    }
  }

The namespace is part of the Flux manifests and that's why TF deletes it. In the Flux CLI we have flux uninstall --keep-namespace.

@stefanprodan understood, we are going to need to look at all state and see if their is a namespace there for flux-system and if so set --keep-namespace on the uninstall flow.

Sorry, didn't get to update flux and test on the latest version yet. However great you already tackled the issue. Thank you!


CIRCULAR LINKED LIST IN C++

addition of algorithm for generating single linked list

PLZ ASSIGN ME WITH THIS ISSUE UNDER HACTOBERFEST. THIS WILL BE MY 1ST CONTRIBUTION

Read the guidelines carefully. make sure you follow and star the repository!

repo stared and pr generated

can't find ur pr

i thought it was generated yesterday yet I did some changes kindly check again

yea got it

Hi @HarshwardhanPatil07 Please assign me this task

Hi @HarshwardhanPatil07 , I am interested in contributing to this issue. Please assign me.

Hi @HarshwardhanPatil07
I am interested in contributing to this issue, Please assign me.


ABC: execution of command failed return code 137.

Version
yosys 0.34
On which OS did this happen?
Linux
Reproduction Steps
Actually I use openlane. But during the synthesis phase, Yosystem gave an error, so I wanted to write it here. I created a normal flow to my processor. STEP 1 made me wait a long time. Then it gave this error.
`[INFO]: Running Synthesis (log: designs/KamerSoC/runs/RUN_2024.07.05_13.07.58/logs/synthesis/1-synthesis.log)...
[ERROR]: during executing yosys script /openlane/scripts/yosys/synth.tcl
[ERROR]: Log: designs/KamerSoC/runs/RUN_2024.07.05_13.07.58/logs/synthesis/1-synthesis.log
[ERROR]: Last 10 lines:

80. Executing ABC pass (technology mapping using ABC).

80.1. Extracting gate netlist of module `\SOC' to `/tmp/yosys-abc-lQoCQf/input.blif'..
Extracted 325976 gates and 415004 wires to a netlist network with 89026 inputs and 161154 outputs.

80.1.1. Executing ABC.
sh: line 1:   207 Killed                  "/build/bin/yosys-abc" -s -f /tmp/yosys-abc-lQoCQf/abc.script 2>&1
ERROR: ABC: execution of command ""/build/bin/yosys-abc" -s -f /tmp/yosys-abc-lQoCQf/abc.script 2>&1" failed: return code 137.
child process exited abnormally

[ERROR]: Creating issue reproducible...`

There is no general mention of the error in the log file. Or I don't understand exactly where the problem is. I'm very new to this. It was working normally when I ran another simple file. While running the system, I received this error on my own processor.
Expected Behavior
The next step was waited for.
Actual Behavior
It remained at Step 1. And it made an error.

openlane should give you a reproducible or something, I think?

That being said, the Killed line makes me wonder if somehow you ran out of free memory? That's the only situation I can think of where a process would get killed.

openlane should give you a reproducible or something, I think?

If you are talking about reproducible. If I need to share this file. This seems impossible for me right now. I am in a competition and I am not allowed to post the codes on the internet. I thought maybe someone knew because of the error code.

no, the error code simply states that ABC was killed - again, presumably from running out of memory. it doesn't tell us why.

no, the error code simply states that ABC was killed - again, presumably from running out of memory. it doesn't tell us why.

I did some research too. Probably due to processor and ram. Because towards the end of the work, the system shows 90% RAM usage and 70% processor problems. I have 8gb ram. It seems like the system won't work. Just a strange thing, the system saw 94% RAM usage. But it gave an error when I used 85% RAM.


[Refactor]: Privacy Package Improvements

Description

Solves #45

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Screenshots / Screen Recordings
Please attach screenshots if you have changed the UI, and screen recordings to demonstrate that no existing functionality is broken and that the issue is resolved.

@utkarsh006  please remove unnecessary formatting changes.

@Vishwajith-Shettigar I don't think they are unnecessary, they are just adhering the basic guidelines.

Please only add code if you are improving any feature or adding new feature. Don't push unnecessary code changes.


Allow cross receiver message settlement

It's not prevented at present, but can cause a memory leak due to entries never being removed from the unsettledMessages map. When a received message isn't settled, associate its receiver with the message. The settlement APIs will direct to the associated receiver.

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

Fixes https://github.com/Azure/azure-sdk-for-go/issues/22157


Benchmarks for PostgreSql

Results for Postgres:

Single fetch for Dapper is really fast. 👍🏼. Glad that we are leading in the push (update) operations. Thanks for this benchmark mate. 🚀


Error at checkout - asked to enter address, first name and last name

Steps to Reproduce:
Amazon Extension Version 1.4.0
Magento Version 1.9.4

Add item to shopping cart
Click Amazon Pay within the Shopping Cart
Redirect to Amazon to Login
Redirect Back to Amazon Checkout Page
At this point, the sales_flat_quote_address table within Magento contains the accurate shipping and billing address as chosen from the Ajax Change Shipping Address Widget
Add New address
Select new address
At this point, new address is updated within the sales_flat_quote_address table for the appropriate quote_id
Leave Checkout to browse website again
Comeback to shopping cart
Click Amazon Pay
Login to Amazon once Again
Redirect back to Magento Checkout
At this point, the billing address is updated back to the default billing address within Magento, and Shipping Address is subsequently NULL. An additional issue: The address selected within the Shipping Address Widget still displays the new address that was entered within step 5.
Click Place Order
Error Given "Please Enter First Name, Last Name, .... "

Note: We tried replicating this issue within our local environments, utlizing sandbox mode and we were not able to reproduce. This may possibly be a production mode only issue, but we are unsure.
Related Issues:
https://github.com/amzn/amazon-payments-magento-plugin/issues/296
https://github.com/amzn/amazon-payments-magento-plugin/issues/266

Thanks @duffner, we'll take a look.

Has there been any update to this issue?  This is an issue that is currently affecting a production environment.

Thanks for clarifying @duffner - I'll ask for an update from our support team.

@Matt Neilson, I following up on behalf of Robert who has added the original issue... I would like to check if there was any movement or was there any updates from your support team
When should we expect the response and fix for this issue as it is a production issue and affecting the customers business and ability to use Amazon Pay as the payment method, its been 14 days since the bug is added...
Please understand the severity of the bug and understand the impact on business of the customer

Any update?

@duffner - our support team came back and was unable to reproduce the issue. Engaging you via email to see if we can troubleshoot more closely. Please check your email listed on your GitHub profile.
@niteshlakhwani - would you be willing to engage directly via email as well? If so, please send a message to<EMAIL_ADDRESS>referencing this issue.

@islandskater43, the description and the steps to reproduce the bug is updated in the first comments added by Robert....
Please coordinate with your team to look into the updated steps and lets us know if you are still able to reproduce the issue or not?

@islandskater43, the description and the steps to reproduce the bug is updated in the first comments added by Robert....
Please coordinate with your team to look into the updated steps and lets us know if you are still able to reproduce the issue or not?

@niteshlakhwani, I was unable to replicate the issue with Amazon Pay 1.4.0 in my Magento 1.9.2 after following your steps. However, the support team is currently looking into this and I'll let you know if they are able to recreate the issue.

Hi all,
When testing this.. firstly we've run into a iconv deprication issue with PHP 5.6.30 - a warning in checkout is shown only when you run your environment with MAGE_IS_DEVELOPER_MODE = 1. We have not confirmed that it causes the original problem, tho I suggest @duffner to check this just in case.
Another issue might be data related - addresses are updated (when changed / added) with following ajax request
POST /checkout/amazon_payments/shippingMethod/
.. this ends up in Amazon_Payments_Controller_Checkout::_saveShipping where it eventually calls $this->_getCheckout()->saveShipping($data);
At this point, I'm assuming that there is a problem with $data, since by looking at it I see already possible issues with how first/last names are created.
For example $name string such as "Cornelio G Pisani" would end up sending  as the 'firstname' and 'ornelio G Pisani' as the 'lastname'. Not saying that this is the issue here - tho it can be.
@duffner would you be able to add a logging line to app/code/community/Amazon/Payments/Controller/Checkout.php?
The line should go directly before saveShipping(..) and should look something like Mage::log(var_export($data,1), null, 'saveShipping.log');
All address data saves are now logged to var/log/saveShipping.log - would you pass that log to us once you've re-produced the issue a couple of times?
Regards,
Kristjan

Thanks Kristjan for sharing the details... I will work on the things you have outlined for us and shared the details you are looking from us by early next week

Hi @niteshlakhwani Were you able to make progress on this?

Attached is the shipping log. You will see the last 2 save shipping entries contain missing data. We are awaiting your diagnosis.
saveshipping.log.zip
Thank you,
Matt Sherer

Thanks @msherer , I'll forward this to our support team and let you know what we find.

Hi @prayagr were you able to make any progress on this?

Hi @msherer, our support team is currently looking into this, I'll update you as soon as they make progress.

Good morning @prayagr do you or your team have a status update on this issue at all?
Thanks!

I checked the Magento Connect version and there is nothing to update (1.4.4 is from July). The current GitHub code has more recent changes which I believe actually includes the mentioned change. We are testing the GitHub version before replacing it live.
--
Thank You
Loren McDonald
From: Matt Sherer<EMAIL_ADDRESS>Sent: Monday, September 25, 2017 9:47 AM
To: amzn/amazon-payments-magento-plugin<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [amzn/amazon-payments-magento-plugin] Error at checkout - asked to enter address, first name and last name (#328)
Good morning @prayagrhttps://github.com/prayagr do you or your team have a status update on this issue at all?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/amzn/amazon-payments-magento-plugin/issues/328#issuecomment-331886105, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AH8BgmerkacCGLhhAZ6qGDMoRT2QqZXwks5sl67PgaJpZM4Obqlp.
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.

Hi @msherer , I do not have an update to provide yet, but the support team is looking into this with priority.

Hi @msherer, The support team reviewed the logs and it is still unclear why the address data is missing. We are unable to reproduce the issue on our end, but we are looking into why only partial data is present for some of the addresses.
To troubleshoot further, the support team would like to see all related requests and responses for the Amazon Pay API service calls, this can be done by turning on Debug mode in the Magento backend for Amazon Pay. After enabling the debug mode, please reproduce the error and send us the relevant logs.
Also, to be sure that we are following the correct steps, if you can send a short screencast of the whole checkout process (from opening the page first time to the error response), it would be really helpful. It could be that we misunderstood some of the instructions and being able to see full process without room for mistakes allows us to reproduce it locally.

Hi @msherer , Did you get a chance to review my comment above?

I have the exact same issue... Would love to see this get resolved...

Hi @MichaelPMiller , I believe the support team was able to replicate the issue. We are looking into resolving this and will update this ticket as soon as there is progress. I might reach out to you again in case we need more information on the issue.

I have the same issue, glad you are looking at fixing it.

Hi @MichaelPMiller and @dsmarion , the support team has been able to replicate the issue, but the behavior is very inconsistent. Do you have an accessible dev site where we can consistently reproduce the issue?

I do have a dev site you can use... Do you need access to the backend or just the frontend? And I am new to this platform... How do I send that to you privately?

Thanks @MichaelPMiller , we will need both frontend and backend access. Please send an email to<EMAIL_ADDRESS>and we can engage privately there.

Our dev info has been sent to your email address. Also we have tried in the past to resolve this with another tech so I included the case log if you want to review those notes within amazon's system.

As an FYI... We also check to make sure the theme and widgets.js where not conflicts and they are not.

I do not have an accessible dev site where you can reproduce the issue.

any update?

Hi @dsmarion , the support team is actively looking into this. I hope to provide an update soon.

Hi,
@dsmarion
Checked the logs in saveshipping.log.zip once again. The combination   'firstname' => '',   'lastname' => false, can only happen if the variable $name is null. So we can assume it actually is.
The $name value itself get populated with by getOrderReferenceDetails API call to gateway,
so we now have to look what values were returned by the API.
To do that - first check if you have amazon.log in you var/log directory.
If not - then enable debugging from the admin panel: System -> Configuration -> Payment Methods ->  Login and Pay with Amazon -> Developer -> Debug Mode = Yes
Try to complete a checkout, see if amazon.log is being created.
To get an understanding if wrong data is being passed already from gateway, please send us the amazon.log file where at least one erroneous condition is recorded.
Thanks,
Kristjan

@OnTapKristjan, As my issue is very similar, is there anything additional I can provide to help?

@duffner var/log/amazon.log would be great for debugging, once you've re-created the issue with debugging enabled, it should log the actual gateway data in that log - see my prev. comment how to get it.

@OnTapKristjan, I don't see anything being recorded with Debug Mode enabled.  There is however, details when running the admin diagnostic tool, I'm not sure if these are the same.

Hi @duffner, diagnostic details are different.
Unfortunately we do need the log before we can debug this further.
Providing some suggestions to check

Make sure logging is in fact enabled (also make sure it's enabled on Website scope)
Webserver has sufficient permissions to write into var/log directory
You've tried to login and checkout with Amazon in your Magento site (which triggers logging)
Does Magento generally log anything into var/log/system.log

@ontap,  yes logging works correctly. I never looked at code to see where your amazon.log makes it’s calls. Is it only on place order ?

Sorry everyone, I accidentally pushed close and comment :(.

@duffner calls to API are being made on login and checkout, I believe. Whenever it contacts the API it should log to that file.

I have the exact same issue... Would love to see this get resolved...

I enabled the log but I did not see any log amazon.log file in log folder.

I looked at this code, it doesn’t appear this logging ever worked.  At least not in this case.

I saw the following in exception.log file.
2017-11-18T12:36:16+00:00 ERR (3):
exception 'Mage_Core_Exception' with message 'Please check shipping address information. Please enter the first name. Please enter the last name. Please enter the street.' in /home/centuryd/public_html/app/Mage.php:594
Stack trace:
#0 /home/centuryd/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(298): Mage::throwException('Please check sh...')
#1 /home/centuryd/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(222): Mage_Sales_Model_Service_Quote->_validate()
#2 /home/centuryd/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(238): Mage_Sales_Model_Service_Quote->submitNominalItems()
#3 /home/centuryd/public_html/app/code/community/Amazon/Payments/Model/Type/Checkout.php(210): Mage_Sales_Model_Service_Quote->submitAll()
#4 /home/centuryd/public_html/app/code/community/Amazon/Payments/controllers/CheckoutController.php(298): Amazon_Payments_Model_Type_Checkout->saveOrder()
#5 /home/centuryd/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Amazon_Payments_CheckoutController->saveOrderAction()
#6 /home/centuryd/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#7 /home/centuryd/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /home/centuryd/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#9 /home/centuryd/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#10 /home/centuryd/public_html/index.php(88): Mage::run('', 'store')
#11 {main}

vidyasagar4679, I get the same exception, however the exception is only a symptom of the problem not the cause unfortunately.  What version of the extension are you using? I believe Ontap was likely trying to get access to the API requests because something in the response from Amazon may cause this to go astray.
Sadly, I don’t think logging works as it’s supposed to. amazon.log that is.

I am using amzn-login_and_pay_for_magento-1.4.5

Is there no resolution to this issue yet? It just affected my client's site using a very old version of the extension, after no code changes were made. There was a code change 2 days before, then just stopped working. Only reproducible on the production site, the dev site worked fine. I upgraded the extension to 1.4.4 and still failing on production, but working on development site, just like before. Here's a visual:
https://monosnap.com/file/6TM754VqPLTNsmbKYZdAuvrZlZVQGX
It seems the API is not returning the address data to Magento.

We are working on this with priority, but it has proven to be a difficult issue. I will provide an update shortly.

We are researching on our end as well.
Looking for any changes made on Nov 16 to code and server that might have
caused this to fail.
The fact that the code works on our dev server is extremely interesting, it
seems like there might be a server setting that the code is sensitive too.
Mike Cohen
2teninteractive LLC
2teninteractive.com
347-661-3499
On Tue, Nov 21, 2017 at 12:00 PM, prayagr<EMAIL_ADDRESS>wrote:

We are working on this with priority, but it has proven to be a difficult
issue. I will provide an update shortly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amzn/amazon-payments-magento-plugin/issues/328#issuecomment-346092389,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEpS99TERntRklFP7ofwnpBvnDRjKmxcks5s4wHJgaJpZM4Obqlp
.

See my update, it seems the installation of Suhosin PHP Extension broke the functionality. If you have this installed it may be the issue.

Thanks @2ten for providing the fix as well. @duffner @vidyasagar4679 Do you use the Suhosin extension and is this fix applicable to you?

I can confirm that I do have Suhosin PHP Extension installed as well. I am having my hosting company work on the issue as well and will update if it resolves.

We have applied the fix outlined by @2ten and it do not resolve our issue. However, it does now return UPS shipping options that were not previously there. previously it only had Fedex shipping options.

Thanks for the update @MichaelPMiller , that's an interesting development. I'll ask the team to dive deeper into this as they continue to troubleshoot on your instance.

Sorry for the delay, @prayagr and @2ten we do not use Suhosin.

I also looked for instances of max_input_vars and didn't see anything.

Hi @duffner, thanks for the update. From your and Michael's comments, it looks like the Suhosin extension isn't the only cause of this issue.

Hi All,
I am using magento 1.9.3 and Amazon Payments extension version 1.4.4. Previously I was also getting the same error of missing shipping address. But, once I disabled the php extension Suhosin then after the extension starts working and orders are placing now successfully.

@2ten we added the following limits:
max_input_vars = 10000
upload_max_filesize = 12M
post_max_size = 12M
suhosin.post.max_vars = 10000
suhosin.request.max_vars = 10000
Do these align with yours?

As an update we disabled Suhosin all together as provided by @shivkuma and it is now working for us as well.

We disabled as well that was the issue. It was mistakenly installed in our
case
On Mon, Nov 27, 2017 at 6:20 PM Michael Miller<EMAIL_ADDRESS>wrote:

As an update we disabled Suhosin all together as provided by @shivkuma
https://github.com/shivkuma and it is now working for us as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amzn/amazon-payments-magento-plugin/issues/328#issuecomment-347362020,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEpS9-m2gYDid9jGhJxcEmAGzBMC7wXAks5s60PGgaJpZM4Obqlp
.

--
Mike Cohen
2teninteractive LLC
2teninteractive.com
347-661-3499

Thanks for the update everyone, our support team is currently looking into why the Suhosin extension is causing this issue. I will provide an update soon.

Hi @duffner ! Since there have been several reports of Suhosin extension causing this issue, there's a good chance that this problem might be somehow caused by PHP configuration. Is it possible to get output of php -i command (sans sensitive information)? My priority right now is to find out what causes this problem, but apparently it requires very specific conditions to manifest.
To everyone who solved the issue by disabling Suhosin: removing this extension is definitely not a long term solution. Suhosin implements relatively tall list of different security measures and knowing which one exactly causes this problem will help a lot.

@pronto2000 and @prayagr,
Below is my current PHP CLI and FPM ini configuration.
PHP_CLI.txt
PHP-FPM.txt

As an update, this looks to be a Magento environment issue. It is determined that the issue is mainly caused in two scenarios:

Suhosin extension incompatibility
Unexpected character in name field

We have seen that disabling the Suhosin extension does resolve the issue in a few cases. However, this isn't an ideal resolution as disabling another extension shouldn't be the right way to proceed. We will continue to look into both the cases.

This issue has been plaguing me for a while as well. I do not have the Suhosin PHP extension but I do still get this issue rather commonly (3-5 times a day). Before this version of the amazon_payments extension logged anything I was logging the issue at a different point (app/code/community/Amazon/Payments/Model/PaymentMethod.php:361) due to an error showing in the exception log. I suspect that if the issue is token related that this might be closer to the origination of the issue since it's directly asking for the token at this point and unable to find it.
I think it's odd that the issue is logged but yet the order still gets placed without required info and there is no failure shown to the user nor an administrator in the admin panel.
One thing to note is that an exception is thrown at this point that intends to tell the customer to log in to their account using the amazon pay button however it is not ever displayed to the customer since most of the time exceptions aren't displayed in production.
To overcome this, I have added a return at app/code/community/Amazon/Payments/Model/PaymentMethod.php:361 and display an error message telling the user there was an issue placing the order and to try a different method. Here's my code:
            if (!$orderReferenceId) {                 Mage::getSingleton('checkout/session')->addError('There was an issue checking out with Amazon Pay. Please verify you have not received an order confirmation email and try again using a different payment method. If you continue having problems or have concerns, please contact us.');                 Mage::log('Amazon order info: ' . print_r($payment, true), null, 'amazon_pay_errors.log', true);                 return null;             }
I also notice that in the logging done on app/code/community/Amazon/Payments/Controller/Checkout.php:279 is only logging the address info after it's processed by Amazon_Payments_Helper_Data::transformAmazonAddressToMagentoAddress() so I have added additional logging to see if the address sent to magento is actually correct by using this code:
            if (empty($data['firstname'])) {                 Mage::log('Missing address data. See https://github.com/amzn/amazon-payments-magento-plugin/issues/328', null, 'amazon_address.log');                 Mage::log('Token: ' . $this->getAmazonOrderReferenceId(), null, 'amazon_address.log');                 Mage::log('Pre-Processed-Data: ' . $address, null, 'amazon_address.log');                 Mage::log('Processed-Data: ' . $data, null, 'amazon_address.log');             }
I haven't found a fix yet but I wanted to add the additional info I have that I didn't see mentioned here.


Icon request: CAPCOM ID

URL for the brand / site / app
https://cid.capcom.com/en/
Logo resources for the icon
https://github.com/detain/svg-logos/blob/master/svg/capcom-logo-1-.svg
Maintainer note: SVG for CAPCOM ID https://cid.capcom.com/assets/img/top/cid_logo.svg
Proof of the Aegis-compatible 2FA
The Two-Factor Authentication section on the support page: https://cid.capcom.com/en/support/
Anything else?
The logo resource provided in this issue is the general Capcom logo which would be more recognizable though there is also a specific Capcom ID logo which I wasn't able to find in SVG form but is used on the website's header and throughout that branch of Capcom's services.
Confirmation

[X] I have read and followed the issue guidelines & issue form.

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/icons/1_Primary/CAPCOM ID.svg

:question: How to add icon(s) to Aegis?
:star: Support this project by giving a star! Just adding like to this comment is also appreciated.


Nested if in LG file

Unable to create nested if in LG

Suggestions:
Implement nested conditions with multi-templates, example:
# template
- IF:${IsMatch1()}
 - ${template1()}
- ELSEIF: ${isMatch2()}
 - ${template2()}

# template1
- IF: ${IsMatch11()}
 - looks good
- ELSEIF: ${isMatch12()}
- balabala

# template2
- IF: ${IsMatch21()}
 - looks good
- ELSEIF: ${isMatch22()}
- balabala

For improved readability, nesting is only supported via composition. Please see @Danieladu's example above.

Thank you! @daniel-castro and @vishwacsena


Binary Exponentiation

Binary Exponentiation Code
The code for binary exponential is currently not available so I would like to contribute to it. Kindly assign me this issue under SSOC'23.
Admin - @Kumar-laxmi

The code for binary exponential in Java is not currently available. I can do this using Java please assign me this work as a part of SSOC'23
Admin - @Kumar-laxmi

This algorithm is not available only in Java (refer no. README.md index: algo. no. 55)

Assigned!
@swastik-akhil : Java

@swastik-akhil I am unassigning you and closing this issue due to inactivity

@Kumar-laxmi I'm working on this issue and I assure you that it will be completed by 18/06.


Server Crashes When Bit Block Blown Up

Whenever any form of explosion hits a block thats been affected by chisel and bits the server crashes. 1.19.2

chisel and bits
This is BitsAndChisels though?


sort config versions for display

hmm yeah... @kolyshkin could you PR that, and I can rebase this PR with perhaps just the sorting change.

@rphillips can you squash the commits?

Sorry, it seems we clicked on "edit" for title at the same time  😆


Upgrade GitHub Actions for wheels

Summary
Upgrade GitHub Actions for wheels
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.009%) to 87.074%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
3
90.91%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
74070

Relevant Lines:
85066

💛  - Coveralls


Merge documentation to master

Any documentation from dev branch should be merged into master.
Make sure we explain in CONTRIBUTING.md what we have to work in dev branch

Ig we can close this now.


Optimize concurrent runner booting

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Installation on OpenWrt 21.02 is incomplete

Hello,
I'm running OpenWrt 21.02 on this device.
This router is MMIPS architecture with MT7621A CPU.
I downloaded pre-compiled package netmaker-dev_0.9.4-1_all-openwrt-21.02.ipk assuming this would be correct for my architecture.
Installation with command
root@eddie:~# opkg install netmaker-dev_0.9.4-1_all-openwrt-21.02.ipk
Installing netmaker-dev (0.9.4-1) to root...
Configuring netmaker-dev.

finished w/o errors.
However, there's no file in /etc/init.d to start the service:
root@eddie:~# ls /etc/init.d/
boot              cron              firewall          luci_statistics   set-irq-affinity  sysctl            ucitrack          urngd
bootcount         dnsmasq           gpio_switch       network           sqm               sysfixtime        uhttpd            wpad
chronyd           done              led               odhcpd            stubby            sysntpd           umount
collectd          dropbear          log               rpcd              sudo              system            urandom_seed

Therefore I conclude that the installation is incomplete.
Please advise how to fix this issue.

Duplicate of https://github.com/sbilly/netmaker-openwrt/issues/1


Option to store assets on the chain as json objects to enable rich queries.

Is there a way to set the router so that using the state mappings I could have the object defined in the .proto stored on the chain as a Json object/struct instead of a binary protobuf? I have already set the router option WithSerializer(serialize.PreferJSONSerializer). The reason this would be useful is it would enable the ability to use CouchDB to be used in order to use rich queries.

I have created a middleware function to set the states to use the serialize.PreferJSONSerializer.

func SetStateJSON(next router.HandlerFunc, pos ...int) router.HandlerFunc {
	return func(c router.Context) (interface{}, error) {
		c.State().UseSerializer(serialize.PreferJSONSerializer)
		return next(c)
	}
}

It is working for submitting new assets and retrieving them one at a time, but the get list keeps getting a panic with the error `"reflect: call of unknown method on zero Value"
"reflect: call of unknown method on zero Value"
Stack:
	 2  0x000000000071174f in reflect.flag.mustBe
	     at C:/Users/devcs/scoop/apps/go/current/src/reflect/value.go:221
	 3  0x000000000071f277 in reflect.Append
	     at C:/Users/devcs/scoop/apps/go/current/src/reflect/value.go:2736
	 4  0x0000000000e587fd in github.com/hyperledger-labs/cckit/state.(*StateList).Get
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/state/state_list.go:61
	 5  0x0000000000e57f9e in github.com/hyperledger-labs/cckit/state.(*StateList).Fill
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/state/state_list.go:50
	 6  0x0000000000e50ea5 in github.com/hyperledger-labs/cckit/state.(*Impl).List
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/state/state.go:233
	 7  0x0000000000e6541e in github.com/hyperledger-labs/cckit/state/mapping.(*Impl).List
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/state/mapping/state.go:185
	 8  0x0000000000e7bc74 in github.com/nova38/biochain/fabric/biochain/cc_func.QueryUsers
	     at D:/projects/BioChain/fabric/biochain/cc_func/fn_user.go:15
	 9  0x0000000000e5ef76 in github.com/hyperledger-labs/cckit/router.(*Group).addHandler.func1
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/router/router.go:208
	10  0x0000000000e7d0f8 in github.com/nova38/biochain/fabric/biochain.SetStateJSON.func1
	     at D:/projects/BioChain/fabric/biochain/chaincode.go:17
	11  0x0000000000e62f7e in github.com/hyperledger-labs/cckit/state/mapping.MapEvents.func1.1
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/state/mapping/middleware.go:20
	12  0x0000000000e62c3e in github.com/hyperledger-labs/cckit/state/mapping.MapStates.func1.1
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/state/mapping/middleware.go:11
	13  0x0000000000e5dcb1 in github.com/hyperledger-labs/cckit/router.(*Group).handleContext.func2
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/router/router.go:138
	14  0x0000000000e5d59a in github.com/hyperledger-labs/cckit/router.(*Group).handleContext
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/router/router.go:141
	15  0x0000000000e5f92d in github.com/hyperledger-labs/cckit/router.(*Group).handleContext-fm
	     at <autogenerated>:1
	16  0x0000000000e5c60e in github.com/hyperledger-labs/cckit/router.(*Group).buildHandler.func1
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/router/router.go:80
	17  0x0000000000e5cbd7 in github.com/hyperledger-labs/cckit/router.(*Group).Handle
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/router/router.go:102
	18  0x0000000000e59605 in github.com/hyperledger-labs/cckit/router.(*Chaincode).Invoke
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230213072814-6b596ecc2637/router/chaincode.go:29
	19  0x0000000000d12f02 in github.com/hyperledger/fabric-chaincode-go/shim.(*Handler).handleTransaction
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger/fabric-chaincode-go@v0.0.0-20220131132609-1476cf1d3206/shim/handler.go:209
	20  0x0000000000d28605 in github.com/hyperledger/fabric-chaincode-go/shim.(*Handler).handleTransaction-fm
	     at <autogenerated>:1
	21  0x0000000000d11d9c in github.com/hyperledger/fabric-chaincode-go/shim.(*Handler).handleStubInteraction
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger/fabric-chaincode-go@v0.0.0-20220131132609-1476cf1d3206/shim/handler.go:159
	22  0x0000000000d1d0b5 in github.com/hyperledger/fabric-chaincode-go/shim.(*Handler).handleReady.func2
	     at C:/Users/devcs/go/pkg/mod/github.com/hyperledger/fabric-chaincode-go@v0.0.0-20220131132609-1476cf1d3206/shim/handler.go:620

It seems like the problem is a arising here in the first if statment in the state_list.go get function.
if _, isListProto := sl.listTarget.(proto.Message); isListProto {
I got it to not error out when i removed the list maping (m.List(&schema.UserList{}), ) from my state mappings. That let me access the else statement which didn't run into the same issue.

Hi, Thomas!
please try to set serializer as in test https://github.com/hyperledger-labs/cckit/blob/main/state/mapping/testdata/cc_composite_id.go#L25. This works in test https://github.com/hyperledger-labs/cckit/blob/main/state/mapping/mapping_test.go#L403

When I try to get the list of the users using that method I ended up only being able to populate the list as the IDs otherwise it errors out.
Works:
func QueryUsers(c router.Context) (interface{}, error) {
	return c.State().List(&schema.UserId{})
}

Errors out
func QueryUsers(c router.Context) (interface{}, error) {
	return c.State().List(&schema.User{})
}

 Traceback

github.com/nova38/biochain/fabric/biochain/cc_func.QueryUsers({0x10bbfc0, 0xc0000e4af0})
	D:/projects/BioChain/fabric/biochain/cc_func/users.go:66 +0xf4
github.com/hyperledger-labs/cckit/router.(*Group).addHandler.func1({0x10bbfc0, 0xc0000e4af0})
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230419074008-6860e6793805/router/router.go:208 +0x156
github.com/hyperledger-labs/cckit/state/mapping.MapEvents.func1.1({0x10bbfc0, 0xc0000e4af0})
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230419074008-6860e6793805/state/mapping/middleware.go:20 +0xde
github.com/hyperledger-labs/cckit/state/mapping.MapStates.func1.1({0x10bbfc0, 0xc0000e4af0})
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230419074008-6860e6793805/state/mapping/middleware.go:11 +0xde
github.com/hyperledger-labs/cckit/router.(*Group).handleContext.func2({0x10bbfc0, 0xc0000e4af0})
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230419074008-6860e6793805/router/router.go:138 +0x231
github.com/hyperledger-labs/cckit/router.(*Group).handleContext(0xc000000000, {0x10bbfc0, 0xc0000e4af0})
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230419074008-6860e6793805/router/router.go:141 +0x93a
github.com/hyperledger-labs/cckit/router.(*Group).buildHandler.func1({0x10bbfc0, 0xc0000e4af0})
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230419074008-6860e6793805/router/router.go:80 +0x1ae
github.com/hyperledger-labs/cckit/router.(*Group).Handle(0xc000000000, {0x10bd8e8, 0xc0002d5550})
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230419074008-6860e6793805/router/router.go:102 +0x197
github.com/hyperledger-labs/cckit/router.(*Chaincode).Invoke(0xc00000a680, {0x10bd8e8, 0xc0002d5550})
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger-labs/cckit@v1.0.2-0.20230419074008-6860e6793805/router/chaincode.go:29 +0x85
github.com/hyperledger/fabric-chaincode-go/shim.(*Handler).handleTransaction(0xc0005983c0, 0xc0005a4a80)
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger/fabric-chaincode-go@v0.0.0-20220131132609-1476cf1d3206/shim/handler.go:209 +0x4a2
github.com/hyperledger/fabric-chaincode-go/shim.(*Handler).handleStubInteraction(0xc0005983c0, 0xc0004982a0, 0xc0005a4a80, 0xc000594960)
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger/fabric-chaincode-go@v0.0.0-20220131132609-1476cf1d3206/shim/handler.go:159 +0x5c
created by github.com/hyperledger/fabric-chaincode-go/shim.(*Handler).handleReady
	C:/Users/devcs/go/pkg/mod/github.com/hyperledger/fabric-chaincode-go@v0.0.0-20220131132609-1476cf1d3206/shim/handler.go:620 +0x37f

message User {
  string msp_id = 1;
  string id = 3;
  string name = 2;
  string affiliation = 4;
  repeated Membership memberships = 5;
}
message UserId {
  string msp_id = 1;
  string id = 2;
}
message UserList {
  repeated User users = 1;
}

{
  "items": [
    {
      "@type": "type.googleapis.com/schema.UserId",
      "msp_id": "Org1MSP",
      "id": "org-admin"
    },
    {
      "@type": "type.googleapis.com/schema.UserId",
      "msp_id": "Org1MSP",
      "id": "user1"
    }
  ]
}

I am able to get the users full value by using the state().get() instead of having to declare an additional unique key set.

It doesn't hit that error if I leave off the mapping.List(&schema.UserList{}) from the statemapping


Ports not visible in ports view → No way to use external ports

Describe the bug
I can't seem to view ports in port view, this also happens when running npx browser-sync start --server
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/explosion-scratch/svelteflowy
Steps to reproduce

Run project with pnpm i && pnpm dev
It says that it's running on port 8080
Port not shown in port view

Expected behavior
Ports appear in the ports view
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Version = 1.67.0
Hash = 69b9b1602da27b7f44e9800c223182ce1a037ea8
WebContainer = 3c06ff333fff62d153837b0d0df85b8ed07b008f

Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 105
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; CrOS x86_64 14989.107.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 72169303,
  "usedJSHeapSize": 69225991,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context
No response

1: It opens the http://localhost:8080, my localhost. Same with adding --host, it just spits out an IP url, but that's my IP and the URL doesn't load.
2: No notifications of open ports

3: No errors in devtools

Update: Enabling third party cookies seems to fix this:

Source

Oh, it was unclear you where using Brave. We should add that to the Browser name in the bug report. Because we have something in our docs about this. https://developer.stackblitz.com/platform/webcontainers/browser-config-brave#allowing-third-party-service-workers
Glad you found out and it is working now.

No, I'm not using Brave. I'm using Chrome

Oh really!? Interesting 🤔 . I'll bring this up to the team. Thanks for confirming you are using Chrome!

Yes, but this only happens with third party cookies disabled.


Add rowKey to selection cell renderer

Re-opening #1139 to correct the branches.
Original PR text:
I was writing a custom renderer for the selection cell in order to add a label to the input for screen readers. But I realized that the rowIndex being passed in cannot reliably be used to get the row data, since filtering and sorting affect it.
This change merely adds the rowKey as an additional param to custom selectionRenderer functions.

release to newest version done


Build fails because of too old ufo2ft

Currently trying to build all fails in NotoMusic because NotoMusic uses CursFeatureWriter. However, the pinned scripts/fontmake/requirements.txt lists ufo2ft >= 2.13.0, which does not have CursFeatureWriter.

The fontmake version referenced is from 2020!  This rolls it to current fontmake tip of tree:
diff --git a/scripts/fontmake b/scripts/fontmake
index ef5d60785..e403c4ac8 160000
--- a/scripts/fontmake
+++ b/scripts/fontmake
@@ -1 +1 @@
-Subproject commit ef5d607853ea528f786c4903cb0fd0259b9994ea
+Subproject commit e403c4ac829e57e613032afdbcc96170d24796ba

I'm currently working on a whole new build process based on GitHub actions; see https://github.com/notofonts/noto-project-template

We've now deployed the new build system and this source repo is going away.


accounts / users?

now working: user/pass login
Facebook login? Twitter? these are relatively easy to add, but rather keep it as simple as possible (and no simpler)
should there be a "profile page" with the messages from the user?

FB and twitter i would add later.
Profile page with own messages seems good. Can we use this, to make a "personalization" (like only showing status updates of myself in the ticker on my blog, f.e.)?

so this is done, right?


(Valkyria): support "MICOCG02"

tested game: https://vndb.org/v48766

Thank you for your contribution


Update target of micronaut3-to-4 to Micronaut Framework 4.0.0-RC1

What's changed?
The target of the micronaut3-to-4 recipe is updated to Micronaut Framework 4.0.0-RC1.
Checklist

[x] I've added unit tests to cover both positive and negative cases
[x] I've used the IntelliJ auto-formatter on affected files

Thanks again! Merge whenever you're ready.
And let me know if you want to stop updating those tests with each new release. I think we've discussed that before, but wanted to suggest it again now that things are settling down. Here an (admittedly not beautiful) example of using spec.after and a Matcher for the micrometer version; should be similar for the plugin versions I see you update in various tests.

Thanks again! Merge whenever you're ready.
And let me know if you want to stop updating those tests with each new release. I think we've discussed that before, but wanted to suggest it again now that things are settling down. Here an (admittedly not beautiful) example of using spec.after and a Matcher for the micrometer version; should be similar for the plugin versions I see you update in various tests.

Great, thanks. My thought is that I'll tackle that with the update to 4.0GA (which we hope to be the next release), since then I can stop using completely explicit versions everywhere.


Is this extension compatible with the revealjs output from Quarto?

Thanks for creating this extension.
I thought that the lighbox interface would be neat to include in a slide show produced with quarto.
I assume that this is not currently supported as none of your examples include this output type?

I, too, would appreciate an answer to this.
Thanks.

It is currently not well supported for reveal presentations. If someone would like to look into improving its compatibility with revealjs, we would certainly appreciate it!

Is the pb due to Revealjs or rather on Quarto's side ?

This extension uses glightbox (the javascript library) to implement the Lightbox. I'm not sure exactly where the issue is though it is likely an interaction between Reveal's url handling (which it does to control slide navigation) and Lightbox's url handling (which it does to implement the Lightbox behavior). If you happen to debug further, it is appreciated!


Refactors gRPC instrumentation

Which problem is this PR solving?

This PR refactors gRPC interceptors by downgrading opentracing APIs

Related to https://github.com/jaegertracing/jaeger/issues/3380
Part of https://github.com/jaegertracing/jaeger/issues/3381
Short description of the changes

Upgrades gRPC intrumentation to OTEL

Sorry @yurishkuro I was about to do that. Left it for review. I wrote the PR desc. 😄


Recognising half-op modes

Describe the bug
Users with %, & and ~ always appear as having left the channel (the username is always stricken through).
To Reproduce
Steps to reproduce the behavior:
Visit a channel with those users. jungletrain.net's channel has a few people like that.
The 'left user' feature works perfectly well with the more typical modes + and @
Expected behavior
Those users should be accounted for the same way as oppers and voiced.
Environment:

OS: raspbian
Browser: Any
Version v4.06
IRC UnrealIRCd-4.2.2 on paranode.net (at least for that channel)

Thanks for reporting in! This is fixed in master now, and will be part of the upcoming release.


Add pre-commit to github actions

Running pre-commit should be done on a job that happens before the current test job, so we can catch any formatting erros early and often.

I've added pre-commit.ci to cover this instead.


Error using HLL Functions in Spark

Hello Devs
We are using EMR 6.1  with spark version 3.0 and spark-alchemy 2.12-1.0.1.jar.
HLL functions were successfully registered in Zeppelin notebook with the below command:
%spark com.swoop.alchemy.spark.expressions.hll.HLLFunctionRegistration.registerFunctions(spark)
When trying to process our data column (exposure_hll) containing HLL sketches, we received an error :
%sql
select hll_cardinality(hll_merge(exposure_hll)) from table1
ERROR:
Error happens in sql: select hll_cardinality(hll_merge(exposure_hll)) from table1
net/agkn/hll/serialization/IHLLMetadata; line 1 pos 23
Attaching the full error log and below are few lines from the full error log:
Caused by: org.apache.spark.sql.AnalysisException: net/agkn/hll/serialization/IHLLMetadata; line 1 pos 23
       at org.apache.spark.sql.EncapsulationViolator$.createAnalysisException(EncapsulationViolator.scala:11)
        at com.swoop.alchemy.spark.expressions.NativeFunctionRegistration.$anonfun$expression$4(NativeFunctionRegistration.scala:64)
        at org.apache.spark.sql.catalyst.analysis.SimpleFunctionRegistry.lookupFunction(FunctionRegistry.scala:121)
        at org.apache.spark.sql.catalyst.catalog.SessionCatalog.lookupFunction(SessionCatalog.scala:1439)
        at org.apache.spark.sql.hive.HiveSessionCatalog.super$lookupFunction(HiveSessionCatalog.scala:135)
        at org.apache.spark.sql.hive.HiveSessionCatalog.$anonfun$lookupFunction0$2(HiveSessionCatalog.scala:135)
spark HLL Function error log .txt
Any help would be HUGELY appreciated !  Thanks !!

Hello guys, any updates about this error? I have the same error in Databricks with spark-alchemy library

#27 has more details and a workaround.


After the upgrade of version 2.0, the data obtained from the temperature and humidity sensors of the xiao mi  is 0

After the upgrade of version 2.0, the data obtained from the temperature and humidity sensors of the xiao mi  is 0.   T T

@leapp That is a pretty short report. I do not use Xiaomi sensors myself, so please provide me with more information. Like logs. Try enabling the Homebridge log function in /config/homebridge/config.json and put the log_level option of the add-on into debug mode. This will give you more output.

This issue should is fixed with HA 0.56.1.


Introduce pyre

Pyre is a type checker, more faster than PyType. It also includes a security scanner, Pysa, which is not yet enabled. Maybe we could set it up later.

Result: https://github.com/megvii-research/megfile/security/code-scanning?query=is%3Aopen+pr%3A53

高端啊，不过错误好多，感觉要修好久

Codecov Report

Merging #53 (b22c788) into main (6501237) will decrease coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
- Coverage   86.92%   86.82%   -0.11%
==========================================
  Files          35       35
  Lines        3718     3711       -7
==========================================
- Hits         3232     3222      -10
- Misses        486      489       +3

Impacted Files
Coverage Δ

megfile/lib/fnmatch.py
98.71% <0.00%> (-1.29%)
:arrow_down:

megfile/lib/s3_prefetch_reader.py
86.77% <0.00%> (-0.44%)
:arrow_down:

megfile/s3.py
92.19% <0.00%> (-0.27%)
:arrow_down:

megfile/lib/glob.py
94.01% <0.00%> (-0.08%)
:arrow_down:

megfile/smart.py
87.95% <0.00%> (-0.07%)
:arrow_down:

megfile/lib/combine_reader.py
94.89% <0.00%> (-0.06%)
:arrow_down:

megfile/fs.py
90.95% <0.00%> (+0.45%)
:arrow_up:

Continue to review full report at Codecov.

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