text:
feat(tabs): mat-tab-nav-bar should support routerLinkActive

Feature Description
At present, mat-tab-nav-bar expects active state to be maintained via a boolean expression as mentioned here: https://material.angular.io/components/tabs/overview#tabs-and-navigation. Instead of setting [active]="booleanExpression", can we leverage the routerLinkActive directive or have a simpler way to maintain the active state?
Use Case
Since this component is primarily used for navigation, I think simplifying the active state management would be a good addition to the component.

For us it was not. When you are not using an *ngFor (we are not) it gets quite ugly. We use this custom MatTabLinkActive directive. It's basically a hack as it bypasses TypeScript, however in Angular 13 we will change it for a simple directive that not extends the RouterLinkActive but injects it, beacuse RouterLinkActive will have an isActiveChange event.

authors: Totati karmasakshi


text:
bug(COMPONENT): mat-dialog html render but constructor not runing until click on the screen (weird bug)

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I create dialog display after google login fail. Then

my dialog load without trigger ngOnInit

only I click on the dialog or screen, it start loading the dialog data.

You can watch my video for more detail
https://user-images.githubusercontent.com/16970990/151576047-dbbdfa31-4ad5-4e9e-8469-f9cc37164845.mp4
I already use this.cd.detectchanges() to make angular update but it just not work
Reproduction
It very hard for me to reproduce, I just know it present there, I dont know what cause of problem.
Steps to reproduce:

create dialog
dialog not loading, only render html
click to screen to make it load ts file

Expected Behavior
load normally
Actual Behavior
the ts file not load until I click on the screen, only this dialog have this situation, I have about 10 other dialog is work perfectly fine.
Environment
Angular CLI: 13.1.2
Node: 16.13.1
Package Manager: pnpm 6.11.5
OS: win32 x64
Angular: 13.1.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Package                         Version
@angular-devkit/architect       0.1301.2 (cli-only)
@angular-devkit/build-angular   13.1.2
@angular-devkit/core            13.1.2
@angular-devkit/schematics      13.1.2
@angular/cli                    13.1.2
@nguniversal/builders           13.0.1
@nguniversal/express-engine     13.0.1
@schematics/angular             13.1.2
rxjs                            7.4.0
typescript                      4.5.4
webpack                         5.65.0

I guesss because I'm just open from other screen then it lose focus?

currently my workaround is faking a click on the target element
 (document.querySelector('app-confirm') as any)?.click();

Please provide a reproduction in stackblitz so we can investigate
https://stackblitz.com/run?file=src/app/dialog-content-example.ts

The code that opens the dialog does not run inside the NgZone, therefore no change detection happens

thank you, I will try to reproduce, maybe it run outside ngZone

confirm run outside zone.js, have to force run in zone.js, fail to use change detection. I decide to use https://github.com/ngneat/dialog

source: gharchive/issue

authors: ajafff hiepxanh wagnermaciel

repo: angular/components

license: MIT

license_type: permissive

license_source: github-api


text:
bug(datepicker): dateFilter is not working properly

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
13.3.9
Description
when using dateFilter on the date picker, the selectedChange event never emit
from what I'm seeing in https://material.angular.io/guide/mdc-migration, the date picker doesn't have any breaking changes, if I'm wrong please refer me to what I need to update to make it work again (and if possible please fix the reprod)
Reproduction
Steps to reproduce:

use mat-calendar normally
use dateFilter for it

https://stackblitz.com/edit/angular-syqmnz?file=src/main.ts
Expected Behavior
when choosing different date the selectedChange event to emit
Actual Behavior
when choosing different date the selectedChange event does not emit
Environment

Angular:
CDK/Material: 15.2.2 (same behavior with 14.0.6)
Browser(s): chrome
Operating System (e.g. Windows, macOS, Ubuntu): windows

FYI in Angular 13.3.9 it works only if the change detection strategy is on push
Updating to 14.0.0 it doesn't work

It's because you're recreating the dateFilter function for each change detection. This causes change detection to run continuously and interrupt the click. Your dateFilter function should be static, e.g. if you change it to dateFilter = () => true it works as expected.

It's because you're recreating the dateFilter function for each change detection. This causes change detection to run continuously and interrupt the click. Your dateFilter function should be static, e.g. if you change it to dateFilter = () => true it works as expected.

in the real application I need to pass a variable from the template to the function
so it's more like
  dateFilter = (foo: Foo) => {
    return (date: Date) => this.isEnabled(foo, date);
  };

It's a little janky, but the way to do it would be to assign it to a property of the component class and have the dateFilter read it from there.

It's a little janky, but the way to do it would be to assign it to a property of the component class and have the dateFilter read it from there.

to be clear, I'm talking about ngFor, how would I know which item of the array is this one?
the only workaround I can think of to work, is to create a component to wrap this inside

authors: crisbeto robertIsaac


text:
fix(paginator): allow screenreaders to read meaningful range labels

Add aria-live to paginator range labels to allow screen readers to
read updates as they happen. Add an invisible label specifically for
screen readers. Add method to paginator-intl to allow the reader-only
label to be customized.
Similar to PR #11972, but adds screen reader only label to allow what is read to be customized. (otherwise 1-10 of 20 is read as one ten of twenty)

Closing this PR since it seems abandoned

source: gharchive/pull-request

authors: Tujin jelbourn


text:
Fix wrong autocomplete-plain-input example (fixes #16327)

Fix for #16327

@googlebot I signed it!

@crisbeto I see...
I was trying to fix #16327. The example for "Autocomplete on a custom input element" is broken in the documentation, I opened the console and saw the error "Could not find example: autocomplete-plain-input".
I think it's because the example is declared as "plain-input-autocomplete" in the EXAMPLE_COMPONENTS object, while it is referred to as "autocomplete-plain-input" in the documentation markdown file https://github.com/angular/components/blob/master/src/material/autocomplete/autocomplete.md#L99
<!-- example(autocomplete-plain-input) -->

I don't know which one is wrongly named, I can fix the reference instead and submit a new pull request.

If the reference is wrong, it should be fixed in the Markdown file. Also you can push your change to the same PR.

Done, thanks for the feedback

Sorry, I just double-checked and it looks like we have to generate the example-module file manually due to a build limitation. The issue here is that the name of the example component doesn't match it's selector. The proper fix would be to revert the changes in the readme and rename the example component from PlainInputAutocompleteExample to AutocompletePlainInputExample both in the autocomplete-plain-input-example.ts and the example-module.

authors: alvaromartmart crisbeto


text:
fix(multiple): fix circle radius calculation of progress spinners

fixes #20159
Before

After

Okay, now I remember: it's because the indeterminate animation makes some assumptions about the stroke width and it starts to break down if we don't use the base. Here's an example:

@crisbeto I tested this and from what I can tell this only seems to be an issue with the mat-progress spinner. Would it be ok to land this for the mdc-progress-spinner only?

Yeah, I think that's fine. I couldn't reproduce the issue in the MDC version.

authors: crisbeto wagnermaciel


text:
Strange scrolling when checkbox is inside accordion

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Accordion body content should have the right height
What is the current behavior?
Accordion body content is scrollable with a smaller hight then needed
What are the steps to reproduce?
Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.
Plunker starter (using on @master): https://goo.gl/DlHd6U
StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV
https://stackblitz.com/edit/angular-material2-issue-kjhbf6?file=app/app.component.html
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

Should be fixed in master by https://github.com/angular/material2/pull/7617.

authors: crisbeto eyalhakim


text:
Checkbox Infinite Loop

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Setting
<li *ngFor="let item of data">
    <md-checkbox [checked]="item.checked" (change)="item.checked=!item.checked">
    {{item.name}}
    </md-checkbox>

Should change the source value and update data once on click/change
What is the current behavior?
The checkbox goes on an infinite switching loop
What are the steps to reproduce?
http://plnkr.co/edit/o7vPsr7S7L14CtQuiDOP?p=preview
Simpler version:
https://plnkr.co/edit/OhqPeWHnjfvkxyNObETc?p=preview
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

I think this is related to https://github.com/angular/material2/issues/575
I believe there is WIP to make md-check-box behave like native checkbox and fire onchange only if the control is in focus. That probably should resolve this

@mmrath I guess they are related at some level. But I checked your plnkr and I didn't see the infinite loop.
The on change on focus will be welcome, since in theory will allow me to keep two controls binded to one data source. As of right now, since both react on change, they just keep calling each others change. Or so it seems.

#582

@ReneVallecillo What version of angular material were you using?

@jelbourn The infinite loop shows on the plunker, which is using the suggested template. On my repo, I'm using version alpha6 something different but related may be happening.
What is happening in my repo is, since I have two components bound to a single data source, the change is triggering in both components and that seems to trigger @ #575 as:

Checkbox component 1 is checked, change event is triggered
Data source is updated
Checkbox component 2 is checked, but change event is also triggered
???
Endless Loop.

Or so it seems. This should be fixed with #791. But in my repo what it shows is https://github.com/angular/angular/issues/6005#issuecomment-230395099
I think this prevents the endless loop to show on my repo.
But I don't understand why it happens here:
https://plnkr.co/edit/OhqPeWHnjfvkxyNObETc?p=preview
It is a really basic code.
TLDR, I'm on alpha 6, but while replicating my code on plunker, the endless loop happens.

I think this will be fixed by #820.

@jelbourn Jut confirmed with #820, and it seems to fix that issue.
It's just important (again) to make the adjustments with the emitted MdSlideToggleChange class.
<md-checkbox ... (change)="item.checked = $event.checked">

authors: DevVersion ReneVallecillo jelbourn mmrath


text:
[Table] Posibility to have more rows for item with second row colspan

Feature request
What is the expected behavior?
declare two rows for one item in dataSource
What is the use-case or motivation for changing an existing behavior?
Table with items with second row for labels.

First column
Second column

Item 1 - One
Item 1 - Two

Item 1 - Two cols

Item 2 - One
Item 2 - Two

Item 2 - Two cols

Is there anything else we should know?
Is this posible with the current implementation in cdk-table or mat-table

Though not yet documented, this is possible with the when predicate on the row.
<mat-header-row *matHeaderRowDef="['data', 'id']"></mat-header-row>
<mat-row *matRowDef="let row; columns: ['data', 'id'];"></mat-row>
<mat-row
    *matRowDef="let row; columns: ['data']; when: isExtendedRow"
    class="darken">
</mat-row>

isExtendedRow = (index, item) => item.extend;

// ...

const DATA = [
  { data: 'ABC', id: 1 },
  { data: 'DEF', id: 2 },
  { data: 'GHI', id: 3, extend: true },
  { data: 'JKL', id: 4, },
  { data: 'MNO', id: 5, extend: true },
]

https://stackblitz.com/edit/material2-rc0-6drmzf?file=app%2Fapp.component.html

@willshowell Thank you for the quick response. Unfortunately this is not exactly what I was describing. When one or the other row, but I need to be rendered both of the rows as it is shown in the description. Item has two rows, first with two columns and the second with one column.

Ah ok, the concept is similar to expandable rows. There are a variety of ways to do it, but here's one option,
https://stackblitz.com/edit/material2-rc0-rqphi1?file=app%2Fapp.component.ts
Basically, you split each data row into two rows with the pertinent data in each.

@willshowell Thank you, this works. It still seems like quite hacky solution ;-)
It adds complexity for sorting, filtering, pagination and styling the table. For example if you do not want to have border between this two rows and not all of the items should have second row.
It is possible with your solution but look like hack. And I do not know it it will not have performance penalty.

