[ISSUE #1078]fix User can't use mqadmin command normally if they don't copy the tool.yml file to related fold and AclEnable flag is closed.

What is the purpose of the change
(1)fix User can't use mqadmin command normally if they don't copy the tool.yml file to related fold and AclEnable flag is closed.
Brief changelog
(1)just add the block code:try and catch.
Verifying this change
I have already verified this change in my local enviroment.
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.09%) to 49.437% when pulling 73e5256581d23dc442e7bdb79e11b5cd9870fe7b on zongtanghu:develop into a83c6215128e9753d681ac329ba36b46d44ce41f on apache:develop.

The unit test of DefaultMQPushConsumerTest cause the CI failed!From the log content,it hangs for some reasom.


Push deactivate on an app is failing withpush-subscribe permissions

Which version of the Ably SDK are you using?
1.1.7
On which platform does the issue happen?
iOS12.1
Are you using Carthage?
No
Are you using Cocoapods?
Yes, v1.7.3
Which version of Xcode are you using?
Xcode 10.2.1
Build version 10E1001
What did you do?
Have been testing the push iOS application with push-admin and push-subscribe permissions.
What did you expect to happen?
The app works as expected when it has push-admin permissions (assigned by the auth server). When I switch the permissions to push-subscribe, except for publishing push notifications, the rest of the functionality (i.e activation, deactivation, subscription, etc) is expected to work as before
What happened instead?
The deactivate() method failed every time when the app had push-subscribe permissions. As soon as I switched the permissions to push-admin (via the auth server without even touching the app), the deactivate method worked as expected. The following is the error in the log on clicking the button triggering the deactivate() method:
handleAblyPushDidDeactivate(notification:) with error 2019-07-12 10:31:52.948739+0100 push-interactive-app[964:227867] transition: ARTPushActivationStateWaitingForDeregistration -> ARTPushActivationStateWaitingForDeregistration
ARTErrorInfo with code 40160, message: action not permitted, app = ye-rkQ. (See https://help.ably.io/error/40160 for help.), reason: (null)

Link to sample project
https://github.com/ably/push-example-ios

Fixed with https://github.com/ably/ably-cocoa/pull/871


Added documentation for Paginated Reports in Power BI

@KaneMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.


poppler_data: 0.4.9 -> 0.4.10

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/poppler-data/versions.
meta.description for poppler_data is: "Encoding files for Poppler, a PDF rendering library"
meta.homepage for poppler_data is: "https://poppler.freedesktop.org/"
meta.changelog for poppler_data is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.4.10 with grep in /nix/store/84787my205hc6d753v36bv9jjzjgq559-poppler-data-0.4.10

directory tree listing: https://gist.github.com/1655cd9add69ffebe35fc1f46f24a6d4

du listing: https://gist.github.com/ac1fead44b91221562fc74a77458c97e

Rebuild report (if merged into master) (click to expand)

1514 total rebuild path(s)

474 package rebuild(s)

474 x86_64-linux rebuild(s)
432 i686-linux rebuild(s)
174 x86_64-darwin rebuild(s)
434 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
R
adapta-gtk-theme
aesop
apostrophe
apvlv
arc-theme
arx-libertatis
asciidoc-full
asciidoc-full-with-plugins
asymptote
auctex
autofs5
baresip
beamerpresenter
bibata-cursors
bibata-cursors-translucent
bibata-extra-cursors
bookworm
btrbk
calibre
calibre-py2
calibre-py3
calligra
capitaine-cursors
ccache
ccacheStdenv
ccacheWrapper
cddlib
chrome-gnome-shell
cinnamon.cinnamon-screensaver
cinnamon.iso-flags-png-320x420
cinnamon.iso-flags-svg
clevis
cloudcompare
cups-filters
dblatex
dblatexFull
denemo
diff-pdf
diffpdf
digikam
disorderfs
dot2tex
dropbox-cli
dwarf-fortress-packages.dwarf-fortress-full
dwarf-fortress-packages.dwarf-therapist
dwarf-fortress-packages.dwarf-therapist-original
dwarf-therapist
eaglemode
eclib

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/84787my205hc6d753v36bv9jjzjgq559-poppler-data-0.4.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A poppler_data https://github.com/r-ryantm/nixpkgs/archive/1fbcadbc425667379fb3fdc22a9e5a5542ff7bb5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/84787my205hc6d753v36bv9jjzjgq559-poppler-data-0.4.10
ls -la /nix/store/84787my205hc6d753v36bv9jjzjgq559-poppler-data-0.4.10/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings

@ryantm Any idea why Poppler itself has not been updated yet? I do not see it in the logs at all.

@jtojnar it's because Repology has it under poppler-glib and they're alphabetically sorted by the bot.


Removing sky-pages-in

Removed any concept of "sky-pages-in-*".
Replaced index components and siblings with routes + components.
Removed passing of "entities," and instead allowing generators to use glob.
Added vscode settings for debugging jasmine tests.
Miscellaneous refactoring.

This is working towards totally replacing "out" and "in" with "builder" and appropriate hooks.

Current coverage is 100% (diff: 100%)

Merging #28 into master will not change coverage

@@           master   #28   diff @@
===================================
  Files          19    21     +2
  Lines         427   436     +9
  Methods        47    54     +7
  Messages        0     0
  Branches       51    43     -8
===================================
+ Hits          427   436     +9
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 69f2610...e7efccd

Closing to debug a few concerns.


Revert "Missing node specification allocates one node per cluster"

Reverts vespa-engine/vespa#12580
Breaks when prod clusters are required to have at least 2 nodes

👍


Remove small duplication

Heh, I tried to do that too, but it ended up being too unelegant with the whole prefix stuff. And keep in mind, this is not just for Awesomplete’s code, outside authors might want to use it for scripts built on top of Awesomplete’s API, such as the email domain typeahead in the advanced examples section. In those cases, prefix is not enough. What if they need a suffix too? And so on.
Also, the API of this function is suboptimal: By putting a rarely needed optional argument first, you made users having to type "",  on every call, pointlessly, over and over again. Optional arguments should be at the end for this very reason. Of course, then it’s not clear any more that it’s a prefix, but it never really was.
Anyway, what I’m saying is thanks so much for contributing, but reducing this duplication needs a bit more thought :)

The reasoning behind this was the my feeling that the $.regExpEscape was accidentaly public API. For the private helper those changes kinda looked fine to me. I've tried optional boolean flag as a third argument, but didn't liked it.
Since it's public API, this change of course breaks it. Also, it's bad public API, I completely agree with you.
Keep up good work and don't worry, I'm not offended in any sense by rejected PRs :) It's your "child", your code style and so on.


Disable parallel unit tests execution on Windows.

Issue Number

#2526
Overview

[ ] I have disabled parallel execution of unit tests on Windows, in hope it'd help with the OOM issues.

Comments

@rvl We could instead make that conditional on platform, and/or provide +RTS -N1 when running the tests under github actions.

I've actually tried locally to also pass -j1 to hspec (according to http://hspec.github.io/options.html) but the "parallelization" is still done on a single core :grimacing: and I am reaching 13GB of memory usage all-the-same. I wish there was an option in hspec to simply disable parallel testing on demand, but using less cores does not actually help :(


Connectors startup error

When starting up a ToAddressRouter while messages are being processed, the connectors are started as they are created here:
https://github.com/praekeltfoundation/vumi2/blob/main/src/vumi2/routers.py#L43-L57
The problem is that the outbound connector is started and processing messages before the inbound connector exists.
This causes a key error when we try and publish the message to the transport.

Thanks for finding this. In vumi v1 there was a system to "pause" connectors while everything was being started, and then unpause them once startup had completed.
So either we need something like that, or maybe there's a different way we can do this, maybe by changing the order in which things are started.

Changing the order of connector setup will just move the problem from outbound to inbound.
I think our best bet would be to split Consumer.start() into a .setup() method that creates the channel does the exchange/queue stuff and a .start() method that calls channel.basic_consume() and starts the handler tasks. Then we'd call consumer.setup() in Connector._setup_consumer() and add a Connector.start_consuming() method (or similar) to call consumer.start() when we're actually ready to handle messages.
Another (easier) option would be to leave Consumer.start() as-is and just move the call to Connector.start_consuming() (or whatever we call it).
Either way, we can put a helper method on ConnectorCollection to start all the consumers together, like we already do there for cleanup.
Thoughts?

@jerith I don't have enough knowledge on vumi2 to give a useful opinion on your comment but I I'm going to give the first option a go to see how it goes.

Having had a look at the code, I think the trickiest part will be writing a test that fails reliably for this. I'll try prototype that quick.

Fixed in #53.


Questjs

Hello! I'm the maintainer of the JS quests and related resources.
I saw your Pull Request, but I can't merge it, because it would land in the master branch of the "source" repository.
If you want to merge it into your fork's master branch, you can change the source branch in the Pull Request's settings, then merge it 😃


[TC-DIAGSW-3.2] Command failing --ResetWatermarks

Summary :
As per test plane the command  ResetWatermarks is  to be send from the TH and should return a successful status, however when we try to use this command in the YAML test scripts they seem to always fail, please refer attached screenshots and logs
Test-plan Screenshot:

Spec Screenshot:

Log file and Execution Screenshot:
DIASW_3_2.txt

That's because the test is sending it to endpoint 1, not endpoint 0.


x1028 AS TS (Katy) I would like to update the information on the SGP management page to allow for data flow to be better

"visible and editable by enduser and normal accounts
Add new dropdown list called - "DNAP study ID and description"
*to be not compulsory for all worktypes, needed for visium workflows only
*drop down list to be editable on the config page
*to appear in the SGP management search table and dropdown list to be update-able (similar to the omero project field)
Change the title for project dropdown on the SGP management page to "Project (cost code description)"
Note:
to be created so dropdownlist for DNAP study ID and description and omero project would be pulled from with central list - would get a lot of data that might not come our way

@KatyTudor Is "study ID and description" a single text field?

@khelwood yes a single field please, it will be a 6-7 digit code followed by "-" then a project description. i.e. "S10315 - Orphan Tumour Study_NB_sNuc" might need to allow for for up to 100 characters if you need to up a limit on it, might be safer with no limit?!

