cmd creation of component generates error in module

VSCode Version: Code 1.19.0 (816be6780ca8bd0ab80314e11478c48c70d09383, 2017-12-14T12:06:43.492Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.4.3

tslint
eg2
1.0.24

git-tree-compare
let
1.1.4

debugger-for-chrome
msj
4.0.0

background
sha
1.1.17

Steps to Reproduce:

ng generate component componetName

Reproduces without extensions: Yes
Explanation - Whenever you generate a component through the terminal, when it generates the references in the module it creates errors for those references.
i.e:
import { MaintainUserComponent } from './maintain-user/maintain-user.componen; import { NotFoundComponent } from './not-found/not-found.component't';
And
@NgModule({     declarations: [         MaintainUserCompone,         NotFoundComponentnt,
It's simple to fix, it's just monotonous. I've had this problem in three different projects

Whenever you generate a component through the terminal

Are you referring to the integrated terminal or external terminal or it doesn't matter which?
Can you elaborate on what the errors are and how you fix them?
Screenshots help a lot

It's happening in both integrated and external terminal.
Here's a screenshot of what happens:

So the errors are generated when it creates the component and tries to add the new components reference to the related module.
I fix it just by going in and fixing the values that broken. Nothing really technical, it's just a small problem I found.

This seems like an issue with the ng command, right?

Closing as I believe this is an external issue


RaidenError: nonce mismatch

Thanks for filing a bug report :-)
Steps to Reproduce

Should have withdrawn previously
transfer to the light client or simply connecting to the light client

Expected Result

The light client should be synched with the correct nonce

Actual Result

The light client gets

{
  "type": "transfer/failure",
  "payload": {
    "details": {
      "condition": false
    },
    "name": "RaidenError"
  },
  "meta": {
    "secrethash": "0xff588f59cf4e76fce7e56936ce2fc00b92c922d3886a490d0a8c1a480bac19fb",
    "direction": "received"
  },
  "error": true
}

raiden_2020-07-21T12_29_18.130Z.log
Initiator node log
node-F128A4-mainnet.21thJuly2020.log.tar.gz
Mediating node logs
node-1Fd883-mainnet.21thJuly2020.log.tar.gz
Additional Infos (Optional)
- Browser & version
- Browser console errors
- Device / OS

We are trying to reproduce the issue.
A better solution would be to do a resync.
It would need a protocol change
CC @Dominik1999 @karlb

Additional information:

@agatsoh's notebook crashed during withdraw

Current issues look cut

I wasn't able to reproduce the exact error, but I have managed to get my channel out of sync
I was doing the following things quite a few times to get to this state:

Making a withdraw or transfer
Closing Firefox with the task manager

Now I am not able to do withdrawals or transfers anymore. I don't see an error in the logs.
It is a channel with hub.raiden.eth. My address is 0x8c8492280cB454F2753DBb9a3114F4DA80F66714
Logs:
raiden_2020-07-30T07 38 51.453Z.log

Is this something we can help with? We will start normal working next week again

@Dominik1999 Thanks for your support :) We need to do some investigation on the Raiden Hub first (get the logs). Afterwards we might reach out to you.

Here are the corresponding raiden logs:
raiden_20200710.zip
raiden_20200730.zip

@eorituz Great, thanks :) I have updated your comment with a reference to the comments.

@hackaugusto Is this maybe related to https://github.com/raiden-network/light-client/issues/2025?

I just ran BF1 scenario (#1948) replacing the node3 with a Raiden-py client (the other nodes running LC-CLI clients). This node3 gets withdrawn, and after it transfer from, to and through it, and the scenario passed, hinting, at least on the scenario, the nonce/message syncing is behaving as expected. So, it's either something not visible on the protocol side, or something "environmental", like state loss or network issues.

@andrevmatos I think it is state loss. The messages are sent but not stored in the state because the computer or browser crashed before it could have been stored.

We have decided to make an architectural change using IndexedDB.

[ ] Reproduce the bug with a test @andrevmatos
[ ] Create an issue which describes the new design @andrevmatos

Retest once #2044 is implemented. Moving it to the backlog


[Event Request] codeunit 5520 "Get Unplanned Demand" - Publisher in procedure CalcNeededDemands

Describe the request
We could use 2 new publisher in codeunit 5520 "Get Unplanned Demand".
In procedure CalcNeededDemands existing code is:
local procedure CalcNeededDemands(var UnplannedDemand: Record "Unplanned Demand")
    var
        TempUnplannedDemand: Record "Unplanned Demand" temporary;
        OrderPlanningMgt: Codeunit "Order Planning Mgt.";
        HeaderExists: Boolean;
        ForceIncludeDemand: Boolean;
    begin
        with TempUnplannedDemand do begin
            UnplannedDemand.Reset();
            MoveUnplannedDemand(UnplannedDemand, TempUnplannedDemand);

            SetCurrentKey("Demand Date", Level);
            SetRange(Level, 1);
            while Find('-') do begin
                HeaderExists := false;
                repeat
                    UpdateWindow();
                    UnplannedDemand := TempUnplannedDemand;
                    if UnplannedDemand."Special Order" then
                        UnplannedDemand."Needed Qty. (Base)" := "Quantity (Base)"
                    else
                        UnplannedDemand."Needed Qty. (Base)" :=
                          OrderPlanningMgt.CalcNeededQty(
                            OrderPlanningMgt.CalcATPQty("Item No.", "Variant Code", "Location Code", "Demand Date") +
                            CalcDemand(TempUnplannedDemand, false) + CalcDemand(UnplannedDemand, true),
                            "Quantity (Base)");

                    if UnplannedDemand."Demand Type" = UnplannedDemand."Demand Type"::Job then
                        UnplannedDemand."Needed Qty. (Base)" -= ReduceJobRealtedQtyReceivedNotInvoiced(UnplannedDemand."Demand Order No.", "Item No.", "Variant Code", "Location Code", "Demand Date");

                    ForceIncludeDemand :=
                      (UnplannedDemand."Demand Order No." = IncludeMetDemandForSpecificSalesOrderNo) and
                      (UnplannedDemand."Demand Type" = UnplannedDemand."Demand Type"::Sales) and
                      (UnplannedDemand."Demand SubType" = SalesLine."Document Type"::Order.AsInteger());

                    OnCalcNeededDemandsOnAfterCalcForceIncludeDemand(UnplannedDemand, ForceIncludeDemand);
                    if ForceIncludeDemand or (UnplannedDemand."Needed Qty. (Base)" > 0)
                    then begin
                        UnplannedDemand.Insert();
                        if not HeaderExists then begin
                            InsertUnplannedDemandHeader(TempUnplannedDemand, UnplannedDemand);
                            HeaderExists := true;
                            SetRange("Demand Type", "Demand Type");
                            SetRange("Demand SubType", "Demand SubType");
                            SetRange("Demand Order No.", "Demand Order No.");
                        end;
                    end;
                    Delete();
                until Next() = 0;
                SetRange("Demand Type");
                SetRange("Demand SubType");
                SetRange("Demand Order No.");
            end;
        end;
    end;

our suggestion:
    local procedure CalcNeededDemands(var UnplannedDemand: Record "Unplanned Demand")
    var
        TempUnplannedDemand: Record "Unplanned Demand" temporary;
        OrderPlanningMgt: Codeunit "Order Planning Mgt.";
        HeaderExists: Boolean;
        ForceIncludeDemand: Boolean;
    begin
        with TempUnplannedDemand do begin
            UnplannedDemand.Reset();
            MoveUnplannedDemand(UnplannedDemand, TempUnplannedDemand);

            SetCurrentKey("Demand Date", Level);
            SetRange(Level, 1);
            while Find('-') do begin
                HeaderExists := false;
                repeat
                    UpdateWindow();
                    UnplannedDemand := TempUnplannedDemand;
                    OnCalcNeededDemandsAfterMoveUnplannedDemand(UnplannedDemand, TempUnplannedDemand, SkipCalcNeededQty, AvailableInvMsgText);
                    if UnplannedDemand."Special Order" then
                        UnplannedDemand."Needed Qty. (Base)" := "Quantity (Base)"
                    else
                        UnplannedDemand."Needed Qty. (Base)" :=
                          OrderPlanningMgt.CalcNeededQty(
                            OrderPlanningMgt.CalcATPQty("Item No.", "Variant Code", "Location Code", "Demand Date") +
                            CalcDemand(TempUnplannedDemand, false) + CalcDemand(UnplannedDemand, true),
                            "Quantity (Base)");

                    if UnplannedDemand."Demand Type" = UnplannedDemand."Demand Type"::Job then
                        UnplannedDemand."Needed Qty. (Base)" -= ReduceJobRealtedQtyReceivedNotInvoiced(UnplannedDemand."Demand Order No.", "Item No.", "Variant Code", "Location Code", "Demand Date");

                    ForceIncludeDemand :=
                      (UnplannedDemand."Demand Order No." = IncludeMetDemandForSpecificSalesOrderNo) and
                      (UnplannedDemand."Demand Type" = UnplannedDemand."Demand Type"::Sales) and
                      (UnplannedDemand."Demand SubType" = SalesLine."Document Type"::Order.AsInteger());

                    OnCalcNeededDemandsOnAfterCalcForceIncludeDemand(UnplannedDemand, ForceIncludeDemand);
                    if ForceIncludeDemand or (UnplannedDemand."Needed Qty. (Base)" > 0)
                    then begin
                        UnplannedDemand.Insert();
                        if not HeaderExists then begin
                            InsertUnplannedDemandHeader(TempUnplannedDemand, UnplannedDemand);
                            HeaderExists := true;
                            SetRange("Demand Type", "Demand Type");
                            SetRange("Demand SubType", "Demand SubType");
                            SetRange("Demand Order No.", "Demand Order No.");
                        end;
                    end;
                    Delete();
                until Next() = 0;
                SetRange("Demand Type");
                SetRange("Demand SubType");
                SetRange("Demand Order No.");
            end;
        end;
        OnAfterCalcNeededDemands(AvailableInvMsgText);
    end;

    [IntegrationEvent(false, false)]
    local procedure OnCalcNeededDemandsAfterMoveUnplannedDemand(var UnplannedDemand: Record "Unplanned Demand"; var TempUnplannedDemand: Record "Unplanned Demand" temporary; var SkipCalcNeededQty: Boolean; var AvailableInvMsgText: Text)
    begin
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterCalcNeededDemands(AvailableInvMsgText: Text)
    begin
    end;

Additional context
At this point we need to store some additional calculations for our customer as precheck.
Internal work item: AB#538405

Hi,
Is this specific country version? We don't have SkipCalcNeededQty, AvailableInvMsgText variables in W1.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 20959.


Image URL is Broken

Example https://github.com/cncf/tag-app-delivery/blob/main/website/content/_index.md

This is the intended behavior as I noted above, cause the images render properly in the actual site. It would nevertheless be nice to fix this so images render in the raw files in GitHub too. If someone figures out how to achieve that please open a new issue and PR and help us out; in the meantime let's close this issue.


Set elevation of the searchBar

I can't find a way to set the elevation of the searchBar. Is it possible?

It's not possible to do out-of-the-box, but you can always do something like this:
      ((CardView)mSearchView.findViewById(R.id.search_query_section)).setCardElevation(Util.dpToPx(50));
But bear in mind that it could mess up the look of the bottom of the search bar. I think it's worth experimenting.
Regards,
Ari


no-extraneous-dependencies ignore Babel Macros plugins

An option to allow Babel macros plugins would be nice.

This is an eslint plugin; I’m not sure what that would entail, but i also have no idea what babel macros is.

@ljharb
Thanks for your quick response.
Yes, I'm totally aware that this is an eslint plugin.
Babel macros are by default enabled since Babel@v7.

https://babeljs.io/blog/2018/08/27/7.0.0#babel-macros
https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros

For example I use import-all.macro which prints a warning, though the expanded imports are all fine (non-dev-dependencies).

This is the sort of thing - like path transformation - that goes beyond what static analysis can trivially do.
Linters run on the raw code; but these kinds of transformations (which predate macros) require the linter to either be tightly coupled to the transformer (a bad idea) or require partially-transpiled code to be what's linted (error messages get confusing).
My personal opinion is that a macro like that adds implicitness to your code, and thus is a terrible idea to use in the first place. The farther you drift from "standard node resolution" the harder your code is to understand and maintain.

@ljharb Waauu, you are really taking care of your project, you are answering light speed mode :flushed:

This is the sort of thing - like path transformation - that goes beyond what static analysis can trivially do.
I absolutely agree ... static, context-free grammars are easy to handle, in contrast to dynamic, context-sensitive grammars

Linters run on the raw code;
You are all right

but these kinds of transformations (which predate macros) require the linter to either be tightly coupled to the transformer (a bad idea) or require partially-transpiled code to be what's linted (error messages get confusing).
You are also right here in general ...  my intention is to ignore/avoid linting in case of an babel-macro import.
I think since it's possible to white-list globs, it would be also nice to white-list certain imports.

My personal opinion is that a macro like that adds implicitness to your code, and thus is a terrible idea to use in the first place. The farther you drift from "standard node resolution" the harder your code is to understand and maintain.
Thank you for your opinion.
Though here I disagree, by explicitly importing the babel macro, any implicitness is turned into explicitness. Furthermore macro-expansions in general used right, are always a maintainability boost.

IMHO Babel-Macros are genius approach and would like to ask you to study the full problem/motivation/solution write-up:
https://github.com/kentcdodds/babel-plugin-macros#the-problem

I'm very much not convinced on macros as a whole, but that doesn't change the underlying issue - there's no maintainable way for any static analysis tool to generically support partial code transformation, something that was true long before babel macros existed.
The specific no-extraneous-deps rule could perhaps add an ignore list (altho you'll be able to use bundledDependencies in the next release to achieve the same thing), but that requires manual maintenance by the user, so I don't think that's a very elegant solution.

Sure, I see it as an opt-in option and responsibility is at user-land.

Happy to reopen if there appears a babel macro where it actually makes sense not to add it to dependencies explicitly.


Infinite loop lead to OOM in WebSocket

In WebSocket.swift(near line 1248)
while !sOperation.isCancelled {
                let stream = s.stream
                let writeBuffer = UnsafeRawPointer(frame!.bytes+total).assumingMemoryBound(to: UInt8.self)
                let len = stream.write(data: Data(bytes: writeBuffer, count: offset-total))
                if len < 0 {
                    var error: Error?
                        let errCode = InternalErrorCode.outputStreamWriteError.rawValue
                        error = s.errorWithDetail("output stream error during write", code: errCode)
                    s.doDisconnect(error)
                    break
                } else {
                    total += len
                }

When the 'len' returned from stream.write is 0(inside write function, 0 is returned when outputStream is nil), therefore 'total' will not be increased, leading to infinite loop.
For a quick fix, is it OK to change the if statement 'len < 0' to 'len <= 0' so the loop would exit through error handling logic, to resolve the issue for now?

This has been added in version 3.0.3!


Use Ctrl-D to exit like bash, Use Ctrl-C to cancel input

TIA!

Currenly, this program detect input and if input is exit, it will exit. However, it limit its usage. which make it even cannot be a translator:
> Please translate the following word to Chinese, just input Chinese.

Sure, please provide the word or phrase you would like me to translate to Chinese.

> hello

你好 (nǐ hǎo)

> exit

退出 (tuìchū)

I suggest give up the function exit/q to exit, just use C-D to replace it. The name of this program is ChatGPT-shell, Why not make it like a true bash?

Well, did you check the big prompt option?
  -b, --big-prompt           Allow multi-line prompts during chat mode

It can be improved, of course. Instead of using the cat command, there is some things you can do to use bash readline with read command. My chatgpt.sh wrapper is probably too code-spaghetty to be readable but multiline input can be implemented in various ways.

I'm not sure if i'm using the option properly but when asking chatgpt it tells me the same thing that option isn't properly "mapped".
chatgpt
Yes, there is a bug in the script. The bug is in the section where the script checks for the  --big-prompt  option. The
script incorrectly uses the  --big-prompt  option instead of the correct option  --multi-line-prompt . To fix the bug, you
need to replace all occurrences of  --big-prompt  with  --multi-line-prompt  in the script.


ERROR: Could not open audio device: ALSA: Couldn't open audio device: Host is down(fixed itself)

Hello, I have a problem with the sound. Here is information about the hardware and terminal output.
I have read the FAQ.
I have searched in existing issues.

OS: Fedora Linux 39
scrcpy version: 2.2
installation method: dnf
device model: Google Pixel 6a
Android version: 14

Terminal output:
scrcpy v2.2 <https://github.com/Genymobile/scrcpy>
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
INFO: ADB device found:
INFO:     -->   (usb)  2A151JEGR05439                  device  Pixel_6a
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 552.0 MB/s (64363 bytes in 0.000s)
[server] INFO: Device: [Google] google Pixel 6a (Android 14)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 23.2.1
INFO: Trilinear filtering enabled
INFO: Texture: 1080x2400
ERROR: Could not open audio device: ALSA: Couldn't open audio device: Host is down
ERROR: Demuxer error

I tried running it with the command: scrcpy --no-audio
As a result, there is video, but no sound.
Please help me solve the problem.
Any help is greatly appreciated!

In this case, everything was fixed for me after rebooting the system.

Hello, I have a problem with the sound. Here is information about the hardware and terminal output. I have read the FAQ. I have searched in existing issues.

OS: Fedora Linux 39
scrcpy version: 2.2
installation method: dnf
device model: Google Pixel 6a
Android version: 14

Terminal output:
scrcpy v2.2 <https://github.com/Genymobile/scrcpy>
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
INFO: ADB device found:
INFO:     -->   (usb)  2A151JEGR05439                  device  Pixel_6a
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 552.0 MB/s (64363 bytes in 0.000s)
[server] INFO: Device: [Google] google Pixel 6a (Android 14)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 23.2.1
INFO: Trilinear filtering enabled
INFO: Texture: 1080x2400
ERROR: Could not open audio device: ALSA: Couldn't open audio device: Host is down
ERROR: Demuxer error

I tried running it with the command: scrcpy --no-audio As a result, there is video, but no sound. Please help me solve the problem. Any help is greatly appreciated!

you save my life.

;)
пн, 13 нояб. 2023 г., 12:11 李艺为 @.***>:

Hello, I have a problem with the sound. Here is information about the
hardware and terminal output. I have read the FAQ
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md. I have
searched in existing issues https://github.com/Genymobile/scrcpy/issues.

OS: Fedora Linux 39
scrcpy version: 2.2
installation method: dnf
device model: Google Pixel 6a
Android version: 14

Terminal output:
scrcpy v2.2 https://github.com/Genymobile/scrcpy
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
INFO: ADB device found:
INFO:     -->   (usb)  2A151JEGR05439                  device  Pixel_6a
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 552.0 MB/s (64363 bytes in 0.000s)
[server] INFO: Device: [Google] google Pixel 6a (Android 14)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 23.2.1
INFO: Trilinear filtering enabled
INFO: Texture: 1080x2400
ERROR: Could not open audio device: ALSA: Couldn't open audio device: Host is down
ERROR: Demuxer error
I tried running it with the command: scrcpy --no-audio As a result, there
is video, but no sound. Please help me solve the problem.
—
Reply to this email directly, view it on GitHub
https://github.com/Genymobile/scrcpy/issues/4415#issuecomment-1807643802,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX5EVDHPI4HFR4FQKPEMCOLYEHI35AVCNFSM6AAAAAA7ESJ2SKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGY2DGOBQGI
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Fails to honour .mailmap

I tried to use a .mailmap to note the correct authors, however it does not honour the .mailcap. Is this on the roadmap?
https://git-scm.com/docs/git-shortlog#_mapping_authors

Not yet, but can be a feature request.

It's not a priority, it's a "nice to have".


⚠ Secret Website 2 has degraded performance

In d44a052, Secret Website 2 ($SECRET_WEBSITE_2) experienced degraded performance:

HTTP code: 200
Response time: 28951 ms

Resolved: Secret Website 2 performance has improved in ca56547.


Fix test assertions after fixes in #951

NetflixOSS » Hystrix » Hystrix-pull-requests #232 SUCCESS
This pull request looks good


new-data

implements the new data set with changed row names and content.

:tada: This PR is included in version 1.0.0-rc.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Update-ATWSFunctions typo

Pedantically small issue but the Update-ATWSFunctions cmdlet seems to have a typo on the word "Overwrite"
Output:
Update-AtwsFunctions: About to create and oiverwrite Static functions for 77 entities. Do you want to continue?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):

Thank you for letting me know! It is nice to have something easy to fix for a change 😉

My pleasure, thanks again for all your hard work on this invaluable tool :)


fix: data objects requires language version 1.9

We need to configure it until it become stable
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
    kotlinOptions.languageVersion = "1.9"
}