isExtendedColumn  is a callback that handle wich row to extend for example:
isExtendedColumn = (index, item) => item.number === '2555/003';

Can I put 3 items in the same row? I want to show many pictures but I need to display 3 of them in the same row. Thanks

Almost 2019 and I can't have rowspan on a Angular Material Table without tons of hacks? Great. Every single component in this package requires a lot of shims and hacks to do the basics.

How can I have multiple rows based on an array in an element?
For example, I have a records with structure like:
[
  {
    id: 1,
    name: 'Luke',
    books: ['book1', 'book2']
  }
]

So I'd like to create 3 rows per that record:

  1
  Luke

  book1

  book2

I understand that multiTemplateDataRows lets me have multiple row definitions, but I need dynamic number of these row definitions. I need to put *matRowDef into a *ngFor loop somehow.
How can I achieve that?

authors: DmitryEfimenko JiriBalcar billbarni merylb naxisinc willshowell


text:
Chrome not closing when Error is detected

So im cleaning up this e2e configuration a former employee has written, everything seems to work except one of my grunt tasks which involves running Unit tests + E2E tests whenever a change is made.
The problem i'm having is that when an error such as EADDRINUSE is detected during startup and listening process of selenium, a chrome window pops up(which it should during e2e testing) but of course something is wrong and its just blank with the address bar saying: "data.,", and the chrome window doesn't close. So if i make another change, and I get similar error as above, another chrome window pops up.

Normally when there is no error, a chrome window does pop up, runs all the clicking and navigating my e2e tests are supposed to do, then closes the chrome window and all test fails and successes are printed to console.
Notice, my issue is NOT with the error, i know why i'm getting that error and how to handle it, my issue is with the Chrome window popping up and not closing as it should.
So my grunt file looks like this for the protractor part:
protractor: {
            options: {
                keepAlive: true
            },

            e2e: {
                configFile: "config/protractor.conf.test.js"
            }
        },

And grunt task looks like this:
    grunt.registerTask('e2edev', function(){
        grunt.task.run([
            'clean:server',
            'concurrent:server',
            'browserify:app',
            'browserify:spec',
            'compass:server',
            'concat',
            'autoprefixer',
            'karma:unit',
            'connect:livereloadE2e',
            'protractor:e2e',
            'focus:e2edev'
        ]);
    });

And my protractor config:
exports.config = {

    // The timeout in milliseconds for each script run on the browser. This should
    // be longer than the maximum time your application needs to stabilize between
    // tasks.
    allScriptsTimeout: 180000,

    // How long to wait for a page to load.
    getPageTimeout: 10000,

    // To connect to a Selenium Server which is already running
    //seleniumAddress: 'http://localhost:4444/wd/hub',

    // Spec patterns are relative to the location of this config.
    specs: ['../test/e2e/**/*.js'],

    capabilities: {
        'browserName': 'chrome'
    },

    seleniumPort: 4444,

    // A base URL for your application under test.
    baseUrl: 'http://localhost:9000/',

    //// Maximum number of total browser sessions to run
    maxSessions: 1,
    framework: 'jasmine2',

    jasmineNodeOpts: {
        // If true, display spec names.
        isVerbose: false,
        // If true, print colors to the terminal.
        showColors: true,
        // If true, include stack traces in failures.
        includeStackTrace: true,
        // Default time to wait in ms before a test fails.
        defaultTimeoutInterval: 30000
        // Function called to print jasmine results.
        //print: function() {}
    },

    onPrepare: function() {
       var jasmineReporters = require('jasmine-reporters');

        //implicit and page load timeouts
        jasmine.getEnv().addReporter(new jasmineReporters.JUnitXmlReporter({
            consolidateAll: true,
            filePrefix: 'test-results-e2e'
        }));

    }
};

Any tips or tricks on how to get the Chrome window to close would be helpful.
thanks in advance!

Would appreciate some help with this!

I cannot reproduce this by trying to start a selenium standalone server on a port which is already in use.
You will get an open browser which does not close if there is an error thrown outside the control of Protractor. See https://github.com/angular/protractor/issues/1772
If you think that there's a specific place where we should be catching an error, please open up a new issue and let us know. Otherwise, I wonder if this is something going on with the grunt adapter - can you bring it up with them?

authors: juliemr seyedx

repo: angular/protractor


text:
fix(types): Handle instanceof identifiers.

@rkirov: we still need to handle type name references in instanceof expressions.

LGTM

authors: mprobst rkirov


text:
suggestion of new features

Hi Everyone,
I have just found dotbot. It looks very promising. Here are a few suggestions:
1 in the link section of .install.conf.yaml , it looks like that those infomation are already contained in the path of the configuration files. There is another dotfile manager called homesick (its bash script version called homeshick) that links all file in the dotfiles folder to the corresponding file in home directory. My suggestion is if there is no extra setting for a file or folder, make a default case to avoid those unecessary configurations and make it looks cleaner.
2 if we keep all those settings,  is it possible to organise the  .install.conf.yaml by applications, for example, you can put all configureion files for emacs in one section, so it is easier to pick setting from others. Better if we can select install or export dotfiles by application names or user defined category.
3 I want to manage all my customised configuration files in the whole system. One example is /etc/apt/sources.list, which can be changed only by root user. Is is possible to add a configuration keyword that defines the permissions for the files or folders? There is etckeeper, but it does too much, I only want to backup setting that I changed explicitly.
4 if the whole system is managed, scanning for dead symlink may take too much time, maybe add a uninstall command, so it clean the symlink and delete configuration in .install.conf.yaml.
Thank you!

Thanks for the suggestions!
Some of these would be best implemented in a way that is not backwards-compatible. It'll be good to keep this in mind when designing Dotbot 2.0.

Okay, I migrated all of these ideas to the first post in #35. Gonna close this issue now.

FYI. config_curator (https://github.com/razor-x/config_curator) r is similar to dotbot.  It has permission settings for each file.

Hm, I haven't heard many users asking about setting custom permissions on files. Is it a big need?

I am using dotbot to manage files outside my home directory.  For example I have
the following links in my sudo.install.conf.yaml, which is installed with sudo.
After linking, the right setting for all links are 777. This is not safe.
- link:
    /etc/exports: etc/exports
    /etc/tsocks.conf: etc/tsocks.conf
    /etc/shadowsocks: etc/shadowsocks
    /etc/profile: etc/profile
    /etc/locale.gen: etc/locale.gen
    /etc/hosts: etc/hosts
    /etc/systemd/user: etc/systemd/user
    /etc/apt/sources.list: etc/apt/sources.list
    /etc/ssh/sshd_config: etc/ssh/sshd_config
    /etc/ssh/ssh_config: etc/ssh/ssh_config

The workaround in dotbot is to use shell script to change the right. While
Config Curator supports installing directories, files, and symbolic links. It
also handles setting other properties such as permissions and
ownership. Additionally, configuration units can be installed per-host or only
if certain packages are installed. Below is the config sytax of Config Curator:
defaults:
# File and directory permissions.
# Empty values will not change permissions.
fmode:
dmode:

# File and directory owner and group.
# Empty values will not change ownership.
owner:
group:

# Hosts to install this unit on.
# Empty array will install on all hosts.
hosts: []

# Only install this unit if packages are present.
# Empty array will not check for any packages.
packages: []

authors: QiangF anishathalye

repo: anishathalye/dotbot

license: mit

license_source: bigquery


text:
Update gh action

Description
This ci does whatever the previous ci (cleaner code tho) did but it additionally uploads the apk for each PR to github artifacts which can be donwloaded by the qa team to make their testing easier. So basically the tester from qa team will not have to use an android emulator or install flutter to test PRs on this repo anymore. Just download the artifact from below each PR :)
Fixes #127
Flutter Channel:

[x] I have used the Flutter Beta channel on my local machine

Type of Change:
Delete irrelevant options.

Quality Assurance

Code/Quality Assurance Only

This change requires a documentation update (software upgrade on readme file)
New feature (non-breaking change which adds functionality pre-approved by mentors)

How Has This Been Tested?

Code/Quality Assurance Only

[x] My changes generate no new warnings

@Techno-Disaster can you solve the merge conflict and then I can approve and merge this?

@anitab-org/mentorship-flutter-maintainers done :)

authors: Techno-Disaster isabelcosta

repo: anitab-org/mentorship-flutter


text:
App not scrolling or selecting where it should

Steps to reproduce
Shortish gif demonstrating the issue.
Open the app, issue is apparent throughout.
Expected behavior
When tapping on something to select it, it should be where you currently tapped, and not the previous location that you may have touched the screen either due to scrolling or other navigation.
Actual behavior
When using the app it will always select the previously clicked or held on area for scrolling when trying to make a selection. Makes simple navigation a chore. Makes the read/watches all below this impossible unless the long press is at the bottom of the screen where that popup shows up at afterward. It affects all aspects of the application.
Crash logs
No response
Aniyomi version
0.15.2.4
Android version
Android 11,  Fire Os 8.3.2.2
Device
2023 Amazon Fire HD 10 13th Gen
Other details
Had the exact same model of tablet that was running fine. Switched to aniyomi from tachiyomi after that was retired, no issues until tablet accidently got stepped on destroying it, no back up possible. New tablet runs everything fine as expected,got it set up for side loading and Google play store, installed aniyomi and then found that aniyomi and has the issue. Uninstalled and tried the experimental, it persisted. Even tried Mihon and it shows the same issue. There may have been an update to the fire is from my previous one to current, but obviously can't check but would only be a difference of one version at most. Reset to factory default and installed aniyomi first before anything else and the problem still persits.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.15.2.4.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