@khelwood faculty teams and DNAP set the naming of them so I have no idea if they have a limit to their system for them. Let me speak with Cellgen and see if they can give a list of examples or the longest they have

@khelwood Looking at their longest description at the moment seems to be 88 characters, so maybe if we set it to 150, it would hopefully be long enough

@KatyTudor @seenanair I think we probably want to store two fields — code and description — for each study, even if you want them combined to one item in the drop-down. Does that sound OK?

@khelwood unfortunately it needs to be one field to align the information correctly

@KatyTudor Do you have any preference for 'DNAP Study' column (order) to appear in table?

@seenanair this is working great. is it possible to put the DNAP study ID and description before the number of blocks in the op part of the table?

@KatyTudor  uat updated with this change

@seenanair perfect, that looks great, thanks


view post button

the "view post" text is redundant, you can click anywhere to open the post

only the text is now routing to overview


Feat/morfeo fonts

Proposed changes
This PR add a new package and a new feature to @morfeo eco-system. @morfeo/fonts allow devs to quickly add a new font on the document Head. It does not have any dependencies and can work stand Alone.
The main helper of @morfeoFonts is mountFont(params)
This PR add a @morfeo/web utility also: loadFont(params. This util combine the mountFont helper with a theme.setValue. It both mount a font on the document and add it to the @morfeo theme.
The motivation of this new feature is to have a single helper that made easy to load and use a new font on @morfeo.
Types of changes
What types of changes does your code introduce to morfeo?

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #26 (1f0cafe) into main (fb013c7) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           29        31    +2
  Lines          413       444   +31
  Branches        76        84    +8
=========================================
+ Hits           413       444   +31

Impacted Files
Coverage Δ

packages/web/src/utils/resetCss.ts
100.00% <ø> (ø)

packages/fonts/src/mountFont.ts
100.00% <100.00%> (ø)

packages/svelte/src/morfeoAction.ts
100.00% <100.00%> (ø)

packages/web/src/utils/loadFont.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Crash while label editing

create a node.
double-click on it and drag & release somewhere to create 2nd node.
go to 1st node and double click on it.
Label editor should come up. Enter some text and press Enter, then Escape.
It should crash now 👎

escape must be disabled globally.

I ran into this, just trying qvge for the first time.

create a node
double click to edit label
type something and press escape to "Finish label editing" (according to the hotkeys panel)
crash


[$50] HelpDot Update - Change the name of a homepage category on New Expensify

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Expensify/Expensify Issue URL: https://help.expensify.com/new-expensify/hubs/get-paid-back/
Issue reported by: Margaret Madelyn Lewis
Slack conversation: https://expensify.slack.com/archives/C02QSAC6BJ8/p1702999732847589
Request
Rename Get Paid Back to Payments

Steps to complete
Renaming folders is best done on your local machine, or on github.dev.
Instructions on how to do this on github.dev:
PART 1/3: Rename folder inside docs/new-expensify/hub

Go to https://github.com/Expensify/App
Press . (dot) on your keyboard
On LHN, you can see folders and can navigate around by clicking the folders
Go to docs/new-expensify/hubs/
Right click the folder get-paid-back/ and select rename.
Rename the folder to payments

PART 2/3:

Rename folder inside docs/articles/new-expensify
Go to docs/articles/new-expensify/
Right click the folder get-paid-back/ and select rename.
Rename the folder to payments

PART 3/3:

Finally, changes in _routes.yml
Open docs/_data/_routes.yml
Rename get-paid-back to payments
Change title to Payments

To push the changes -

Go to source control. The tree like icon
Enter a message
Commit & push
Create a new PR using your branch and DONE

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012718faf012637de5
Upwork Job ID:<PHONE_NUMBER>116855296
Last Price Increase: 2023-12-20
Automatic offers:

ntdiary | Reviewer | 28067265
neonbhai | Contributor | 28067266

This is a simple change and should be treated as a bug report ($50 payment).

@neonbhai - yep! please note the price of the job ($50 vs. $500) -- https://github.com/Expensify/App/issues/33376#issuecomment-1865050026

Hi @neonbhai, let us know when the PR is ready for review :)

https://github.com/Expensify/App/issues/33376#issuecomment-1872279131
it's expected they're different rn!

Contributor: @neonbhai paid $50 via Upwork
Contributor+: @ntdiary paid $50 via Upwork.


Only when the user lifts his finger should refresh performed

Ionic version:  (check one with "x")
[X] 3.x
I'm submitting a ...  (check one with "x")
[X] feature request
Current behavior:
We cannot handle this behavior.
Expected behavior:
I'm using Refresher component with Ionic 3 app.It is working fine.But now I have a requirement where only when the user lifts his finger should refresh performed, if not, then refresh action is canceled.
Related code:
.html
 <ion-refresher (ionRefresh)="getData($event)">
    <ion-refresher-content pullingIcon="arrow-dropdown" pullingText="Pull to refresh"
     refreshingSpinner="circles" refreshingText="Refreshing...">
    </ion-refresher-content>
  </ion-refresher>

.ts
getData(refresher?: any) {
  Observable.forkJoin([myTopicApi, myarticlApi, myPicksAPi])
      .subscribe(res => {
        if (refresher) { refresher.complete(); }//terminate refresher
      },
      error => {
        if (refresher) { refresher.complete(); }
      },
      () => { if (refresher) { refresher.complete(); } }
      )
}

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
global packages:

    @ionic/cli-utils : 1.4.0
    Cordova CLI      : 6.5.0
    Ionic CLI        : 3.4.0

local packages:

    @ionic/app-scripts              : 1.3.8
    @ionic/cli-plugin-cordova       : 1.4.0
    @ionic/cli-plugin-ionic-angular : 1.3.1
    Cordova Platforms               : android 6.1.2
    Ionic Framework                 : ionic-angular 3.4.2

System:

    Node       : v6.10.0
    OS         : Windows 8.1
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed
    npm        : 3.10.10

Hello! Thanks for opening an issue with us! As this seems like more of a support question I will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!

Hi @jgw96
There is no support yet for this feature.So this is not and support question.I have put this question on both StackOverflow and ionic forum.But no solution yet due to there is no such API support from the Refresher.So please move this as a new feature request.Thanks.
Ionic
StackOverflow


removing android sdk from base image

Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.

Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

We don't want to edit main on this repo, we keep our changes in the eaton branch.  So, this should go there.


Add CITATION.cff file of EDCC paper

GitHub does not display citation correctly (APA, BibTeX missing):

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files#about-citation-files


Modifying unit tests for editable_text

Description
Adding a log.clear statement to a unit test in editable_text_test.dart
Also add min/max lines to the tested widget which will create a better test case for testing cached size.
Tests
This PR modify the unit test and add more cases.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read [Handling breaking changes]). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

Thanks for the quick review!


can not find disk H if I had not disk G

My computer has C disk, D disk, E disk and H disk
Your program doesn't recognize disk H

Duplicate of #488


docs(readme): better clarity on smooth scrolling

:tada: This PR is included in version 2.2.21 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Maintenance update

Note: This maintenance update does not include update of eslint-plugin-functional from v4 to v5, as there are breaking changes we'll need to check first.
See: https://github.com/eslint-functional/eslint-plugin-functional/releases/tag/v5.0.0

Now there's also  eslint-plugin-functional from v4 to v5 update.


Columns are returned in file order instead of requested order

If the parquet file has the following columns: id, lastname, firstname, address1, address2, city, state, zip and I issue a call to readParquet with columns: ['firstname', 'lastname'] then I get back table data like [['Doe', 'John'], ['Smith', 'Sally']].
I understand why, but I find it unintuitive. I would assume that row[0] would be the firstname column.
I see that #21 already fiddled with assembling the columns in a certain order, so this should be a fairly straight-foward change.
And if we are worried about backward compatibility, this could be included as an option instead of the default, and we could use the rowFormat option in #25 if it gets merged, or something similar if not.

Looks like #25 has been merged. I can submit a pull request on this if you want. Do you have a preference on whether we should a) retain the default as columns in natural order with an option to return them in requested order or b) just return them in the order they were requested?

Yes would love to see a pull request for this!
It was never formally specified what the order of columns would be returned as, so I think it's probably fine to change the behavior here to match a supplied list of columns? I agree its technically a breaking change but it really seems like the more logical way it should have been done. Considering that the order was non-deterministic until recently, I think it's ok to change. I'll publish it as a new minor version at least to try and prevent unexpected breakage by dependent projects.
The behavior should remain unchanged (use the natural order or columns) if columns is not specified, but if it is specified then return the columns in the specified order.
This does introduce some edge cases like: what to do if a column is requested twice, or if a non-existent column is specified? Open to suggestions here.

My suggestions for the edge cases are that a column requested multiple times should be returned multiple times and requesting a non-existent column should return a column filled with nulls.
My reasoning is that this should follow the principle of least surprise. Columns requested multiple times are likely to be caused by accepting user input into a query. Non-existent columns are likely to be caused by a bad specification of a file's contents, or a file changing after its specification was published.
In each case, if you expect column number 6 to be "colX", then removing columns, either duplicated or non-existent, could make "colX" returned in column number 5. I think that's less than ideal.


Frequency precision issue still not fixed

Issue in https://github.com/esnya/UdonRadioCommunication/issues/16 still persists with latest release.
UdonRadioCommunication:
FrequencyGap = 0.025
MinFrequency = 118
MaxFrequency = 136
FrequencyStep = 0.025
FastFrequencyStep = 1
Problem is not within receivers reading frequency incorrect, but with transceiver setting incorrect frequency and floating point imprecission & processing in unity. It shows on debug screen as well and there is no receiver.
in previous post i posted transceiver.cs where i modified original
Frequency = f > maxFrequency ? minFrequency : (f < minFrequency ? maxFrequency : f);
to this, which fixes the issue
Frequency = Mathf.Round(((f > maxFrequency ? minFrequency : (f < minFrequency ? maxFrequency : f)) * Mathf.Pow(10, frequencyPrecision))) / Mathf.Pow(10, frequencyPrecision);

