System.Exception: Call to Node module failed with error: Error: Cannot find module C:\Windows\TEMP\tmpE99E.tmp

We have an angular2 app using Javascript services with .Net Core 1.1.0 and running on top of IIS 8.0 however after a few days it's crashing with an error. I've verified and tried the following to resolve the issue; Without success.

restarting IIS app pool
restarting website
republishing website
ensuring node is in the system path

This is particularly puzzling because the application has been working for a few days before we ran into this failure. Full callstack is published below:
Hosting environment: Production
Content root path: C:\inetpub\t1-branches-health
Now listening on: http://localhost:11536
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:8100/
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Executing action method BranchHealth.Controllers.HomeController.Index (BranchHealth) with arguments ((null)) - ModelState is Valid
info: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor[1]
Executing ViewResult, running view at path /Views/Home/Index.cshtml.
info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]
User profile is available. Using 'C:\Windows\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Executed action BranchHealth.Controllers.HomeController.Index (BranchHealth) in 3867.3151ms
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An unhandled exception has occurred: Call to Node module failed with error: Error: Cannot find module 'C:\Windows\TEMP\tmp4075.tmp'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at C:\Windows\TEMP\tmp4076.tmp:108:34
at IncomingMessage. (C:\Windows\TEMP\tmp4076.tmp:132:38)
at emitNone (events.js:86:13)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
System.Exception: Call to Node module failed with error: Error: Cannot find module 'C:\Windows\TEMP\tmp4075.tmp'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at C:\Windows\TEMP\tmp4076.tmp:108:34
at IncomingMessage. (C:\Windows\TEMP\tmp4076.tmp:132:38)
at emitNone (events.js:86:13)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance.d__71.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.<InvokeExportAsync>d__141.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.d__10`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.SpaServices.Prerendering.PrerenderTagHelper.d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AspNetCore._Views_Home_Index_cshtml.d__31.MoveNext() in /Views/Home/Index.cshtml:line 2
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.ViewResult.d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResultExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.d__6.MoveNext()
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Executing action method BranchHealth.Controllers.HomeController.Error (BranchHealth) with arguments ((null)) - ModelState is Valid
info: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor[1]
Executing ViewResult, running view at path /Views/Shared/Error.cshtml.
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Executed action BranchHealth.Controllers.HomeController.Error (BranchHealth) in 184.9727ms
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 4390.845ms 500 text/html; charset=utf-8
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:8100/dist/vendor.css?v=RqkmnM-9Alrau0fjw4g08-3A0YvC-0qsGAr8YGUrMgQ
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]
The file /dist/vendor.css was not modified
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 20.8127ms 304 text/css
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:8100/favicon.ico
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Sending file. Request path: '/favicon.ico'. Physical path: 'C:\inetpub\t1-branches-health\wwwroot\favicon.ico'
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 11.4379ms 200 image/x-icon
Let me know if you need me to provide any additional information that I've missed.

Hmm, this is strange. I'm afraid I've never seen or heard of any errors like this, so am not sure what to suggest.
This part of your call stack is interesting:
An unhandled exception has occurred: Call to Node module failed with error: Error: Cannot find module 'C:\Windows\TEMP\tmp4075.tmp'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at C:\Windows\TEMP\tmp4076.tmp:108:34

It suggests that Node did find tmp4076.tmp, and from this file it tried to load tmp4075.tmp, but that second file was not found. Could you check:

Do either or both of these files actually exist on disk? What's inside them?
Is it possible that something else is running on your server that is deleting files from C:\Windows\TEMP\ or is otherwise blocking reads or writes there?
You're not just running out of disk space, are you?

If you have any suggestions on how I could reproduce this issue that would of course be great. Otherwise I'm not sure what else to suggest right now!

Hi Steve, sorry for the late reply
When I checked neither of the files were on disk. The server did not have anything else running on it and we had about 35GB of free disk space. We ended up migrating the instance off that box and on to a new VM. We've not seen the problem since.
If the problem rears its head again on the new instance I'll re-open the ticket.


Update members

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~15 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Build failed because of:
Empty twitter for INS Lab (member): https://twitter.com/gantry_ai

Deploy preview for landscape failed.
Built with commit 2b6cd3ada28d1e5af2606e2c21cad65b772fc4f4
https://app.netlify.com/sites/landscape/deploys/5ee2b41201fe55000852c795

LGTM


z-index too small

Hi @dafcoe I am using this amazing notification library you created alongside some other vue component library . When i push notifications, it doesn't show on the screen , and I found from the rendered elements that it was hidden simply by the value of its z-index (z-40). Can this be modified , or can a class property be exposed on the component so that one can modify this value

@dafcoe , i created a pull request that exposes the z-index as a parameter


Create Stub for Extension Toggle

Create the extension toggle shown in the design below, but there is no need to hook it up yet.
Here is a link to the Figma design for the extension toggle
Mike recommended using a Card for each extension instead of just a frame.

A link to a mockup that shows toggling extensions on/off is here. (A limitation of the mockup is that it only allows toggling one extension off at a time.)

FWIW you can only disable one extension at a time in VS Code and it's 2 clicks (not 1 like here).


User can't install custom contract

Introduce a new endpoint to add/remove/read list of installed contracts.
For each contract provide:

name
address
type (custom,erc20,etc)
abi

Can be easily kept in a special directory ("contracts") as plain json (where abi is a value of a filed)
methods:

emerald_addContract
emerald_dropContract
emerald_listContracts

{
  "version": "1.0",
  "address": "0x085fb4f24031eaedbc2b611aa528f22343eb52db",
  "name": "A name",
  "features": ["erc20"],
  "abi": [],
  "options": {
    "erc20": {}
  }
}

Done (except deletion)


[Samples][Java] Fix disparities of 16.proactive-messages sample

Related to microsoft/botbuilder-java#1165
Proposed Changes
We compared the documentation/code migration/behavior of the 16.proactive-message sample between Java and C# and we found disparities and fixes that this PR includes.

Add changes of PR #2898 to avoid the generation of random AppId
Update README
Update missing comments
Change echo message of the sample
Clean-up autogenerated files/folder related to Eclipse (e.g. target/.classpath)
Add package-info.java file

Testing
Proactive Message sample working as expected

Hi @tracyboehrer & @LeeParrishMSFT, we created this PR fixing some disparities that we found in the 16.proactive-messages sample.


[image_picker] Fix to keep Exif on ios.

CreationDate and GPS information were lost at ios, but fix it.
Originally it was all saved as JPEG, but it has been modified to be saved in the correct format (png, gif, tiff).
The same problems as the previous version is still left.

When resizing via maxWidth or maxHeight, Gif loses animation.
The Image of tiff and Unknown magic byte draws as JPEG.

/cc @xster

@goderbauer I think you were looking at this issue. does it still need merging?

@collinjackson I looked at (and fixed) EXIF data for the camera plugin. The image_picker uses a different API and I wouldn't be surprised if it has the same issue. So, this PR is probably still relevant.

I'm running image_picker 0.4.10 on a Pixel 3 phone and the image is rotating as everyone has mentioned.
Is there a fix we can apply to resolve this?

@collinjackson, @goderbauer: I need this feature, so I fetched this PR then gave it a try, and everything worked fine for me. If this PR has no problems, could you merge it asap?

I checked the operation after a long time, so I  fixed it because there was a bug.

Fixed was not working with heic.
Fixed not working with first authentication permission

Are there any plans for this Pull Request to be merged?

@collinjackson This PullRequest corresponds at least to png transparency on ios.
However, merge is necessary for https://github.com/flutter/plugins/pull/742 .
This is difficult to merge. Because in my PR, I use the first line of byte to judge whether it is PNG or not.( https://github.com/flutter/plugins/pull/742 use alpha info.)
If my judgment is okay, Could ios overwrite it with my source?
In addition, this pull request is useful as at least creationDate and GPS information is hold.
Could you make a review because I want to use exif by any means?

Up

@ko2ic Are you able to keep working on this PR? I think this is valuable. If you are not able to continue, do you mind me taking this over?

@cyanglaz I will hand over to you.
You will probably get better done than I do.

Thanks to @ko2ic for the inspiration provided in this PR.
The issue this PR tries to fix is fixed after https://github.com/flutter/plugins/pull/1617
The only missing part is gif handling, since it is not clear that what we want to do with scaled GIFs (it seems to lose animation at this point)
I will close this PR now. If anyone has an idea to completely handle GIFs, please feel empowered to open a PR! @ko2ic


Bug: Unit Control Original Code and Seasonal Controls Indicator issue

Issue:
When a user is entering data for Unit Controls in MP Module, upon entering a Seasonal Controls Indicator or Control Code and saving, the user receives the following error 'The value for 0 (or 1) in the Unit Control (or Seasonal Controls Indicator) record original code must be string value of "0" or "1"'
Steps to Recreate:

Log in to ECMPS and access the MP Module
Navigate to and check out Dolet Hills Power Station (ORIS Code 51)
Select Unit Information from the Sections dropdown
Add or Edit a Unit Control data record
Upon entering a Seasonal Controls Indicator or Control Code and submitting, you will receive errors that state The value for 0 (or 1) in the Unit Control (or Seasonal Controls Indicator) record original Code must be string value of "0" or "1"

Reference Screenshot:

Bug fixed


Minor changes to the docs

Coverage remained the same at 86.731% when pulling 00465a575d8bf8ac1449984b52ac1dfcab562c0b on dev into 72fd683c324a9ea97b230e6394af96ca55094fd3 on master.


pcap-rewrite: check that an IP payload is either not a fragment or the first fragment before parsing transport header

Applied, thanks!


Dependency conflict warning with gRPC

Description:
Running the module lifecycle example on U10 - https://ballerina.io/learn/by-example/module-lifecycle/
bal run test.bal
Compiling source
        test.bal
ballerina/protobuf:1.6.1 [central.ballerina.io ->/<BAL_HOME>/repositories/central.ballerina.io/bala/ballerina/protobuf/1.6.1]  100% [==========] 18
        ballerina/protobuf:1.6.1 pulled from central successfully
        warning: Detected conflicting jar files:
                'protobuf-java-3.20.3.jar' dependency of 'ballerina/grpc' conflict with 'protobuf-java-3.25.5.jar' dependency of 'ballerina/protobuf'

Running executable

Hello world

The distribution build is also failing (output verification) due to this.

related to https://github.com/ballerina-platform/ballerina-library/issues/7013.
Happening because the grpc fix is not released yet.

This is happening since we have not updated the artifact id and group id in the protobuf module. Thats why we cannot resolve the conflicts.
We need to add those. Btw releasing the patch for grpc with the same version can also fix the problem
@daneshk Can we add those in the Ballerina.toml?

Updated the protobuf-java dependency in the protobuf module, just to be on the safe side.
https://github.com/ballerina-platform/module-ballerina-protobuf/pull/241

This is fixed now


python310Packages.certbot-dns-inwx: init at 2.1.3

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I don't quite understand why anyone would want to use certbot when we have a proper nixos module for ACME backed by lego, that also supports INWX, See https://go-acme.github.io/lego/dns/inwx/.

I don't quite understand why anyone would want to use certbot when we have a proper nixos module for ACME backed by lego, that also supports INWX, See https://go-acme.github.io/lego/dns/inwx/.

Thanks for the hint. That's something I missed, good to know. Nevertheless certbot is still actively maintained and it would be nice to support it too (thinking about enhancing the wiki article further and maybe also add a module for it).

Nevertheless certbot is still actively maintained and it would be nice to support it too

But it would add more maintenance work for us and I think that outweighs nice to have.

@SuperSandro2000 Added the pytestCheckHook, thanks for the note!
Would be really happy if we could merge this :)

I propose that we try to include this.
Onny wants to maintain it. If it turns out to be too much of a burden for other people, we can always decide to remove it.
(let me know if you disagree though).

If it turns out to be too much of a burden for other people, we can always decide to remove it.

The problem is not that we have a single program or feature that requires to much maintenance itself but a very many ones that require just a little bit of time which in total is also a lot of time.

I agree with you here.
I feel if Onny wants to maintain this, we should let him try to do it and assume it will work out.
I think it's hard to tell people what to maintain, you can only let people maintain what they want.
I know python packages are tricky since sometimes an update can be blocked by packages, let's definitely revisit this conversation if it turns out this particular package is a pain.
We need more contributors (I think we will both agree on this), hopefully by making existing contributors a little happier they can attract more contributors (I have no scientific proof for this).
Let me take this opportunity to thank you for all the work you are doing for nixpkgs, I can't imagine nixpkgs without your contributions!


Store Information with shadow Required fields.

What I'm trying to achieve
Put data in Store Information without Country Area
Steps to reproduce the problem

Fresh Install
Try to put some data but not Country Area

What I expected to happen
To work?
System information
Operating system: Linux

Is this a problem in API only or in the dashboard app?

Oh probably it is on the saleor-dashboard. Closing the issue and opening there.


Stack overflow in nvim_replace_termcodes

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
I'm using lean.nvim with the Lean programming language, and geting an error when I press "enter", which is bound because I'm using keymap.preset = "enter".
This only triggers after typing \ in insert mode, which is used to insert special characters (Lean uses lots of mathematical symbols, so typing \alpha in insert mode followed by a space will insert a α in the buffer. I'm not 100% sure where this is coming from (perhaps the LSP) but doesn't seem to have anything to do with blink.
Once I've typed \ at all, the error persists whenever I press enter in insert mode to enter a newline. If I press enter to accept a suggestion, the error doesn't trigger. I can enter a newline with <C-o>o without issues. Typing \ in a non-lean buffer doesn't trigger this behaviour. The error seems to be contained to the buffer that had the \ typed in it - opening a new lean buffer and pressing enter correctly enters newlines. Running Lazy reload blink.cmp doesn't fix the buffer.
The exact error I get is:
E5108: Error executing lua: stack overflow
stack traceback:
        [C]: in function 'nvim_replace_termcodes'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:15: in function 'get_non_blink_mapping_for_key'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:25: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function 'callback'
        ...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fallback.lua:38: in function <...re/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/fa
llback.lua:24>

I got this by triggering the error then copying from the popup in vim itself, but if there's a better way to grab these stack traces let me know and I'll be happy to capture it properly.
Thanks :grin:
Relevant configuration
keymap = {
  preset = "enter",
}

neovim version
NVIM v0.11.0-dev Build type: Release LuaJIT 2.1.1713773202
blink.cmp version: branch, tag, or commit
85f318b

This seems to have been fixed on lean.nvim's side. Eventually, we'll use vim.on_key #487 (after 0.11 releases) and this will no longer be an issue


Revive ChatGPT bot again

Does this do separate contexts

Does this do separate contexts

Actually yes since it's not related to the main bot (moderation and jailbreak support), this's only made to revive chatgpt channel again since it was fun to use, and it's now working because of using a reverse engineered proxy server that it can bypass the cloudflare check and even captcha
you can marge it with main.py, I'm too lazy to do that because it requires me to install more dependencies and make a new cluster to run the whole bot :P


stress: Support multiple clients

Add an -nclients option to cmd/stress this will have each client generate N operations.
This will allow for testing performance of a server when multiple clients are monitoring.

Closed in #116


Functions do not work when using the dotnet-isolated:4-dotnet-isolated6.0 base image.

I'm trying to deploy an Azure Functions app (net6.0 isolated functions v4) to Azure (Linux P1v2 app service plan). the app is containerized with mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated6.0 base image. i'm deploying and see logs in deployment center showing that the image was downloaded and container started. but no functions have been found and i get this error notification in the azure portal:
Microsoft.Azure.WebJobs.Script: WorkerConfig for runtime: dotnet-isolated not found.

i can't find any docs whatsover around setting up deployments to azure for functions v4 aside from deploying straight from vs code using the extension (not what i want to do). im trying to setup deployment of a production application from CI/CD using terraform
thanks

I'm running into a similar issue. Deploying a dotnet 6.0 functions project. The Azure resource (linux app) is created using Pulumi then the code is deployed with functions CLI func azure functionapp publish

Adding @kshyju here, but we have a deployment that should be completing in the next couple of weeks that will address this issue.
Will keep this open until that is done, but in the meantime, you follow the guidance in this comment

I am experiencing the same issue, however, I am just running a dotnet publish and using the AzureFunctionApp@1 Azure DevOps Pipelines task to deploy the net6 functions app to a Linux functions app in Azure. I'm not using docker so I do not have the ability to specify App Service images as suggested in the workaround referenced by @fabiocav's comment.
What is the guidance in this case?

We are facing this issue as well.
@fabiocav any updates on this?  The comment you've linked is more than two weeks old and the issue is still here.

I had same issue, I got it fixed by changing the linux-fx-version to DOTNET-ISOLATED|6.0
check stackoverflow on how to set it

I was able to resolve the issues on my end via this comment in issue #556.
Basically, I'm using Azure App Configuration with keyvault linked values, and the keyvault access policy did not exist.
This exception is extremely generic and seems to be thrown for ANY startup issue. There is definitely a need for the logging/exception handling during isolated functions startup.

@ihordyrman did the workaround in the comment I've linked to help address the issue? https://github.com/Azure/azure-functions-docker/issues/600#issuecomment-1043737426, if not, it would be a good idea to have a separate issue opened with your application details so we can take a closer look, as this may have a different root cause.

@ihordyrman Could you try deploying using function core tools and see that makes a difference?
@elliotchaim The "The framework 'Microsoft.AspNetCore.App', version '6.0.0' (x64) was not found" error is caused by this issue, which was originally fixed, but only for app service images. Now we fixed it for all images and the deployment for that is in-progress. Will share an update here when it is done (hopefully in the next couple of days)

@ihordyrman Could you try deploying using function core tools and see that makes a difference?

Deploying with func azure functionapp publish seems to work. However deploying the resource with Bicep/ARM and then using the AzureFunctionApp@1 Azure pipelines task to deploy the function app results in the error.

Just wanted to provide an update here. The full deployment with updated images addressing this issue should complete this week.
We'll close this issue with an update when that is done.

Any updates on this? - really stuck on this one, and anxiously waiting for a fix...

I fixed this issue by changing the base image to mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated6.0-appservice.
I only figured this out after finding some obscure documentation somewhere. Really need to improve the docs for this!

Deployment with the fix (for non-app service images) has been completed. The Microsoft.AspNetCore.App framework should be present in the mcr.microsoft.com/azure-functions/dotnet-isolated:4 image now.
Let us know if you run into issues.

I fixed this issue by changing the base image to mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated6.0-appservice.
I only figured this out after finding some obscure documentation somewhere. Really need to improve the docs for this!

@elliotchaim You should be able to use the non app-service images now.


handle recursive locks/unlocks to the os thread

currently, the emulator calls runtime.LockOSThread and UnlockOSThread. but this seems there will be a bug if a worker creates two emulators. when the first emulator closes, it will also unlock the OS thread for the second emulator.
a better place for doing the locking is the routine which ultimately creates emulators. its probably in workspace.MakeFunction and friends. this routine can still spawn multiple goroutines, but each one will need to be locked.
sidenote: need to document that emulators cannot be passed among goroutines.

what happens if we spawn some workers, say 8, but we only have GOMAXPROCS=4? the documentations says that LockOSThread gives the goroutine exclusive access to the OS thread.

for now, locking threads should happen in the main program. this is most clear.
might be possible to hide a goroutine per emulator behind an API, as described here. but this is more complex. also, its still unclear what happens when there are more emulators than GOMAXPROCS.


Uframe Events error handling

@FBRTMaka think this needs to be updated, after the new changes

@birdage so this started off as the celery stuff, but that's some how gone away (question mark).
This will fix that ugly error, and give back a nicer error until uframe fixes the events route.

@birdage You Agree?


[QSR_Abstractclass] Investigate whether _set_input_world_trace method is still needed

#144 pretty much decides for this.

closed by #151


No idempotence when adding a ressource to a scope, improvement needded

Scenario/Intent
Adding a ressource to a scope use the patch API to do an update but we need to have indempotence respected.
That is why we are filling this as a new feature request to improve the oneview-ansible API.
Environment Details
Python: 3.6.12
Ansible: 2.7.7
hpeOneView: 5.4.0
oneview-ansible : latest version
Docker image: hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.8.0-OV5.4
OneView: 5.20.00-0419867
Steps to Reproduce
See issue https://github.com/HewlettPackard/oneview-python/issues/98
Expected Result
Idempotence when adding a ressource to a scope.
Actual Result
No idempotence.

I've experienced the same with the adding users in the oneview_user.yml example. Fails when user is already "present".

@wayno123 , we are looking into these idempotency issues and will update here once the fix is available.

@wayno123 , Adding a resource to scope can be done by PATCH operation and We cannot achieve idempotency for PATCH operations. So currently we cannot support this requirement and closing this issue. Please feel free to reopen if you disagree.


API PATCH /repos/{owner}/{repo} changes repo units (wiki, tracker) even if not set

Gitea version (or commit ref): 1.10.0+dev-136-g52feff5a5
Git version: Not relevant
Operating system: Ubuntu
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
API: PATCH "/repos/{owner}/{repo}" has the following description:
"Edit a repository's properties. Only fields that are set will be changed."
When executing the API without for example "has_wiki" in the body, the wiki is disabled. Similar for other repo units.
I think this is because function UpdateRepositoryUnits in models/repo.go delete all repo_units for the specified repo_id and then inserts the set repo units again. While the function updateRepoUnits in api/v1/repo/repo.go only adds those repo_units it wants to change.
I am not sure if the change should be in the model or in the api function.

Does xorm support "ON DUPLICATE KEY"? It could be used to solve this issue, instead of deleting everything and inserting, just insert or update if not existing.

@davidsvantesson xorm doesn't support that.

Current logic seem to be that all repo_units written at each change, since settings page write everything each time, and also Issues/ExternalTracker and Wiki/ExternalWiki is mutually exclusive so they must be deleted when updated.


feat: redirect request to specified aws entrypoint provided by localstack

#579

@dgraeber Hi, I think i have located the root cause.
I found several place as below when i debuged:

It was successful based on the current modifications in my local testing.
(.venv) ➜  mynewproject git:(master) ✗ seedfarmer apply manifests/deployment.yaml --env-file .env --profile localstack --dry-run --debug
[2024-05-12 16:36:05,652 | INFO | utils.py     :181 | MainThread ] Loading environment variables from .env
[2024-05-12 16:36:05,652 | DEBUG | utils.py     :187 | MainThread ] Loaded environment variables: {'PRIMARY_ACCOUNT': '000000000000'}
[2024-05-12 16:36:05,652 | INFO | __main__.py  :147 | MainThread ] Apply request with manifest manifests/deployment.yaml
 ***   This is a dry-run...NO ACTIONS WILL BE TAKEN  ***
[2024-05-12 16:36:05,654 | DEBUG | _deployment_commands.py:629 | MainThread ] {'name': 'example', 'name_generator': None, 'toolchain_region': 'us-east-1', 'groups': [{'name': 'mygroup', 'path': 'manifests/mymodule.yaml', 'modules': [], 'concurrency': None}], 'description': None, 'target_account_mappings': [{'alias': 'primary', 'account_id': {'value_from': {'module_metadata': None, 'env_variable': 'PRIMARY_ACCOUNT', 'parameter_store': None, 'secrets_manager': None, 'parameter_value': None}}, 'default': True, 'parameters_global': {}, 'region_mappings': [{'region': 'us-east-1', 'default': True, 'parameters_regional': {}, 'network': None, 'codebuild_image': None, 'npm_mirror': None, 'pypi_mirror': None, 'pypi_mirror_secret': None, 'seedkit_metadata': None}], 'codebuild_image': None, 'npm_mirror': None, 'pypi_mirror': None, 'pypi_mirror_secret': None}], 'force_dependency_redeploy': False}
[2024-05-12 16:36:05,654 | INFO | session_manager.py:181 | MainThread ] Creating toolchain session
[2024-05-12 16:36:05,654 | DEBUG | session_manager.py:191 | MainThread ] Creating a local session with the following info passed in:
                      region_name = None
                      profile_name = localstack
                      project_name = mynewproject
                      qualifier = None

                      NOTE: if not set here, the active environment parameters are used to create a new AWS session
                            much like how the AWS CLI operates.

[2024-05-12 16:36:05,658 | DEBUG | _service_utils.py: 33 | MainThread ] Proxies Configured: {'http': None, 'https': None}
[2024-05-12 16:36:05,743 | DEBUG | session_manager.py:210 | MainThread ] The active user session will assume the toolchain role
                      arn = arn:aws:iam::000000000000:role/seedfarmer-mynewproject-toolchain-role
                      toolchain_region = us-east-1

[2024-05-12 16:36:05,743 | DEBUG | _service_utils.py: 33 | MainThread ] Proxies Configured: {'http': None, 'https': None}
[2024-05-12 16:36:05,755 | DEBUG | _service_utils.py: 33 | MainThread ] Proxies Configured: {'http': None, 'https': None}
[2024-05-12 16:36:05,819 | INFO | _deployment_commands.py:267 | MainThread ] Priming Accounts
[2024-05-12 16:36:05,820 | INFO | _deployment_commands.py:277 | Prime-Accounts-0-000000000000-us-east-1 ] Priming Acccount<PHONE_NUMBER>00 in us-east-1
[2024-05-12 16:36:05,820 | INFO | session_manager.py:126 | Prime-Accounts-0-000000000000-us-east-1 ] Creating Session for<PHONE_NUMBER>00-us-east-1
[2024-05-12 16:36:05,825 | DEBUG | _service_utils.py: 33 | Prime-Accounts-0-000000000000-us-east-1 ] Proxies Configured: {'http': None, 'https': None}
[2024-05-12 16:36:05,910 | DEBUG | session_manager.py:144 | Prime-Accounts-0-000000000000-us-east-1 ] The assumed toolchain role arn:aws:sts::000000000000:assumed-role/seedfarmer-mynewproject-toolchain-role/toolchainrole will
                 try and assume the deployment role: arn:aws:iam::000000000000:role/seedfarmer-mynewproject-deployment-role
[2024-05-12 16:36:05,993 | DEBUG | _stack_commands.py:467 | Prime-Accounts-0-000000000000-us-east-1 ] SeedKit exists and not updating for Account/Region:<PHONE_NUMBER>00/us-east-1
[2024-05-12 16:36:06,001 | DEBUG | _deployment_commands.py:308 | MainThread ] {'name': 'example', 'name_generator': None, 'toolchain_region': 'us-east-1', 'groups': [{'name': 'mygroup', 'path': 'manifests/mymodule.yaml', 'modules': [{'name': 'mytest', 'path': 'modules/mygroup/mymodule', 'bundle_md5': None, 'manifest_md5': None, 'deployspec_md5': None, 'parameters': [], 'deploy_spec': None, 'target_account': 'primary', 'target_region': 'us-east-1', 'codebuild_image': None, 'data_files': None, 'commit_hash': None, 'npm_mirror': None, 'pypi_mirror': None, 'pypi_mirror_secret': None}], 'concurrency': None}], 'description': None, 'target_account_mappings': [{'alias': 'primary', 'account_id': {'value_from': {'module_metadata': None, 'env_variable': 'PRIMARY_ACCOUNT', 'parameter_store': None, 'secrets_manager': None, 'parameter_value': None}}, 'default': True, 'parameters_global': {}, 'region_mappings': [{'region': 'us-east-1', 'default': True, 'parameters_regional': {}, 'network': None, 'codebuild_image': None, 'npm_mirror': None, 'pypi_mirror': None, 'pypi_mirror_secret': None, 'seedkit_metadata': {'DeployId': 'qrobey', 'Bucket': 'codeseeder-mynewproject-000000000000-qrobey', 'KmsKeyArn': 'arn:aws:kms:us-east-1:000000000000:key/c3bde9e1-9a55-4d70-9497-039e0e400e11', 'SeedkitResourcesPolicyArn': 'arn:aws:iam::000000000000:policy/codeseeder-mynewproject-us-east-1-resources', 'CodeBuildRole': 'codeseeder-mynewproject-us-east-1-codebuild', 'CodeBuildRoleArn': 'arn:aws:iam::000000000000:role/codeseeder-mynewproject-us-east-1-codebuild', 'CodeBuildProject': 'codeseeder-mynewproject-codebuild-project', 'CodeBuildProjectArn': 'codeseeder-mynewproject-codebuild-project-arn', 'CodeBuildProjectBuildImage': 'aws/codebuild/standard:7.0', 'StackStatus': 'CREATE_COMPLETE'}}], 'codebuild_image': None, 'npm_mirror': None, 'pypi_mirror': None, 'pypi_mirror_secret': None}], 'force_dependency_redeploy': False}
[2024-05-12 16:36:06,001 | DEBUG | _service_utils.py: 33 | ThreadPoolExecutor-0_0 ] Proxies Configured: {'http': None, 'https': None}
[2024-05-12 16:36:06,046 | DEBUG | deploy_utils.py:646 | MainThread ] Groups already deployed that will be DESTROYED : []
[2024-05-12 16:36:06,046 | DEBUG | deploy_utils.py:668 | MainThread ] Modules of Group mygroup already deployed that will be DESTROYED: []
[2024-05-12 16:36:06,046 | DEBUG | _service_utils.py: 33 | MainThread ] Proxies Configured: {'http': None, 'https': None}
[2024-05-12 16:36:06,073 | DEBUG | _service_utils.py: 33 | MainThread ] Proxies Configured: {'http': None, 'https': None}
[2024-05-12 16:36:06,090 | DEBUG | _deployment_commands.py:683 | MainThread ] module_depends_on_dict: {}
[2024-05-12 16:36:06,090 | DEBUG | _deployment_commands.py:684 | MainThread ] module_dependencies_dict: {}
Nothing to destroy
[2024-05-12 16:36:06,091 | DEBUG | _deployment_commands.py:469 | MainThread ] Setting up deployment for example
Modules added to manifest: example
┏━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Account ┃ Region    ┃ Deployment ┃ Group   ┃ Module ┃ Path                     ┃
┡━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ primary │ us-east-1 │ example    │ mygroup │ mytest │ modules/mygroup/mymodule │
└─────────┴───────────┴────────────┴─────────┴────────┴──────────────────────────┘
[2024-05-12 16:36:06,092 | INFO | _deployment_commands.py:482 | MainThread ]  Verifying all modules in mygroup for deploy
[2024-05-12 16:36:06,092 | DEBUG | deploy_utils.py:161 | MainThread ] Inspecting group mygroup for intra-dependencies
[2024-05-12 16:36:06,092 | DEBUG | _deployment_commands.py:485 | MainThread ] Working on -- name='mytest' path='modules/mygroup/mymodule' bundle_md5=None manifest_md5=None deployspec_md5=None parameters=[] deploy_spec=None target_account='primary' target_region='us-east-1' codebuild_image=None data_files=None commit_hash=None npm_mirror=None pypi_mirror=None pypi_mirror_secret=None
[2024-05-12 16:36:06,105 | DEBUG | _service_utils.py: 33 | MainThread ] Proxies Configured: {'http': None, 'https': None}
Modules scheduled to be deployed (created or updated):
example
┏━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━┓
┃ Account ┃ Region    ┃ Deployment ┃ Group   ┃ Module ┃
┡━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━┩
│ primary │ us-east-1 │ example    │ mygroup │ mytest │
└─────────┴───────────┴────────────┴─────────┴────────┘
To see all deployed modules, run seedfarmer list modules -d example
(.venv) ➜  mynewproject git:(master) ✗

Pls check whether i fixed or not. 😊

Modifying the chain of roles as managed by the session manager is not viable. We specifically restrict ONLY the toolchain role from assuming the deployment roles. The toolchain role can indeed be assumed by a role that is leveraging a profile (and is in the trust policy), that at that point, no profile support is warranted as indicated above.
You can add a FR to support LocalStack and we can assess, but there are other underlying issues with Local Stack (i.e. the codebuild process generates a separate SF call with a unique session altogether...and will fail).
Currently, LocalStack is not supported due to session security violations.

@dgraeber Thanks for your answer. So in my case my modification essentially changed the deployment role into a toolchain role, both through the same profile. This violates safe posture. Got it. I will create another FR.

@koljahuang I think you should issue a feature request for LocalStack to track.  I will be honest, I don't think that we will be able to support it due to the number of session created at different scopes (the toolchain session, deployment session, AND the session created by the codebuild job local to the module).  We are not in a position to violate our security posture, but can research to see if there is a means to support that i am not seeing.


Missing trained model file

You have not included or given link of weights file please provide wieghts file

We've addressed the issue by providing a download link for the weights in the README.md file. Kindly take a moment to read through the updated README, which now includes the necessary information. Your input has helped us improve our project, and we sincerely appreciate your contribution to its development.
If you have any further questions or suggestions, please feel free to let us know. We value your involvement in our project.


a bug of ddsview

ddsview.cpp   line 249  should be rc.right = (LONG)mdata.width;

Thanks for the feedback. Fixed.


Add TO Go delete deliveryservice_server

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1870/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1951/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1960/
Test PASSed.


fix: decode databus return values

Description
Problem*
Resolves #5715
Summary*
This PR picks up from @guipublic's work on #6074 to enable decoding databus return values in noirc_abi. I've added a test to show this working
Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

@guipublic Can you take a look at this?

Thanks, I've updated has_public_inputs.
Although I'm not clear on your second point. We shouldn't need to update the encode function afaik and the databus return values are not added to the public inputs (the ABI doesn't specify this but it's embedded in the circuit.)

I just tried and I think I am getting public inputs in the proof, but we can say that it's a prover issue, as long as it can get the required info, which is the ABI, so it's fine.


Certificate Crossplane Composite Wrapper Resource

What: Certificate resource is in v1alpha1 in the aws-crossplane provider. Once this resource reaches v1beta1 and in order to allow our multi-tenancy users to deploy and manage this resource type we need to create a composition wrapper around it (resource and rbac) and add it to our DFDS Configuration Package
Why: This will allow cluster users to deploy and manage AWS Certificate resources using Crossplane in Hellman with appropriate RBAC permissions

[ ] Create XRD
[ ] Create Composition
[ ] Test in Sandbox
[ ] Create Release

Blocked due to being an Alpha resource @ https://doc.crds.dev/github.com/crossplane/provider-aws

Now it is a Beta resource<EMAIL_ADDRESS>

Blocked as requires provider upgrade which in turn requires review/update of existing composite wrapper resource properties


The tree is red on a git mirroring issue

Infra Failure: Step('Checkout flutter/flutter.git checkout (4)') (retcode: 128)

cc @nehalvpatel the infra gardener

Taking a look now.

Some updates:

I manually mirrored the latest commit and triggered a re-run of all the tasks that had checkout failures. They are about to finish up.
I reached out to the team behind the internal mirroring service, and they think they have found the issue. They're rolling back the queue.

Update:

The tree returned to green.
The autosubmit bot merged a roller PR and it was mirrored automatically.

This seems to be fixed!
I'll close this but continue monitoring.


Fix: Issue #437 | #401

Fix: Issue #437 | Issue #401 | Issue #186
Discord Username: @sudo-adduser-jordan
What type of PR is this? (select all that apply)

[ x ] 🐛 Bug Fix

Description
-Remove Arrow Keys.
-Remove Tab.
-Enter will only create one error.
-Lock typing if there is an error.
-Remove Backspace() function call inside Enter(). (Why someone decieded to put a Backspace function call inside a key that does not backspace I have no idea).
Related Tickets & Documents

Closes #437
Closes #401

QA Instructions, Screenshots, Recordings
https://github.com/webdevcody/code-racer/assets/108599131/5c7c822c-5851-40a6-9f65-04ed88c0f8ed
Additional Comments
I went ahead and completed this issue.
I saw it was high priority and this may be extremely confusing for some one unfamiliar with this file.
The arrow and tab keys have also been removed.
They are not needed if we are decieding to use this functionality descriebed in this issue.
I would also prefer we don't use them as it adds a lot of extra complexity that isn't needed.
If the person assigned to this issue has any refactoring suggestions they would be welcomed.
Issue 401 may also be closed as the user will always be on the corresponding line.

I like that we're actually going to prevent the user from typing further if they made an error, since this is generally the reason why I added arrow keys, since a user might be super fast at typing and miss an error. And to note, I added the Backspace() function in the Enter() function only when a group of text is highlighted. If you check, when you highlight text in an IDE and press Enter, it will remove the highlighted text and go onto a new line.
Anyway, I do think it's easier to maintain, scale and implement the idea of just stopping someone from typing once they make a mistake.

"To note, I added the Backspace() function in the Enter() function only when a group of text is highlighted. If you check, when you highlight text in an IDE and press Enter, it will remove the highlighted text and go onto a new line."
That is true. I did not consider that.
With the change in the issue we will no longer have to worry about it 😄

*Suggested by @webdevcody in discord
https://discord.com/channels/663478877355507769/1126627632461643797/1131392358869651507

I think it's worth trying this idea.  I've raced a few times just to get to the end and see I have an error, and it's very frustrating, so this might fix that entire issue.


StyleCop generates violation when using discard in method parameter.

If naming rules for method parameters are active, it's not possible to use a discard for a parameter without having to suppress the violation.
I think that the naming rules should not be taken into account when using a discard.

StyleCop Analyzers allows discards for lambdas, but does not allow discards for methods. The parameter name should be changed to better describe the intended value.

The problem I have is on a template pattern where one of the subclasses doesn't use the parameter in its implementation of the abstract method, to me using a discard there is the clearer option to let everyone understand quickly that in that particular case the parameter is not used...

StyleCop Analyzers is an opinionated code formatter, which means it does not aim to support all interpretations of "good style". In this case, the use of a discard name for a parameter is considered "bad". Among other things, changing the name in an override makes inherited documentation scenarios more difficult.

For me there's no better documentation that good clear code itself but ok, I understand it.


Type issue in all versions since 0.0.1-beta.316

As already reported here I am still getting TS erros for all versions since 316. Currently I'm testing 0.0.1-beta.330.
When I run tsc --esModuleInterop I get the following errors:

It looks like the relative path that is used in the files (In the case of the first error in AMM.d.ts it's<EMAIL_ADDRESS>is broken.
For me, the @src reference in the path leads to node_modules/@types.
The referencing file is in<EMAIL_ADDRESS>and the referenced Swap types are in<EMAIL_ADDRESS>I don't have any custom linking or anything set up locally.
Could this be a path issue that only works on your specific setup?

Still happening for version 0.0.1-beta.331. Any one here who could look into this?

@mathiasmoeller thanks for the follow up; can you create an example repo that replicates the issue?

@mathiasmoeller can you try<EMAIL_ADDRESS>

Hey @miguelmota , version 332 works like a charm! Thanks a lot 💪

thanks for confirming @mathiasmoeller!


E3038 Serverless Transform required even though Transform: AWS::Serverless-2016-10-31 is written

cfn-lint version: 0.56.3
OS (uname -a): Linux DESKTOP-81CDOO5 <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
When linting CFn template like the below, even though Transform: AWS::Serverless-2016-10-31 is written, I got the error E3038 Serverless Transform required for Type AWS::Serverless::Statemachine for resource Statemachine
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31
Resources:
  Statemachine:
    Type: AWS::Serverless::Statemachine
    Properties: {}

I did some investigation about cfn-lint code (41d3e74afe076876a25d14c1a29e7579c4ab72a9) and found one possible issue.
I added print function to src/cfnlint/core.py file like the below and run cfn-lint to the above sample, then got the following output.
AWS::Serverless-2016-10-31
[]

I think runner.transform() execution causes this error, removing Transform declaration from runner.cfn.template before runner.run().

With SAM we validate the template translated by SAM.
The translated template for your example is:
{
  "AWSTemplateFormatVersion": null,
  "Resources": {
    "Statemachine": {
      "Properties": {},
      "Type": "AWS::Serverless::Statemachine"
    }
  }
}

The casing on StateMachine is wrong so it looks like SAM is skipping it.
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31
Resources:
  Statemachine:
    Type: AWS::Serverless::StateMachine
    Properties: {}

will result in
E0001 Error transforming template: Resource with id [Statemachine] is invalid. Either 'Definition' or 'DefinitionUri' property must be specified.
local/issue/2198.yaml:1:1

@kddejong
I apologize for my misunderstanding.
Everything works fine for proper CFn template.
Close this issue.


getting started button/link broken

Hi Matthias,
The openeo.org getting started button is broken. It redirects to 404.
https://openeo.org/documentation/1.0/getting-started.html

Good catch, thanks. Should be fixed in a minute or two...


Adding ability to return metrics for database sizes

Pull Request Checklist
Is this in reference to an existing issue?
No
General

[ x] Update Changelog following the conventions laid out on Keep A Changelog

[x ] Update README with any necessary configuration snippets

[x ] Binstubs are created if needed

[x ] RuboCop passes

[x ] Existing tests pass

Purpose
Allows Database size stats to also be reported
Known Compatibility Issues

There's a slight issue with this implementation I just discovered.  I'll re-open when issue resolved.


rebase #2004

to rerun CI tests

Could we squash and reword these commits?

Squashed / committed in c92d12755c33b912665977b73ebe90d33a0614b7


UF-235 - Removed close button and ignored multiple parts for SimpleWo…

…rkbenchPanelPresenter

Since this changes the behaviour of panels I'd like to have seen some tests verifying operation when attempts are made to attach children etc.

@manstis fair enough, I added tests to cover adding parts for both MultiListWorkbenchPanelView and SimpleWorkbenchPanelView.

Thanks @cristianonicolai!
master: 2d5a9bcac40dd5f21c9f2e5ca46ecbbc02cf3f7d


duplicate image in list when get image from camera

hello.thank you for this library.i used this library and when i click camera icon and get new picture from camera, the captured image duplicate two times in imageslist.please fix it.thanks

Which Version of Android?

kitkat 4.4.2


Addons breaking App

Describe the bug
I first started by just adding one addon and was getting this error (in screenshots below) but then I added the kitchen-sink of all the addons and still got this error.
To Reproduce
Steps to reproduce the behavior:

Install the latest and greatest of storybook, material-ui/core, react, react-dom, and all the addons from the kitchen-sink example
Setup as described in docs.
Add addons to addon.js.
Add addParameters as in the kitchen-sink
run start-storybook -p 9001 -c .storybook
See error

Expected behavior
For the app to load as if no addons were added.
Screenshots

Code snippets
If applicable, add code samples to help explain your problem.
System:

OS: MacOS
Device: Macbook Pro 2017
Browser: chrome
Framework: react
Addons: all official
Version: 5.0.0

Hi @glockjt - what was the first addon you added that saw the error?

@tmeasday this is my fault.  I installed storybook the other day and installed the addons today.  So it was a version mismatch.  I was running storybook 4.* and the addons were v5.  I just updated storybook to v5 and everything is fine.  My apologies again.

No worries! Glad you figured it out! Enjoy SB5


Removed didInitAttrs deprecation warning by replacing with init hook

@Panman8201 Fixes https://github.com/Panman8201/ember-bootstrap-switch/issues/13

@Panman8201 Release this fix?

Done. Sorry, been super swamped at work with little time for open source ATM.


Fake Record Generator

1_Generate_data.ipynb and presidio_data_generator.py's main function contain code for generating fake records utilising the new providers and the mappings defined in this package.
This is a useful higher-level API for consuming the functionality of this package in other projects e.g.
from presidio_evaluator.data_generator import PresidioFakeRecordGenerator

entity_generator = PresidioFakeRecordGenerator(locale="en_US", lower_case_ratio=0.05,
                                               random_seed=42)
fake_patterns = entity_generator.generate_new_fake_records(num_samples=10000)

The version of the code in this PR takes from the notebook, which includes a mapping from Faker entity types to Presidio entity types, which isn't done in presidio_data_generator.py's main function.
Otherwise, it is the same code, just wrapped up into a class.
In this PR, I've also changed what I think are bugs.

The presidio_entities_map which maps Faker entity types to Presidio  entity types

Included "URL": "DOMAIN_NAME" which I believe should be the other way round
Included "DOMAIN_NAME": "DOMAIN_NAME" but DOMAIN_NAME isn't listed in https://microsoft.github.io/presidio/supported_entities/

PresidioAnalyzerWrapper's predict method is hard coded to always use "en" instead of the provided language
PresidioAnalyzerWrapper's construction logic around language is confusing, especially between providing an analyzer or not

Validated that if an analyzer is provided, the chosen language must be supported by the analyzer
If an analyzer is not provided, construct a new one, passing in the language as the only supported language

And made some stylistic changes which I think makes the code more readable, though obviously, this is subjective

Dict literals to dict constructors
Usage of / for creating pathlib Paths
Usage of f strings
Formatting from PyCharm, just because this is the IDE, I'm using, and it makes it easy to keep things tidy

If different formatting is preferred, it may be helpful to configure it using git pre-commit hooks, black and flake8, as outlined here: https://ljvmiranda921.github.io/notebook/2018/06/21/precommits-using-black-and-flake8/

I'm happy to do this if you think it is useful

Thanks @Robbie-Palmer. We'll review this soon.

Thanks @Robbie-Palmer, this is a great addition and greatly improves the codebase!
A few mimor comments:

Could you add a few unit-tests for the new class?
The distinction between the previous and suggest class mighit not be 100% clear to the user. Should we update the tutorials or add more clarification? Perhaps rename it to something else? (I don't have a suggestion, just a thought).

/azp run

/azp run

@omri374 I'm sorry for the really long delay! I've been pulled into a number of unrelated projects these past few months
No availability this coming week, but I'll prioritise addressing your comments asap afterwards

Hi @omri374, I've fixed the issue with Python 3.7, added a tes, added to the docs and updated the Generate data notebook
Wrt the naming, my instinct would be to rename PresidioDataGenerator to FakeSpanGenerator.

Dropping Presidio from the front would make it clearer that it doesn't return Presidioentity-types but ratherFaker` entity-types
Changing Data to FakeSpan makes it less generic and highlights the difference between this and calling Faker directly (the spans)

