Added volume controll

Implemented issue #3
I added a simple volume control to the program, using native functionality in rodio::sink.
This logic has also been linked through to the UI so that users will be aware of this fucntionality (bound to the '-' and '+' keys) and adding a volume readout to the UI as well.

I liked the project, but found I was missing a volume control, so I implemented it, feel free to merge it into the main project if its to your liking :-)

Hi! This all looks good, although perhaps adding support for Arrow Up, Down, Left & Right could make it even easier.
I think I'll also fork your repo and add a little indicator that might temporarily replace the bottom controls with a little volume bar, so you get some feedback whenever you change your volume without taking up any more space.

@talwat do note that I did change the spacing (the WIDTH variable) slightly when adding the indicator text at the bottom ("volume [+/-]"), so if you change that back, you probably also want to consider the width.
Besides that I'm totally fine with different looks, this was just the most intuitive way I though of.
I also considered using a nerdfont character to indicate volume (as opposed to the text "Volume"), however, given that not everyone uses a nerdfont I chose against this.
also, adding many different key options ('+', '=', '', '' for volume up for example) should be almost no work. I would appreciate it if you did keep in the +, -, =, _ controls, even if you did extend it to keyboard also :-)

I was also thinking of maybe adding some functionality where you can have a toml file (in your .config) in which you can add extra sources (if you want to listen to other similar music libraries with this).
I haven't looked into the feasibility yet, but if you'd be interested then just let me know, I'd love to tinker a bit and see if its easily possible

I would appreciate it if you did keep in the +, -, =, _ controls, even if you did extend it to keyboard also :-)

Yup, not a problem. I actually made a commit a few hours ago implementing just that.
About the UI, I think keeping the same size and replacing the bottom bar briefly is a good solution, since usually people will set the volume and then forget about it, so they only really need to see it when they're adjusting. I'm currently working on that too, so I think I can finish this PR off relatively soon.

I was also thinking of maybe adding some functionality where you can have a toml file (in your .config) in which you can add extra sources (if you want to listen to other similar music libraries with this).

I think that's possible, however, to remain in the scope of the project it'd probably just be a super basic list of mp3 files with some hopefully descriptive names. But yeah, that's definitely possible :)

Thank you to both of you for implementing my feature request! Could not have done it myself as I don't know anything about Rust.
I did however open a pull request downstream for a more fine-grained adjustment option

Alright, I implemented a rough version of the audio display I was mentioning.
https://github.com/user-attachments/assets/d47f4a16-16d7-4028-9c38-b9e4986fa8d8
The code is a bit wonky, but it gets the job done. Let me know your thoughts :)

Well, considering this is mostly complete, I'll merge the PR but keep the thread unlocked if there are any minor tweaks that should be done. https://github.com/BrendanMesters/lowfi/pull/1 can also be ported to this repo later down the line.

I don't fully agree with the UI decision to not display the volume button shortcuts as with Skip, Pause and Quit buttons, but its your project, so do what you want.
Besides that, I think that maybe a delay of 1 more second before the UI changes back might be nice :-)

I don't fully agree with the UI decision to not display the volume button shortcuts as with Skip, Pause and Quit buttons, but its your project, so do what you want.

If you have any ideas for squeezing them in I'd be more than open to it. I'm not totally happy with it either, but part of lowfi's appeal is that it's so simple & small. If you can come up with a solution that doesn't increase the size & still looks good, I'd merge it in a heartbeat :)

Besides that, I think that maybe a delay of 1 more second before the UI changes back might be nice :-)

Yeah, that part is a constant so it's super easy to tweak. It is counted in frames, because more complicated solutions are way out of scope and it's just a small music player not a video game so it should be fine. If people say it's too small of a window I'll just bump it up slightly.

I mean, it could be done with a nerdfont icon, but I personally prefer having important info shown, as I hide the terminal this is running in most of the time.
But no worries, I'll just keep my separate version of the UI on my own branch haha


blog: esp32-memory-map-101 fixes

Fix wrong IRAM address at ESP32 memory map.
Add Zephyr tag as it is related topic.

LGTM!


Update operators score of Dataproc by jenkins-alex-gen-speedup-factor…

…s-dataproc-16
#32
Updating Dataproc speedup factors for qual tool based on CI/CD job

maven verify check failure caused by
- supported operator score from dataproc *** FAILED ***
  2.0 did not equal 2.8 (PluginTypeCheckerSuite.scala:163)

it would be addressed by https://github.com/NVIDIA/spark-rapids-tools/pull/84

commented on https://github.com/NVIDIA/spark-rapids-tools/pull/84/files - I would like that addressed before this goes in


Why is it called admin project?

New bie to web projects...
Wondering why is this project (and similar projects) called as admin templates? Can this be used as normal production web application? or Should it be used only as admin console to back end users?
Thanks in advance

Good question. Please advise.

Gurus/experts,
Please help advise on this. It would help me to take some critical decisions.
Thank you.

Hi,
I think it's because the skin template lokk's like many IT administration app...
It's just a name you can use it as normal production web application...


Add Future-Extension Support for CHIP Certificate

This PR implements CHIP certificates:
https://github.com/project-chip/connectedhomeip/pull/4060
Need to add future-extension support for CHIP Certificates.

@emargolis is still planning to work on it.

Closed with #6192


Added the project Music Generator(issue-976)

Related Issue

I have added the code for the Musical Instrument sound generator feature.

Closes: #976
Describe the changes you've made
I have successfully made the soundboard that has various musical instruments. It generates different instrumental sounds like Harp, Bass Drum, Drumroll, Chinese Gong, Military Drum, and Bugle call.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots

Congratulations on merging of first PR. :tada:
Thanks for this awesome contribution. :star_struck:
Keep Contributing.

Congratulations on merging of first PR. 🎉
Thanks for this awesome contribution. 🤩
Keep Contributing.

Thank you so much!


Add the option to run os install on node per index passed as env variable

BUILD RackHD #48 : FAILURE

BUILD RackHD #49 : FAILURE


Update Phoner.PhonerLite to 2.93

Microsoft Reviewers: Open in CodeFlow

Welp, I tried to close invalid 50+ PRs and the bot died 🤣


PyWavelets idwt2 always returns an even size array, even if the input array is odd.

PyWavelets idwt2 always returns an even size array, even if the input array is odd.
At the moment this impacts the RingRemover

I think this is because the decomposition coefficient arrays are created as ceil(array_size/4). So when we reconstruct, the new array size will always be even.
We could crop the reconstructed array but in RingRemover the reconstruction is done repeatedly so we could be losing information.
Can we interpolate the array onto it's original size?


Admin : advanced error and nothing displayed

Describe the bug
Admin/advanced display nothing nothing only an error
To Reproduce
Steps to reproduce the behavior:

Go to Admin
Click on advanced
See error

Expected behavior
Should display advanced settings when your are an admin.
Screenshots

On backend

Version
Latest version on local instance

Cant reproduce on my local & on qa.

Could be when no parameters are set for email server ?

I think no, no email parameters are set on qa. Maybe your local DB has invalid data or something like this?


openssh: fix "regresshion" CVE, CVE-2024-6387, with patch from debian.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[x] Ready to merge

Summary

This PR patches openssh for CVE-2024-6387 using debian source as guidance.
This CVE, nicknamed "Regression", is an unauthenticated Remote Code Execution (RCE) vulnerability in OpenSSH’s server (sshd) on glibc-based Linux systems.
See this post for further details on this CVE, nicknamed "Regresshion"
Change Log

Patch for CVE-2024-6387 using debian source as guidance

Does this affect the toolchain?

NO
Associated issues

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-6387

Test Methodology

local build
buddy build from stable-2.0: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=598038
buddy build from main: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=598062

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/9565

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=598099&view=results

Fixes:

#9555


[View List] In list view for date field represented "Incorrect date" value if field has value null

i can't replicate this - is it still an issue @AleksandrSokolov

ah, this is the relative fieldview

@glutamate Yes, sorry. I ll try to give more information in next cases

I reproduce this situation in https://uat_reproducing_errors.saltcorn.com/view/DateTests

fixed in #338


Ensure labeling of AC module is compliaten with ADR #864

Description
We agreed to use consistent labels for all Kyma modules. Goal of this task is to verify that the agreed labels are applied for the Application Connector module.
ADR with a list of agreed labels is https://github.com/kyma-project/community/issues/864
This change could be combined with https://github.com/kyma-project/application-connector-manager/issues/108
AC:

[ ] Verify that we configure all labels (defined in https://github.com/kyma-project/community/issues/864)  for the Application Connector Module

[ ] If a discrepancy exists, align the labels to be compliant with the ADR

Reasons
Constant labeling for KYma module
Attachments

As issue #140 also deals with labels, both issues could be processed together.


Custom Sheet Sandbox - JavaScript console shows many [violation] handlers which causes slowness

For the past week I've been encountering a lot these errors that results in slow load times when I try to upload a html, css, or translation file. It also affects the speed of the webpage and character sheets. I also encounter jerky movements when trying to drag a character sheet around on the map.
Here's a screenshot.

I suggest you submit a Help Center Request on this issue.
Roll20 doesn't really pay much attention to github issues as they are meant to target the community sheets themselves, not issues with the Roll20 platform.

Thanks


span.Union should handle zero spans

There was an attempt to remove the need to wrap span.Union with check for first usage:
https://github.com/brimsec/zq/pull/811
which raised questions about just modifying the span.Union call alone to check for a zero value span, and what defines a zero value span.

I checked with @mattnibs and he confirmed that we can go ahead and close this one. Since we now have a model where pools can have non-ts primary indexes, "spans" as a concept aren't as crucial as they once were and so the debate that led to this issue is effectively in the past.


Add analyzer factory utilities

We're currently processing your upload.  This comment will be updated when the results are available.


When using an inline swagger, method authorizers do not get assigned

Description:
My expectation was that when using the Auth functionality in SAM against an API and Function, when no default
authorizer is configured then the Authorizer would be assigned against the Functions path
I've also noticed that when using a Default Authorizer, all methods on the API get the Authorizer assigned, configuring
NONE authorizer against an API Event does not prevent the authorizer getting assigned.
Steps to reproduce the issue:
Given a SAM Template that includes a an inline swagger document, an Authorizer and Auth configured on the DELETE and
POST events
template.yaml
---
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31

Globals:
  Function:
    Runtime: python3.6
    MemorySize: 128
    Timeout: 15

Resources:
  Create:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: example
      Handler: service.example
      Events:
        Create:
          Type: Api
          Properties:
            Method: post
            Path: /
            RestApiId: !Ref API
            Auth:
              Authorizer: ExampleAuth

  List:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: example
      Handler: service.example
      Events:
        Create:
          Type: Api
          Properties:
            Method: get
            Path: /
            RestApiId: !Ref API

  Delete:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: example
      Handler: service.example
      Events:
        AddTenant:
          Type: Api
          Properties:
            Method: delete
            Path: /{id}
            RestApiId: !Ref API
            Auth:
              Authorizer: ExampleAuth

  Retrieve:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: example
      Handler: service.example
      Events:
        AddTenant:
          Type: Api
          Properties:
            Method: post
            Path: /{id}
            RestApiId: !Ref API

  Auth:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: example
      Handler: service.example

  API:
    Type: AWS::Serverless::Api
    Properties:
      Name: ExampleAPI
      EndpointConfiguration: REGIONAL
      StageName: v1
      Auth:
        Authorizers:
          ExampleAuth:
            FunctionPayloadType: TOKEN
            FunctionArn: !GetAtt Auth.Arn
            Identity:
              Header: Authorization
              ValidationExpression: Bearer.*
              ReauthorizeEvery: 0
      DefinitionBody:
        swagger: "2.0"
        info:
          title: Example
          version: "1"
        parameters:
          id:
            name: id
            in: path
            required: true
            type: string
        paths:
          /:
            post:
              parameters:
                - in: body
                  name: item
                  schema:
                    type: object
              responses:
                "201":
                  description: Created
              x-amazon-apigateway-integration:
                type: aws_proxy
                httpMethod: POST
                passthroughBehavior: when_no_match
                uri:
                  Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${Create.Arn}/invocations
            get:
              responses:
                "200":
                  description: Got
              x-amazon-apigateway-integration:
                type: aws_proxy
                httpMethod: POST
                passthroughBehavior: when_no_match
                uri:
                  Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${List.Arn}/invocations
          /{id}:
            get:
              parameters:
                - $ref: '#/parameters/id'
              responses:
                "200":
                  description: Got
              x-amazon-apigateway-integration:
                type: aws_proxy
                httpMethod: POST
                passthroughBehavior: when_no_match
                uri:
                  Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${Retrieve.Arn}/invocations
            delete:
              parameters:
                - $ref: '#/parameters/id'
              responses:
                "200":
                  description: Deleted
              x-amazon-apigateway-integration:
                type: aws_proxy
                httpMethod: POST
                passthroughBehavior: when_no_match
                uri:
                  Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${Delete.Arn}/invocations

`example/service.py`
```python
def example(event, context):
    print(event)
    return 200

example/__init__.py
__version__ = "1.0.0"

Deploy this SAM Template
sam package --template-file template.yaml --s3-bucket "${S3_BUCKET}" > template-export.yaml
sam deploy --template-file template-export.yaml --stack-name "${STACK_NAME}" --capabilities CAPABILITY_IAM

Observed result:
No Authorizers are assigned to any of the methods

Expected result:
My expectation was that the GET Methods on the path / and /{id} would not have an authorizer assigned, but POST /
and DELETE /{id}
Output of sam --version:
SAM CLI, version 0.6.1

oops - meant to open this against sam rather than sam cli


Catch KeyError instead of ValueError

Not catching the correct error here I believe. This allows us to run moto_server locally without passing in a HTTP_AUTHORIZATION environment variable.

Coverage decreased (-0.2%) to 93.292% when pulling 36238fa60275e14e4db576b9ec5f9e880dea6dfd on bkochendorfer:fix_moto_server into bba197e29f7fdd635fcbcb2cd18993d839f93f39 on spulec:master.

There's a chance that the ValueError was for tuple unpacking.

Thanks, I've added the KeyError.


Signing up on nostrudel.ninja (web) using nsec.app (PWA) results in an endless load on the nostudel side.

client type
client
nsec.app
OS

WEB
nostrudel.ninja
PWA
iOS, Safari

When trying to sign in or signup on nostrudel using connection string or bunker url permissions in nsec.app are requested, but state of the login screen on nostrudel is not updated which results in an endless loading.
https://github.com/user-attachments/assets/4463e652-a617-4fda-bfb0-bcb6471a488f

retested, fixed. Was able to login multiple times without any issue.


[UI/Catalog] radio boxes are not prepopulated

Rancher Version:
1.1.0-dev2
Docker Version:
Docker version 1.10.3, build 20f81dd
OS and where are the hosts located? (cloud, bare metal, etc):
baremeta, rancheros
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
cattle
Steps to Reproduce:

Use a catalog with a bool type ( radio box ), select true, deploy it
create and upgrade for that catalog
click on "upgrade" in the stack
select the new version

Results:
The form you see does not map the pre-selected values of the last catalog configuration for radio boxes (no value selected at all, that means, wrong value type)
Expected:
Radio-Boxes do reflect the value selected the last time the catalog has been deployed

This was fixed in 1.1.0-dev5, https://github.com/rancher/rancher/issues/4085

This was fixed in 1.1.0-dev5, https://github.com/rancher/rancher/issues/4085

thanks!


Changes in the Find and Replace option

[x] Sometimes, the replace option is not working after navigating on words multiple files.
[x] Change the color of the word when it is being navigated with find next or previous option.
[x] Extend the feature of find to all the pages in the set.

Extended the find feature to all pages(next and previous) and fixed the word color to blue.
b5abf288e12313ce569d341b110f96ac3699408d 10b16a007fb85beddf687c2789463346e4e4a401


Support for defaultValue

It seems that columns that have a defaultValue defined are still listed as required in the JSON schema.
Is this correct?

I've just pushed a wholesale rewrite of this module as v2.0.0.  The current logic is that attributes with allowNull explicitly set to false are marked as required.  The code does not look at the defaultValue property.

This is a tricky issue, but I think the current (v2) behavior is correct.  We're generating schemas in the context of Sequelize, where "required" means "NOT NULL", and where a default value doesn't preclude explicitly setting a column to NULL later on.
I.e. NOT NULL means "required" in SQL, and default value behavior is independent of this.


DOC: stats: Add 'versionadded' to cramervonmises docstring.

Also, where appropriate, use 'é' instead of 'e' in the
name Cramér.

Are there other places in the documentation where this or similar non-ASCII characters are used? (Even if not, is it OK?) I don't see it mentioned in the Guide to NumPy/SciPy documentation.

Are there other places in the documentation where this or similar non-ASCII characters are used?

One example is https://github.com/scipy/scipy/blob/bd7124e5afaa7ccb76b0af851554842c473b61d2/scipy/stats/_continuous_distns.py#L3810 where we have "Fréchet" in a docstring.
Also, we use λ in several places in docstrings in https://github.com/scipy/scipy/blob/master/scipy/linalg/decomp.py.  A few other non-ASCII characters are used elsewhere, as noted below.

(Even if not, is it OK?)

The test suite includes a check for Unicode characters in https://github.com/scipy/scipy/blob/master/tools/unicode-check.py, where we have
# The set of Unicode code points greater than 127 that we
# allow in the source code.
box_drawing_chars = set(chr(cp) for cp in range(0x2500, 0x2580))
allowed = (set(['®', 'é', 'ö', 'λ', 'π', 'ω', '∫', '≠']) |
           box_drawing_chars)

So we already explicitly allow é.
(That set was based on existing uses at the time that code was written.  I don't think think there would be a problem if we expanded it to include other common Latin-1 characters.)


Error when typing or moving cursor over commented-out {}

Since I was working with the code anyway I did the git bisect for you, and determined that this issue was introduced in patch 8.1.0112 (commit 3dddb09c98825acefa6f2d94bb369b8e00d7b3e5).
To reproduce
Method 1

Open a file containing code in a C-like programming language, containing a parenthesis, bracket, or brace character that is commented out. Only one such character is required, but a pair works as well.
Move the cursor over the character.

Method 2

Create a new file with syntax highlighting for a C-like language. (e.g. vim asdf.c)
Switch to edit mode
Type //{

Expected behavior
Nothing of note should happen.
Actual behavior
An error message appears, which can get in the way because it requires a keypress to acknowledge. If using method 2, the cursor will always be on the problematic character after the error message. As far as I can tell, as long as it is the last character on the line, it is impossible to type at the end of the line directly, as every time the cursor would appear in the right place, the error appears and moves it back onto that character, at which point anything you type will be inserted before it. Instead, one must temporarily uncomment the line, or use other roundabout methods like the "join lines" function, in order to append text to the end of the line.
Error message:
Error detected while processing function <SNR>12_Highlight_Matching_Pair:
line   97:
E475: Invalid argument: 0
Press ENTER or type command to continue

I cannot reproduce this on Linux64 Vim 8.1.468 (Big version, with GTK2 compiled-in), not even when starting it as vim --clean at the bash prompt in konsole then using method 2 above.
I get no error message and the Insert-mode cursor remains after the { which is the last character on the line.
My $VIMRUNTIME/plugin/matchparen.vim has
" Last Change: 2018 Jul 3

as its line 3. Function s:Highlight_Matching_Pair() starts at line 39 and its endfunction statement is at line 196 (157 lines lower) but line 97 of the function, i.e. line (39+97), or line 136 of the script, could not possibly give the above error: it is the endif in
  if i % 2 == 0
    let stopline = stoplinebottom
  else
    let stopline = stoplinetop
  endif

and it is followed by an empty line then a two-line comment.
Do you still get the same error in a state-of-the-art Vim with the latest runtime files? If you don't, then the problem has been fixed (or has otherwise disppeared) since then.
Best regards,
Tony.

Yep, it was the out-of-date runtime files. Thanks @tonymec!


Community page

This is a PR to add a new diagram to the homepage and a Community page to the website. Details in the PR.

Can we add a link to the community repo somewhere on the community page? Since it contains other important info like how to start contributing, what the DCO is, etc, I think it would be good to have it linked from the website as well.


Add at to query

This incorporates the work that @graeme-defty did in #249. I've rebased and squashed those commits so they should merge cleanly now. I've also updated the logic so that at is 0-indexed.

Chris, my apologies.
I did intend to finish this off, just for closure, but I have been flat out
on my main project.
Sadly I eventually had to go with Capybara for that, but I hope Wallaby
continues to grow.
Graeme
On 14 October 2017 at 10:35, Chris Keathley<EMAIL_ADDRESS>wrote:

This incorporates the work that @graeme-defty
https://github.com/graeme-defty did in #249
https://github.com/keathley/wallaby/pull/249. I've rebased and squashed
those commits so they should merge cleanly now. I've also updated the logic
so that at is 0-indexed.
You can view, comment on, or merge this pull request online at:
https://github.com/keathley/wallaby/pull/323
Commit Summary

Extend set_value for use on check boxes, radio buttons and drop-down
options
0-index at: queries.

File Changes

M integration_test/cases/query_test.exs
https://github.com/keathley/wallaby/pull/323/files#diff-0 (27)
M lib/wallaby/browser.ex
https://github.com/keathley/wallaby/pull/323/files#diff-1 (14)
M lib/wallaby/query.ex
https://github.com/keathley/wallaby/pull/323/files#diff-2 (26)
M lib/wallaby/query/error_message.ex
https://github.com/keathley/wallaby/pull/323/files#diff-3 (6)
M mix.lock
https://github.com/keathley/wallaby/pull/323/files#diff-4 (24)

Patch Links:

https://github.com/keathley/wallaby/pull/323.patch
https://github.com/keathley/wallaby/pull/323.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keathley/wallaby/pull/323, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAK80DPkeJiHYfkXc9dpqOyhFSaKhGAQks5ssCwRgaJpZM4P5Pdx
.

@graeme-defty No worries. I understand how these things go. Thanks for the work on this.

@PragTob Yeah I'm not sure why those ended up in there honestly. I'm guessing its a result of merge conflict or something. I'll revert it.


Added section in Migration Guide: constr constraints order changed

Change Summary

constr constraints order changed between Pydantic V1 and Pydantic V2
Current Migration Guide does not make mention of this breaking change
This PR is just an update to the Migration Guide to highlight the change
It also provides a working snippet to achieve original V1 behavior in V2

Related issue number

#8577, especially https://github.com/pydantic/pydantic/issues/8577#issuecomment-2287696991
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[ ] Unit tests for the changes exist
[ ] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Please ignore the PR, I didn't read the Contribute Guide carefully enough and I missed the pre-commit step.


Cache themes and retrieve from cache when available

Description
This pull request caches the theme data with an expiry date of 30 days to local storage. If a theme exists it is returned and no call to the CDN to get the theme are made
Closes #85
What change does this PR introduce?
Please select the relevant option(s).

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (changes to docs/code comments)

What is the proposed approach?
To resolve this issue I simply added cache setting/getting functions in order to check for a cached theme before going to the CDN. If there is no cached theme or it is expired, a call to the CDN is made and the result is then cached for future use. I chose 30 days as an arbitrary number but we can expand or reduce that as needed
Checklist:

[x] The commit message follows our adopted guidelines
[x] Testing has been done for the change(s) added (for bug fixes/features)
[x] Relevant comments/docs have been added/updated (for bug fixes/features)

Hey @tjtanjin I'll get right on that, appreciate the feedback!

In the meantime, I've gone ahead and implemented a unique key for cached themes so that they don't overwrite and reworked getCachedTheme and setCachedTheme so that they handle undefined versions when setting cache keys. I've also gone ahead and redone the cache theme key to be rcb-theme in accordance with the naming standards I've seen elsewhere in the repo.

Hey @banani720! Are you still working on this PR? If you require further clarifications feel free to ask 😊

Any updates @banani720? 🥹

Succeeded by #103


Leverage SetControllerReference for created children objects: MW, MCV

Need to determine if objects outside the parent object namespace can have a controller reference

MW and MCV are in a different namespace, and hence this cannot be leveraged.


Added Github auth.

Fixes #1217  .
Changes proposed in this PR:

added github auth.

Need to update secrets with GITHUB_TOKEN.


chore: Update Windows VHD AIB job to use Oct 2024 patches

Reason for Change:

Updating Windows VHD AIB job to use Oct 2024 patches
Issue Fixed:

Credit Where Due:
Does this change contain code from or inspired by another project?

[x] No
[ ] Yes

If "Yes," did you notify that project's maintainers and provide attribution?

[ ] No
[ ] Yes

Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Notes:

Verified successful run with Azure E2E PR pipeline.


Switch to SD2 for Roms - odd behavior / documentation bug

Describe the Issue (If applicable)
When using "Switch to SD2 for Roms" as described in https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RGB30#q-how-do-i-make-use-of-the-second-sd-slot-for-roms-and-games seeing a difference in behavior with docs (which was unexpected).
https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RGB30#q-how-do-i-make-use-of-the-second-sd-slot-for-roms-and-games states:

This process will NOT copy any of your roms, games and saves from the main SD card to the secondary card. It will just create the structure for you. You'll need to copy those yourself....

This is not what happened ;-) The Ports directory is copied across, and I started with a single SD card and much later added/switched to a 2nd card and this process took a while.
Looking at https://github.com/christianhaitian/rk3326_core_builds/blob/rk3326/shell-scripts/351MP-V-only/Switch to SD2 for Roms.sh#L104 this is clearly a deliberate decision :-)
How can the issue be reproduced? (If applicable)
Take a single SD card, put a bunch of stuff in /roms/ports, then use Switch to SD2 for Roms.sh
What device are you using?
RGB30
What version of ArkOS are you on?
ArkOS version 2.0 (09292024) and ArkOS version 2.0 (05242024)
Anything else you'd like to include that may help to review this issue or feature request?
One option would be to update the wiki to reflect this.
I want to help out. I have some ideas for refactoring (for simplification), I think it is possible to have the copying of ports (and maybe other directories) as an option.
I did start to refactor https://github.com/christianhaitian/rk3326_core_builds/blob/rk3326/shell-scripts/351MP-V-only/Switch to SD2 for Roms.sh and then after doing that realized that the Switch to SD2 for Roms.sh under source code control is behind what I actually on the device 😿 . I have done some experimental modifications with the ArkOS version 2.0 (09292024) copy of Switch to SD2 for Roms.sh for rgb30 that worked for me BUT I suspect I should take a look at the upsteam version before doing any more testing.
Can you point me at the source code for Switch to SD2 for Roms.sh?
Thanks for making ArkOS available and continuing to work on it!

Oh you're right.  Not sure why I added that.  That latest version of the script will be available on the unit within the /opt/systemAdvanced section.  I"ve also updated the script via the link with the latest updates as well.

@christianhaitian I think change https://github.com/christianhaitian/rk3326_core_builds/commit/8183e496335fd9d73e0ac12fda9d7e2de7f16074 switches BACK to single sd card (like the https://github.com/christianhaitian/rk3326_core_builds/blob/rk3326/shell-scripts/351MP-V-only/Switch to main SD for Roms.sh script Switch to main SD for Roms.sh)
If I want to suggest changes, should I post PRs to https://github.com/christianhaitian/rk3326_core_builds? Would you prefer discussion in issues over there as well?

Discuss here is best

Why is this new script linking roms instead of roms2? Isn't this the Switch to SD2 script?

Discuss here is best


chore: update third-party dependencies (@W-12246411@)

Not updating Salesforce-related dependencies for now.


Playing audio_file not working

For the life of me I can't get an mp3 or wav file to be played over sip.
I have an automation that makes a call. When the call is established, another automation is triggered by a webhook to play an audio file, but I can't get any audio file to play.
This is the automation to make a call (which is working):
alias: Alarm triggered - geluid
sequence:
  - service: hassio.addon_stdin
    data:
      addon: c7744bff_ha-sip
      input:
        command: dial
        number<EMAIL_ADDRESS>        webhook_to_call_after_call_was_established: play_alarm_sound
mode: single
icon: mdi:home-sound-in-outline

This is the automation to play the audio file:
alias: Alarm - Play Alarm Sound
description: ""
trigger:
  - platform: webhook
    allowed_methods:
      - POST
    local_only: true
    webhook_id: play_alarm_sound
action:
  - service: hassio.addon_stdin
    data:
      addon: c7744bff_ha-sip
      input:
        command: play_audio_file
        number<EMAIL_ADDRESS>        audio_file: /media/alarm_sound.mp3
mode: single

This is the last message in the log:
--end msg--
17:04:55.256               stream.c  G722 codec used, remote samples per frame detected = 80
17:04:55.768     strm0x7f16527b5078 !VAD re-enabled
| 17:04:56.138078 [1] Call is established.
| 17:04:56.138548 [ ] Calling webhook play_alarm_sound with data {'event': 'call_established', 'caller'<EMAIL_ADDRESS>'parsed_caller': '201', 'sip_account': 1}
| 17:04:56.193151 [ ] Webhook response 200 b''
| 17:04:56.194664 [ ] Calling webhook sip_call_webhook_id with data {'event': 'call_established', 'caller'<EMAIL_ADDRESS>'parsed_caller': '201', 'sip_account': 1}
| 17:04:56.285826 [ ] Webhook response 200 b''
| 17:04:56.286777 [1] No action supplied
| 17:04:56.287423 [1] Scheduled post action: noop
| 17:04:56.297900 [1] Playing audio file: /media/alarm_sound.mp3
Error: could not find audio file: /media/alarm_sound.mp3

In what folder is ha-sip looking for audio files? The file mentioned is there.

Thank you. I figured it out.


REAC-46 Fixed BasicList's selection

I fixed selection event for Lists->BasicList example.

This is actually a regression in the framework, which will be fixed in 6.5, so we should leave the example the way it is:
https://sencha.jira.com/browse/EXTJS-24289?filter=36600


Issue #34 - Unit and e2e tests for CopyButton component

Issue #34
Description
Test suite for CopyButton.vue component (./src/components/CopyButton.vue) using Jest to Unit Test and   Nightwatch to e2e.  The function of this button is to copy the content of a specific element.

[x] unit tests: Ensure proper initial and click rendering as well as the success and failing event dispatch.
[x] e2e tests: Covers the whole CopyButton flow, from start to end in both usages, copy Rich Text and HTML.

Other information
It was necessary to mock an environment to clipboard.js library on unit tests, because some inner functions from clipboard.js required some api methods from window and document browser objects, unavailable on Jest.
Checklist

[x] My code follows the style guidelines of this project
[x] I added tests thinking about the success of inputs and outputs of content brought through click events in this button.
[x] I added tests thinking about the button behavior.

Developer Certificate of Origin Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

Merging! Thanks, Priscila!


Release 4.0.0dev7

Coverage remained the same at 77.668% when pulling 6de892f4ae0907fd74d63c51ed27122206929bcb on chaosk:release/4.0.0dev7 into a1ac04d3f81777f6404af62a9c31ff74715b7028 on divio:release/4.0.x.


[Setup] Update the required .NET 5 version

Summary of the Pull Request
What is this about:
What is included in the PR:
How does someone test / validate:
Quality Checklist

[x] Linked issue: #16203
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

Let's add a
<ExitCode Value="1638" Behavior="success"/>

tag as well, to both the .net core 3 and .net 5.
This would make so that the error code that a newer version is installed is treated as success.
What do you think?

sounds good!

closed in favor of https://github.com/microsoft/PowerToys/pull/16229


Degraded performance under heavy load

I am using JMXProxy for around 70 JVM to query full data (full=true) and it is load balanced between 2 JMXProxy instances.
I am hitting JMXProxy continuously with around 1 minute of sleep time. But after a point it gets really slow. It takes seconds (10s of seconds) to reply.
How many queries/load it is expected to handle?

This is different than #142 in that this is caused by serializing access to the global host map.  #142 is related, but really caused by lack of a proper connection timeout which sends the server into a blackhole while it's failing to connect.  Both issues will be fixed separately.


Displays component name instead of component title in breadcrumb example

I couldn't get the {item.component.title}  to display in the breadcrumb example.  I changed to {item.component.name}  and the names displayed.
I am not sure if I caught a typo, or if I am doing something incorrect, but I though I would send it along.

Never Mind, I see the title field now...


[CLOSED] Weather Insights test cases

 Issue by Wilson-Ding1
Thursday Sep 28, 2017 at 04:13 GMT
Originally opened as https://github.ibm.com/IBM-Swift/swift-watson-sdk/issues/5

 Issue by rfdickerson
Friday May 06, 2016 at 12:35 GMT
Originally opened as https://github.com/IBM-Swift/swift-watson-sdk/issues/5

 Comment by Wilson-Ding1
Thursday Sep 28, 2017 at 04:13 GMT

 Comment by vherrin
Monday May 09, 2016 at 19:08 GMT

verify that we are picking up on the correct keys

 Comment by Wilson-Ding1
Thursday Sep 28, 2017 at 04:13 GMT

 Comment by vherrin
Friday Jul 15, 2016 at 13:24 GMT

need to revisit this once the newly added api calls are added


Corrupt ZIP: end of central directory record signature not found

Issue Type: Bug
I tried to install the prettier extension Prettier and it fails. When I try to install it manually from the vsix, this error pops up
Corrupt ZIP: end of central directory record signature not found

The same error shows up with the angular language extension.
 Can you install any extension?

Yes, I can install and update some of the other extensions. I recently noticed that updatating the Python extension throws the same error. I don't know what is the complete list of extensions that causes this but there are not all of them.

Are you seeing the same error when you download it and install it?

@sandy081 yes, I tried it with the Prettier extension and the angular one, both when installed manually still throw the error.

@sandy081 yes, I tried it with the Prettier extension and the angular one, both when installed manually still throw the error.

I was getting this exact message installing an extension on a remote system because I needed to specify the proxy to use for that system. Perhaps whatever system you are trying to install this extension on uses a proxy as well?
In vscpde:
File --> Preferences --> Settings --> click the "Remote [SSH: remote.system]" tab --> search for "proxy" --> enter your proxy  info in the box: http://user:pass@proxyaddress:proxyport

@seanmcfeely Your issue is related to this https://github.com/microsoft/vscode-remote-release/issues/231 and has been handled.
@rolurq Sorry for not getting back on this.

yes, I tried it with the Prettier extension and the angular one, both when installed manually still throw the error.

It means that the extension you are downloading is not complete. Looks like Marketplace is not returning complete vsix.

@sandy081 I have keep vscode updated, I think this is fixed, I am not really sure, at least I could install the extensions that where causing the errors, but I haven't installed any new ones.
I'm going to close this because the problem hasn't happened again.


Software bridge & "null" device

Thanks for your development. I would like to support you if you need help with the development. I developed a nello adapter not too long ago (https://github.com/Zefau/ioBroker.nello).
I experienced two issues:

The adapter creates a tree null (nuki.0.null.35...669).
I'm using a software bridge (running an android app, see https://nuki.io/de/blog-de/android-bridge-app-2/). Due to this, the API apparently does not publish an IP address for some reason. The URL https://api.nuki.io/discover/bridges only returns bridgeId, dateUpdated and errorCode. So https://github.com/smaragdschlange/ioBroker.nuki/blob/master/main.js#L514 returns false and initBridgeStates will not be called for me.

Furthermore, I found a nuki API implementation on npm (https://www.npmjs.com/package/nuki-api) and was wondering why the adapter is not based on the API implementation?
Cheers,
Zefau

Hi Zefau,
the issue, that a software bridge is not created as an object in ioBroker because it doesn't return an ip address has been fixed.
I think the first issue has been a follow up error because I never experienced it in my installation.
Greetings,
Sven


Remove italics from Operator

This makes operators like | and ! look like /.

I am working on improving the italics settings for multiple cases, so in the meantime can you add an override for that group instead?
require('gruvbox').setup({
  overrides = {
    Operator = { link = "GruvboxOrange" }
  }
})


fix package vulnerabilities in crypto-js

fixes issue #165

Why do you need to keep crypto-js ? The signature check can be easily done with crypto from node.

Why do you need to keep crypto-js ? The signature check can be easily done with crypto from node.

opened #167 to fix that. can you please review?


Support for SamplerCustomAdvanced?

I think there's an incompatibility when trying to use a BrushNet patched model in the SamplerCustomAdvanced node.
  File "X:\ComfyUI\comfy\samplers.py", line 226, in calc_cond_batch
    output = model_options['model_function_wrapper'](model.apply_model, {"input": input_x, "timestep": timestep_, "c": c, "cond_or_uncond": cond_or_uncond}).chunk(batch_chunks)
  File "X:\ComfyUI\custom_nodes\ComfyUI-BrushNet\model_patch.py", line 35, in brushnet_model_function_wrapper
    all_sigmas = mp['all_sigmas']
KeyError: 'all_sigmas'

Yes, this is right. I patched the part of code that is used by KSampler and KsamplerAdvanced. SamplerCustom is also working. Why do you need specifically SamplerCustomAdvanced?

I like being able to pull out the Sampler/Sigma/Noise into separate nodes and use Use Everywhere to synchronize across different Samplers

Ok, the Brushnet nodes will need sigma input in this case. I will implement it.


constexpr compilation issues

Hi,
I had some compilation issues while trying to compile this project on Fedora 27 :

/mnt/workspace/vulkandriver/drivers/pal/src/util/math.cpp:73:1: error: 'const Util::Math::NBitFloatInfo{16, 10, 5, 15, 32768, 1023, 31744, 15, 15, -14,<PHONE_NUMBER>, 947912704, ((Util::uint32)((((1 << (5 - 1)) - 1) - 127) << 23)), 13}' is not a constant expression
};
^
/mnt/workspace/vulkandriver/drivers/pal/src/util/math.cpp:91:1: error: 'const Util::Math::NBitFloatInfo{11, 6, 5, 0, 0, 63, 1984, 15, 15, -14,<PHONE_NUMBER>, 947912704, ((Util::uint32)((((1 << (5 - 1)) - 1) - 127) << 23)), 17}' is not a constant expression
};
^
/mnt/workspace/vulkandriver/drivers/pal/src/util/math.cpp:109:1: error: 'const Util::Math::NBitFloatInfo{10, 5, 5, 0, 0, 31, 992, 15, 15, -14,<PHONE_NUMBER>, 947912704, ((Util::uint32)((((1 << (5 - 1)) - 1) - 127) << 23)), 18}' is not a constant expression
};

I compiled using the instructions provided in the main repository (https://github.com/GPUOpen-Drivers/AMDVLK).
Thanks

Compiler version :
c++ (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

CMake version :
cmake version 3.10.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Noticed this as well. Replacing constexpr with const works for me.

Thanks for testing out our driver!  Officially we recommend you stick to GCC5 for now, however, we do have a fix in our pipeline for GCC7.2 that just didn’t make it to this first release.
Another fix (keeping constexpr) is to replace the offending biasDiff lines (71, 89, 107) with:
    (((1U << (5 - 1)) - 1) - 127) << 23,                      // biasDiff
We plan to include the fix in the next upcoming update.
Happy holidays!

I made and approved a pull request on the dev branch fixing this issue. See commit 9f339fc4790bcea2c7aac136798fe5f953674117.

The fix is merged to master


Sync all Files. Also .obsidian Files

Currently the obsidian API is used to get all files. By this the dot folders are omitted from detection.
I sync my vault over 3 devices and don't want to manually apply all plugins.
By this issue we might need to change the persistence of the personal access token...
Just my 2 cents here...
If I find the time to make some changes I create a pull request

Just updating my current research:

currently not trivially possible.
i get it working on desktop, but on mobile the adapter changes
some suggest to not do it: https://forum.obsidian.md/t/why-does-fs-writefile-not-save-file/31972/2
my current suggestion is to rewrite the obsidian api concerning the read write operations (what i don't like to do)

=> currently looking for a workaround

e.g. making move .obsidian config files onto mobile easier..

A solution I found is with another plugin,
https://github.com/codeonquer/obsidian-sync-config-folder-to-common-folder
We can use that plugin to sync the .Obsidian folder to another folder inside the vault so it's picked up by FIT.
But, I'd like a solution that doesn't require adding another plugin or duplicating files as well.

i've found, that sync via the regular git plugin works well.
all you have to do is create a personal token (access only to the repo read/write)
create a specific github URL and use this without any problem (private repo / readwrite access only to the specific repo)
e.g.: url = https://github_pat_11AC65<EMAIL_ADDRESS>

I'm not a dev and don't use git. That's the reason I tried this over the regular git plugin.
Now I went back to syncing using Mega cloud. Even the free version has version control and it's much easier to manage and use 'Local Backup' as an extra.

i switched to remote sync... no problem with merge conflicts... simply use onedrive.... pretty simple


how to close activated sessions?

One user can log in through multiple systems with various IP addresses, so is there any way to deactivate one of his sessions? (or all other sessions except the current logged in one) if yes, how?
The thing I want to do is exactly like Telegram which you are able to close any of your activated sessions.

That would be something you'd need to control on the OP.


Allow permalink on /characters index page

We need to provide a way for users to copy paste their URL so that it points to the current selected character

Something like : /characters/2b/costume


Question: Usage with react-router ?

Hi there - react-router seems to be a popular tool for front-end routing / url management.
(see: https://github.com/ReactTraining/react-router/blob/master/docs/Introduction.md )
I'm wondering if GoldenLayout is possible to be used wiht react-router?
I understand that GoldenLayout in essence solves the routing problems that React-Router is trying to solve in fhe first place -- that is, GoldenLayout handles component layout, component nesting, component location tracking, etc.
But I'd like to instantiate GoldenLayout inside a React-Router route, as the main route. I want to use React-Router to add non-GoldenLayout extensibility to my front end (such as a non-GoldenLayout tab, views, cards, etc).
Is this possible?
Thanks!! (sorry if too much text)

Trying to accomplish the same thing, but struggling to understand how to initialize the GoldenLayout in conjunction with the conventions of ReactRouter.  Anybody happen to have a codepen example showing how to do it?

I'm more familiar with Angular and its routing than React. However can you provide a basic example of the routing and where you would like the GoldenLayout to be. I will have a shot at adding GoldenLayout to the route.

I've spent a lot of wasted time trying to integrate outside React components with Golden Layout on the same page.  In my opinion, it's really not worth the effort -- all the extra time you spend on kludging and figuring things out on your own, to get it to all hack together, is better spent doing pure React and using other React component libraries.

I don't think there's an easy answer to this. It won't work. I'm going to mark this closed.


Update Capsule modalProps type

Add new type that Omits isOpen and capsule keys from CapsuleModalV2Props inline with the wagmi v1 and v2 changes made to omit the same keys from CapsuleModalProps.
PLEASE NOTE- Checklist must be complete prior to review.
Checklist

[x] Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
[ ] Check the box that allows repo maintainers to update this PR
[x] Test locally to make sure this feature/fix works
[ ] Run yarn check-all to confirm there are not any associated errors
[ ] Confirm this PR passes Circle CI checks
[x] Add or update relevant information in the documentation

Docs Checklist

[ ] Include a screenshot of any changes (see docs README on running locally)
[ ] Add/update the appropriate package README (if applicable)
[ ] Add/update the related module in the docs demo (if applicable)
[ ] Add/update the related package in the docs/package.json file (if applicable)

If this PR includes changes to add an injected wallet or SDK wallet module:
Please complete the following using the internal demo package.
To run this demo use the command yarn && yarn dev to get the project running at http://localhost:8080/
Tests with demo app (injected)

[ ] send transaction
[ ] switch chains
[ ] sign message
[ ] sign typed message
[ ] disconnect

Tests with demo app (SDK)

[ ] send transaction
[ ] switch chains
[ ] sign message
[ ] sign typed message
[ ] disconnect

@Adamj1232 Made the package version changes. We also decided on making an additional prop Type change for our module. Thanks!


Live

Test PR

Docs Build status updates of commit 430bf41:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


fix(trace.py): send requests in a single session

🆙

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


Weird wgpu warning

A Linux user reported seeing this:

[2023-08-23T08:31:15Z WARN  wgpu_hal::vulkan::instance] Disabling presentation on 'Intel(R) HD Graphics 630 (KBL GT2)' (id 0x13f7da0) because of NV Optimus (on Linux)

This is weird - Nvidia Optimus should be the better choice, so we should't be warning that we're switching to it. Are we setting the wrong performance profile, or is this a wgpu_hal issue?

Stale, and no repro


INFRA-18100 - add redirect for senssoft => flagon (private archives)

Ping?

Ping?

Ping - can this be merged please?

PING?


[MO] - LogicalKafkaVersion, Generic containers replaced by builder

Signed-off-by: morsak<EMAIL_ADDRESS>This PR adding few changes in test-container repo:

the First problem was that we add two more instance properties to containers (kafka_version, strimzi_test_container_version), which results in a lot of factory methods... I decided to re-factor the builder pattern and make it more flexible.
the Second problem is that we do not want to have any information about Kafka and Strimzi test container versions. The solution is the class (KafkaVersionService), which takes care of this. In case more interested see the KafkaVersionService class.

It works on the following JSON schema:
{
  "version": 1,
  "kafkaVersions": {
    "3.0.0": "test-container:latest-kafka-3.0.0",
    "2.40.50": "test-2",
    "2.8.1": "test-container:latest-kafka-2.8.1"
     ... (more versions...)
  }
}

This PR will be blocked until we decide, where do we want to store JSON file with versions

@scholzj )

Should KafkaVersionService support looking up a given version from a String, so that it's possible to write deterministic tests (example use case: I had to work around some issue in Kafka x.y.z that's fixed in x.y.(z+1), and I want to write a regression test). It might make sense to do this in another PR, so we can merge this one.

Noted for the next PR :)


[Feature Request]OData V3 Support

As V3 and V4 response types are similar, requesting support for V3.
Both are using value to hold the data, but V3 uses odata.metadata instead of @odata.context, and odata.count instead of @odata.count. Paging also using odata.nextLink instead of @odata.nextLink, so mostly it's not using the @ prefix.
Northwind V3
Northwind V4

TODO List for V3 Support

[ ] Detect V3
[ ] Throw error for unsupported versions

EDMX Capabilities
AFAIK V3 introduced ComplexType and EnumType, maybe also collection of primitve values.
This should be supported already, but I should check again:

[ ] Support ComplexType
[ ] Support EnumType
[ ] Support Collection of Primtive Values?

HTTP capabilities

[ ] use PATCH instead of MERGE (like V4)

Response Structures

[ ] use V4 response structures

Differences:

Entity Response: like v4, but

odata.metadata instead of @odata.context

Entity Collection Response: like v4, but

odata.metadata instead of @odata.context
odata.count instead of @odata.count
odata.nextLink instead of @odata.nextLink

However, the specification should be checked thoroughly. @szarcensky you're very welcome to point out more differences!

A few differences that seemed relevant from V3 to V4
OData-Version replaced DataServiceVersion
OData-MaxVersion replaced MaxDataServiceVersion
OData-EntityId replaced DataServiceId
$inlinecount=allpages has been shortened to $count=true
V3 doesn't support $search
What’s New in OData Version 4.0

Hi @szarcensky,
in the original discussion you stated:

my service is v3. The class structure is expecting the response in the format response.data.d.results but what's coming back from the odata service is in the format response.data.value

You also pointed to the "official" sample V3 odata service as example: [Northwind V3] (https://services.odata.org/V3/Northwind/Northwind.svc/Customers?$format=json). It behaves the way you say.
However, according to the V3 spec on response structures they should definitely align with V2. This would mean that the response of Northwind V3 is plainly wrong. The specification always wins and this is to be assumed weired behaviour then.
As you are concerned with your very own implementation of an OData service, how comes that you return that kind of response structure?

Hi @szarcensky,
ok, this article sheds some light on what is happening:

OData supports several serialization formats:

Atom Pub (XML)
JSON "light" (introduced in OData v3)
JSON "verbose" (OData v2)

By default, Web API uses AtomPubJSON "light" format.

The funny thing is that this differentiation between "ligth" and "verbose" JSON format is never explicitly discussed in any of the official documents (well, at least I cannot find it). And there only exists a specification for the verbose format, which I was referencing above. In there I can now found this section:

Verbose JSON is not the default OData format. To receive responses in Verbose JSON, the client MUST explicitly ask for them.
To request this format using $format, use the value jsonverbose. To request this format using the Accept header, use the MIME type application/json;odata=verbose.

So for you it would be as easy as
new FetchClient({headers: { Accept: "application/json;odata=verbose" }) // same would hold true for the other HTTP clients

I'm adding an appropriate todo in the list above.

Hey. Is there any progress on this? Maybe, any tips on hacking together something for this library to work with v3?

Hey. Is there any progress on this? Maybe, any tips on hacking together something for this library to work with v3?

@Shmookoff the main issue I had using V3 was the data coming back in the response.data.value format, when the library's V2 support is expecting response.data.d.results. If your V3 uses the other format, which it optionally can, you may not have that issue at all. I found that if I cast the promise response to any, and referenced the data using the response.data.value format, I was able to get and use V3 responses without any errors. Of course, this is non ideal if you're expecting a third party user to use the generated code, as you'd need them to use this technique.

Hi @Shmookoff,
what's your use case: model generation or full odata client?

@szarcensky Sadly, my OData provider uses the response.data.value format. However, I don't want to give up type safety the library provides.. I suppose I can force it to use response.data.d.results using some wrapper (maybe a proxy server that just alters the format; translation layer) around the OData provider. Is there any other issues I should be aware of?

Hello, @texttechne. Full OData client.

Hi @Shmookoff,
then your biggest problem is the response structure, I guess.
The workaround is:
new FetchClient({headers: { Accept: "application/json;odata=verbose" }) // same would hold true for the other HTTP clients

With this setting you get the V2 response structure and odata2ts works in this regard then.
Do you have any other issues of the above mentioned feature list (my first comment in this thread)?


4.3.1 not starting ?!?

i just migrated from 4.3.0 to 4.3.1 ... log looks OK but ends with:
"Starting mmonit 4.3.1"
... thats it ...
website not reachable ... missing "mmonit 4.3.1 started"
Anyone else this problem ?
br, RIchard

Everything OK here in the meantime :-)
it took almost 10min from ‘starting’ to ‘started’ ... maybe I should migrate slowly to SSD ;-)


v1.1: support for inline source config (enabled)

resolves https://github.com/dbt-labs/docs.getdbt.com/issues/1331
Description & motivation

In v1.1, it's possible to define inline config property for sources
Why does this matter? It's now possible to (conditionally) enable/disable a single source or source table, which is very useful for people who maintain or use packages

Pre-release docs
Is this change related to an unreleased version of dbt?
Yes! New prerelease flow

@runleonarun Just tried this locally to verify, and doesn't look like it's possible to use components within code blocks.
One idea if we wanted to version a code block without cluttering the source-properties.md file, would be to use Snippets for the code blocks. If we created two separate snippets, with the one having the variation for v1.1, we would version them on the page in this way:
`

`


plotjuggler

[ ] README
[ ] wrapper to pass in route and segment
[ ] wrapper falls back to qlogs
[ ] install script
[ ] demo route

README should include:

what is plotjuggler?
link to our fork and plugin
demo route (we can do this one later)


Remove duplicate test case

This was resulting in a warning while running tests.

tag @dotnet/project-system


Error: Reference 'refs/heads/master' not found

Got this error in the console:

I noticed that the diff markers are not appearing next to the line numbers in files. Not sure if that has anything to do with it.

@download13 Please read [How do I submit a (good) bug report]](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#how-do-i-submit-a-good-bug-report) and include the relevant information here so that we can triage this further.  Thanks!

Nevermind, those errors were caused by Atom code, which is no longer in that repo anyway.


Improve README to specify Python 3.6 or higher.

bad quality

The PR was open to editing on your part.


Refactored MicroProfiler to use an Event struct for tracking events.

Using Event paired with MicroProfiler::GetActiveEvents() allows developers to access all of the event data for post-processing, such as exporting to a csv, or performing statistical analysis of latency across multiple runs of the same model.

I haven't had a chance to look at the code, but tagging @alanvgreen since I'm guessing there is overlap between this PR and #201

It seems useful to have some of the post-processing (such as exporting to csv) to be part of the tflite-micro codebase as well (e.g. #201).
What do you think about export CSV directly to MicroProfiler instead of adding an API to access the MicroProfiler::Event struct? Will that work for you?

I think there's benefits to both. The CSV will help with exporting raw data out for postprocessing in other languages, but some of what we've built just pretty prints the events in a nicer format for when we don't necessarily want to export to python.
We're also planning on exporting the allocation statistics as well, so maybe it makes sense to make the csv exporting more general purpose? Below's an example of what I've done with the MicroProfiler::Event struct.
Average Ticks 2014888
Tag                  Ticks       % CPU      stddev
-------------------------------------------------------
CONV               | 478647    | 23.75    | 83        |
FULLY_CONNECTED    | 86576     | 4.29     | 37        |
CONV               | 201757    | 10.1     | 79        |
FULLY_CONNECTED    | 86595     | 4.29     | 56        |
CONV               | 201716    | 10.1     | 94        |
FULLY_CONNECTED    | 86562     | 4.29     | 44        |
CONV               | 201752    | 10.1     | 44        |
FULLY_CONNECTED    | 86574     | 4.29     | 43        |
CONV               | 156309    | 7.75     | 26        |
CONV               | 183916    | 9.12     | 25        |
CONV               | 183888    | 9.12     | 44        |
FULLY_CONNECTED    | 8413      | 0.41     | 10        |
SOFTMAX            | 52178     | 2.58     | 30        |
-------------------------------------------------------

Unique Events
Average Ticks 2014888
Tag                  Ticks        % CPU      stddev
--------------------------------------------------------
CONV               | 1607988    | 79.80    | 134       |
FULLY_CONNECTED    | 354722     | 17.60    | 83        |
SOFTMAX            | 52178      | 2.58     | 30        |
--------------------------------------------------------

Yeah, makes sense. My biggest concern is that the MicroProfiler::Event struct might change and break downstream tools.
If you are ok with either having your tools break every now and then, or putting the more general tools directly in tflite-micro, then we can go with the public Event struct.
One possible next step is:

add csv export to MicroProfiler
replacing the current printing in MicroProfiler with the pretty-print that you have (which looks really nice!).
still keep the public Event struct if there are additional tools that you have that would not work with the csv export (with the understanding that the Event struct will be less stable than the csv format).

If there are no tools that will need the Event struct once we have 1. and 2. in the MicroProfiler class then maybe we can keep it private for now.
Thoughts?

Is there a particular reason why we couldn't make the actual backing data stores protected? This way i could subclass MicroProfiler and keep the Event struct internally to my needs as well.
This sounds fine to me, but I would also need to make sure that we can save a CSV for the RecordingMicroAllocator as well.

Closing this PR since we have CSV output with https://github.com/tensorflow/tflite-micro/pull/218. We can revisit this again if needed.


Time offsets

Show the correct times throughout.

Offsets are now baked in to the reported_at_utc field as of a2ae664989af3374f25efdf8958090857f94d9bf.


upgrade freighter-api to use latest and pass it network passphrase

This change fixes an issue where Lab was telling Freighter that an XDR was either on MAINNET or TESTNET. It didn't allow for signing on FUTURENET or custom networks.

Preview is available here:http://laboratory-pr676.previews.kube001.services.stellar-ops.com/


UX: request for clarification - does "--identity" print secret data?

What were you trying to do
I'm trying to figure out how to use age-plugin-yubikey to safely store my nix secrets with agenix. agenix requires an "identity" file be present to decrypt the stored secrets, and I'm trying to figure out if it's safe to store output of age-plugin-yubikey --identity in the repo (assuming it's akin to the gpg "key grips" you get with smart cards), or if that contains any of the secret data that would otherwise rest safely on my yubikey.
What happened
I was hoping the docs could clear that up, but they refer to "identities stored on yubikeys" and then show how to print an identity in  https://github.com/str4d/age-plugin-yubikey#configuration; so it would be good to have clarification on how secret the information printed really is.

An age-plugin-yubikey identity is similar to a key grip. It contains:

The serial of the YubiKey on which the identity's secret key resides.
The ID of the slot on that YubiKey's PIV applet in which the identity's secret key is stored.
A 4-byte digest (a "tag") of the corresponding recipient, so we can detect if the secret key in the slot matches what it was when the identity was generated.

The tag enables an identity to be linked to a recipient (with 2^-16 collision probability, which is possible across the entire ecosystem but unlikely within your own personal keys), so that's one thing to consider. Likewise the YubiKey serial might make the identity linkable to other key grips, which might be relevant to some threat models.
But there's nothing in the identity that compromises the secret key. That is generated in the YubiKey, and never leaves it.

Perfect, that's just as I'd hoped! Thank you!


Pull Request Message Analyzer

Hey Chris, I was unable to add a PR, can you please add message analyzer (choco install -y microsoft-message-analyzer ) and wireshark (choco install -y wireshark) to the install-utilities.ps1?

Working through a lot of other issues, don't have plans to get to this anytime soon. Would be best if you were able to open a PR.

PR created #203

Added wireshark, left out message analyzer due to conflict with ATA. Fixed in #210


python311Packages.weatherflow4py: init at 0.2.20

Module to interact with the WeatherFlow REST API
https://github.com/jeeftor/weatherflow4py
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Waiting on a response for the license statement: https://github.com/jeeftor/weatherflow4py/issues/24

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

4 packages built:

python311Packages.weatherflow4py
python311Packages.weatherflow4py.dist
python312Packages.weatherflow4py
python312Packages.weatherflow4py.dist

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

5 packages built:

home-assistant-component-tests.weatherflow_cloud
python311Packages.weatherflow4py
python311Packages.weatherflow4py.dist
python312Packages.weatherflow4py
python312Packages.weatherflow4py.dist

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

5 packages built:

home-assistant-component-tests.weatherflow_cloud
python311Packages.weatherflow4py
python311Packages.weatherflow4py.dist
python312Packages.weatherflow4py
python312Packages.weatherflow4py.dist

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

5 packages built:

home-assistant-component-tests.weatherflow_cloud
python311Packages.weatherflow4py
python311Packages.weatherflow4py.dist
python312Packages.weatherflow4py
python312Packages.weatherflow4py.dist


Profession

How to get different professions name (Like Doctor, Engineer, Teacher, Lawyer etc) ?

Use jobTitle


Useless logs ?

I recently created a modpack and started a server about five days ago. While reviewing the logs, I noticed an abundance of irrelevant entries, and I'm unsure of their origin.
Some of the logs appear to be unrelated to player actions (commands). For instance, when using the Waystone mod to teleport, it logs the action, which is expected. However, I've also noticed frequent entries related to attribute modifiers, such as permanent force adjustments, appearing every 2 to 3 seconds.
Is there a way to distinguish between commands sent by mods and those initiated by users?

What do you mean exactly? Only commands preformed by players will be logged by GriefLogger.

In my database, I have around 20,000 items in the 'commands' category. I notice that certain commands, not executed by users, are logged in there. I suspect this might be coming from the Apotheosis mode, as it involves attributes. I want to clarify that I don't execute this command.
And i have like 19,964 commands that are executed that contains attribute.


API Endpoint Map

Look into ways to automate this, otherwise we'll have to manually add every endpoints
Example: https://developer.twitter.com/en/docs/twitter-api/migrate/twitter-api-endpoint-map

Swagger sounds interesting for this:
GitHub
NPM
Example 1
Example 2


Onboarding flow | No end button on welcome tour window.

Description
The welcome tour window should allow user to end tour at any point. End top is on the top right which makes it really hard for someone to figure out how to end the tour.

The PR to make changes was already merged. Hence, closing this issue.


Add leaf segment key generator related functions.

Fixes #1775.
Changes proposed in this pull request:

Add new key generator "LeafSegmentKeyGenerator" and related functions.

Pull Request Test Coverage Report for Build 8311

69 of 78 (88.46%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 61.164%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/keygen/LeafSegmentKeyGenerator.java
69
72
95.83%

sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-zookeeper-curator/src/main/java/org/apache/shardingsphere/orchestration/reg/zookeeper/curator/CuratorZookeeperRegistryCenter.java
0
6
0.0%

Totals

Change from base Build 8309:
0.2%

Covered Lines:
8363

Relevant Lines:
13673

💛  - Coveralls

@tristaZero.

Any relationship with #2449

@terrymanu. This is a new implementation of the leaf segment key generator. #2449 is old and will be
redundant.

So maybe you can close #2449

@terrymanu. I've closed it.

@wgy8283335 Hi, i think the new pr is better and clearer. Maybe we can have a discussion on two of optimization terms.

The configurations of regsitry, in which we can find required items and optional items. For required items, we need to check them when initializing LeafGenerator e.g, serverLists, TYPE, namespace.
Can LeafGenerator use other registry center e.g, ETCD?

@wgy8283335 Hi, i think the new pr is better and clearer. Maybe we can have a discussion on two of optimization terms.

The configurations of regsitry, in which we can find required items and optional items. For required items, we need to check them when initializing LeafGenerator e.g, serverLists, TYPE, namespace.
Can LeafGenerator use other registry center e.g, ETCD?

@tristaZero. The required items haven ben checked in the get***() method. For example, getServerList(),getStep().  TYPE and NAMESPACE are initialized to be static final member, the value of them won't be changed.

@tristaZero. I made a pull request.


Is there a way to decompile the actionmaps.xml from Crysis Remastered?

I'm trying to remove the toggle functions from some of the actions.

Not that I'm aware of.  The only actionmaps.xml file I'm aware of is under libs\config\profiles\default, and it's just an empty xml file.

Do you know where the key bindings for the active player profile stored?

I have no idea.  Sorry. :(
If I had to guess, it's probably in the user directory somewhere.  It won't be in the game files.

Closing issue.


Enable plugins to support multiple renderings of same component

The current implementation of the plugins feature passes a hash of hypernova-jobs to the callbacks
(e.g. { 'component_name.js': { :name => 'component_name.js', :data => {} } }).
This makes it impossible to render a single component more than once per request when using plugins, although hypernova supports it by default.
This PR changes this behavior and passes the jobs array from hypernova_batch to the plugin functions, so all jobs can be process equally.
(e.g. [{ :name => 'component_name.js', :data => {} }, ...]).
I changed the version to 2.0.0 since this is a breaking change for everyone who is using plugins that use prepare_request, send_request?, will_send_request, on_success or on_error since they all receive an array instead of hash now.

Btw, I fixed your annotations @ljharb 🙂


use cmap library for colormaps

this PR is an example of using https://github.com/tlambert03/cmap instead of matplotlib for colormaps.
It does add cmap to setup.py ... but if you'd prefer not to go that far, we could guard it all behind an import and say "must install cmap to display stuff with colormaps"
closes #387

Seems like there are slight color differences between the cmap library and matplotlib ones? You can download the screenshot diffs at the bottom: https://github.com/fastplotlib/fastplotlib/actions/runs/7090258613

Seems like there are slight color differences between the cmap library and matplotlib ones? You can download the screenshot diffs at the bottom: https://github.com/fastplotlib/fastplotlib/actions/runs/7090258613
I don't think it's an issue, but I'm curious why it's different.

thanks for the heads up @kushalkolar.  I'll have a look at it and figure out what's going on.
I do actually test for parity with matplotlib here (both naming and the actual effect of applying the cmap to an image), so i suspect that the differences might be in the way that colormaps are actually applied in the functions module.  I did notice a very slight difference in the values of get_cmap as well, so I suspect that might be the root of it.  I'll do some digging and get back to you :)

btw, I'd like to run these tests locally, but i ran into https://github.com/fastplotlib/fastplotlib/issues/388 ... any thoughts there?

Thanks!
Everything in the regenerate screenshots workflow seems fine visually, so you can replace the ground truth of the failing tests with those.

Curious what the difference was previously when the colors weren't matching?

oh good.  it's working on CI too!
Yeah, the difference is actually a good one for you to know about:
the cmap.Colormap object behaves very much like a matplotlib.colors.Colormap, with the main API being the __call__ method, which takes an array of scalars and returns an array of colors.  And, just like the matplotlib API, if the input array is of dtype float, it expects values from 0-1, and it's of dtype int, it expects 0-255.
In [27]: import cmap

In [28]: viridis = cmap.Colormap('viridis')

In [29]: viridis(np.linspace(0, 255, 5, dtype=int))
Out[29]:

array([[0.267004, 0.004874, 0.329415, 1.      ],
       [0.231674, 0.318106, 0.544834, 1.      ],
       [0.128729, 0.563265, 0.551229, 1.      ],
       [0.360741, 0.785964, 0.387814, 1.      ],
       [0.993248, 0.906157, 0.143936, 1.      ]])

In [31]: from matplotlib import colormaps

In [32]: mpl_viridis = colormaps['viridis']

In [33]: mpl_viridis(np.linspace(0, 255, 5, dtype=int))
Out[33]:

array([[0.267004, 0.004874, 0.329415, 1.      ],
       [0.231674, 0.318106, 0.544834, 1.      ],
       [0.128729, 0.563265, 0.551229, 1.      ],
       [0.360741, 0.785964, 0.387814, 1.      ],
       [0.993248, 0.906157, 0.143936, 1.      ]])

There's of course a subtle difference in the input array there, for N evenly spaced numbers:
In [35]: np.linspace(0, 1, 5, dtype=float)
Out[35]: array([0.  , 0.25, 0.5 , 0.75, 1.  ])

In [36]: np.linspace(0, 255, 5, dtype=int)/255
Out[36]: array([0.        , 0.24705882, 0.49803922, 0.74901961, 1.        ])

and
In [29]: viridis(np.linspace(0, 255, 5, dtype=int))
Out[29]:

array([[0.267004, 0.004874, 0.329415, 1.      ],
       [0.231674, 0.318106, 0.544834, 1.      ],
       [0.128729, 0.563265, 0.551229, 1.      ],
       [0.360741, 0.785964, 0.387814, 1.      ],
       [0.993248, 0.906157, 0.143936, 1.      ]])

In [30]: viridis(np.linspace(0, 1, 5, dtype=float))
Out[30]:

array([[0.267004, 0.004874, 0.329415, 1.      ],
       [0.229739, 0.322361, 0.545706, 1.      ],
       [0.127568, 0.566949, 0.550556, 1.      ],
       [0.369214, 0.788888, 0.382914, 1.      ],
       [0.993248, 0.906157, 0.143936, 1.      ]])

... so, in my original PR, I used a slightly lower level construct to retrieve the N evenly spaced colors.  Rather than using Colormap.__call__(some_array), I used Colormap.lut(n_colors) ... which was slightly different than the existing code you had here which used np.take on a linspace array of int:
In [37]: viridis.lut(5)
Out[37]:

array([[0.267004  , 0.004874  , 0.329415  , 1.        ],
       [0.23022275, 0.32129725, 0.545488  , 1.        ],
       [0.1281485 , 0.565107  , 0.5508925 , 1.        ],
       [0.36285925, 0.786695  , 0.386589  , 1.        ],
       [0.993248  , 0.906157  , 0.143936  , 1.        ]])

so I switched it to the __call__ approach and then everything matched the current screenshots.  probably visually imperceptible, but might as well keep the same behavior :)  Don't hesitate to ask if you have any questions about the cmap object.  But in general, the __call__ method was designed (and tested) to behave exactly like matplotlibs.

The colormap text files can now be removed too.

oh wow... to be honest, I somehow missed the distinction there that matplotlib was only being used as a fallback.
So, a question for you: I can definitely understand wanting to keep dependencies to the absolute minimum.  So, would you like me to update this PR slightly to keep the current behavior for named colormaps that you already bundle, remove cmap from setup.py and fallback to cmap only in the case that a string name is unrecognized?  That would still allow you to support custom colormaps using all the previously discussed syntax, but the user would have to opt-in to that behavior.  Thoughts?

There's of course a subtle difference in the input array there, for N evenly spaced numbers:
In [35]: np.linspace(0, 1, 5, dtype=float)
Out[35]: array([0.  , 0.25, 0.5 , 0.75, 1.  ])

In [36]: np.linspace(0, 255, 5, dtype=int)/255
Out[36]: array([0.        , 0.24705882, 0.49803922, 0.74901961, 1.        ])

That is a subtle difference, thanks for tracking it down! I think the reason we used the approach that we did, and use int, is because it makes it easier to work with qualitative colormaps when you give n_colors. (not entirely sure, I wrote that part of the code years ago in a previous library)

So, a question for you: I can definitely understand wanting to keep dependencies to the absolute minimum. So, would you like me to update this PR slightly to keep the current behavior for named colormaps that you already bundle, remove cmap from setup.py and fallback to cmap only in the case that a string name is unrecognized? That would still allow you to support custom colormaps using all the previously discussed syntax, but the user would have to opt-in to that behavior. Thoughts?

Since cmap only depends on numpy I'm fine with keeping it in, if there are issues down the road I would rather vendor it in, but I hope you're able to keep producing all the cool things you've been doing in the imaging ecosystem! :)
I like that this will now enable us to do things like line.cmap = ["blue", "green", "yellow"] to create custom arbitrary colormaps. Speaking of which, would you be interested in implementing that? No worries if you don't have time, I can easily do it in another PR :smile:

One more thing, does the cmap lib allow centering diverging colormaps arbitrarily?
For example if the following values exist and you want to center the seismic colormap around 0, instead of the middle value here which would be -2?
[-6, -5, -4, -3, -2, -1, 0, 1, 2]

I like that this will now enable us to do things like line.cmap = ["blue", "green", "yellow"] to create custom arbitrary colormaps.

I just changed examples/notebooks/lines_cmap.ipynb to the following code:
plot.graphics[0].cmap = ["blue", "green", "yellow", "#FA499E", (0, 0.2, 0.99)]

and it seemed to work just fine:

... was there something else you were expecting would be needed?

This example: https://github.com/fastplotlib/fastplotlib/blob/main/examples/desktop/line_collection/line_stack.py
If you have pyqt6 installed you can use the %gui qt hook. Otherwise you can force the glfw canvas with plot = fpl.Plot(canvas="glfw")

thanks.  Yeah that example works, but it does get more confusing due to the overloading of the argument as a colormap or list of colormaps.  So, one has to be rather careful there.  If I do this:
# line stack takes all the same arguments as line collection and behaves similarly
cmaps = ["jet"] * len(data)
cmaps[-2:] = ["cubehelix", ["red", "orange", "yellow", "green", "blue", "indigo", "violet"]]
plot.add_line_stack(data, cmap=cmaps)

then it works and I see this:

... but it's rather easy to get into trouble there

Yes you are right, because then this will raise:
plot.add_line_stack(data, cmap=["red", "blue", "green"])`

But if a line collection is already created, then this will work:
plot.graphics[0].cmap = ["red", "blue", "green"]

File ~/repos/fastplotlib/fastplotlib/graphics/line_collection.py:125, in LineCollection.__init__(self, data, z_position, thickness, colors, alpha, cmap, cmap_values, name, metadata, *args, **kwargs)
    123 elif isinstance(cmap, (tuple, list)):
    124     if len(cmap) != len(data):
--> 125         raise ValueError(
    126             "cmap argument must be a single cmap or a list of cmaps "
    127             "with the same length as the data"
    128         )
    129     single_color = False
    130 else:

ValueError: cmap argument must be a single cmap or a list of cmaps with the same length as the data

Question: We could enforce that the cmap kwarg should represent a single cmap. If the user wants to pass a list of cmaps we make a new kwarg called cmaps?
After the line collection has been created, this still works to change cmaps of individual lines:
plot.graphics[0][2:5].cmap = ["blue", "yellow", "green"]

Question: We could enforce that the cmap kwarg should represent a single cmap. If the user wants to pass a list of cmaps we make a new kwarg called cmaps?

I can see arguments for and against.  (notably, it's a breaking change).  With the appropriate type checking and exception messages, it should be possible to keep a single cmap argument, but you just need to be careful about the inspection of the object and provide clear help/feedback

Question: We could enforce that the cmap kwarg should represent a single cmap. If the user wants to pass a list of cmaps we make a new kwarg called cmaps?

I can see arguments for and against. (notably, it's a breaking change). With the appropriate type checking and exception messages, it should be possible to keep a single cmap argument, but you just need to be careful about the inspection of the object and provide clear help/feedback

Hi, sorry for the late reply, been slow getting back into this after the winter holidays!
I think we can allow the following types of use for the cmap argument in LineCollection:

If it is a str of a valid cmap name, ex. jet, then it is handled how it currently is; first line would be dark blue, last line would be red.
If it is a list of str check if it is possible to make a cmap from it using your library (so this should be a list of valid color names). If not go to possiblity (3) below.
If it is a list of str with the same length as the number of lines, then check to make sure every str in the list is a valid cmap and each individual line uses this cmap across the length of the line.
If it is a list of list, if len(outerlist) == n_lines, check that each sublist can be made into a cmap from your library and use this to color each individual line.

I think this should cover all the cases? :smile:


Running The Function With Program.cs

Hi George,
I'm using Greenhopper to create a POC Azure Function based off of the sample in your code. I'm unable to have the Azure Function point to your Program.cs to run first. Is there a reason why Program.cs is used rather than Startup.cs?

Hello!

Thanks for the response, and apologies for the delay. I solved the problem after upgrading the .Net version.


[BUG] Dial tcp port:i/o timeout when deploying MicroShift docker container on MacOS x86

What happened?
Follow the doc to deploy Microshift image:
  docker run -p <IP_ADDRESS>:329:6443 -p <IP_ADDRESS>:30095:9095 -p <IP_ADDRESS>:30080:8080 quay.io/microshift/microshift-aio:latest
The kubeconfig is described as follows:
`apiVersion: v1
kind: Config
current-context: microshift
preferences: {}
contexts:

context:
cluster: microshift
namespace: default
user: user
name: microshift
clusters:
cluster:
server: https://<IP_ADDRESS>:6443
certificate-authority-data:
name: microshift
users:
name: user
user:
client-certificate-data:
client-key-data: `

When I execute kubectl version command and dial tcp <IP_ADDRESS>:6443: i/o timeout occured.
What did you expect to happen?
the 6443 port from Microshift container is accesable from local host
How to reproduce it (as minimally and precisely as possible)?

Follow along https://github.com/stolostron/multicluster-global-hub.

Anything else we need to know?
Environment

MicroShift version (use microshift version):
Hardware configuration:
OS (e.g: cat /etc/os-release): macOS Monterey
Kernel (e.g. uname -a):
Others:

Relevant logs

@MMMsc, thank you for reporting this issue. We no longer support running MicroShift in containers. The instructions in the microshift.io site are outdated and they may not work.
For up-to-date MicroShift installation instructions, please follow instructions from https://github.com/openshift/microshift site.

Closing this issue as the reported environment is not supported.
/close


pkg/gadgets: Fixes trace bind for kernel 6.6 and younger.

In kernel 6.6, the bitfields in struct inet_sock where moved to a dedicated flag [1, 2, 3, 4].
To adapt to this change, a CO-RE solution was proposed in iovisor/bcc for bindsnoop 5.
This is a good solution, as it will work on kernel backporting the patches.
This commit adapts the bindsnoop solution to Inspektor Gadget.

What do you mean by u8 vs u16? This problem does not exist upstream as they do not use macros:
iovisor/bcc@a55b5a0

Ah, I thought they also have this issue. Nothing to be done then.


Decide on a serialization format

As mentioned in #440, in order to simplify our networking layer we would like to switch away from HTTP/JSON to UDP/Bin_prot.

It's not obvious that bin_prot is the serialization format we ultimately want. The design space is quite large and it's hard to know ahead of time what will work best. Some other libraries to consider are Data_encoding (which is well supported by Tezos ecosystem and has JSON outputs "for free") and Capn Proto (which may be as or more performant than bin_prot but with better langauge support).

We're going with Data_encoding for now 👍


NamedSize mapping to platform sizes

The documentation should show the mapping of NamedSize enum values to their respective named sizes on the various platforms. For example, iOS has 7 Dynamic Type Sizes ranging from xSmall to xxxLarge. What do the 4 Xamarin.Forms sizes map into?
This mapping should be easily discoverable from this doc page, from the NamedSize API page and from the Device.GetNamedSize API page.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fe0572c4-91be-fc86-d130-242db2bf470b
Version Independent ID: 1238fdd7-c378-6d0d-654e-55656a70d386
Content: Fonts in Xamarin.Forms - Xamarin
Content Source: docs/xamarin-forms/user-interface/text/fonts.md
Product: xamarin
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @breyed
Thanks for the suggestion. I've added it to our backlog.


Scroll down or up using mouse wheel in the list of databases displayed in connection menu

Is your feature request related to a problem? Please describe.
Hi
I'm always frustrated when selecting a database from the list of databases displayed in connection menu (see picture below)...
Describe the solution you'd like
Just offer mouse wheel scrolling down / up inside this list please,
Thanks in advance.
Best regards
Additional context*
Add any other context or screenshots about the feature request here.

thanks for suggestion

Hello @PerfKeeper,
Unfortunately, it's not possible. This is a native Windows component and, as far as I know, it does not support scrolling.
Instead of using drop-down menu, you can simply click on the button and popup will appear:

Similar issue: #11785


bitcode bundle could not be generated?

ld: warning: directory not found for option '-L/Users/parcool/EssentialLibs/boost/stage/ios/lib/Release-iphoneos'
ld: warning: ignoring file /Users/parcool/CLionProjects/zlib-fork/zlib/cmake-build-iossimulatorrelease/Release-iphonesimulator/libz.a, building for iOS-arm64 but attempting to link with file built for iOS Simulator-x86_64
ld: warning: object file (/Users/parcool/EssentialLibs/boost/stage/ios/lib/libboost_filesystem.a(directory.o)) was built for newer iOS version (15.5) than being linked (11.0)
ld: bitcode bundle could not be generated because '/Users/parcool/EssentialLibs/boost/stage/ios/lib/libboost_filesystem.a(directory.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

I'm using this https://github.com/leetal/ios-cmake ios-cmake. what is the problem?

Hello, the problem there is I did not add yet support to the iOS simulator architecture, it should work correctly on normal iOS devices.
I will add this as soon as possible so you can run the libraries on iOS simulators.

Can you also check if it is just happening with the boost_filesystem? Just try to remove the -lboost_filesystem to check.
Also, try to build your app through Xcode, the output may be different.
I will update my phone to check if it's something related to the iOS version as I mentioned.
Let me know about that 2 things. Thanks.


#708 - Fix environment variables

We now need two environment variables to be set in order to download
a custom version of NPM and point JXcore at it. So I added these two
variables to setUpDesktop.sh.

PR is added to the queue for testing as 1. task. (059a058)

Test (Success) 67111490 build is completed (059a058)
See https://github.com/ThaliTester/TestResults/tree/67111490059a058__708_-_Fix_environment_variables_yaronyg/ for the logs

Test<PHONE_NUMBER>9a058(059a058) has failed
See https://github.com/ThaliTester/TestResults/tree/67111490059a058__708_-_Fix_environment_variables_yaronyg/ for the fail logs


failed to install openjdk-9-jdk on xenial

Travis CI failure:
Selecting previously unselected package openjdk-9-jdk-headless:amd64.
Preparing to unpack .../openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb ...
Unpacking openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
Selecting previously unselected package openjdk-9-jdk:amd64.
Preparing to unpack .../openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb ...
Unpacking openjdk-9-jdk:amd64 (9~b114-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

See Ubuntu bug 1593191.

Wrong repository.


fix: welcome msg version

Fixes # .
Changes proposed in this pull request:

welcome msg version
-grouped redundant code in utilities
-update readme

@Andrew44Ashraf Thanks!