Add support for count aggregate action

Signed-off-by: Krishna Kondaka<EMAIL_ADDRESS>Description
This PR adds support for count aggregate action for aggregate processor. With this change, the configuration for aggregate processor can have count as action and it will count the number of events with same identification keys
Example config
  source:
    ...
  processor:
    - grok:
        match:
          log: ["%{IPORHOST:sourceIp} %{IPORHOST:destinationIp} %{NUMBER:port:int}"]

    - aggregate:
        identification_keys: ["sourceIp", "destinationIp", "port"]
        action:
          count:
  sink:
     ...

The above config will aggregate events with same sourceIP+destinationIP+port
Resolves issue 2015 partially by adding one more aggregate action.
Issues Resolved
#2015 (resolves partially)
Check List

[ X] New functionality includes testing.
[ X] New functionality has been documented.

[ ] New functionality has javadoc added

[ X] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2034 (261d67a) into main (1c82e49) will decrease coverage by 0.26%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #2034      +/-   ##
============================================
- Coverage     94.07%   93.81%   -0.27%
- Complexity     1568     1598      +30
============================================
  Files           199      199
  Lines          4662     4653       -9
  Branches        371      355      -16
============================================
- Hits           4386     4365      -21
- Misses          194      207      +13
+ Partials         82       81       -1

Impacted Files
Coverage Δ

...opensearch/dataprepper/pipeline/ProcessWorker.java
71.15% <0.00%> (-19.24%)
:arrow_down:

...rwarder/discovery/AwsCloudMapPeerListProvider.java
92.68% <0.00%> (-2.44%)
:arrow_down:

.../dataprepper/expression/OperatorConfiguration.java
100.00% <0.00%> (ø)

...xpression/LiteralTypeConversionsConfiguration.java
100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dlvenable @graytaylor0 I have made changes as per your suggestion but I would still like to see if it makes sense to directly generate metrics from count aggregate action. I think, even in other use case, it makes sense to send the events through aggregator before generating metrics. Let me know what you think


DRAFT: package changelog

I also chose to remove the get_changelog_at_tag function since it is only used in the context of cog changelog and it only makes a call to get_changelog. The --at and pattern of cog changelog are now processed in the "body" of cog changelog to directly compute the final pattern.
What do you think ?  Looks like when generating a Changelog for a package, it takes the latest created tag on the commit rather than the one that belongs to the package. It is illustrated by the test I added :

Feat commits on the package  one.
Bump everything with the --auto option -> We get a 0.1.0 and a one-0.1.0 tag.
Create a package called two.
Commits on package one and two
Bump everything with the --auto option -> We get a 0.2.0, a one-0.2.0 and a two-0.1.0 tag.
Generated the Changelog for package one

## two-0.1.0 (should be one-0.2.0) - 2024-04-19
#### Features
- one feature - (17ef0a3) - Tom
#### Miscellaneous Chores
- **(version)** 0.2.0 - (2a6c0d2) - Tom

- - -
## one-0.1.0 - 2024-04-19
#### Features
- package one feature - (f270338) - Tom
#### Miscellaneous Chores
- **(version)** 0.1.0 - (9f00137) - Tom

Looks like the issue comes from the revwalk function where each oid is either a commit or the latest created tag on a commit, which doesn't allow us getting every tag of commit so far.
I need to figure out a clean solution for that issue but if you have some idea I'd like to hear it :)

Hey I @ABWassim, I suspected this would be an issue at some point.
I think the solution is to change the layout of the cache:
https://github.com/cocogitto/cocogitto/blob/23e43101fd9611d13f053eced5737fd9ced5e1d5/src/git/rev/cache.rs#L9
Instead of BTreeMap<String, OidOf> we should have BTreeMap<String, Vec<OidOf>> to hold multiple tags for a single commit sha.
Once we have that we should be able to change the resolve_oid_of function (or create a dedicated one) to force the lookup of a specific package tag.

Hey @oknozor, thanks for the hint ! I'll try my best at it

Hey @oknozor :)
Finally have some time to work on this. I changed the layout of the cache like you said and proceeded to change the implementation of resolve_oid_of but I'm kind of struggling with a situation illustrated by the shoud_get_range_for_a_multiple_release test.
If a tag exists on the HEAD commit (let's say 0.2.0 like in the failing test), the cache has a key/pair in the form commit_sha -> ["0.2.0", "HEAD"]. My question is : which one do we pick ?
In the context of that test, we would need 0.2.0 cause here we're trying to create releases so we need to set release.version to 0.2.0, but is there other cases where we need to specifically pick either the tag or HEAD ?
I still left some messy debug with good old println("") but you can replay the test if you want.

Hello @ABWassim,

If a tag exists on the HEAD commit (let's say 0.2.0 like in the failing test), the cache has a key/value pair in the form head_commit_sha -> ["0.2.0", "HEAD"]. My question is : which one do we pick ?

This is context dependent. When generating a changelog, we don't want to use HEAD because the repo head change while the changelog will stay.

In the context of that test, we would need 0.2.0 cause here we're trying to create releases so we need to set release.version to 0.2.0, but is there other cases where we need to specifically pick either the tag or HEAD ?

I think the only use for HEAD is in the revspec pattern resolution (ex: cog changelog ..HEAD). This is not an issue because, it will always fallback to native git revparse_single.
Whenever we generate an output head could be ignored.
In other word I think your current PR would do the job for now :)

That said I think there is another possible approach.
I don't know if its worth trying though.
We could change the OidOf::Tag variant to hold multiple tags. This way there would be not need for a package specific revwalk and resolve_oid_of implementation.
That would mean a few addition to the OidOf impl, such as method to filter the desired tags at the last possible moment (during changelog generation). But it implies a lot of changes to everywhere OidOf is used. I am aware this is a big refactoring and not sure it's worth it.
#[derive(Debug, PartialEq, Eq, Clone)]
pub enum OidOf {
    Tag(Tags),
    Head(Oid),
    Other(Oid),
    FirstCommit(Oid),
}

#[derive(Debug, PartialEq, Eq, Clone)]
pub struct Tags {
    inner: Vec<Tag>,
}

impl Tags {
    /// Try to find a specific package name tag. The caller probably want to take the first one.
    fn filter_package(&self, package: &str) -> impl Iterator<Item=&Tag> {
        self.inner.iter()
            .filter(|t| t.package.as_ref().map(|p| p == package).unwrap_or_default())
    }

    /// Try to find a all package tag.
    fn packages(&self) -> impl Iterator<Item=&Tag> {
        self.inner.iter()
            .filter(|t| t.package.is_some()))
    }

    /// Try to find non package tag.
    fn global(&self) -> impl Iterator<Item=&Tag> {
        // probably requires to filter on the configured prefix
        self.inner.iter()
            .filter(|t| t.package.is_none()))
    }

   // etc
}

