Oats testing in Beyla

Basic hello-world smoke test.  Example command line from test/oats:) sudo rm -rf build/testoutput/run && TESTCASE_BASE_PATH=/path/to/this/beyla/test/oats/yaml ginkgo -v -r

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (173401b) 48.53% compared to head (ae9fef3) 48.53%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #322   +/-   ##
=======================================
  Coverage   48.53%   48.53%
=======================================
  Files          34       34
  Lines        2794     2794
=======================================
  Hits         1356     1356
  Misses       1353     1353
  Partials       85       85

Flag
Coverage Δ

unittests
48.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

This is the basic test setup, to which I'll be adding new tests in other PRs.

This is the basic test setup, to which I'll be adding new tests in other PRs.

Could you provide some context on the scope of the basic test setup? The test runs the TraceQL query
{ .http.method = "GET" }

so is this a basic test for HTTP server spans rather than SQL client spans?

To avoid having a mega PR that includes multiple topics, I'm including the following here that is strictly oats without any sql stuff:

go module in test/oats that imports oats
set of docker compose files and config files from oats (since we can't reuse them as we're using a go module instead of cloning the whole oats repo.)  The beyla docker-compose files are new, not from oats.
oats_test.go, which is what ginkgo runs to generate the test cases from yaml with the oats module.
the simplest possible oats.yaml test file that exercises the above components.

Closing: content of this PR is now inside the SQL PR: https://github.com/grafana/beyla/pull/298

Closing: content of this PR is now inside the SQL PR: #298

I just reopened because having two separate PRs is much easier to review and follow. I hope you don't mind. Let's merge this PR first, the test here seems unrelated to SQL.

I've added "make oats-test" and "make oats-test-debug", which leaves the services running (for ~1h), so that they can be manually inspected, e.g. prometheus and grafana.  Maybe some day we can figure out how to conditionally include docker-compose files in oats tests so that we don't have the overhead of things we don't always need when we're not debugging.


[BUG] page 12188 "Manual vendor Payment Line" (ITA Loc.) Insert Line Action

1. Describe the bug
On Italian Localization, on page 12188, is situated an action wich i can create a manual payment line.
In this procedure, we have an assignment of a Text[45] field with a global variable Text[30].
With this code we can have and overflow issue.
2. To Reproduce
Go to Manual Vendor Payment Line Page, and click the action for insert manual line.
Insert your information, an then we have a problem, if we insert a text higher of 30.
Otherwise, the final field of table is of 45 digit.

Go to '...'

action(InsertLine)
            {
                ApplicationArea = Basic, Suite;
                Caption = 'Insert Line';
                Image = Line;
                Promoted = true;
                PromotedCategory = Process;
                ToolTip = 'Add a line.';

                trigger OnAction()
                var
                    VendorBillLine: Record "Vendor Bill Line";
                    DimMgt: Codeunit DimensionManagement;
                    Dimension: Code[20];
                    No: array[10] of Code[20];
                    TableID: array[10] of Integer;
                    NextLineNo: Integer;
                begin
                    with VendorBillLine do begin
                        LockTable();
                        Reset;
                        SetRange("Vendor Bill List No.", VendorBillNo);
                        if not FindLast() then
                            NextLineNo := 10000
                        else
                            NextLineNo := "Line No." + 10000;
                        Init;
                        "Vendor Bill List No." := VendorBillNo;
                        "Line No." := NextLineNo;
                        if VendorNo <> '' then
                            "Vendor No." := VendorNo
                        else
                            Error(Text12100);
                        "Vendor Bank Acc. No." := VendorBankAccount;
                        "Document Type" := DocumentType;
                        "Document No." := DocumentNo;
                        Description := Desc;
                        "Document Date" := DocumentDate;
                        "Due Date" := PostingDate;
                        "External Document No." := ExternalDocNo;
                        "Instalment Amount" := TotalAmount;
                        "Remaining Amount" := TotalAmount;
                        "Gross Amount to Pay" := TotalAmount;
                        "Amount to Pay" := TaxBaseAmount;
                        "Manual Line" := true;
                        "Cumulative Transfers" := true;
                        SetWithholdCode(WithholdingTaxCode);
                        SetSocialSecurityCode(SocialSecurityCode);
                        TableID[1] := DATABASE::Vendor;
                        No[1] := VendorNo;
                        Dimension := '';
                        "Dimension Set ID" :=
                          DimMgt.GetDefaultDimID(
                            TableID, No, '', Dimension, Dimension, 0, 0);
                        Insert(true)
                    end;
                    ClearAll;
                    CurrPage.Close;
                end;
}

3. Expected behavior
I expect to be able to manually enter a description greater than 30 digits.
4. Actual behavior
*Code Snippet graphic idea:

Manual Vendor Payment Line Page

5. Versions:

AL Language: 19.0 runtime
Business Central: BC20 CU 03

Thank you for your support.

I have moved this issues on https://github.com/microsoft
/
ALAppExtensions

https://github.com/microsoft/ALAppExtensions/issues/19805


Update Office-365-licensing.md

@LolaJacobsen , cc @bjwhalen
Not sure if I have the Note exactly correct, but I added this note " If Skype for Business Online is listed in apps for the selected license, do not remove it. If it's listed and is removed, Teams user setup will not complete successfully.".
Reason for the add is that we get many questions form Microsoft support engineers and customers about whether SfBO license is required for Teams. We also get case escalations where things stop working when customers remove SfBO app from licenses for users.
If we could get this updated, that would go a long way to minimizing confusion and stopping case escalations.

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Is there any support for Team subscription?

My requirement is:
Let's assume i am a Team leader and i have purchased a subscription. Now, what i want is by using my subscription plan (which I've purchased already) all of my team members can use the application. They don't need to buy the plan separately.
So, is there any way to do that?

Hi @roy-at-binate,
For managing team subscriptions you'd typically apply the Billable trait to a Team model instead of the User.

Hi @roy-at-binate,
For managing team subscriptions you'd typically apply the Billable trait to a Team model instead of the User.

Thanks for the reply @sandervanhooft
But if I add Billable to Team then who will be responsible to buy the subscription?

Hi @roy-at-binate,

But if I add Billable to Team then who will be responsible to buy the subscription?

That's up to the developer to implement. Imagine you setup your App to include a Team that has the Billable trait. You could setup a team owner similar to Laravel Jetstream's approach. Then you would only allow the team owner to manage the billing details for the team and create the subscription.

public function createSubscription(Team $team)
{
        // authorizing through Policies
        abort_unless($user->can('create', Subscription::class));

        return $team
              ->newSubscription('subscription_name', 'plan_name')
              ->create();
}

Hope that helps.

Thanks @Naoray that's what i actually did
And the whole subscription flow is now working properly except the issue about charging $1 while purchasing any plan.
Actually when i am redirecting user to the checkout page from REACT app it charges $1 though the price was $40.99

@roy-at-binate glad I could help you out.
Regarding the charging issue. Can you provide the code sample that's executed when you charge the user and also your cashier_plans and cashier config files, please?

@roy-at-binate, you uploaded the cashier_plans config twice.
Anyways, I likely figured out why you only charge $1 for your first charge:
You most likely haven't altered the cashier.first_payment.amount config value, have you? This is a default value that is applied for the first payment. This value can be overriden per plan by adding a firstPaymentAmount config to each plan.
plans' => [
        // SMALL TEAM
        'small-team-monthly' => [

              'firstPaymentAmount' => [
                  'value' => '100.00',
                  'currency' => 'EUR',
              ],
              //...
        ],
]

I don't like the current implementation of this functionality and will note it down to improve it for future releases.
Hope it didn't cause too much trouble!!!


to_abs_ws_path goes too far up

Running RA tests from within a rust-lang/rust checkout fails, because expect-test climbs all the way up to rust/Cargo.toml instead of being happy with rust/src/tools/rust-analyzer/Cargo.toml, and then the paths are all wrong.
See https://github.com/rust-lang/rust/pull/99444#issuecomment-1188844202 for real-world details.

Relevant code:
https://github.com/rust-analyzer/expect-test/blob/21f04f35eb1d6d9dbcbd1f81a0a8c526432c5c0a/src/lib.rs#L644-L668

A clean fix for that would require https://github.com/rust-lang/cargo/issues/3946 to be tackled, but the workaround suggested in https://github.com/rust-lang/cargo/issues/3946#issuecomment-749645286 doesn't seem terrible to me:
$ pwd
/home/amos/bearcove/rust/src/tools/rust-analyzer/crates/ide/src/syntax_highlighting
$ cargo locate-project --workspace --message-format plain
/home/amos/bearcove/rust/src/tools/rust-analyzer/Cargo.toml

An alternative fix for our specific situation would be to simply set an environment variable (maybe named CARGO_WORKSPACE) from x.py and use that if present :thinking:

That would also be a nice alternative, assuming the people responsible for x.py are fine with adding that

As another alternative, this hack doesn't involve calling out to cargo: https://github.com/rust-lang/cargo/issues/3946#issuecomment-973132993
The idea would be to create a rust-analyzer/.cargo/config.toml file with this:
[env]
CARGO_WORKSPACE_DIR = { value = "", relative = true }

Then the env var would be set when running cargo test.

Yeah, I like that a bit more than changing x.py since it will also work when you just run cargo test inside the rust-analyzer submodule.

... or we could merge #30, I guess? :thinking:

... or we could merge #30, I guess? 🤔

Mhh I don't love the adhoc-toml-parsing there, it'll fail for (admittedly fringe) cases like this:
workspace = { members = [
	"xtask/",
	"lib/*",
	"crates/*",
], exclude = [
	"crates/proc-macro-test/imp",
] }

Mhh I don't love the adhoc-toml-parsing there

I'd like that PR more if it brought a real TOML parser with it but now that's overkill, and that energy is better spent pushing for the cargo bug to be fixed instead imho.

I think I prefer the .cargo/config.toml approach, our heuristic should work fine for most usages of the lib, and where it breaks its a simple one line addition to the config.toml to get around the heuristic.