And this would force consumer to update as well, otherwise they will get an error like this:
Class 'com.adevinta.spark.Spark' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler

Ah Right! Thanks for the explanation 👍


Add Portuguese for locale

Create a Portuguese pt_BR translation.
Use pt_BR as all pt_* variants.

Thank you


Feat/energyquery/buildingprofile

Checklist

[X] Tests have been written/updated (if necessary)

[X] All tests are passing

[X] Docs have been updated (if necessary)
[X] Updated Linear issue to In Review

Description
BuildingProfile has been added with all functionalitiets. Theses functionalatities have been described in the documentation.

Confirmed that it works on iOS fine


Fix a bug in ImagickDriver::pixelate that caused a DivideByZero excep…

Hi there :)
Line 477 in ImagickDriver caused a DivideByZero exception.

   FAIL  Tests\Manipulations\PixelateTest
  ⨯ it can pixelate an image with dataset "imagick" / (0)                                                                                0.02s
  ✓ it can pixelate an image with dataset "imagick" / (50)                                                                                0.16s
  ✓ it can pixelate an image with dataset "imagick" / (100)                                                                                0.12s
  ✓ it can pixelate an image with dataset "gd" / (0)                                                                                0.11s
  ✓ it can pixelate an image with dataset "gd" / (50)                                                                                0.12s
  ✓ it can pixelate an image with dataset "gd" / (100)                                                                                0.12s
  ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  FAILED  Tests\Manipulations\PixelateTest > it can pixelate an image with dataset "imagick" / (0)                                                                            DivisionByZeroError
  Division by zero

  at src/Drivers/Imagick/ImagickDriver.php:477
    473▕         $width = $this->getWidth();
    474▕         $height = $this->getHeight();
    475▕
    476▕         foreach ($this->image as $image) {
  ➜ 477▕             $image->scaleImage(max(1, (int) ($width / $pixelate)), max(1, (int) ($height / $pixelate)));
    478▕             $image->scaleImage($width, $height);
    479▕         }
    480▕
    481▕         return $this;

  1   src/Drivers/Imagick/ImagickDriver.php:477
  2   src/Image.php:266

  Tests:    1 failed, 5 passed (5 assertions)
  Duration: 0.74s