frequencyGap must be smaller than half of frequencyStep. Try to set 0.01 in this case.


Spring Kafka stops after group coordinator is lost

I noticed that my Spring Kafka consumer suddenly fails when the group coordinator is lost. I'm not really sure why and i dont think increasing the max.poll.interval.ms will do anything since the time is set to 300 seconds.
using:
  <groupId>org.springframework.kafka</groupId>
  <artifactId>spring-kafka</artifactId>
  <version>2.3.1.RELEASE</version>

this is what I get prior to any issues:
2020-01-22 21:16:03.917  INFO 77617 --- [ad |  springboot-app] o.a.kafka.clients.FetchSessionHandler    : [Consumer clientId=consumer-1, groupId= springboot-app] Error sending fetch request (sessionId=1834842159, epoch=INITIAL) to node<PHONE_NUMBER>: org.apache.kafka.common.errors.DisconnectException.
2020-01-22 21:17:16.541  INFO 77617 --- [ad |  springboot-app] o.a.kafka.clients.FetchSessionHandler    : [Consumer clientId=consumer-1, groupId= springboot-app] Node 452102569 was unable to process the fetch request with (sessionId=2056715461, epoch=4): FETCH_SESSION_ID_NOT_FOUND.
2020-01-22 21:18:07.421  INFO 77617 --- [ad |  springboot-app] o.a.k.c.c.internals.AbstractCoordinator  : [Consumer clientId=consumer-1, groupId= springboot-app] Group coordinator kafka-355344663.a.domain.net:9092 (id: 664949299 rack: null) is unavailable or invalid, will attempt rediscovery
2020-01-22 21:18:10.826  INFO 77617 --- [ad |  springboot-app] o.a.k.c.c.internals.AbstractCoordinator  : [Consumer clientId=consumer-1, groupId= springboot-app] Discovered group coordinator kafka-355344663.a.domain.net:9092 (id: 664949299 rack: null)
2020-01-22 21:18:20.443  INFO 77617 --- [ad |  springboot-app] o.a.k.c.c.internals.AbstractCoordinator  : [Consumer clientId=consumer-1, groupId= springboot-app] Attempt to heartbeat failed for since member id consumer-1-e81c6be2-bff3-4318-94b9-1d855219f23f is not valid.

then all within the same timeframe, it quits:
2020-01-22 21:18:47.328  INFO 77617 --- [oot-app-0-C-1] o.a.k.c.c.internals.ConsumerCoordinator  : [Consumer clientId=consumer-1, groupId= springboot-app] Failing OffsetCommit request since the consumer is not part of an active group
2020-01-22 21:18:47.329  INFO 77617 --- [oot-app-0-C-1] o.a.k.c.c.internals.AbstractCoordinator  : [Consumer clientId=consumer-1, groupId= springboot-app] Attempt to heartbeat failed for since member id  is not valid.
2020-01-22 21:18:47.329  INFO 77617 --- [oot-app-0-C-1] o.a.k.c.c.internals.AbstractCoordinator  : [Consumer clientId=consumer-1, groupId= springboot-app] Group coordinator kafka-355344663.a.domain.net:9092 (id: 664949299 rack: null) is unavailable or invalid, will attempt rediscovery
2020-01-22 21:18:47.435 ERROR 77617 --- [oot-app-0-C-1] essageListenerContainer$ListenerConsumer : Consumer exception

org.springframework.kafka.KafkaException: Stopped container; nested exception is org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing max.poll.interval.ms or by reducing the maximum size of batches returned in poll() with max.poll.records.
	at org.springframework.kafka.listener.ContainerStoppingErrorHandler.handle(ContainerStoppingErrorHandler.java:65) ~[spring-kafka-2.3.1.RELEASE.jar!/:2.3.1.RELEASE]
	at com.walmart.ssaepe.spoc.handler.SerializationExceptionHandler.handle(SerializationExceptionHandler.java:33) ~[classes!/:na]
	at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.handleConsumerException(KafkaMessageListenerContainer.java:1079) ~[spring-kafka-2.3.1.RELEASE.jar!/:2.3.1.RELEASE]
	at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:896) ~[spring-kafka-2.3.1.RELEASE.jar!/:2.3.1.RELEASE]
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
	at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
Caused by: org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing max.poll.interval.ms or by reducing the maximum size of batches returned in poll() with max.poll.records.
	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.sendOffsetCommitRequest(ConsumerCoordinator.java:820) ~[kafka-clients-2.3.0.jar!/:na]
	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.commitOffsetsSync(ConsumerCoordinator.java:692) ~[kafka-clients-2.3.0.jar!/:na]
	at org.apache.kafka.clients.consumer.KafkaConsumer.commitSync(KafkaConsumer.java:1454) ~[kafka-clients-2.3.0.jar!/:na]
	at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.commitIfNecessary(KafkaMessageListenerContainer.java:1893) ~[spring-kafka-2.3.1.RELEASE.jar!/:2.3.1.RELEASE]
	at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.processCommits(KafkaMessageListenerContainer.java:1716) ~[spring-kafka-2.3.1.RELEASE.jar!/:2.3.1.RELEASE]
	at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.pollAndInvoke(KafkaMessageListenerContainer.java:924) ~[spring-kafka-2.3.1.RELEASE.jar!/:2.3.1.RELEASE]
	at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:884) ~[spring-kafka-2.3.1.RELEASE.jar!/:2.3.1.RELEASE]
	... 3 common frames omitted

2020-01-22 21:18:47.436  INFO 77617 --- [oot-app-0-C-1] o.a.k.clients.consumer.KafkaConsumer     : [Consumer clientId=consumer-1, groupId= springboot-app] Unsubscribed all topics or patterns and assigned partitions
2020-01-22 21:18:47.436  INFO 77617 --- [oot-app-0-C-1] o.s.s.c.ThreadPoolTaskScheduler          : Shutting down ExecutorService
2020-01-22 21:18:47.440  INFO 77617 --- [oot-app-0-C-1] essageListenerContainer$ListenerConsumer :  springboot-app: Consumer stopped

Is there anyway to prevent this? or have the consumer retry to connect? I have about 7 brokers assigned to the bootstrap.servers. This happened after running for about 2 weeks with no issues

Closing due to inactivity.


OIDC hardening and defining trust misses some values from subject claims

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#example-subject-claims
What part(s) of the article would you like to see updated?

"instructs your cloud provider that access token requests may only be granted for requests from workflows running in specific branches, environments. The following sections describe some common subjects you can use."

And then the following chapter demonstrates filtering for branches, environments, tags, and pull_request events.
That would lead me to expecting the tags and events in the quoted paragraph as well.
Additional information
Adding the tags seems straightforward, including the pull request events will need a bit more verbosity or changing that sentence around a bit.
Or, the sentence can be reworded to be taken as an example only, not providing the complete list of options.

(I won't even attempt at fixing this myself as the :octocat:-bot will tell me not to touch anything there, so I'll leave that to others to decide/fixup…)

@janbrasna Thanks so much for opening an issue! I'll get this triaged for review ✨

@janbrasna Thank you for bringing up this source of confusion regarding the documentation about "Example subject claims".
Since this article is restricted by a CODEOWNERS file, we will transfer this internally and work on this fix.


fix: the creation of the component

Fixes https://github.com/open-component-model/ocm-project/issues/264

Fixed.


pocket: fix get indexes issue

Signed-off-by: you06<EMAIL_ADDRESS>What problem does this PR solve?
Fix a bug when there are unknown numbers when fetch indexes from schema.
What is changed and how does it work?
Change a function but the signature has no change.
Check List
Tests

Manual test

Code changes

Has Go code change

Side effects

No

Related changes

No

/merge


add ?| (arrayContains) filter on metadata to PGVector search

I have metadata that is an array, for example, I have tags against a file, tags: [tag1, tag2] and I need to be able to filter on them. However, I am going to be providing an array as a filter and then find records where the tag item contains any of the tags in the filter.
filter: {
tags: ['tag1', 'tag2']
}
This would get any records that have tag1 or tag2 in their array, even if it also has tag3 or tag4, so long as it matches one return it.
Note: I have not been able to run the integration tests as I don't have OpenAI keys (not sure if the pipelines will validate these). I have tested manually.
Twitter -> georgeherby_dev

Nice - looks reasonable to me, will try it myself! Thanks for your patience!

Thank you!


Why the huge binary blobs in download zips?

First, I want to say that the program works very well and really does purely client side encryption and decryption as far as I can tell.  Now that said, I noticed that the downloadable zip files offered for the different OSes contain a lot of binary blobs, including things like ffmpeg in the windows version.

The linux version is even worse with a 120MB .sh file after decompression, and no distinct names for the binaries as far as I can tell.

When I built hat.sh from source, using the directions provided, the final size of a minimum working product (inside the electron folder, launching with index.html in there) was only 4MB.  This is significantly smaller than the 50-60MB of the zip files.  Even when I launched from the repository root, with all the contents of the "node_modules" folder that was placed there by one of the installation commands, the total size of the entire package was only 21MB, with no ffmpeg in sight.  So what is the purpose of all those extra megabytes of binary code in the released build zips?

the app uses electron js to convert the web app into a cross-platform desktop app,
which has a lot of dependencies to make sure the app works.
also this app uses electron-packager which adds some small things to make sure the app runs smoothly.
in the case of using electron: That's the expected size, there is no way to make it smaller.
and what you said in the end is correct. but you are just building the app and running the code which needs electronJS to be installed on your system. what we have here is a Packaged app in zip file , with all the things needed to be running on any computer without the need of installing dependencies or modules.
actually, this app size is actually pretty small compared to other apps.
i wish i have clarified that. thanks for your concerns.
sorry for the long read.


difference between windowSize=5 and windowSize=25

Why you have taken different windowSize=5 in function createImageCubes() and windowSize=25. What is the difference it would make in program. I am new to this field. please explain..

windowSize=5 in the creatImageCubes() method is the default value of spatial dimensions of the image cube i.e. in the case where no windowSize is specified in the function call.