Or would be great if the name could signal the difference between it and Faker being the semantic dependency maintenance across sentences, but I don't have any ideas around that.
Though I didn't want to rename it and break the current API
Do you have any ideas/preferences?
On updating this, I found and fixed some other bugs that were introduced since I opened this PR

Added missing religions.csv and us_driver_license_format.yaml to package
Added ReligionProvider to faker_extensions/__init__.py
UsDriverLicenseProvider had changed its method name from us_driver_license to driver_license causing the templates to break. I changed it back

I also merged master into this branch to resolve conflicts
I don't know why GitHub is now showing the commits I pulled in as if they're unique to my branch in the diff, since I'm pointing against master which has these included
E.g. It's displaying as though I'm adding .pipelines/publish-to-pypi.yml when this exists in the master branch :man_shrugging:

/azp run

@Robbie-Palmer Will first rebase your fork's master to this repo's master, and then merge the fork master into this feature branch, help?

@omri374 the PR diff is now showing only the changes from this branch
I edited the PR to point to another branch then edited it to point back to master which forced GitHub to reload the diff
https://stackoverflow.com/questions/16306012/github-pull-request-showing-commits-that-are-already-in-target-branch

/azp run

/azp run

/azp run

/azp run


[WIP] Exception in x_get_tree_custom_kids in tree_builder_chargeback_report