Follow-up RA PR: https://github.com/rust-lang/rust-analyzer/pull/12817


Build fails after upgrading from 0.70.8 to 0.71.7

Description
After upgrading RN from 0.70.8 to 0.71.7, I'm getting this error when I run it from my IDE:
node: internal/process/promises: 288
      triggerUncaughtException(err, true /* fromPromise */)

XCode runs the app perfectly fine. I went through the upgrade helper over and over to double check and I don't think I'm missing anything to the best of my knowledge
React Native Version
0.71.7
Output of npx react-native info
warn Package @sentry/react-native contains invalid configuration: "dependency.platforms.ios.sharedLibraries" is not allowed,"dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
info Fetching system and libraries information...
System:
    OS: macOS 12.6.1
    CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
    Memory: 492.41 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.13.0/bin/yarn
    npm: 9.6.4 - ~/.nvm/versions/node/v18.13.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.12.0 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK:
      API Levels: 23, 31, 33
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0
      System Images: android-30 | Google Play Intel x86 Atom, android-31 | Intel x86 Atom_64, android-31 | Google APIs Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8609683
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.12 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.7 => 0.71.7
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
Not sure I just followed the upgrade helper and upgraded the relevant files.
Snack, code example, screenshot, or link to a repository

If I comment out the the added code (the segment after platform : ios and before target 'AppName' do  from the upgrade) in the beginning of the Podfile then I get this error:
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace Prototype.xcworkspace -configuration Debug -scheme Prototype -destination id=D2417885-7A85-4AFF-8C24-BEEFDA368DFB

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Prepare packages

Computing target dependency graph and provisioning inputs

Create build description
Command  failed with a nonzero exit code

error: unexpected service error: build aborted due to an internal error: unable to write manifest to '/Users/newuser/Library/Developer/Xcode/DerivedData/Prototype-gpukylkdzvfapldfecadymruqaqs/Build/Intermediates.noindex/XCBuildData/3d01351f9fe24318caff0c5e0ec4714d-manifest.xcbuild': fwrite(): No space left on device (28)

** BUILD FAILED **

The following build commands failed:

(1 failure)
]

Node.js v18.13.0

After upgrading RN from 0.70.8 to 0.71.7, I'm getting this error when I run it from my IDE:

From which IDE? Are you talking about Android Studio (your screeshot) or XCode (as you mentioned in the comment)?

@cortinico Sorry i managed to fix it! I'm not sure exactly which thing fixed it but I reinstalled my command line tools for Xcode, Ruby, Cocoapods. The IDE was IntelliJ.

I got that issue, what version Ruby, Cocoapods you used

I also got this issue on<EMAIL_ADDRESS>when running on mac m1 from the terminal. I am using xcode version 14.2.

Also happening with me on 0.72.5
System:
  OS: macOS 14.4
  CPU: (10) arm64 Apple M1 Pro
  Memory: 129.38 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.19.0
    path: ~/.nvm/versions/node/v18.19.0/bin/node
  Yarn:
    version: 1.22.5
    path: /usr/local/bin/yarn
  npm:
    version: 10.2.3
    path: ~/.nvm/versions/node/v18.19.0/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.12.1
    path: /Users/pietrorutzen/.rvm/gems/ruby-3.0.0/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - visionOS 1.0
      - watchOS 10.2
  Android SDK:
    API Levels:
      - "26"
      - "27"
      - "28"
      - "29"
      - "30"
      - "31"
      - "32"
      - "33"
      - "33"
    Build Tools:
      - 23.0.2
      - 28.0.0
      - 28.0.1
      - 28.0.2
      - 28.0.3
      - 29.0.0
      - 29.0.2
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 32.0.0
      - 32.0.0
      - 33.0.0
      - 33.0.1
      - 33.0.2
      - 34.0.0
      - 34.0.0
    System Images:
      - android-27 | Intel x86 Atom_64
      - android-27 | Google APIs Intel x86 Atom
      - android-29 | Google Play ARM 64 v8a
      - android-31 | Google APIs ARM 64 v8a
      - android-31 | Google Play ARM 64 v8a
      - android-32 | Desktop ARM 64 v8a
      - android-32 | Desktop Intel x86_64 Atom
      - android-32 | Google APIs ARM 64 v8a
      - android-32 | Google APIs Intel x86_64 Atom
      - android-32 | Google Play ARM 64 v8a
      - android-32 | Google Play Intel x86_64 Atom
      - android-33-ext4 | Google Play ARM 64 v8a
      - android-33 | Google APIs ARM 64 v8a
      - android-33 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2022.1 AI-221.6008.13.2211.9619390
  Xcode:
    version: 15.2/15C500b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 11.0.21
    path: /Users/pietrorutzen/.jenv/shims/javac
  Ruby:
    version: 3.0.0
    path: /Users/pietrorutzen/.rvm/rubies/ruby-3.0.0/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.5
    wanted: 0.72.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