Thank u for ur ans. But I want to know why two different windowSize is taken
On Sat, Jun 15, 2019, 21:38 Gopal Krishna<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/gokriznastic/HybridSN/issues/2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gokriznastic/HybridSN/issues/2?email_source=notifications&email_token=AJSA2UNGAMRW7W7U4GWYPXTP2UHZLA5CNFSM4HYOKVH2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR74UOCA#event-2415478536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJSA2UO7TI4OUWXJRKPVU6DP2UHZLANCNFSM4HYOKVHQ
.

It is not that 2 different windowSize is taken. It's just that I may have not changed the default value of 5 as it can be explicitly specified in the function call.


Please provide your ORCID

Hi !
in order to publish your research in the Sci-GaIA Open Access Repository, you need to have an ORCID. Please respond to this ticket with your ORCID : e.g. orcid.org/0000-0002-6607-7145
If you do not have one, please sign up at https://orcid.org/register

this is my orchid id

Your ORCID iD is 0000-0001-5430-5369
http://orcid.org/0000-0001-5430-5369
The link to your public record is http://orcid.org/0000-0001-5430-5369

On Wed, Nov 23, 2016 at 2:32 PM, Bruce Becker<EMAIL_ADDRESS>wrote:

[image: Boxbe] https://www.boxbe.com/overview Bruce Becker (
<EMAIL_ADDRESS>is not on your Guest List
https://www.boxbe.com/approved-list?tc_serial=27705422124&tc_rand=1489400997&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=RHFIMBfG4Ld7dyKENjaLVcwo5jUZzo6ke3%2BaPnsYhzk%3D&token=oTYdc8AS3mPBW3UWovYSpTrCKACPQtddFppmlLNVod49BD1Ne9eVc8pLIp2%2B4%2B1%2F
| Approve sender
https://www.boxbe.com/anno?tc_serial=27705422124&tc_rand=1489400997&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=RHFIMBfG4Ld7dyKENjaLVcwo5jUZzo6ke3%2BaPnsYhzk%3D&token=oTYdc8AS3mPBW3UWovYSpTrCKACPQtddFppmlLNVod49BD1Ne9eVc8pLIp2%2B4%2B1%2F
| Approve domain
https://www.boxbe.com/anno?tc_serial=27705422124&tc_rand=1489400997&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=RHFIMBfG4Ld7dyKENjaLVcwo5jUZzo6ke3%2BaPnsYhzk%3D&token=oTYdc8AS3mPBW3UWovYSpTrCKACPQtddFppmlLNVod49BD1Ne9eVc8pLIp2%2B4%2B1%2F
Assigned #28 https://github.com/sci-gaia/LagosHackfest/issues/28 to
@adelopo https://github.com/adelopo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sci-gaia/LagosHackfest/issues/28#event-869692123, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWiY6GWb8guWd4_Gkoko7ROudWtdiib8ks5rBEBigaJpZM4K6lHj
.

--
ADELOPO A.ANCE,BSC,PGDE,CCNA,OCA,MCP,CCWA,MBA,MCS,FAAENSenior
WebmasterUniversity of Ibadan08028511129
<EMAIL_ADDRESS>www.ui.edu.ng/AAAdelopo

Excellent ! looks great.

thanks send me yours too.
regards
On Wed, Nov 23, 2016 at 4:04 PM, Bruce Becker<EMAIL_ADDRESS>wrote:

Excellent ! looks great.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sci-gaia/LagosHackfest/issues/28#issuecomment-262538637,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWiY6MjAPjVg1VAQy7A9xYAmZPg0whXFks5rBFX9gaJpZM4K6lHj
.

--
ADELOPO A.ANCE,BSC,PGDE,CCNA,OCA,MCP,CCWA,MBA,MCS,FAAENSenior
WebmasterUniversity of Ibadan08028511129
<EMAIL_ADDRESS>www.ui.edu.ng/AAAdelopo

I am 0000-0002-6607-7145

you not visible perhaps your permission.
On Wed, Nov 23, 2016 at 4:09 PM, Bruce Becker<EMAIL_ADDRESS>wrote:

I am 0000-0002-6607-7145
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sci-gaia/LagosHackfest/issues/28#issuecomment-262540134,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWiY6LuQ_gxmSfLnIJgGuhmlf2rJSLERks5rBFcWgaJpZM4K6lHj
.

--
ADELOPO A.ANCE,BSC,PGDE,CCNA,OCA,MCP,CCWA,MBA,MCS,FAAENSenior
WebmasterUniversity of Ibadan08028511129
<EMAIL_ADDRESS>www.ui.edu.ng/AAAdelopo