I too also have this issue. Version 0.15.2.0 and beyond seems to carry this issue.
https://github.com/aniyomiorg/aniyomi/assets/7539735/db6a3124-6e0c-4204-b475-d3978d61cd45
Device & version info:
Aniyomi version
0.15.3.0
Android version
Android 11, Fire Os 8.3.2.3
Device
Fire HD 10 - 13th Generation (2023)
Model
KFTUWI

repo: aniyomiorg/aniyomi


text:
Not working on windows platform with cmd

"." is not a recognized command.
It gives this error on windows platform after compilation when we run the executable of cpp file.

Can you please take a look and approve it?
And, if approved, I would like to work on it.

I can fix that issue and would like to work on this. Could you assign it to me?

I am already working on this and kind of fixed this. Thats why, I created this issue. I was just waiting for @ankingcodes nod for verification.
Really sorry for this confusion @paramsiddharth .

@lucifer0987 - can you send a screenshot of this issue ? Also, specify which terminal are you using ? I'm using WSL2 so I don't get this error.

@paramsiddharth - since @lucifer0987 has filed the issue and wants to work on it, I think he should be given the first chance to work on it. Feel free to make a PR if he doesn't.

@lucifer0987 - can you send a screenshot of this issue ? Also, specify which terminal are you using ? I'm using WSL2 so I don't get this error.

I am working on windows 10 and I am using CMD.
when we run the prog file with input, then we are using '.', I think that is creating the issue. and writing different codes for different OS will resolve it.

It's not supposed to compile prog.exe in anyway, we are only supposed to compile A.cpp by doing g++ A.cpp -o prog and then do ./prog < input.txt. I believe the reason we are getting this error is because of using ./prog < input.txt which is valid on UNIX but not on Windows.
You may send a PR for this but make sure the program distinguishes the platform and then performs ./prog < input.txt or anything else (not an CMD user so not sure what should it do).

It's not supposed to compile prog.exe in anyway, we are only supposed to compile A.cpp by doing g++ A.cpp -o prog and then do ./prog < input.txt. I believe the reason we are getting this error is because of using ./prog < input.txt which is valid on UNIX but not on Windows.
You may send a PR for this but make sure the program distinguishes the platform and then performs ./prog < input.txt or anything else (not an CMD user so not sure what should it do).

It is actually the concept of PATHEXT that distinguishes executables in Windows/DOS from UNIX/GNU systems. I understand you are using WSL2 but the traditional Windows user has access only to the Command Prompt and PowerShell. A tiny OS-agnostic edit is needed which will fix the bug.

It's not supposed to compile prog.exe in anyway, we are only supposed to compile A.cpp by doing g++ A.cpp -o prog and then do ./prog < input.txt. I believe the reason we are getting this error is because of using ./prog < input.txt which is valid on UNIX but not on Windows.
You may send a PR for this but make sure the program distinguishes the platform and then performs ./prog < input.txt or anything else (not an CMD user so not sure what should it do).

Yeah, you are right.
What's happening here is, the code is listening for changes and as soon as we change "A.cpp", it is compiled, and prog.exe is generated and its also changed. But, our program doesn't exclude "prog.exe", its only excluding "prog".
Here, by excluding, I mean the files which won't be considered for changes.
And, since it detects "prog.exe" as a changed file. It tries to compile that also. As a result we get, the second error "g++ : fatal error".
So, we have to fix 2 things here.
First, we have to make our program exclude "prog.exe" and "prog" both.
Second, we have to write OS-specific codes for running the "prog" file with "input.txt". We can fix this as @paramsiddharth said.

Thanks @lucifer0987 & @paramsiddharth for explaining. You may proceed with a PR for this.

I have made a PR with the fix I had in mind. I used the standard OS-agnostic way of traversing the file(s), instead explicitly distinguishing between the OSes and executing a different command for each. Let me know what you think, @ankingcodes.

@ankingcodes
C:\Users\Gaurav Kumar\Desktop\round-684>codemon listen
Getting files in directory
Currently listening for file changes

Change made at A.cpp

Compiling A.cpp
Running
Taking inputs from input.txt
'C:\Users\Gaurav' is not recognized as an internal or external command,
operable program or batch file.

Change made at A.cpp

Compiling A.cpp
Running
Taking inputs from input.txt
'C:\Users\Gaurav' is not recognized as an internal or external command,
operable program or batch file.

I am talking in reference to windows OS.
Its happening because, in the current code, we are getting the current working directory and then compiling the file present in that directory. But, if the directory contains whitespaces, it creates error, its not able to recognize the directory.
Maybe, @paramsiddharth didn't check this and thats why he didn't get any error.
After fix :-
C:\Users\Gaurav Kumar\Desktop\round-684>codemon listen
Getting files in directory
Currently listening for file changes

Change made at A.cpp

Compiling A.cpp
Running
Taking inputs from input.txt
7
5
Changed CPP file compiled and run. Check output.

Change made at A.cpp

Compiling A.cpp
Running
Taking inputs from input.txt
7
5
Changed CPP file compiled and run. Check output.

I have created a PR with the fixed code.

authors: ankingcodes lucifer0987 paramsiddharth

repo: ankingcodes/codemon


text:
🛑 Pedacademy is down