:warning: There is a PR is progress to turn cocogitto into a cargo workspace (https://github.com/cocogitto/cocogitto/pull/392). I will freeze new feature until this is done
You probably want to change your PR to target that branch, since it splits cog into many package you will need to adapt a lot of your code I am afraid.

Hey @oknozor,
Again thanks for your help. I'll try changing the OidOf::Tag variant and compare both solutions :)


Dockerizing Serverside

The function involves dockerizing the server side code to run with a single command

I am working on this currently

Shouldn't it be part of GSoC?

Yup, but seems like a doable task

Since this task is part of GSoC, it's essential to seek approval from the mentor, or matinee, to ensure that the approach taken is correct. I've already dockerized the entire project, but I'm waiting for further suggestions and guidance from the mentor before proceeding.

Since its just a PR, I don't see an issue in raising the same


all: prevent fork bombs in Linux

@dvyukov, what do you think about such an approach?
I'm still testing if it works fine, but just sharing early to check if it's reasonable.

As was pointed out in #2921, the current approach of limiting the number
of pids per process does not work on all Linux-based kernels.
Introduce a special attribute to mark syscalls that can fork (clone,
clone3, fork). If such a call returns 0, it means we're in the new child
process/thread and so if we exit, then no fork bomb can occur. And at the
same time, it still allows to fuzz those syscalls.
Use plain exit() as exit_group() will be quite destructive if the
executed syscall created just a thread and not a new process.

I don't see any better solution.
This will also need support in pkg/csource.

Andrei, thank you very much for your comments!
The clone(CLONE_VM, stack = 0, ...) case makes everything much nastier. We had an offline discussion with Dmitry, here are some notes.
The simplest approach would be just to deny rerun for fork, clone and clone3 - this returns the fork bomb situation to its previous state. But:

Although fork bombs become much less likely, they are still possible (e.g. syzkaller could generate a program with lots of forks).
It doesn't resolve the problem that is described in #498
Each clone(CLONE_VM, stack = 0, ...) with a very high probability corrupts the executor and causes other hard-to-find syz-executor failures.

We could e.g. patch clone's arguments in addition to the return argument checking. We already do it for some syscalls:
https://github.com/google/syzkaller/blob/572bcb406b5d48ce06b3becd1ac9463d0a54329b/sys/targets/common.go#L85-L95
But there's the clone3 syscall, which expects a pointer to the data structure with parameters. This is much harder to patch in the same manner and actually cannot be reliably patched anyway - other syscalls can overwrite that memory in the runtime.
And the last option is to replace those raw fork/clone syscall descriptions by pseudo syscalls. This way we could guarantee that some bad argument combinations are never passed to the actual syscalls. It has its own challenges (clone3 is not supported in older Linuxes, much more code, etc.), but in terms of taking control over the situation it seems to be most effective. If we don't find any better approaches, I'll implement this one.

Superseded by https://github.com/google/syzkaller/pull/2965


SqlRSSetup: EditionUpgrade parameter bug.

Details of the scenario you tried and the problem that is occurring
The parameter is a bool. Normally it should support $True to use it and $False to skip it. The way the ressource is built, whatever the value passed, since it's defined, it will act as if the value was set to $True. In documentation, it say the default value is $False but looking at the code it's $NULL. When the parameter isn't specified, it work as expected. I assumed the only tests that were done are with the value at $True and at $NULL.
Verbose logs showing the problem
N/A
Suggested solution to the issue
Add a test on the value to make sure is $True instead of just defined. (In the Set function at least)
The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A
SQL Server edition and version the target node is running
2017 Standard
SQL Server PowerShell modules present on the target node
N/A
The operating system the target node is running
Windows Server 2016
Version and build of PowerShell the target node is running
5.1.14393.2969
10.0.14393.2969
Version of the DSC module that was used ('dev' if using current dev branch)
<IP_ADDRESS>

Yes, it looks like this line is wrong
https://github.com/PowerShell/SqlServerDsc/blob/2d37a930d957d2bbe148d118a5065a2f6f33d29e/DSCResources/MSFT_SqlRSSetup/MSFT_SqlRSSetup.psm1#L405-L410
An evaluation should be added here to make sure EditionUpgrade -eq $true and only then add EditionUpgrade to the argument list.

looking at issue list this one might also be linked https://github.com/PowerShell/SqlServerDsc/issues/1311

Issue #1311 is more to find a way to detect what edition is currently installed so Test-TargetResource can handle the desired state. Since there is currently no check, EditionUpgrade = $true will not work if there is for example a Eval version installed, it will think it is in desired state even if the desired state is to have 'Dev' installed.
This issue, what I understood is that Set-TargetResource is adding the /EditionUpgrade argument even if it is $false.


Add query capability to the Customer model

As eCommerce employee,
I need to can sort the customer model with Queries
So that I can have the customer model returned to be in a filtered view
Details and Assumptions

Will add query string Support to the Model so that the Queries functions can work

Acceptance Criteria
When a Query function is called on the Model, it activates the List function

Decided to add this capability with our Issues that create Queries


Darmanesti village component of Darmanesti is not found in Arges county

Precondition
SOLR: http://zimbor.go.ro/solr/#/romania/query
browser: Chrome
Steps to Reproduce:

Step
Action
Expected
Status

1
open SOLR in browser
SOLR UI is loaded without any errors
Pass

2
type one by one in the q field all the list of the components of every village in Arges county found in test data
you are able to type one by one in the q field  all the list of the components of every village in Arges county found in test data
Pass

3
type judet: Arges in the fq field
you are able to type judet:Arges in the fq field
Pass

4
click on Execute Query button
Verify that all the list of the components of every village in judet:Arges form the test data are displayed
Fail

Actual Results:
Darmanesti village component of Darmanesti is not found in Arges county

Open defect in TestQuality D69

Test List of the components of every village in Arges county in Run Run 6 (linked to Cycle Sprint 1).

Este comuna Darmanesti cu satul Darmanesti.


Add ? before the 1st word cause Head0 render like normal

Nutt Newbie Guide --my Head0 line
?Nutt Newbie Guide -- Nutt will be issue, but Newbie and Guide will be normal

b18366cf7ee63214709bb5006d8478608cee071c fixed by putting heading to the end of syntax file so make Head0 have the highest render priority.


sway floating > spawns at top left corner instead at the middle of the screen

hi, i'm using  sway  in arch linux,  terminal URxvt is floating enabled(no other application is opened) but it spawns  at top+ left of my screen, this was not the case in i3,

https://github.com/SirCmpwn/sway/wiki#how-do-i-report-issues

sway version 0.13.0
Sway.log > below link
sway.txt
[sway config file] (https://github.com/narutowindy/dotfiles/blob/master/sway/config)

i opened google-chrome in one workspace ** without floating** ,  now i tried to open terminal Urxvt ,Now it spawned at the top+middle position .

Something wrong with my issue ?? @SirCmpwn  just take a look at it...

I'll get to it if I have time, but this isn't exactly that important in the grand scheme of things. I encourage you to dig into the code and see if you can find out the issue yourself if you want it done faster.

i just want to know, this issue only with me or anybody having the same issue? if not i will reinstall sway to get back to it. @SirCmpwn

i did a fresh reinstall  whole machine with Arch+official sway 0.13 packacge, when i set my URxvt to foating enabled by default,  it still spwans at the top left corner .  @SirCmpwn

So look into it.

do you want me to close the issue??  @SirCmpwn

No, I want you to debug it and send a patch.

If they don't know C, they can't submit a patch. Should they not have reported the bug?

C isn't difficult. Anyone can learn it.

I think you can try to replace this:
#:::::::::disable_window_borders::::::::
 for_window [class="^.*"] border pixel 0
 new_window pixel 1
 new_float  normal

in your config with default_border pixel 1 and report here if it helped

@kaberc nope its not working ..

would you consider #1229 for this 0.15 release??
spawning in the floating mode is seems buggy !
"feh, mpv , Urxvt " all seems to be not working as expected in Floating mode.

I would if you sent me a patch.

i wish i could send you a patch, unfortunately i cant make one.

I bet you could!

This conversation was glorious.
Anyhow, firefox-nightly (60) also spaws its default browser dialogue in the top left corner.

I'm closing issues that are resolved by the yet-unreleased sway 1.0.


Solve a whole bunch of minor display issues

This PR consists of several commits with individual fixes:

Show the correct score for answers
Show Accepted in the title of the answer correctly
Sort the answers by score, and have the accepted one on top
When running with -n, unescape HTML and show link on next line

The previous merge was not done correctly, it has been fixed now.


My personal Portfolio Website

Describe the project
A clear and concise description of the project you are going to add to this repository.
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x ] New Project

Additional context
Add any other context or screenshots about the project here.
Screenshots

If applicable, add screenshots to help explain your problem.

Kindly Assign me

Check pinned messages on the discord group then create issues


Key Vault RSA key import fails

Describe the bug
az keyvault key import with an RSA private key fails after reading the PEM file.
To Reproduce

Create a file with an RSA private key
Try to import the file via az keyvault key import --pem-file ...

Expected behavior
The key should be imported in the vault
Environment summary
bash on OSX, az v2.0.44 installed via Homebrew

The same is happening to me. 2 years and no answers? wow...
My command and its response:
$ az keyvault key import \
    --disabled false \
    --name $KEY_NAME \
    --ops decrypt encrypt export import verify \
    --pem-file $SSH_KEY_PATH.pem \
    --pem-password $SSH_KEY_PASS \
    --protection software \
    --tags Name=$KEY_NAME \
    --vault-name $KEY_VAULT_NAME

ValidationError: The property "key" must be a valid JsonWebKey object.

My key was generated using:
$ ssh-keygen \
    -t rsa -b 4096 -m PEM \
    -f $SSH_KEY_PATH -C "$ADMIN_USER_NAME" -N $SSH_KEY_PASS

Environment summary:
WSL 2 - Ubuntu 20.04
Az Client 2.12.1

@phekmat / @jloaiza - Any update here?


response is missing content-type and cannot be preview

Expected Behavior
use plugin, support add content-type to response headers
Actual Behavior

Reproduction Steps
No response
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2022.7.5
What operating system are you using?
Windows
Operating System Version
Windows 11 专业版
Installation method
insomnia.rest
Last Known Working Insomnia version
No response

@atliuhui can you reproduce this with latest Insomnia release?
Also can you share a public example request that we can use to reproduce?

Version: Insomnia 8.2.0
Build date: 2023/10/4
OS: Windows_NT x64 10.0.22621
Electron: 25.8.1
Node: 18.15.0
Node ABI: 116
V8: <IP_ADDRESS>-electron.0
Architecture: x64

upgraded, the same problem
I write a mock project (based on aspnetcore net6) https://github.com/atliuhui/debug-insomnia
Insomnia run the http://localhost:5188/sample.jpg
@filfreire


Correction for raw affiliation EDF R&D SEQUOIA

Correction needed for raw affiliation EDF R&D SEQUOIA
raw_affiliation_name: EDF R&D SEQUOIA
new_rors: 03wb8xz10
previous_rors: 00zd3hh13
works_examples: W4392288203;W4392146957
contact: 9c281252a041c963a97a11dffed2d34a:6e87da2dc449f286da353e948a3d40 @ recherche.gouv.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


course statistics: numbers fucked up

try GMB-201, numbers do not add up:

New reproduction instructions:

After pressing Fetch statistics the summary and course tabs at the top will show different passed and failed results at the bottom.
Cause of the issue:
One of the lists of student numbers is filtered by the following code
const { students } = programme
const filterStudentFn = studentNumber => students && students.includes(studentNumber)

Because of this some students are not in the other statistics.


Fix #37: regex frontend hangs if end is missing subroutine

Add a timeout utility with the option to specify (or disable) a default timeout for the REGEX frontend to gracefully fail on catastrophic backtracking.

Codecov Report

Merging #39 (8779b2c) into main (6d56128) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   91.06%   91.06%   -0.01%
==========================================
  Files          86       86
  Lines       14829    14847      +18
==========================================
+ Hits        13504    13520      +16
- Misses       1325     1327       +2

Flag
Coverage Δ

lint_rules
97.35% <ø> (-0.01%)
:arrow_down:

loki
91.32% <100.00%> (+0.01%)
:arrow_up:

transformations
85.59% <ø> (-0.21%)
:arrow_down:

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

Impacted Files
Coverage Δ

loki/__init__.py
92.30% <100.00%> (+0.20%)
:arrow_up:

loki/frontend/regex.py
96.62% <100.00%> (+0.02%)
:arrow_up:

loki/tools/util.py
77.05% <100.00%> (+1.59%)
:arrow_up:

transformations/transformations/derived_types.py
98.46% <0.00%> (-1.54%)
:arrow_down:

...nsformations/transformations/single_column_claw.py
53.79% <0.00%> (-0.69%)
:arrow_down:

lint_rules/lint_rules/ifs_coding_standards_2011.py
97.34% <0.00%> (-0.02%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Feat: Improved the PR Template

Description
Improved the existing Pull Request Template.
Screenshot

@luckyman20 please review this :)

Please add screenshot of how it would look like when you will open an issue.

Please add screenshot of how it would look like when you will open an issue.

For issue template screenshots, check #97
I have also updated the PR template screenshots.


[Question] Does W4A16 mode support LLaMa-2-70B?

Because LLaMa-2-70B is GQA structure, different from other LLaMa-Series, but I does not see any codes that can tackle this special case.

PR #273 supported quantization for LLaMa 2 70B


remove the large .js from egg

Could we remove the 2.4MB swagger-ui.js from the swaggerui folder in the egg? the .min should be sufficient. This will make the egg 80% smaller. that would be awesome. Thanks

Thanks


MB-7019 create storybook component for contact info fieldset

Description
Add new storybook component that holds the phone number, alternate phone number, email, and option for selecting preferred contact method.
Reviewer Notes
This is currently being merged to sr-7020-residential-address-fieldset since I wanted to grab some changes from there while working on this story.
CSS!
Did I put the component in the correct location? It's currently under: components/Fieldsets/ServiceMemberContactInfoFields
Setup
Add any steps or code to run in this section to help others prepare to run your code:
make storybook
make client_test

Code Review Verification Steps

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Messages

:book:
:link: MB-7019

  Generated by :no_entry_sign: dangerJS against 3f72cdeab853f6a62f24a3b4e8872dc2f9ee3983


Minor change to build instruction.

added missing "cd pelikan"

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Bipin Prasad seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


NEXT-13262 - Add Hide On Product Detail option for properties

1. Why is this change necessary?
Allows the admin to hide certain properties from product detail pages.
2. What does this change do, exactly?
Adds a checkbox to the Property Group administration view, adds a field to the PropertyGroup entity, filters the 'disabled' property groups out of the sortedProperties in the ProductLoader.
3. Describe each step to reproduce the issue or behaviour.
https://user-images.githubusercontent.com/3930922/104585386-358bba00-5664-11eb-9128-131edc9a330e.mov
4. Please link to the relevant issues (if any).
https://github.com/shopwareBoostDay/platform/issues/251
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

I have created a Testing Installation for this Pull Request. It will be available at https://github.sw6.ovh/instance?number=254 in the next minutes.

I have created a Testing Installation for this Pull Request. It will be available at https://github.sw6.ovh/instance?number=254 in the next minutes.

I have created a Testing Installation for this Pull Request. It will be available at https://github.sw6.ovh/instance?number=254 in the next minutes.

I have created a Testing Installation for this Pull Request. It will be available at https://github.sw6.ovh/instance?number=254 in the next minutes.

I saw in the video (0:11s) that after saving the property that the switch field deactivates automatically. Is that a wanted behavior? I can´t reproduce the same error on the other switch field :)