I just wrapped the pixelate logic in a conditional, to run only when $pixelate !== 0.
The method signatures for all 3 "effect" methods that require argument values remain the same.
The tests are updated (BlurTest and SharpenTest too) to cover edge cases and to
stay consistent across the three method's i mentioned.
btw... <3
Regard's Alex
p.s. dont know why the rotation snapshots got updated. didnt mess with those

This PR contains a lot of stylistic changes (how null is checked, strict type checking).
Could you remove those change and only change the bare necessities?

Of course. Would it perhaps be best to close the pr and open a new one? sorry if I'm causing trouble;x


Fix tests not building on Linux

This PR fixes tests from building + some warnings
It also adds linux to CI, making sure such errors don't get merged

Huh, so it fails because it can't find the dll :D
Which makes sense, cause they'd be .so on linux. Lemme check how to fix that

Alright, had to figure out that the tests were skipped (without being marked as such) when you don't have python installed :D
It is now working for me, with python installed.

FYI, I'm going to merge this regardless just so you have "Contributor" permissions, since otherwise I have to constantly manually approve your runs.

(If you can please also fix the Windows build issue, otherwise I'll look into that later)

Thanks for the PR btw :)

FYI, I'm going to merge this regardless just so you have "Contributor" permissions, since otherwise I have to constantly manually approve your runs.

Yeah, shame GitHub is not super ergonomic here... and I don't have a windows machine to test.
Sorry for the noise!