In my case, I just needed to install pods again pod install. In this long error output, it was hard to find the main message ```
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation


Cleanup/missing copyrights

Codecov Report

Merging #453 into master will decrease coverage by 7.2%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #453      +/-   ##
==========================================
- Coverage   61.66%   54.45%   -7.21%
==========================================
  Files         305      342      +37
  Lines       49703    58450    +8747
==========================================
+ Hits        30650    31831    +1181
- Misses      19053    26619    +7566

Impacted Files
Coverage Δ

src/inet/UDPEndPoint.cpp
41.5% <0%> (-41.5%)
:arrow_down:

src/system/SystemObject.cpp
60% <0%> (-33.75%)
:arrow_down:

src/system/SystemLayer.cpp
61.47% <0%> (-23.94%)
:arrow_down:

src/inet/InetInterface.cpp
65.09% <0%> (-22.81%)
:arrow_down:

src/system/SystemError.cpp
57.14% <0%> (-21.65%)
:arrow_down:

src/inet/DNSResolver.cpp
47.55% <0%> (-19.12%)
:arrow_down:

src/inet/IPAddress.cpp
80.4% <0%> (-13.11%)
:arrow_down:

src/inet/InetLayer.cpp
67.78% <0%> (-9.77%)
:arrow_down:

src/system/SystemTimer.cpp
85.88% <0%> (-8.99%)
:arrow_down:

src/inet/IPEndPointBasis.cpp
26.86% <0%> (-6.6%)
:arrow_down:

... and 66 more

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 ec11225...67b0bfc. Read the comment docs.


Edits of PyFluent-Visualization doc based on doc visual rendering

I cleaned up the doc files based on viewing the rendered doc and comparing to recent edits made for the PyFluent-Parametric doc.

@dnwillia-work and @ypatel-qa I cleaned up this doc and am awaiting your reviews.

@ajain-work Hey there! I'm looking for another reviewer so that we can get this PR merged soon. Thanks!


Serial mock e2e tests

Basic tests for the serial area and traceback support.

Checked that the review branch still uses a real micro:bit 😄

Assuming the tests pass in CI this is good to go.


Idea: add drag and drop of hour/minute selector

as suggested here https://github.com/google/material-design-lite/issues/1695#issuecomment-179727409

I going to say no to this for now. I don't feel it adds enough to merit the development time.


Error when editing or creating a post

Hi there,
Thanks a lot for making it so simple to wire together all these great tools :)
I clicked the button to deploy to Netlify, followed the instructions on the README to configure Netlify and Github, and soon enough could access the admin page and everything seems to work well. I can create and edit pages, authors, and update the settings.
So far so good.
However when I click on a post to edit it, or try to create a new one, I get this error:
Uncaught (in promise)
TypeError: o.map is not a function
    at ng (sveltia-cms.js:278:2593)
    at OK.t.$$.update (sveltia-cms.js:663:207488)
    at te (sveltia-cms.js:1:8888)
    at new PK (sveltia-cms.js:663:207573)
    at Gt (sveltia-cms.js:1:4333)
    at Array.Hx (sveltia-cms.js:663:245779)
    at ZS (sveltia-cms.js:663:233984)
    at Yx (sveltia-cms.js:663:250002)
    at te (sveltia-cms.js:1:8935)
    at new xg (sveltia-cms.js:663:253488)

I tried to do this locally, thinking that the error would be more helpful, but it is exactly the same.
Any idea what might be wrong?

I'm unable to look at this right now but it seems like it could be an issue with the tags list widget in the posts collection. You could try disabling that widget in your CMS config file and see if the error persists. Either way I will be able to take a look in a day or two.

This should now be fixed in https://github.com/danurbanowicz/eleventy-sveltia-cms-starter/pull/5
The post authors relation widget search_fields option is no longer supported by Sveltia CMS and was causing the error.
Closing this now but let me know if the issue persists and I will re-open.

Hey that was fast :)
I confirm that the issue is fixed, thanks a lot! 🎉 🙏


getting bind warning from react after 1.7.0

Summary:
I'm getting this warning from react in the console:
Warning: bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See Modal
Here is the call where's it happening (look for the arrow in comments on right side)
  componentWillUnmount: function() {
    if (this.props.ariaHideApp) {
      ariaAppHider.show(this.props.appElement);
    }

    var state = this.portal.state;
    var now = Date.now();
    var closesAt = state.isOpen && this.props.closeTimeoutMS
      && (state.closesAt
        || now + this.props.closeTimeoutMS);

    if (closesAt) {
      if (!state.beforeClose) {
        this.portal.closeWithTimeout();
      }

      setTimeout(this.removePortal.bind(this), closesAt - now);   /// <-- This line
    } else {
      this.removePortal();
    }
  },

Steps to reproduce:
I think it happens when I unmount a modal when it's still disappearing.

I also got this warning when use with more than one modal on same page.

This can be due to some double bind(). Can you guys make a PR for this?
If change this.removePortal.bind(this) to this.removePortal works, than it's a fix.

Tested, works fine, made pull request https://github.com/reactjs/react-modal/pull/348

#348 is not a fix, unfortunately. @adjohnson916 spotted the bug when referencing this inside of the callback of the setTimeout's function. see he's comment on the PR.

yeah, I don't know how to fix then.
bind -> react gives warning
don't bind -> runs at wrong time, test fails
use es6 -> works w/o warning but uglify fails

yeah, this is kinda sad.
  componentWillUnmount: function() {
    var modal = this;
    {...}
    // yes, old style closure...
    setTimeout(function() { console.log(this, modal); modal.removePortal(); }, 1);
  }

I think that just having bind there is probably the best for now.  The warning shouldn't cause problems.  I mean the goal is that 1.7 is a release to appease people as an intermediate to 2.0.  Backporting from a ES2015+ codebase to a ES5 codebase is messy.

@claydiffrient @diasbruno @mreishus I just submitted PR #353 which should solve this.

Since this issue have a fix, I'm closing this issue.
Thanks @mreishus and @adjohnson916 for taking care of this one.

thanks, sorry about the mess, I was just trying to make things easier~


vue-cli-service lint error with none .js or .vue file in src directory

Version
3.2.1
Reproduction link
https://github.com/dousybox/vue-cli-service--lint--none-file-error
Environment info
  System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
  Binaries:
    Node: Not Found
    Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 5.6.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 42.17134.1.0
  npmPackages:
    @vue/babel-preset-app:  3.2.0
    @vue/cli-overlay:  3.2.0
    @vue/cli-plugin-babel: ^3.2.0 => 3.2.0
    @vue/cli-plugin-eslint: ^3.2.0 => 3.2.1
    @vue/cli-service: ^3.2.0 => 3.2.0
    @vue/cli-shared-utils:  3.2.0
    @vue/component-compiler-utils:  2.3.1
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    babel-plugin-transform-vue-jsx:  4.0.1
    eslint-plugin-vue: ^5.0.0-0 => 5.0.0
    vue: ^2.5.17 => 2.5.21
    vue-eslint-parser:  4.0.3
    vue-hot-reload-api:  2.3.1
    vue-loader:  15.4.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.17 => 2.5.21
    vue-template-es2015-compiler:  1.6.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

git clone https://github.com/dousybox/vue-cli-service--lint--none-file-error.git
cd vue-cli-service--lint--none-file-error
yarn install
yarn lint

What is expected?
DONE No lint errors found!
What is actually happening?
ERROR Error: No files matching 'src' were found.

Well if there's no code, there's nothing to lint - but nobody wants to lint an empty folder.
So  throw an error to let you know, in case you accidentally linted the wrong directory.
I don't see this as a bug.


#7 and #9 : Write and test create controller methods for companies

This pull request fails tests. Because of that it will be closed.


Fixing missing authorization token

:tada: This PR is included in version 1.60.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to add sinkhorn layer and use its gradient in caffe?

Sorry, I didn't find any file about gradient about sinkhorn layer in your code. Can you give me some suggestion? I really need your help. Thanks.

Sorry, can you help me?

To use this implementation of  sinkhorn layer you just need to put a sequence of row and column normalization in your prototext file like...
layer{
name: "norm_row1"
type: "SinkhornNorm"
bottom: "fc8_s"
top: "fc8_r1"
sinkhorn_norm_param{
is_row_step: true
num_rows: 9
num_cols: 9
lambda: 0.001
}
}
layer{
name: "norm_col1"
type: "SinkhornNorm"
bottom: "fc8_r1"
top: "fc8_c1"
sinkhorn_norm_param{
is_row_step: false
num_rows: 9
num_cols: 9
lambda: 0.001
}
}
and the gradient computation is implemented at https://github.com/rfsantacruz/deep-perm-net/blob/master/caffe-perm/src/caffe/layers/sinkhorn_norm_layer.cu.
However, I suggest you to use new frameworks for deep learning like PyTorch and TensorFlow where the Sinkhorn algorithm is easier to code and use.

Got it. I will try to use PyTorch. Thanks for your suggestion.


Enforces One Contour Per Namespace

Verifies no other Contour has been provisioned in spec.namespace.name before ensuring a Contour.
Fixes https://github.com/projectcontour/contour-operator/issues/255
Signed-off-by: Daneyon Hansen<EMAIL_ADDRESS>

Holding until existing large PRs merge to avoid having to rebase the large PRs.

xref https://github.com/projectcontour/contour-operator/issues/277 to create tests when the Contour "Available" condition is updated to support reason "NotAdmitted".


Can't automatically Map x86 application during start of debugging

Describe the bug
When i start my x86 application named myprogram.exe I always have to manually go to modules, and either map it manually or press the "Map current" button there.
To Reproduce
Steps to reproduce the behavior:

Start debugger on x86 application
Notice no breakpoints can be "effective"
Manually map
Issue resolved

Expected behavior
Automatically map like the plugin bot for it intents to do.
Environment (please complete the following information):

OS: Win 10 latest patches
Java Version: 11.0.8
Ghidra Version: 10.0.4 & 10.1_BETA
Ghidra Origin: Github release page zip file

Additional context
Settings are correct, auto connect bot is enabled.
My application name does not match the module name.
Module name always starts as "image00000000'00400000" while that is not the name of the exe or project.
the auto resolve button in modules does work fine.
Using IN-VM dbgeng or dbgmodel, both produce the same results.

Ticket already in for this. As noted before, the "easy" (albeit annoying) solution for now is to rename your imported program "image00000000'00400000".


Add Custom Token: "Not a valid ERC-20 token"

Address: 0x4FcFE848AB0eE7f57c2ecf9BA7C88FE20BC169f3
I added "TVC" as a token and it is saying "Not a valid ERC-20 token".
Please can you help me to understand what I do next on this platform?
Thanks, Chris

https://ethplorer.io/address/0x4fcfe848ab0ee7f57c2ecf9ba7c88fe20bc169f3
This is not a token. What is the token's address?

Hmm, I don't understand :|
I'm trying to create a custom token called "TVC".
I use myetherwallet.com to try to do this - inside a wallet with address 0x4fcfe848ab0ee7f57c2ecf9ba7c88fe20bc169f3 (see screenshot).
But perhaps this isn't the way to do it?

I can't seem to find TVC on ethplorer. What is the website / name / anything of the token?
The address and decimals are written into the tokens contract code. You need these pieces of information in order to add the token and interact with it.

...This was how i got it resolved. I created a private network,mined,got some ethers, created a erc20 token contract.Afterwards,I came back to myetherwallet.com and did as instructed and it worked.

Closing this issue. Don't hesitate to reopen if needed.


Matching engine: add a cookie matching input object (revival)

(Revival of https://github.com/envoyproxy/envoy/pull/16344)
Commit Message: Matching: add HttpRequestCookieMatchInput data input
Additional Description:
This allows matching data extracted from cookies. It also adds a new parseCookieValues API in Http::Utility, which allows to return the potential multiple values that could be set in malicious HTTP requests, like in this case:
Cookie: mykey=a;mykey=b
To be in pair with what is already done with the HTTP header input matcher, this input matcher returns, in this case, a,b.
I've done only the request side, but if these patches are fine for you, I can also add the response side, and factorize the code in a similar way that what's done for headers!
Risk Level: Low
Testing: adapting current unit tests
Docs Changes: New API in Http::Testing documented
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@aguinet can you take a quick look what else is missing to get it in?


[Feature] Download decks for MTGO trading

In order to facilitate Cube drafts on Magic Online, we often have to download all the drafted deck lists, so that we can trade with each drafter from our collection. This involves clicking on each drafter in the logs, selecting the format, and then downloading.
Any chance you could add a feature that would allow downloading each of the drafter's pools, in a particular format, into 8 separate files with the drafters username as the name of the file? That would be so convenient!

This could be accessible from the draft log as "Download decks for MTGO trading"?
Also ignore added basic lands for this export?

What would also be useful is if we could just download it as card names without set/version information. Sometimes the card/set information gets other tools - like mana traders deck builder function - confused.

Commit 77f52f0 adds multiple actions to the draft log explorer:

I'm not thrilled with the UI, but it should be serviceable.

What would also be useful is if we could just download it as card names without set/version information. Sometimes the card/set information gets other tools - like mana traders deck builder function - confused.

I wonder if this is better or even more confusing?

I think the format dropdown with a checkbox for basics is very understandable! This will make it so much easier to download decklists for trading on MTGO, thank you.

One thing worth noting from a usability perspective is that there are now a lot of places where one can perform various kinds of exports and downloads of files and logs. I wonder if there should be a single 'export hub' with all the options contained in one place. It would obviously look different and have different options which depend on if you're in the Draft view or the Game Log view, but maybe there's something there...

One thing worth noting from a usability perspective is that there are now a lot of places where one can perform various kinds of exports and downloads of files and logs. I wonder if there should be a single 'export hub' with all the options contained in one place.

I think it makes sense as it is, but I'm open to suggestions if you want to elaborate!
About this particular issue: I've deployed the update. Closing this as long as you don't find issues with the functionality :)

Works perfectly. You're awesome thank you!


Update documentation for fuzz testing

Documentation for fuzz tasting is outdated and doesn't include instructions on how to debug using the crash files:
https://github.com/microsoft/ebpf-for-windows/blob/main/docs/Fuzzing.md

fuzzing documentation doesn't include steps to reproduce the crashes using the artifacts. This PR updates the doc and set an example to better help developers.
Documentation
fuzzing.md is updated.

Fixed by #1790


Deploying the wheels at a release fails

For some reason wheels are not uploaded to PyPi due to an error, see the error (and log) here: https://github.com/PennyLaneAI/pennylane-lightning/runs/2477011891?check_suite_focus=true#step:4:46

Hey @maliasadi
We have infra in place for this to upload to test PyPI, but not the real PyPI. I think we can move that functionality over after the current release cycle, as we need things to be a little manual for the current cycle.


General questions about model results and preprocessing of data

Hi everyone,
It's great to see a python implementation of this approach! I have a few general questions about how to apply the models and preprocess the data that you hopefully can help me with.
We collect large amounts of imaging data and we would like to integrate BaSiCPy into our workflow for illumination correction and background subtraction. The images we collect are typically fluorescent microscopy images of cultured cells with different fluorescent stainings. The background (empty space) in these images is typically around 100 - 110 gray values. Our empirical darkfield images acquired with this microscope and camera are very flat and also usually in the range of 100 - 110 gray values. What we would like to achieve is to get rid of:

uneven illumination
background/camera gain (background pixels should have values around 0 after processing)

I've played around a bit now with BaSiCPy to correct illumination artifacts on these images. What I did so far is to give a unprocessed image of shape (100, 2160, 2560) (so 100 images of shape (2160, 2560) as an input. I then call the follow the example notebooks and do this:
from basicpy import BaSiC

basic = BaSiC(get_darkfield=True, smoothness_flatfield=1)
basic.fit(image_stack)

So far so good and everything works out. I now get the flatfield, darkfield and baseline estimates. However, here I start to have a few questions:

The darkfield estimates I get are always just arrays filled with 0. However, our empirically acquired darkfield images are sitting at values of around 100 - 110 (a value that seems to be represented most closely by the "baseline" value). Is this expected or should I tune some parameters?
When calling basic.transform(image) I understand that the following operation is carried out: (img - darkfield) / flatfield. Which means that background pixels still sit at an intensity of around 100 in our case. My expected result would be that background values come close to 0. What would be the correct way to achieve this?

Should the baseline value just be subtracted? As in (img - darkfield) / flatfield - baseline
Should the camera gain be subtracted from the images before even fitting the model?

Would be happy about your insights on how to approach this correctly. Thanks!

Dear Andria,
Thank you for using BaSiCPy. Your issue is a bit complicated and I need to
check your images. Could you write me an email to my main email address:
@.***
We could set up a meeting next week to discuss your images and how to apply
BaSiCPy correctly.
Best,
Tingying
On Thu, 11 Jan 2024 at 10:25, Adrian Tschan @.***>
wrote:

Hi everyone,
It's great to see a python implementation of this approach! I have a few
general questions about how to apply the models and preprocess the data
that you hopefully can help me with.
We collect large amounts of imaging data and we would like to integrate
BaSiCPy into our workflow for illumination correction and background
subtraction. The images we collect are typically fluorescent microscopy
images of cultured cells with different fluorescent stainings. The
background (empty space) in these images is typically around 100 - 110 gray
values. Our empirical darkfield images acquired with this microscope and
camera are very flat and also usually in the range of 100 - 110 gray
values. What we would like to achieve is to get rid of:

uneven illumination
background/camera gain (background pixels should have values around
0 after processing)

I've played around a bit now with BaSiCPy to correct illumination
artifacts on these images. What I did so far is to give a unprocessed image
of shape (100, 2160, 2560) (so 100 images of shape (2160, 2560) as an
input. I then call the follow the example notebooks and do this:
from basicpy import BaSiC
basic = BaSiC(get_darkfield=True, smoothness_flatfield=1)
basic.fit(image_stack)
So far so good and everything works out. I now get the flatfield,
darkfield and baseline estimates. However, here I start to have a few
questions:

The darkfield estimates I get are always just arrays filled with 0.
However, our empirically acquired darkfield images are sitting at values of
around 100 - 110 (a value that seems to be represented most closely by the
"baseline" value). Is this expected or should I tune some parameters?
When calling basic.transform(image) I understand that the following
operation is carried out: (img - darkfield) / flatfield. Which means that
background pixels still sit at an intensity of around 100 in our case. My
expected result would be that background values come close to 0. What would
be the correct way to achieve this?

Should the baseline value just be subtracted? As in (img -
darkfield) / flatfield - baseline
Should the camera gain be subtracted from the images before even
fitting the model?

Would be happy about your insights on how to approach this correctly.
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/peng-lab/BaSiCPy/issues/146, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXOKOY6ETVWXWD7TVQ5OMDYN6VW7AVCNFSM6AAAAABBWE6JO2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TMMJTGIYDSMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Flash support for chip GD25Q256D

The problem you're addressing (if any)

The chip GD25Q256D - found on some NovaCustom NV4-ADL devices - doesn't work on RTE, while it does work with the CH341A programmer.
Describe the solution you'd like

The chip GD25Q256D to be supported by RTE, so that our devices with this chip can be flashed with RTE.
Where is the value to a user, and who might that user be?

Especially for internal use, but it might also be useful for other RTE users.
Describe alternatives you've considered

CH341A programming, which works, but is about 4 times slower than RTE.
Additional context

The read command was successful, while the write command was not. Log after the write command:
set SPI Vcc to 3.3V
SPI lines ON
SPI Vcc ON
Writing ...
flashrom v1.2 on Linux 5.4.69 (armv7l)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found GigaDevice flash chip "GD25Q256D" (32768 kB, SPI) on linux_spi.
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to<EMAIL_ADDRESS>if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Reading old flash chip contents... done.
Erasing and writing flash chip... Reading current flash chip contents... done. Looking for another erase function.
Reading current flash chip contents... done. Looking for another erase function.
Reading current flash chip contents... done. Looking for another erase function.
Reading current flash chip contents... done. Looking for another erase function.
Reading current flash chip contents... done. Looking for another erase function.
Reading current flash chip contents... done. Looking for another erase function.
Reading current flash chip contents... done. Looking for another erase function.
Reading current flash chip contents... done. No usable erase functions left.
Reading current flash chip contents... done.
SPI Vcc OFF
SPI lines OFF

@wessel-novacustom Hi, it has been a while since you raised this issue. Is it still relevant? If so, we can look into the problem.

Yes it is.

We can list which chips are supported for given flashrom revision using: flashrom --list-supported.
If it is in fact not there, we may check in the upstream flashrom if such chip has been added, and update our recipe. If it is not there either, we must add it to the upstream flashrom first.

@macpijan
Please make sure that the following chips are supported by the RTE:

W25Q256.V
MX25L25635F/MX25L25645G
GD25Q256D

We can do the testing, no problem.
Thanks.

@macpijan
Currently RTE has flashrom version 1.2.1.
# flashrom -L
flashrom v1.2 on Linux 5.4.69 (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Supported flash chips (total: 538):

Vendor        Device                 Test  Known   Size   Type
                                     OK    Broken  [kB]

(P = PROBE, R = READ, E = ERASE, W = WRITE, - = N/A)
(...)
GigaDevice    GD25Q256D                            32768  SPI       =
Macronix      MX25L25635F/           PREW          32768  SPI
              MX25L25645G
Winbond       W25Q256.V              PREW          32768  SPI

Which means that GD25Q256D has not been tested.  I checked the support on  v1.3.0`:
GigaDevice                   GD25Q256D/                           PREW          32768  SPI
Macronix                     MX25L25635F/                         PREW          32768  SPI
                             MX25L25645G