I saw in the video (0:11s) that after saving the property that the switch field deactivates automatically. Is that a wanted behavior? I can´t reproduce the same error on the other switch field :)

I saw in the video (0:11s) that after saving the property that the switch field deactivates automatically. Is that a wanted behavior? I can´t reproduce the same error on the other switch field :)

@jleifeld I don't have it anymore when I try now either. It's a bug I've seen before on other entities too, that when you change 1 field and save, then change it back to the original value, the entity won't save. (because the repository thinks there are no changes)
It's something that doesn't happen all the time, but I've seen it before. So I don't think it's related to (or blocking for) this PR.

I saw in the video (0:11s) that after saving the property that the switch field deactivates automatically. Is that a wanted behavior? I can´t reproduce the same error on the other switch field :)

@jleifeld I don't have it anymore when I try now either. It's a bug I've seen before on other entities too, that when you change 1 field and save, then change it back to the original value, the entity won't save. (because the repository thinks there are no changes)
It's something that doesn't happen all the time, but I've seen it before. So I don't think it's related to (or blocking for) this PR.

@mitelg  I've refactored to visible_on_product_detail_page
Here's another video after the refactoring:
https://user-images.githubusercontent.com/3930922/104598685-29f5be80-5677-11eb-978c-3dc13a4805e7.mov

@mitelg  I've refactored to visible_on_product_detail_page
Here's another video after the refactoring:
https://user-images.githubusercontent.com/3930922/104598685-29f5be80-5677-11eb-978c-3dc13a4805e7.mov

Looks good. Can you squash your commits? :)

Looks good. Can you squash your commits? :)

@jleifeld Thanks! The commits are squashed

@jleifeld Thanks! The commits are squashed

I have created a Testing Installation for this Pull Request. It will be available at https://github.sw6.ovh/instance?number=254 in the next minutes.

I have created a Testing Installation for this Pull Request. It will be available at https://github.sw6.ovh/instance?number=254 in the next minutes.

I know it's just a little UI change, but either way - Do we need our @shopwareBoostDay/shopware-design folks to look into this or is it ok?

I know it's just a little UI change, but either way - Do we need our @shopwareBoostDay/shopware-design folks to look into this or is it ok?

@leichteckig Looks fine from a design perspective. ☑

@leichteckig Looks fine from a design perspective. ☑

Same for me - If @jleifeld approves, this PR can be merged. Thank you for your contribution @runelaenen :blue_heart:

Same for me - If @jleifeld approves, this PR can be merged. Thank you for your contribution @runelaenen :blue_heart:


Future development

Is TronREX still monitoring this repo?

Great question
James Burrell, II
<EMAIL_ADDRESS>Twitter: @jamesburrell2
NOTICE: This email message is for the sole use of the intended recipient(s) and may contain information that is confidential and protected from disclosure by the attorney-client privilege, as attorney work product, or by other applicable privileges. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
From: Charles Fulnecky
Sent: Monday, July 23, 6:31 PM
Subject: [MrREX/NewYorkcoin] Future development (#1)
To: MrREX/NewYorkcoin
Cc: Subscribed
Is TronREX still monitoring this repo?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMrREX%2FNewYorkcoin%2Fissues%2F1&data=02|01||867b411b046a473a194708d5f0ec0ebd|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636679818996292077&sdata=QNp7z4lpwCpj7XW9mWZv2ziLTJ1q41qShyMw6LbEkH8%3D&reserved=0, or mute the threadhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAaXj5zzyusXCN0kyFSQXRk-X0S6n2oFmks5uJk7KgaJpZM4VbzHt&data=02|01||867b411b046a473a194708d5f0ec0ebd|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636679818996292077&sdata=25VXvSLJOlP8cI9MMaHYlYcNmcaBL%2FkOYtfucbL30Po%3D&reserved=0.


Votes should be allowed on New Asset proposals in WaitingForNodeVote

Well, maybe. Background:
https://github.com/vegaprotocol/vega/issues/5816
This code in the core:
https://github.com/vegaprotocol/vega/blob/fc24100ccc418bb03f3ae99342eaa65c951acbc8/core/governance/engine.go#L1014-L1017
func (p *proposal) IsOpenForVotes() bool {
	// It's allowed to vote during the validation of the proposal by the node.
	return p.State == types.ProposalStateOpen || p.State == types.ProposalStateWaitingForNodeVote
}

Does not match this code in the token frontend:
https://github.com/vegaprotocol/frontend-monorepo/blob/c375f74906f17d29d7c65a88d2b5367787e057c6/apps/token/src/routes/governance/components/vote-details/vote-buttons.tsx#L81-L83
One of these is wrong. We'll find out in https://github.com/vegaprotocol/vega/issues/5816 or https://github.com/vegaprotocol/specs/issues/1178. Either way, there's some fixing
Tasks if WaitingForNodeVote should allow voting

[ ] Update the above to allow voting when the proposal is in the state WaitingForNodeVote

Tasks if not

[ ] Update the error message not to say 'You voted' if I did not vote.

https://vegaprotocol.slack.com/archives/CAHA5EX0F/p1665746023968899


[Select] Using react-virtualized to render lists causes console warning

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

When there is a component that wraps the options in a Select component, a console warning will show saying that an out-of-range value was provided
Expected Behavior 🤔

There should not be a console warning
Steps to Reproduce 🕹

Have a Select component with MenuItem children
Wrap the MenuItem children with any other component (like a div), or use a react-virtualized List to render them.
When the Select component gets a value from somewhere (i.e initial value), the console warning will appear

https://codesandbox.io/s/ecstatic-http-w8ukj
Context 🔦

Performance when using Select to render a large list is slow, so we are using react-virtualized to render all of the items. However, when we are rendering the items with the react-virtualized List, we see this error in our console.
Your Environment 🌎

Tech
Version

Material-UI
v4.7.0

React
v16.12

Browser
Chrome

TypeScript
Yes

You can track these two issues in #17001 and #14943. I would encourage the usage of the native select everywhere possible.


Storybook Preview for more components

btw quick fyi we can skip the netlify deploy for specified commits just by adding [skip ci] in the commit message. could be useful :)


Language issue

I have a google doc that I used your excellent module (v1.3.2) to access from within Foundry v0.6.4. Unfortunately the link renders the GDoc UI in some sort of Germanic language.
The document itself is in English (UK). I tested with my primary browser (Vivaldi) and also straight Google Chrome, with the same result in both, and both browsers are up to date and both are using some variant of English, same with the underlying client and server OS.
Thanks!

This is because compatibility mode uses a proxy hosted on a german-based amazon aws instance. There should be an option in google docs to change the ui language.

I could take a look at the Accept-Language header tomorrow to see if i can default it to English with it.

Couldn't fix it with the header. But moved the server to a UK location instead of Germany so it should default to English now.

Thanks very much, I really appreciate this!


memomize once util to remove extra let

removes a variable and memoizes the fn so that the var is no longer needed.

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

If the same callback fn is passed to other libs that also add a called property to the function, this will not work as expected

So would renaming the property to something more specific be an option or is this enough of a reason to warrant a close?

Thanks for the PR, however I think the closure variable is cleaner here (avoids polluting the passed function and avoids potential clashes).

No worries! Makes sense! Still reading and studying the source, plenty of opportunities for a PR. :)


Opening a .js file when node_modules is present causes explosion in number of watchers

Issue Type: Bug