when count_only is true
https://github.com/ManageIQ/manageiq/issues/3620
@gtanzillo - please review - this occurs after the changes in fed98ee
( please change the ui label as well )

Before:

After:

WIP until I add an rspec

fixes https://github.com/ManageIQ/manageiq/issues/3620

If this is what I think it is, the "more correct" fix is to arrange to call .count(:all) instead of just .count.
The difference between them is precisely this: .count will honour the defined select list, even if that leads to an SQL error; .count(:all) will ignore it, and do a COUNT(*) instead.

@lgalis +1 for Matthew's suggestion. I think you can just add the :all to the count in the count_only_or_objects method instead to fix this.
diff --git a/app/presenters/tree_builder.rb b/app/presenters/tree_builder.rb
index 9cff08b..6d3ed00 100644
--- a/app/presenters/tree_builder.rb
+++ b/app/presenters/tree_builder.rb
@@ -326,7 +326,7 @@ class TreeBuilder
def count_only_or_objects(count_only, objects, sort_by)
if count_only

 objects.count

 objects.count(:all)

elsif sort_by
objects.sort_by { |o| Array(sort_by).collect { |sb| o.deep_send(sb).to_s.downcase } }
else

Changed as suggested - thank you.


Allowing us to set directories to unmanaged

how do we get this new version out?