(If you can please also fix the Windows build issue, otherwise I'll look into that later)

I've opened #132 for that


One Belt One Road Plan

After looking at the localisation files I was honestly quite surprised that the One Belt One Road Plan and the Shanghai Cooperation Organisation didn't have any sort of decisions in this mod. Anyways I have copy and pasted in summaries from Wikipedia and put them in italics to give a short summary of what the One Belt One Road Plan and the Shanghai Cooperation Organisation is. I've also posted some sources below each of the summaries to provide more information about these two topics.
One Belt One Road Plan

The Silk Road Economic Belt and the 21st-century Maritime Silk Road, also known as The Belt and Road (abbreviated B&R), One Belt, One Road (abbreviated OBOR) or the Belt and Road Initiative is a development strategy and framework, proposed by Chinese paramount leader Xi Jinping that focuses on connectivity and cooperation among countries primarily between the People's Republic of China and the rest of Eurasia, which consists of two main components, the land-based "Silk Road Economic Belt" (SREB) and oceangoing "Maritime Silk Road" (MSR). The strategy underlines China's push to take a bigger role in global affairs, and its need for priority capacity cooperation in areas such as steel manufacturing.
It was unveiled in September and October 2013 in announcements revealing the SREB and MSR, respectively. It was also promoted by Premier Li Keqiang during the State visit in Asia and Europe.
Sources
http://www.eiu.com/topic/one-belt-one-road
https://ig.ft.com/sites/special-reports/one-belt-one-road/
http://www.mckinsey.com/global-themes/china/chinas-one-belt-one-road-will-it-reshape-global-trade
http://thediplomat.com/tag/one-belt-one-road/

SCO already is in the mod.

Ok I have removed the sco from this issue

I like your idea on doing something (decisions and/or events) on China increased power. Please make it 👍

Overall the plan I have for the One Belt One Road Plan is quite basic however it features a lot of decisions to represent the numerous countries that China has funded economic development in. The requisites for triggering the decisions are that China has at least a greater power ranking above 4 and the Soviet Union does not exist. As for actually activating these decisions China would need positive relations with the country that owns the province that the decision is targeting and would also need a large amount of money. Upon activating the decisions the provinces that the decisions would be targeting will get automatically get infrastructure constructed such as railways, ports etc. In addition to this, the decision would also increase Chinese diplomatic influence within that country.

Could this work as a COMECON/World Bank type system with upgraded infrastructure instead of bank loans. Have a prestige giving decision for China that triggers the decision chain. Add a country modifier to applying countries with an economic bonus that expires after some time i.e. would represent general investment and you could apply for more investment after time. Have a relations requirement instead of a government type requirement (maybe have different relation requirements for different levels of infrastructure i.e. over 50 lvl 1, over 100 lvl 2). You would have infrastructure development, influence increases and a decision for China to choose based off it's on budget.


Fixed DI issue and Cleaned up code

Closes #20
Registered httpclient and RESFulSense in .NET fashion.

used Microsoft.Extensions.Http to register HttpClient
setup base url for the http client in the DI
Used a DelegatingHangler to set Bearer tokens and Organization id headers in the request
Registered IRESTFulSenseHttpFactoryClient
Cleaned up initialization code from broker.

Used constant strings instead of magic strings for better readability.

Removed magic strings ("Bearer", "application/json")
Removed some warnings (, usages)

Please review Contribution Rules


Multiple copies of @salt-ds installed when using<EMAIL_ADDRESS>

Package name(s)
Core v1.0.0 (@salt-ds/core), Lab v1.0.0-alpha.0 (@salt-ds/lab), Data Grid v1.0.0 (@salt-ds/data-grid)
Description
<EMAIL_ADDRESS>uses core v1.1.0 and lab v1.0.0-alpha.1 without ^, which means when used together with newer version of core/lab packages, multiple versions of core/lab are installed.
Is this intentional?
Steps to reproduce
Sample package.json dependencies
    "@salt-ds/core": "^1.2.0",
    "@salt-ds/data-grid": "^1.0.1",
    "@salt-ds/lab": "^1.0.0-alpha.2",

2 copies of core and lab packages are installed, due to data-grid package depend on exact version of packages
yarn info<EMAIL_ADDRESS>gives
  dependencies: {
    clsx: '^1.2.1',
    '@salt-ds/core': '1.1.0',
    '@salt-ds/lab': '1.0.0-alpha.1'
  },

Expected behavior
One copy of core package is needed when using latest version of core, lab, data-grid
Operating system

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

How does this happen exactly? I assumed our packages are always published with the same version and dependencies and that this part is automated.

How does this happen exactly?

See updated issue description

are always published with the same version and dependencies and that this part is automated.

Yes, so one option is to update the automation to support latest version usage.

Also, "Package name(s)" section came from GitHub issue template which needs to be updated to remove version number.

What's the status of this? @ImmanuelBaskaran

Confirmed this is fixed by #1647


Generating Ground Truth Semantic Map

Great work and thanks for releasing your code. I am currently reproducing the work for MP3D dataset only and would appreciate your responses to the following questions:

Is the ground-truth semantic map for the MP3D environments also available for training our the model solely on MP3D dataset?

A follow-up to the previous question: Any chance you might be releasing the code for generating the ground truth semantic map (referenced here): https://github.com/devendrachaplot/Object-Goal-Navigation/blob/master/envs/habitat/objectgoal_env.py#L112, for cases where we might generate our own mp3d ground truth semantic map.

Thanks!

Hi @zubair-irshad were you able to get a solution for this problem? Thanks.


Drawer组件中使用Select组件，下拉框会被隐藏

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link
https://ant.design/components/drawer-cn/
Steps to reproduce
直接使用官方Drawer From表单测试代码就能复现这个问题
What is expected?
Select组件能在Drawer组件中正常使用
What is actually happening?
Select 下拉框会被隐藏，视乎设置了zindex也无效。

Environment
Info

antd
4.1.1

React
16.8.6

System
mac

Browser
Chrome 80.0.3987.149

close by https://github.com/ant-design/pro-table/pull/355


add alumni type and link to member page

Keep Lorenzo's member page at its old location and add a link in the alumni page.

I don't know whether the line below the name should read "Former Member", some variation of "Alumni/Alumnus/Alumna/Alum", or the previous position.


soc: nrf52: move DCDC enable option out of board options

Because enabling/disabling the DCDC regulator depends on nRF52 series SoC instead on any specific board, I suggest moving the option to Hardware Configuration instead.
Makes some board files obsolete.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #12064   +/-   ##
=======================================
  Coverage   48.05%   48.05%
=======================================
  Files         281      281
  Lines       43414    43414
  Branches    10404    10404
=======================================
  Hits        20862    20862
  Misses      18403    18403
  Partials     4149     4149

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 6b3531b...5ba6a65. Read the comment docs.

BTW, you would probably need a text body on the commit message.

The DCDC converter on the nRF52 SoC series requires an inductor to be connected to the SoC. As such it doesn't seem to be the correct way to move this option at the SoC level. One way would be to define a hidden option like SOC_NRF52X_HAS_DCDC_SUPPORT at the board level. In the future we can move this option to the device tree.

@aurel32 good point. DCDC converter is a SoC feature which requires a board configuration.
But isn‘t it correct then to move the option to SoC, depending on board‘s hidden option?

This used to be in the SoC IIRC and we moved it to the board for the reasons outlined by @aurel32. Since I am unsure whether this is now worth revisiting, I will yield to @cvinayak and @anangl to decide.

@nvlsianpu asked me in #10724 to move the REG0 setting to SoC and REG0 output also depends on the same inductor mentioned by @aurel32

@anangl and @cvinayak can you please both voice your opinion on whether this should be defined at the board or SoC level?

@anang, @cvinayak and @carlescufi and please advise how I should proceed with #10724 as it is related functionality which should be at the same location as the DCDC enable

@anangl and @cvinayak can you please both voice your opinion on whether this should be defined at the board or SoC level?

I think this option should be indeed defined at the SoC level but it should not be enabled by default there, because of the reason mentioned earlier by @aurel32. This enabling should be done at the board level, where we know that on a given board it is safe.
And after moving the option to the SoC level, I don't see a point in keeping this hidden SOC_DCDC_NRF52X option and selecting it by this new one added. The new one should simply replace it.

And after moving the option to the SoC level, I don't see a point in keeping this hidden SOC_DCDC_NRF52X option and selecting it by this new one added. The new one should simply replace it.

I don't know if it is less confusing now.
config SOC_NRF52X_HAS_DCDC_SUPPORT
    default y

looks strange in board's Kconfig.defconfig. Maybe use SOC_NRF52X_BOARD_HAS_DCDC_SUPPORT instead?

First, nRF51 also supports DCDCEN, so the general option should not be specific to nRF52.  The nRF52 adds REG0 so that would be a second option.
I agree the Kconfig option whether DCDCENx is activated on boot belongs at the SOC level.
However, hardware support for this should be indicated in the device tree, with a top-level boolean property as it's part of the PCBA rather than the SOC.  Something like
/ {
	nrf5-dcdc-supported;
	nrf52-dcdc0-supported;
}

Unfortunately this requires a change to the tooling, as the expected
#define DT_NRF5_DCDC_SUPPORTED 1
#define DT_NRF52_DCDC0_SUPPORTED 1

is not generated by the existing device tree processing infrastructure.
If consensus are that this is the right way to indicate hardware support, I'll open a separate issue for that.

@pabigot I like your suggestion!

@chris-makaio any plans to work on this PR?

Well, I would, but I don‘t know the implications from the updated DTS scheme


Non-JSON formatted data or verbose JSON data on AudioTranscriptions couldn’t decode

Describe the bug
I have tested the behavior of new response_format parameter implemented with #114. However, my frontend code always returned a JSON decoding error.
I traced from the breakpoint and found that it catches the error at this line in the method performRequest<ResultType: Codable>() of OpenAI.swift. Errors seems to occur when anything but a specific JSON structure (e.g. plain text) is entered.

Serialized data is also returned as UTF-8 plain text
JSON structure seems to have several patterns (e.g. Verbose JSON)

I tried all formats in the new enum AudioResponseFormat and found that only .json worked fine, text, Verbose JSON, srt and vtt caught any errors.

✅ AudioResponseFormat.json
❌ AudioResponseFormat.text
❌ AudioResponseFormat.verboseJson
❌ AudioResponseFormat.srt
❌ AudioResponseFormat.vtt

I have not tried testing with the AudioTranslations API, but it may contain same problems.

Error example 1

APIErrorResponse(error: OpenAI.APIError(message: "1 validation error for Request\nbody -> response_format\n  value is not a valid enumeration member; permitted: 'json', 'text', 'vtt', 'srt', 'verbose_json' (type=type_error.enum; enum_values=[<ResponseFormat.JSON: 'json'>, <ResponseFormat.TEXT: 'text'>, <ResponseFormat.VTT: 'vtt'>, <ResponseFormat.SRT: 'srt'>, <ResponseFormat.VERBOSE_JSON: 'verbose_json'>])", type: "invalid_request_error", param: nil, code: nil))

Error example 2

dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character 'W' around line 1, column 1." UserInfo={NSDebugDescription=Unexpected character 'W' around line 1, column 1., NSJSONSerializationErrorIndex=0})))

Expected behavior
Correctly decode returned data as JSON or plain text (including vtt, srt).
Desktop (please complete the following information):

OS: macOS
Version 14.1.1

    func audioTranscriptions(
        query: AudioTranscriptionQuery
    ) async throws -> AudioTranscriptionResult {

incorrectly throws JSON decoding error for AudioResponseFormat.srt
we could not use other formats as we need time codes


[Monitor OpenTelemetry] Add Fetch Instrumentation

Packages impacted by this PR
@azure/monitor-opentelemetry
Issues associated with this PR
#29864
Describe the problem that is addressed by this PR
We should support the OTel community instrumentation of the Fetch API directly in the Azure Monitor OpenTelemetry Distro.
Are there test cases added in this PR? (If not, why?)
Added to instrumentation test cases.
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/monitor-opentelemetry

Determined that before releasing as a fully supported instrumentation the preview stage will involve manual addition of "preview" instrumentations.

Any update about this?

@gunzip Please continue to bring your own instrumentation libraries (including fetch/undici) in the manner documented here.


Symfony 4 services need to be public

I'm getting this deprecation warning:

User Deprecated: The "datatables" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead.

Even when I mark the service as public
AppBundle\DataTables:
resource: '../../src/AppBundle/DataTables'
autowire: true
public: true
tags: [ datatable ]

What Symfony version do you use? I can't reproduce the issue using 3.4.4.
I have attached my demo app that I used to reproduce the issue. Could you please try it and let me know whether it works for you? It's ready to go, just run composer install right after unpack. If it works for you, then maybe you will notice what I'm doing differently and advise me. Or feel free to provide me with some demo where the issue is present.
Thank you!
issue7.tar.gz

I'm using 3.4.4 aswell, I downloaded the file and tested, these are the steps to reproduce it:

composer install
click to order column "login"
in debug toolbar check the last ajax request profile
in the profile go to logs and there is the deprecation notice

I have released new version 2.3.1 which addresses this issue. Please upgrade and then change your controller as in the updated wiki (see "Symfony 3.4 and above" example there).
Particularly, you don't need to retrieve this service from the container, so the service should remain private. Instead of getting the service manually, just inject it:
public function usersAction(Request $request, DataTablesInterface $datatables): JsonResponse

Please let me know whether this helps.

the warning is gone after updating and injecting the service.
Thank you a lot!


Change flight toggle

Upon using the fly command, you get the default "You are now flying. Press E to toggle flight." message.
How do I change the toggle from E to another key, such as F?
I believe there is no way to config this yourself as the E toggle message is hardcoded, so in which part of the code would this be changed?
Thanks :)

No, there is no way to change it unless you replace the fly script via a plugin.


[Feature] Disable primary key in version 3.0

Some primary key features are still under development, does not release it in version 3.0.
What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_admit_test


CSS-styled output in Integrated terminal completely replaced by "..." if too long

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:  1.85.1
OS Version: macOS Sonoma 14.2

Steps to Reproduce:

Run this code:

console.log(...[
  "%c" + "0".padStart(9985, "0"),
  "color:#dbbf07",
]);

Nothing is shown but "...". Change the padding to 9984 and text appears again.

Admittedly this is an artificial example, but my log output can become long enough to break this limit and then nothing is shown. Truncation would be somewhat acceptable, better a setting to adjust the limit.
It does work without the styling, but I have colors enabled for better readability and would prefer to keep them ;-)

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.85.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Doesn't same happen in other terminals when you run it directly from Node.js?
For colors in terminal you need to rely on escape sequences, not on CSS: https://github.com/chalk/chalk

does this reproduce in an external terminal?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Allow Releasing new version without changes in codebase