the xml file has been uploaded on my githhub (
https://github.com/adelopo/hackfest2016)
thanks
On Wed, Nov 23, 2016 at 4:27 PM, Abdulazeez Adelopo<EMAIL_ADDRESS>wrote:

you not visible perhaps your permission.
On Wed, Nov 23, 2016 at 4:09 PM, Bruce Becker<EMAIL_ADDRESS>wrote:

I am 0000-0002-6607-7145
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sci-gaia/LagosHackfest/issues/28#issuecomment-262540134,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWiY6LuQ_gxmSfLnIJgGuhmlf2rJSLERks5rBFcWgaJpZM4K6lHj
.

--
ADELOPO A.ANCE,BSC,PGDE,CCNA,OCA,MCP,CCWA,MBA,MCS,FAAENSenior
WebmasterUniversity of Ibadan08028511129
<EMAIL_ADDRESS>www.ui.edu.ng/AAAdelopo

--
ADELOPO A.ANCE,BSC,PGDE,CCNA,OCA,MCP,CCWA,MBA,MCS,FAAENSenior
WebmasterUniversity of Ibadan08028511129
<EMAIL_ADDRESS>www.ui.edu.ng/AAAdelopo


Support adding annotations for method

Add annotations for a method

Could anybody review this commit?
@chriseppstein @swankjesse @johnjohndoe @dnozay @cwsteinbach
Thanks!


Implement relative error exponential

Resolves #115 .

Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines, including the relevant style guides.
[x] Read and understand the Code of Conduct.
[ ] Read and understood the licensing terms.
[x] Searched for existing issues and pull requests before submitting this pull request.
[x] Filed an issue (or an issue already existed) prior to submitting this pull request.
[ ] Rebased onto latest develop.
[ ] Submitted against develop branch.

Description

What is the purpose of this pull request?

This pull request:

Implements the relative error exponential.

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #115

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

@stdlib-js/reviewers

@jrreed83 Linking you to this PR.


updated reco/config.py, line 23 to add the missing colon

updated reco/config.py, line 23 to add the missing colon , Error when running the tool
Issue #, if available:  reco config.py is missing a colon. #43
Description of changes:
Line 23 in public-aws\amazon-dynamodb-tools\reco\src\ddb_rc_reco\config.py has a typo. Missing a colon at: "rwcu"0.000975,
Line should be:
"GRU":{"ut_region_match_filter":r'^SAE1-', "dto":0.25, "wcu":0.000975,"rcu":0.000195,"rwcu":0.000975,"rc1":{"rcu":{"base":45.0,"hour":0.0038},"wcu":{"base":225.0,"hour":0.0193}}, "rc3":{"rcu":{"base":54.0,"hour":0.0024},"wcu":{"base":270.0,"hour":0.0122}}},
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks!


[BEAM-14437] Raise Java HTTP KeepAliveCache size

Java HTTP[S]Connection's keep alive by default keeps 5 idle connections alive. Dataflow user workers could make 1000s of connection to the same endpoint. The HTTPS handshake overhead is significant in pipelines using BigQueryIO streaming inserts and bumping up the keep alive limit reduces it. The keep alive connection count can be changed by setting the JVM system property "http.maxConnections".

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

R: @kennknowles

I have some trouble with my local docker setup, so couldn't build the containers with the gradle targets locally and test.

Is this going to be a safe default across lots of different contexts? This same code runs locally, during testing, on Spark & Flink & Samza, etc.

Is this going to be a safe default across lots of different contexts?

Thinking more about this, It is hard to say for sure. Since there is a way to set the setting using JvmInitializers, I'll close this PR.


Onboard Microsoft Planner Audit schema

Hi
This is my first time proposing a change to doc.
Please kindly advise the content change and the process.
Thank you!

@microsoft-github-policy-service agree company="Microsoft"


Implemented interlacing support for Node.js (in JavaScript, not CoffeeScript).

I wanted to make sure this works, so I didn't try to fiddle with png-node.coffee, I modified the .js output.
    PNG.prototype.decodePixels = function(fn) {
      var _this = this;
      return zlib.inflate(this.imgData, function(err, data) {
        if (err) throw err;
        var pixelBytes = _this.pixelBitlength / 8;
        var fullPixels = new Buffer(_this.width * _this.height * pixelBytes);
        var pos = 0;
        function pass(x0, y0, dx, dy) {
          var byte, c, col, i, left, p, pa, paeth, pb, pc, pixels, row, scanlineLength, upper, upperLeft;
          var w = Math.ceil((_this.width - x0) / dx), h = Math.ceil((_this.height - y0) / dy);
          var isFull = _this.width == w && _this.height == h;
          scanlineLength = pixelBytes * w;
          pixels = isFull ? fullPixels : new Buffer(scanlineLength * h);
          row = 0;
          c = 0;
          while (row < h && pos < data.length) {
            switch (data[pos++]) {
              case 0:
                for (i = 0; i < scanlineLength; i += 1) {
                  pixels[c++] = data[pos++];
                }
                break;
              case 1:
                for (i = 0; i < scanlineLength; i += 1) {
                  byte = data[pos++];
                  left = i < pixelBytes ? 0 : pixels[c - pixelBytes];
                  pixels[c++] = (byte + left) % 256;
                }
                break;
              case 2:
                for (i = 0; i < scanlineLength; i += 1) {
                  byte = data[pos++];
                  col = (i - (i % pixelBytes)) / pixelBytes;
                  upper = row && pixels[(row - 1) * scanlineLength + col * pixelBytes + (i % pixelBytes)];
                  pixels[c++] = (upper + byte) % 256;
                }
                break;
              case 3:
                for (i = 0; i < scanlineLength; i += 1) {
                  byte = data[pos++];
                  col = (i - (i % pixelBytes)) / pixelBytes;
                  left = i < pixelBytes ? 0 : pixels[c - pixelBytes];
                  upper = row && pixels[(row - 1) * scanlineLength + col * pixelBytes + (i % pixelBytes)];
                  pixels[c++] = (byte + Math.floor((left + upper) / 2)) % 256;
                }
                break;
              case 4:
                for (i = 0; i < scanlineLength; i += 1) {
                  byte = data[pos++];
                  col = (i - (i % pixelBytes)) / pixelBytes;
                  left = i < pixelBytes ? 0 : pixels[c - pixelBytes];
                  if (row === 0) {
                    upper = upperLeft = 0;
                  } else {
                    upper = pixels[(row - 1) * scanlineLength + col * pixelBytes + (i % pixelBytes)];
                    upperLeft = col && pixels[(row - 1) * scanlineLength + (col - 1) * pixelBytes + (i % pixelBytes)];
                  }
                  p = left + upper - upperLeft;
                  pa = Math.abs(p - left);
                  pb = Math.abs(p - upper);
                  pc = Math.abs(p - upperLeft);
                  if (pa <= pb && pa <= pc) {
                    paeth = left;
                  } else if (pb <= pc) {
                    paeth = upper;
                  } else {
                    paeth = upperLeft;
                  }
                  pixels[c++] = (byte + paeth) % 256;
                }
                break;
              default:
                throw new Error("Invalid filter algorithm: " + data[pos - 1]);
            }
            if (!isFull) {
              var fullPos = ((y0 + row * dy) * _this.width + x0) * pixelBytes;
              var partPos = row * scanlineLength;
              for (i = 0; i < w; i += 1) {
                for (var j = 0; j < pixelBytes; j += 1)
                  fullPixels[fullPos++] = pixels[partPos++];
                fullPos += (dx - 1) * pixelBytes;
              }
            }
            row++;
          }
        }
        if (_this.interlaceMethod == 1) {
          /*
            1 6 4 6 2 6 4 6
            7 7 7 7 7 7 7 7
            5 6 5 6 5 6 5 6
            7 7 7 7 7 7 7 7
            3 6 4 6 3 6 4 6
            7 7 7 7 7 7 7 7
            5 6 5 6 5 6 5 6
            7 7 7 7 7 7 7 7
          */
          pass(0, 0, 8, 8); // 1
          /* NOTE these seem to follow the pattern:
           * pass(x, 0, 2*x, 2*x);
           * pass(0, x,   x, 2*x);
           * with x being 4, 2, 1.
           */
          pass(4, 0, 8, 8); // 2
          pass(0, 4, 4, 8); // 3

          pass(2, 0, 4, 4); // 4
          pass(0, 2, 2, 4); // 5

          pass(1, 0, 2, 2); // 6
          pass(0, 1, 1, 2); // 7
        } else
          pass(0, 0, 1, 1);
        return fn(fullPixels);
      });
    };

@devongovett any way we can get this support for interlaced PNGs merged in? I need to support interlaced PNGs when using pdfkit. I verified that the above go works well, but I'm not familiar enough with CoffeeScript to easily translate this and create a PR.

Hi, I wrote my own PNG parser, which supports interlacing: https://github.com/photopea/UPNG.js .

Is it possible to merge this in?

@kartikluke Why don't you just use UPNG.js instead? It is very small and our custom ZLIB decoder is even faster than pako.js (ZLIB library itself).

@photopea What is the equivalent in UPNG of:

You can also call PNG.load if you want to load the PNG (but not decode the pixels) synchronously. If you already have the PNG data in a buffer, simply use new PNG(buffer).

This method: https://github.com/devongovett/png.js/blob/master/png.js#L61

If you have a file in an ArrayBuffer, just call UPNG.decode(arrayBuffer).

You can learn how to use UPNG.js at its github page. I would probably not do anything else, if I had to explain how to use UPNG.js to each one of thousands of UPNG users :D
I wonder that people still use libraries, which have not been maintained by the author for seven years, even though there seem to be things that need maintenance (interlacing support).

The implementation in original post works only for some file types.
See https://github.com/blikblum/pdfkit-interlaced-png example. When replacing the png.js by a patched version only images/interlaced-rgb-alpha-8bit.png is correctly rendered
Any hints on how to fix it is appreciated

Guys, just switch to UPNG.js, it has more GitHub stars, if that is what you are looking for :D

The implementation in original post works only for some file types.

In fact the implementation is correct. Just need some code in pdfkit side


AsOptional() member function for the ResultSet

We find the following code quite common in services that use PostgreSql:
    if (result.IsEmpty()) {
        return boost::none;
    }
    return result[0].As<T>();

To reduce the lines count a shortcut required:
    return result.AsOptional<T>();

In this issue, add
  /// @brief Extract first row into user type.
  /// @returns A single row result set if non empty result was returned, empty std::optional otherwise
  /// @throws exception when result set size > 1
  template <typename T>
  std::optional<T> AsOptional() const;
  template <typename T>
  std::optional<T> AsOptional(RowTag) const;
  template <typename T>
  std::optional<T> AsOptional(FieldTag) const;

with the functionality close to the AsSingleRow
https://github.com/userver-framework/userver/blob/3d6530feffe23b567389dc6c5607e2c3936f5192/postgresql/include/userver/storages/postgres/result_set.hpp#L635-L643

Hi @apolukhin, I would be happy to take this issue on.

#164


Treat primitives and their autoboxed types as one and the same

Following on from this comment:

I think we should treat Integer and int as one type.

Each instance of a primitive and its respective autoboxed type should count as the same type. For example:
public String doSomething(int id, Integer other);

We should coalesce int and Integer into a single type for analyses, so our metrics should calculate the total parameter types (both input and output) for this method as 2 instead of 3.

@0crat status

Are you speaking to me or about me here. You must always start your message with my name if you want to address it to me, see §1.

@0crat status

@0crat status (here)

@amihaiemil This is what I know about this job, as in §32:

The job #100 is in scope for 13days
The role is DEV
The job is assigned to @amihaiemil/z for 2days
There is a monetary reward attached
@amihaiemil/z will get 50% of their hourly rate for this job
The job doesn't have any impediments
The budget is 30 minutes/points
These users are banned and won't be assigned:

@llorllale/z: This user reported the ticket

@llorllale Does that comment still apply to the current XSL-based architedture?
I think that we should introduce a new class which will do exactly that -- fetch the list of types from a method signature -- where should this class be? Where exactly are the method arguments counted now? I had a look in the project but it's not so clear :)

@llorllale I had a look now and found the following: Skeleton doesn't actually count any arguments, it just lists them in XML. E.g. here is a method with 2 arguments, 1 Integer and 1 int:
<method abstract="false"
    ctor="false" desc="(Ljava/lang/Integer;I)V"
    name="test" public="true" static="false"
>
    <return>V</return>
    <args>
        <arg type="Ljava/lang/Integer">?</arg>
        <arg type="I">?</arg>
    </args>
</method>

So, question is: should it be the job of the Skeleton to count/differenciate the arguments or not? I would say no, since the skeleton's job should be representing the class as is in XML, with no altering.
Are we sure that all the metrics that are using the Skeleton are fine with ignoring the difference between int and Integer? Shouldn't we leave it like this and let the metric decide what it needs?

@amihaiemil

should it be the job of the Skeleton to count/differenciate the arguments or not? I would say no, since the skeleton's job should be representing the class as is in XML, with no altering.

Not coalescing them in skeleton.xml would lead to even more duplicate code in the XSL metrics. See the existing implementations - all have duplicate code for "should I include ctors or not?". We'll also start seeing "should I include nonpublic methods or not?" (see #101).

Are we sure that all the metrics that are using the Skeleton are fine with ignoring the difference between int and Integer? Shouldn't we leave it like this and let the metric decide what it needs?

I'm not aware of any metric that delves into this level of detail.
What I understand is that these ideas - no ctors, only public methods, coalesce primitives and their autoboxed types - are opinions introduced by us in jpeek, and are independent of the metrics.

@amihaiemil btw, even though I didn't specify in the description, I think this should be configurable as well.

@amihaiemil now you've got me thinking
Should we then also coalesce class attributes? This would have effects on how many <op> we list for methods that access attributes.
So the scope of the problem is increasing with no clear benefits. In fact, I can already visualize some metrics changing value from some real number to NaN just from this change.
@yegor256 I'm starting to have doubts on this idea. Since you initially expressed the opinion, does it still hold for you?

@llorllale @amihaiemil how about we create one more layer between skeleton.xml and LCOM.xsl, which will include a number of XSL stylesheets. One stylesheet will merge/coalesce types. Another one will remove ctors. Another one will remove static methods, and so on. That will help us get rid of code duplication inside XSL and will make the entire architecture composable: we can use certain XSL layers or ignore them. WDYT?

@yegor256 Sounds good to me, I'll look into it :)

@amihaiemil/z this job was assigned to you 5 days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@0crat waiting

@0crat waiting (here)

@amihaiemil The impediment for #100 was registered successfully by @amihaiemil/z

@llorllale can you close this now? :)

hey @amihaiemil
I see the XSL chain solution merged (which looks very nice by the way).
But is the problem reported in this ticket actually solved? Are primitives and their autoboxed counterparts being merged into one or the other type in some XSL?

@llorllale no, with everything (initial inspection, discussion with you and the architect, implementing the first solution and then changing to this XlsChain at code review), the 30min were far exceeded. I left a todo for continuing implementation. Now we just need the stylesheets, the code architecture is in place :)

@llorllale the ticket 116 is the next task here. 0pdd closed it but it is a mistake, i think, it should be open.

@llorllale or maybe Yegor did some implementation for 116 and that is why it is closed (I see some commits referenced). Nevertheless, that is the next from here, I think this one can be closed :)

@amihaiemil @yegor256 correct me if I'm wrong but the commit that closed #166 did not solve this ticket