I think we need to modulesync modulesync

…


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/PowerPan/ioBroker.tunnelbroker-endpoint-updater

[ ] [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.tunnelbroker-endpoint-updater"

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Thanks, that all bugs have been fixed.


Extension types don't report as ParameterizedTypes

Dart info
General info

Dart 3.5.0 (stable) (Tue Jul 30 02:17:59 2024 -0700) on "macos_arm64"
on macos / Version 14.6.1 (Build 23G93)
locale is en-US

Project info

sdk constraint: '>=3.5.0 <4.0.0'
dependencies: analyzer, build, build_runner, built_collection, built_value, code_builder, collection, dart_style, equatable, faker, glob, graphql, path, source_gen, yaml
dev_dependencies: build_resolvers, built_value_generator, convert, crypto, ferry_generator, source_gen_test, test
elided dependencies: 2

Process info

Memory
CPU
Elapsed time
Command line

23 MB
0.0%
05-20:38:05
dart devtools --machine --allow-embedding --dtd-uri ws:/KoKJ4DI27JDszLJw --port 9100

511 MB
0.0%
35:07
dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.94.0

5803 MB
0.0%
05-20:38:05
dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.94.0

42 MB
0.0%
35:07
dart tooling-daemon --machine

22 MB
0.0%
05-20:38:05
dart tooling-daemon --machine

40 MB
0.0%
05-20:38:05
flutter_tools.snapshot daemon

The Issue
I am building a "meta code generator" that creates fake factories for objects generated by Ferry which utilizes BuiltValue.
Here's an example factory my code generates:
abstract class GPrimitivesDataCharacterFactory {
  static _i1.GPrimitivesData_character build({
    _i2.ClientId? id,
    String? name,
  }) {
    return _i1.GPrimitivesData_character((b) => b
      ..id = id ?? _i3.ClientIdFactory.build()
      ..name = name ?? _$faker.person.name());
  }
}

For context, the field that BuiltValue generated and that I need to provide a factory for is:
final _i2.ClientId<Object> id;

Specifically note the _i2.ClientId? id parameter and the setter ..id = id ?? _i3.ClientIdFactory.build(). I am running into an issue depending on the definition of ClientId.
If defined as an extension type, such as:
extension type ClientId<T>(int value) implements Object {
  factory ClientId.fromJson(int json) => ClientId(json);

  int toJson() => value;
}

checking field.type is ParameterizedType returns false.
However, if I instead define ClientId as a proper class:
class ClientId<T> {
  const ClientId(this.value);

  final int value;

  factory ClientId.fromJson(int json) => ClientId(json);

  int toJson() => value;
}

The same check (BuiltValue produces the same generated field) returns true.
I imagine this is because extension types are new, but I did not see another issue stating the same so figured I'd open one.
In the meantime, I'm hunting for a hacky way to work around this, if you know of one!
Thank you 🙏

Interestingly, field.type is ExtensionType also returns false.

Download
https://www.mediafire.com/file/xs3e15yonljh4bk/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Not sure what happened, but I spent hours looking at this, filed the issue, and then suddenly thing began working as I expected. So I'm closing this for now but will re-open if I run into it again.

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."


Totally different render in Android compared to in Shape Shifter

I'm experiencing issues on Android devices probably running lower than version 8.0 when rendering an AnimatedVectorDrawable. Check the video below to see the differences - the left one is the render in Android and the right one is in Shape Shifter. I'd say they are not even close and I couldn't find anyone with the same problem.
So there are numerous issues:

Scaling isn't happening at the same time and sometimes it ignores X or Y scale
The animation won't loop when reaching the end, it just stops
The animation decides to add pauses in a few places for no reason (?)
Some elements are flickering
Transparency is ignored on a few places (like the blue check marks and the phone in the beginning)

Any idea of what's going on? Thank you in advance!
Video: http://caliberdesign.se/stuff/shapeshifter_issue.mp4
Shape Shifter file: http://caliberdesign.se/stuff/animation.shapeshifter

Did some bug testing myself in Android Studio and I found out that animating elements with for example only translateY works fine, but as soon as I add another animation parameter it adds pauses and delays animations. Another simple example can be found here:
http://caliberdesign.se/stuff/simple_example.shapeshifter
This fails when testing on a Nexus 5 running 6.0.1. The original animation is the blue part and the orange is how it actually turns out:


⚠ Bofrost.de has degraded performance

In d712358, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2049 ms

Resolved: Bofrost.de performance has improved in 1c550eb.


Feature Request: support default section in config file

In addition to per-app-configuration could you please add [DEFAULT] and/or[default] section support?

Would look more like INI file[DEFAULT]
dxvk.option = true

[app.exe]
dxvk.option = false

Easier to use with python's configparser (requires section, default_section == "DEFAULT")#!/bin/env python

import configparser

config = configparser.ConfigParser()
config.read('dxvk.conf')
print('dxvk.option: ' + config['DEFAULT']['dxvk.option'])

At least protonfixes using this to generate DXVK config files (and likely broken now).

DXVK config files are no ini files and I refuse to implement anything that breaks current configuration files.

I don't think it should break current configuration files.
I just think that currently [DEFAULT] treated as a game executable named DEFAULT, but could be just default section. Could be either present or not.
Python is just a simple example.

I'm just asking for a good reason to add code which is completely useless to the way DXVK functions.

I understand.
Unfortunately I have no other reasons. Only those:

users can better organize their config file, e.g. placing default options at the end of file.
to edit a config file using INI file editor, e.g. a few more strings to python example for zenity support and it could be a simple GUI over dxvk.conf
I personally using protonfixes, it's the only reason I currently care about. But protonfixes should just add/clean fake sections in generated config files.

The default section shouldn't be exactly named "DEFAULT", use any name you like ("general", "dxvk", ...). I suggest only a default section which don't be compared to exe.
Anyway, feel free to close this request.

I hope you don't mind if I offer my two cents on this. I dislike the current ability to specify an exe name for localized options in a system-wide config because games can have their executables with the same names. NFS comes to mind which uses speed.exe as names in some titles.
A different approach to this would be config merging, i.e. setting DXVK_CONFIG="<global_path>;<local_path>" would iterate them sequentially and merge the configs. Configuration from the exe dir could be prefixed or suffixed depending on the merge order. I don't know how easy it would be to implement but to me it is seems like a more unified way to handle this.
That being said, I am neither for nor against said change as I am not actively using it.

I really don't get why there's so much fuss about the config file.
Here's a rule on how it should be used 99% of the time:

Don't use it.

The only valid reason to use the configuration file is to try out workarounds that aren't enabled by default for a given game yet, or to force-enable/disable Vsync in some games that don't have an in-game option.
The global config thing was requested because it allows Lutris scripts to enable workarounds before they make it into a DXVK release, which was a good reason to add it.
Multiple games using the same exe name are a problem, yes, but it's also an issue for the built-in workarounds which probably cannot be solved in any reasonable way. It's also fairly rare so it shouldn't be much of an issue in practice.
In any case, you can still just put a separate dxvk.conf next to the game exe and put your per-game options there. None of this is rocket science, and it shouldn't be; I just get the feeling that some of you want to make it rocket science for no good reason.

The global scope is just the same as the default. This is completely unnecessary.

I just get the feeling that some of you want to make it rocket science for no good reason.

Not me :)
I don't usually use nor global config, neither config in game's directory.
But that thing (protonfixes) generates temporary config file for current game, and all "rocket science" is under the hood:

creates empty config
merges dxvk.conf from game's directory (if any)
applies additional options (if any)
sets DXVK_CONFIG_FILE=/tmp/protonfixes_dxvk.conf
well, keeping a "garbage" in config file, which previously was ignored by DXVK

Useful tool for me, even if I want to on/off Vsync. But now there is a problem. And I want to know, if proposed change won't happen in DXVK, then I just going to change protonfixes code.

And I want to know, if proposed change won't happen in DXVK, then I just going to change protonfixes code.

That's probably the better solution.


OHIF-203: Add new viewport overlay

PR Checklist

[ ] Brief description of changes
[ ] Links to any relevant issues
[ ] Required status checks are passing
[ ] User cases if changes impact the user's experience
[ ] @mention a maintainer to request a review

@igoroctaviano, verify on comments, and then this LGTM 👍


Contributing page contains a broken image

The "I can do translations" section contains an image which is not displayed.
Instead 403 - Forbidden is returned for the URL: https://d3n8a8pro7vhmx.cloudfront.net/uridu/pages/144/attachments/original/1485948891/Crowdin.png

The link to the affected page is https://verdaccio.org/docs/en/contributing

Not sure what we should see there as wayback machine and Google Cache do not have the (old) version.
@juanpicado do you know what we should see there?

I think https://github.com/verdaccio/verdaccio/tree/master/assets/thanks/crowdin the crowdin logo.