Winbond                      W25Q256FV                            PREW          32768  SPI
Winbond                      W25Q256JV_Q                                        32768  SPI
Winbond                      W25Q256JV_M                          PREW          32768  SPI
Winbond                      W25Q256JW                            PREW          32768  SPI
Winbond                      W25Q256JW_DTR                        PREW          32768  SPI

It seems that updating our layer to include flashrom v1.3.0 will solve our problem regarding GD25Q256D. I'm not sure about W25Q256.V though.

Would be great if it can be updated. If it has been done, please let me know.

@wessel-novacustom Hi, we just published a pre-release, which tackles this issue by updating flashrom to v1.3.0.  Could you test if it works properly?

I will do so soon and let you know, thank you.

@wessel-novacustom Did you manage to test the update yet?

Not yet, I'm sorry for that. Thank you for the reminder, I will do so now immediately.

@PLangowski for the GD25Q256D chip, I'm still trying to find a chassis in our stock that has this chip so I can test it. I will do so now and come back to you ASAP. As you may know, we are also testing the MX25L25635F/MX25L25645G chip. This is what I get with the test version:

root@rte:~# ./flash.sh probe
set SPI Vcc to 3.3V
SPI lines ON
SPI Vcc ON
Probing ...
flashrom v1.3.0 on Linux 5.4.69 (armv7l)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on linux_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to<EMAIL_ADDRESS>if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
No operations were specified.
SPI Vcc OFF
SPI lines OFF

This is what I get with the CH341A programmer modified to 3.3V on my PC running Linux Mint 21.2:

ceo@Z370N-WIFI:~$ flashrom -p ch341a_spi
flashrom v1.2 on Linux 5.15.0-88-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Macronix flash chip "MX25L25635F/MX25L25645G" (32768 kB, SPI) on ch341a_spi.
No operations were specified.

@PLangowski. About chip GD25Q256D, this looks good now. It says:

root@rte:~# ./flash.sh probe
set SPI Vcc to 3.3V
SPI lines ON
SPI Vcc ON
Probing ...
flashrom v1.3.0 on Linux 5.4.69 (armv7l)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found GigaDevice flash chip "GD25Q256D/GD25Q256E" (32768 kB, SPI) on linux_spi.
No operations were specified.
SPI Vcc OFF
SPI lines OFF
root@rte:~#

Should I close this issue and make a separate issue for the MX25L25635F/MX25L25645G chip?

By the way, for the GD25Q256D chip, writing works as well:

root@rte:~# ./flash.sh write ROM.BIN
set SPI Vcc to 3.3V
SPI lines ON
SPI Vcc ON
Writing ...
flashrom v1.3.0 on Linux 5.4.69 (armv7l)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found GigaDevice flash chip "GD25Q256D/GD25Q256E" (32768 kB, SPI) on linux_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
SPI Vcc OFF
SPI lines OFF

Ok, I found something weird now.
The chip "MX25L25635F/MX25L25645G" is recognised for the NS7x-ADL, but not for the NV4x-ADL.
Maybe the actual chip version is different, I will look at this and let you know.

@wessel-novacustom We can keep posting under this issue. In the meantime, could you provide the content of your flash.sh script?

@PLangowski Sure! Here it is:
flash.sh-output.txt