@llorllale this ticket was solved, from my point of view. We discussed and implemented code in such a way that the next steps (implementing stylesheets to extend the skeleton) are easily done in future tickets. And #166 is the ticket where implementation should continue -- whether it was closed by mistake or not should be discussed and solved there and this ticket should be closed.

@amihaiemil alright, I opened #167 for this exact issue again :)
Thank you

Order was successfully finished: +30 points just awarded to @amihaiemil/z, total is +480

The job #100 is now out of scope

@llorllale @amihaiemil I fixed the puzzle in #166 and removed it from the source code. Now we have XSL layers. We have just two of them: for removal of ctors and remove of static methods. If you need more, feel free to report bugs/tickets.


The color is very dark for the recording video.

The color is very dark for the recording video, however the color of the screen shot is fine.
Tested on Google pixel 2 with ViroViewARCore api.

same

Hey all, thanks for reaching out! I've root caused this bug in the ViroMediaRecorder - basically the video isn't properly corrected to sRGB space, resulting in an over-saturated visual output. I've filed a bug on this, we'll be working on a fix and will update this issue as soon as it has been pushed to release.

This issue has been fixed in the latest update, ViroCore 1.5. Release notes and upgrade instructions here -> https://virocore.viromedia.com/docs/releases
Let us know if you are still having issues after upgrading.


Bring deps in sync with what storetheindex is using

Fix small potential mem leak
Fix lint warnings

I do not have permission to merge.

i've asked for permissions back to this repo. i don't know who got them when i transferred it to filecoin-project


feat: add node-resolve export conditions for presets

🔗 Linked issue
Resolves #1371
Resolves #83
Resolves #1123
Resolves https://github.com/nuxt/nuxt/issues/21571

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This works locally, I tested it against https://github.com/Hebilicious/authjs-nuxt/ which previously needed
      "jose": resolve(__dirname, "../node_modules/jose/dist/browser/index.js"),
      "@panva/hkdf": resolve(__dirname, "../node_modules/@panva/hkdf/dist/web/index.js"),

And now it works 🎉

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Rather than hard coding details about presets in the rollup config, perhaps we could have the export conditions set in the options and specifically in each preset?
That would also make it possible for users to configure this, and keep the core rollup configuration generic.

@pi0 Regarding  nitro.options.dev ? "development" : "production", if I'm not mistaken, this should always be production, except for the "nitro-dev" preset right ? If that's the case I think @danielroe refactor suggestion make things tidy as we can have a static exportConditions for each preset.


Adding AppMesh Addon

What does this PR do?
Adds AppMesh Addon
Motivation
Closes tickets as much as possible
More

[ X] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[x] Yes, I have added a new example under examples to support my PR
[x] Yes, I have created another PR for add-ons under add-ons repo (if applicable)
[X ] Yes, I have updated the docs for this feature
[x] Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

The examples directory is there. Need to see why build failed. Checking.

@svelango is ACM PCA required for AppMesh mTLS or can folks use cert-manager as the CA? If we can demonstrate this with cert-manager I think that would make the example more applicable to a broader audience and also easier for folks to get up and running with.
Ref: https://github.com/aws/aws-app-mesh-roadmap/issues/34

@svelango is ACM PCA required for AppMesh mTLS or can folks use cert-manager as the CA? If we can demonstrate this with cert-manager I think that would make the example more applicable to a broader audience and also easier for folks to get up and running with.
Ref: aws/aws-app-mesh-roadmap#34

@bryantbiggs Picked ACM as we are adding ACM addon into EKS so as a example added a sample for ACM.

@svelango is ACM PCA required for AppMesh mTLS or can folks use cert-manager as the CA? If we can demonstrate this with cert-manager I think that would make the example more applicable to a broader audience and also easier for folks to get up and running with.
Ref: aws/aws-app-mesh-roadmap#34

@bryantbiggs Picked ACM as we are adding ACM addon into EKS so as a example added a sample for ACM.

Lets use cert-manager here please

@svelango is ACM PCA required for AppMesh mTLS or can folks use cert-manager as the CA? If we can demonstrate this with cert-manager I think that would make the example more applicable to a broader audience and also easier for folks to get up and running with.
Ref: aws/aws-app-mesh-roadmap#34

@bryantbiggs Picked ACM as we are adding ACM addon into EKS so as a example added a sample for ACM.

Lets use cert-manager here please

hi @bryantbiggs If I understand we wanted to use Cert-Manager and ACM PCA as Issuer and not directly work with ACM to get certificate?


i do not know the difference bewteen SAM to MedSAM

In my opinion,the defination about SAM and the MedSAM is same .
just like
ori_sam_model = sam_model_registrymodel_type.to(device)
sam_model = sam_model_registrymodel_type.to(device)
so i can not to what diffience bewteen the SAM and the MedSAM
because i modify the code in 'segment-anything'
and it apperence this picture

so why the SAM DESC is zero???

Hi @miaowahexiaohuolong ,
The postprocessing implementation has some differences. please follow the following tutorial to use medsam.
https://github.com/bowang-lab/MedSAM/blob/main/finetune_and_inference_tutorial_3D_dataset.ipynb
https://github.com/bowang-lab/MedSAM/blob/main/finetune_and_inference_tutorial_2D_dataset.ipynb

@HuashengPang
Please check the video tutorial on the readme page.


Skia issue causes crash on ios

`Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Function 'beginRecording' can not be called: No function found for symbol 'org.jetbrains.skia/PictureRecorder.beginRecording|beginRecording(org.jetbrains.skia.Rect){}[0]'
at 0   iosApp                              0x104ce5f9b        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119

at 1   iosApp                              0x104cdf2e3        kfun:kotlin.Error#<init>(kotlin.String?){} + 115

at 2   iosApp                              0x104d1c06f        kfun:kotlin.native.internal.IrLinkageError#<init>(kotlin.String?){} + 115

at 3   iosApp                              0x104d1c127        kfun:kotlin.native.internal#ThrowIrLinkageError(kotlin.String?){}kotlin.Nothing + 163

at 4   iosApp                              0x105aacc07        kfun:androidx.compose.ui.window.MetalRedrawer.draw#internal + 2059

at 5   iosApp                              0x105aac373        kfun:androidx.compose.ui.window.MetalRedrawer#drawSynchronously(){} + 203

at 6   iosApp                              0x105ab1c63        kfun:androidx.compose.ui.window.RenderingUIView.updateMetalLayerSize#internal + 4183

at 7   iosApp                              0x105ab0b83        kfun:androidx.compose.ui.window.RenderingUIView#objc:layoutSubviews + 215

at 8   iosApp                              0x105ab2d73        _6f72672e6a6574627261696e732e636f6d706f73652e75693a75692f6f70742f6275696c644167656e742f776f726b2f386132303736303934356430616562612f636f6d706f73652f75692f75692f7372632f75696b69744d61696e2f6b6f746c696e2f616e64726f6964782f636f6d706f73652f75692f77696e646f772f52656e646572696e675549566965772e75696b69742e6b74_knbridge70 + 143

at 9   UIKitCore                           0x1a5e810f7        <redacted> + 1527

at 10  QuartzCore                          0x1a52abe2f        <redacted> + 503

at 11  QuartzCore                          0x1a52ab9b3        <redacted> + 147

at 12  QuartzCore                          0x1a52b1bb3        <redacted> + 463

at 13  QuartzCore                          0x1a52ab1bb        <redacted> + 647

at 14  UIKitCore                           0x1a6167d3f        <redacted> + 35

at 15  CoreFoundation                      0x1a3c096b7        <redacted> + 27

at 16  CoreFoundation                      0x1a3c07eab        <redacted> + 355

at 17  CoreFoundation                      0x1a3c05d9b        <redacted> + 847

at 18  CoreFoundation                      0x1a3c05967        CFRunLoopRunSpecific + 607

at 19  GraphicsServices                    0x1e7efb4df        GSEventRunModal + 163

at 20  UIKitCore                           0x1a6078edb        <redacted> + 887

at 21  UIKitCore                           0x1a6078517        UIApplicationMain + 339

at 22  SwiftUI                             0x1a8a3f85f        <redacted> + 599

at 23  SwiftUI                             0x1a8a3f6a7        <redacted> + 159

at 24  SwiftUI                             0x1a865b9fb        <redacted> + 363

at 25  iosApp                              0x10465c46f        $s6iosApp6iOSAppV5$mainyyFZ + 39

at 26  iosApp                              0x10465c51b        main + 11

at 27  dyld                                0x1c7126d83        <redacted> + 2239

Process finished with exit code 134 (interrupted by signal 6:SIGABRT)
`

@kairon007 please could you tell me how to reproduce the error? Did you use the emulator or a device?

@ferranpons I use a real device and the app launches but crashes at the very start. Please let me know if you need any other info

@kairon007 ok, I'll check it on a device. Thanks.

@kairon007 I have upgraded the project to Kotlin 2.0.0. Please try to check if it's still crashing on start. Thanks!

@ferranpons  Works like a charm. Thank you. Eagerly waiting for the pro version when you release it


Connect to nodes through custom port different from the default port

Question：
Today I try to use this tool for collect the GPU status for another nodes, but the nodes ssh port has been changed port to 51255 ， so I use command as follow ：
# python3 -m gpustat_web --port 48109   node12:51255
Hosts : ['node12:51255']
Cmd   : gpustat --color --gpuname-width 25
Disconnected : node12:51255, [Errno -2] Name or service not known
[node12:51255] Disconnected, retrying in 5.0 sec...
======== Running on http://<IP_ADDRESS>:48109 ========
(Press CTRL+C to quit)
Disconnected : node12:51255, [Errno -2] Name or service not known
[node12:51255] Disconnected, retrying in 5.0 sec...
^C... Terminating the application
If I wanna to change ssh port for the nodes ，what should I do , Tks.

I'll need to implement this feature, allowing a syntax like <HOST>[:<PORT>].

Hi, how could we solve this problem now?

@ConanCui Implemented in 1c332581. Please try out and feel free to reopen if you find any issues.


[stable/openldap] fails to start on OpenShift 4, no obvious reason why