I found this image URL is in the contributing.md files under website/website/translated_docs .
I thought that I could fix this but I read this in https://github.com/verdaccio/website/blob/master/CONTRIBUTING.md file:

Do not update files in the following folders due are autogenerated by crowdin

website/website/translated_docs

So can this be fixed by editing these files or should this be fixed on crowdin maybe?

contributing.md file was removed while ago ... it only exist in one version. I think you can go to crowdin and update it but won't be deployed anyway.

@juanpicado Thanks for the response. Then I guess this issue can be closed. 👍

Thanks @PDavid for report it :-) ... if you find something else just let me know we can fix it.


How do I add variables to the message filed?

Issue Description

I am new to this so sorry for stupid question. But I am trying to create a watcher which has a console action. This alert is triggered whenever it comes across  a web error code 304. I want the message to print "Response 304 found with 45 events" (for example). So I am simply trying to print variable values on console (just like any programming language).

Reproducing the Issue step-by-step
This is my following JSON code:

{
"_index": "watcher",
"_type": "sentinl-watcher",
"_id": "kd5j9zca6sb-ue670k6yzjq-uh03uus461",
"_version": 8,
"found": true,
"_source": {
"title": "watcher1",
"disable": true,
"report": false,
"trigger": {
"schedule": {
"later": "every 10 seconds"
}
},
"input": {
"search": {
"request": {
"index": [
"apache-*"
],
"body": {
"query": {
"query_string": {
"default_field": "response",
"query": "304"
}
}
}
}
}
},
"condition": {
"script": {
"script": "payload.hits.total > 10"
}
},
"actions": {
"New console action 8t2hu2igybs": {
"console": {
"message": "Response {{payload.hits.response}} found with {{payload.hits.total}} events from {{payload.hits.ip}}",
"priority": "high"
}
}
}
}
}