Disable all extensions
Open a node project workspace (that contains a node_modules folder) with no tabs open
Run$ find /proc/*/fd -user "$USER" -lname anon_inode:inotify -printf '%hinfo/%f\n' 2>/dev/null | xargs cat | grep -c '^inotify'

to print the number of file watchers
Open a simple javascript file in the workspace
Re-run the command above several times over the next 10 seconds or so
You will get a number of file watchers that quickly goes up by something like 20,000 (probably depends on the number of packages in node_modules)

As a result I have started to get ENOSPC errors about reaching the Inotify limit, seems to be since upgrading to VSCode 1.67 (I'm not in control of the version).
This does not happen if you delete the node_modules folder.
I have the default **/node_modules/*/** in files.watcherExclude.
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:23:40.286Z)
OS version: Linux x64 3.10.0-1160.66.1.el7.x86_64
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz (4 x 2599)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
0, 0, 0

Memory (System)
7.62GB (2.22GB free)

Process Argv
--unity-launch --crash-reporter-id 4cb3165e-6680-471f-992f-0c1e623756f7

Screen Reader
no

VM
100%

DESKTOP_SESSION
1-gnome

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
1-gnome

XDG_SESSION_TYPE
x11

Extensions: none

@sheetalkamat Following up on #46351, would it be possible to either:

Switch TS to robust watcher such as @parcel/watcher
Let TS server be spun up with a custom watcher implementation (so that VS Code can make TS server use @parcel/watcher)
Let TS Server delegate file watching to the VS Code TS extension? The extension would then use VS Code apis for watching files (behind the scenes this would use @parcel/watcher)

Maybe this helps you @MetRonnie : https://www.typescriptlang.org/docs/handbook/configuring-watch.html

Thanks! I have had some success with
// <project-root>/jsconfig.json
"watchOptions": {
    "excludeFiles": ["**/node_modules"]
}

seems to cut the number of watchers down by half. (Note: it has to be excludeFiles, for some reason excludeDirectories didn't work)
This suggestion also seems to have a similar effect:
// <project-root>/.vscode/settings.json
"typescript.disableAutomaticTypeAcquisition": true

Fyi: Recent upgrades seems to have improved my instances out of inotify problems https://github.com/microsoft/vscode/issues/151947 which was probably related to this issue

No change from our end as far as I know, but see https://github.com/microsoft/vscode/issues/151947#issuecomment-1154051702, thus marking as duplicate.

#off-topic/irrelavent.
Do tsserver or vscode have any preferences to exclude a directory from code intelligence in single workspace.
Tried file.exclude but no luck. reference  [(https://github.com/Microsoft/vscode-cpptools/issues/2192)]
@sheetalkamat

Duplicate of https://github.com/microsoft/TypeScript/issues/46351


Unable  to run project

Once open sln file in  64bit in that i have open SoundFingerprintingTest.cs after built it's showing an error there is no startupproject. Can anyone help its very necessary for me.

Dear team
Is there a step by step guide of how to run the program in visual studio?.
After running Nuget and even GitHub i am still failing to run the project.
i tried to opening the project then, adding an executable into that project and making it a startup project, i also tried adding  a button to this project and added the 1st code from the Readme File to the project but it underlines the first two lines in the code
private readonly IModelService modelService = new InMemoryModelService(); // store fingerprints in RAM
private readonly IAudioService audioService = new SoundFingerprintingAudioService(); // default audio library
a friend of mine told me to add the framework as a reference into any project i was running ,
please help as i am a newbie but very interested in this project.

There is a very detailed instructions how to add new track to database and run recognition on audio file just here https://github.com/AddictedCS/soundfingerprinting . The only thing you have to do is to download NuGet, add usings to your file and use code from documentation.

after adding the nuget to my file i am getting errors when i add the source code from the documentation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace SoundTest
{
///
/// Interaction logic for MainWindow.xaml
///
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
    private readonly IModelService modelService = new InMemoryModelService(); // store fingerprints in RAM
    private readonly IAudioService audioService = new SoundFingerprintingAudioService(); // default audio library

    public void StoreAudioFileFingerprintsInStorageForLaterRetrieval(string pathToAudioFile)
    {
        var track = new TrackInfo("GBBKS1200164", "Skyfall", "Adele", 290d);

        // create fingerprints
        var hashedFingerprints = FingerprintCommandBuilder.Instance
                                    .BuildFingerprintCommand()
                                    .From(pathToAudioFile)
                                    .UsingServices(audioService)
                                    .Hash()
                                    .Result;

        // store hashes in the database for later retrieval
        modelService.Insert(track, hashedFingerprints);
    }

    private void Button_Click(object sender, RoutedEventArgs e)
    {

    }
}

}
I am adding that code into the new windows form window
sorry if i am asking what appears to be obvious

Look, it's pretty clear that you have no idea what are you doing. Please learn some C# and then come back to use libraries. With this attitude you are just wasting time

Look, it's pretty clear that you have no idea what are you doing. Please learn some C# and then come back to use libraries. With this attitude you are just wasting time

Thanks for the reply, i will read on how to use libraries in c# and see how far i go from there.

Hi
Few days I posted some doubts after that I gone through you're git document
and I implemented an application. In my application I planning to split
20sec input microphone audio files and comparing with recorded audio where
am using IModelService modelService = new InMemoryModelService(); am
getting result and there's some problem like where am giving  int
secondsToAnalyze = 19; . Is this right way to implement
Thanks.
On Mon, Feb 11, 2019 at 5:48 AM Furlingbird<EMAIL_ADDRESS>wrote:

Look, it's pretty clear that you have no idea what are you doing. Please
learn some C# and then come back to use libraries. With this attitude you
are just wasting time
Thanks for the reply, i will read on how to use libraries in c# and see
how far i go from there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AddictedCS/soundfingerprinting/issues/113#issuecomment-462332869,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ah8_8lnkg-KSPvZmnbyGMAUL3eY9RHW1ks5vMXSZgaJpZM4aV17C
.

Could you post some code that you are using?

Irrelevant.


Exception in thread "main" java.lang.Exception: The logical table:  already exists

Hi
We are using spark-1.5-alpha branch to test the spark-sql-on-hbase with hbase.
Everytime we run the program after the first successful execution we get the below error.
Exception in thread "main" java.lang.Exception: The logical table: ips12 already exists
at org.apache.spark.sql.hbase.HBaseCatalog.createTable(HBaseCatalog.scala:178)
at org.apache.spark.sql.hbase.HBaseSource.createRelation(HBaseRelation.scala:79)
at org.apache.spark.sql.execution.datasources.ResolvedDataSource$.apply(ResolvedDataSource.scala:125)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:114)
at Main.main(Main.java:47)
What does this mean? Do we have to provide a new tableName alias everytime we execute our program?
The program is given below, any advice is much appreciated.
public static void main(String[] args) throws JobExecutionException {
JavaSparkContext jsc = new JavaSparkContext("local[2]", "HbaseTest");
HBaseSQLContext hbaseCtx = new HBaseSQLContext(jsc);
Map<String, String> options = new HashMap<>();
options.put("namespace", "");
options.put("tableName", "ips12");
options.put("hbaseTableName", "hbase_table");
options.put("colsSeq", "id,Name,port,longitude,latitude,devicetype,community,performance,fault,status,ip,location,Sample");
options.put("keyCols", "id,string");
options.put("encodingFormat", "utf-8");
options.put("nonKeyCols", "Name,string,dcf,Name;port,string,dcf,port;longitude,string,dcf,longitude;latitude,string,dcf,latitude;devicetype,string,dcf,deviceType;community,string,dcf,community;performance,string,dcf,performance;fault,string,dcf,fault;status,string,dcf,status;ip,string,dcf,ip;location,string,dcf,location;Sample,string,dcf,Sample");
hbaseCtx.read().format("org.apache.spark.sql.hbase.HBaseSource").options(options).load();
hbaseCtx.sql("select * from ips12").orderBy(new Column("Name").desc()).show();
}

Hi @lokeshpkumar ,
Sorry, the spark1.5-alpha branch is not ready for use now. We will notify you when it is.
And we suggest to use our syntax to create the table, such as:
hbaseCtx.sql( """CREATE TABLE ips12 (column2 INTEGER, column1 INTEGER, column4 FLOAT,
column3 SHORT, PRIMARY KEY(column1))
MAPPED BY (hbase_table, COLS=[column2=family0.qualifier0, column3=family1.qualifier1,
column4=family2.qualifier2])"""

@lokeshpkumar
BTW, have you created that logic table "ips12" before?
It is not allowed to create two logic tables in the same name.

Hi @lokeshpkumar
Now, the "spark1.5-alpha" branch should be compatible with spark1.5.
Our team is doing the further testing and you are welcome to have a try. :)

Hi @xinyunh
Thanks for the response, I got the problem that we should use map the logical table name to actual Hbase table only once and use it (correct me if I am wrong) And also we will be using spark 1.5 so we will use your 1.5 branch, I will let you know in case of anymore issues.

Thanks, @lokeshpkumar


Add better not-found handling to kubectl hnc tree

/assign @srampal

Whoops, noticed that this depends on a change in #150 . Will close and refactor.


@foreach not working - @for being used

Hey,
It appears that using @foreach causes an error, as seemingly the library is trying to utilise the @for method for some reason.
In debugging, I have check the regular expression used in the CodeConverter::convertMethods class method, but am unsure how @for is being matched in error, as the regex seems correct.
I tested by
a) removing the 'for' and 'endfor' items,
and b) moving the 'for' and 'endfor' items to after the 'foreach' and 'endforeach' items
in the Crow::DEFAULT_METHODS array, and that fixed the error.
Not sure, but I hope that helps track down the issue?
Thanks for all the hard work!
If I can be of any help, I will do my best.

Thanks for your report. The problem was that @for and @foreach starts with the same characters sequence.
I've made a change that the interpreter now differs one from another according to the tag length, avoid this and probably some related future issues.


I added one more test of the Abadi method...

…and a style correction in the documentation of the GCDecomposeMixin class.

Everything looks good

Everything looks good


Sometimes it works / sometimes doesn't

Most of features (@Slf4j, @AllArgsConstructor, val, @Getter, @Builder etc) sometimes work / sometimes don't - IDEA can't resolve method. Manual resaving source file temporary fixes the problem.
This makes hard to use Lombok - it's easier to generate getters/constructors than have troubles with IDE.

did you enabled annotation processing in the settings?

Yes, it's enabled - source code are correctly compiled

New plugin version 0.9.5 is available now, can you please verify your problem with new version?

I can't reproduce it after 0.9.5 any more. Will close this issue as done. Feel free to open new issue, if you find the problem again.


Enkrypt conflicts with Metamask when dapp tries to connect wallet