The chip "MX25L25635F/MX25L25645G" is recognised for the NS7x-ADL, but not for the NV4x-ADL.

Actually, sometimes it is recognised, but then it fails to flash:

root@rte:~# ./flash.sh write ROM.BIN
set SPI Vcc to 3.3V
SPI lines ON
SPI Vcc ON
Writing ...
flashrom v1.3.0 on Linux 5.4.69 (armv7l)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Macronix flash chip "MX25L25635F/MX25L25645G" (32768 kB, SPI) on linux_spi.
===
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to<EMAIL_ADDRESS>if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Reading old flash chip contents... done.
Erasing and writing flash chip... FAILED at 0x01d13ffb! Expected=0xff, Found=0x00, failed byte count from 0x01d13000-0x01d13fff: 0x5
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
Erase/write done.
Verifying flash... FAILED at 0x01dac200! Expected=0xc7, Found=0xff, failed byte count from 0x00000000-0x01ffffff: 0xf4
Your flash chip is in an unknown state.
Please report this to the mailing list at<EMAIL_ADDRESS>or
on IRC (see https://www.flashrom.org/Contact for details), thanks!
SPI Vcc OFF
SPI lines OFF

@wessel-novacustom

This flash part has status UNTESTED for operations: WP

That's strange. flashrom 1.3.0 lists MX25L25635F/MX25L25645G as tested for all PREW operations.
Do you use the -c flag in when you flash using your script? I see it is commented out and it may help flashrom recognize the chip.

@wessel-novacustom According to our instructions, only 6 out of 8 pins shoukd be connected to RTE. However, from what I've gathered after talking to my colleagues is that there is an issue with flashing that may be solved by connecting the remaining 2 pins.

Do you use the -c flag in when you flash using your script? I see it is commented out and it may help flashrom recognize the chip.

We used the ./flash.sh script that is in meta-rte.

@wessel-novacustom According to our instructions, only 6 out of 8 pins should be connected to RTE. However, from what I've gathered after talking to my colleagues is that there is an issue with flashing that may be solved by connecting the remaining 2 pins.

Thank you for this hint, I believe these were already attached but we will double-check this.

Extending this ticket for the chips of the MTL platforms.
cc @macpijan @miczyg1

@wessel-novacustom The chips are now supported in v0.8.0-rc1. You can download the binaries here: https://github.com/3mdeb/meta-rte/releases/tag/v0.8.0-rc1

That works! We are now waiting for 1.8V support, flashrom variables support and DCU integration.


Simple game-related tips if the user does something wrong (e.g. tries to put a card in the wrong place)

So for instance if the user tries to put a card in the wrong place a message (text or some small window?) would show up giving the user a simple gameplay-related tip and disappear when the users starts to play correctly. A tip could be to, for instance, "Build down regardless suit (ex. [...])", including these nice card symbols (check the bottom of the screenshot):

As you can see most solitaire apps use status bars for such tips, but maybe you can do without it.

Of course, the "solitaire teacher" demo mode, I mentioned here might work well too.

I can't do specific advice about the source and the target ("You tried to drop an Five on a Nine, which only accepts Eight"). When you drop a card, I check the mouse pointer and each corner for overlapping decks, meaning every card drop could be overlapping multiple piles, so I never know for sure what move you intended. I could say ("You tried to drop an Five, which only fits on a six"), but I'm not sure how much value that would provide.

But this tip in the picture is pretty general too. I guess it might work...


Fix coverage white-list

Pull Request Test Coverage Report for Build 634

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-7.9%) to 72.492%

Totals

Change from base Build 626:
-7.9%

Covered Lines:
3107

Relevant Lines:
4286

💛  - Coveralls

Pull Request Test Coverage Report for Build 634

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-7.9%) to 72.492%

Totals

Change from base Build 626:
-7.9%

Covered Lines:
3107

Relevant Lines:
4286

💛  - Coveralls


Fix scheduler chart and dapr-tests on Windows

Trying to fix this CI failure: unknown flag: --output from https://github.com/dapr/dapr/actions/runs/9541403416/job/26294562718

/ok-to-test

/ok-to-test

/ok-to-test

I'm trying to reset some of the changes from this PR. Will know once the test finishes

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

That one e2e failure on kind looks to be transient: dial tcp <IP_ADDRESS>:31231: connect: connection refused

Its running the e2e in azure, so looks to be thru the helm issue now

/ok-to-test


Uncaught (in promise) TypeError: Cannot assign to read only property 'nodeName' of object '#

I've set up preact-compat in a custom webpack config. I'm using webpack 4.  Importing react and react-dom works without error. However when I'm importing a React based component I'm getting the following error:
preact.module.js:1 Uncaught (in promise) TypeError: Cannot assign to read only property 'nodeName' of object '#<HTMLInputElement>
Sample code:
import * as preact from 'preact'
import { useState, useEffect, useRef } from 'preact/hooks'
import { GoogleMap, Marker } from 'react-google-maps' <-- error disappears when I remove the import

export default function Gmap () {
  return (
    <div style={{ height: '89vh', width: '100%' }}>
        why?
    </div>
  )
}

I've tried importing other react based components and still receive the same errors so I don't thing it's the third-party issue.
package.json
"preact": "^10.0.0-beta.1",
"preact-compat": "^3.17.0", <-- I've used the 3.18x and still get the same issue.

...
"@babel/core": "^7.1.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.3.1",
"babel-loader": "^8.0.4",
"babel-polyfill": "^6.9.1",

This is not a preact-cli set up project. I had to get a legacy project up to date and customized the preact-compat and so I had to manually set up the necessary preact configurations. I've tried an isolated project by setting up a preact-cli generated project and had no issues with importing react-based components. I'm guessing something is off with my configuration, but I'm not exactly sure. Any help is much appreciated.
webpack alias:
react: 'preact-compat',
'react-dom': 'preact-compat',
'create-react-class': 'preact-compat/lib/create-react-class',
'react-dom-factories': 'preact-compat/lib/react-dom-factories',

This issue is very likely caused by mixing Preact X with preact-compat with the latter being specifically written for Preact 8.x. With Preact X the compat package was moved into core. To resolve the situation do:

Uninstall preact-compat
Change preact-compat aliasing to preact/compat

@marvinhagemeister  Thanks I will try this!

@marvinhagemeister That took care of my issue. Thanks.


velox/exec/LocalPlanner.cpp

velox/exec/LocalPlanner.cpp
Originally posted by @ffbok2 in https://github.com/facebook/react/issues/22708#issuecomment-962415048

velox/exec/LocalPlanner.cpp
Originally posted by @ffbok2 in https://github.com/facebook/react/issues/22708#issuecomment- [ ] - [ ] -962415048

[ ]


git rebase interactive: allow for old editor based approach

After the last update I've seen there is a nice GUI for git rebase -i. I found the text based one much more convenient for large manipulations, but I have not found any setting to use the old text editor based instead. Any way to restore it? Thanks!

/duplicate of #110819


Segmentation violation while using html/template

What version of Go are you using (go version)?

$ go version
go version go1.17.4 linux/amd64

Does this issue reproduce with the latest release?
Seems so.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ubuntu/.cache/go-build"
GOENV="/home/ubuntu/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/ubuntu/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/ubuntu/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.4"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3534471074=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version go1.17.4 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.17.4
uname -sr: Linux 5.11.0-1020-aws
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

### What did you do?
https://go.dev/play/p/6GSJPCvMHnn
Providing link to the playground just to share code, you can't really reproduce bug there, you have to run it locally since it uses fair amount of goroutines in order to crash.
What did you expect to see?
What did you see instead?
unexpected fault address 0x65bc376d
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x65bc376d pc=0x48173e]

I can reproduce (at 1.17.2). Looks to be fixed at tip. I'll binary search to find out what fixed it.
Looks like general data corruption. I've seen one other failure mode, the GC complaining about a pointer to an unallocated span.

Looks like it was fixed by https://go-review.googlesource.com/c/go/+/363358/
@cherrymui

@gopherbot please open a backport issue for 1.17.

Closing, as fixed at tip. Work will happen on #49961.

@randall77 Is the reason the backport request was made for 1.17 only because 1.16 doesn't have this problem?

Yes, 1.16 doesn't have this problem. The bug was introduced when adding register ABI support (1.17).


Arm and hotplug cpu

Problem description / Motivation
According to qemu documentation, hot plugging is not supported on arm. Marking cpu as online/offline is supported. We need to change acpi scripts used on x86_64 for hot plugging to support online/offline cpus on arm.
https://docs.kernel.org/next/arch/arm64/cpu-hotplug.html
https://www.qemu.org/docs/master/system/cpu-hotplug.html

Feature idea(s) / DoD

Implementation ideas

I suggest to move that to the start and also switch to online/offline on x86. I believe that will autoscaling also more robust on x86.

CPU Scaling Feature via online/offline cpu state
Current Implementation
In the existing NeonVM platform, CPU hotplugging is used to dynamically scale CPU resources up or down. The NeonVM controller (neonvm/controllers/vm_controller.go) sends commands via QMP (QEMU Monitor Protocol) to the QEMU hypervisor. When CPUs are added or removed, a udev rule (neonvm/tools/vm-builder/files/vminit) inside the VM automatically marks the newly added CPUs as online.
While this method works effectively on x86_64 architectures, the ARM architecture in QEMU does not support CPU hotplugging.
Proposed Solution for ARM Architecture
To support CPU scaling on ARM, we will implement a different approach. Instead of hotplugging, all potential CPUs will be allocated to the VM instance during startup. Any CPUs beyond the current scaling limit will be marked as offline. The control of CPU states (online/offline) will no longer rely on the udev rule but will be handled through a VM control daemon running inside the VM.
Key Aspects:

Initial CPU Allocation: All possible CPUs will be assigned to the VM at startup. Only the CPUs required within the scaling limit will be marked as online, while the others remain offline.
Daemon for CPU State Management: The introduction of a VM control daemon will enable direct control over the online/offline status of the CPUs. This daemon will expose an API to manage the number of active CPUs.