In 99623be, Pedacademy (https://педакадемия.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pedacademy is back up in 0a87015 after 17 minutes.

repo: ano-pedproject/repo


text:
🛑 Педталант.РФ is down

In df09aa0, Педталант.РФ (https://педталант.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Педталант.РФ is back up in 5c801ca after 5 minutes.


text:
Update cupid.toml

https://github.com/anoma/namada-testnets/pull/2099
Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[x] Only one toml is added in this PR
[x] The file being added is indeed a .toml file
[x] The toml being added is to the correct folder, and only to the correct folder
[x] The eth_hot_key and eth_cold_key are present
[x] The email, discord, elements telegram, and twitter fields are present and valid

Whitespace found in filename. Found filename namada-public-testnet-15/Update cupid.toml

authors: bengtlofgren fidycupid

repo: anoma/namada-testnets


text:
Sync secrets from config file (ini/yaml/.env)

Describe the feature or problem you’d like to solve
Be able to sync secrets from a config file
Describe the solution you'd like
E.g. .env file:
KEY1=VALUE1
KEY2=VALUE2

running ghs secrets:set --sync .env (or something similar) would erase existing secrets and create
KEY1 (=VALUE1) and KEY2 (=VALUE2)
Seems to be similar to another feature request (#12)

@brendon1555 Is there a plan to add this feature?

@brendon1555 Is there a plan to add this feature?

@aviskarkc10 There is! I just haven't had the time lately to plan it out and implement it.
I should add an accepted tag for feature requests I plan on adding.

@aviskarkc10 There is! I just haven't had the time lately to plan it out and implement it.
I should add an accepted tag for feature requests I plan on adding.

I've actually got some time to look at this today.

I've actually got some time to look at this today.

repo: anomaly/github-secrets-cli


text:
How to set range between the two thumbs?

Hi,This is working fine for fine but i have one issue.For example my range is 3.if difference between the both thumbs are equal to 3 thumbs are not moved each other.Default range seek bar thumbs are overlapped.Hoe to set the range between the thumbs?

Same as https://github.com/anothem/android-range-seek-bar/issues/5

repo: anothem/android-range-seek-bar


text:
please advice

Hi Anseki,
this library is fantastic and it inspired me to create a similar thing on my own but customized to fit some restrictions I have on work,
just looking quickly through your source code, I see you are using the term "sockets" for "top middle" point, "left middle" point etc... of the rectangle
in my code I have the same "sockets" (4 sockets for each rectangle) and I loop through each one in rectangle1 and compare the length toward each one in rectangle2 to get the shortest distance
so in total I have 4x4=16 iterations to decide which one is the shortest
Is that what you are doing with leader-line or you are using some (better) method?
Thank  you

Hi @bluestorm21, thank you for the comment.
If you want to reduce iterations, for example, you can omit the left-socket when the target is positioned on the right side, and you can omit the top-socket when the target is positioned on the bottom side.

No reply came, then this abandoned issue is closed.

repo: anseki/leader-line


text:
L'extension PDSm_intendedRecipient n'est pas utilisée dans les profils de PDSm

Il semblerait que ce soit un reliquat d'une spécification passée, car cette extension n'est pas non plus utilisée dans l'ancien package simplifier https://simplifier.net/packages/ans.cisis.fhir.r4/2.1.0/files/782768

Ce profil est défini dans IHE MHD : https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-intendedRecipient
Mais ne permet pas de référencer un PractitionerRole. C'est pour cela qu'elle a été recréée au niveau de PDSm


text:
Renseignements sur les données présentes dans l'API

Bonjour,
Nous commençons nos tests sur l'API afin de pouvoir nous interfacer sur notre projet pour l'ASP.
Sur l'API, nous avons réussi à nous connecter et à obtenir des informations en retour, néanmoins dans le JSON de retour, nous ne récupérons pas toutes les informations décrites dans la documentation FIHR https://interop.esante.gouv.fr/ig/fhir/annuaire/StructureDefinition-as-organization.html
=> ex : SIRET, établissement principal / secondaire, etc.
Merci d'avance pour vos compléments d'informations.
Cordialement

Bonjour @JauffreyASP
Tout d'abord merci pour votre message sur l'API FHIR Annuaire Santé. Toutes les informations ne sont pas présentes dans la réponse JSON:

le SIRET est présent pour les organisations qui concernent des entités géographiques (GEOGRAPHICAL-ENTITY)
le SIREN est présent pour les organisations qui concernent des entités juridiques (LEGAL-ENTITY)

D'autres champs sur le guide d'implémentation n'ont pas forcément été intégrés dont (comme l'établissement principal / secondaire).
A noter que nous allons prochainement publier une nouvelle version de l'API FHIR début 2025 qui entrainera des changements majeurs dans la modélisation.
Cordialement,

Bonjour @zilliw,
Merci pour votre retour. J'ai cherché et malheureusement j'aboutis toujours au même résultat : que ce soit pour des entités géographiques ou légales, je n'ai jamais le SIRET ou le SIREN dans le résultat (voir les retours json en PJ) :

appel https://gateway.api.esante.gouv.fr/fhir/v1/Organization?identifier=030008064 pour un entité légale
appel  https://gateway.api.esante.gouv.fr/fhir/v1/Organization?identifier=520003435 pou une entité géographique

Il est possible que je rate quelque chose, ou bien je ne passe par la bonne route :)
Merci d'avance.
retours_030008064.json
retours_520003435.json
En ce qui concerne la nouvelle version de l'API, est-il possible d'avoir le nouveau modèle ?
Cordialement

Bonjour @JauffreyASP,
En effet les structures nous affichons les structures avec le numéro SIRET si ces structures ne disposent ni de numéro FINESS ni de RPPSRang. Mais nous n'affichons pas les 2 informations.
Nous allons prendre en compte cette évolution.
Cordialement,

Bonjour @zilliw,
Merci pour votre retour. Cela nous sera très utile à des fins de vérification de nos données dans notre SI.
Quelle visibilité pouvons-nous avoir quant à la mise à disposition de cette évolution?
Merci d'avance.
Cordialement

authors: JauffreyASP zilliw


text:
Fix task order for lockout policy

In windows server 2022, the default values for LockoutDuration and ResetLockoutCount are 30.
Setting lockout duration to a value lower than ResetLockoutCount will result in "Failed to import secedit.ini file from C:\TEMP\tmpxxxx.tmp" and "The parameter is incorrect" errors. (default applied here is 15)
This brings Windows-2022-CIS inline with the order of Windows-2019-CIS which sets ResetLockoutCount first, then LockoutDuration.
See this resolved issue: https://github.com/ansible/ansible/issues/62594
Overall Review of Changes
A general description of the changes made that are being requested for merge
Issue Fixes
Please list (using linking) any open issues this PR addresses
Enhancements
Please list any enhancements/features that are not open issue tickets
How has this been tested?
Please give an overview of how these changes were tested. If they were not please use N/A

Thank you @Shaawing ! We have the fix order implemented!


text:
Support for ADVERTISE LISTENERS

SUMMARY
It's a common use case to set advertise listeners for external access in the Kafka cluster, as explained in the image below:

This request is to add the support of advertise_listener in the playbook, so we will be able to set internal/external IPs during the provisioning.
Best regards
ISSUE TYPE

Feature Idea

@rmarting WDYT about this feature proposal?

It is one of the capabilities of Kafka to expose the endpoints. So, it makes sense to allow to define in the collection. It should not be complex to implement, as it is very similar to the broker listeners (amq_streams_broker_listeners) that we have already implemented.

@hodrigohamalho If you want to test it, the implementation was merged and ready for its use!

authors: hodrigohamalho rmarting rpelisse


text:
Repo needs usage documentation

This repo would benefit from more documentation.  I'm trying to adapt the collection for the community.okd / redhat.openshift collection but it's not immediately obvious what the different vars are used for (and some values are hard-coded in the janus.yml playbook.)  I'm getting unexpected results but I'm not sure if it's user error or not.
For example, how do upstream_name, upstream_namespace, and upstream_collection_name relate to each other?  I can make an educated guess about upstream_namespace because it has a hard-coded value but I'm uncertain about the other 2.
Right now my resulting collection still has the upstream collection name (community.okd) in plugin EXAMPLES blocks, redirects in meta/runtime.yml, and my CONTRIBUTING.md file (as well as a number of test directories, such as /molecule/, but I don't expect janus to support that today).  I'm probably overlooking something, but I don't have confidence I'm doing the right thing in general.
Ideally IMO, janus would be a role that users can use rather than calling a playbook from another playbook and over-riding the vars that are in janus.yml.  That role would have a set of documented variables, with sensible role defaults where they can be made generic (such as the environment variable lookups for things like PROJECT_UPSTREAM_NAME, but no default of upstream_namespace:  "middleware_automation").   That documentation should be adequate for a new user to configure a playbook for use with a new collection without having to dig into the underlying roles in middleware_automation/janus/roles/.
Reference config:
(venv) jill@lab:~/collections/ansible_collections/middleware_automation/janus$ git diff
diff --git a/playbooks/janus.yml b/playbooks/janus.yml
index a2912ae..c37f985 100644
--- a/playbooks/janus.yml
+++ b/playbooks/janus.yml
@@ -5,14 +5,14 @@
   collections:
     - middleware_automation.janus
   vars:
-    upstream_name: "{{ lookup('env', 'PROJECT_UPSTREAM_NAME') }}"
-    downstream_name: "{{ lookup('env', 'PROJECT_NAME') }}"
-    upstream_collection_name: "{{ lookup('env', 'UPSTREAM_COLLECTION_NAME') | default(omit) }}"
-    project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') }}"
-    project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') }}"
-    upstream_namespace:  "middleware_automation"
-    downstream_namespace: "redhat"
-    workdir: "{{ lookup('env', 'PWD') }}"
+#    upstream_name: "{{ lookup('env', 'PROJECT_UPSTREAM_NAME') }}"
+#    downstream_name: "{{ lookup('env', 'PROJECT_NAME') }}"
+#    upstream_collection_name: "{{ lookup('env', 'UPSTREAM_COLLECTION_NAME') | default(omit) }}"
+#    project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') }}"
+#    project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') }}"
+#    upstream_namespace:  "middleware_automation"
+#    downstream_namespace: "redhat"
+#    workdir: "{{ lookup('env', 'PWD') }}"
     upstream_projects_dir: "{{ workdir }}/upstream"
     downstream_projects_dir: "{{ workdir }}/downstream"
     downstream_repository_host_env_varname: 'INTERNAL_GIT_REPOSITORY_URL'

(venv) jill@lab:~/collections/ansible_collections/middleware_automation/janus$ cat playbooks/openshift.yml
---
- import_playbook: janus.yml
  vars:
    post_processors_replacements:
     - match: "community.okd"
       replace: "redhat.openshift"
     - match: "Ansible Galaxy"
       replace: "Automation Hub"
     - match: "Kubernetes"
       replace: "OpenShift"
     - match: " okd"
       replace: " openshift"
    upstream_name: "community.okd"
    downstream_name: "redhat.openshift"
    upstream_namespace: community
    downstream_namespace: redhat
    workdir: /var/tmp
    project_git_url: "git@github.com:openshift/community.okd"
    project_git_version: DNM_downstream_experiment
    downstream_repository_host_env_varname: localhost

Absolutely, I'll start by creating the argument specs for the janus role, and using our tooling to generate a README so we have at least the variables docs.

Should the changelog generation be useful, too?

If janus will use https://github.com/ansible-community/antsibull-changelog the docs can probably link to those docs, otherwise if there is a different changelog process then yes it would be helpful.

yes, we have GH pipelines that take care of all that automatically, I'll add those bits too
( https://github.com/ansible-middleware/collection-docs-action )

Infra for  ci, docs and changelog is merged, along with arg specs for the janus role; some more work is needed for proper default values, and "real" usage docs have to be written (#14 and #15); docs here:
http://ansiblemiddleware.com/janus/main/CHANGELOG.html and http://ansiblemiddleware.com/janus/main/roles/janus.html

@jillr I think we're good now :) but if you still have comments or feedback, please use the new repo!

authors: guidograzioli jillr rpelisse

repo: ansible-middleware/janus


text:
insights - disable global filter

A global filter was added for the whole ansible org in insights mode, but it's only for AAP - introduced as part of https://issues.redhat.com/browse/RHCLOUD-18330 & https://github.com/RedHatInsights/insights-chrome/pull/1827
Disabling, same as https://github.com/RedHatInsights/tower-analytics-frontend/pull/777 :)

TODO screenshot, ensure this doesn't just work the first time, or move to render
TODO ensure the css thing doesn't affect other non-AAH pages

We may not need this after all, sounds like the change will be updated to restrict the filter to aap before it goes in prod.
Keeping for now not to forget.
Also, https://issues.redhat.com/browse/AAP-3077

No longer present in stage or prod.

repo: ansible/ansible-hub-ui


text:
propose dev reload (similar to Quarkus)

Following up on similar idea from https://github.com/ansible/ansible-rulebook/pull/513,
and the "Report on: Kubernetes + Event Driven Ansible using Rulebooks" document shared with the team,
this PR proposes a "dev reload" similar to Quarkus dev mode,
that will monitor for rulebook changes and auto-reload when supplied on cli with --dev.
In the following, I provide a demo of its use.
"alternative 0" with the command line parameter NOT supplied, behaves as before:

Now I launch the same, but with --dev command line parameter:

it does not auto-terminate, and waits for file changes.
Now I want to modify from using the generic source to the webhook source:

I wanted to send analogous events as those from the generic source, but through the webhook by using the postman application, but my rule is not triggering anymore 🤔 ...
[this was intentional for the purpose of the demo]
Ah yes! 😉  I should update the condition to reflect accordingly:

In the previous screenshot, I just:

changed the rulebook
saved the rulebook
the ansible-rulebook dev mode downscaled and restarted automatically

As I send the same event from postman:

It is now working as expected.
I hope this demo exemplify the intended workflow of the proposed dev mode for ansible-rulebook, inspired by Quarkus dev mode.

In addition to the linting issues, It might need to refactor some test due to recursion issues. Maybe a good approach could be encapsulate the logic of the run function to avoid recursive calls.

It produces the following log entry:
2023-05-25 18:58:15,645 - asyncio - ERROR - _GatheringFuture exception was never retrieved
future: <_GatheringFuture finished exception=DevReloadException('Rulebook file changed, raising exception so to asyncio.FIRST_EXCEPTION in order to reload')>

To prevent it, you need the return_exceptions=True here: https://github.com/ansible/ansible-rulebook/blob/main/ansible_rulebook/engine.py#L285

thank you, done in  81683a9

This is a question for @mkanoor: asyncio.gather returns an awaitable, is there a reason to not use await in https://github.com/ansible/ansible-rulebook/blob/main/ansible_rulebook/engine.py#L285 ?

Not sure as I haven't touched that line, I assume it was that way as anyway the result of gather is not needed?
eg., even if it was
unused = await asyncio.gather(*ruleset_tasks, return_exceptions=True)

the unused was not used anywhere, so not necessary to await? At least I intended it that way? 🙃

In addition to the linting issues, It might need to refactor some test due to recursion issues. Maybe a good approach could be encapsulate the logic of the run function to avoid recursive calls.

Thank you, and I am facing this problem, but I'm not sure I fully understood your feedback.
Could you provide a bit more context/example? Also always available on call if preferred
Thank you so far 🙏

I would assume I just need to now fix the remaining linting issues... checking

I really like hot-reload features for development.    As long as people are developing against non-production systems this is probably OK.

friendly bump / ping @mkanoor @Alex-Izquierdo can this be merged after Ben's approval https://github.com/ansible/ansible-rulebook/pull/516#pullrequestreview-1593703429 or something need further amendment in your pov, please?

I think that as a feature that we are going to support from now on, it should have an e2e test.

I think that as a feature that we are going to support from now on, it should have an e2e test.

Since this has been raised from May 25, and I will have less opportunity to work on this "full time", can I ask you for a little guidance how to best setup and e2e test that interacts with this "as non-worker mode" and make file change that triggers the reload, please?
In other words, I'm very happy to add an e2e test, but I would really need a "bootstrap" guidance.

Hi @tarilabs I don't want to go on too long here. At a quick thought I would say that you can run the process in the background, make some simple modification in the rulebook and check that you have the expected output from the expected restart.
This test can serve as a reference:
https://github.com/ansible/ansible-rulebook/blob/98345aaf154e68d49acdf482e79edc45ab7f04aa/tests/e2e/test_runtime.py#L198
In this case the process is simply a fork, you can also launch it with async. As you like.
Our strategy in many places is always the same: use the debug action in the rulebook to print some string that is verified in the test. If you inspect other existing tests you will see that we use the pytest_check plugin to do the trick to run multiple assertions in the same test without stop the test. This is to optimize the execution time and verify multiple cases in the same rulebook instead of creating a new process for each testcase. Here you would not need it.
Anycase, you have to update the command helper with the new flag:
https://github.com/ansible/ansible-rulebook/blob/main/tests/e2e/utils.py#L18
I don't have much time either to work on it but if it's too much trouble I can try to take some time to do the test and make a PR to your branch.

@Alex-Izquierdo added test as required and per your suggestions with 43ed370 . The test is passing locally, now 🤞 on CI :)

authors: Alex-Izquierdo benthomasson tarilabs

repo: ansible/ansible-rulebook


text:
Job output websockets

Add live job events to job output screen from websocket messages.

websocket events are added to the jobEvents object
missing/skipped event indexes are tracked in a missingEvents object
after a 2.5 second delay, any missing events that the UI attempts to render (still haven't come in via websockets) are fetched via API to fill in the gaps

When I launch the template the job output starts and appears for a few moments before I see this failure:

Fixed!

repo: ansible/ansible-ui


text:
Maxwell Icepak 2-way coupling example

Hi @lorenzovecchietti, it would be great if you could check if the Icepak settings are reasonable, including for example:

region size
boundary conditions
mesh
solver settings

Thanks :)

Overall very good! thanks for your support on this :)
The only thing I'd improve it would be the description of each section.
I'd be a bit more descriptive and avoid using "->" for example.
Good job :)

@gmalinve I think this is now ready for review. :)
@lorenzovecchietti thanks for your help!