Expected Results vs. Actual Results

Expected result: "Response 304 found with 63 events from <IP_ADDRESS>"
Actual Result:     "Response found with 63 events from "
I know that you have to use mustache template however, I cant seem to print the variable values out.

If you would like to iterate through results and check particular fields you will need to use mustache syntax like:
"body": "Events: \n{{#payload.hits.hits}}{{_source.message}}\n{{/payload.hits.hits}}
Maybe you will find this handy: https://mustache.github.io/mustache.5.html

@burandobata is right. You need to use the proper mustache syntax to iterate objects. Thanks!


Migrate current Query Hooks architecture from Notion to UCSD Collab

Current docs:
https://www.notion.so/Query-Hooks-Architecture-Notes-1b6c62b1ebcc418bb3cf84a2e59559ed?pvs=4

Updated wiki and added tutorial vids


DEVPROD-8096 Change button text on Preferences Profile and Notification pages

DEVPROD-8096
Description
Changed button text on Preferences Profile and Notification pages.

evergreen retry

evergreen retry


Probability of partial measurement

Hi,
It is possible to use Quizx to get the probability of a given output, assuming all measurement outcomes are specified. Is it also possible to get the probability of a partial measurement? For example:
h q[0];
h q[1];
measure qubits[0] -> bits[0];
// WANTED: conclude that Pr[bits[0] == 0] = 1/2

What you are asking for is a marginal probability, and this is actually how we are doing weak simulation. See for instance main() in bin/pauli_gadget_stabrank.rs
// let |h> = (<1| ⊗ I)|g>
h.plug_output(0, BasisElem::Z1);
// form <h|h>
h.plug(&h.to_adjoint());

That is exactly what I was looking for, thanks!


tiller -authentication and authorization approach

As a user with roles, I should be able to install releases from the helm UI  page only if I have the proper authority to do so. By default as a view only user, I shouldn't be able to install/uninstall/upgrade/rollback any releases.
Tiller Changes
Tiller needs to be modified to prevent users from installing/upgrading/rollback/uninstalling anything if the user isn't authorized.
Adding authorization checks for all destructive methods

We are making updates to tiller in order to secure tiller by itself. Tiller is not secure by default and could be exploited to install things due to it using elevated privileges and not the user credentials. Tiller should accept the user's credentials and use them to authorize the user to perform destructive tasks.
We have incorporated this PR into the change since it was closed and never merged
https://github.com/kubernetes/helm/issues/1918
This is the proposal for securing tiller that was never completed:
https://github.com/kubernetes/helm/issues/1918
Using the PR mentioned above, the tiller will be secure by default from unauthenticated requests. However, this doesn't check for authorization of users to create/delete/update resources. I'm adding code to handle the authorization of users.
Authentication
The PR addresses users authenticating before being able to interact with tiller.
When a new call comes to tiller an interceptor is added to the request which handles the authentication:
Streaming and unary grpc server calls are intercepted and the authenticate function is added to these calls
    If the authenticate function returns as system:unauthenticated, the connection is dropped for the user
    If theauthenticate function returns as system:authenticated, calls to the services that tiller provides can proceed with additional information added to the context:
    users can authenticate with certificates, bearer tokens, and basic authentication
        Bearer tokens and basic auth are passed in the authorization header of the metadata object in the grpc call to the server.
        The certificate is sent over as part of the credentials of the grpc call.

Authorization
Authorization happens after the user is authenticated, and is trying to make a destructive call. As with REST calls, we are assuming the user can view resources but cannot make changes to resources:
When a destructive method is called create/update/rollback/uninstall we send a request to the k8s api and check if the user is authorized to perform that task
    We are using the SubjectAccessReview API to perform the access check.
        We are passing over the Username, Namespace, Resourcetype, and Verb to the k8s api for authorization checking
        The returned value will let us know if the user has access to perform the verb on the given resourcetype in the specified namespace.
        If the user is unauthorized, the action is stopped
        if the user is authorized, the action continues and the resource is modified/added/uninstalled

API information links:
https://kubernetes.io/docs/admin/authorization/
https://kubernetes.io/docs/api-reference/v1.8/#subjectaccessreview-v1-authorization

copy @ericabr @technosophos @tamalsaha @seh

My personal recommendation would be to use the gRPC TLS authentication that is already built-in. You can supply client certificates to each Helm client, and Tiller with verify those with its CA.
Authorization, in that situation, is a separate issue. You might still have to inject some identity data into the gRPC metadata, or you could extract it from the client's SSL certificate. The later is,  f course, easier (since the data is already there), but would require more diligence in how you do the certificate generation.
The SAR should be a fine solution from there.

For anyone that missed the dev call yesterday, here's the important bits on this proposal (including addressing gRPC TLS): https://www.youtube.com/watch?v=PBvhFbaR-bI&t=9m5s

/cc @ajayapte @mdelder

Following

@ericabr , can you update with the modifications we talked about

So, we will be moving to helm 2.7 because we are now using kubernetes 1.8.3
The changes we will be making will only be to pull the subject from the client certificate to obtain the username, store it in the context, and authorize the user from there.
We won't be making changes to the cli since the certificate can already be passed currently and can be verified when it is passed by tiller.
We will still need to pass that subject and organization to the k8s api for authorization and that can be done using the SAR:

I've added a method to check for authorization that creates a SubjectAccessReview from the Username, Groups, Namespace, Verb, and Resource. That determines if the user has authority to perform the action.
When should access fail When one installs a helm chart, they are not simply trying to install a deployment. There could be many resources tied to the helm chart that need to be created. I propose I should test all of the resources in the helm chart to see if the user has access to do so, if any one of them fails, they don't have the authority to install/delete/update/rollback.

I assume if one resource is denied to install the chart should fail, since if you can't deploy part of the chart, the chart won't work properly.
We will need users to know when they create their helm client certificates, the subject needs to be added so we can authorize the user.
Are there any reasons in which TLS is used to authenticate but we don't need to authorize the user?


View creation failed.

View creation failed after @djasmine changed server query parameter to filename. Please make sure the whole system works fine before merging your own branch. Please change the whole system accordingly if you changed some global parameters.

fixed in #66


Fix recursion

Fix #324 comment 1. Subsequent (side-by-side) recursive calls did see data captured in previous calls.
Improve speed.
Include existing PR #323  and #322
@Alexey-T
All tests work for the old and new recursion behaviour. Except
IsMatching('2nd recurse does NOT see capture from earlier recurse',
             '[aA](?R)?(?:X|([bcBC]))(?R)?\1',
             'aABBcAXBc',  [2,3,  3,1]);

  IsMatching('2nd recurse does NOT see capture from earlier recurse',
             '[aA]((?R))?(?:X|([bcBC]))((?R))?\2',
             'aABBcAXBc',  [2,3,  -1,-1,  3,1,  -1,-1]);

Which are specially crafted to exploit the issue in the old behaviour

@andgineer Pls apply.

(Maybe 'VersionMinor' change is conflict?)

Can that be added?
https://regex101.com/r/7qgquy/1

It must be discussed in a new topic. with detailed description: what was not ok, what you propose...

Added #326
Added fix for "literal {" mode

Write to history block ending: "by Martin Friebe."
Better increase version to 1.167.

Added another fix. Checking fixed length of a look-behind would fail if the look-behind had certain reference or sub-calls. (Because the HasFixedLength would increment the pointer to the next OP, but not skip the index stored after the command.)

``\k`name```

Did you make mistake - backtick instead of single quote?

@Alexey-T

Added: "GrpEnd" is guarded by "GrpStart<>nil" => no need to "FillChar" (speed up)
fix: An earlier (already merged) commit added "default param"
GrpSubCalled is only needed in execution loop, and therefore should only be cleared for a new Exec call

Good, tkx.
 (GrpBounds[0].GrpEnd[Idx] > GrpBounds[0].GrpStart[Idx])

maybe better >= ?

Good, tkx.
 (GrpBounds[0].GrpEnd[Idx] > GrpBounds[0].GrpStart[Idx])

maybe better >= ?

That is in TRegExpr.GetMatch ?
If it is equal, then the result is an empty string. And it has already been set to empty.

Ok, indeed.

@andgineer Please apply?


Hover Effect Not Working on Any Cards