Required Changes

NeonVM Controller Modification: Update the NeonVM controller to communicate with the VM control daemon API for CPU scaling actions instead of using QMP directly to the QEMU monitor.
VM Runner API: For enhanced security, the daemon will be exposed through the VM Runner API to ensure secure interaction.
VM Control Daemon Implementation: Develop the VM control daemon that will run inside the VM to manage CPU states.
Expose VM Control Daemon: Integrate the control daemon via the VM Runner interface
VM Builder Update: Modify the VM Builder to include the VM control daemon as part of the VM image, ensuring it is present and operational in all deployed instances.

both related PRs are in review: #1104 and #1111
#1090 been merged already.


Fix Xcode 16 continuation crashes

Fix #13480
Xcode 16 can crash on withCheckedThrowingCompletion if there is old-style queue stuff happening underneath. This leads to separate crashes in FirebaseAuth after token expiration. They are handled in two separate ways.
The first occurs in AuthBackend.swift when handling requests to the backend. Converting all of the functions to async solves the crash problem, but using async version of the GTMSessionFetcher beginFetch method loses some error handling since the API expects to return both data and an error. I solved this by continuing to use the beginFetch callback method, returning a tuple and using withUnsafeContinuation to wrap the beginFetch call.
The second crash resulted from the serial queues being used for user profile updating in User.swift and token updating in SecureTokenService.swift. Moving the code that was previously running in the serial queues to actors fixed the problem.

cc: @peterfriese @ncooke3


Document AsyncWrite

When implementing AsyncWrite I found it unclear what behavior is expected from a type that implements it. The main question is when to flush the underlying object.
This PR is intended to settle on that issue and then document it to avoid confusion for further users. It follows up from #1828. Some further discussion is required to come to a conclusion before documenting.
Explanation
Imagine we implement AsyncWrite on some type that does some internal buffering. Eg. this type will have data hanging in transit unless we call poll_flush on it.
The questions occurred when using AsyncReadExt::copy_buf_into to create an echo server that just forwards all incoming data back out. The future returned by this method will only flush the AsyncWrite when the stream has completely ended. Until then, it will only call poll_write. So if some data comes in, then there is a pause, this data will now just sit in the writer without getting flushed out.
The question is thus, should implementers sometimes flush in poll_write or not? If so, which context to pass to poll_flush? If any bytes have been written, poll_write needs to return Poll::Ready(n), so a Pending from the poll_flush cannot be bubbled up unless no bytes where written...

Thanks!


[Experiment] Separate security wrappers from NixOS

Motivation for this change
Recently I had to use a nix-shell that installs setuid wrappers for some package-specific dependencies. Because the security wrapper logic was so deeply embedded in NixOS, I had to use NixOS to make the nix-shell work.
This change allows you to set up security wrappers in your nix-shells with the same functionality as in NixOS. E.g. this should work:
pkgs.stdenv.mkDerivation {
  # ...
  shellHook = ''
    sudo ${pkgs.security-wrappers {
        wrapperDir = toString ./wrappers/bin;
        wrappers = {
          fusermount.source = "${pkgs.fuse}/bin/fusermount";
        };
    }}/bin/setup
    export PATH="${toString ./wrappers/bin}:$PATH"
  '';
}

Or this is how you could build it directly:
nix-build '<nixpkgs>' -A security-wrapper --arg wrappers '{ fusermount.source = "${(import <nixpkgs> {}).fuse}/bin/fusermount"; }' --arg wrapperDir "toString $PWD/wrappers/bin"

Only very minimal tests were done, but it seems to work just fine. If anybody needs it, here you go.
I also made minor changes like quoting all bash variables and removing some legacy code that didn't do anything (WRAPPER_PATH).
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
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 nix-review --run "nix-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)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@7c6f434c how do you handle this considering you don't run NixOS?

I have a similar local package in my system expression that uses the NixOS setuid wrapper source, takes a list of entries and produces a script to create/chown/chmod the wrappers. I do not default to setuid if nothing is specified.
… I also have exactly 4 setuid wrappers (FUSE2/FUSE3, su and unix_chkpwd), as most of the system requests are handled via a custom client-server protocol.

I'll just close this for now because I don't need this anymore and have no intention of testing it (even though the chance of it breaking anything is rather low). If somebody needs this, feel free to use the change is this PR, comment here or make a PR with this change.


#28 verify error messages

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


feat: Dialog disableBackdropClose and close reason

Description
Add disableBackdropClose props (default = true) to define if Dialog can close on backdrop click, now onClose function receive a reason to define who invoke it
<Dialog
  ...
  onClose={() => setOpen(false)}
  disableBackdropClose={false}
>
  Hey!
</Dialog>

Reason
export type TDialogCloseReason = "backdropClick" | "closeButton";

Test

[x] I have added tests that prove my fix is effective or that my feature works

Codecov Report

Merging #37 (f3a4067) into main (5f0fd14) will decrease coverage by 0.34%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   95.22%   94.89%   -0.34%
==========================================
  Files          43       43
  Lines         482      490       +8
  Branches      212      215       +3
==========================================
+ Hits          459      465       +6
- Misses         22       24       +2
  Partials        1        1


Add feature: Modal custom background color

Summary
This is some kind of syntactic sugar to avoid adding a view with some particular styling when trying to add some custom (non-white) overlay over the 'non-reached' parts of the modal.
Works when transparency={false}. So it replaces (optional) the hardcoded 'white' color for a custom valid color.

Changelog
[General] [Added] - Add backgroundColor property on Modal component

Test Plan

[x] npm test
[x] npm run flow
[x] npm run lint

Can you provide an example of the current approach required to get this result?
I'm not a big fan of having two props that are conditional on each other so I am curious how difficult the current approach is to be worth this change in API.

@TheSavior
The modal has different backgroundColor  (not only transparent or white) is very common in design. In our project we must build a custom modal component only because it has a different color(for example rgba(0,0,0,0.4)).

add a new backgroundColor prop and keep transparent can give us a smooth path to use new prop.
we can keep backgroundColor prop only, but that's a big change maybe.

please have a look at this PR again.
thanks a lot.


Fix typo in description comment

Signed-off-by: Phil Estes<EMAIL_ADDRESS>

Codecov Report

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

@@          Coverage Diff           @@
##           master   #3290   +/-   ##
======================================
  Coverage    44.4%   44.4%
======================================
  Files         113     113
  Lines       12231   12231
======================================
  Hits         5431    5431
  Misses       5966    5966
  Partials      834     834

Flag
Coverage Δ

#linux
48.33% <ø> (ø)
:arrow_up:

#windows
39.66% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix empty response error for blank lines

If a blank line exists somewhere in the middle of a message it is throwing an empty response exception. A blank line is OK in the middle of a message and does not indicate a problem when a \n was properly found as the next character, since the stream is still open and reading fine.

Hi @bierpub ,
thanks for your pull request! :)
Best regards,


Potential lead for #290

Hi, I saw your issue #290 and recall running into a problem with Math.Round in my Blazor project.  Thought I would direct you to the issue and resolution to see if it might help you:
https://github.com/aspnet/Blazor/issues/1661

@Entroper  Thank you so much for bringing this to our attention. We currently working on fixing this bug.

@Entroper Thank you for pointing this out. We have updated the version of blazor and its fixed now :)


phoenix data server down?

i can't access the website to download the data anymore....any idea how soon will it be back up and running?

There was a hardware failure on the server our website was hosted on. Haven't had a chance to boot it back up yet. You should still be able to download the data from the Amazon S3 bucket, though, or by using the URL with the proper date, e.g., https://s3.amazonaws.com/oeda/data/current/events.full.20160724.txt.zip

i don't think the s3 url works either....

thanks. this works for me. but the 7/22 - 7/24 files are all empty.

Working on regenerating those now.

7/25 file is good, but 7/22 - 7/24 are still blank....

Those dates are now filled in as much as they can be.


Entropy model in Cheng2020Anchor

Firstly, thanks authors for sharing the amazing work. I have a question about the Cheng2020Anchor model. In Cheng's original paper, the discretized Gaussian mixture likelihood is used where three Gaussian distributions are weighted. However, I find that the Cheng2020Anchor model still uses the single Gaussian distribution in JointAutoregressiveHierarchicalPriors. Is my understanding right? Thanks

Hi, yes we have only implemented the "anchor" model and the "anchor" model with the attention layers for now. We might implement the full version with the GMM based entropy model later in the future.

Thanks for nice work. Also waiting for implementation of Gaussian mixture likelihood.

Thanks for clarifying it.


Adjust tolerances of depth_2_space, space_2_depth tests

Fixed tolerances of failing tests, depth_2_space and space_2_depth.

LGTM, will merge after test pass.


Saving forms for has_many and accepts_nested_attributes_for

I'm trying to build a form to create a user and additionally populate the associates table. At the moment I've got this:
= semantic_form_for @user, url: account_path do |f|

.formgroup
  = f.label :first_name
  = f.text_field :first_name, class: 'form-control'

.formgroup
  = f.label :last_name
  = f.text_field :last_name, class: 'form-control'

.formgroup
  = f.label :email, 'Your e-mail address'
  = f.text_field :email, class: 'form-control'

= f.semantic_fields_for :associates_attributes do |a|
    .formgroup
      = a.label :relationship, 'Relationship to you'
      = a.text_field :relationship, class: 'form-control'

    .formgroup
      = a.label :position, 'Associate position'
      = a.text_field :position, class: 'form-control'
= f.actions

Yet in the params, associates_attributes show up as "associates_attributes" => { "relationship" => ... , "position" => ... } rather than "associates_attributes" => [{ "relationship" => ... , "position" => ... } ], an array of hashes.
Is there any idea to make the response into an array? This is the default way of doing it with Rails 4 and accepts_nested_attributes_for with has_many association but I'm yet to find out how it's supposed to be done.