Overall very good! thanks for your support on this :) The only thing I'd improve it would be the description of each section. I'd be a bit more descriptive and avoid using "->" for example.
Good job :)

I totally agree that we want to describe each of the example's sections using complete sentences and avoid using -->.

authors: IreneWoyna PipKat gmalinve

repo: ansys/pyaedt


text:
base class information gone from Settings API documentation

E.g.,
https://fluent.docs.pyansys.com/version/stable/api/solver/_autosummary/settings/file.html#file
This affects settings API only. I checked data model and TUI APIs which look OK.
There was a different implementation used for settings API in the latest round of changes in terms of what is automatically created?

@hpohekar I don't want to distract you with this right now, but this is something we should correct fairly soon. The current open-telemetry work takes precedence.

@seanpearsonuk It's resolved now. Thanks. https://github.com/ansys/pyfluent/pull/1632

authors: hpohekar seanpearsonuk

repo: ansys/pyfluent


text:
Inconsistent default view orientation for save_picture

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
When running in "hidden_gui" or "gui" mode, images saved from pyfluent standalone sessions are saved in "top" view. In other gui modes such as "no_gui", or in pyconsole in "hidden" mode images default saved in "isometric" view
Pyconsole is consistent with legacy console
pyfluent standalone in "ui_mode = hidden_gui"

pyconsole in "-hidden" fluent session

There is also inconsistencies between windows and linux:
Linux pyfl in -gu mode

windows pyfl in -gu mode

📝 Steps to reproduce

download and unzip attached case data
launch pyfluent session from common files and run following commands:

import ansys.fluent.core as pyfluent

solver = pyfluent.launch_fluent(version = "3d", mode = "solver", precision="double", ui_mode="hidden_gui")
solver.file.read_case_data(file_name="ablation_Solved")

solver.results.graphics.contour.display(object_name="contour-1")

solver.results.graphics.views.camera.position(xyz=[0, 1, 0])

solver.results.graphics.picture.save_picture(file_name="contour_gu_pyfl")

With pyconsole session in windows, launching fluent with the -hidden flag, run following commands:
solver.file.read_case_data(file_name="ablation_Solved")

solver.results.graphics.contour.display(object_name="contour-1")

solver.results.graphics.views.camera.position(xyz=[0, 1, 0])

solver.results.graphics.picture.save_picture(file_name="contour_gu_pycon")

ablation.zip
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
v242
🐍 Which Python version are you using?
3.10
📦 Installed packages
commonfiles python

@cj-hodgson issue affecting regression
@mkundu1 @seanpearsonuk

will look into this after the current pyfluent issues with ui_mode and file upload/download are resolved

I can reproduce the same issue in standalone Fluent if I launch with -nm flag (don't display mesh after case read). Suggest to file a Fluent side bug as this is unrelated to PyFluent.

@mkundu1 Thanks for looking into this. Should we make PyFluent more configurable with respect to its use of -nm? As you point out, we currently hard-code launch_string += " -nm", but we could allow that to be skipped if a new launch argument is set. I don't see this as a major issue in the product, rather just a case of wanting to allow things to align for the sake of testing. The more open we are to configuration, the easier the task of aligning with core behaviour.

@seanpearsonuk Thanks, yes, we can make this option configurable.

pyfluent.SHOW_MESH_AFTER_CASE_READ = True will restore the Fluent behaviour.


text:
ant-textarea微信小程序不展示0/140

组件

ant-textarea
基础库版本

[v] 1.x
[v] 2.x

设备机型
手机系统

[v] iOS
[v] Android
[v] HarmonyOS

APP

组件库版本

2.34.1
预期行为
正确展示预期效果
复现步骤
默认情况下就不展示
复现 demo

微信原生组件没有show-count属性，antd-mini暂时也不支持https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html

自己定制实现一下

repo: ant-design/ant-design-mini


text:
🐛[BUG]6.0.1把头像修坏了.

🐛 bug 描述 [详细地描述 bug，让大家都能理解]
我的头像不是默认的,而且还有其他的代码.升级6.0.1后好像就成默认头像了.也可能是@umijs/plugin-layout": "^0.11.8升级到0.11.9后的问题,我测试下.

📷 复现步骤 [清晰描述复现步骤，让别人也能看到问题]
🏞 期望结果 [描述你原本期望看到的结果]
💻 复现代码 [提供可复现的代码，仓库，或线上示例]
© 版本信息

Ant Design Pro 版本: [e.g. 4.0.0]
umi 版本
浏览器环境
开发环境 [e.g. mac OS]

🚑 其他信息 [如截图等其他信息可以贴在这里]

试过了恢复旧版本还是无法解决.我看了下Umi的官网文档使用的是rightRender,就很奇怪.

关联issue

repo: ant-design/ant-design-pro-layout


text:
Utility methods like isEvent, isCall, isReply and getId to use in on and post callbacks

Clear and concise description of the problem
Consider the below chrome extension birpc adaptor

let messageHandler: Function; // another proposal is on-the-way to get rid of this
const rpc = createBirpc<ServerFunctions, ClientFunctions>(
    clientFunctions,
    {
        post: (data, ...extras: any[]) => {
            const [sender, sendResponse] = extras;

            if (sender && sendResponse) {
                // this is a reply to a message
                sendResponse(data);
            } else {
                // this is a call
                chrome.runtime.sendMessage(data).then((response) => {
                    // return from the call
                    messageHandler(response);
                });
            }
        },
        on: (handler) => {
            messageHandler = handler;

            chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
                // incoming calls
                handler(message, sender, sendResponse);
                return true;
            });
        },
    },
)

Here we have to do some extra hacks to adapt an already existing bidirectional messaging system to birpc for a better typed callable rpc functions.
Note: The above example might not completely explains my proposal. But can give a glance of what the proposal can bring.
Suggested solution
Since the underlying message structure is ugly and not good for the DX land, Convenience methods like isEvent(), isCall(), isReply(), getId() will help developers to write flexible adaptors where message identification is necessary.
Ex Scenario: REST for calls and WS for events.
With convenience methods appllied.
Note: The below example might not completely explains my proposal. But can give a glance of what the proposal can bring.
import { createBirpc, util } from "birpc"

let messageHandler: Function; // another proposal is on-the-way to get rid of this
const rpc = createBirpc<ServerFunctions, ClientFunctions>(
    clientFunctions,
    {
        post: (data, ...extras: any[]) => {
            if (util.isEvent(data)) {
                return chrome.runtime.sendMessage(data);
            }

            if (util.isReply(data)) {
                const [sender, sendResponse] = extras;

                // this is an incoming reply to a message
                sendResponse(data);
            } else {
                // this is an outgoing call
                chrome.runtime.sendMessage(data).then((response) => {
                    // return from the call
                    messageHandler(response);
                });
            }
        },
        on: (handler) => {
            // on is called when rpc is created, so no worries `messageHandler` being unintialized inside `post`
            messageHandler = handler;

            chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
                // incoming calls
                handler(message, sender, sendResponse);
                return true;
            });
        },
    },
)

The util method getId() helps the keep track of the messages and implement custom functionalities around it.
Ex: Retry, Tests, etc
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Or MayBe passing a Context object as this to the ChannelOptions callbacks functions.
interface Context {
    event: boolean;
}

repo: antfu/birpc


text:
How do I set it important？

When used with existing CSS with highly specific selectors，For example: element-plus，How do I set it important？

The basic of atomic css is to be not very specific so you can easily override it later.
However, to force important property, you can use ! (exclamation) in front of the rule. Ex:
!font-bold
https://windicss.org/features/important-prefix.html

repo: antfu/unocss


text:
User

add user model
add user schema
add auth routes for user

user functionality follows class lecture for jwt in cookies

repo: anthonyBosek/fantasy-eleven


text:
Conversion of cdx json sbom to spdx json sbom file misses download location and license information