Environment
macOS Monterey
Google Chrome Version 106.0.5249.103 (Official Build) (arm64)
Current behavior
If browser has both Enkrypt and Metamask installed. Enkrypt triggers when dapp tries to connect Metamask. Unable to interract with dapp using Metamask when Enkrypt connected to the website.
Expected behavior
When both Enkrypt and Metamask installed. Metamask opens when Metamask connection requested. Enkrypt opens when Enkrypt connection requested. Wallets interaction is independent.
Example
wagmi + rainbowkit + @enkryptcom/connector-wagmi
https://github.com/nikitindiz/mm-vs-enkrypt
https://enkrypt-conflicts-metamask-ils0kjrgn-nikitindiz.vercel.app/
When browser has Enkrypt only - works fine. MM only - fine. Both - Enkrypt only works.

Unfortunately this is not going to be an easy fix, we made a new EIP 5749 to make this a possibility once that is Final, we have to hope that all extensions will follow that standard
https://eips.ethereum.org/EIPS/eip-5749


Bug: Method on numbers are not wrapped: (2).toString() becomes 2..toString()

The following code:
(12).toString()

Should remain as-is, but is not converted properly.
Expected: No changes
Result:
12..toString();

Here is an AST representing this case:
{
  "type": "ExpressionStatement",
  "expression": {
	"type": "CallExpression",
	"callee": {
	  "type": "MemberExpression",
	  "object": {
		"type": "Literal",
		"value": 12,
		"raw": "12"
	  },
	  "property": {
		"type": "Identifier",
		"name": "toString"
	  },
	  "computed": false
	},
	"arguments": []
  }
}

12..toString() and ({}.toString()); are both valid JavaScript. Why did you expect a different output?

While they are valid javascript, the literal 12. and 12 are slightly different when represented in AST form: The raw value of the Literal nodes are 12 and 12., somewhat as expected.
Demo: [ASTExplorer](https://astexplorer.net/#/gist/4d975cef6c02622acaeb1b9f2aa7d2c6/c52884b2b70f795afa8fab8be1a97162c8753686 gist).
It's pretty minor detail, but both are technically slightly different

The raw and extra values attached to the nodes are just extra information about the lexical tokens of the original souce. They don't affect the semantics of the ast. I'm not the maintainer of this project, but I'm fairly sure that it's a non-goal to do a perfect round-trip.

Yea that would make sense, I didn't realise at first that it was the exact same AST 😄
I did find a case where escodegen would generate invalid code though:
If we use (1.2).toString() instead of 12, the generated code is 1.2..toString();, which is invalid javascript
I'll update the main post with details regarding this issue instead

Hmm, weird! I cannot reproduce that?
> require('escodegen').generate(require('acorn').parse('(1.2).toString()'))
'1.2.toString();'

(with<EMAIL_ADDRESS>

Yea, I was trying it out on the demo website, which is still on version 0.0.16-dev for some reason
It does work as expected on the adequate version, my bad!


Fix patient demo view

Pull requests into Cypress require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
On the Cypress Demo server (or any other Cypress instance run in "demo mode"), users who are not admins cannot see the population keys (e.g. "IPP", "DENOM"), but can see the calculation results (e.g. the green circles with numbers inside them).
To reproduce: Set cypress to Demo Mode. Create a new product (in any vendor) with C1-C4 enabled, and use measure CMS68v7 (out of the 2017 bundle). Go to the C1 + C3 task, click into the CMS68-specific task, then click on "View Patients".
As admin: will be able to see population results and keys
As non-admin: will not be able to see population keys, but will be able to see population results
Submitter:

[x] This pull request describes why these changes were made.
[x] Internal ticket for this PR:
[x] Internal ticket links to this PR https://jira.mitre.org/browse/CYPRESS-132
[x] Code diff has been done and been reviewed
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass

Reviewer 1:
Name: Laura

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code

Reviewer 2:
Name: @okeefm

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code

@dczulada Travis is failing, probably because a fixture you added doesn't have a cms_id attribute?


[BUG] Too Many Requests

Title
Too Many Requests
Description
Whenever I ask it to do almost anything on a site, that requires it get the data from the site it returns [2024-05-12 20:02:43,316] INFO {_client.py:1026}  - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 429 Too Many Requests". This is with llama3-70b from Groq.
Steps to Reproduce

Go to https://www.rainbowshops.com/products/blue-linen-sleeveless-romper-1408077211482
click a size variant

Expected Behavior
Clicking on any size variant
Actual Behavior
Printing in the console the line above
Environment

OS: Windows
Browser: Chrome

Additional Context
I have no idea.

@nasko94 so you are saying a command like: go to https://www.rainbowshops.com/products/blue-linen-sleeveless-romper-1408077211482 and click on the small size right?

I tried the example above and here is what I see:
llama3 does not do well with DOM analysis. It literally makes up a query selector [mmid='size-small'] (you can see this in the chat logs ae/log_files/chat_messages.json)
So this results in multiple calls back to Groq API. My guess is that because of how fast we try, Groq sounds off an alarm indicating too many requests per minute (rate limiting).
For the free tier, Groq limit is 6k tokens per minute. Because llama3 does not figure out the right html element to interact with from the smaller DOM, Agent-E reverts to using a large version of the DOM. I am pretty sure between all that, there are more than 6K tokens sent per minute :)

Closing this since there was no response. Please reopen if you are still facing this issue or ping on Discord.


Add support for UAE mobile format +971 58 XXX XXXX

Here is another PR with new mobile prefix available in United Arab Emirates.

Coverage increased (+0.0008%) to 98.097% when pulling f9fee5a61821f75bc497d80aef87d979e48129ec on visualitypl:new-uae-format into 28477cd0214c9da2b0253fdf19c1e69d296e24d3 on floere:master.

@floere Any plans on merging soon? :)

@ronin Thanks, Michał! 😊 Much appreciated, also for reminding me! Released in 2.15.39 🚀

@floere Great, thanks!

@ronin Thank you!


Workbench opens new editor instances unexpectedly

Issue Type: Bug
Hi friends, long time VS Code evangelist and lover!
I typically have many editor panes open so that I'm looking at 4+ editor panes.
Current behavior:

Clicking / opening foo.go and have it remain open in panel tab stack A (even with a double click no the tab to anchor it).
Bring focus to panel tab stack B
Clicking on foo.go in the workbench and it opens in panel B

Expected behavior:
3) Clicking on foo.go in the workbench brings focus to the (already open!) foo.go editor tab in panel A.
I get that this may be ok behavior for some, but this is miserable for folks like me who have to keep a lot of files in my head, where keeping them in the same pane is helpful for my sanity.
Perhaps then this bug request is really a feature request to add a setting to change this behavior.  It seems like a really easy add/change for you ninjas!
Thanks friends, God bless!

You can change this behaviour by setting workbench.editor.revealIfOpen: true.

How'd I miss that?!  Thanks warrior!


Send screen - new flow with Max privacy transactions

Designs: https://app.zeplin.io/project/5c73dc8aa74b4b4085a86a91/dashboard?seid=5f1ab75536c1163757c059a3
Types of transactions:
Regular / One-time use
Regular / Permanent
Max privacy (online and offline token) / One-time use
Max privacy (online and offline token) / Permanent
Offline token - include 20 vouchers that can be updated automatically when they are end. or sender can ask receiver directly to send him new token with new 20 vouchers

Regular / one-time use https://zpl.io/a3nNmLx

Rename Send to to Transaction info.
Add Max privacy + switcher (here:off)
Advanced - Outgoing address: add "type"
Transaction fee for regular (not max privacy) is 100 GROTH

Screenshot: https://prnt.sc/tntq36

Max privacy / one-time use https://zpl.io/aXxQlGE

Max privacy + switcher (here:on) + comment under "Transaction is slower, fees are higher."
Transaction fee for max privacy is 1,200,000 GROTH
https://prnt.sc/tntrjw

Max privacy / permanent. When token do not saved in to address book display text "Permanent token."  https://zpl.io/bAozeEP

Max privacy / permanent. When token SAVED in to address book display text contact name+tags https://zpl.io/agYZlNM
https://prnt.sc/tntsxd

Fee error - when user wants to reduce the fee for max privacy transaction.Button "next" is inactive. https://zpl.io/aXxQl3j
https://zpl.io/aXxQl3j

Receiver requested max privacy (online token) transaction https://zpl.io/aBxgXWe
https://prnt.sc/tntu3t

Receiver requested max privacy (offline token) transaction.  https://zpl.io/boq5w6W
https://prnt.sc/tnturc

Confirmation screen https://zpl.io/a87zgZg
https://prnt.sc/tntzsl

Show token https://zpl.io/blqnGxG
https://prnt.sc/tntzi1

@DenisDemyanko please make some updates (transaction type, token type) - https://zpl.io/a87zgZg

@DenisDemyanko changes were made to the send screen, please implement them.
https://app.zeplin.io/project/5c73dc8aa74b4b4085a86a91/dashboard?seid=5f1ab75536c1163757c059a3

Bug.
To Reproduce
Steps to reproduce the behavior:

Go to the Send screen.
Scroll down the screen.
Select "edit address".
Scroll down the screen.
Add tag.
Enter a name to address.

In "CONFIRMATION" screen need to add "Transactions remaining".

checked


[macOS] Read always return null with signed and notarized app

I encountered an issue on Mac with this package. When I debug my app, I can read from secure storage just fine, even in flutter release mode. But after building, singing and notarizing the app secure storage stops working and only returns null, when you try to read from it. The app has hardened runtime enabled.
I already tried adding the entitlements in debug and release:
<key>keychain-access-groups</key>
	<array>
		<string>$(AppIdentifierPrefix)*</string>
	</array>

Before I noticed this issue, I had the entitlement configured like this:
<key>keychain-access-groups</key>
	<array/>

Is it possible that the keychain already exists on the development Mac but the notarized app hasn't access? Is there a way to delete all data added by the secure storage package, to check this hypothesis?
Has someone encountered a similar issue?
I'm using version 9.0.0

Hi @jdk-21,
Very interesting and good to know there are even more issues with macOS. I am curious though, how on earth did you get it this package to work at all on macOS?
Even just in debug mode with self signed dev builds? I cannot get it to read the data when app starts. If keep running same app, reset all reads and then try to read, the securely stored data is there and read nicely, but if I build it again or even just hot-restart the app, the data previously stored is not there. Like starting from an empty file every time.
Link with more info https://github.com/mogol/flutter_secure_storage/issues/532#issuecomment-1987279333
Any insights you might have on getting it to work at all with macOS would be welcome 😄

