the debugger does not work, does not stop on breakpoints

Describe the bug
The app is published and works as expected (Payment Method Code for 8 Sales Orders for Adatum Corporation – and any other I try -  are changed when the Customer Card Payment Method Code is changed), with below launch.json, app.json, and codeunit used to test the debugger.
The debugger does not stop at breakpoints, or otherwise seem to work.
The only result I have seen in the debugger is that the CALL STACK will sometimes show “RUNNING.”
To Reproduce
Steps and to reproduce the behavior:
Aside from the below files, have also tried to use in settings.json:
"al.editorServicesLogLevel": "Debug". (restarted VS Code to take effect)
And then
"al.editorServicesLogLevel": "Verbose" (restarted VS Code to take effect)
EditorServices.log, and the debugger (DebuggerServices.log) are NOT output to the
C:\Users<USER>.vscode\extensions... \bin directory.
The only new directory created in the path is 365businessdevelopment.bdev-al-xml-doc-1.0.2, which is empty.
There is this “Unknown Config Setting” added setting to settings.json:
bdev-al-xml-doc.checkProcedureDocumentation": true, (tried true and false without causing an effect).
Cleared browser cache.
Cleared .alchache in VS Code.
In total, no effect to get the debugger to pause on breakpoints.
AL Code to reproduce the issue
launch.json
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Microsoft cloud sandbox",
            "request": "launch",
            "type": "al",
            "environmentType": "Sandbox",
            "environmentName": "XYZ -SANDBOX",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": true,
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true
        }
    ]
}

in launch.json had also tried:
"breakOnRecordWrite": true (no effect)
app.json
{
  "id": "XYZ ID”
  "name": "XYZ Name",
  "publisher": "XYZ Publisher",
  "version": "<IP_ADDRESS>",
  "brief": "",
  "description": "",
  "privacyStatement": "",
  "EULA": "",
  "help": "",
  "url": "",
  "logo": "",
  "dependencies": [],
  "screenshots": [],
  "platform": "<IP_ADDRESS>",
  "application": "<IP_ADDRESS>",
  "idRanges": [
    {
      "from": 60000,
      "to": 60049
    }
  ],
  "contextSensitiveHelpUrl": "XYZ URL”
  "showMyCode": true,
  "runtime": "6.0"
}

codeunit
codeunit 60002 XYZEvents
{
    trigger OnRun()
    begin

    end;

    [EventSubscriber(ObjectType::Table, Database::Customer, 'OnAfterValidateEvent', 'Payment Method Code', true, true)]
    local procedure XYZ_Customer_MethodPaymentCode_OnAfterValidate(var Rec: Record Customer)
    var
        SalesHeader: Record "Sales Header";
    begin
        **SalesHeader.SetRange("Sell-to Customer No.", Rec."No."); // breakpoint set here and every other line of code without effect**
        if SalesHeader.FindSet(true, false) then
            repeat
                SalesHeader.Validate("Payment Method Code", Rec."Payment Method Code");
                SalesHeader.Modify(true);
            until SalesHeader.Next() = 0;
    end;

    var
        myInt: Integer;
}

In the above codeunit, also went to Go to definition for “Sales Header”
Opened: table 36 "Sales Header", set breakpoint on InitInsert, with no effect.
trigger OnInsert()
    var
        O365SalesInvoiceMgmt: Codeunit "O365 Sales Invoice Mgmt";
        StandardCodesMgt: Codeunit "Standard Codes Mgt.";
    begin
        InitInsert;
        InsertMode := true;

        SetSellToCustomerFromFilter;

        if GetFilterContNo <> '' then
            Validate("Sell-to Contact No.", GetFilterContNo);

        Validate("Payment Instructions Id", O365SalesInvoiceMgmt.GetDefaultPaymentInstructionsId);

        if "Salesperson Code" = '' then
            SetDefaultSalesperson;

        if "Sell-to Customer No." <> '' then
            StandardCodesMgt.CheckCreateSalesRecurringLines(Rec);

        // Remove view filters so that the cards does not show filtered view notification
        SetView('');
    end;

Expected behavior
VS Code should stop on breakpoints and show elements in debugger side panel.
Screenshots
If applicable, add screenshots to help explain your problem.

5. Versions:

VS Code: Version: 1.51.1
AL Language: v6.1.362735

In BC Sandbox, using CRONUS USA, Inc.:
Application Version: 17.0.16993.0
Platform Version: 17.0

I assume that you have a sandbox named XYZ -SANDBOX?
I assume that you have started debugging with F5?
If you trigger a message box from the event that is visible when you run the application? Testing that your event subscription is really called.
Search also in the bin subdirectories too for the debuggerservices.log file. It should be there, else you are not debugging with the Debug Adapter for the AL language extension.

Thanks for the reply.

1. I assume that you have a sandbox named XYZ -SANDBOX?

2. I assume that you have started debugging with F5?

3. If you trigger a message box from the event that is visible when you run the application? Testing that your event subscription is really called.

4. Search also in the bin subdirectories too for the debuggerservices.log file. It should be there, else you are not debugging with the Debug Adapter for the AL language extension.

Your assumptions are correct:

I assume that you have a sandbox named XYZ -SANDBOX? YES
I assume that you have started debugging with F5? YES
If you trigger a message box from the event that is visible when you run the application? Testing that your event subscription is really called.

Yes, the subscription is really called, but to show via triggering a message box, I have refactored the
codeunit (below) and then provided the screenshots of the messages. The changes occur as
expected.

365businessdevelopment.bdev-al-xml-doc-1.0.2 was created yesterday when I added
"al.editorServicesLogLevel": "Debug"
But then changed it to:
"al.editorServicesLogLevel": "Verbose"
Changing it back to "al.editorServicesLogLevel": "Debug" has not had an effect and the folder is empty, no bin subdirectories.
This folder seems to be associated with the "AL XML Documentation," I have a newer version with subfolders created at a previous time yesterday (see image below settings.json) but the but the bin folder seems to have only files associated with ALCodeCommentMarkdownCreator.

Does it then seem that I am  "not debugging with the Debug Adapter for the AL language extension"?
How to determine if I am not debugging with the Debug Adapter for the AL language extension? Attached also is my settings.json file (below).
[EventSubscriber(ObjectType::Table, Database::Customer, 'OnAfterValidateEvent', 'Payment Method Code', true, true)]
    local procedure XYZ_Customer_MethodPaymentCode_OnAfterValidate(var Rec: Record Customer)
    var
        SalesHeader: Record "Sales Header";
    begin
        SalesHeader.SetRange("Sell-to Customer No.", Rec."No.");
        Message('Change made to the Customer Card Payment Method Code');
        Count := 0;
        if SalesHeader.FIND('-') then
            repeat
                Count := Count + 1;
            until SalesHeader.NEXT = 0;
            MESSAGE(Text000 + '%1', Count);
        Count := 0;
        if SalesHeader.FindSet(true, false) then
            repeat
                Count := Count + 1;
                MESSAGE(Text001 + Text002 + '%1', Count);
                SalesHeader.Validate("Payment Method Code", Rec."Payment Method Code");
                SalesHeader.Modify(true);
            until SalesHeader.Next() = 0;
    end;

    var
        Count: Integer;
        Text000: Label 'SalesHeader.FIND Count: ';
        Text001: Label 'Change to Sales Order or Credit Memo Payment Method Code\';
        Text002: Label 'The Count: ';

}

after launch:

settings.json
{
    "workbench.iconTheme": "vscode-icons",
    "telemetry.enableTelemetry": false,
    "telemetry.enableCrashReporter": false,
    "editor.renderControlCharacters": false,
    "files.autoSave": "afterDelay",
    "editor.wordWrap": "on",
    "workbench.colorTheme": "Default Light+",
    "editor.selectionHighlight": false,
    "editor.occurrencesHighlight": false,
    "window.zoomLevel": 0,
    "spellright.documentTypes": [

        "markdown",
        "latex",
        "plaintext"
    ],
    "spellright.ignoreFiles": [

        "**/.gitignore",
        "**/.spellignore"
    ],
    "spellright.language": [

    ],
    "spellright.languageContext": {

    },
    "cSpell.userWords": [
        "Mgmt",
        "Packt",
        "Walkthrough"
    ],
    "workbench.sideBar.location": "left",
    "todo-tree.tree.showScanModeButton": false,
    "dashboard.projectData": null,
    "zenMode.centerLayout": false,
    "zenMode.fullScreen": false,
    "bdev-al-xml-doc.checkProcedureDocumentation": true,
    "al.enableCodeActions": true,
    "al.codeAnalyzers": [
    "${AppSourceCop}","${CodeCop}"
    ],
    "editor.fontSize": 12,
    "editor.lineHeight": 14,
    "debug.allowBreakpointsEverywhere": true,
    "al.editorServicesLogLevel": "Verbose"
}