Is your feature request related to a problem? Please describe.
Now when new version is released, its number have to be changed in code.
Describe the solution you'd like
Specify version number within Github workflow, automatically or at least manually
Describe alternatives you've considered
None
Additional context
NA

https://stackoverflow.com/questions/74242135/net-maui-set-version-in-azure-pipelines
https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/appmodel/app-information?view=net-maui-8.0&tabs=windows


Mouse warping in editor plugin doesn't work if no mouse buttons are pressed

Godot 3.0 Windows 10 64 bits
I was implementing a feature that would make holding RMB optional when using freelook (https://github.com/godotengine/godot/issues/10463#issuecomment-340312665). And then I found that Input::warp_mouse_motion(motion_event, rect) is not working at all in this situation.
It doesn't work because InputEventMouseMotion never reports positions outside of the rectangle if no mouse buttons are pressed, but it DOES when buttons are pressed for the very reason of warping the mouse Oo
Is it a bug?

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

Because of this bug, freelook is currently using mouse lock like an FPS. I don't remember well how I did test this bug though...

@Zylann Wasn't this fixed in 3.1? If not, it would be good to have a minimal reproduction project to get it tested and fixed.

From the initial description, I think mouse motion is not reported outside of the rectangle because mouse capture only happens for a dragging gesture, so a button of the mouse needs to be pressed.
However, there is still investigation to be made for freelook mode to not rely on FPS mouse locking.
So currently, freelook uses mouse locking. What was fixed in 3.1 is the fact that sometimes it stayed locked.

Can anyone still reproduce this bug in Godot 3.2.2 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

Closing due to lack of update. Please comment if you can still reproduce this issue in the latest stable version of Godot.

Note, it is not possible to make an MRP because warp_mouse_motion is not exposed to GDScript. Originally this issue is about the inability to implement freelook with RMB using mouse warp instead of locking like an FPS.


When installing requirements im getting this error

i used pip install -r requirements.txt and im getting this error
Collecting rosu_pp_py (from -r requirements.txt (line 11))
Using cached rosu_pp_py-0.9.4.tar.gz (17 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
  Cargo, the Rust package manager, is not installed or is not on PATH.
  This package requires Rust and Cargo to compile extensions. Install it through
  the system's package manager or via https://rustup.rs/

  Checking for Rust toolchain....
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

nvm i solved that

i should add that to the readme, thanks -- i will reopen until i do that


Create a CONTRIBUTING.md file

We should state what are the code style guidelines and whatever other rules for contributions we have (I think that, for now, only code style haha).
I think that the CS guideline we're following is: PSR-1 with braces in the same line. However, my memory is awful, so this should be investigated in the Ardent main class before commiting a CS guideline into the repository.
Inspired by #151

Guess this is superseeded by #268


Know the progression of files being cached

Library Affected:
workbox-sw
Browser & Platform:
"all browsers".
Issue or Feature Request Description:
I made a webpage where the user can click on a button to cache videos with workbox.
I need to display a progress-bar, but I didn't manage to be aware of the progression of the video being cached.
With the custom plugins i can only be aware of the state before and after the caching but nothing concerning the advancement of the download.
Is there any way to be aware of this progression ?
Thanks,
Adrien

Library Affected:
workbox-sw
Browser & Platform:
"all browsers".
Issue or Feature Request Description:
I made a webpage where the user can click on a button to cache videos with workbox.
I need to display a progress-bar, but I didn't manage to be aware of the progression of the video being cached.
With the custom plugins i can only be aware of the state before and after the caching but nothing concerning the advancement of the download.
Is there any way to be aware of this progression ?
Thanks,
Adrien

Did you resolve this issue?

Just wanted to add some of my learnings for reference in case it will help others.
If you are hosting video on a separate domain from your web app, one challenge with the fetch-progress-indicators approach is that it wraps the stream with a new ReadableStream, which unfortunately does not have the {type: "cors"}. In Safari, this causes loading videos through the serviceWorker to break because it makes byte-range requests to progressively load the video and the non-cors request that is saved in the cache is opaque, meaning that these byte range requests fail.
I'm still working out a solution to this issue, but it's something to be aware of when trying to solve the problem in the original ticket.


A  memory error occured yesterday

Hi,
libuv v0.11.28
Debian kernel 3.2.63 x86_64
Our service is out of control suddenly yesterday.
First, I use strace to get  syscalls, and found:
clock_gettime(0x54db3899 /* CLOCK_??? */, 0x7f4800730e00) = -1 EINVAL (Invalid argument)
epoll_wait(9, {{EPOLLOUT, {u32=14, u64=14}}}, 1024,<PHONE_NUMBER>) = 1
clock_gettime(0x54db3899 /* CLOCK_??? */, 0x7f480072dd80) = -1 EINVAL (Invalid argument)
writev(14, [], 0)                       = 0
clock_gettime(0x54db3899 /* CLOCK_??? */, 0x7f4800730e00) = -1 EINVAL (Invalid argument)
epoll_wait(9, {{EPOLLOUT, {u32=14, u64=14}}}, 1024,<PHONE_NUMBER>) = 1
clock_gettime(0x54db3899 /* CLOCK_??? */, 0x7f480072dd80) = -1 EINVAL (Invalid argument)
writev(14, [], 0)                       = 0
clock_gettime(0x54db3899 /* CLOCK_??? */, 0x7f4800730e00) = -1 EINVAL (Invalid argument)
epoll_wait(9, {{EPOLLOUT, {u32=14, u64=14}}}, 1024,<PHONE_NUMBER>) = 1
clock_gettime(0x54db3899 /* CLOCK_??? */, 0x7f480072dd80) = -1 EINVAL (Invalid argument)
writev(14, [], 0)                       = 0

So, i use gdb to catch what happened, then I got the following:
Breakpoint 4, uv__hrtime (type=UV_CLOCK_FAST) at deps/uv/src/unix/linux-core.c:331
331	  if (type == UV_CLOCK_FAST && fast_clock_id == -1) {
(gdb) p fast_clock_id
$5 =<PHONE_NUMBER>
(gdb) n
340	  clock_id = CLOCK_MONOTONIC;
(gdb) n
341	  if (type == UV_CLOCK_FAST)
(gdb) n
342	    clock_id = fast_clock_id;
(gdb) n
344	  if (clock_gettime(clock_id, &t))
(gdb) n
345	    return 0;  /* Not really possible. */
(gdb) n
348	}
(gdb) c
Continuing.

Breakpoint 3, uv__write (stream=0x1f63c90) at deps/uv/src/unix/stream.c:704
704	  assert(uv__stream_fd(stream) >= 0);
(gdb) n
706	  if (QUEUE_EMPTY(&stream->write_queue))
(gdb) n
709	  q = QUEUE_HEAD(&stream->write_queue);
(gdb) n
710	  req = QUEUE_DATA(q, uv_write_t, queue);
(gdb) n
711	  assert(req->handle == stream);
(gdb) n
718	  iov = (struct iovec*) &(req->bufs[req->write_index]);
(gdb) n
719	  iovcnt = req->nbufs - req->write_index;
(gdb) n
721	  iovmax = uv__getiovmax();
(gdb) s
uv__getiovmax () at deps/uv/src/unix/stream.c:686
686	  if (iovmax == -1)
(gdb) n
688	  return iovmax;
(gdb) p iovmax
$6 = 0
(gdb) n
692	}
(gdb) n
uv__write (stream=0x1f63c90) at deps/uv/src/unix/stream.c:724
724	  if (iovcnt > iovmax)
(gdb) p iovcnt
$7 = 1
(gdb) n
725	    iovcnt = iovmax;
(gdb) n

This is unbelievable, iovmax and fast_clock_id are static varibles within static functions.
The value of fast_clock_id is<PHONE_NUMBER>, which likes a timestamp and can be convert to 2015/2/11 19:10:17, and since that time, the service became out of control.
The service runs on a virtual mechine, does this matter? I have no idea why it happened.
Thanks!
Xy

AFAIS, clock_gettime would give EINVAL if the given clock id is not supported, but that doesn't explain why it ever worked. Was anything in the system updated while this was running?

@saghul  After restarting the service, it is running well now.
I guess there should be wrong pointers unexpectedly pointing to fast_clock_id and iovmax, but now we can not reproduce it. we will try to reproduce it.

The issue occured once again recently.
Now, we have start our service in our test evironment with being attached by gdb, and setting 2 watchpoints to trace the value changing of fast_clock_id and iovmax. we are waiting for next re-production.

@saghul  I am sorry to tell you that this issue is our own problem. Thanks!

Thanks for the heads up!


ISSUE RELATED TO HOVERING EFFECT OF CARDS

Description
THERE IS NO ANY HOVERING EFFECT OF CARDS IN "OUR FACILITY" SECTION
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@HarshVardhanSalve As those are facilities so we don't need hover effect there ,You can raise someother issue and firstly make sure to star our Repo.


added new exception types

Change Logs
Describe context and summary for this change. Highlight if any code was copied.
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Please prefix hudi jira. and update the PR description.

you can land it once CI is green.


Docs for CIS v2 Scheduling and Alerting

We need to document the new scheduling and alerting enhancements of cisv2

Scheduling userflow
Need to document metrics and alerting user flow

I think this is done. The only other thing that I think could be added would be an example config for the routes if you set up alerting. https://github.com/rancher/docs/pull/2927#issuecomment-748545349


[Feature/extensions] Migrate Create, Update, and Validate actions to extension

Description
Migrates the IndexAnomalyDetectorTransportAction, ValidateAnomalyDetectorTransportAction, their Rest Handlers, and other supporting classes from plugin to extension.
Testing requires adding a document to an index which requires working around #5999 locally.
See SDK #372 for a summary of the changes that you'll see in the diff.
Issues Resolved
Fixes SDK #353.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

just a small suggestion: is it possible to break this huge PR into small PRs for quic review?

just a small suggestion: is it possible to break this huge PR into small PRs for quic review?

Unfortunately not without having a breaking change.  However, there really aren't as many changes as you might think.
SDK #372 committed a migration guide which pretty much summarizes the diff here.   I'll be a bit more specific if it helps.  From top down on files:

build.gradle: had to suppress some jacoco exclusions due to test coverage and add dependency on rest high level client
ADExtension: add path to the new actions, and add getter for the rest client wrapper
ADPlugin: (UNUSED, Reference) mostly whitespace changes, setting client and clusterservice to null in objects whose class types have changed
Remaining classes mostly change Client to SDKRestClient, ClusterService to SDKClusterService, and change the imports for Request and Response objects.   Exceptions follow:

Settings update consumers use a more efficient map approach
AnomalyDetectionIndices rollover request required new syntax for createRequest mapping and deleteIndex iteration
AbstractAnomalyDetectorSDKAction should actually be deleted, oops, it was from an earlier iteration
RestIndex and RestValidate DetectorActions are new format for extension rest actions, mostly self explanatory and indicated in migration doc
TransportActions doExecute made public
Test, a lot of things suppressed pending completion of createcomponents work next sprint

Codecov Report

Merging #792 (01dd362) into feature/extensions (1ba8bc6) will decrease coverage by 2.26%.
The diff coverage is 14.89%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@                   Coverage Diff                    @@
##             feature/extensions     #792      +/-   ##
========================================================
- Coverage                 53.23%   50.98%   -2.26%
+ Complexity                 2661     2575      -86
========================================================
  Files                       291      291
  Lines                     16099    16119      +20
  Branches                   1689     1686       -3
========================================================
- Hits                       8571     8218     -353
- Misses                     6911     7317     +406
+ Partials                    617      584      -33

Flag
Coverage Δ

plugin
50.98% <14.89%> (-2.26%)
:arrow_down:

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

Impacted Files
Coverage Δ

...va/org/opensearch/ad/AnomalyDetectorExtension.java
0.00% <0.00%> (ø)

.../java/org/opensearch/ad/AnomalyDetectorPlugin.java
86.56% <ø> (-0.20%)
:arrow_down:

...nsearch/ad/rest/AbstractAnomalyDetectorAction.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...search/ad/rest/RestIndexAnomalyDetectorAction.java
0.00% <0.00%> (-25.72%)
:arrow_down:

...rch/ad/rest/RestValidateAnomalyDetectorAction.java
0.00% <0.00%> (ø)

...est/handler/IndexAnomalyDetectorActionHandler.java
100.00% <ø> (ø)

.../ad/rest/handler/ModelValidationActionHandler.java
0.00% <ø> (ø)

.../handler/ValidateAnomalyDetectorActionHandler.java
100.00% <ø> (ø)

...ansport/PreviewAnomalyDetectorTransportAction.java
76.92% <ø> (ø)

...nsport/ValidateAnomalyDetectorTransportAction.java
0.00% <0.00%> (ø)

... and 24 more

Trying to understand why these many files are in jacoco exclusions?

We've commented out a lot of the unit tests until the functionality is migrated.  Goal is to re-enable them when migration is closer to complete (and we've uncommented/modified the tests)