Ok, great. I basically followed the instructions in the Readme.
Does it work for you with Hardened Runtime enabled after Notaization?

@jdk-21 did you manage to make it working?

I couldn't get it to work yet.

@jdk-21 it could be related to keychain accessibility.
What sort of restrictiveness have you set up in production?
You might want to check if it works with the latest dev branch release now that #719 has been merged.

Hi I had the same issue after upgrading to flutter 3.19.6 the app would work fine in debug/release, but as soon as I signed it for notorization the app would stop working.
After upgrading to v9.2.2 and adding this to my Release.entitlements it seems to work.
<key>keychain-access-groups</key>
	<array>
		<string>$(AppIdentifierPrefix)*</string>
	</array>

After upgrading to v9.2.2 and adding this to my Release.entitlements it seems to work again.

Cool 😎

@techouse I updated to 9.2.2 and tried the example app. In debug everything works fine like before, but after signing and notarizing the app stops working again.

Maybe check what the output of  codesign -d --entitlements - YourApp.app is before and after signing the .app

I am closing all older issues. If this issue still exists in the latest version, please let me know.


Is it possible to have a maxtemp above 38°C?

Id like to use your plugin, but i'd like to know if it's possible to overide the 38°C?

I’m not sure what you are talking about.
Pierre-Julien Cazaux,
Sent from my mobile device.

Le 4 déc. 2017 à 13:18, iCarl<EMAIL_ADDRESS>a écrit :
Id like to use your plugin, but i'd like to know if it's possible to overide the 38°C?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

There seems to be a limit to the SetTemperature at 38°C, can I use this plugin in order to set higher values than that?

Did you used the maxTemp provided in my plugin options ? Can you confirm it is working bellow 38°C and reach kinda thresholds? Maybe the range between maxTemp and minTemp shall be smaller ? Please let me know.
Pierre-Julien Cazaux,
Sent from my mobile device.

Le 4 déc. 2017 à 13:23, iCarl<EMAIL_ADDRESS>a écrit :
There seems to be a limit to the SetTemperature at 38°C, can I use this plugin in order to set higher values than that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Will try!


Reported Challenge #30101 - Import or merge Stokomani shops - France #coop

Challenge: #30101 - Import or merge Stokomani shops - France #coop
Reported by: confusedbuffalo
Instructions have a Google link which takes you to Google maps to be used to add shops. This is a clear copyright concern.

I will remove to link to Google 👍 Mean while I set the project as hidden. TY for reporting 👍

Challenge "fixed" 👍


Why my wsl.conf automount options not working?

Environment
Windows build number: [run `cmd.exe /c ver`] `Microsoft Windows [Version 10.0.18363.1139]`
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL] `Debian Release:        10`
Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL] WSL 1, `Linux version 4.4.0-18362-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #1049-Microsoft Thu Aug 14 12:01:00 PST 2020`

Steps to reproduce

Setup /etc/wsl.conf as such, then:
$ cat /etc/wsl.conf
[automount]
options = "metadata,case=dir"

$ ls -l /etc/wsl.conf
-rw-r--r-- 1 root root 42 2020-11-18 16:06 /etc/wsl.conf

sudo umount /mnt/d; sudo mount -t drvfs D: /mnt/d

mount -l | grep ^D

WSL logs:
sudo umount /mnt/d; sudo mount -t drvfs D: /mnt/d

$ mount -l | grep ^D
D: on /mnt/d type drvfs (rw,relatime,case=off)

This is done after I exit all the WSL session and start it again, many times.
Expected behavior

mount option has both "metadata,case=dir"
Actual behavior

mount option not haing "metadata,case=dir"
There is also a similar question at https://stackoverflow.com/questions/59959090/ that doesn't have an answer, which basically asks the same thing as this.

Why are you run umount command?
When you run the mount command manually, that is not automount.

Good point!
The reason that I did that was I saw the "metadata,case=dir" was not there in the mount -l output, when I exited all the WSL session and start it again. Will play more and see...

exit all the WSL session and start it again won't work
rebooting will


Use file format identification from TableIOInterfaces.jl

https://github.com/lungben/TableIOInterface.jl
TBD when the latter package is registered.

Fixed in #23


[gdal] Add features for hdf5, netcdf, postgresql

What does your PR fix?
Adds feature control for hdf5, netcdf, postgresql.
Unblocks builds for arm64-windows ~and uwp~. (However, not successful in CI.) (UWP not supported due to comsupp lib.)
Fixes finding expat debug lib on mingw.

Which triplets are supported/not supported? Have you updated the CI baseline?
all, yes

Does your PR follow the maintainer guide?
yes

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes

Can you add a SPATIALITE_412_OR_LATER macro definition to libspatialite?
dependency_win.cmake
  if ("libspatialite" IN_LIST FEATURES)
    ........
    set(HAVE_SPATIALITE "-DHAVE_SPATIALITE -DSPATIALITE_412_OR_LATER")
  endif()

The description of SPATIALITE_412_OR_LATER is in the nmake.opt file
# Uncomment following line if spatialite is 4.1.2 or later
#SPATIALITE_412_OR_LATER=yes

Can you add a SPATIALITE_412_OR_LATER macro definition to libspatialite?

Thanks for the hint!
I will update the PR when the prerequisite PRs are merged. I get no response for #20480.

Oh, libcrypto from openssl needs User32.lib now?
libcrypto.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_GetProcessWindowStation referenced in function OPENSSL_isservice
libcrypto.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_GetUserObjectInformationW referenced in function OPENSSL_isservice
libcrypto.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_MessageBoxW referenced in function OPENSSL_showfatal
spatialite.dll : fatal error LNK1120: 3 unresolved externals

Oh, libcrypto from openssl needs User32.lib now?
libcrypto.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_GetProcessWindowStation referenced in function OPENSSL_isservice
libcrypto.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_GetUserObjectInformationW referenced in function OPENSSL_isservice
libcrypto.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_MessageBoxW referenced in function OPENSSL_showfatal
spatialite.dll : fatal error LNK1120: 3 unresolved externals

I remember openssl's cmake wrapper doing this stuff. But why this regression happened?

I remember openssl's cmake wrapper doing this stuff. But why this regression happened?

There are two other libs, but not user32.lib. I think this is okay for cmake because of the implicit link libraries which do contain user32.lib (but not the other two libs).
The new issue is with a nmake build, probably the first which uses libcrypto transitively (via proj and curl, this PR) basedf on pkgconfig data, for a library (libspatialite). That's why user32.lib isn't already present in the port' link libs.

Wait, I made that error note to the wrong PR initially, and forgot to hide it. Sorry for the noise. My comments apply to #20443.

@BillyONeal  vcpkg ci exception again on agent vcpkg-eg-mac-02, https://dev.azure.com/vcpkg/public/_build/results?buildId=64286&view=logs&j=7b75bd19-17d3-53d4-00fd-23f1a49a8ba4.

For the failing triplets, port gdal needs

atls.lib for arm64-windows.
There are other ports which fail due to this lib. Is this a provisioning issue?
IIUC the lib should be available. There even seems to be port test the presence, atlmfc.
comsuppw[d].lib for uwp.
Is this a provisioning issue?

ATM I tend to just add "skip" to the CI baseline.

ATL is probably used here: https://github.com/OSGeo/gdal/blob/d699b38a744301368070ef780f797340da4a9c3c/gdal/port/cpl_aws_win32.cpp#L41
No opt-out available, only patching :-(

For the failing triplets, port gdal needs

atls.lib for arm64-windows.
There are other ports which fail due to this lib. Is this a provisioning issue?
IIUC the lib should be available. There even seems to be port test the presence, atlmfc.
comsuppw[d].lib for uwp.
Is this a provisioning issue?

ATM I tend to just add "skip" to the CI baseline.

Should be the find depedendency errors in configure step.

Should be the find depedendency errors in configure step.

I have no idea what you refer to. The windows build use nmake and have no configure step. Relevant headers seem to be found, the linking step fails.

x64-linux error is unrelated:
CMake Error at /mnt/vcpkg-ci/installed/x64-linux/share/ffmpeg/FindFFMPEG.cmake:68 (find_library):
  Could not find FFMPEG_DEPENDENCY_asound_RELEASE using the following names:
  asound
Call Stack (most recent call first):
  /mnt/vcpkg-ci/installed/x64-linux/share/ffmpeg/FindFFMPEG.cmake:148 (append_dependencies)
  /mnt/vcpkg-ci/installed/x64-linux/share/ffmpeg/vcpkg-cmake-wrapper.cmake:6 (_find_package)
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:742 (include)
  modules/videoio/cmake/detect_ffmpeg.cmake:6 (find_package)
  modules/videoio/cmake/init.cmake:7 (include)
  modules/videoio/cmake/init.cmake:11 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  cmake/OpenCVModule.cmake:385 (ocv_glob_modules)
  CMakeLists.txt:917 (ocv_register_modules)

libasound was provided by port alsa.

/azp run

Please merge this soon. The next GDAL release is waiting.

Thanks for the update!


assertion failed: !ptr.is_null() when calling Native::surface

Bug description
Calling window.native().map(|n| n.surface())) before a Window has been presented crashes with a null pointer assertion.
It should not crash, it should return an Optional instead.
Looking at the clipboard example, this patch will cause it to crash.
diff --git a/examples/clipboard/main.rs b/examples/clipboard/main.rs
index 7f6c3b759a..5cc99cfba7 100644
--- a/examples/clipboard/main.rs
+++ b/examples/clipboard/main.rs
@@ -126,5 +126,6 @@ fn build_ui(application: &gtk::Application) {
     container.append(&texture_container);

     window.set_child(Some(&container));
+    println!("{:?}", window.native().map(|n| n.surface())));
     window.present();
 }

gtk_native_get_surface() is not marked as nullable in the C API, so either it is a bug that NULL is returned at all or the annotation is missing. The latter is the case, and it's fixed here: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6696
We should get the update with the next release here.

it is already marked as nullable here https://gtk-rs.org/gtk4-rs/stable/latest/docs/gtk4/prelude/trait.NativeExt.html#method.surface
so probably using an older gtk4-rs