Describe the bug
Installing OpenLDAP in OpenShift 4.1 running in CRC VM, the pod cannot start.
Version of Helm and Kubernetes:
Helm 2.11.0
$ helm version
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}

OpenShift 4.1
$ oc version
Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0", GitCommit:"4a71fe6bf", GitTreeState:"clean", BuildDate:"2019-05-16T03:28:24Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+6569b4f", GitCommit:"6569b4f", GitTreeState:"clean", BuildDate:"2019-07-10T19:31:33Z", GoVersion:"go1.11.6", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/openldap
What happened:
The pod cannot start. Continually enters CrashLoopBackOff.
What you expected to happen:
The LDAP pod to start successfully and begin accepting LDAP API requests.
How to reproduce it (as minimally and precisely as possible):
Very simply:
helm template stable/openldap --name openldap | oc create -n ldap -f -
Here's some additional information.

First make sure I have the latest master branch of the chart:

$ git pull
Already up to date.
Current branch master is up to date.

Create a namespace for my LDAP resources:

$ oc create ns ldap
namespace/ldap created

Get the helm template yaml and create it - this deploys the LDAP resources:

$ helm template stable/openldap --name openldap | oc create -n ldap -f -
secret/openldap created
configmap/openldap-env created
service/openldap created
deployment.apps/openldap created

Confirm the LDAP pod is created:

$ oc get pods -n ldap
NAME                       READY   STATUS             RESTARTS   AGE
openldap-b64877c8c-sksm7   0/1     CrashLoopBackOff   1          11s

The logs show nothing but these two lines:

$ oc logs openldap-b64877c8c-sksm7 -n ldap
*** CONTAINER_LOG_LEVEL = 3 (info)
*** Killing all processes...

Yet, the pod continues to fail for some unknown reason - look at the status. CrashLoopBackOff - it just keeps trying to restart but fails with that reason:

$ oc get pod openldap-b64877c8c-sksm7 -o yaml
apiVersion: v1
kind: Pod
metadata:
  annotations:
    checksum/configmap-env: ae9582316c1d2931a77790a86837692dfff8a1bbc7a04faefb0d27453973309c
    k8s.v1.cni.cncf.io/networks-status: |-
      [{
          "name": "openshift-sdn",
          "interface": "eth0",
          "ips": [
              "<IP_ADDRESS>"
          ],
          "default": true,
          "dns": {}
      }]
    openshift.io/scc: restricted
  creationTimestamp: "2019-08-05T22:38:03Z"
  generateName: openldap-b64877c8c-
  labels:
    app: openldap
    pod-template-hash: b64877c8c
    release: openldap
  name: openldap-b64877c8c-sksm7
  namespace: ldap
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: openldap-b64877c8c
    uid: af8ff4cf-b7d1-11e9-835c-52fdfc072182
  resourceVersion: "413424"
  selfLink: /api/v1/namespaces/ldap/pods/openldap-b64877c8c-sksm7
  uid: af94e3c3-b7d1-11e9-835c-52fdfc072182
spec:
  containers:
  - envFrom:
    - configMapRef:
        name: openldap-env
    - secretRef:
        name: openldap
    image: osixia/openldap:1.2.4
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 10
      initialDelaySeconds: 20
      periodSeconds: 10
      successThreshold: 1
      tcpSocket:
        port: ldap-port
      timeoutSeconds: 1
    name: openldap
    ports:
    - containerPort: 389
      name: ldap-port
      protocol: TCP
    - containerPort: 636
      name: ssl-ldap-port
      protocol: TCP
    readinessProbe:
      failureThreshold: 10
      initialDelaySeconds: 20
      periodSeconds: 10
      successThreshold: 1
      tcpSocket:
        port: ldap-port
      timeoutSeconds: 1
    resources: {}
    securityContext:
      capabilities:
        drop:
        - KILL
        - MKNOD
        - SETGID
        - SETUID
      procMount: Default
      runAsUser:<PHONE_NUMBER>
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/lib/ldap
      name: data
      subPath: data
    - mountPath: /etc/ldap/slapd.d
      name: data
      subPath: config-data
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: default-token-x4jkw
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  imagePullSecrets:
  - name: default-dockercfg-cz88q
  nodeName: crc-rv4tg-master-0
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    fsGroup:<PHONE_NUMBER>
    seLinuxOptions:
      level: s0:c24,c4
  serviceAccount: default
  serviceAccountName: default
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - emptyDir:
      medium: Memory
    name: certs
  - emptyDir: {}
    name: data
  - name: default-token-x4jkw
    secret:
      defaultMode: 420
      secretName: default-token-x4jkw
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2019-08-05T22:38:03Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2019-08-05T22:38:03Z"
    message: 'containers with unready status: [openldap]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2019-08-05T22:38:03Z"
    message: 'containers with unready status: [openldap]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2019-08-05T22:38:03Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: cri-o://840ba55d52fa8c747328cb9d0fb2a362a7ea80ade50ff5a1d3a4f3e03cf28e7c
    image: docker.io/osixia/openldap:1.2.4
    imageID: docker.io/osixia/openldap@sha256:d212a12aa728ccb4baf06fcc83dc77392d90018d13c9b40717cf455e09aeeef3
    lastState:
      terminated:
        containerID: cri-o://840ba55d52fa8c747328cb9d0fb2a362a7ea80ade50ff5a1d3a4f3e03cf28e7c
        exitCode: 0
        finishedAt: "2019-08-05T22:44:03Z"
        reason: Completed
        startedAt: "2019-08-05T22:44:03Z"
    name: openldap
    ready: false
    restartCount: 6
    state:
      waiting:
        message: Back-off 5m0s restarting failed container=openldap pod=openldap-b64877c8c-sksm7_ldap(af94e3c3-b7d1-11e9-835c-52fdfc072182)
        reason: CrashLoopBackOff
  hostIP: <IP_ADDRESS>
  phase: Running
  podIP: <IP_ADDRESS>
  qosClass: BestEffort
  startTime: "2019-08-05T22:38:03Z"

Not sure whether the default image can run as non-root user or not, but the "lazy" workaround in your case of running in OpenShift should be to let the service account, default if not set, to run as anyuid:
$ oc adm policy add-scc-to-user anyuid system:serviceaccount:ldap:default


fix configuration class

Hi,
i have changed ApiKeys class to work everywhere using getenv function insteed of env function.
Maybe i'm wrong, but with env function for me SEOStats doesn't seems work.
Please let me know if this fix can be good.
Bye

Don't work


Failed to create kubeflow cluster preemptible instance or spot when given minMasterVersion because timeout

Hello 👋 This issue is about marking out two separate issues with the Kubeflow distribution.
Problem Statements
First, I'm trying to distribute the management cluster (there is no issue 1.24.X-Y) and Kubeflow (1.6.1) on GCP preemptible or spot instance via GitLab automated pipeline and able to deploy Kubernetes version 1.24 for management cluster and Kubernetes version 1.23 for Kubeflow without an issue but when I added preemptible or spot under the spec it doesn't create my nodes as a preemptible instance or spot.
For below nodepool.yaml I also tested spot: true and preemptible without taints.
common/crnm/nodepool.yaml
spec:
  location: LOCATION
  initialNodeCount: 2
  autoscaling:
    minNodeCount: 2
    maxNodeCount: 8
  nodeConfig:
    machineType: n1-standard-8
    minCpuPlatform: Intel Broadwell
    diskSizeGb: 150
    diskType: pd-standard
    preemptible: true
    taint:
    - effect: NO_SCHEDULE
      key: preemptible
      value: "true"
    oauthScopes:
    - "https://www.googleapis.com/auth/logging.write"
    - "https://www.googleapis.com/auth/monitoring"
    - "https://www.googleapis.com/auth/devstorage.read_only"

Secondly, when I added minMasterVersion pipelines stucks on this step, gives timeout after 60 mins.
common/cnrm/cluster-patch.yaml
spec:
  location: LOCATION
  minMasterVersion: '1.22'
  nodeVersion: "1.22"

Pipeline output:
1776 iampolicymember.iam.cnrm.cloud.google.com/kubeflow-vm-logging condition met
1777 iampolicymember.iam.cnrm.cloud.google.com/kubeflow-vm-policy-cloudtrace condition met
1778 iampolicymember.iam.cnrm.cloud.google.com/kubeflow-vm-policy-meshtelemetry condition met
1779 iampolicymember.iam.cnrm.cloud.google.com/kubeflow-vm-policy-monitoring condition met
1780 iampolicymember.iam.cnrm.cloud.google.com/kubeflow-vm-policy-monitoring-viewer condition met
1781 iampolicymember.iam.cnrm.cloud.google.com/kubeflow-vm-policy-storage condition met
1782 Waiting for computeaddress resources...
1783 computeaddress.compute.cnrm.cloud.google.com/kubeflow-ip condition met
1784 Waiting for containercluster resources...

/assign @gkcalat

Hi @archangelita! Thank you for reporting this.
Kubeflow of Google Cloud has not been tested on GKE above 1.22-1.23. In fact, we usually target the default version in the STABLE release channel.
Kubeflow on Google Cloud 1.7 will have support for GKE 1.24 (and maybe 1.25). The release date is scheduled around April 2023.
You can also try changing the GKE channel to REGULAR release channel, which has 1.24 as default.

Hello, I have also encountered that problem so I followed some of the steps, and then I successfully deployed to preemptible nodes.

Firstly I turned to remove-default-node-pool true in cnrm/cluster-path , because I would like to implement preemtible insance with our new node-pool.
Comment out default node pool configs in common/cluster/upstream/cluster.yaml. Its because we are removing default node pool.
So that I need to implement new node-pool so that, I have uncomment nodepool-example.yaml in common/cnrm/kustomization.yaml
Lastly you have to change serviceAccountRef, name in common/cluster/upstream/cluster.yaml and common/cnrm/nodepool-example.yaml . Because when you look up in cluster reference you will see external is the format for mail. Name is not for email.