Updated policy for $show and $load

Problem
I have noticed a frequent usage pattern where the current $show and $load syntax cannot support easily.
This happens in the following case:

The user load a static JASON markup WITHOUT doing a $render on load.
The user also wants to make sure that the page is always fresh when the view comes back from another view.
Normally people try to achieve this by setting a $show handler and doing a "type": "$reload", like this:

{
  "$jason": {
    "head": {
      "actions": {
        "$show": {
          "type": "$reload"
        }
      }
    },
    "body": {
      "sections": [{
        "items": [{
          ...
        }]
      }]
    }
  }
}

Notice how the body is immediately under $jason, which means everything is server-side rendered and there is no $render action.
What happens in this case is:

Jasonette loads the initial markup and starts drawing it on the screen.
And while step 1 is still in progress, Jasonette triggers the $reload action because $show was triggered.
The result is Jasonette having to fetch exactly the same JSON from the server twice.
This results in very poor performance both client side and server side (You are making two duplicate requests consecutively, as well as trying to render the same duplicate markup consecutively while the initial drawing is going on)

I can understand why people use this approach--because they want the view to be fresh everytime it shows up--and currently there is no easy way to distinguish between the initial $show event (triggered right after $load) and subsequent $show events (triggered when coming back from child views).
The current approach
Here's how it currently works:

$load is triggered only once when a view loads for the first time
$show is triggered when a view gets "displayed", which includes the initial load as well as when coming back from other views.
The framework assumes that the user will only use either $show or $load (and not both).

The new approach
The new approach attempts to keep backwards compatibility while adding more flexibility. More specifically we're adding one more scenario (Handling when both $load and $show handlers exist)

When there's only a $show handler

$show: Handles both initial load and subsequent show events

When there's only a $load handler

$load: Handles Only the initial load event

When there are both $show and $load handlers

$load : handle initial load only
$show : handle subsequent show events only

Summary

$load:

triggered when view loads for the first time. (Same as before)

$show:

triggered at load time + subsequent show events (IF $load handler doesn't exist)
NOT triggered at load time BUT ONLY at subsequent show events (IF $load handler exists)

Here's a demo: https://jasonbase.com/things/o2Q5

Works great! I just built and tested it, also the change you made earlier today fixed the header rendering issue too.


[change] Made admin/submit_line.html extendable

Changes

#Please explain changes made in your PR#

Screenshots

#For UI changes, please share a screenshot#

Checklist

[ ] I have read the contributing guidelines.
[ ] I have manually tested the proposed changes.
[ ] I have written new test cases to avoid regressions. (if necessary)
[ ] I have updated the documentation. (e.g. README.rst)
[ ] I have added [change!] to commit title to indicate a backward incompatible change. (if required)
[ ] I have checked the links added / modified in the documentation.

#Closes #(issue-number)#

coverage: 98.395%. remained the same
when pulling 6d02a0077bb80c6222af12f40ebb51919c697ca8 on extendable-submit-line
into 2440f962f1f2952d6d1b298443175090cab5856a on master.


RFE Download really all activities

With #994 resolved I found out, that there is no possibility to download all activities at once. Only the first 25 activities (which would be displayed on first webpage) get into the csv file. This is independent from which page you request the download.
Manually requesting somthing like .../admin/activities.csv?page=3 gives the entries from the 3rd page (entries #51 to #76).
I guess this is because of the same implementation for html and csv output in /app/controllers/admin/activities_controller.rb. The test in /spec/controllers/admin/activities_controller_spec.rb doesn't catch this case because there are just 10 entries.
Proposal: implement something like .../admin/activities{.csv}?page=all and treat this all page special.

sigh... You are right :sweat:


update for 3.0? What are the chances that this gets updated for 3.x?

Would be really cool if this module got updated for 3.0.

This module was created because someone commissioned it. I unfortunately can't keep it updated in my spare time. I'm happy to merge a pull request if you or some you know would like to update the module.
Otherwise, you could reach out to me on Discord to discuss funding the update: ens0_.


Update visualize-data-with-a-heat-map.spanish.md

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and reopened this PR in an attempt to resolve the following Travis build error:
AssertionError: Your div elements should have a class of bar

This change would break the challenge, not improve it. Section ids need to remain untranslated, while titles don't really matter — not visible to learning users.


Allow to get "self-address".

@zie1ony please provide the description.

 This information is pushed at the end

Anyway, it basically means @piotr-dziubecki that starting from version 1.3.X this feature should already be available.


[bug] tables containing a  whose first child is  results in a crash

note that
 elsewhere within the table works fine. the crash only seems to occur when it's the first child of a  element.
steps to replicate:
from docx import Document
from htmldocx import HtmlToDocx

document = Document()
new_parser = HtmlToDocx()

html = '

testing

'
new_parser.add_html_to_document(html, document)

sorry, just realized this is a duplicate of #37, closing.


WSL2 - config option to NOT rebuild networking

Please consider and then reconsider again, a simple option that allows end users to tell Windows to stop reconfiguring / rebuilding WSL2 networking back to factory defaults.
We get it that this helps people that don't know how to use Windows by preventing them to mess everything up, and so and so. So make it optional. Just a simple on/off switch option
Default setting: ON

Everything keeps working as now

Option: OFF

When user sets this to OFF, and then does something weird with networking, and reboots PC, everything stays as it was before reboot

I'm not gonna say what it would solve, as it will be promptly set as duplicate and closed. This is not duplicate. It is a feature request. It is NOT feature request to change networking stack. Keep it. This is request to stop recreating adapters after reboot if we choose to ignore the warnings.
Should be simple to implement, just stop the processes that re-do everything.
Of course, if WSL2 is disabled completely (uninstalled) and then turned back on (installed), let the wizard do it's thing as usual. Because that on/off switch will be reset to zero during deinstallation anyway.
EDIT:
Due to possible misunderstanding, I am adding this edit to further explain the proposed functionality.
WSL2 is built on Hyper-V foundation, and as such uses Hyper-V networking stack. During development the Team elected to use one of the many options available under Hyper-V Virtual Networking stack, as a most suitable option for general usage by Windows 10's 1 billion worldwide userbase.
But due to wide range of usage cases of WSL2 not all of it is covered by default network options. Thus, many users would still welcome an option to set different options, to allow their specific usage case.
Range of settings is quite wide, from setting network adapter as External in Hyper-V VSwitch, sharing adapter with other VMs and other WSL2 instances, setting VLAN IDs, and all those other options that are either in Hyper-V networking stack (virtual switch, virtual adapters, and all related settings) or are in general networking stack (IP addresses, IPv6, DHCP, and so on and on).
Current default is highly agressive and literally DESTRUCTIVE towards those settings on each reboot. Any settings at all that are tweaked (in Hyper-V VSwitch, or Windows 10 networking) are destructively erased, and overwritten by factory default settings, which actually causes issues, even though it was meant to fix issues.
So to allow advanced users to set all their desired settings, an OPTIONAL FEATURE should exist that gives option to STOP the automatic factory reset of networking stack on each PC reboot.
As described above, this would be simple 1/0 switch, with one option being default (and system would function as it does currently), while other option would stop the network reset/rebuild, and in turn allow custom settings which would otherwise be overwritten.

This is request to stop recreating adapters after reboot if we choose to ignore the warnings.

Due to lack of specificity regarding "mess everything up, and so an so", have to speculate you are suggesting a potential solution to #4467 #4210. Namely: "just stop the processes that re-do everything". Such feedback is always welcome in the those issues.

This is an option, and even though it would solve mentioned issues, it would also solve dozen more issues. But even more so, it would ENABLE people freedom to use whatever combinations of network settings they like. This is NOT just an issue-workaround. This is a legit OPTION request.
I know you guys like putting everything into same bucket, but this one shouldn't be pushed to an "issue" bucket.
Again this is a feature request for an option to be added.
Microsoft Windows is OS we use because it has options and allows wide user customizations, therefore being flexible and loved by it's users.
To pull an example - if Windows was still locked to 4GB it would be useless. While you can say adding 64GB RAM is a "workaround" for "low memory issue" it is still deemed to be a FEATURE of 64bit OS. Likewise, the above requested FEATURE would solve many issues, but it would still be a FEATURE.
You can mark it as duplicate of #4210 /
#4601 / #4467 / #4150 / #4305 , and even #4821 , and dozen others. But it still is a feature request and not a bug/issue report.
If you want me to edit the initial request with more elaborate description, please say so, I can write a way longer post with pictures and examples when I get back to my PC.

Due to lack of specificity regarding "mess everything up, and so an so"

This sentence was taken out of context. The feature that rebuilds networking was (I am assuming) made to fix non-standard settings that may lead to issues. Kind of like Windows will self-repair broken dlls in system directory. So specifying  "mess everything up, and so an so" is not meant as bug report, it was clearly a generalization of "the network rebuild/factory reset" functionality. But let me rephrase...
"We get it that rebuilding faulty networking stack helps some people (that don't know how to use advanced Windows features) by preventing them to set potentially incompatible settings (which can mess everything up for them, with wide range of possible issuew). So make it optional, because some advanced users know how to use advanced Windows features, and thus this option can allow them to choose a different setting from factory default, that is still functional for their specific usage case, and by consciously setting the proposed option, they are essentially confirming that they know what they are doing, and they know that they can always revert back to safe defaults by switching this proposed option back to default setting.
Hope this clarifies "so and so".

If you want me to edit the initial request with more elaborate description

No, your suggestion that #4467 can be solved simply by "just stop[ing] the processes that re-do everything" optionally is sufficient. Thank-you for the feedback.

After installing Windows 10 2004 to get WSL2 i see that everything I've done is useless since i cannot bind any IP address.
In the docs you should state in bold that WSL2 have a dynamic IP address, i wouldn't loose my time.
Thanks anyway, when you resolve this issue would be a great update, meanwhile i go back to WSL 1.


Pseudostem anatomy and morphology traits

Stem anatomy and morphology trait:
Proposed new children of this term + definitions: Pseudostem anatomy and morphology trait

pseudostem length- length of the pseudostem, measured in
pseudostem shape - shape of the pseudostem, measured in
pseudostem color - Color of the external sheaths of the pseudostem
pseudostem diameter - diameter of the pseudostem, measured in (PO_0025248) pseudostem

Reported by: alexandraviel
Original Ticket: obo/plant-trait-ontology-to-requests/93

Moved pseudostem anatomy and morphology trait  and child terms to the correct parent- is_a collective organ part structure anatomy and morphology trait (TO:0000841).
pseudostem anatomy and morphology trait (TO:0000807):

was: A stem anatomy and morphology trait (TO:0000361) which is associated with a pseudostem (PO:0025248).
Revised:  A collective organ part structure anatomy and morphology trait (TO:0000841) which is associated with the qualities of a pseudostem (PO:0025248).

Fixed xrefs to GitHub tracker on all five child terms : should be TO_GIT: 94, not 95,

Revised name and def'n of: pseudostem anatomy morphology trait (TO:0000807)
Was: pseudostem anatomy morphology trait (TO:0000807), A collective organ part structure anatomy and morphology trait (TO:0000841) which is associated with the qualities of a pseudostem (PO:0025248).
New: pseudostem morphology trait (TO:0000807), A collective organ part structure morphology trait (TO:0000841) which is a quality of a pseudostem (PO:0025248).
Revised def'n of: psuedostem color (TO:0000810)
Was: A pseudostem anatomy and morphology trait (TO:0000807) which is associated with the color of a pseudostem (PO:0025248).
New: A pseudostem morphology trait (TO:0000807) that is the color of a pseudostem (PO:0025248).
Revised def'n of: pseudostem diameter (TO:0000811)
Was: A pseudostem anatomy and morphology trait (TO:0000807) which is associated with the diameter of a pseudostem (PO:0025248).
New: A pseudostem morphology trait (TO:0000807) that is the diameter of a pseudostem (PO:0025248).
Revised def'n of: pseudostem length (TO:0000808)
Was: A pseudostem anatomy and morphology trait (TO:0000807) which is associated with the length of a pseudostem (PO:0025248).
New: A pseudostem morphology trait (TO:0000807) that is the length of a pseudostem (PO:0025248).
Revised def'n of: pseudostem shape (TO:0000809)
Was: A pseudostem anatomy and morphology trait (TO:0000807) which is associated with the shape of a pseudostem (PO:0025248).
New: A pseudostem morphology trait (TO:0000807) that is the shape of a pseudostem (PO:0025248).


Support for more templating languages?

The syntax highlighting isn't very helpful as of now and doesn't seem to have the capabilities of other editor's Vue plugins; this is what I get when trying to use Sass and Handlebars for templates:

Just not sure why there's no highlighting on any of the tags, save for the content inside quotes for the style tag.

Maybe we can automatically determine the language based on the value of the lang attribute, so it can support any language without much effort.
Vim-markdown does something similar: https://github.com/plasticboy/vim-markdown#fenced-code-block-languages

Yeah that could be helpful, also sorry @posva for the lack of specificity in this issue. Would try to submit a PR but short on time at the moment

That's ok. Yeah, a PR would be great! I actually don't know how to do it
@adriaanzon Do you want me to add you to the repo?

I'm also not really sure if it is possible to make fully automatic, but we can at least make the process of adding a new language as simple as specifying the tag (template/style/script) and the language.
@posva That would be awesome! :smile:

@tylucaskelley I added an easier way to register new languages, and I added this line here that registers syntax for handlebars but since I'm not so familiar with handlebars, can you confirm if it works now?


[Question] Using Flowbite with Blazor Web App

What recommendations would you give on how to use the Flowbite Javascript library in the Blazor Web App? I followed your YouTube tutorial on PageScript, I added a Flowbite javascript file in a razor component with a render mode of Interactive server or web assembly. A simple dropdown control (https://flowbite.com/docs/components/dropdowns/) and date picker controls still didn't work.
Flowbite: https://flowbite.com/docs/getting-started/blazor/#ui-components-for-blazor.
Thanks

Hi, apologies for the delay.

I added a Flowbite javascript file in a razor component with a render mode of Interactive server or web assembly

PageScript is primarily intended for scenarios where interactivity is not an option. If a page is interactive, you can use JavaScript interop to import modules and call functions on them.


revert the revert to update FastLED packages

The issue with ESPnow syncing was causes because I disabled it in the Tubes build when I was trying to get the new version of the ESPnow library working with the code base.  I mistakenly didn't realized that the Tubes plugin used the based ESPnow libraries as well.
Removing this line fixes syncing while still having the new libraries
I also added a default to the env:esp32_quinled_dig2go_tube build to support 150 LEDs

Hmm I thought I had tried just removing that define!    But I was having trouble getting various targets to build so maybe I just missed that it had re-enabled syncing.
In the main branch, they're working on replacing QuickEspNow right now so we might be able to re-implement on top of their (smaller) version soon. But we'll want to make sure we can still get all the RSSI info!

@craiglink @SteveEisner just a hint on why upstream is not using arduino-esp32 v2.0.17:

new bugs, for example: serial usb gets stuck randomly, SD driver problems, slower SPI bus, bigger firmware size, audioreactive reads from wrong channels (right instead of left).

Actually my recommendation would be to stay on arduino-esp32 v2.0.14 - or even v2.0.9. For all variant, including S3, C3 and classic esp32.
If you want to use audioreactive, you could change this line
https://github.com/SteveEisner/WLEDtubes/blob/ee318dc9b886a57c4f4762cb2a193832798d8aa1/usermods/audioreactive/audio_source.h#L74
to
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)) && (ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(4, 4, 8))

This extends the "swapped channel workaround" to be compatible with the latest platform version.

new bugs, for example: serial usb gets stuck randomly, SD driver problems, slower SPI bus, bigger firmware size, audioreactive reads from wrong channels (right instead of left).

Thanks - we learned about the larger firmware size in the discord, so I did some debugging to understand where that space was going. It's pretty unfortunate that they've ballooned the size of the wifi & crypto modules in 4.0+.  It's stuff we don't need & could in theory compile out of the IDF to restore the space.
But buggy USB and SD etc seems really bad :(

Actually my recommendation would be to stay on arduino-esp32 v2.0.14 - or even v2.0.9. For all variant, including S3, C3 and classic esp32.

I take it that you haven't made a joint conclusion about this with core WLED? (I know MM and core don't always agree :) )  I think the 0_15 branch has S3 and C3 at later arduino versions but classic esp32 remains at arduino 2.X. Maybe that's just for beta testing.


Issues with README instructions not working