Any updates here ?  I feel like there is nothing to be done here.

Well, I can't exactly test on the newest version when it doesn't work. You can close it as likely to be fixed, or I'll update it once 0.8.1 comes out.

0.8.1 is out


how to get token to create a meeting?

The auth flow in meet.jit.si is not to be consumed by 3rd party applications.
You need to be running your own Jitsi Meet installation or use JaaS.

This is not possible if you are using the detault server (meet.jit.si). You need your own server.


Adding Analytics Efficiency workbook for private preview

Proposed Changes

Adding AnalyticsEfficiency workbook which provide insights to the efficacy of the analytics rules. In this workbook you can analyze and monitor the analytic rules found in your workspace and achieve better performance by your SOC.

2 screen shots

@Ronmarsiano Hi, closing it for now since the workbook has been changes anyway.

@Ronmarsiano Hi, closing it for now since the workbook has been changes anyway.


The cursor position auto jump to the beginning of the text when input chinese to TextField

The cursor position auto jump to the beginning of the text when input chinese to TextField
This issue occurs in Linux platform, not found in android platform, and occurs when user input chinese, english not found
sample code：
    import 'package:flutter/material.dart';

    void main() => runApp(My_APP());

    class My_APP extends StatelessWidget {

        @override
        Widget build(BuildContext context) {
            // TODO: implement build
            return MaterialApp(
            home: Scaffold(
                body: TextField(),
            ),

            );
        }

    }

I use following code to fix this bug, it works:
    void correctTextFieldCursor(TextEditingController controller, String val) {
    int curPos = controller.selection.base.offset;
    //print("curPos: $curPos");
    Future.delayed(const Duration(milliseconds: 20), (){
        int length = val.length;
        int cursorPos = controller.selection.base.offset;
        controller.text = val;
        controller.selection = TextSelection(baseOffset: cursorPos + length, extentOffset: cursorPos + length);
    });
    }

but it auto jump to the end of the text when user want to input string into middle of the text.
so, I create InputTextField widget to fix this issue：
    class InputTextField extends StatefulWidget {

    InputTextField({
        Key? key,
        this.controller,
        this.focusNode,
        this.decoration = const InputDecoration(),
        this.keyboardType,
        this.textInputAction,
        this.textCapitalization = TextCapitalization.none,
        this.style,
        this.strutStyle,
        this.textAlign = TextAlign.start,
        this.textAlignVertical,
        this.textDirection,
        this.readOnly = false,
        ToolbarOptions? toolbarOptions,
        this.showCursor,
        this.autofocus = false,
        this.obscuringCharacter = '•',
        this.obscureText = false,
        this.autocorrect = true,
        SmartDashesType? smartDashesType,
        SmartQuotesType? smartQuotesType,
        this.enableSuggestions = true,
        this.maxLines = 1,
        this.minLines,
        this.expands = false,
        this.maxLength,
        this.maxLengthEnforcement,
        this.onChanged,
        this.onEditingComplete,
        this.onSubmitted,
        this.onAppPrivateCommand,
        this.inputFormatters,
        this.enabled,
        this.cursorWidth = 2.0,
        this.cursorHeight,
        this.cursorRadius,
        this.cursorColor,
        this.selectionHeightStyle = ui.BoxHeightStyle.tight,
        this.selectionWidthStyle = ui.BoxWidthStyle.tight,
        this.keyboardAppearance,
        this.scrollPadding = const EdgeInsets.all(20.0),
        this.dragStartBehavior = DragStartBehavior.start,
        bool? enableInteractiveSelection,
        this.selectionControls,
        this.onTap,
        this.mouseCursor,
        this.buildCounter,
        this.scrollController,
        this.scrollPhysics,
        this.autofillHints = const <String>[],
        this.clipBehavior = Clip.hardEdge,
        this.restorationId,
        this.scribbleEnabled = true,
        this.enableIMEPersonalizedLearning = true,
    }): super(key: key);

    final TextEditingController? controller;
    final FocusNode? focusNode;
    final InputDecoration? decoration;
    TextInputType? keyboardType;
    final TextInputAction? textInputAction;
    final TextCapitalization textCapitalization;
    final TextStyle? style;
    final StrutStyle? strutStyle;
    final TextAlign textAlign;
    final TextAlignVertical? textAlignVertical;
    final TextDirection? textDirection;
    final bool autofocus;
    final String obscuringCharacter;
    final bool obscureText;
    final bool autocorrect;
    SmartDashesType? smartDashesType;
    SmartQuotesType? smartQuotesType;
    final bool enableSuggestions;
    final int? maxLines;
    final int? minLines;
    final bool expands;
    final bool readOnly;
    ToolbarOptions? toolbarOptions;
    final bool? showCursor;
    static const int noMaxLength = -1;
    final int? maxLength;
    final MaxLengthEnforcement? maxLengthEnforcement;
    final ValueChanged<String>? onChanged;
    final VoidCallback? onEditingComplete;
    final ValueChanged<String>? onSubmitted;
    final AppPrivateCommandCallback? onAppPrivateCommand;
    final List<TextInputFormatter>? inputFormatters;
    final bool? enabled;
    final double cursorWidth;
    final double? cursorHeight;
    final Radius? cursorRadius;
    final Color? cursorColor;
    final ui.BoxHeightStyle selectionHeightStyle;
    final ui.BoxWidthStyle selectionWidthStyle;
    final Brightness? keyboardAppearance;
    final EdgeInsets scrollPadding;
    bool? enableInteractiveSelection;
    final TextSelectionControls? selectionControls;
    final DragStartBehavior dragStartBehavior;
    final GestureTapCallback? onTap;
    final MouseCursor? mouseCursor;
    final InputCounterWidgetBuilder? buildCounter;
    final ScrollPhysics? scrollPhysics;
    final ScrollController? scrollController;
    final Iterable<String>? autofillHints;
    final Clip clipBehavior;
    final String? restorationId;
    final bool scribbleEnabled;
    final bool enableIMEPersonalizedLearning;

    @override
    State<InputTextField> createState() => _InputTextFieldState();

    }

    class _InputTextFieldState extends State<InputTextField> {

    int _curLen = 0;
    int _curPos = -1;
    late TextEditingController _controller;

    @override
    void initState() {
        super.initState();
        _controller = widget.controller ?? TextEditingController();
    }

    @override
    Widget build(BuildContext context) {
        return RawKeyboardListener(//for physical keyboard press
        focusNode: FocusNode(),
        onKey: (RawKeyEvent event) {
            if (event.runtimeType != RawKeyUpEvent ) return;
            _curPos = _controller.selection.base.offset;
            _curLen = _controller.text.length;
            if (kDebugMode) print("onKeyUp: $_curPos, $_curLen");
        },//for physical keyboard press
        child: TextField(
            key: widget.key,
            controller: _controller,
            focusNode: widget.focusNode,
            decoration: widget.decoration,
            keyboardType: widget.keyboardType,
            textInputAction: widget.textInputAction,
            textCapitalization: widget.textCapitalization,
            style: widget.style,
            strutStyle: widget.strutStyle,
            textAlign: widget.textAlign,
            textAlignVertical: widget.textAlignVertical,
            textDirection: widget.textDirection,
            readOnly: widget.readOnly,
            toolbarOptions: widget.toolbarOptions,
            showCursor: widget.showCursor,
            autofocus: widget.autofocus,
            obscuringCharacter: widget.obscuringCharacter,
            obscureText: widget.obscureText,
            autocorrect: widget.autocorrect,
            smartDashesType: widget.smartDashesType,
            smartQuotesType: widget.smartQuotesType,
            enableSuggestions: widget.enableSuggestions,
            maxLines: widget.maxLines,
            minLines: widget.minLines,
            expands: widget.expands,
            maxLength: widget.maxLength,
            maxLengthEnforcement: widget.maxLengthEnforcement,
            onChanged: (value){
            if(kDebugMode) print("onChanged: $value");
            if (value.isEmpty) return;

            Future.delayed(const Duration(milliseconds: 30), (){

                _controller.value = TextEditingValue(
                text: value,
                selection: TextSelection.fromPosition(
                    TextPosition(
                    affinity: TextAffinity.downstream,
                    offset: _curPos + (value.length - _curLen)
                    ))
                );
                _curPos = -1;

                if (widget.onChanged == null) return;
                widget.onChanged!(value);

            });
            },
            onEditingComplete: widget.onEditingComplete,
            onSubmitted: widget.onSubmitted,
            onAppPrivateCommand: widget.onAppPrivateCommand,
            inputFormatters: widget.inputFormatters,
            enabled: widget.enabled,
            cursorWidth: widget.cursorWidth,
            cursorHeight: widget.cursorHeight,
            cursorRadius: widget.cursorRadius,
            cursorColor: widget.cursorColor,
            selectionHeightStyle: widget.selectionHeightStyle,
            selectionWidthStyle: widget.selectionWidthStyle,
            keyboardAppearance: widget.keyboardAppearance,
            scrollPadding: widget.scrollPadding,
            dragStartBehavior: widget.dragStartBehavior,
            enableInteractiveSelection: widget.enableInteractiveSelection,
            selectionControls: widget.selectionControls,
            onTap: widget.onTap,
            mouseCursor: widget.mouseCursor,
            buildCounter: widget.buildCounter,
            scrollController: widget.scrollController,
            scrollPhysics: widget.scrollPhysics,
            autofillHints: widget.autofillHints,
            clipBehavior: widget.clipBehavior,
            restorationId: widget.restorationId,
            scribbleEnabled: widget.scribbleEnabled,
            enableIMEPersonalizedLearning: widget.enableIMEPersonalizedLearning,
        ),
        );
    }

    }

but this issue still occurs when user pressed too fast.
I think flutter has a sollution to fix this issue perfectly， So, I post this issue.
flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on Ubuntu 21.10 5.13.0-19-generic, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.2)
[✓] Android Studio
[✓] VS Code (version 1.71.0)
[✓] Connected device (1 available)                                                                                HTTP Host availability check is taking a long time...[!] HTTP Host Availability
    ✗ HTTP host "https://cloud.google.com/" is not reachable. Reason: An error occurred while checking the HTTP host: Connection timed out