The license information and download location of the conversion from cdx.json to spdx.json misses the value.
`from lib4sbom.parser import SBOMParser
from lib4sbom.generator import SBOMGenerator
from lib4sbom.data.document import SBOMDocument
test_parser = SBOMParser()
test_parser.parse_file("gl-sbom-conan-conan.cdx.json")`
One example package in gl-sbom-conan-conan.cdx.json:
{
"name": "openssl",
"version": "3.1.3",
"purl": "pkg:conan/openssl@3.1.3",
"type": "library",
"bom-ref": "pkg:conan/openssl@3.1.3",
"licenses": [
{
"license": {
"id": "Apache-2.0"
}
}
],
"URL": "https://gitlab.com/test/libraries/open-source-libraries/-/tree/main/packages/openssl",
"description": "A toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols",
"copyrightText": "",
"downloadLocation": "['https://www.openssl.org/source/openssl-3.1.3.tar.gz', 'https://github.com/openssl/openssl/releases/download/openssl-3.1.3/openssl-3.1.3.tar.gz']",
"hashes": [
{
"alg": "SHA-256",
"content": "f0316a2ebd89e7f2352976445458689f804755958788c466692fb2a188b2eacf6"
}
],
"patch_file": "[{'patch_file': 'patches/3.1.1-fix-qcc-compilation.patch', 'base_path': ''}]"
},
When converted to gl-sbom-conan-conan.spdx.json, the downloadLocation and licenseConcluded got NOASSERTION instead of the actual value.
{
"SPDXID": "SPDXRef-Package-46-openssl",
"name": "openssl",
"versionInfo": "3.1.3",
"primaryPackagePurpose": "LIBRARY",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"checksums": [
{
"algorithm": "SHA256",
"checkumValue": "f0316a2ebd89e7f2352976445458689f804755958788c466692fb2a188b2eacf6"
}
],
"licenseConcluded": "NOASSERTION",
"licenseDeclared": "NOASSERTION",
"copyrightText": "NOASSERTION",
"description": "A toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols",
"externalRefs": [
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:conan/openssl@3.1.3"
}
]
},

@angelwn Can you provide the full SBOM to see the full context as some of the elements don't seem to be correct according to the CycloneDX specification?

authors: angelwn anthonyharrison


text:
Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

Awesome 👍 - thanks for the fix!!

repo: antiguab/BATabBarController


text:
incorrectly adds .js to "react/jsx-runtime";

-import { jsx as _jsx } from "react/jsx-runtime";
+import { jsx as _jsx } from "react/jsx-runtime.js";

Do not expect this transform

@gajus,
It looks strange. By design all external modules which have exports field in their pkgjson should be omitted from subs variants. Moreover, I have a test for this case:

fixture: https://github.com/antongolub/tsc-esm-fix/blob/master/src/test/fixtures/ts-project/node_modules/e2/package.json#L10
snapshot: https://github.com/antongolub/tsc-esm-fix/blob/master/src/test/ts/snapshots/fix.ts.snap#L27

Could you plz add more context for debug? Repo link that reproduces the issue would be perfect.

I think I'm facing a similar issue - in my case with @playwright/test imports:
-import { test } from '@playwright/test';
+import { test } from '@playwright/test/index.js';

I suspected that this is due to playwright exports being an object, which doesn't seem to be a tested case in the fixture that you linked. However, manually editing their local package.json doesn't change the behaviour

I'll try to take a look next week.

authors: PeterBenko antongolub gajus

repo: antongolub/tsc-esm-fix


text:
Can't Install

When I try to install using composer this is what i get:
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove symfony/routing v3.4.0
    - Conclusion: don't install symfony/routing v3.4.0
    - Installation request for pragmarx/version ^0.2.1 -> satisfiable by pragmarx/version[v0.2.1].
    - symfony/yaml v3.3.0 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.1 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.10 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.11 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.12 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.13 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.2 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.3 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.4 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.5 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.6 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.7 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.8 conflicts with symfony/routing[v3.4.0].
    - symfony/yaml v3.3.9 conflicts with symfony/routing[v3.4.0].
    - Installation request for symfony/routing (locked at v3.4.0) -> satisfiable by symfony/routing[v3.4.0].
    - pragmarx/version v0.2.1 requires pragmarx/yaml ^0.1 -> satisfiable by pragmarx/yaml[v0.1.0, v0.1.1, v0.1.2, v0.1.3].
    - pragmarx/yaml v0.1.3 requires symfony/yaml ^3.3 -> satisfiable by symfony/yaml[v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0].
    - pragmarx/yaml v0.1.2 requires symfony/yaml ^3.3 -> satisfiable by symfony/yaml[v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0].
    - pragmarx/yaml v0.1.1 requires symfony/yaml ~3.3 -> satisfiable by symfony/yaml[v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0].
    - pragmarx/yaml v0.1.0 requires symfony/yaml ~3.3 -> satisfiable by symfony/yaml[v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0].
    - Conclusion: don't install symfony/yaml v3.4.0|install symfony/yaml v3.3.0|install symfony/yaml v3.3.1|install symfony/yaml v3.3.10|install symfony/yaml v3.3.11|install symfony/yaml v3.3.12|install symfony/yaml v3.3.13|install symfony/yaml v3.3.2|install symfony/yaml v3.3.3|install symfony/yaml v3.3.4|install symfony/yaml v3.3.5|install symfony/yaml v3.3.6|install symfony/yaml v3.3.7|install symfony/yaml v3.3.8|install symfony/yaml v3.3.9

Installation failed, reverting ./composer.json to its original content.

Not sure why you are getting this, by the constraints you should be able to use Symfony 3.3 and 3.4:

Are you able to share your app's composer.json?

This message may also help you

Running composer update didn't help. Here's the contents of my composer.json file:
{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "repositories":[
        {
            "type":"vcs",
            "url":"https://github.com/emiliopedrollo/passport"
        },
        {
            "type":"vcs",
            "url":"https://github.com/gilesrussi/laravel-apidoc-generator"
        },
        {
            "type":"vcs",
            "url":"https://github.com/gilesrussi/laravel-log-viewer"
        }
    ],
    "extra":{
        "laravel":{
            "dont-discover":[
                "laravel/passport"
            ]
        }
    },
    "require": {
        "php": ">=7.1.4",
        "barryvdh/laravel-cors": "^0.9.2",
        "barryvdh/laravel-debugbar": "^3.0@dev",
        "cviebrock/eloquent-sluggable": "^4.2",
        "emiliopedrollo/laravel-postgres-extended-schema": "dev-master",
        "firebase/php-jwt": "^5.0",
        "hedronium/spaceless-blade": "^2.0",
        "huang-yi/laravel-swoole-http": "^2.0",
        "jailtonsc/laravel-response-xml": "^2.0",
        "jenssegers/agent": "^2.5",
        "laravel/framework": "5.5.*",
        "laravel/passport": "dev-uuid",
        "laravel/tinker": "~1.0",
        "mpociot/laravel-apidoc-generator": "dev-dev-sf",
        "n7olkachev/laravel-computed-properties": "^1.1",
        "plank/laravel-metable": "^1.0",
        "rap2hpoutre/laravel-log-viewer": "dev-dev",
        "yajra/laravel-datatables-oracle": "8.*"
    },
    "require-dev": {
        "barryvdh/laravel-ide-helper": "^2.4",
        "doctrine/dbal": "^2.5",
        "eaglewu/swoole-ide-helper": "dev-master",
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
        "phpunit/phpunit": "~6.0"
    },
    "autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/"
        },
        "files": [
            "app/Support/helpers.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "scripts": {
        "post-root-package-install": [
            "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ],
        "post-install-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postInstall"
        ],
        "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
            "php artisan ide-helper:generate",
            "php artisan ide-helper:meta",
            "php artisan ide-helper:models -W"
        ]
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true
    }
}

Maybe you will have to remove the line "emiliopedrollo/laravel-postgres-extended-schema": "dev-master", as it requires a token to install.