###Are you using the require/permit methods to filter your parameters?  I do something like this:
def person_params
      params.require(:person).permit(:name, :email, talks_attributes: [:id, :person_id, :title, :_destroy, location_attributes: [:id, :talk_id, :city, :state]] )
end

###And get something like this in params:
{"utf8"=>"✓",
 "_method"=>"patch",
 "authenticity_token"=>"1iKCa6LiV9jKY58YTHqxecRPwErtapUWg5fcj5mezD9RunU/0YQRcLV78MMrA5ETQ8h5FlhrevHmFY==",
 "person"=>
  {"name"=>"Bill Smith",
<EMAIL_ADDRESS>   "talks_attributes"=>
    {"0"=>
      {"title"=>"some talk", "location_attributes"=>{"city"=>"new york", "state"=>"ny", "id"=>"3"}, "_destroy"=>"false", "id"=>"3"}}},
 "commit"=>"Save",
 "controller"=>"people",
 "action"=>"update",
 "id"=>"1"}

Closing due to lack of activity. Please feel free to re-open with new information!


chore: modify license structure to include apache2

Motivation
To clarify confusion about which parts of Lodestar are under which open source licenses. Github automatically detects what is under license but our repository has 2 difference licenses in place depending on the package.
Description
This PR makes it clear which packages of Lodestar are under which open-source license. This also fixes the automatic detection mechanism Github uses to display under "About" what licenses this repository has so it displays both Apache 2.0 and LGPL 3.0.
The following are licensed under LGPL 3.0:

lodestar/packages/beacon-node
lodestar/packages/cli
lodestar/packages/validator

The following are licensed under Apache 2.0:

lodestar/packages/api
lodestar/packages/config
lodestar/packages/db
lodestar/packages/flare
lodestar/packages/fork-choice
lodestar/packages/light-client
lodestar/packages/logger
lodestar/packages/params
lodestar/packages/reqresp
lodestar/packages/spec-test-util
lodestar/packages/state-transition
lodestar/packages/test-utils
lodestar/packages/types
lodestar/packages/utils

:tada: This PR is included in v1.20.0 :tada:


Add section "The story of Tiros"

This section describes what Tiros does using an anekdote. The attached image shows an idea for this section.

The section also needs an image that shows the difference between a traditional weather model and Tiros. A large scale model that uses grids vs a hyperlocal model.

Long before the use of global weather forecast models, weather forecasting was based on observation and experience. Imagine a fisherman centuries ago, who needs to decide whether or not to sail out. Local knowledge is vital, as weather patterns in two locations that are a few 100 kms apart can differ greatly.

Traditional weather models work on a global scale, by dividing the world into grids, and running complex numerical calculations on powerful supercomputers. But a traditional weather model does not have local knowledge.

Now, it is possible to use deep learning, to create an improved weather model trained using deep learning for a single location. Local knowledge, created by combining experience and observation in a deep learning model.


url-loader is encoding path instead of image

import tickImg from '../assets/tick.svg';
...
render () {
    return (
        ...
        <div style={{ backgroundImage: `url(${tickImg})` }} />
        ...
    );
}

Results in inline-style:
background-image: url("data:image/svg+xml;base64,bW9kdWxlLmV4cG9ydHMgPSBfX3dlYnBhY2tfcHVibGljX3BhdGhfXyArICJhc3NldHMvaW1hZ2VzL3RpY2stQ3lydkhSdi5zdmciOw==");

Decoding the base64 string:
module.exports = __webpack_public_path__ + "assets/images/tick-CyrvHRv.svg";

If I force the loader, it works correclty:
const tickImg = require(!!url!'../assets/tick.svg');
...

Here's my webpack loaders configuration:
    {
      test: /\.(png|svg)$/,
      loader: 'url',
      query: {
        limit: 10000,
      },
    }, {
      test: /\.(png|jpg|svg)$/,
      loader: 'file',
      query: {
        name: 'assets/images/[name]-[sha512:hash:base64:7].[ext]',
      },
    }

@romulof It is probably encoding the path instead of the url because you have 2 loaders for the same file:

the first loader (url) is encoding the image and returns a path to the encoded image
the second loader (file) is encoding path to the encoded image

The solution is to use a single loader, similar to:
{
  test: /\.(png|svg)$/,
  loader: 'url',
  query: {
    limit: 10000,
    name: 'assets/images/[name]-[sha512:hash:base64:7].[ext]'
  }
}

@julienevano, I'm not chaining the loaders. I have 2 distinct tests, one with url-loader only and another with file-loader only.
I'm not sure about how url-loader works when the limit query don't match. Let's say: if the file is bigger than limit the loader refuses the file and Webpack tries to find another loader for it?
How do you file-loader as fallback for url-loader?

Oh, I just read the code!
url-loader already uses file-loader as fallback.

I guess the problem lies in the documentation, because if I read:

The url-loader works like the file-loader, but can return a DataURL if the file is smaller than a byte limit.

https://webpack.js.org/loaders/url-loader/#usage
and even if I read about the limit parameter later on:

If the file is greater than the limit (in bytes) the file-loader is used and all query parameters are passed to it.

I'm still not fully aware that I need to remove file-loader and that I can pass all of file-loader options within url-loader.

I have the same issue in SCSS files. When the file size exceeds the limit, module.exports = __webpack_public_path__ + "..."; gets base64 encoded as the file content!
Did you find any solution?


Feature/disable scan buttons

Scan submitted to Checkmarx

Checkmarx scan completed
Full Scan Details
Checkmarx Scan Summary

Severity
Count

High
0

Medium
0

Low
1

Informational
0

Violation Summary

Severity
Count

Details

Lines
Severity
Category
File
Link


Spreading a dynamic list of attributes on a component

Describe the bug
Not entirely sure if this is a bug or a feature request, but I would like to be able to spread a dynamic list of attributes to a component.
Leptos Dependencies
leptos = { version = "0.6", features = ["nightly"] }
leptos_axum = { version = "0.6", optional = true }
leptos_meta = { version = "0.6", features = ["nightly"] }
leptos_router = { version = "0.6", features = ["nightly"] }

To Reproduce
#[component]
fn Comp1() -> impl IntoView {
    let attrs = vec![("id", Attribute::String("1".into()))];
    view! {
        <>
            // this works (id is set to 1)

Hello

            // this doesn't work (no id is set)
            <Comp2 {..attrs}/>

            // this does work
            <Comp2 attr:test=5/>
        </>
    }
}

#[component]
fn Comp2(#[prop(attrs)] attrs: Vec<(&'static str, Attribute)>) -> impl IntoView {
    let attrs_len = attrs.len();
    view! {
{attrs_len}
 }
}

Expected behavior
I would expect that Comp2 renders into
1
, but instead it renders to
0
.

i've got a working solution for this, but my fork also includes a way to spread things other than attributes which https://github.com/leptos-rs/leptos/pull/2432 seems to have beaten me to
so if/when it gets merged i'll adapt it to that

i've got a working solution for this, but my fork also includes a way to spread things other than attributes which #2432 seems to have beaten me to
so if/when it gets merged i'll adapt it to that

Very cool, thanks for your contributions : )


The named parameter 'transition' isn't defined. Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'transition'.

after updating stacked_builder to 0.7.1, it added a transition value to the NavigatorStateExtension.
this is passed down to a generated function which, does not have a transition parameter
Future<dynamic> navigateToStartupView({
    int? id,
    bool preventDuplicates = true,
    Map<String, String>? parameters,
    Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
        transition,
  }) async {
    return navigateTo(
      Routes.startupView,
      id: id,
      preventDuplicates: preventDuplicates,
      parameters: parameters,
      transition: transition,
    );
  }

  /// Pushes [routeName] onto the navigation stack
  ///
  /// [id] is for when you are using nested navigation, as explained in documentation.
  ///
  /// [preventDuplicates] will prevent you from pushing a route that you already in, if you want to push anyway,
  /// set to false.
  Future<T?>? navigateTo<T>(
    String routeName, {
    dynamic arguments,
    int? id,
    bool preventDuplicates = true,
    Map<String, String>? parameters,
  }) {
    return G.Get.toNamed<T?>(
      routeName,
      arguments: arguments,
      id: id,
      preventDuplicates: preventDuplicates,
      parameters: parameters,
    );
  }

This has been fixed in stacked_services: 0.8.26


LCM calculator

LCM calculator  -
finds the lcm of the given numbers
Mathematics

@SarthakKeshari please assign me this issue

@SarthakKeshari please assign me this

Hey @Sam-bhav-20,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\mathematical\lcmCalc
Issue completion deadline - 5th Oct 11:00:00 pm IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant

@SarthakKeshari is there any max limit of numbers to find lcm?

@Sam-bhav-20, Kindly go for max LCM of 6 numbers and each number should not exceed 1000.


Consider switching from Flash to JS for "Copy to clipboard"

I noticed you guys still use Flash for that "Copy to Clipboard" button. What do you think of switching to clipboard.js?

@zenorocha It will be great, we can also refactor some of our code at the mean time.

@zenorocha :joy: :+1: Kill flash, yeah! :boom:

:+1: Totally agree, I can work on the change. @PeterDaveHello Is it OK to send a PR later?

@mkautzmann of course, feel free to do that!

Just sent a PR

Okay, I am going to review it!

Changed in #97


Cannot run clangd tests with llvm-lit directly

Run this:
$LLVM/bin/llvm-lit -vv $LLVM/clang-tools-extra/clangd/test/rename.test

Expected: the test is run.
Actual: an error is produced
llvm-lit: /home/ibiryukov/projects/llvm/llvm/utils/lit/lit/TestingConfig.py:102: fatal: unable to parse config file '/home/ibiryukov/projects/llvm/clang-tools-extra/clangd/test/lit.cfg.py', traceback: Traceback (most recent call last):
  File "/home/ibiryukov/projects/llvm/llvm/utils/lit/lit/TestingConfig.py", line 89, in load_from_path
    exec(compile(data, path, 'exec'), cfg_globals, None)
  File "/home/ibiryukov/projects/llvm/clang-tools-extra/clangd/test/lit.cfg.py", line 4, in <module>
    lit.llvm.llvm_config.use_clang()
  File "/home/ibiryukov/projects/llvm/llvm/utils/lit/lit/llvm/config.py", line 413, in use_clang
    self.add_tool_substitutions(tool_substitutions)
  File "/home/ibiryukov/projects/llvm/llvm/utils/lit/lit/llvm/config.py", line 272, in add_tool_substitutions
    search_dirs = [self.config.llvm_tools_dir]