! Doctor found issues in 3 categories.

Hi @xwanlion. I can not reproduce the issue on the latest stable and master channels.

Demo (web and Linux)
Screencast from 29-09-2022 15:15:13.webm

Sample code
import 'package:flutter/material.dart';

void main() => runApp(My_APP());

class My_APP extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return MaterialApp(
      home: Scaffold(
        body: TextField(),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.3, on Ubuntu 22.04.1 LTS 5.15.0-47-generic, locale en_US.UTF-8)
    • Flutter version 3.3.3 on channel stable at /home/huynq/Documents/Working/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18a827f393 (15 hours ago), 2022-09-28 10:03:14 -0700
    • Engine revision 5c984c26eb
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /home/huynq/Android/Sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /home/huynq/Documents/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2021.1)
    • Android Studio at /home/huynq/Documents/android-studio
    • Flutter plugin version 67.0.1
    • Dart plugin version 211.7817
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.71.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.48.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 22.04.1 LTS 5.15.0-47-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.4.0-34.0.pre.9, on Ubuntu 22.04.1 LTS 5.15.0-47-generic, locale en_US.UTF-8)
    • Flutter version 3.4.0-34.0.pre.9 on channel master at /home/huynq/Documents/Working/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b5b8540e5a (44 minutes ago), 2022-09-29 03:01:38 -0400
    • Engine revision 42f4998f8d
    • Dart version 2.19.0 (build 2.19.0-253.0.dev)
    • DevTools version 2.17.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /home/huynq/Android/Sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /home/huynq/Documents/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2021.1)
    • Android Studio at /home/huynq/Documents/android-studio
    • Flutter plugin version 67.0.1
    • Dart plugin version 211.7817
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.71.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.48.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 22.04.1 LTS 5.15.0-47-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

As far as I can see, you are using the old Flutter version 3.0.5, the latest Flutter stable is 3.3.3 and the master is 3.4.0. Please try upgrading them and retry to see if this issue still reproduces.
Also, please provide Steps to reproduce in detail so that we may investigate the issue further. Thanks!

Ok, I'll try it later.

I upgrade the flutter to latest version, then fixed the issue.


Looking for WebGL Extension Support

Hey team!
I'm looking to use texture2DLodEXT in a shader. I've added:
#extension GL_EXT_shader_texture_lod : enable
#extension GL_OES_standard_derivatives : enable
But, I believe we might need to add:
gl.getExtension('EXT_shader_texture_lod');
to our gl init for this to work. Am I doing something wrong or is this something we could easily add?
Here's the doc:
https://developer.mozilla.org/en-US/docs/Web/API/EXT_shader_texture_lod
Thanks!
Will

@willstall
WebGL extensions has been added to extension version 0.2.10
You can include any supported WebGL extension through the glsl-canvas.extensions array option modifying the workspace's settings.json file.
{
  "glsl-canvas.extensions": [
    "EXT_shader_texture_lod"
  ]
}

You can then enable the extension in the shader
#extension GL_EXT_shader_texture_lod : enable

vec3 color = texture2DLodEXT(u_texture, st, 0.0).rgb;


Separate components and packages in monorepo

Easier for organisation than one big folder of packages. E.g. https://github.com/govuk-react/govuk-react/tree/master/packages

Doing this as part of the documentation setup https://github.com/nhsevidence/nice-design-system/commit/5215a8d85333c87f43b43fb2e76b3a38dca9d8f0


Doesn't work when is inside ScrollView

Hi,
I tried your plugin inside a long ScrollView, but the scroll doesn´t work, it is blocked.
Device: Samsumg Note 3.
Thanks for your amazing work!

Are you saying that it doesn't work when the inkview is visible within the scroll view? It  sounds like the inkview isn't blocking the scroll, but rather capturing the touch events  in order to draw the signature.  The user would need to initiate the scroll from outside of the ink view .  In this case it might be a bad decision to place an ink view inside of a scroll view.

I would also like to place an InkView inside a ScrollView. From basically it's a contract -- and at the bottom is the signature, which mirrors what would happen in real life. Except that the scroll view steals some of my strokes so the UX is bad when they are signing. Any ideas how to overcome?

OK, here's how I make mine work.
        InkView inkView = (InkView) findViewById(R.id.ink_view);
        inkView.setOnTouchListener(new View.OnTouchListener() {
            @Override
            public boolean onTouch(View v, MotionEvent event) {
                v.getParent().requestDisallowInterceptTouchEvent(true);
                return false;
            }
        });

This piece of code can be placed in activity.


IBM Watson Speech to Text not narrating text and no audio

Describe the bug
IBM Watson Speech to Text not narrating text and no audio
I've installed on 2 subdomains, the latest version and 2.9 both run fine on the web url, but no sound is made and no text is narrated, apparently the app's not connecting to a server I've been told when talking to support, but I've put the correct URL and API key in
Running CentOS 7 on the server and followed the instructions carefully

It's all good, I installed the latest version and it works perfect now!


Included missing parenthesis

Section 1.9 Summary was missing the beginning parenthesis in the third note of lisp examples

Updated lisp example in Section 1.9 Summary with missing parethesis


PromQL delta() function unexpected error: runtime error: divide by zero

I have a simple query: delta(my_metric[1h:]) which returns unexpected error: runtime error: divide by zero when entered into the Cloud Console Managed Service for Prometheus page.

Hello,
We recently rolled out some changes to alleviate this. Can you confirm if this is still happening for you?

Works now! Thanks.


commit rabbitmq spout example

Here's the example code for running a spout off of RabbitMQ. It also includes branch switching because we found this to be very useful for our application. @nadegepepin

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

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

@nadegepepin, I'll make that change and update. Any thoughts on my question above? It works as is, but would be cleaner without the List/FinishCommit stuff above as suggested by @jdoliner

@nadegepepin, I'll make that change and update. Any thoughts on my question above? It works as is, but would be cleaner without the List/FinishCommit stuff above as suggested by @jdoliner

@nadegepepin, I'll make that change and update. Any thoughts on my question above? It works as is, but would be cleaner without the List/FinishCommit stuff above as suggested by @jdoliner

Hey Daniel, I was assuming that you would apply @jdoliner's suggestion. 😉.

@nadegepepin, I'll make that change and update. Any thoughts on my question above? It works as is, but would be cleaner without the List/FinishCommit stuff above as suggested by @jdoliner

Hey Daniel, I was assuming that you would apply @jdoliner's suggestion. 😉.

Just a quick update on this. I was testing the changes locally on our system and ran into a slight snag that appears to be resolved now. I just want to let it run for a while on our system to make sure it's stable and then I'll commit the changes.

Just a quick update on this. I was testing the changes locally on our system and ran into a slight snag that appears to be resolved now. I just want to let it run for a while on our system to make sure it's stable and then I'll commit the changes.

Thank you for the update Daniel.

Okay, changes in place. a few days of stable run on our system.

All good to go. Thank you @dwilson1988!


ARROW-1689: [Python] Implement CategoricalBlock Index Zero-Copy

This PR closes ARROW-1689.
I want to add the zero-copy option after https://github.com/apache/arrow/pull/1233 merged.

Thanks - I wrote a test for this behaviour when working on my PR!
diff --git a/python/pyarrow/tests/test_convert_pandas.py b/python/pyarrow/tests/test_convert_pandas.py
index 8dd38582..21a5c82d 100644
--- a/python/pyarrow/tests/test_convert_pandas.py
+++ b/python/pyarrow/tests/test_convert_pandas.py
@@ -216,6 +216,19 @@ class TestPandasConversion(unittest.TestCase):
         result = pa.array([0, 1, 2]).to_pandas(zero_copy_only=True)
         npt.assert_array_equal(result, [0, 1, 2])

+    def test_zero_copy_dictionaries(self):
+        arr = pa.DictionaryArray.from_arrays(
+            np.array([0, 0]),
+            np.array(['A']))
+
+        result = arr.to_pandas(zero_copy_only=True)
+        values = pd.Categorical(['A', 'A'])
+
+        tm.assert_series_equal(
+            pd.Series(result),
+            pd.Series(values),
+           check_names=False)
+
     def test_zero_copy_failure_on_object_types(self):
         with self.assertRaises(pa.ArrowException):
             pa.array(['A', 'B', 'C']).to_pandas(zero_copy_only=True)

@njwhite Thank you very much!
@wesm Now reflected the master branch change into this PR!

Rebased and fixed flakes. The test case is failing, I will leave you to fix

Looking at this now to see if I can fix the test case

Had to resort to a little bit of dark magic (the PyCapsule API) to handle zero-copy dictionaries. When the dictionary values are not zero-copyable (the test case had strings, I changed this to be integers), this still raises

+1, will await builds

@wesm Wow! Thanks for your good idea! I didn't get such idea!


Step 1: Import data from original source: from ENCODE API

More or less done. Needs to walk through all table types and download all records.
Important: Please make sure that any restrictions from ENCODE regarding API call frequency etc is honored (e.g one API call per second, or similar), so that we are not banned...


NIFI-10458 Add support for the DESCRIBE/MANIFEST Operation

Summary
NIFI-10458
With this change the DESCRIBE / MANIFEST capability was added to the MiNiFi Agent. This means that similarly to the C++ agent it can be controlled with the property "c2.full.heartbeat" whether the manifest (which is the biggest part of the heartbeat) is included or not. If the C2 server requires the manifest from the agent it can issue a DESCRIBE / MANIFEST operation which will be fulfilled in the acknowledgement. To notify the server about potential manifest changes the manifest hash is updated so the server can determine whether there was a change or not and whether it needs to request a DESCRIBE / MANIFEST.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks for this improvement @bejancsaba, without reviewing the substantive details, I provided a few comments on the hashing implementation.

Thank you for taking a look addressed your hashing specific comments.


refactor: export beacon utils to be reused by other packages

Motivation
Make the packages and complex code more re-useable.
Description
We need to use kzg implementation and trusted setup during the blobs testing on the CLI package and sim tests.
It would be difficult to maintain if we duplicate logic like kzg in different packages, so we have to export such utils.
Limit the utils export only to important ones, which are integral for application behavior.
Steps to test or reproduce

Run all tests

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