I'm running the instructions in README.md in a new python3.9 venv. I downloaded the dependencies and successfully ran the 3 pip install statements for boto3, botocore, and awscli. When I try to create the client as instructed with this code:
import boto3
print ('boto3 version:\n', boto3.__version__)
bedrock = boto3.client('bedrock', region_name='us-east-1')

I get this output and error (note I added the version print).
 amazon-bedrock-workshop]$ python3 test_client.py
boto3 version:
 1.26.162
Traceback (most recent call last):
  File "/workplace/amazon-bedrock-workshop/test_client.py", line 3, in <module>
    bedrock = boto3.client('bedrock', region_name='us-east-1')
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/boto3/__init__.py", line 92, in client
    return _get_default_session().client(*args, **kwargs)
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/boto3/session.py", line 299, in client
    return self._session.create_client(
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/session.py", line 976, in create_client
    client = client_creator.create_client(
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/client.py", line 126, in create_client
    service_model = self._load_service_model(service_name, api_version)
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/client.py", line 228, in _load_service_model
    json_model = self._loader.load_service_model(
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/loaders.py", line 142, in _wrapper
    data = func(self, *args, **kwargs)
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/loaders.py", line 408, in load_service_model
    raise UnknownServiceError(
botocore.exceptions.UnknownServiceError: Unknown service: 'bedrock'. Valid service names are: accessanalyzer,...  <truncated>

If I try to use the bedrock client in the utils directory instead by importing utils.bedrock in a python3 interactive session it complains that I need to install pydantic:
  File "/workplace/amazon-bedrock-workshop/utils/bedrock.py", line 5, in <module>
    from pydantic import root_validator
ModuleNotFoundError: No module named 'pydantic'

so I install it:
pip3 install pydantic

and it installed version 2.0.3.  Then I tried again to import it and got a new error:
>>> import utils.bedrock
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/workplace/amazon-bedrock-workshop/utils/bedrock.py", line 66, in <module>
    class Bedrock:
  File "/workplace/amazon-bedrock-workshop/utils/bedrock.py", line 80, in Bedrock
    @root_validator()
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/pydantic/deprecated/class_validators.py", line 228, in root_validator
    raise PydanticUserError(
pydantic.errors.PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`. Note that `@root_validator` is deprecated and should be replaced with `@model_validator`.

For further information visit https://errors.pydantic.dev/2.0.3/u/root-validator-pre-skip

If I change line 80 to look like this, that error goes away:
    @root_validator(skip_on_failure=True)

Then if I try to use the get_bedrock_client in that function, I'm back to the error where it doesn't recognize bedrock:
>>> import utils.bedrock
>>> bedrock = utils.bedrock.get_bedrock_client()
Create new client
  Using region: us-east-1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/workplace/amazon-bedrock-workshop/utils/bedrock.py", line 46, in get_bedrock_client
    bedrock_client = session.client(
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/boto3/session.py", line 299, in client
    return self._session.create_client(
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/session.py", line 976, in create_client
    client = client_creator.create_client(
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/client.py", line 126, in create_client
    service_model = self._load_service_model(service_name, api_version)
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/client.py", line 228, in _load_service_model
    json_model = self._loader.load_service_model(
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/loaders.py", line 142, in _wrapper
    data = func(self, *args, **kwargs)
  File "/workplace/amazon-bedrock-workshop/.venv/lib/python3.9/site-packages/botocore/loaders.py", line 408, in load_service_model
    raise UnknownServiceError(
botocore.exceptions.UnknownServiceError: Unknown service: 'bedrock'. Valid service names are: accessanalyzer...<truncated>

So it looks like the versions of boto3 being downloaded by download_dependencies.sh are not working. Any advice would be appreciated.

I should note I'm trying to do this from VSCode this time. I previously got this working in SageMaker Studio with an earlier patched version of the boto3 and botocore modules. I'll go try Studio again and see if it helps.

I just got it working in SageMaker Studio, so it must be something different in the environment.

Fixed the issue and marked the correct kernel type to use in SageMaker Studio.
Also added comments in the README to use conda environment.
Re-open the issue if you think it still persists.

Still encountering the following issues:

pydantic install requirement is not documented (no string "conda" found in repo)
on L106 of utils/bedrock.py: pydantic.errors.PydanticUserError: If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True. Note that @root_validator is deprecated and should be replaced with @model_validator.


Fetch User Profile Picture

In jukeos/src/components/NavigationBar.js, write a module for fetching user profile picture.

@ImTrevorMartin, thank you so much for helping me out. I just pushed my current state to my dev-parkd7 branch. Let's figure out the problem this weekend (only if you are possible). If not, let's finish this as soon as possible on Tuesday. Once again, thank you.

I used this (documentation)[https://developer.spotify.com/documentation/web-api/reference/get-users-profile] to implement this part, by the way.

Hello, @ImTrevorMartin. I am sorry for the second ping, but I

Hello, @ImTrevorMartin. I am sorry for the second ping, but I found out that pulling playlist does not operate well on my machine, which might indicate that this pulling playlist problem is going along with this problem. If you need the console log, please let me know in the Discord server.

There is still a problem in authentication. We will fix it this Tuesday.

The issue is now resolved, and the pull request is up for this issue.


feat(dbm-services): install_tokudb_engine

关联研发信息
dev_branch: feat/install_tokudb_engine_plugin/#811
target_branch: v1.2.0


Fix FreeBSD build manifest

Recent libinput-related changes in the ports tree made it necessary to
install devel/evdev-proto before x11/libinput (see the comments in #1432).

Thanks!


"ImportError: DLL load failed: The specified module could not be found." Windows10 issue with Tensorflow-2.2.0

I have installed Tensorflow 2.2.0 on my Win10 PC:
System information

Windows 10
Tensorflow installed in Anaconda using pip
Python Version : 3.7.6
Graphics Card: NVIDIA GTX1650 4GB
Processor: Intel core i5 9th-Gen

I have been facing this issue since a long time. So i uninstalled Anaconda and re-installed it again but the issue still persists\
`ImportError                               Traceback (most recent call last)
C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
57
---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
59
C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in
27             return _mod
---> 28     _pywrap_tensorflow_internal = swig_import_helper()
29     del swig_import_helper
C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
23             try:
---> 24                 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25             finally:
C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\imp.py in load_module(name, file, filename, details)
241         else:
--> 242             return load_dynamic(name, filename, file)
243     elif type_ == PKG_DIRECTORY:
C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\imp.py in load_dynamic(name, path, file)
341             name=name, loader=loader, origin=path)
--> 342         return _load(spec)
343
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
 in
1 import numpy as np
----> 2 import tensorflow as tf
C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow_init_.py in
39 import sys as _sys
40
---> 41 from tensorflow.python.tools import module_util as _module_util
42 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
43
C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow\python_init_.py in
48 import numpy as np
49
---> 50 from tensorflow.python import pywrap_tensorflow
51
52 # Protocol buffers
C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
67 for some common reasons and solutions.  Include the entire stack trace
68 above this error message when asking for help.""" % traceback.format_exc()
---> 69   raise ImportError(msg)
70
71 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\ProgramData\Anaconda3\envs\py3-TF2.0\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.`
Kindly help to resolve this.

@anshpujara14,
You might be facing this issue because of the following reasons

You you running 32-bit Python or 32-bit OS
You have not installed the Microsoft Visual C++ Redistributable package
Your CPU does not support AVX instructions.

Please take a look at the system requirements and check if you have the correct dependencies installed.
Also, check these similar duplicate issues: #36167 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204.
Thanks!

Thanks for your response. I found out that I was using TF version that was not compatible with my Graphics Card. So i downgraded to Tensorflow 2.0 and now it works fine.
So now I am closing this thread.
Thanks for the support


Make access token calls optional

Pass optional parameter to getAccessToken method
From documentation ->

If this is set to true, the user will not be prompted to log in,
and an empty response will be returned if there is no existing session.

This can be used to perform a check whether the user is logged in, or if you don’t
want to force a user to be logged in, but provide functionality if they already are.

This means users won’t get annoying Log-in screen. but error message will need to let them know they have to log in. It is still change in a way plugin works, since it won't look for your sign in but at least it won't be causing additional api hit rates to decide if it is public or not.

The github app and oauth app works differently, the github app does not store the state after a successful login, it uses a refresh token, currently it seems it is not working as intended since if you refresh your page the frontend does not get recognize you as one who is already logged in. So if we set it to optional, if a plugin user uses a github app integration instead of an oauth app it would mean they need to login after every page start/refresh.
And my question, where can they login to github if we do not trigger the pop for them anymore?


Broaden the range of conditions where we try the minimal coin selection strategy.

Issue Number
To be added.
Summary
This PR broadens the range of conditions under which we fall back to the minimal coin selection strategy, should the optimal strategy fail to produce a viable selection.
Outstanding Work

[ ] Add a comment to each condition, explaining why it's worth re-trying with the minimal strategy.

bors try

bors try

bors r+


Assignment 3 draft

There are errors in the code - you should click F12 (or function-F12) to see the errors in chrome. You will be given the name of the file and the line of the error - from there you can resolve each error.
Join office hours if you cannot resolve them on your own.


docs(zh): update partial hyration

What kind of changes does this PR include?

Translated content

Description
update partial hyration

LGTM. Thanks @kecrily!


Add Example: Multimodal Chat Bot

Added chat bot example with multimodality and intent recognition

The key of globals['global_parameters'] was changed from "_module_id" to the special field "lazyllm-files"
If the input has attachments, the attachment name will be noted in the input.
Add it into example
Add it into Chinese and English readme

如线下沟通，将图中的三个部分换成意图识别


Remove SDL_bool and SDL_TRUE in line with latest SDL3

SDL3 is in flux, the extras compile with a lot of warnings due to SDL_bool becoming plain old bool. I assume someone will do this anyway, but here is a courtesy pull request!

Thanks!