Just intalled it here, using your composer.json untouched. Remove your composer.lock and vendor folder and do a composer install:
$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 116 installs, 0 updates, 0 removals
  - Installing doctrine/lexer (v1.0.1): Loading from cache
  - Installing doctrine/inflector (v1.2.0): Loading from cache
  - Installing doctrine/collections (v1.5.0): Loading from cache
  - Installing doctrine/cache (v1.7.1): Loading from cache
  - Installing doctrine/annotations (v1.5.0): Loading from cache
  - Installing doctrine/common (v2.8.1): Loading from cache
  - Installing doctrine/dbal (v2.6.3): Loading from cache
  - Installing paragonie/random_compat (v2.0.11): Loading from cache
  - Installing ramsey/uuid (3.7.1): Loading from cache
  - Installing vlucas/phpdotenv (v2.4.0): Loading from cache
  - Installing symfony/css-selector (v3.4.0): Loading from cache
  - Installing tijsverkoyen/css-to-inline-styles (2.2.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
  - Installing symfony/var-dumper (v3.4.0): Loading from cache
  - Installing symfony/routing (v3.3.13): Loading from cache
  - Installing symfony/process (v3.4.0): Loading from cache
  - Installing symfony/polyfill-php70 (v1.6.0): Loading from cache
  - Installing symfony/http-foundation (v3.4.0): Loading from cache
  - Installing symfony/event-dispatcher (v4.0.0): Loading from cache
  - Installing psr/log (1.0.2): Loading from cache
  - Installing symfony/debug (v3.4.0): Loading from cache
  - Installing symfony/http-kernel (v3.4.0): Loading from cache
  - Installing symfony/finder (v3.4.0): Loading from cache
  - Installing symfony/console (v3.4.0): Loading from cache
  - Installing egulias/email-validator (2.1.3): Loading from cache
  - Installing swiftmailer/swiftmailer (v6.0.2): Loading from cache
  - Installing psr/simple-cache (1.0.0): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/translation (v3.3.13): Loading from cache
  - Installing nesbot/carbon (1.22.1): Loading from cache
  - Installing mtdowling/cron-expression (v1.2.1): Loading from cache
  - Installing monolog/monolog (1.23.0): Loading from cache
  - Installing league/flysystem (1.0.41): Loading from cache
  - Installing erusev/parsedown (1.6.4): Loading from cache
  - Installing laravel/framework (v5.5.22): Loading from cache
  - Installing emiliopedrollo/laravel-postgres-extended-schema (dev-master 16c8534): Loading from cache
  - Installing hedronium/spaceless-blade (v2.0.0): Loading from cache
  - Installing jailtonsc/laravel-response-xml (v2): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing zendframework/zend-diactoros (1.6.1): Loading from cache
  - Installing symfony/psr-http-message-bridge (v1.0.0): Loading from cache
  - Installing phpseclib/phpseclib (2.0.9): Loading from cache
  - Installing defuse/php-encryption (v2.1.0): Loading from cache
  - Installing lcobucci/jwt (3.2.2): Loading from cache
  - Installing league/event (2.1.2): Loading from cache
  - Installing league/oauth2-server (6.0.2): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
  - Installing guzzlehttp/guzzle (6.3.0): Loading from cache
  - Installing firebase/php-jwt (v5.0.0): Loading from cache
  - Installing laravel/passport (dev-uuid bbd9855): Loading from cache
  - Installing mpociot/reflection-docblock (1.0.1): Loading from cache
  - Installing windwalker/structure (3.2.8): Loading from cache
  - Installing windwalker/renderer (3.2.8): Loading from cache
  - Installing symfony/yaml (v3.3.13): Loading from cache
  - Installing mnapoli/front-yaml (1.6.0): Loading from cache
  - Installing php-di/invoker (2.0.0): Loading from cache
  - Installing mnapoli/silly (1.7.0): Loading from cache
  - Installing mpociot/documentarian (0.2.1): Loading from cache
  - Installing fzaninotto/faker (v1.7.1): Loading from cache
  - Installing mpociot/laravel-apidoc-generator (dev-dev-sf 03dcb88): Loading from cache
  - Installing rap2hpoutre/laravel-log-viewer (dev-dev 1c68c24): Loading from cache
  - Installing pragmarx/yaml (v0.1.3): Loading from cache
  - Installing pragmarx/version (v0.2.1): Loading from cache
  - Installing eaglewu/swoole-ide-helper (dev-master a30eba7): Loading from cache
  - Installing huang-yi/laravel-swoole-http (2.0.2): Loading from cache
  - Installing mobiledetect/mobiledetectlib (2.8.27): Loading from cache
  - Installing jaybizzle/crawler-detect (v1.2.54): Loading from cache
  - Installing jenssegers/agent (v2.6.0): Loading from cache
  - Installing n7olkachev/laravel-computed-properties (v1.1.1): Loading from cache
  - Installing barryvdh/laravel-cors (v0.9.3): Loading from cache
  - Installing plank/laravel-metable (1.0.4): Loading from cache
  - Installing yajra/laravel-datatables-oracle (v8.3.2): Loading from cache
  - Installing symfony/class-loader (v3.4.0): Loading from cache
  - Installing barryvdh/reflection-docblock (v2.0.4): Loading from cache
  - Installing barryvdh/laravel-ide-helper (v2.4.1): Loading from cache
  - Installing hamcrest/hamcrest-php (v1.2.2): Loading from cache
  - Installing mockery/mockery (0.9.9): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
  - Installing sebastian/recursion-context (3.0.0): Loading from cache
  - Installing sebastian/object-reflector (1.1.1): Loading from cache
  - Installing sebastian/object-enumerator (3.0.3): Loading from cache
  - Installing sebastian/global-state (2.0.0): Loading from cache
  - Installing sebastian/exporter (3.1.0): Loading from cache
  - Installing sebastian/environment (3.1.0): Loading from cache
  - Installing sebastian/diff (2.0.1): Loading from cache
  - Installing sebastian/comparator (2.1.0): Loading from cache
  - Installing doctrine/instantiator (1.1.0): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/phpunit-mock-objects (5.0.4): Loading from cache
  - Installing phpunit/php-timer (1.0.9): Loading from cache
  - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
  - Installing theseer/tokenizer (1.1.0): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
  - Installing phpunit/php-token-stream (2.0.2): Loading from cache
  - Installing phpunit/php-code-coverage (5.2.4): Loading from cache
  - Installing webmozart/assert (1.2.0): Loading from cache
  - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
  - Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.2.0): Loading from cache
  - Installing phpspec/prophecy (1.7.3): Loading from cache
  - Installing phar-io/version (1.0.1): Loading from cache
  - Installing phar-io/manifest (1.0.1): Loading from cache
  - Installing myclabs/deep-copy (1.7.0): Loading from cache
  - Installing phpunit/phpunit (6.5.2): Loading from cache
  - Installing maximebf/debugbar (v1.14.1): Loading from cache
  - Installing barryvdh/laravel-debugbar (v3.1.0): Loading from cache
  - Installing cocur/slugify (v3.0.1): Loading from cache
  - Installing cviebrock/eloquent-sluggable (4.3.0): Loading from cache
  - Installing jakub-onderka/php-console-color (0.1): Loading from cache
  - Installing jakub-onderka/php-console-highlighter (v0.3.2): Loading from cache
  - Installing dnoegel/php-xdg-base-dir (0.1): Loading from cache
  - Installing nikic/php-parser (v3.1.2): Loading from cache
  - Installing psy/psysh (v0.8.15): Loading from cache
  - Installing laravel/tinker (v1.0.2): Loading from cache
doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump)
symfony/var-dumper suggests installing ext-symfony_debug ()
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
symfony/console suggests installing symfony/lock ()
egulias/email-validator suggests installing ext-intl (PHP Internationalization Libraries are required to use the SpoofChecking validation)
symfony/translation suggests installing symfony/config ()
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for PHP 5 applications)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver and SES mail driver (~3.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing nexmo/client (Required to use the Nexmo transport (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~3.0).)
laravel/framework suggests installing symfony/dom-crawler (Required to use most of the crawler integration testing tools (~3.3).)
phpseclib/phpseclib suggests installing ext-libsodium (SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.)
phpseclib/phpseclib suggests installing ext-gmp (Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.)
lcobucci/jwt suggests installing mdanter/ecc (Required to use Elliptic Curves based algorithms.)
mpociot/reflection-docblock suggests installing dflydev/markdown (~1.0)
windwalker/renderer suggests installing league/plates (Install 3.* if you require Plates template engine.)
windwalker/renderer suggests installing twig/twig (Install 1.* if you require Twig engine.)
windwalker/renderer suggests installing mustache/mustache (Install 2.* if you require Mustache engine.)
yajra/laravel-datatables-oracle suggests installing yajra/laravel-datatables-buttons (Plugin for server-side exporting of dataTable.)
yajra/laravel-datatables-oracle suggests installing yajra/laravel-datatables-html (Plugin for server-side HTML builder of dataTable.)
yajra/laravel-datatables-oracle suggests installing yajra/laravel-datatables-fractal (Plugin for server-side response using Fractal.)
symfony/class-loader suggests installing symfony/polyfill-apcu (For using ApcClassLoader on HHVM)
barryvdh/reflection-docblock suggests installing dflydev/markdown (~1.0)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.5)
phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
phpunit/phpunit suggests installing ext-xdebug (*)
maximebf/debugbar suggests installing kriswallsmith/assetic (The best way to manage assets)
maximebf/debugbar suggests installing predis/predis (Redis storage)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
PHP Warning:  Uncaught ErrorException: require(/Users/antoniocarlos/code/pragmarx/version/vendor/composer/../../app/Support/helpers.php): failed to open stream: No such file or directory in /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php:66
Stack trace:
#0 /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php(66): Composer\Util\ErrorHandler::handle(2, 'require(/Users/...', '/Users/antonioc...', 66, Array)
#1 /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php(66): require()
#2 /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php(56): composerRequire82b4fa14f44cca15f402ac794ad8880d('6f63623309b4173...', '/Users/antonioc...')
#3 /Users/antoniocarlos/code/pragmarx/version/vendor/autoload.php(7): ComposerAutoloaderInit82b4fa14f44cca15f402ac794ad8880d::getLoader()
#4 /Users/antoniocarlos/code/pragmarx/version/vendor/laravel/framework/src/Illuminate/Foundation/ComposerScripts.php(30): require_once('/Users/antonioc...')
#5 phar:// in /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php on line 66

Warning: Uncaught ErrorException: require(/Users/antoniocarlos/code/pragmarx/version/vendor/composer/../../app/Support/helpers.php): failed to open stream: No such file or directory in /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php:66
Stack trace:
#0 /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php(66): Composer\Util\ErrorHandler::handle(2, 'require(/Users/...', '/Users/antonioc...', 66, Array)
#1 /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php(66): require()
#2 /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php(56): composerRequire82b4fa14f44cca15f402ac794ad8880d('6f63623309b4173...', '/Users/antonioc...')
#3 /Users/antoniocarlos/code/pragmarx/version/vendor/autoload.php(7): ComposerAutoloaderInit82b4fa14f44cca15f402ac794ad8880d::getLoader()
#4 /Users/antoniocarlos/code/pragmarx/version/vendor/laravel/framework/src/Illuminate/Foundation/ComposerScripts.php(30): require_once('/Users/antonioc...')
#5 phar:// in /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php on line 66
PHP Fatal error:  composerRequire82b4fa14f44cca15f402ac794ad8880d(): Failed opening required '/Users/antoniocarlos/code/pragmarx/version/vendor/composer/../../app/Support/helpers.php' (include_path='.:') in /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php on line 66