AttributeError: TestingConfig instance has no attribute 'llvm_tools_dir'

@sam-mccall could you take a look please? There's probably something missing in our configuration, but I have no clue how lit works...

I think it is fixed in https://github.com/llvm/llvm-project/commit/cb74d2e1bdec8510f4ddd41e1ec879d745f40597 by @kadircet.


Checking I18N to zh for pr 357 and pr 351

Description

I noticed there some recent blogs/documents as https://github.com/cncf/tag-env-sustainability/pull/357/files and https://github.com/cncf/tag-env-sustainability/pull/351/files
Outcome

try to read the PR and check if need i18n for those files?
To-Do

[ ] check files as i18n to zh for #351
[ ] check files as i18n to zh for #357

Comments

@leonardpahlke , could you please assign this ticket to me for now?


notify event not fire: the syntax of property-name-changed is wrong

in https://www.polymer-project.org/1.0/docs/devguide/data-binding.html#property-notification:
The event type follows a naming convention of property-changed, where property’s mixedCase words are written with dashes. E.g. a change to  this.firstName will fire first-name-changed. Listeners will receive an event object whose e.detail.value attribute has the changing property’s new value.
in polymer-events.html
you have to do a change (line 41):
compile: function bindPolymerCompile(el, attr) {
var attrMap = {};
for (var prop in attr) {
if (angular.isString(attr[prop])) {
var _match = attr[prop].match(/{{\s*([.\w]+)\s*}}/);
if (_match) {
**     attrMap[prop] = $parse(_match[1]);**
}
}
}
change: attrMap[prop] = $parse(_match[1]);
TO
attrMap[attr.$attr[prop]] = $parse(_match[1]);

@menorless Great catch! I will get the demo updated!


Sort experiences by date

Fix sort experiences by date in both professional and educational sections

Not possible yet (requires API to do a sort)


"Gempyre API has few headers (deprecated)?" What does that mean?

@mmertama
Please elaborate more about this line in README (or here). what should be used instead? should/can i still use gempyre utils' functions?
BTW what does the word "Gempyre" actually mean? looked it up didn't find anything :)

absolutely nothing - I just wanted to have an unique name so it's easier to google.
Pro move

Deprecated functions are marked as [[deprecated]] - you get noticed when build. The functions shall still work and attribute should tell what to use instead.
Thanks. Keep up the great work.


synchronize access to wal storage from chain and node

Type of change

Bug fix

Description
sychronized the access to raft/wal stroage from
node ready loop and chain apply go routine
Related issues
#3903
Signed-off-by: Parameswaran Selvam<EMAIL_ADDRESS>

@Mergifyio backport release-2.5


scalafmt-core 3.7.11 (was 2.7.5)

About this PR
📦 Updates org.scalameta:scalafmt-core from 2.7.5 to 3.7.11 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #241.


Improves callout experience on Android

The WMS Identify sample shows a callout with an embedded web view for identify results. Previously, due to the way callout determines the size of its content, the web view didn’t have an appropriate width until the map was panned enough to force the callout to refresh its layout.
This change override the web view to manually set a constant height and width. Now, when the map is tapped, the html content should be immediately visible without needing to pan the map.

@ThadT Can you please review this? It addresses feedback delivered during certification.

@nCastle1 I didn't see the original behavior for this (so I don't have a baseline), but it looks good to me! :)
Feel free to merge

Thanks for the review! :)


[TVMC] 'tvmc tune' --rpc-tracker and --rpc-tracker fail due to argparse misconfiguration

Fix an error with tvmc tune, that causes --rpc-tracker and --rpc-key to be identified as a list of strings, rather than the expected string type.
Removing the unnecessary nargs solves the issues.
This is a follow-up of https://github.com/apache/incubator-tvm/pull/6762
cc: @leandron

LGTM. @leandron yes, we should summarize the bugfix PRs of TVMC and file a backported PR to v0.7. It would be better to do more tests during this time to make sure all straightforward bugs like this one are fixed.

Yes, we are doing more tests, and planning to fix some - if not all - items on #6792. Then have this 0.7 PR would be cool - leave that to me.

Thanks @giuseros @leandron


name the recipe manually

As it is linked to the date (and only the date) it's impossible to create 2 recipe the same day.
In the validation tile the user should be able to name its recipe

we also need to replace the "validate data" btn by a "create recipe" instead. mainly because this its main action but also because it's easier to understand


#897 complete

This change is

PR is added to the queue for testing as 4. task. (7280694)

Hi @squid48, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Test 94626375 (7280694) build started.

Test (Success) 94626375 build is completed (7280694)
See https://github.com/ThaliTester/TestResults/tree/946263757280694__897_complete_squid48/ for the logs

Test<PHONE_NUMBER>80694(7280694) has failed
See https://github.com/ThaliTester/TestResults/tree/946263757280694__897_complete_squid48/ for the fail logs

PR is added to the queue for testing as 4. task. (b5fe2b0)

Test 94626375 (b5fe2b0) build started.

Test (Success) 94626375 build is completed (b5fe2b0)
See https://github.com/ThaliTester/TestResults/tree/94626375b5fe2b0__897_complete_squid48/ for the logs

Test 94626375b5fe2b0(b5fe2b0) has failed
See https://github.com/ThaliTester/TestResults/tree/94626375b5fe2b0__897_complete_squid48/ for the fail logs

PR is added to the queue for testing as 2. task. (1bd2395)

Test 94626375 (1bd2395) build started.

Build is completed (Fail) but couldn't commit the log file. (1bd2395)
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Error: Command failed: xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
 You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm http fetch 200 https://github.com/hegemonic/taffydb/tarball/7d100bcee0e997ee4977e273cdce60bd8933050e
npm http request GET http://<IP_ADDRESS>:4873/underscore-contrib
npm http 200 http://<IP_ADDRESS>:4873/underscore-contrib
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
npm WARN<EMAIL_ADDRESS>No repository field.


Update README.md to provide installation guide for mac / linux users

📙 Documentation : Update the README.md to provide a detailed installation guide for mac & linux users.

Closes #320  .
📜 Checklist

[X] Works on the ./demo sub directory
[X] Test coverage is excellent and passes
[X] Documentation is thorough

@drahnr Just fixed the failing CI test. Can I seek your review ? Many thanks

Could you squash it into one commit, then we can merge it :) Thank you!

@drahnr Here:
https://github.com/drahnr/cargo-spellcheck/pull/331


[WIP] Update shipping zones GraphQL interface

close #2792

[x] Privileged views and APIs are guarded by proper permission checks.
[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[x] The changes are tested.
[x] The code is documented (docstrings, project documentation).
[x] GraphQL schema and type definitions are up to date.

React part needs to be updated by the React hero @dominik-zeglen


Telnet server bot, adding data.json in mongo superscriptDB not updating it.

I am running a telnet client based bot, and i am developing Superscript script for my bot. i am noticing that the telnet server.js app for the bot, stores the data from data.json file in mongodb DB called superscriptDB and everytime, i start the application, after re-compiling my main.ss to a new data.json, it adds all the gambits, topics and replies on top of the previous ones, onto the mongodb DB.
Is this supposed to be the correct behavior, as any updates that i make in main.ss and hence data.json should replace the old one, not add on top of it.
As the bot is generating the response from superscriptDB, when i talk to him.
Would be very useful for my development, if someone can help me figure this out. Thanks.

I believe this is a duplicate of #95 . I have a temporary fix for this in that thread until a more perm fix is done.

Thanks @ganarajpr Will use your temp fix for now.


Implementing a tableview on the left viewcontroller

Hi Dekatotoro, first of all, thank you very much for making this library, is really easy to use and by far the best slide out menu made with Swift, that i could find.
So here's the deal, i'm trying to implement a Table View on my sidebar ( left view ) so i can create a simple menu.
I'm adding the tableview via storyboard, the view is being added on the app via AppDelegate.swift just like in the example:
private func createMenuView() {
var storyboard = UIStoryboard(name: "Main", bundle: nil)
let mainView = storyboard.instantiateViewControllerWithIdentifier("mainView") as ViewController
mainView.addLeftBarButtonWithImage(UIImage(named: "menuicon")!)
let sideView = storyboard.instantiateViewControllerWithIdentifier("sideView") as SidebarViewController // this is the sidebar
      let nvc: UINavigationController = UINavigationController(rootViewController: mainView)

      let slideOutMenu = SlideMenuController(mainViewController: nvc, leftMenuViewController: sideView)

      nvc.navigationBar.barTintColor = UIColor(red: 0.20392156862, green: 0.59607843137, blue: 0.85882352941, alpha: 1.0) //rgba(52, 152, 219,1.0)
      nvc.navigationBar.barStyle = UIBarStyle.Black
      nvc.navigationBar.tintColor = UIColor.whiteColor()
      nvc.navigationBar.translucent = false

      UIApplication.sharedApplication().statusBarStyle = UIStatusBarStyle.LightContent

      self.window?.backgroundColor = UIColor(red: 236.0, green: 238.0, blue: 241.0, alpha: 1.0)
      self.window?.rootViewController = slideOutMenu
      self.window?.makeKeyAndVisible()

 }

The problem is the tableview is being added above everything, any idea on why this is happening

Thank you!

decao, did you solve this problem? I am having a very similar one that I have been unable to figure out. Thanks!

Hey @qrodgers13 is actually pretty easy to solve, you can remove the MENU view controller from the Storyboard, and replace by a table view controller VIEW.
Or you can add constrains to your current table in your view.

@decaobr Thank you! You were right - added some simple constraints and it worked right away.