.vscode\extensions directories that were updated yesterday (when working with the   "al.editorServicesLogLevel": setting:
No subdirectories, not sure what,if anything, it has to do with debugging?

Has subdirectories, later version, earlier time modified.

This issue was resolved on the Dynamics 365 Business Central/NAV User Group Developers Forum (Help needed: The Vs Code debugger (AL code) does not work; does not stop on breakpoints).
Apparently the issue revolved around web sessions. After clearing .alchache in VS Code and the browser cache, I also cleared the VS Code credentials cache and then canceled the session in Dynamics 365 Business Central admin center. I then signed in with new credentials, the app launched, and the debugger worked as expected.
No other changes were made. Since then, non of the above steps taken seem necessary, and the debugger works after F5 and then calling the subscription as previously noted.

Hi
I got the same problem. All of a sudden debugging stopped to work.
I also tried clear credentials and reload windows in VS code. That did not work.
I tried to delete files in .alcache and .alpackages folder. That did not work.
I also tried adding to settings.json:  "debug.allowBreakpointsEverywhere": true, That did not work.
Then I deleted browsing data in Edge web browser. clear credentials and reload windows in VS code. This seemed to work!
/J


scipy's Simpson integrator backend breaks after version 1.11 due to deprecation

there were recently changes to the scipy library (>= 1.12). These changes include a modification to the Simpson integration method in the integration module of scipy. This effectively breaks the pyccl.halos.HMCalculator object since it relies on Simpson integration by default. As of scipy 1.14 the behavior of the 1.11 version is completely deprecated.
I found this new issue to only be true when using the .integrate_over_massfunc() method for the HMCalculator object with versions of scipy >= 1.12.

@James11222 I think we solved this here: https://github.com/LSSTDESC/CCL/pull/1187
Can I check if you're using the latest version of the code?

Will close for now, but do let me know if this is still an issue.


proposal: x/sys/unix: Add ported implementation of ReadDirent to zOS

Currently ReadDirent is not available on zOS. The IBM team has provided the required code to bring ReadDirent to the operating system. A CR will follow shortly.

The problem with the existing CL is not the addition of ReadDirent.  We can add ReadDirent to the syscall package without a proposal, as it is simply adding an existing function to a new GOOS.
The problem with the existing CL is that it removes the existing Readdir function.

I suppose simply reverting the name change won't be enough, as the function signature will still have changed?
Should I submit a new proposal issue? Or simply change this one?
Thanks

Changing this one is fine.  Thanks.

@ianlancetaylor We've decided to keep the original Readdir function. The CR has been changed to reflect this. Please let us know if this is acceptable.
Thanks!

Sure, that's fine.  Thanks.

Should this issue be closed?


Add ICU dictionary (Thai)

Since ICU are include to almost all web browser, so I think we should add ICU dictionary to PyThaiNLP to use same dictionary and can deploy any system that pythainlp/nlpo3 doesn't support.
Dictionary: https://raw.githubusercontent.com/unicode-org/icu/main/icu4c/source/data/brkitr/dictionaries/thaidict.txt

@wannaphong i've added ICU of Thai language into the corpus already. You can see and review it at PR #879 krub.


Error while fetching v0.0.3

Getting error while doing terraform init:
**Error: Failed to query available provider packages
Could not retrieve the list of available versions for provider inuits/cortex:
no available releases match the given constraints 0.0.3**

I see in tag v0.0.3, the version declared in makeFile is 0.1

what does your main.tf look like?

terraform {   required_providers {     cortex = {       source = "inuits/cortex"       version = "0.0.3"     }   } }
`

terraform {
required_providers {
cortex = {
source = "inuits/cortex"
version = "0.0.3"
}
}
required_version = ">= 0.13"
}

Hi, waiting for tag v0.0.3 to be updated with the latest master commit.

Why do you think that v0.0.3 is not working? Can you share some logs?

 It was pointing to local plugins instead of terraform registry. NO ACTION REQUIRED. You can close the issue.


Page does not update stats since almost a year ago

Is this plugin obsolete and should be uninstalled or is this just a bug?

Thanks for your issue!
I've not played OSRS myself for ages. The website and plugin were just online without any maintenance or care taking. You're the first person to mention that the plugin doesn't update the website.
I've looked into it straight away and found the issue. It should now have be fixed and updating again.

Can confirm it works now. Thank you very much!


[AutoPR azurestack/resource-manager] Move Azure Stack NodeJS readme file inside RM directory

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4067

Build output:

Closing PRs that have been open for more than 1 month.


[AMBARI-24540] Remove duplicate host_sys_prepped variable

What changes were proposed in this pull request?
After merging #2171 I noticed that params.py already defines host_sys_prepped.  This minor change only removes the duplicate one, and moves sysprep_skip_oozie_schema_create to params.py as well.
How was this patch tested?
Ran Python unit tests.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3767/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3770/
Test PASSed.

@g-boros can you please review?


Update Protobuf to >= 3.20 once it works with gRPC >= 1.45.1

Protobuf == 3.20.0 does not work with gRPC == 1.45.1 when compiling under Bazel.  I have a
small repro.
We really need the changes in gRPC 1.45.1, and have no particular need for the changes in Protobuf, so I am going to rollback any changes to Protobuf, close the PRs to upgrade Protobuf, and try to file bugs with gRPC to fix this.

Filed grpc/grpc#29297

Fixed in #8779


How endpoints are secured? Does authentication required over endpoints?

Having token based authorisation over endpoints. How the endpoints are secured? Does this plan in on the cards?

@all-contributors please add @arulconsultant for tests


Add Fog image effect to post processing effects system

PR Details
Fog PostEffect
Description
This change provides an exponential fog image effect to the post processing effects system. The content was mined from phr00t's Focus fork and given small clean-up. I am not the original author of the shader. It appears as though phr00t's fork is open source following the same license as Stride.

I have not written any new tests for this feature.
I submitted a separate PR for documentation update here.
Related Issue

Motivation and Context
This item has been requested multiple times in Discord and is a popular effect for games.
Types of changes

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

Checklist

[X] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks for the review. These are simply things I missed in the flurry, my apologies. Updated.

No need to apologize, thanks for the contribution!


If checkpoints are available

Glad to see a wonderful work!
I wonder if there are checkpoints available. I used the checkpoints in the original cliport repo and found that the success rate is very low.

You mean you evaluate the cliport pretrained checkpoint on the GPT generated tasks and get a low success rates? Which environments do you test on, and what are the success rates?

Not on the GPT generated tasks. I test on the stack-block-pyramid-seq-seen-colors task, and the success rate is 0. I evaluate the same checkpoint using the code in the original cliport repo (https://github.com/cliport/cliport), and the success rate is 1. I notice that you modify the original cliport in order to support batchsize>1. I wonder if the original cliport (https://github.com/cliport/cliport) pretrained checkpoint can be used here.

Interesting. i have not seen this problem before. Did you notice anything unusual when you load the state_dict? Can you visualize the affordance using the cliport notebook?

I did not notice anything unusual when I load the state_dict. The affordance maps are in the notebook (https://colab.research.google.com/drive/1cXViRgIHMv73rYjNgCFSo00yF1QeDgaK?usp=sharing). It seems that the agent has wrong choice of color when I evaluate the same checkpoint using the code in this repo.

I cannot seem to view the affordance map. This seems to indicate a bug, and I would like to investigate more. Have you tried other environments btw? What about simpler ones like align_box_corner?

I tried align_box_corner just now. The affordance map is also incorrect. The pick affordance indicates the agent should pick up the green corner. I'm not sure if my carelessness caused the problem, have you ever tried the checkpoints in the original cliport repo (https://github.com/cliport/cliport) for you code?

I've been able to train a single-task model and evaluate on my codebase. I only tried the cliport checkpoint a while ago. I think there are potential changes on padding, rotations, x/y order that might cause this. Feel free to debug further. I will be able to take a closer look sometime later as well.

OK, thank you!

Turns out this problem is due to the seen/unseen color split problem here. The trained model on cliport is evaluated on a different set of colors but this repo does not consider that kind of color-level generalizations.


Update User Authorization to include RelatedOrganisationId's in check

Story: AB#12958
Task: AB#13895

Business logic (types of claims etc) should be accessible via the service layer without calling classes needing to be aware of implementation details.
Depending on time scales, I'd highly recommend pulling the logic for needing access to Claims Principal into the IIdentityService or a new service & injecting it into the filter - no need for private/static methods etc which allows easier unit testing, besides the ease of reuse & update.

i would be hesitant in making any major changes at the moment, since all this logic (including JWT tokens) will be removed with the new version of the Application. This is more of a stop gap change until that time

Business logic (types of claims etc) should be accessible via the service layer without calling classes needing to be aware of implementation details.
Depending on time scales, I'd highly recommend pulling the logic for needing access to Claims Principal into the IIdentityService or a new service & injecting it into the filter - no need for private/static methods etc which allows easier unit testing, besides the ease of reuse & update.

As Lee's suggested, I'm not sure we'd gain much value from this right now. However, I think it's something we might want to look at when we start work on the order approval process.


Updated Setup Instructions for Apple Silicon

We must distinguish between two brew setups to use and maintain them properly.

This is now obsolete. Everything just works, no need for special casing apple silicon.


overrideScalaVersion warning lies and is unclear

steps
sbt.version=0.13.13
scalaVersion := "2.12.0"
libraryDependencies += "com.github.julien-truffaut" %% "monocle-core" % "1.4.0-M2"

Note I'm setting scalaVersion to "2.12.0" but monocle-core 1.4.0-M2 depends on org.scala-lang : scala-library : 2.12.1.
package t

object Hi {
  def main(args: Array[String]): Unit = {
    println(classOf[Seq[Int]].getProtectionDomain().getCodeSource());
  }
}

problem
Invoking run shows 2 things, first:
[warn] Scala version was updated by one of library dependencies:
[warn] 	* org.scala-lang:scala-library:2.12.0 -> 2.12.1
[warn] To force scalaVersion, add the following:
[warn] 	ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }

secondly:
[info] Running t.Hi
(file:/Users/dnw/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.0.jar <no signer certificates>)

Firstly, the message "To force scalaVersion" is unclear. Does it mean to force the upgrade or to force it not to upgrade?
Secondly, actually adding ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) } removes the warning, and running results in
[info] Running t.Hi
(file:/Users/dnw/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.0.jar <no signer certificates>)

i.e. no change at all - it made no difference at all (except remove the warning).
expectation
I expected a clearer message, and I expected something to actually change (either from 2.12.1 to 2.12.0 or vice-versa).
Also, with scalaVersion set to "2.12.0" and a dependency to that version of monocle-core I expected scala-library 2.12.1 to be used at compile-time and runtime, given that's what monocle depends on.

This is a feature interaction between eviction warning and scalaVersion mediator.
Effectively we now have overrideScalaVersion turned on by default.

Reflecting the scalaVersion mediator, we could issue a warning like:
[warn] One of the library dependencies uses a newer Scala version than this project:
[warn] 	* org.scala-lang:scala-library:2.12.0 -> 2.12.1
[warn] We recommend you upgrade to the latest scalaVersion patch:
[warn] 	scalaVersion := 2.12.1

if we know that the mediator is turned on.

:+1: I really like the new warning message.


docs/design, pkg/iowrap: Add and implement proposal 10-callback-reader

This PR intended to provide support for progress bar.
Fix https://github.com/Xuanwo/storage/issues/73

Test for ReadCallbackFunc will covered by another tests, let's get merged for now.


Update brew release to v0.16.2 (#6147)

Manual cherry-pick of #6147 due to merge conflict.

/retest-required

/approve

/retest

/lgtm


added lunpic online photo editor on the 'Online Design Tools'

Resource Name - Lunapic
Completely Free online photo editing.
Link: www11.lunapic.com/editor/
Checklist:

[ ] I have performed a self-review of submitted resource and its follows the guidelines of the project.

@GodwinChibyk To much ads with sketchy URL... wouldn't you say?


Getting Bool State from Firestore in Dart

I am trying to get a bool value from Firestore when the app is being initialized: it returns True if it is "like" and False if it is not "like". Every time a user likes/unlikes a post, a database (called userFavorites) is being created or update on Firestore. So when initializing the app, I'm trying to get access to this True/False for each of the posts that are being displayed on the UI (if the user has never liked or unliked the post, the value for this bool will automatically be False). I have been researching and working on it for a while (also used the debugger and breakpoints every time), and the problem that I am having is that I am not able to get and display the T/F bool value from the Firestore database into the UI each time a post is initialized (or seen on the screen). What code could I use to do that? I would really appreciate your help here. Thanks!

Hi @Alvaro-99
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Missing ability to disable global scope when searching

When using global scopes, in my case based on user permission, and you want to disable those scopes for fetching, normally you can do something like:
$users = User::withoutGlobalScope(UserScope::class)->get();

When searching, it isn't possible to pass custom calls to the MySQL engine. A (very very very) ugly workaround is to overwrite the search method to disable scopes before passing the model to the engine:
public static function search(string $query, $callback = null): Collection
{
        // Temporary disable global scopes
        static::$globalScopes = [];
        $results = (new ScoutBuilder(new static(), $query, $callback))->get();
        static::addGlobalScope(new UserScope());
        return $results;
}

Any other ideas how to resolve this in a more elegant way?

Hi! @mbardelmeijer
Have you got any solution?


215 - RPL_STATSILINE - redefinition of group name 'host'

The regex for RPL_STATSILINE is:
 "I (?P<host>\S+) . (?P<host>\S+) (?P<port>\S+) (?P<class>\S+)")

It's an error to have both groups named host, this can't possibly work.

You're right. This is autogenerated and need to be fixed somewhere around https://github.com/gawel/irc3/blob/master/irc3/_parse_rfc.py#L96

Along the same lines:
RPL_TRACEUNKNOWN
multiple repeat in ^:(?P<srv>\S+) 203 (?P<me>\S+) ???? (?P<class>\S+) [(?P<clientip>\S+)]

;-) will check if I have some time to fix this later this week.

I've fixed the first one but I don't see the problem for RPL_TRACEUNKNOWN

I think ???? isn't legal in a regex. ? is supposed to mean once or not so repeating it several times like that confuses it and I'm getting an exception multiple repeat.

Ok, fixed too. Thanks for the reports


Adjusting memory and cpu using the containerlab config / environment variables

Currently it is not possible to adjust the cpu and memory via environment variables. It seems that there is something implemented in commit 68590a6, but this is only used for sros and very specific to it.
I think a global more general form would be good and than adding a specific function to sros.
I am already working on a solution. Would you accept such a change.
Does anyone maybe have a better idea to cover dynamic cpu and memory assignments via the containerlab config.

Hi @jmussmann
yes, the cpu/ram tuning was a stopgap I did for SR OS specifically, but I agree that it needs to be a generic function implemented in common/vrnetlab.py so that every image gets to enjoy it.
I think env var approach is still ok from the API side of things, so it is a matter of reading those two env vars in the vrnetlab code and apply them respectively.

done in #198


Add AzureSasCredential

In this PR:

Add AzureSasCredential per https://github.com/Azure/azure-sdk/issues/1954
AzureSasCredential is the name that has been settled on the end of discussion.
Add AzureSasCredentialPolicy (internal shared source) that appends SAS to query

Remarks:

Some service (like storage in the Portal) present SAS with leading "?". This has to be stripped before appending
The validation if serviceUri already contain sas (mentioned here) will be responsibility of service clients:

the format varies between services (i.e. Event Grid SAS and Storage SAS are vastly different)
it would be good to fail fast (at client creation) rather than late (at request send).

It seems that allocation optimizations must wait till we target higher .NET.

It seems that allocation optimizations must wait till we target higher .NET.

/azp run net - core - ci

/azp run net - core - ci

/azp run net - core - ci

/azp run net - core - ci


plasmusic-toolbar: 1.3.0 -> 1.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ccatterina/plasmusic-toolbar/releases.
meta.description for plasmusic-toolbar is: KDE Plasma widget that shows currently playing song information and provide playback controls.
meta.homepage for plasmusic-toolbar is: https://github.com/ccatterina/plasmusic-toolbar
meta.changelog for plasmusic-toolbar is: https://github.com/ccatterina/plasmusic-toolbar/releases/tag/v1.4.0
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.0 with grep in /nix/store/kgvls5ydq5mf5zqrrrvjhq3vq3ddv67d-plasmusic-toolbar-1.4.0
found 1.4.0 in filename of file in /nix/store/kgvls5ydq5mf5zqrrrvjhq3vq3ddv67d-plasmusic-toolbar-1.4.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

plasmusic-toolbar

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kgvls5ydq5mf5zqrrrvjhq3vq3ddv67d-plasmusic-toolbar-1.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A plasmusic-toolbar https://github.com/r-ryantm/nixpkgs/archive/63a6c2d95b866d7f0349dba35f3f46632d7ab497.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/63a6c2d95b866d7f0349dba35f3f46632d7ab497#plasmusic-toolbar

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kgvls5ydq5mf5zqrrrvjhq3vq3ddv67d-plasmusic-toolbar-1.4.0
ls -la /nix/store/kgvls5ydq5mf5zqrrrvjhq3vq3ddv67d-plasmusic-toolbar-1.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

plasmusic-toolbar

Maintainer pings
cc @HeitorAugustoLN for testing.

@NixOS/nixpkgs-merge-bot merge


Add benmatselby/hugo-deploy-gh-pages

https://github.com/benmatselby/awesome-actions.git
I know this is a duplicate, and I've not added it to the end of the line. I've added it next to the other Hugo site. Happy for this PR to be closed, if you don't want any kind of duplicate.

Yeah, sorry, we don't accept duplicates and also not at the end of the file.


Add requirements.txt plugin

Test page: https://github.com/bndr/pipreqs/blob/1a990b52d5e1d24cd5a2e7673077ff48ae52f9d3/requirements.txt
Fixes https://github.com/OctoLinker/browser-extension/issues/331

Note that this currently doesn't support filenames like dev-requirements.txt, due to the way filename-based detection works.


Wrapping processor/loaders for loading

I was testing changing IDAUSR variable to add directories for plugins/ procs/ loaders/ but it didn't work since IDA cached the list after calling get_ida_subdirs() or etc. I was annoyed since it's not exposed to user, making it impossible to invalidate cache without directly modifying the memory with ctypes. This completely breaks loading of processor/loader since idapkg is loaded after caching the environments.
Wrapping processors/loaders with native .py/.dll solves all of these issue, but needs extra work. e.g. Symbolic linking would not work since it modifies the path. This breaks relative imports.
So my plan is: Writing wrapper function with global constructor, like this.
__attribute__((constructor))
void init() {
  init_processor(); // copies LPH structure from wrapped dll
  init_loader();
  init_plugin();
}

define_wrapper(processor_t, LPH, processor);
define_wrapper(loader_t, LDSC, loader);
define_wrapper(plugin_t, PLUGIN, plugin);

Python wrapper:
import os

filename = '<wrapper path>'
dirname = os.path.dirname(filename)
orig_cwd = os.getcwd()
try:
    os.chdir(dirname)
    execfile(filename, {__file__: filename})
except:
    pass
finally:
    os.chdir(orig_cwd)

Indeed IDAUSR's feature is rich, and I need to implement these:
Not copyable (path-sensitive):
plugins/
procs/
loaders/

Copyable:
ids/
til/
sig/

Personally I don't like copying files, but there's no symlink support without Administrator privileges for Windows, and non-NTFS directories (but possible in NTFS, and w/ admin privilege).
Unless, I can use hardcoded offset for IDA (or use FLIRT for IDA binary?). I'm uploading PoC.

will use IDAUSR for now

Just since I stumbled over this. I think you could use junction points (junction.exe or mklink.exe /j) to link one directory to another existing one. Just like the symbolic links introduced with Vista, they are reparse points under the hood. True junctions only work for directories, but if I haven't misunderstood your use case, that'd be sufficient, no?
As an aside, the installer for "Git for Windows" even has an option to enable SeCreateSymbolicLinkPrivilege for the user who invoked the setup. And while it's true there are some security concerns regarding symbolic links, most people using IDA are probably well versed in admin matters and could judge for themselves.
Maybe it helps. If not, just ignore.
Thanks for idapkg 😉

Hello, actually this project is not maintained anymore, but thanks for the feedback! hardlink and junctions can work in this case, but I chose to copy the contents instead to make things simpler (e.g., I thought deleting junctions in windows is not UX-friendly)


colab / jupyter notebook

It would be great to see a google colab / jupyter notebook of omnimatte

I second this, would be a game changer and solve the problem for people asking to support windows.

It would be very useful to test on custom videos and check for the issues more properly


Create Codes index page.

How would this work? Shows all the unassigned codes? Or will it show all codes with strike through or something like that to show when they were assigned and to whom?

Each code will have an assignment status: Unassigned/Assigned.  The index page will be able to be filtered by assignment status.  Defaulting to 'Unassigned'.  Codes with an 'Assigned' status will display the patient assigned to the code and the assignment date.  'Unassigned' codes will have a blank patient/assignment date.  I don't see the user using this page all that often, but it is necessary to have when they need to look at their 'Code' inventory.

Most of the work will be done by the cron job querying for patients in REDCap without an invitation code, creating a patient locally,  taking an unassigned invitation code from the inventory,  pushing the invitation code to REDCap and marking it as assigned in Helper (my nickname for this application).
If the user want's to manually assign a code, the REDCap project will link to a new code assignment page with this URL /patients/:record_id/code_assignments/new.  If the record_id does not exist (before the Cron job interval), it will call the REDCap API to get patient's details and insert a row into the patients table.
If the record_id exists and the patient already has an invitation code, the page will display the patients current invitation code.  Either way the page will display the patient's details, pull an available 'Unassigned' code and present it to user to save.  If the user saves, the new invitation code will be pushed to REDCap.  In Helper, we will keep track of all the invitation codes ever assigned to a patient and mark the last recently pushed code to REDCap as 'Active' and all others as 'Inactive'.


Hello, world!

Do you plan to further develop this project?
I would like to use it in product development it. Code quality is very high already, but maybe i can improve it. Thanks.

Hi. Yep!


Add ROS2 array ("sequence") support

In response to issue #23.
Unfortunately, get_slot_type in rqt_py_common is now out-of-date, as it doesn't handle sequence types. This PR by-passes that function to allow rqt_publisher to publish array-like messages of type "sequence".
This is done by:

Manually catching sequence types (which are represented as list)
Manually catching all sequence types (which are represented as array.array)
Modifying the eval expression to allow for defining array literals
Finally, since array.array does not have a copy constructor, allow for the passing of the direct evaluation if the type matches.

Note: this has only been tested on my personal setup with sensor_msgs/msg/JointState, as I am unsure of a better testing suite.

Wanted to bump @gbiggs
We've been using our own copy of this repo for months now to publish arrays, wanted to see if you want this upstream merge (happy to put in cycles to fix it if needed) to help others with #23

Little bump for @gbiggs @egordon
It seems that this problem is already solved with https://github.com/ros-visualization/rqt_publisher/pull/33 but this is for Rolling. To use it on Humble, one has to build this plugin from source.


Remove gob encoding support

After https://github.com/weaveworks/scope/pull/916  the probe<->app communication is done in msgpack but the plan is to leave gob around until at least 0.14 for backwards compatibility.
See https://github.com/weaveworks/scope/pull/916#discussion_r52733650

This may already be fixed, but there still might be some traces of gob encoding in the code.


Openssl3 support

Checklist

[ ] Change is covered by automated tests
[ ] Benchmark results are attached (if applicable)
[ ] The coding guidelines are followed
[ ] Public API has proper documentation
[ ] Example projects and code samples are up-to-date (in case of API changes)
[ ] Changelog is updated (in case of notable or breaking changes)

coverage: 83.242% (-0.09%) from 83.336% when pulling 91224ceaed779592aeaf868d134c117730eb61eb on openssl3-support into 0bd5aac3683a4879402412ee46cd1c186e8eb647 on master.


Added notcontains handlebars helper

This adds the not contains helper for the handlebars template.  As a result, I can now do the following:
{{#each releases}}

  # [{{title}}[({{href}}) - {{niceDate}}

  {{#each commits}}
    {{#notcontains subject 'Merge branch '}}
      - [{{subject}}]({{href}})
    {{/notcontains}}
  {{/each}}
{{/each}}

I think this should be default behaviour for all changelogs. How about we filter it out of releases in filterCommit here?
Also keep in mind this project uses standard code style.

@CookPete sounds good. Thanks for getting that in so quick!


[Question] Escaping {% and %}

Insomnia Version: 6.5.4
Operating System: Windows 10 v1903

Details
I'm debugging a web service that stores URL-encoded JSON in one of its cookies. Yes I know that's awful, but that's Parse.ly's decision, not mine.
The problem is now I have a cookie that looks like this:
_parsely_visitor={%22id%22:%22pid=70617273656c79207375636b73%22%2C%22session_count%22:244%2C%22last_session_ts%22:1559156958078}

and that {% trips up Insomnia's template engine.
unknown block tag: 22id

I've tried wrapping the cookie string with {% raw %} and {% endraw %} but this seems to have no effect.

Hmm, this is a tricky one. The reason the raw/endraw tags don't work is probably because Insomnia may render parts of the request multiple times depending on what it's doing. So, the first render will remove the raw/endraw tags and the next render will render what they used to surround.
Unfortunately there's no workaround for this that I can think of at the moment but maybe we could add a setting (global or per-request) to disable rendering of cookies. We already have a per-request setting to disable rendering of request bodies in for similar reasons.

Dang, didn't mean to let this close. I would really appreciate a per-request or per-workspace option to disable rendering cookies.

Hi, I recently ran into this issue with a cookie being set in Insomnia by a site I'm testing requests against that contains URL-encoded JSON as well. I have to delete the cookie between every request, otherwise the next one fails with the "failed to render Request.cookies[2].valuie prior to sending" error.
Perhaps Insomnia could at least be set to not try to to render cookies that weren't set by the user with template strings. I don't think there's any reason to expect cookies set by a site would want to be using template variables set explicitly in Insomnia

Wanted to bump this one up - constantly running into this issue myself.

Got the same, wanted to test why request is failing, but getting this problem constantly

I had a similar issue when trying to send %}xyz in a field in the JSON body, and followed the advice in this reply  Insomnia Issue #3119 to skip rendering of the request body, which seemed to solve this issue. The setting is found in the individual request settings.


Adds support for bigiq tokens that have different fields

Issues:
Fixes #127
Problem:
The bigiq tokens do not include an expiration micros field so it
needs to be calculated from the last-update micros
Analysis:
This patch adds those changes and refactors the methods to be
smaller and more easily tested.
Tests:

@pjbreaux this needs to go in asap to support bigiq.

and gruber needs this patch for a thing he's working on for openstack


Improved options handling, test app

I've added a number of small improvements and fixes to the library and test script. I recommend reviewing each commit to see what's changed.

Updated internal options handling to be a little simpler and better handle errors.

Object.assign() is now used to set default values instead of manually checking each one (see opFormatter() function).
Added the internal property vibrancyOp.colors when parsing options. This is intended to help pre-calculate colors for events like blur/focus.

Added an option for debug console output: { debug: true }
Increased maximumRefreshRate to 1000. At 60, it would always cap movement speed by default.
Fixed {effect: "acrylic"} setting the wrong blur type. It was applying the W7-style blur instead of true W10 acrylic.
Fixed a bug where the incorrect colors may be used when toggling blur on/off.
Updated Electron to 10.1.1 to fix the 4k maximized screen bug in the test app.
Updated the test app to be more useful in testing colors. I also added 1px border to max the white line that shows up on non-transparent BrowserWindows at high DPIs.

Thank you for your contribution!


Add Keyboard Navigation and Spacebar to Pause Stories

Feature Request: Add Keyboard Navigation and Spacebar to Pause Photos
Description: I would like to propose a feature where users can navigate through stories using the keyboard. This would improve accessibility and provide a smoother experience, especially for users who prefer keyboard shortcuts. Additionally, the spacebar should be used to pause/resume the display of photos in the stories.
Proposed Solution:
Arrow Keys (Left/Right):
Left Arrow: Move to the previous story/photo.
Right Arrow: Move to the next story/photo.
Spacebar:
Spacebar should pause the current photo when pressed and resume it if pressed again.
Benefits:
Accessibility: Keyboard navigation will make the website more accessible for users who can't or prefer not to use a mouse.
User Experience: Pausing photos with the spacebar provides better control over how long users can view a particular story or image.
Considerations:
Implement key event listeners to detect arrow keys and spacebar presses.
Ensure compatibility with other site functions and that these keypresses don’t conflict with existing features.
I would like to work on this issue !

Hello @SiddhanthKapoor ,
Thanks for opening this issue, i've assigned this issue to you, let me know if you face any challenges around the same.
Happy coding !!

This issue has been solved and merged pull request #50


[now dev] Redirect when request has multiple slashes

Closes #2642.

Still needs HTML and JSON representations for the response body:
$ curl https://n8.io// --header "Accept: application/json"
{"redirect": "/", "code": ""}

$ curl https://n8.io// --header "Accept: text/html"
<!doctype html>

Redirecting (301)

/

Only GET requests are redirected. Other types of requests are normalized without redirecting

Codecov Report

Merging #2645 into canary will decrease coverage by 0.01%.
The diff coverage is 33.33%.

@@            Coverage Diff            @@
##           canary   #2645      +/-   ##
=========================================
- Coverage    8.14%   8.13%   -0.02%
=========================================
  Files         259     259
  Lines        9430    9443      +13
  Branches     1072    1076       +4
=========================================
  Hits          768     768
- Misses       8613    8626      +13
  Partials       49      49

Impacted Files
Coverage Δ

src/util/dev/server.ts
11% <33.33%> (-0.25%)
:arrow_down:

Continue to review full report at Codecov.

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


loadTemplate() on null

return $this->render('/Sofien/sofien', array('name' => $sof));
i get this error : Call to a member function loadTemplate() on null
how to fix ?

Hey,
I have a same problem.
Cakephp v3.5.1
Twig-view v4.3
Thank's for your support

Hey @WyriHaximus,
I solved my problem. I had elect to call the parent in the initialization of the AppView.
Sorry for the inconvenience and thank you

:+1:


remove s3 trigger to plugins lambda to prevent abuse

For safety, we are dropping s3 trigger to aws lambda to avoid potential abuse to trigger massive lambdas

renamed the branch into #585


'az network bastion tunnel' crashes with "cannot import name 'WinDLL' on MacOS

Describe the bug
When trying to connect to VM through bastion with Microsoft Remote Desktop on MacOS, It errors to WinDLL can't be loaded so RDP connection does not work.
Issue #26298 seems to be similar, but does not have solution.
Related command
az network bastion rdp --name bastion-prod --resource-group prod --target-resource-id 1-prod
Errors
Command group 'az network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
The command failed with an unexpected error. Here is the traceback:
cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>Traceback (most recent call last):
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/Users/juho.vatanen/.azure/cliextensions/bastion/azext_bastion/custom.py", line 232, in rdp_bastion_host
from ._process_helper import launch_and_wait
File "/Users/juho.vatanen/.azure/cliextensions/bastion/azext_bastion/_process_helper.py", line 9, in
from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer
ImportError: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>Issue script & Debug output
cli.knack.cli: Command arguments: ['network', 'bastion', 'rdp', '--name', 'bastion-prod', '--resource-group', 'prod', '--target-resource-id', '1-prod', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x101c31c60>, <function OutputProducer.on_global_arguments at 0x101cbe9e0>, <function CLIQuery.on_global_arguments at 0x101d2fe20>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'network': ['azure.cli.command_modules.network', 'azure.cli.command_modules.privatedns', 'azext_bastion']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: network                   6.098       112       348
cli.azure.cli.core: privatedns                0.028        14        66
cli.azure.cli.core: Total (2)                 6.126       126       414
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: bastion                   0.070         2         9  /Users/juho/.azure/cliextensions/bastion
cli.azure.cli.core: Total (1)                 0.070         2         9
cli.azure.cli.core: Loaded 126 groups, 423 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : network bastion rdp
cli.azure.cli.core: Command table: network bastion rdp
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x102720ca0>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/Users/juho/.azure/commands/2023-05-31.14-54-21.network_bastion_rdp.904.log'.
az_command_data_logger: command args: network bastion rdp --name {} --resource-group {} --target-resource-id {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x102749630>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x10276f2e0>, <function register_cache_arguments..add_cache_arguments at 0x10276f400>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x101cbea70>, <function CLIQuery.handle_query_parameter at 0x101d2feb0>, <function register_ids_argument..parse_ids_arguments at 0x10276f370>]
az_command_data_logger: extension name: bastion
az_command_data_logger: extension version: 0.2.4
Command group 'az network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/Users/juho/.azure/cliextensions/bastion/azext_bastion/custom.py", line 232, in rdp_bastion_host
from ._process_helper import launch_and_wait
File "/Users/juho/.azure/cliextensions/bastion/azext_bastion/_process_helper.py", line 9, in
from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer
ImportError: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback:
az_command_data_logger: The command failed with an unexpected error. Here is the traceback:
cli.azure.cli.core.azclierror: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>Traceback (most recent call last):
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/Users/juho/.azure/cliextensions/bastion/azext_bastion/custom.py", line 232, in rdp_bastion_host
from ._process_helper import launch_and_wait
File "/Users/juho/.azure/cliextensions/bastion/azext_bastion/_process_helper.py", line 9, in
from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer
ImportError: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>az_command_data_logger: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>Traceback (most recent call last):
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/Users/juho/.azure/cliextensions/bastion/azext_bastion/custom.py", line 232, in rdp_bastion_host
from ._process_helper import launch_and_wait
File "/Users/juho/.azure/cliextensions/bastion/azext_bastion/_process_helper.py", line 9, in
from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer
ImportError: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>Expected behavior
Connects native RDP (Microsoft Remote Desktop) to Windows VM.
This command works without issues on windows PC.
Environment Summary
azure-cli                         2.49.0
core                              2.49.0
telemetry                          1.0.8
Extensions:
bastion                            0.2.4
Dependencies:
msal                              1.20.0
azure-mgmt-resource               22.0.0
Python location '/opt/homebrew/Cellar/azure-cli/2.49.0/libexec/bin/python'
Extensions directory '/Users/juho/.azure/cliextensions'
Python (Darwin) 3.10.11 (main, Apr  7 2023, 07:24:53) [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

@SolidJuho Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@SolidJuho With MACOS, we don’t support RDP. Please use tunnel instead.

az network bastion tunnel --name MyBastionHost --resource-group MyResourceGroup --target-resource-id vmResourceId --resource-port 22 --port 50022

Then you will be able to use any RDP application. More Info here.

@SolidJuho I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you have any follow-up questions. Awaiting your reply.

@SolidJuho The action is currently pending on you to try the above suggestion to use tunnel. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


How do I track events with multiple parameters and not just the 4 that are available in sendEventwithCategory method?

I just need to capture some context with the event name and category.

Hello @akshaykolte
you will need support for Custom Dimensions: https://piwik.org/docs/custom-dimensions/
At the moment though we are looking for a maintainer for the iOS SDK #91 for Custom Dimensions support to be added #82

Hello Matthieu,
Thanks for the reply. We are currently adding extra fileds using Custom
Variables which are supported in the iOS SDK.
We have changed the number of custom variables from 5 to 10 on Piwik Server
Side Code.
However the custom variable key-value pair have a maximum length of 200
allowed.
Can you help us with changing this limit from 200 to something larger ? We
tried altering the column size of the tables on server-side but that
doesn't seem to help. Our string gets truncated to 200 chars.
Thanks,
Akshay Kolte
On Tue, Sep 27, 2016 at 2:29 AM, Matthieu Aubry<EMAIL_ADDRESS>wrote:

Hello @akshaykolte https://github.com/akshaykolte
you will need support for Custom Dimensions:
https://piwik.org/docs/custom-dimensions/
At the moment though we are looking for a maintainer for the iOS SDK #91
https://github.com/piwik/piwik-sdk-ios/issues/91 for Custom Dimensions
support to be added #82 https://github.com/piwik/piwik-sdk-ios/issues/82
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/piwik/piwik-sdk-ios/issues/94#issuecomment-249695721,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGg5MzFlftDqBn-eUzgHVpeR0_RQDYr0ks5quDIWgaJpZM4KC4P6
.


Visually align icon

Paper plane icon is visually skewed left, so move it over one pixel

Sorry to remind you :(


GpuFilterExec report gpuOpTime instead of totalTime

Signed-off-by: Andy Grove<EMAIL_ADDRESS>See #2334 for the motivation for this. This issue is to update GpuFilterExec to report its current metric as gpuOpTime instead of totalTime, since the current metric is purely the cost of applying the filter on the GPU and does not include any costs of executing or fetching data from child operators.
Closes https://github.com/NVIDIA/spark-rapids/issues/2465

Closing this and applying changes to https://github.com/NVIDIA/spark-rapids/pull/2462


[20.09] openjpeg_1: drop

Motivation for this change
backport of https://github.com/NixOS/nixpkgs/pull/110706
~Should we actually remove openjpeg_1?~ It is being removed since it has open vulnerabilities.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Should we actually remove openjpeg_1?

I think we should. It shouldn't be used anymore and keeping it around opens up for accidental use.

Should we actually remove openjpeg_1?

I think we should. It shouldn't be used anymore and keeping it around opens up for accidental use.

Result of nixpkgs-review pr 110759 run on x86_64-linux 1

3 packages built:

calligra
gmic-qt-krita
krita

Result of nixpkgs-review pr 110759 run on x86_64-linux 1

3 packages built:

calligra
gmic-qt-krita
krita


Xing new hanging

Hi, I'm going through your gitbook and my terminal is hanging at xing new crowdfundr
Here is the output, it will just stop and hang:
xing new crowdfundr
nAdd a Code of Conduct? (Contributor Covenant) [Y/n] n
cp -a /Users/stevenmagelowitz/.rvm/gems/ruby-2.2.0-preview1/gems/xing-framework-1.0.0.pre.beta/default_configuration/base_app crowdfundr => 0

Copying database.yml to database.yml succeeded.
Copying database.yml.example to database.yml.example succeeded.
Copying database.yml.ci to database.yml.ci succeeded.
Copying secrets.yml to secrets.yml succeeded.
Copying secrets.yml.example to secrets.yml.example succeeded.
Copying secrets.yml.ci to secrets.yml.ci succeeded.
Copying gitignore to .gitignore succeeded.
Copying gitignore to .gitignore succeeded.
Copying gitignore to .gitignore succeeded.
Copying gitattributes to .gitattributes succeeded.
Copying gitattributes to .gitattributes succeeded.
Copying gitattributes to .gitattributes succeeded.
Copying README.md to README.md succeeded.
Copying CONTRIBUTING.md to CONTRIBUTING.md succeeded.
Copying CHANGELOG.md to CHANGELOG.md succeeded.
. /Users/stevenmagelowitz/.rvm/gems/ruby-2.2.0-preview1/gems/xing-framework-1.0.0.pre.beta/bin/xing-rvm-setup-env 2.2.0 && cd crowdfundr && bundle install
Long running command output:

Using rake 10.5.0
Using caliph 0.3.1
Using calibrate 0.0.1
Using i18n 0.7.0
Using net-ssh 3.0.2
Using chunky_png 1.3.4
Using multi_json 1.11.0
Using sass 3.4.14
Using rb-fsevent 0.9.5
Using ffi 1.9.8
Using tilt 2.0.2
Using valise 1.2.1
Using rack 1.6.4
Using bundler 1.11.2
Using edict 0.0.1
Using net-scp 1.2.1
Using compass-core 1.0.3
Using compass-import-once 1.0.5
Using rb-inotify 0.9.5
Using mattock 0.10.1
Using sshkit 1.8.1
Using compass 1.0.3
Using xing-root 1.0.0.pre.beta
Using capistrano 3.4.0
Using capistrano-passenger 0.2.0
Bundle complete! 5 Gemfile dependencies, 25 gems now installed.
Use bundle show [gemname] to see where a bundled gem is installed.
=> 0
. /Users/stevenmagelowitz/.rvm/gems/ruby-2.2.0-preview1/gems/xing-framework-1.0.0.pre.beta/bin/xing-rvm-setup-env 2.2.0 && cd crowdfundr/frontend && bundle install && npm install
Long running command output:
Using chunky_png 1.3.1
Using multi_json 1.10.1
Using sass 3.4.3
Using rb-fsevent 0.9.4
Using ffi 1.9.3
Using rack 1.5.2
Using bundler 1.11.2
Using compass-core 1.0.1
Using compass-import-once 1.0.5
Using rb-inotify 0.9.5
Using compass 1.0.1
Bundle complete! 3 Gemfile dependencies, 11 gems now installed.
Use bundle show [gemname] to see where a bundled gem is installed.

stevepm, were you able to resolve this?

Yup, it ended up just taking a very long time (approximately 6 minutes).


Speed up autochallenge

A common strat used for C15 involves 0/0/0 autochallenge to build up Obtainum. A recent PR (#64) slowed this down a bit, so this PR makes autochallenges use the fast path of reset() to avoid this slowdown.

If this is specifically for 0/0/0 obtainium, then why do c1-5 and c11+ need to use the fast path? IIRC the 0/0/0 autochallenge obt grind turned off c1-5 from being automatically started, so that auto-challenge didn't waste ticks on challenges that didn't generate Obtainium.
Admittedly, there's no reason why Transcends/Transcend challenged would need to revealStuff or updateChallengeDisplay, and I don't think Ascend challenges can even by started by autochallenge, so it's a moot point really.

@PotatoArt All "auto" resets (auto prestige, auto transcension, auto ascension) already use the fast path, so I assume the fast path is intended for all resets not controlled by the user. Khafra / Platonic might know more though.
@KhafraDev Ping - this change is ready to be reviewed.

Needs a little more testing before I merge.

I don't believe this is safe to merge in - applying the same "optimisation" to exiting challenges causes graphical errors.
Closing this PR - feel free to reopen if you think this is safe.


table component demo is broken

hi,
https://material-ui-next.com/demos/tables/#tables
The Sorting & Selecting table component demo has a problem, when i click the "filter list" button nothing happens.

@NickToye Feel free to share the implementation if you work on it. This can help others.

Has anyone come up with an implementation for this?


OCD Spider: Cook County Board of Comissioners

Step 1: To access the data, guess the name of the client here: http://webapi.legistar.com/
The name of the client is not:
cookcounty
cook-county
cookcountyil
cookcountygov
cookcountygovil
cookcountyilgov

I emailed the webmaster last week asking if their data is public, but no response yet.

Time for some FOIA action?

Only a very few legistar sites have their data exposed through the API. Cook County is not one of them.
I don't think A FOIA will help you since they publish the data here: https://cook-county.legistar.com/Calendar.aspx


DEV2-2244 onprem

--DO NOT MERGE YET--
Im testing a GA build from this branch, and the status bar doesn't work.
We need to have two separate implementations for the status bar widget.


Failed to decode server's CA:

Hi,
when trying to run the k6 script. I get the below error.
ERRO[0000] GoError: Failed to decode server's CA: /Users/arpita.sood/Documents/k6-code/src/resources/srkeystore.jks, OriginalError: %!w(*errors.errorString=&{entry not found})
at github.com/mostafa/xk6-kafka.(*Kafka).loadJKSFunction-fm (native)
at file:///Users/arpita.sood/Documents/k6-code/src/scripts/dev-test-script.js:17:20(25)  hint="script exception"

Hey @arpitaso,
Can you give me a sample of the script, specifically the TLS configs. Please remove sensitive information before posting.

hi @mostafa
/*

This script shows how to load certificates and keys from
a JKS keystore, so that they can be used in a configuring TLS.
This is just a showcase, and not a complete script.
The keystore MUST be created with JKS storetype.

⚠ The PKCS#12 format is not supported.
*/

import { LoadJKS, TLS_1_2 } from "k6/x/kafka";
// If server and client keystore are separate, then you must
// call LoadJKS twice, once for each keystore.
// This will load the certificates and keys from the keystore
// and write them to the disk, so that they can be used in
// the TLS configuration.
const jks = LoadJKS({
path: "./kaflafiles/kafka-keystore.jks",
password: "--------"
});
const tlsConfig = {
enableTls: true,
insecureSkipTlsVerify: false,
minVersion: TLS_1_2,
// The certificates and keys can be loaded from a JKS keystore:
// clientCertsPem is an array of PEM-encoded certificates, and the filenames
// will be named "client-cert-0.pem", "client-cert-1.pem", etc.
// clientKeyPem is the PEM-encoded private key and the filename will be
// named "client-key.pem".
// serverCaPem is the PEM-encoded CA certificate and the filename will be
// named "server-ca.pem".
clientCertPem: jks["clientCertsPem"][0], // The first certificate in the chain
clientKeyPem: jks["clientKeyPem"],
serverCaPem: jks["serverCaPem"],
};
export default function () {
console.log(Object.keys(jks));
console.log(jks);
console.log(tlsConfig);
}

@arpitaso
The key aliases are important, and must be set, otherwise it will be an empty string and won't match anything inside the keystore you passed:
const jks = LoadJKS({
  path: "fixtures/kafka-keystore.jks",
  password: "password",
  clientCertAlias: "localhost",
  clientKeyAlias: "localhost",
  clientKeyPassword: "password",
  serverCaAlias: "caroot",
});

If you are not sure about the key aliases, I recommend using the keystore explorer tool to open your JKS file and see the filename, aka. aliases.

@mostafa
clientCertAlias: "localhost",
clientKeyAlias: "localhost",
clientKeyPassword: "password",
serverCaAlias: "caroot",

can you please elaborate the meaning of the above keys, so that i can pass the desired values to the above keys.
do i have to check the keystore.jks file only to enter the above values?

@mostafa
my keystore file looks like this
and my trustore file looks like this.
i see that the keystore.jks does not have a "trusted certificate entry" and the "trusted certificate entry" is available in truststore.jks.
PFA attached ss of how both the files look
do i have to explicitly add "trusted certificate entry" in keystore.jks to establish ssl connection?

The Entry Name of the certificate and key is the alias I am referring to. If the server certificate is in a separate file, you have to use LoadJKS twice with different files to extract both.

@mostafa
Below is my js script
/*
 * This script shows how to load certificates and keys from
 * a JKS keystore, so that they can be used in a configuring TLS.
 * This is just a showcase, and not a complete script.
 * The keystore MUST be created with JKS storetype.
 *
 * ⚠ The PKCS#12 format is not supported.
 */

import { LoadJKS, TLS_1_2 } from "k6/x/kafka";

// If server and client keystore are separate, then you must
// call LoadJKS twice, once for each keystore.
// This will load the certificates and keys from the keystore
// and write them to the disk, so that they can be used in
// the TLS configuration.
const jks = LoadJKS({
  path: "/Users/arpita.sood/Documents/k6-code/src/resources/srkeystore.jks",
  password: "nxs9a08DskoOpas2d34lwEs",
  clientCertAlias: "retina-kafka",
  clientKeyAlias: "retina-kafka",
  clientKeyPassword: "nxs9a08DskoOpas2d34lwEs",
  serverCaAlias: "rootca",
});

 jks = LoadJKS({
  path: "/Users/arpita.sood/Documents/k6-code/src/resources/truststore.jks",
  password: "nxs9a08DskoOpas2d34lwEs",
  clientCertAlias: "retina-kafka",
  clientKeyAlias: "retina-kafka",
  clientKeyPassword: "nxs9a08DskoOpas2d34lwEs",
  serverCaAlias: "rootca",
});

//const jks1 = LoadJKS({
//  path: "/Users/arpita.sood/Documents/k6-code/src/resources/truststore.jks",
//  password: "nxs9a08DskoOpas2d34lwEs",
////  clientCertAlias: "retina-kafka",
////  clientKeyAlias: "retina-kafka",
////  clientKeyPassword: "nxs9a08DskoOpas2d34lwEs",
//  serverCaAlias: "rootca",
//});

const tlsConfig = {
  enableTls: true,
  insecureSkipTlsVerify: false,
  minVersion: TLS_1_2,

  // The certificates and keys can be loaded from a JKS keystore:
  // clientCertsPem is an array of PEM-encoded certificates, and the filenames
  // will be named "client-cert-0.pem", "client-cert-1.pem", etc.
  // clientKeyPem is the PEM-encoded private key and the filename will be
  // named "client-key.pem".
  // serverCaPem is the PEM-encoded CA certificate and the filename will be
  // named "server-ca.pem".
  clientCertPem: jks["clientCertsPem"][0], // The first certificate in the chain
  clientKeyPem: jks["clientKeyPem"],
  serverCaPem: jks["serverCaPem"],

//
//    clientCertPem: jks1["clientCertsPem"][0], // The first certificate in the chain
//    clientKeyPem: jks1["clientKeyPem"],
//    serverCaPem: jks1["serverCaPem"],
};

export default function () {
  console.log(Object.keys(jks));
  console.log(jks);
  console.log(tlsConfig);
}

I followed what you said but i still get the below error
ERRO[0000] GoError: Failed to decode server's CA: /Users/arpita.sood/Documents/k6-code/src/resources/srkeystore.jks, OriginalError: %!w(*errors.errorString=&{entry not found})
        at github.com/mostafa/xk6-kafka.(*Kafka).loadJKSFunction-fm (native)
        at file:///Users/arpita.sood/Documents/k6-code/src/scripts/dev-test-script.js:17:20(33)  hint="script exception"

@mostafa  can you please help here.?
Thanks

@arpitaso
You should create two separate objects when calling LoadJKS on multiple files. Don't reuse jks constant.

@mostafa , Hello Mostafa,
I met a similar error
import { LoadJKS, TLS_1_2 } from "k6/x/kafka";

// If server and client keystore are separate, then you must
// call LoadJKS twice, once for each keystore.
// This will load the certificates and keys from the keystore
// and write them to the disk, so that they can be used in
// the TLS configuration.
const jks = LoadJKS({
    path: "../kafka/truststore.jks",
    password: "1234567",
    serverCaAlias: "kafka",
});
const tlsConfig = {
    enableTls: true,
    insecureSkipTlsVerify: false,
    minVersion: TLS_1_2,

};

export default function () {
    console.log(Object.keys(jks));
    console.log(jks);
    console.log(tlsConfig);
}

But we still get the exception
ERRO[0000] GoError: Failed to decode client's private key: ***/user/workspace_k6/risk-k6-test/kafka/truststore_nonprod.jks, OriginalError: %!w(*errors.errorString=&{entry not found})
at github.com/mostafa/xk6-kafka.(*Kafka).loadJKSFunction-fm (native)
at file:///Users/jerry.liu/user/workspace_k6/risk-k6-test/kafka/loadjkstest.js:9:20(27)  hint="script exception"
seems it is caused by that even it is expected to return the jks according to the comments below in the code, it still throws the exception.
// Server CA is loaded, so it will be returned, even though the client key is not loaded.
// This is because one might not have enabled mutual TLS (mTLS).
I raised a PR
https://github.com/mostafa/xk6-kafka/pull/224, could you help to see whether it could help?

@luciowu-airwallex
There is an implementation bug I found that I am going to fix very soon.

@luciowu-airwallex @arpitaso
Please test the changes in #229 and provide feedback.

@mostafa ,  thank you for your fixing. I got the same error with my script in https://github.com/mostafa/xk6-kafka/issues/222#issuecomment-1600612379
ERRO[0000] GoError: Failed to decode client's private key: ./truststore.jks, OriginalError: %!w(*errors.errorString=&{entry not found})
        at github.com/mostafa/xk6-kafka.(*Kafka).loadJKSFunction-fm (native)
        at file:///Users/lucio.wu/code/test/risk-k6-test/kafka_jks.js:8:20(27)  hint="script exception"

I changed the code locally and if I updated the https://github.com/mostafa/xk6-kafka/blob/fix-load-jks-implementation/jks.go#L144C13-L144C13
as the following code, it is fine at my side
if jks == nil && err != nil {
		log.Println("why there is error here")
		common.Throw(runtime, err)
	}

because we don't want to throw an exception if the jks is returned when only server CA is loaded in https://github.com/mostafa/xk6-kafka/blob/fix-load-jks-implementation/jks.go#L84
Could you help double-check it? Thanks

@luciowu-airwallex
I updated that line. Can you please try again?

I'll release a version soon.

@luciowu-airwallex @arpitaso
Released v0.18.2 with the fix.

Thanks! @mostafa


Bind fields to nested properties in forms not working

Package
filament/filament
Package Version
v.2.16.52
Laravel Version
v9.41.0
Livewire Version
v2.10.7
PHP Version
PHP 8.1.11
Problem description
According to doc:
Fields may be created using the static make() method, passing its name. The name of the field should correspond to a property on your Livewire component. You may use Livewire's "dot syntax" to bind fields to nested properties such as arrays and Eloquent models.
When trying to bind a TextField to a nested property of a BelongsTo relationship the field renders empty. On the other hand, if I use this same mechanism in a table column, it is displayed correctly.
Forms\Components\TextInput::make('woffuUser.nombreCompleto'), => empty field
Tables\Columns\TextColumn::make('woffuUser.nombreCompleto')->searchable()->sortable(), => displayer correctly
Expected behavior
Show the value of the nested properties.
Steps to reproduce
Try to bind a nested property to a TextInput. Please see reproduction repository, Filament/Resources/CommentResource.php:29
Reproduction repository
https://github.com/newuni/filament-nested-broken
Relevant log output
No response

To get around the problem, I am temporarily using  mutateFormDataBeforeFill for in my ViewRecord in order to show value properly. Using this I can render value properly.
` protected function mutateFormDataBeforeFill(array $data): array
{
$cliente = Client::find($data['client_id']);
$data['cliente_id'] = $client->name;
    return $data;
}`

Relationships arent loaded into the form data because that causes unintended side effects with casting. Use this instead - https://filamentphp.com/docs/2.x/forms/layout#saving-data-to-relationships

Thanks,
sorry for late reply.


[FEATURE] Alphabetical order of algorithms in README table

Description
Now it is getting difficult to find a specific algorithm from the table ;-)
Expected behavior with the suggested feature
Alphabetically ordered Algorithms table.

Would it be better to order by type?

@yueguoguo type sounds good to me too. So 1. order by type -> then 2. order by 'abc..' within the same type

Fixed in #675


Introduce EVMFungibleAdapter

Introduce EVMFungibleAdapter, equivalent to EVMCurrencyAdapter but for fungible traits. This is in preparation for the deprecation of the Currency Trait and migration to fungible (see https://github.com/paritytech/polkadot-sdk/issues/226).
Similar to FungibleAdapter of pallet_transaction_payment here.

Please merge this to master! @ahmadkaouk
I just find this is a critically broken change for the users of this repo.


Default chef attributes value may lead to accessing nil.

Using "Option 2: Use the chef node object" to pull in chef attributes may lead to code like this:
chef_node['a']['b']['c'] == 'd'

During an inspec check the value of chef_node by default is {} which lead to accessing [] from nil.
Proposed solution: Use a mesh that always returns something accessible by default.

This is caused due to the desription in this readme:
https://github.com/chef-cookbooks/audit/tree/4ca2bc44be58fac1080a9907960934e357a33fda#option-2-use-the-chef-node-object
One solution to this problem may be:
default_attributes = {}
default_attributes.default_proc=->(a,_){a}
chef_node = attribute('chef_node', description: 'Chef Node', default: default_attributes)

It's not pretty at all, but it works.
We could also predefine it somewhere and just call it. Or let inspec get a default for {} which maps this behavior:
chef_node = attribute('chef_node', description: 'Chef Node', type: :hash)

This doesn't feel like an audit cookbook problem, it feels like an InSpec problem. Since we don't support the passing of attributes during a check (and I don't think we should), I wonder if we should consider stubbing out the attribute DSL method during a check to a simple object with a method_missing with splat args (*args) and just return that object back so anything that tries to call methods on it is a bit safer.

@adamleff Fully agreed. Hide the implementation, maybe respect types.... moving this to InSpec.
Leaving this issue open since the description will need a change once we are done so that the default value is not {} anymore. (it should just be removed when the problem is solved in inspec)


Emojis in headings break links

Pretty simple bug 🐞
Steps to reproduce:

Put an emoji on the same line as a heading.
Run doctoc on it.
Notice that the generated link does not work.

wow, I have no idea what to do about that.
Could you tell me what the generated link should look like?
If so please refile this issue in anchor-markdown-header and we can try to fix it there.

I tried it, and apparently it just leaves it out, but with a dash.
So I actually tried it out with a heading like this:
# Modules 📦

And the Markdown required is:
- [Modules](#modules-)

You can see it here: https://github.com/adrianmcli/next-boilerplate/blob/master/README.md
I will cross-post to anchor-markdown-header.

Continued in https://github.com/thlorenz/anchor-markdown-header/issues/36


'c' (Unicode character) format for f-strings

I found this missing while implementing https://github.com/cython/cython/pull/6144/commits/317d1c6ca017462e266d645c2fcef6fde5c03212


Changes by npm install --package-lock-only aren't getting automatically added

Description
I'm attempting to have lint-staged ensure that, if only some changes to package.json are staged, then only the correct/corresponding lockfile is committed.
To do so, I'm adding npm install --package-lock-only as a task:
"package.json": () => "npm install --package-lock-only"

Unfortunately, unlike my other linting tasks, although this produces changes in the worktree, those changes aren't getting automatically staged with git add.
Steps to reproduce

Add the following to .lintstagedrc.cjs:
"package.json": () => "npm install --package-lock-only --ignore-scripts"

Add some changes-to-be-staged to package.json:
npm install --save-dev chai
git add package.json

Add some changes-not-staged to package.json
npm install --save indent

Verify that there are both staged changes to package.json, and unstaged changes to both package.json and package-lock.json

Invoke lint-staged

Observe that the state from step 4 hasn't changed: there are no staged changes to package-lock.json.

Debug Logs

expand to view
$ lint-staged -p false --verbose --debug
Running lint-staged with the following config:
{
  '*': 'prettier --ignore-unknown --write',
  'package.json': () => [
      "npm install --package-lock-only --ignore-scripts --no-fund --no-audit --loglevel error",
      "git add package-lock.json",
   ],
  '*.{ts,js,mjs,cjs}': async (files) => {
      const filesToLint = await removeIgnoredFiles(files)
      return [`eslint --cache --max-warnings=0 ${filesToLint}`]
   },
  '*.ts': () => [
      "tsc -p tsconfig.json --noEmit",
      "typedoc --logLevel Warn",
      `git add "${docsDir}/assets" "${docsDir}/"*.html`,
   ],
  '{Source,Test}/*.{ts,js,mjs,cjs,coffee}': () =>
      "cross-env PRE_COMMIT=true npm --loglevel=silent run test",
  'Scripts/**/*.sh': 'shellcheck'
}
[STARTED] Preparing...
[SUCCESS] Preparing...
[STARTED] Hiding unstaged changes to partially staged files...
[SUCCESS] Hiding unstaged changes to partially staged files...
[STARTED] Running tasks...
[STARTED] Running tasks for *
[STARTED] prettier --ignore-unknown --write
[SUCCESS] prettier --ignore-unknown --write
[SUCCESS] Running tasks for *
[STARTED] Running tasks for package.json
[STARTED] npm install --package-lock-only --ignore-scripts --no-fund --no-audit --loglevel error
[SUCCESS] npm install --package-lock-only --ignore-scripts --no-fund --no-audit --loglevel error
[STARTED] git add package-lock.json
[SUCCESS] git add package-lock.json
[SUCCESS] Running tasks for package.json
[STARTED] Running tasks for *.{ts,js,mjs,cjs}
[STARTED] eslint --cache --max-warnings=0 /Users/ec/Sync/Code/Paws/Paws.js/.eslintrc.cjs
[SUCCESS] eslint --cache --max-warnings=0 /Users/ec/Sync/Code/Paws/Paws.js/.eslintrc.cjs
[SUCCESS] Running tasks for *.{ts,js,mjs,cjs}
[STARTED] Running tasks for *.ts
[SKIPPED] No staged files match *.ts
[STARTED] Running tasks for {Source,Test}/*.{ts,js,mjs,cjs,coffee}
[SKIPPED] No staged files match {Source,Test}/*.{ts,js,mjs,cjs,coffee}
[STARTED] Running tasks for Scripts/**/*.sh
[STARTED] shellcheck
[SUCCESS] shellcheck
[SUCCESS] Running tasks for Scripts/**/*.sh
[SUCCESS] Running tasks...
[STARTED] Applying modifications...
[SUCCESS] Applying modifications...
[STARTED] Restoring unstaged changes to partially staged files...
[SUCCESS] Restoring unstaged changes to partially staged files...
[STARTED] Cleaning up...
[SUCCESS] Cleaning up...

ℹ prettier --ignore-unknown --write:
.eslintrc.cjs 31ms
Test/tsconfig.json 3ms
tsconfig.json 5ms

ℹ npm install --package-lock-only --ignore-scripts --no-fund --no-audit --loglevel error:

up to date in 563ms

Environment

OS: macOS Big Sur 11.5.2
Node.js: v12.16.0
lint-staged: 11.1.2

Additional details
I originally thought I could work around this with git add,
"package.json": () => [
   "npm install --package-lock-only",
   "git add package-lock.json",
]

... but now I'm even more confused about how staging/cleaning-up works in lint-staged; because the above stages the changes to package-lock.json, and then doesn't restore it to the stashed state? How can that even fail, without a merge conflict!?

I think I am hitting the exact same situation. It has nothing to do with package-lock.json, or anything specific to your situation. I'm going to open a new ticket and reference this one. :)

@ELLIOTTCABLE - have you found any work-around? It's been three months! :(

@ELLIOTTCABLE - if all your lint-staged tasks pass, do you notice that the file has been changed?
I noticed in the readme, by default, all task modifications are reverted if there is an error.
I'd like to keep all task modifications if there is an error.

Stash is allegedly only your staged changes?

But regardless, when stuff is being restored, it runs git reset --hard HEAD....

So what I'm going to do, is stash the changes myself... I'll then pop the stash at the end. There may be merge conflicts, but tough luck, your editor should be formatting and running eslint autofix for you. And, personally, I'd rather resolve any merge conflicts early and often, Then hopefully the next stash+pop-stash doesn't result in a merge conflict.

here's my work-around... there could be a bug or some further tweaks. I'll try to come back and update this comment if there's any really important or crucial issues I find with this:
# index is the "staging area", so --keep-index means that anything you have already staged will be un-touched.
# This creates a stash even if working tree is clean
git stash --keep-index --include-untracked --message="pre-commit auto-stash"
stashedFileStat=$(git stash show --include-untracked stash@{0})
[[ $stashedFileStat ]] && {
  echo "Stashed:"
  git stash show --include-untracked stash@{0}
}

export DEBUG="lint-staged*"
export HUSKY_DEBUG="1"
# Preserve changes in case a task fails:
#  --no-stash: By default a backup stash will be created before running the tasks,
#  and all task modifications will be reverted in case of an error. (Ideally they are not reverted)
#  This option will disable creating the stash, and instead leave all modifications
#  in the index when aborting the commit.
yarn lint-staged --no-stash --concurrent $pre_commit_concurrency --shell "/bin/bash"

# new snapshots can appear. use --intent-to-add so that
# they appear in the diff below.
git add --intent-to-add "**/*.snap"
diff=$(git diff)
[[ $diff ]] && {
  echo "staging modifications from pre-commit scripts:"
  git diff
  git add .
}

echo "restoring stash..."
git stash pop

I believe we only automatically add changes to files that were originally staged. If there are side-effects to other files (eg. creating an entirely new file), those will not be added. Maybe this needs to be documented more clearly in the README:
https://github.com/okonet/lint-staged/blob/e7b6412fb128f314346e28329c17a676cf691135/lib/gitWorkflow.js#L255-L261

The readme section on --no-stash
was pretty clear to me - I'd like to always keep task modifications no matter what - but based on docs and my own observations - latest V12 reverts all modifications if there's any failures

@devinrhode2 please do not talk about unrelated stuff in this issue. Reopen the other one if you think it's not a duplicate of this.

I know there can race conditions around git add, which can be problematic.
However, I think it would be nice to be able to call git add in user land.
@iiroj - will it ever make sense for lint-staged to work well with user code making targetted git add ... calls?

I had this issue but updating to 12.1.3 resolves it for me.

Exactly what issue was solved, what node version, os version?

Using 12.0.2, node 14.18.1 and macOS 11.6 when the pre-commit hook triggered and prettier . --write made changes, those changes would not be added to the commit (via git add). When I updated to 12.1.3 and I followed the same steps, the files would commit.
I can probably run some more specific tests if you have some suggestions you want feedback on.
"husky": {
        "hooks": {
            "pre-commit": "lint-staged"
        }
    },
    "lint-staged": {
        "*.{js,yml,jsx,ts}": [
            "npm run lint-fix",
            "npm run prettier-fix"
        ]
    }

I wonder if you would have the issue with husky v7. Care to try upgrading? It's super easy, docs are great

I was on husky 7.0.4 before and after actually.
Not sure it helps, but for completeness, I also upgraded prettier (2.4.1 -> 2.5.1) and ESLint (8.2.0 -> 8.5.0).

Same issue here.
Fixed files are not being added to stage automatically.
    "husky": "^7.0.4",
    "lint-staged": "^12.1.5",


/build/rrev-manifest.json): failed to open stream

I am getting the below when i logged in..How to fix it
file_get_contents(/Users/Ajay/htdocs/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /Users/Ajay/htdocs/koel/resources/views/index.blade.php)

You missed running npm install. This process generates the rev-manifest.json file.

Thanks..

Thanks guys.

npm install

it's not working for me


header_filter and body_filter handlers are not supported

header_filter and body_filter handlers do not work because they are not supported in https://github.com/Kong/kong-python-pdk/blob/master/kong_pdk/module.py#L31. If it is required to do post-processing of headers, it's only possible with response header, but the thing is that it's going to active buffering automatically which is not really required as long as you just need to update headers. It would be really nice to add support for header_filter and body_filter.

Thank you for your valuable input @vtlkvl. I appreciate your contribution and will be sure to discuss your ideas with the team. Your feedback is much appreciated.


Fetch schema

close #19

Remember to manually run cargo fmt & cargo clippy before commit, just in case.


FIX: handle dask ValueErrors in apply_ufunc (set allow_rechunk=True)

follow-up on #4060

[x] Closes #4372
[x] Tests added
[x] Passes isort . && black . && mypy . && flake8

As laid out in #4372 the behaviour before #4060 was to run blockwise with automatically aligning non-core dimensions (permit rechunking). For multiple chunks in core dimensions a ValueError would have been thrown.
If I understand the comments of @dcherian and @shoyer in #4372 correctly allow_rechunk should be set True in the first case but not in the second.
This PR just checks for the dask ValueError which is raised for non-core dimension chunk mismatch, issues a warning, that the behaviour will change in the future (not sure if this is intended, please recommend otherwise) and reruns apply_gufunc with allow_rechunk=True. For the second case the dask ValueError is raised.

@dcherian I think, that this is almost good to go. Any rework on the warning message needed?

I think my latest changes according to @dcherian's comments are now backwards compatible. Short explanation:

allow_rechunk is None (default)

if core dimension chunks > 1 raise ValueError (to keep backward compatibility concerning core dimension chunking)
else sets allow_rechunk=True (to keep backward compatibility concerning chunking mismatch in non-core dimensions

allow_rechunk == True  (user need to explicitoly set this in the dask_gufunc_kwargs)

just call apply_gufunc

allow_rechunk == False (user need to explicitoly set this in the dask_gufunc_kwargs)

just call apply_gufunc


05-05-2020: [Errno 2] No such file or directory: 'mplstyles/dark.mplstyle'

Hey there Caglar, thanks for the easily accessible code. I saw your post on reddit and wanted to play around with the data. I've been doing so in Jupyter Notebook (as I assume you did) but on this line I'm running into an issue on line 3:
In [3]:
#hide
import matplotlib
matplotlib.rc_file('mplstyles/dark.mplstyle')
Gives me the error: FileNotFoundError: [Errno 2] No such file or directory: 'mplstyles/dark.mplstyle'
I've copied all your code pretty much exactly and have no idea where it goes wrong. Outside of that, if I remove that (and the font from ln [4]), I can reproduce the graph perfectly.
Thanks already for placing your code online!

Hey @Tall-Bird! Thanks for writing to me, I'll try to fix that error!
Could you maybe hit me up using telegram (same handle) or mail (see my profile)?


IRGen: Call coro.alloca.free on the token not the address of a coro.alloca.alloc

Test case in #18722. The test case is separate because of dependence on #18717.
rdar://43311065

@swift-ci Please smoke test and merge

Failure unrelated to this commit.


feat(ConnectedForm): forward ref to html form element in ConnectedForm and Form

Overview
react-recurly requires a form ref, and being able to use ConnectedForm with it would be ill! So, now ConnectedForm forwards a ref to Form which forwards a ref to the form element :lolcry:

PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: GRW-203
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

still testing, please stand by!
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

🚀 Styleguide deploy preview ready!https://62e1bd2c6fe1bf0077773aff--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.6.167-alpha.8fc1f7.0@codecademy/gamut-labs@33.0.3-alpha.8fc1f7.0@codecademy/gamut@49.1.0-alpha.8fc1f7.0@codecademy/monaco@0.6.62-alpha.8fc1f7.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://62e2bfa3d071f000861aa8df--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.6.167-alpha.bed8d1.0@codecademy/gamut-labs@33.0.3-alpha.bed8d1.0@codecademy/gamut@49.1.0-alpha.bed8d1.0@codecademy/monaco@0.6.62-alpha.bed8d1.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://62f3e114e5ab0e0e6d438a10--gamut-preview.netlify.appDeploy Logs


Expose checkpoint creation for current table state in python

Description
Current python wrapper hasn't any functionlity to create checkpoints.
This PR exposes rust functionality which is creates checkpoint at current table version.
Documentation
Sample of usage:
    delta_table = DeltaTable(some_path)
    # apply actions...
    delta_table.create_checkpoint()

Thanks @ismoshkov for the contribution! One more "make format" and we are good to go :).

@wjones127 Thanks for your help!


feat(row): add possibility to disable drawing tasks for specific rows

Disable drawing of tasks for specific rows when a 'drawTask' property
exists in the row data with a value of false or an object containing a
property 'enabled' with value false.

Coverage decreased (-0.05%) to 52.222% when pulling 1f47b6172fa31f1684920078cd26ea61983b6bb4 on Cerzus:master into e805110561322358564f742f79db03eecce18ae1 on angular-gantt:master.

Thanks ! Instead of drawTask, I would prefer drawtask. And for consistency whith others plugins, it should also works with an object : drawtask: {enabled: false}.
Could you update the docs too ?

 I didn't know which to choose because the directive is called gantt-draw-task, so I figured it would be two words, but sure, you're the boss ;)
Where should I update the docs? I've been looking for documentation about similar behaviour for the sortable and movable plugins, but could not find it anywhere...

Now that I think about it, should I also make the other attributes (moveThreshold and taskModelFactory) able to be overwritten for specific rows?

drawtask is the name of the angularJS module gantt.drawtask. Other plugin related keys to override options in row/task model use the same naming logic, so it's only to try to keep it consistent through all plugins :)
Go for moveThreshold and taskModelFactory overriding too :)
Thank you again for your contributions !

What's important is that drawtask: false is only a shortcut for drawtask: {enabled: false}, so for other options it will go in this configuration object.

There an example also here : https://github.com/angular-gantt/angular-gantt/blob/master/src/plugins/movable.js#L98-L121.
Also the enabled parameter can also be a function with mouse event as first parameter, and Row object as second parameter.

I can't get taskModelFactory to work. If I add a drawtask property to a row in the data like this drawtask: {moveThreshold: 50, taskModelFactory: 'hi'}, then inside the directive row.model has both properties moveThreshold and taskModelFactory defined, but if I actually set taskModelFactory to be a function like this drawtask: {taskModelFactory: function() {return {color: 'red'};}}, it does not get set in row.model. I can't figure out why not. Any idea?

Toilal, do you have any idea about the issue in my previous comment?

I'm sorry @Cerzus, I didn't investigate your problem becaus i lack of free time.

taskFactory is "removed" from the row model after 1st draw... Still don't know why, but maybe it's a clone() that doesn't clone the function ...

Problem is due to the demo. To showcase the 2 way databinding, It converts the model to JSON, and read JSON to reload model (at the bottom of the App, Row and Task of selected models ...). In the operation, any function from the initial model is dropped.

It's fixed in master. Sorry I didn't merge directly you work, but it really helps ! thanks.

Ahh, I was hoping to become a Contributor (that happens when a pull request gets accepted, right?), but I'm happy to have helped, thank you too!


Future/ longer term test cases

Additional test cases needed in the long term:

Different line styles, thickness, colour, background colours, shading, etc.
Presence of vertical or angled text
Different layouts, such as headders in different places
Multipage tables- Presence of vertical or angled text
Different layouts, such as headders in different places
Multipage tables

This project is not continuing for now. Can potentially revisit in the future.