Fatal error: composerRequire82b4fa14f44cca15f402ac794ad8880d(): Failed opening required '/Users/antoniocarlos/code/pragmarx/version/vendor/composer/../../app/Support/helpers.php' (include_path='.:') in /Users/antoniocarlos/code/pragmarx/version/vendor/composer/autoload_real.php on line 66
```

Sorry, I just touched it to add Version:

Removing composer.lock , edditing the package in composer.json and excuting composer install seems to be able to install it. Thank you.

authors: antonioribeiro emiliopedrollo

repo: antonioribeiro/version


text:
Manjaro 18.0.4 - out of memory

Attempting to boot the Manjaro 18.0.4 ISO results in an out of memory error after the initial Manjaro boot menu.
The virtual machine this was tested on is configured for 16G of RAM.  So, I don't believe this is a limitation of the system being boot, but rather an error/issue with either iPXE or the configuration.

The iso appears to be over 2GB and memdisk I believe starts having issues with files that large in size because it's loading the ISO into the 32-bit address space which starts getting tight on space.  We'd probably need them to either provide a smaller minimal ISO or extract and host a version that has the kernels and rootfs extracted out so we could more properly boot the ISO.  Using memdisk and a giant ISO, unfortunately, isn't very scalable for this kind of tool.

Agreed, but figured you would want to know that the menu entry you're hosting/offering is currently broken.

Thanks for the heads up... may have to look into removing it.

It can be booted through loop mounting similar to how Arch Linux is booted.  If you'd like I can post my config or create a PR based on my config when I'm finished with it.

authors: antonym jamincollins


text:
Is the opus decode feature not available on RPI3?

Hi, I am using this library in Windows10 and RPI3.
Windows10 is a server and RPI3 is a client.
Windows10 succeeded in compressing audio into an operating codec.
However, unknown device (RPI3) does not support Opus codec.

Is there any way to use the Opus Decode function on RPI3?

The possibility to configure Opus and OpenSsl settings for unknown device was now added!

Thank you! It now works well with RPI3

repo: antonypro/AudioStreaming


text:
Logging improvements in Agent NP reconciler

Switched to strctured logging
Change verbosity of potentially misleading Info log

Fixes #4974

/test-all

/test-all

/test-all

repo: antrea-io/antrea


text:
Automated cherry pick of #6707: Fix issue with ipset or iptables chain removal during

Cherry pick of #6707 on release-1.15.
#6707: Fix issue with ipset or iptables chain removal during
For details on the cherry pick process, see the cherry pick requests page.

/test-all

authors: hongliangl tnqn


text:
Fix timeout problem in upgrading test

Previously we use the defaultTimeout at 90 second for ClickHouse in Upgrading test.
As ClickHouse Operator takes around 1 minute to restart the ClickHouse Pod, it sometimes
leads to a timeout in the upgrading test. This PR increases the timeout to avoid this problem.
Signed-off-by: Yanjun Zhou zhouya@vmware.com

LGTM. Thanks for taking care of this issue. nit: It seems the old comments On L1226 is redundant now.

Good catch. Remove it!

repo: antrea-io/theia


text:
Implement proper initialisation and better rendering of SLU results

Hi!
I was happy to see this neat little app and decided to make some improvements to it in order to:

make it work in all major browsers (dekstop Safari / Firefox / Chrome and iOS Safari / Android Chrome)
change the rendering to update current transcript in real-time
improve SLU accuracy by using a more optimised (and anecdotally simpler) SLU configuration

I would be also happy to hear if some of the changes I've made should be reflected in Speechly documentation (either the one @ speechly.com or the one in the browser-client repo).
EDIT: You can check out the updated version of the app @ https://radiohead.github.io/dnd-voice-dice-roll/ 🙂

This is awesome! Thanks @radiohead

I would be also happy to hear if some of the changes I've made should be reflected in Speechly documentation (either the one @ speechly.com or the one in the browser-client repo).

Definitely!

authors: anttiviljami radiohead

repo: anttiviljami/dnd-voice-dice-roll


text:
Error when using scrollbar in area chart

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

Reproduction link

Steps to reproduce
this demo has been an error

Environment
Info

g2
4.1.6

System
-

Browser
-

(translated by chrome)
This error will be reported when I use the scroll bar in the area chart。
This problem seems to be resolved in this PR. So when do you update the master branch?
Error screenshot

related link
https://github.com/antvis/G2/pull/3137

Due to problems in the program's architecture design, we are unable to effectively fix the issues. But it is fixed in G2 5.0, you can have a try.


text:
minimap does not behave correctly when canvas is dragged and nodes are out of view

Using the default example: https://g6.antv.vision/en/examples/tool/minimap
If you drag the canvas so that the nodes are not in the viewport anymore, the minimap does not reflect correctly the current view.

graph.fitView();

Minimap plugin on X6 behaves as expected. Maybe the code should be merged in G6?
https://observablehq.com/@jiazhewang/introduction-to-antv#X6Demo

For performance reasons, the minimap in G6 is updated only when the viewport is changed by dragging or zooming the canvas, but not dragging a node. In this case, drag the canvas after dragging the node will trigger the minimap update.
Do you think it is necessary to update minimap after 'dragend' event happens on a node? Users' suggestions are always the best input for us.

I don't think it is a problem with dragging nodes. The problem occurs when dragging the canvas so that the nodes becomes out of view. The minimap should then be updated as if the viewport has been zoomed out, or viewport has been expanded.
Please have a look at the X6 minimap plugin as it has the good behavior:
https://observablehq.com/@jiazhewang/introduction-to-antv#X6Demo
Even though this demo does not support canvas dragging, you can see that when a node is out of the viewport, the minimap is updated as if the viewport has been expanded.

Fixed by 3.4.5.

This works perfectly now in 3.4.5, thanks for the update.

authors: Yanyan-Wang enodr xiaohu12685


text:
create-edge通过click创建边的问题

正常如果从节点1 click后，再到节点2 click，是能创建边的。
但如果从节点1 click后，突然不想创建边了，就不知道怎么把已显示出来的边去掉。
不能调item.hide()方法，因为这个仅仅是隐藏，而不是“去掉”，会有副作用而且貌似会报错。

    <meta charset="utf-8">

create-edge 选择了起点之后要取消就点击一下画布空白处就可以啦，可以在这里试一下：https://g6.antv.vision/zh/examples/interaction/createEdge

create-edge 选择了起点之后要取消就点击一下画布空白处就可以啦，可以在这里试一下：https://g6.antv.vision/zh/examples/interaction/createEdge

我之前也是这样认为的。但就是没取消，所以我监听了node:click，然后调refresh等方法，结果都不行。
我看了你发的例子，跟我这边的有点不太一样，不知道是不是跟我的代码配置有关系：
 modes: {
                default: ['drag-node', {
                    type: 'create-edge',
                    trigger: 'click',
                }],
            },

换成 renderer: 'canvas' 就可以了。svg 的问题我们后面再排查一下。推荐还是使用 canvas，性能好很多。svg 也有很多其他问题。

明白。谢谢！

我用自定义边的时候create-edge也出现这种情况，点击初始节点后拖拽，然后点击空白处不会取消

authors: SKT1yang Yanyan-Wang simonbaker


text:
拖动节点，自定义边上的图片图形会闪烁

Describe the bug
在自定义边上添加额外图形，使用图片图形，拖动节点的过程中，自定义边上的图片图形会闪烁
Your Example Website or App
https://codesandbox.io/s/jee5f4
Steps to Reproduce the Bug or Issue

自定义边添加图形
添加图片图形
拖动节点，图片图形出现闪烁

Expected behavior
图片不闪烁
Screenshots or Videos
https://user-images.githubusercontent.com/37073056/231632082-f2823a88-f7db-45a9-a1b7-c0f6ff058852.mov
No response
Platform

OS: macOS
Browser: Chrome
Version: 112.0.5615.49

Additional context
No response

同样遇到了，请问解决了吗

请问解决了吗

authors: leo1u777 manmanhunhun yinjialu


text:
G6 脑图changeData()更新数据之后 无法拖拽,控制台有报错

问题描述

在使用changeData()更新数据之后，对脑图进行删除节点，无法拖拽脑图，控制台报错如下
数据确认是没问题的；看着报错觉得是视图更新的问题，求助解答。
重现链接
无
重现步骤

预期行为
期望可以正常拖拽
平台

操作系统: [macOS, Windows, Linux, React Native ...]
网页浏览器: [Google Chrome, Safari, Firefox]
G6 版本: [4.5.1 ... ]

屏幕截图或视频（可选）

补充说明（可选）
No response

更新数据之后看到了控制台的这两个提示

从报错来看，是不是树图没有配置 layout？树图必须要配置布局哈。还有可以检查一下数据里面每个节点都有唯一的 string id 吗。都没有问题的话，给个在线复现 demo 看看吧

authors: Yanyan-Wang huifeidekaola


text:
🐛 [BUG]官网中国地图图例线性demo不展示

官网demo图例调试bug，我需要用到线性图例

热力图适合用线性的 https://l7plot.antv.antgroup.com/zh/examples/heat/heatmap/#housing-transaction


text:
refactor: 抽取明细表冻结行列逻辑，交叉表冻结首行逻辑复用

👀 PR includes

✨ Feature

[ ] New feature

🎨 Enhance

[ ] Code style optimization
[x] Refactoring
[ ] Change the UI
[ ] Improve the performance
[ ] Type optimization

🐛 Bugfix

[ ] Solve the issue and close #0

🔧 Chore

[ ] Test case
[ ] Docs / demos update
[ ] CI / workflow
[ ] Release version
[ ] Other ()

📝 Description

背景：交叉表支持冻结首行逻辑需求
解决：为了实现背景中提到的需求，将明细表冻结行列公共逻辑抽取成基类，交叉表复用。
说明：逻辑本身未修改，仅做抽取 确保能复用

🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.53.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
fix(interaction): optimize reset state logic

👀 PR includes

🐛 Bugfix

[x] Bug fix issue #0

📝 Description
1. 优化点击空白处重置交互的处理逻辑: 对于数据量很小的表格, 虽然看起来是空白处, 但其实还处于 canvas 区域, 这时候点击 [空白处] 并不能达到用户的预期, 可能会对用户产生迷惑性
🖼 Screenshot

Before
After

修下test


text:
边可以监听节点的移入移出吗

功能描述
在拖拽节点经过边的时候，对边做一些属性的配置，因为是拖拽了节点，edge的鼠标移入移出事件不触发，所以无法使用edge的鼠标移入移出事件
期望解决方案
添加边监听节点移入移出事件

这个不支持的，因为这个事件并不合理，如果你要实现类型的功能，可以通过节点和边的几何位置相交来实现。这里有个类似的 demo 希望能帮助到你。

thanks

建议：view.path.toPoints()?.at(0)


text:
The demo in the document is not available in Stackblitz and CodeSandbox

The demo in the document is not available in Stackblitz and CodeSandbox.
Expected Behavior
Editing demo in Stackblitz and CodeSandbox.
Current Behavior
There will be path errors in Stackblitz:

In CodeSandbox the preview window is blank.

/cib


text:
平移交互中，折线图滑动过程中如果点消失了，连接线也一起消失了，有没有办法让连接线保持？

数据点较少时特别明显，导致折线看起来不连续，现在我临时的解决办法是在数据中插入多个点尽量让消失的部分变短，请问有没有更好的解决办法？另外，我看文档有个generatePoints属性，设置过后没有效果，请问这个属性是什么作用？

generatePoints 属性是用于计算构成每个图形的关键点的，比如矩形的四个顶点，而线图是不需要的，默认为 false，因为本身每条数据就代表一个点，不需要再设置这个来消耗计算性能。
你的这个问题，可以先提供下使用的版本号，我看下是不是我预想的问题导致的，可是试着升级到 3.2.0 稳定版看看还有么有

解决了，谢谢

authors: justiceti simaQ


text:
support wxapp miniprogram npm

Checklist

[x] commit message follows commit guidelines

Description of change

首先，@antv/f2 package.json 文件需要新增 miniprogram 入口约束条件，详情见 @antv/f2@3.2.4-beta.2#368
其次，引入依赖 npm install --save @antv/f2@3.2.4-beta.2 ，升级小程序默认基础库到【最新版】（>=2.2.1），开启【使用 npm 模块】功能，通过【工具->构建npm】，即可运行小程序实例

这种方案不是特别合适，还是应该封装一个自三方图表组件，详见 master 新分支。

个人感觉更合适的方式是将 f2-canvas 自定义组件封装为第三方的 npm 安装包，现已封装完毕，详见项目主页 readme

个人感觉更合适的方式是将 f2-canvas 自定义组件封装为第三方的 npm 安装包，现已封装完毕，详见项目主页 readme

个人感觉更合适的方式是将 f2-canvas 自定义组件封装为第三方的 npm 安装包，现已封装完毕，详见项目主页 readme

这种方案不是特别合适，还是应该封装一个自三方图表组件，详见 master 新分支。

@simaQ ok，多谢，已切换 npm 依赖模式

authors: billfeller simaQ