Here are the files;
common/cluster/upstream/cluster.yaml;
apiVersion: container.cnrm.cloud.google.com/v1beta1
kind: ContainerCluster
metadata:
  clusterName: "PROJECT/LOCATION/KUBEFLOW-NAME" # kpt-set: ${gcloud.core.project}/${location}/${name}
  labels:
    mesh_id: "proj-PROJECT_NUMBER" # kpt-set: proj-${gcloud.project.projectNumber}
  name: KUBEFLOW-NAME # kpt-set: ${name}
spec:
  initialNodeCount: 2
  addonsConfig:
    httpLoadBalancing:
      disabled: false
  clusterAutoscaling:
    enabled: true
    autoProvisioningDefaults:
      oauthScopes:
      - https://www.googleapis.com/auth/logging.write
      - https://www.googleapis.com/auth/monitoring
      - https://www.googleapis.com/auth/devstorage.read_only
      serviceAccountRef:
        external<EMAIL_ADDRESS># kpt-set<EMAIL_ADDRESS>    resourceLimits:
    - resourceType: cpu
      maximum: 128
    - resourceType: memory
      maximum: 2000
    - resourceType: nvidia-tesla-t4
      maximum: 16
  releaseChannel:
    channel: STABLE
  location: LOCATION # kpt-set: ${location}
  workloadIdentityConfig:
    identityNamespace: PROJECT.svc.id.goog # kpt-set: ${gcloud.core.project}.svc.id.goog
  loggingService: logging.googleapis.com/kubernetes
  monitoringService: monitoring.googleapis.com/kubernetes

common/cnrm/cluster-patch.yaml;
apiVersion: container.cnrm.cloud.google.com/v1beta1
kind: ContainerCluster
metadata:
  name: KUBEFLOW-NAME # kpt-set: ${name}
  annotations:
    cnrm.cloud.google.com/remove-default-node-pool: "true"
spec:
  location: LOCATION # kpt-set: ${location}
  nodeLocations:
  - LOCATION # kpt-set: ${location}-b

common/cnrm/kustomization.yaml;
namespace: PROJECT # kpt-set: ${gcloud.core.project}
commonLabels:
  kf-name: KUBEFLOW-NAME # kpt-set: ${name}
resources:
# The default Google Cloud resources.
- ../cluster/upstream
- ../ingress/upstream
- ../iam/upstream
- gcp-services.yaml
- nodepool.yaml

patchesStrategicMerge:
- cluster-patch.yaml

common/cnrm/nodepool.yaml;
apiVersion: container.cnrm.cloud.google.com/v1beta1
kind: ContainerNodePool
metadata:
  name: KUBEFLOW-NAME-example # kpt-set: ${name}-example
spec:
  location: LOCATION # kpt-set: ${location}
  nodeLocations:
  - LOCATION # kpt-set: ${location}-b
  initialNodeCount: 4
  autoscaling:
    minNodeCount: 2
    maxNodeCount: 8
  nodeConfig:
    machineType: n1-standard-8
    minCpuPlatform: Intel Broadwell
    preemptible: true
    guestAccelerator:
    - type: "nvidia-tesla-t4"
      count: 1
    metadata:
      disable-legacy-endpoints: "true"
    serviceAccountRef:
      external<EMAIL_ADDRESS># kpt-set<EMAIL_ADDRESS>    workloadMetadataConfig:
      nodeMetadata: GKE_METADATA_SERVER
    oauthScopes:
      - https://www.googleapis.com/auth/logging.write
      - https://www.googleapis.com/auth/monitoring
      - https://www.googleapis.com/auth/devstorage.read_only
  clusterRef:
    name: KUBEFLOW-NAME # kpt-set: ${name}

After that configuration I hope your preemptible node will appear in Kubeflow cluster.


how to add Event OnKeyUp in TALEdit Component ？

how to add Event OnKeyUp in TALEdit Component ？

OnKeyDown/OnKeyUp not work under android, it's like this with their virtual keyboard and we can't do anything on this :( you need to use instead OnChangeTracking
please don't forget to star (like) this project of ghitub if you like it


Add support for infinite GridView.builder (with itemCount set to null)

GridView.builder(
  gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount: 2),
  itemBuilder: (context, index) {
    if (index < 10)
      return Text(index.toString());
    else
      return null;
  },
);

I expected GridView.builder to behave the same as ListView.builder i.e. scrolling past the last element before null is returned should not be possible.
But the following is thrown:

Reloaded 105 of 1547 libraries in 2.313ms.
flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following assertion was thrown during performLayout():
flutter: 'package:flutter/src/rendering/sliver_grid.dart': Failed assertion: line 227 pos 12: 'childCount !=
flutter: null': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      SliverGridRegularTileLayout.computeMaxScrollOffset (package:flutter/src/rendering/sliver_grid.dart:227:12)
flutter: #3      RenderSliverGrid.performLayout (package:flutter/src/rendering/sliver_grid.dart:545:35)
flutter: #4      RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
flutter: #5      RenderSliverPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:181:11)
flutter: #6      RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
flutter: #7      RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:406:13)
flutter: #8      RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1334:12)
flutter: #9      RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1252:20)
flutter: #10     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1496:7)
flutter: #11     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:765:18)
flutter: #12     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:346:19)
flutter: #13     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:701:13)
flutter: #14     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5)
flutter: #15     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1016:15)
flutter: #16     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:958:9)
flutter: #17     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:874:5)
flutter: #21     _invoke (dart:ui/hooks.dart:236:10)
flutter: #22     _drawFrame (dart:ui/hooks.dart:194:3)
flutter: (elided 5 frames from class _AssertionError and package dart:async)
flutter:
flutter: The following RenderObject was being processed when the exception was fired: RenderSliverGrid#bbf52 relayoutBoundary=up2 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
flutter:   needs compositing
flutter:   creator: SliverGrid ← MediaQuery ← SliverPadding ← Viewport ← IgnorePointer-[GlobalKey#8b00f] ←
flutter:     Semantics ← Listener ← _GestureSemantics ←
flutter:     RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#b1c7a] ← Listener ← _ScrollableScope
flutter:     ← _ScrollSemantics-[GlobalKey#a279e] ← ⋯
flutter:   parentData: paintOffset=Offset(0.0, 0.0) (can use size)
flutter:   constraints: SliverConstraints(AxisDirection.down, GrowthDirection.forward, ScrollDirection.reverse,
flutter:     scrollOffset: 2065.0, remainingPaintExtent: 837.0, crossAxisExtent: 717.0, crossAxisDirection:
flutter:     AxisDirection.right, viewportMainAxisExtent: 837.0, remainingCacheExtent: 1337.0 cacheOrigin:
flutter:     -250.0 )
flutter:   geometry: SliverGeometry(scrollExtent: Infinity, hidden, maxPaintExtent: Infinity,
flutter:     hasVisualOverflow: true, cacheExtent: 9.4)
flutter:   no children current live
flutter: This RenderObject has no descendants.
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: 'package:flutter/src/rendering/sliver_grid.dart': Failed assertion: line 227 pos 12: 'childCount != null': is not true.
flutter: Another exception was thrown: 'package:flutter/src/rendering/sliver_grid.dart': Failed assertion: line 227 pos 12: 'childCount != null': is not true.
flutter: Another exception was thrown: 'package:flutter/src/rendering/sliver_grid.dart': Failed assertion: line 227 pos 12: 'childCount != null': is not true.

[✓] Flutter (Channel dev, v1.7.11, on Mac OS X 10.14.5 18F132, locale de-DE)
    • Flutter version 1.7.11 at /Users/x/Desktop/flutter
    • Framework revision 43b03127d4 (2 days ago), 2019-06-26 23:27:39 -0400
    • Engine revision f3761ba8d0
    • Dart version 2.4.0

why do you not trying use itemCount

why do you not trying use itemCount

I have a big list that needs to be filtered. I can't get the length of the filtered list without iterating through the whole iterable.
But I would need the length of the iterable to use GridView with itemCount.
Omitting the itemCount and using a CachingIterable does give me pretty significant performance improvements, therefore, to remove UI Jank as much as possible I want to use GridView.builder without the itemCount property.

Any updates on this?

This issue still exists.

This feature is currently supported, closing as completed.


Confirm seed words screen:UI changes.

Adjust vertical heights so CTA is not hidden. screen shouldn't move when the keyboard comes up.

Don't need next on the keyboard when we have CTA.

@summikhan11  @cakesoft-swati  keyboard next button is fixed but can you please explain  Adjust vertical heights so CTA is not hidden. screen shouldn't move when the keyboard comes up.

@Pawan2792 check the screen recording.

Touch area should be large.
Adjust vertical heights so CTA is not hidden. screen shouldn't move when the keyboard comes up.

https://user-images.githubusercontent.com/62699947/173034209-72430bce-a3b7-44ec-8dcd-fb1f9a55ce8a.mp4

Verified this issue on dev app v2.0.80(485)


Consolidate Gateway resources and helpers used in tests

Currently, Gateway API-related tests typically start by creating a Gateway, waiting for the controller to mark it ready, and then proceeding with whatever they're actually doing (e.g. ensuring HTTPRoutes work as expected).
The code to handle this is copy pasta and can probably be replaced by setting up a standard Gateway/GatewayClass instance during suite setup and linking individual tests Routes to it. Tests that have unique requirements for their Gateways can always create their own, as multiple Gateways can coexist fine.
Migration away from pre-provisioned Gateways and actually spawning Kong instances in response to the creation of a Gateway object will affect this, but probably not significantly. We'd create a standard Gateway at the start of all tests, wait for an operator to create a Deployment for it, and use that for most tests. Snowflake tests would still create their own Gateway resource, but it'd result in an actual separate Kong instance, so they'd have to further look up its proxy Service.
Various Route types further have helper functions to check that they are linked to Gateway resources successfully. AFAIK the status subsections are identical, and the functions are largely type-agnostic. However, they currently use the single-type TCPRoute.Get() and similar, so we'd need to find some way to rip that out.
Unsure if we want to do this for the Gateway tests themselves, i.e. TestUnmanagedGatewayBasics() and such, but we should consider it when consolidating the code used for Route tests.

Removing the nice-to-have label because @mlavacca started working on this and it would otherwise be hidden from the board by default.