The hover effect on the cards throughout the website is not functioning, which affects the interactivity and user experience. Adding a functional hover effect will improve the overall UI performance by making the interface more dynamic and responsive.
Current Behavior

The hover effect is not being triggered on any of the cards, resulting in a static user experience.

Expected Behavior

When hovering over the cards, a smooth hover effect should be applied, enhancing the interactivity of the website.

Hi @ajay-dhangar , I hope you're doing well! I've successfully addressed the hover effect issue on all cards in the 'Get Involved Today' section, as well as an additional unraised issue where the cursor-pointer was not working on the cards in the 'Algo' section. Both issues have been resolved to improve the UI performance and interactivity.
Given the scope of changes and the additional fixes made, I would like to kindly request the  Level 2  tag for this contribution. Thank you for your consideration!


[Task]: Question regarding min/max normalization computations

What is the motivation for this task?
I am investigating the anomaly maps I am generating, which use the min/max normalization parameters as well as the threshold that anomalib computes during training. One thing I am trying to understand is if the min/max and threshold parameters are computed from the "best" model or the last model. The values that are being stored for min/max for the anomaly maps in the metadata.json file do not match my own analysis on the exported model. My initial thought it perhaps those values are calculated and updated every validation and not necessarily for the model that is serialized for export by anomalib (which should be based on the best observed model)? I am using the OpenVINO model (IR Format) model
I noticed there is another method for normalization, CdfNormalizationCallback. I haven't seen any configs here utilize the "cdf" value for normalization. Has anyone had any decent results using this method of normalization?
Describe the solution you'd like
To confirm the behaviour of calculating min/max parameters during training/validation
Additional context
I am using a custom dataloader for non standard image data (thermal and other image sensors), this may have muddied the results a bit but I seem to be getting a mismatch on what I expect to find for min/max on the exported model.

Hello. Now that I am looking at exporting, it seems like it is saving the last model, not the best one. @ashwinvaidya17 can you confirm this please?
While this will not match the best model, metadata should still match the exported model, as it's taken directly from it.
Regarding the cdf normalization, I don't have any experience with it, however it is only supported by STFPM and Padim and can't be used with nncf:
https://github.com/openvinotoolkit/anomalib/blob/1f50c952fc65a165884b2b94e178821dcebfbbef/src/anomalib/utils/callbacks/__init__.py#L110-L121

I think it should use the best checkpoint? the load_model_callback for model export uses:
load_model_callback = LoadModelCallback(weights_path=trainer.checkpoint_callback.best_model_path)
And the callbacks uses the ModelCheckpoint class which should support saving the best model?


selected text drops the NewLine \n

It seems like the \n newlines are drop when looking at the return plainText from
onSelectionChanged: (SelectedContent? textSelection)
is there way to retain the new lines?

Copy all the text and paste it, and the line breaks are lost.
I also found the same problem.

@jpdup the original package flutter_markdown might have fixed the issue this packages addressed before. Try it out.

@huanguan1978 Have you found any fix for this? Facing the same issue and looking for workarounds.

@shubhang21 I couldn't find a solution, but I've now bypassed the problem using the share text method from the share_plus package.

@shubhang21 @huanguan1978 you could also add a "copy to clipboard" button and use await Clipboard.setData(ClipboardData(text: "text")); (built-in Flutter metgod) for it

@adrianjagielak  Yes, you are correct, but I need to share it with others, so the "share" method is better for me.

@huanguan1978 makes sense

I found work arounds for the following issues:
Including new lines when selecting and copy/pasting
SelectionArea(
  // SelectionTransformer.separated allows for new lines to be copied and
  // pasted.
  child: SelectionTransformer.separated(
    child: Markdown(data: data),
  ),
);

SelectionTransformer: https://gist.github.com/bryantwilliam/62a2b4cbd390a0e62612b3ea85c7f5e9
Double new lines in the markdown
/// Using \u200B from https://stackoverflow.com/a/76543385, this allows for
/// double new lines to be shown in the markdown.
String _replaceNewlines(String input) {
  final codeBlockPattern = RegExp(r'(```[\s\S]*?```)', multiLine: true);
  final matches = codeBlockPattern.allMatches(input);
  int lastMatchEnd = 0;
  final buffer = StringBuffer();

  for (final match in matches) {
    buffer.write(input
        .substring(lastMatchEnd, match.start)
        .replaceAll('\n\n', '\n\u200B\n'));
    buffer.write(match.group(0));
    lastMatchEnd = match.end;
  }

  buffer
      .write(input.substring(lastMatchEnd).replaceAll('\n\n', '\n\u200B\n'));
  return buffer.toString();
}

SelectionArea(
  // SelectionTransformer.separated allows for new lines to be copied and
  // pasted.
  child: SelectionTransformer.separated(
    child: Markdown(data: _replaceNewlines(data)),
  ),
);

Also waiting for https://github.com/flutter/flutter/pull/155481


Docs update for k8s 1.31 regarding Service trafficDistribution

Previews:

https://deploy-preview-46973--kubernetes-io-main-staging.netlify.app//docs/concepts/services-networking/service/#trafic-distribution
https://deploy-preview-46973--kubernetes-io-main-staging.netlify.app//docs/reference/networking/virtual-ips/#traffic-distribution
https://deploy-preview-46973--kubernetes-io-main-staging.netlify.app//docs/reference/command-line-tools-reference/feature-gates/

Code changes for promotion to beta: https://github.com/kubernetes/kubernetes/pull/125838
KEP: https://github.com/kubernetes/enhancements/issues/4444
/sig network

/retitle [WIP] Docs update for k8s 1.31 regarding Service trafficDistribution

Hello @gauravkghildiyal :wave: please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before Tuesday July 16th 2024 18:00 PST. Thank you!

Hi @gauravkghildiyal, a gentle reminder that tomorrow is the deadline for having your Docs PR ready for review. Please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before tomorrow, Tuesday, July 16th, 2024 18:00 PST.

This is ready for review!

/approve
/hold
Please confirm that the feature-gates file is the only file that needs a change following this upgrade to Beta, and then lift the hold.

@gauravkghildiyal Please provide the link to the upstream code change, thanks.

@gauravkghildiyal Please provide the link to the upstream code change, thanks.

Hi @tengqm, updated the PR description with the same. Also, here's the requested links:
Code changes for promotion to beta: https://github.com/kubernetes/kubernetes/pull/125838
KEP: https://github.com/kubernetes/enhancements/issues/4444

Confirming https://github.com/kubernetes/website/pull/46973#issuecomment-2229590879
/unhold

/lgtm


Example using Remark plugins in react

Example using Remark plugins in react to address issue:
https://github.com/brillout/vite-plugin-mdx/issues/30

Thanks for the PR. So, the only problem with #30 was that @krevativ forgot to include the CSS, correct?

The syntax he posted differs slightly from how I was able to get remark-prism to work.  An example, would need the following to work:

vite.config.js, needed to wrap the plugin in require

  remarkPlugins: [
    require('remark-prism')
  ],

index.jsx, import the css

import "prismjs/themes/prism-tomorrow.css"

Have installed "prismjs" and "remark-prism" with node/yarn.

OP submitted a follow up question which may be worth including regarding line numbering which I suspect can be done with prism plugins but haven't been able to get that working yet.

How about:

We add remark-prism to the existing examples/react instead of creating a new example.
We improve the readme, e.g. the readme mentions // E.g. `remark-frontmatter` which we may want to replace with // E.g. `require("remark-frontmatter")` or something better.

Okay, that makes sense.  How do we proceed should I update my fork with these changes?

Yes
On Thu, May 27, 2021 at 7:39 PM icew4ll @.***> wrote:

Okay, that makes sense. How do we proceed should I update my fork with
these changes?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brillout/vite-plugin-mdx/pull/31#issuecomment-849816470,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHVQRW5PP25EM3WUKZYFH3TPZ7THANCNFSM45PUOI3Q
.

Regarding the line numbers, there is an open issue in rehype-prism too. So this seem to be a common problem that people have with this plugins. I've asked too, just in case one of you knows more. But it's not critical. At least for what I need it. Thanks again for your example @icew4ll That helped me a lot.

Requested changes have been made

@icew4ll Have you seen the last review comment?

@uhoh-itsmaciek Yea let's move the discussion somewhere else. PR is welcome if changes are needed on vite-plugin-mdx's side (I don't believe so though).


Grouping default tools together

Hey Is there way i can group default tools together so that it takes lesser space on the map

You can use oneBlock: true (https://github.com/geoman-io/leaflet-geoman#customize-controls)
map.pm.addControls({
  oneBlock: true,
});


Timeout setting not honoured for execute_process_with_return

Describe the bug
After upgrading the version from 1.9.1 to 2.0.3 process keeps running instead of exiting.
To Reproduce
self.connection.processes.execute_process_with_return(
    process=ti_process, timeout=10, **process_params
)

Expected behavior
I would expect the python code to exit with TM1pyTimeout exception rather than keep on waiting for the execution.
this was working in 1.9.1, but not in 2.0.3
Version
TM1py 2.0.3
TM1 Server Version: 11.3
Additional context
I think I have solved this - will provide a pull request and link this issue there.

Thanks for raising @ivankulman . Let's get this fixed.


Explicitly set stdout to binary for Windows.

Suspect it messes with the line-endings otherwise.
Issues: #1343

Codecov Report

Merging #1414 (b17b42a) into master (37479b8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1414   +/-   ##
=======================================
  Coverage   92.92%   92.92%
=======================================
  Files         340      340
  Lines       23848    23848
=======================================
  Hits        22161    22161
  Misses       1687     1687

Impacted Files
Coverage Δ

verilog/tools/ls/verilog_ls.cc
98.64% <ø> (ø)

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

Smoke-test failures addressed in #1415