Downloaded CUPS 2.2.4

Downloaded and expanded Folder.
How do I install it so when I launch CUPS I get the newer version.
I do not see an installer in the folder.
Mac Sierra

im on ubuntu server and can't have the latest cups 2.2.4 becouse the developers didn't make .deb executable. I can't compile becouse i don't know how, and second when you compile you don't know where to put what to compile, in this case if i run make i read that if you don't say where it compile in different directory. So this is issue becouse when you need help you will not where cups has been compiled. So ubuntu users protest developers when make new program make executable too and separately source, becouse in the moment we are using 2.2.1 obsolete versions and in this case with ssl problem. If you didn't read, read here that i put this:
cups 2.2.1 ubuntu Unable to encrypt connection: A TLS fatal alert has been received. and much more problems with cups ubuntu server latest 17.04
https://github.com/apple/cups/issues/5058
I read that this problem is fixed in 2.2.4 so someone can break now in the server and robbery all information. ssl issues are big issues failing be resolved it mean this is not your computer.

hi guys. for this who use linux ditros i find that you can install the latest cups from here: http://ftp.de.debian.org/debian/pool/main/
Now quesitons. why ubuntu has called pool, when they need to call it new release. why ubuntu has put them in pool " in new release " and they directly don't put them that when peoples do apt-get update to tell them they have update, why ubuntu don't tell peoples that there exist pool " new release " that peoples can download and not run obsolete versions.  include A TLS fatal alert has been received. and much more problems with cups ubuntu server latest 17.04 is not fixed in 2.2.4, you need to create /etc/cups/client.conf and put this:
Encryption Required
SSLOptions DenyTLS1.0
whis this two you can open from mobile phone and it will be green bar, but after you enter in another menu, for example admin menu you will see insecure connection and inmediatelly will change on secure connection, now cups need to put http2 i will not tell why, if cups are real developers will know why. now cups come with cheap cypher i like to change cypher and it is not possible.  So if cups is like apache, then cups use apache version, yes guys you read cups use some apache 1 version, this mean
cups is insecure, becouse all attack of apache 1 " no apache 1 is not apache 2, apache 1 is apache 1 and apache 2 is the next version of apache " so if attacks had find in apache 1 then attackers can broke in apache 1 and this mean your server is compromised.

@GVCCbob The CUPS source code archive does NOT contain a macOS installer. While you can compile the CUPS source code on macOS, you cannot install it and still have a working system - code signing will prevent many of the system-supplied applications from working due to the changed libraries, and SIP (System Integrity Protection) would need to be disabled to overwrite the supplied libcups and other CUPS binaries. (For various reasons you can update programs installed to /usr/libexec/cups...) So sorry, but if you want a newer CUPS you'll need to wait for a macOS update containing a newer version of CUPS...


Shiny Gengar not loading

So gastly and haunter work fine but I evolved to gengar and it’s back to being purple :/

sorry for the late reply but I can not get this to happen for me which version and modloader of cobblemon are you using?


Bug - 383 - Disappearing keyboard due to the keyboard

Issue on iOS where the menu disappears when the keyboard is busy opening.
Example
This is an example where this happened (with "Slow Animations" option on in the iOS Simulator, to get a better view on what happens)

To reproduce the issue on an old version
Abort the screen while the keyboard is busy popping up.

I tested in the iOS simulator. Seems to work.


[Windows] focus and show fail when packaged with msix

Logged a bug here https://github.com/YehudaKremer/msix/issues/136

This should be the problem of local_notifier, which will be followed up in https://github.com/leanflutter/local_notifier/issues/15

@lijy91 seems to work after the update nice 🚀


chore: convert warn,err to debug

converts the warn and err level of eth-wire to debug.
all of these errors are logged in the network as well.

Debug sounds verbose, shouldn't it be trace? No strong opinions


多个cookie运行，每天都报错，只有第一个cookie能正常签到挖矿，第二个就报错

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "AxiosError: Request failed with status code 504".] {
code: 'ERR_UNHANDLED_REJECTION'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

建议您先调整一下执行自动化时间, 例如:北京时间上午07:30为"30 23 * * *"
juejin-helper/.github/workflows/auto.yml
name: Auto

on:
  schedule:
    - cron: "30 22 * * *" # 北京时间上午06:30


Repositioned google translate from top to footer

Description
I have moved Google Translate component, Which was present at top, to the footer section of website. This improves the UI of site, removing unecessary distraction from langind page.
Related Issues

Closes #695

Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]

Checklist

[X] I have gone through the contributing guide
[X] I have updated my branch and synced it with project main branch before making this PR
[X] I have performed a self-review of my code
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]
working fine in netlify deployment preview

@MastanSayyad Kindly check this

@Sourabh782 Great work!

Thanks @MastanSayyad 😊


Improve documentation and change resource allocation

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


Missing HINT property in TALText , TALEdit...

Hi @Zeus64
I'm converting my big App FMX from FMX To Alcinoe.
I have see the property HINT is not available in your components, now.
The main problem is not the white box is missing but i have more lines of code ( and Fmx forms ) where HINT property is used like a Tag property , with ShowHint set to False, for save information at runtime.
os:
Android / ios / Window.
Hint ?
Best Regards
Mauro Botta

Yes Hint is a bad approach for mobile app as it's impracticable on touch screen, this why it's was hidden in Alcinoe.
Do you need the hint as text container during runtime or at design time ?

Do you need the hint as text container during runtime or at design time ?
yes

If i remove the Remark for TALText in .pas source, work fine ?

Yes it's should work fine, especially that you use it only as a text container.


Improve site structure & content

Major changes in this PR:

Search input added to navbar
"Edit on GitHub" button added to documentation page navtabs
Pull docs navtabs out into a data file
Pull docs page out into a page collection
Auto-gen docs two-level hierarchical category navigation from data collection directory structure
Auto-gen docs article TOC from headers
Pull FAQs out into data collection
Factor all inline styles out into appropriate SASS files
Canonicalize page URLs for search engines

All links should be functioning properly now (and img alt properties added), therefore the CI build should pass. I updated the build process to pass "--assume-extension" to htmlproofer in order to support checking Jekyll's pretty URLs.
Finally, I will create a follow-on PR to document the docs page collection since ordering the files is slightly unintuitive due to the way Jekyll handles page collections as a flat array-like structure... and we can't build a nested map-like structure that supports hierarchies without plugins which GitHub Pages does not support.

Re: Travis, that's to be expected until this pull request is merged. It's looking for an external link to this GitHub repo on the gh-pages branch that is not there yet because it's added in this pull request. Once merged, those external link errors will disappear.

Adding cla: yes label, as the PR author is covered by CLA.


WIP revamp setting screen

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #1937
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

Can you share a screenshot of the revamped UI?

cc @ellykits @f-odhiambo @dubdabasoduba


Create PawnFi

Grant Application Checklist

[x] The application template has been copied, renamed ( project_name.md) and updated.

[ ] A BTC or Ethereum (DAI) address for the payment of the milestones is provided inside the application.

[ ] I have read and acknowledged the Terms and Conditions.

[ ] The software delivered for this grant will be released under an open-source license specified in the application.

[ ] The total funding amount of the project is below USD $30k for initial grant applications and $100k for follow-up grants.

[ ] The initial PR contains only one commit (squash if needed before submitting your PR).

[ ] The grant will only be announced once the first milestone has been accepted.

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

Thanks for the application, @pawnfidev. We will look into it as soon as possible.
Just curious, your website states PawnFi is live on Ethereum and Binance, but I only see a link to the test app. Is it actually live? On mainnet or a testnet?
Also, I don't see any blockchain or software development experience in your Github or LinkedIn profiles. Could you provide any? Are there any PawnFi parts open sourced yet?

Thanks for the application, @pawnfidev. We will look into it as soon as possible.
Just curious, your website states PawnFi is live on Ethereum and Binance, but I only see a link to the test app. Is it actually live? On mainnet or a testnet?

Pawnfi Testnet V2 is live on Ethereum Ropsten testnet and Binance Smart Chain testnet, the test link is https://test-app.pawnfi.com. Please log in via the test IDs to verify our demo product. Our next test version will be live in May, and Pawnfi public version is scheduled to be launched after July this year.

Also, I don't see any blockchain or software development experience in your Github or LinkedIn profiles. Could you provide any? Are there any PawnFi parts open sourced yet?

Please check the profiles of our other core tech-team members as follows:
Dirk Xu
• https://github.com/dirk-pawnfi
• CTO of Pawnfi, former tech leader at Yintech (NASDAQ:YIN)
• Has corporate experience in Fintech softwares development for more than 15 years
• Knowledgeable in distributed service oriented architecture, big data processing and massive service
• Proficient in Solidity & Rust & Golang & C++
Pawnfi has not been open-sourced yet, but if you need we can grant access for you to review it.
Please send an email to<EMAIL_ADDRESS>via your email of github account. And we will send the test ID and grant access of the private repo to you.

Hi David,

Sorry for the late response. Could you integrate this information into the application?

Done

You can give me (https://github.com/Noc2) access to your repositories.

Done

I also just sent you an email regarding the test id.

Replied with the test id

Regarding Non-Standard Assets, to which definition are you referring here, because ERC20, ERC721 and ERC1155 are standards?

While standard for ERC20, ERC721 and ERC1155 are actually the rules/ identifiers that how these tokens are created, the standard we are talking about is actually homogeneity. That is, all kinds of customized products or tokens are considered as Non-Standard Assets. No matter it is NFTs, LP certificates, or even derivatives, insurance policy, while the nature of assets are not the same among different holders, those assets are not “Standard” at all and PawnFi sees the pain point of assets holders: lack of price fetching mechanism and low utility.
In sum, no matter it is ERC20, ERC721 or ERC1155, or even the derivatives that built on top of it, PawnFi is acting as a solution to unleash its value, improve its turnover rate, and boost circulation as a whole.

What exactly are the functions of “crowd lending” and the marketplace?

In our crowd lending module, we developed two models: FCFS and Subscription. The aim of crowd lending is for NSAs which few reference prices on the market. Such NSA normally does not have high turnover rate in the market. By using crowd lending, Pawnfi can release the liquidity and improve visitability. For example, for the items in certain games, which never be collateralized or traded before, crowd lending can help owners to achieve the target fund raising outside of the gaming world. The interested participants can decide how much do they want to fund in this items and gain interest for returns. In short, crowd lending opens the border of collateralized loan and build a linkage between DeFi and NFT players.
To us, the marketplace is applied in many scenarios. From time to time, users may want to keep the ownership while lease out their usability to maximize the utility of their NSA. For example, instead of let LP tokens sit the wallet, owners can lease out their LP tokens and earn interests while lessee can participate certain LP events. Or users can stake their NSA in exchange for collateral loan that they can apply to their short term funding needs, while keep the ownership of NSA without worrying about ownership.

Are you aware of acala (https://github.com/AcalaNetwork/Acala/)? How is your solution different from them?

We heard about it but not very much. We focus on NSA which is the biggest difference.

And are you aware of the asset module?

Yes, but in Pawnfi Chain, we are working on the lending/leasing/selling for different assets like a pawnshop, not only just support asset types.
Hope our description is clear for you, if you have any question on PawnFi, feel free let us know.
Thanks

Thanks for the additional information. I just looked at the repository you shared with me, but it actually doesn’t contain any of the mechanisms you plan to implement as part of the grant as far as I can see it. At least I didn’t find anything related to lending, leasing or marketplace in the repo. It mostly seems to be based on some old sushi swap/Chef Nomi code. Could you integrate more information about the functions of lending, leasing or marketplace into the application itself? Did you already previously work on any rust/substrate based projects?
The UI, which you shared definitely looks nice. Did you develop it yourself and would it be also part of this grant?

Hi, David, we just updated a README file in the repo, and you can find the code structure there. We think it will help you know better about the mechanisms.

Which repo is this? Your Github org shows no public repos.

It's fully developed by ourselves, and it's part of the grant as well. But it will not be open sourced in the future.

I don't see a UI in your deliveries, but any work that is funded by the Web3 Foundation Grants Program must be open-sourced.

Hi, David, we just updated a README file in the repo, and you can find the code structure there. We think it will help you know better about the mechanisms.

Which repo is this? Your Github org shows no public repos.

It's fully developed by ourselves, and it's part of the grant as well. But it will not be open sourced in the future.

I don't see a UI in your deliveries, but any work that is funded by the Web3 Foundation Grants Program must be open-sourced.

Hi, team
About the github repo and test product, we have shared with @Noc2
The code will be open sourced after the product go live

@pawnfidev, could you provide a list of functions you are planning to implement in Deliverables 1-4 and a description of what exactly you want to do for D5?

Sorry for the very late reply and thanks for the additional information. It’s now a little bit clearer to me, but it’s still hard to follow and understand the benefits and details of your protocol based on your application. Especially for the rest of the committee, since they don’t have access to your github repository. For example what exactly will you implement, with each module? I personally also think that 27k for the development of the substrate modules with so little details and no visible prior experience with substrate is difficult to justify. I personally would be mostly interested in the UI at this stage, but this isn’t part of the deliveries at this stage and it seems you don’t want to open source it. Nevertheless I will already share the application with the rest of the committee.

Hi @Noc2 @semuelle  Thanks for your suggestions. Our team discussed it carefully and re-evaluated the workload. We updated a version of the deliveries and add more details of features.

Thanks for the update. I have a few additional comments/questions:
* Could you explain the following: “Pawnfi Chain will differentiate each identity within the encrypted network in order to improve transaction throughput and speed, and reduce transaction fees”?

The purpose of Pawnfi chain is to achieve functions such as leasing, lending and borrowing, appraisement, repayment and etc of Nonstandard asset on chain. Compared to smart contract, deployed the features on chain can have improved efficiency and lower gas fee to support our reliance on crowd intelligence.

* Could you explain why you want to use substrate modules? Maybe an ink! Smart contract would make more sense, especially since it seems you're deploying the same solution on different networks and you won’t optimize it.

All the available functions of Pawnfi are developed and tested rigorously based on EVM. For deployment purpose and long-term planning, we hope the functions we mentioned above (such as leasing, lending and borrowing, appraisement, repayment and etc) can be deployed on substrate modules and applied on other future projects as well. While using digital asset as collateral is a natural step for completed ecosystem, the readiness of PawnFi will shorten the development period and increasing the efficiency among other projects.

* I still think that the application is rather expensive, also given that you’re deploying it on multiple networks.

So far, our progress is steady and as expected. Pawnfi has already trusted by some investors and we have received their capitals for us to develop on other network. We hope we can get web3 support for us to expediate the develop based on Substrate.

* Could you compare your solution to Aave? Or are there any other similar solutions on ethereum?

First of all, while Aave, Compound and MakerDAO are focusing only on Collateral Loan for main stream coin, PawnFi’s vision is to unleash the liquidity for all the non-Standard asset like NFTs, Financial Derivatives or even LP certificate. By introducing different kinds of lending module such as Pool lending, Crowd Lending and Appraisement, we are able to target asset with different turnover rates. That is, Pawnfi not only can handle all types of mainstream assets lending that Aave/Compound can do in their pool lending, but also be equipped with the Non-standard-assets lending at Aave/Compound cannot realize in their current product form.
Secondly, many of the parameters in Pawnfi can be customized by the borrower. In addition to the flexibility of collateral assets, the borrowing period, interest rate and even repayment method can be freely selected or combined by the borrower. As we believe that the more flexibility we provide to the lending agreement, the more liquidly we can create for all types of assets.
Thirdly, not only for lending, one of the core features in PawnFi is Leasing. The current pain point for many market participants is that, how to create short term liquidity and increase asset turnover rate. For existing players, selling asset to gain liquidity means giving up potential gains; for new joiners, high entry cost due to soaring NFT prices is forming an invisible barrier. In this case, Pawn shop that equips with loan and leasing market is the best solution. While our inhouse module enables all kinds of assets with different turnover rate to be placed for collateral loan to create liquidity need from anyone in the market, leasing market not only serves as a Stepping stone for new players to get started w/o high entry cost, but increases turnover rate of Non-standard assets among the whole market. In sum, shot term liquidity generation and stable return will no longer be exclusive but can happen in parallel.
Last but not least, unlike other platforms that is limited to either Defi or NFT players, Pawnfi enables the broader asset types and is capable of grabbing the market shares.
Combined our different lending module like crowd lending/ pool lending and appraisement with leasing market, Pawnfi is becoming the fair price source for NSAs with low turn over rate. In long term, the cobination of Lending, Leasing and even our resale market in whole PawnFi ecosystem will attract core players not only asset holders, but also fund holders from Defi, who are rich in resources and capable of pricing asset to participate in liquidity generation and asset transfer.
Other similar solutions on Ethereum are like NFTX and NFTfi. However, PawnFi view differently on how the liquidity should be generated.
First of all, unlike other NFT launching and trading platform that is limited to NFT players, for Assets which is not suitable for high frequency trading, we believe Lending and leasing is the best way to fetch liquidity and bring in Audience from the whole blockchain.
Secondly, Non-Standard asset lending should not be P to P but should be P to crowd. As many of NSAs like NFTs are not common or with low turnover rate in the market, it is hard and inefficient to find a willing lender to match a random/ specific loan contract. For this reason, while Pool lending is too risky to define those lending parameters, Crowd Lending should be the best solution to such case. Via collective intelligence and willingness to lend, we can make the NSA collateral loan more efficient and more referable to forward lending practice in the market.
Thirdly, NFT should not always be divided into pieces. Unlike stocks and mainstream coins that its value can be easily identified, the intrinsic value of NFTs or NSAs often comes from its use case and meaning as a whole. Other than that, many of the NFT or NSA holders do not want to sell it but generate short term liquidity and asset use case because selling it means giving up long term capital gain. For this reason, a market combined with Lending and leasing will most likely meet their need and broaden their use case, while at the same time encourage them to hold their asset.

* Are you somehow related to following team: https://pawn.fi/

No we are not related at all, just happen to have the similar naming.

Thanks for the reply and detailed explanation. I will share your application with the rest of the committee. But  I’m still not sure how “identity” is related to “improve transaction throughput and speed, and reduce transaction fees”. I understand that there are advantages of using a pallet compared to smart contracts, but that doesn’t improve for example the “speed” of transactions. Also your explanation regarding smart contracts vs module, sounds like it would be better for you to actually rely on the existing solidity implementations and for example to use the evm module (see for example https://github.com/PureStake/moonbeam).

Thanks for the reply and detailed explanation. I will share your application with the rest of the committee. But I’m still not sure how “identity” is related to “improve transaction throughput and speed, and reduce transaction fees”. I understand that there are advantages of using a pallet compared to smart contracts, but that doesn’t improve for example the “speed” of transactions. Also your explanation regarding smart contracts vs module, sounds like it would be better for you to actually rely on the existing solidity implementations and for example to use the evm module (see for example https://github.com/PureStake/moonbeam).

Sorry for the confusion regarding to “identity” and “improve transaction throughput and speed, and reduce transaction fees”. Please discard these and allow me to rephrase our future plan here.
The purpose of Pawnfi chain is to achieve functions such as leasing, lending/borrowing, appraisement, repayment and etc. of Non-standard assets on chain. Comparing to smart contract, deploying these functions on Pawnfi chain can help us improve efficiency, lower gas fee and ultimately greatly benefit from crowd intelligence.
Another thing is, we have been working with Moonbeam for a while and our EVM version has already been rigorously running on Moonbeam Testnet. There is actually no conflict between EVM and substrate module.

At the current state of the proposal I will not be accepting this application, for the following reasons:

There is no demonstrable coding experience. The github profile you shared is practically empty and according to @Noc2 the private repo doesn't contain related code
The price is too high for the proposed scope. Some of the NSAs you mention don't yet exist in our ecosystem (such as LP certificates), so I'm not sure how you would cater for these in your design right now.
To the best of my knowledge, your definition of p2p vs crowd lending is mixed up and you're hence contradicting yourself here:

As many of NSAs like NFTs are not common or with low turnover rate in the market, it is hard and inefficient to find a willing lender to match a random/ specific loan contract. For this reason, while Pool lending is too risky to define those lending parameters, Crowd Lending should be the best solution to such case.

Actually pool lending is much better suited for environments with low liquidity, because you don't need to find an explicit buyer-seller pair for each trade.

As this application has been open for almost 3 months and hasn't received any approvals, I am closing it for now. Feel free to apply for another project in the future and thank you for your interest in the Web3 Grants Program.

As this application has been open for almost 3 months and hasn't received any approvals, I am closing it for now. Feel free to apply for another project in the future and thank you for your interest in the Web3 Grants Program.


"Logs" view cannot be scrolled, so views with many log files are unusable

The "Logs" view does not provide any scroll bars and does not respond to scroll wheel, etc. So if you load a lot of log files, you can't see entries that are far down the last. Nor can you remove them, unless you remove entries higher in the list so that the lower one becomes visible.

3.0.0-17 should fix it for you.


Locked TFTs are not appearing

Description
Locked TFTs are not displayed. currently i have multiple contracts that have been active for hours and their billing rate appeared in the contracts list . however my locked tftsTFTs are still at 0.
Screencast from 21-05-23 17:16:43.webm
and from the dashboard it can be seen that i have ~7 TFTs locked.

Should use feeFrozen instead of reserved

Verified, Devnet b6c6d97.
Locked TFTs are now reflect correctly.


Is there any way to add license data?

This tool is really fast and nice.
Is there any way to add license data?
Can this extracts the copyright text?

Thanks!

Is there any way to add license data?

Sure is. If you're using the API: https://docs.rs/askalono/0.4.2/askalono/struct.Store.html#method.add_license
If you're using the command-line tool, it only knows how to load a dataset from the SPDX license-list-data repository:
Load an SPDX license directory (see https://github.com/spdx/license-list-data/tree/master/json/details for format)

USAGE:
    askalono cache load-spdx [FLAGS] <DIR>

FLAGS:
    -h, --help       Prints help information
        --store      Store texts in cache along with match data
    -V, --version    Prints version information

ARGS:
    <DIR>    JSON "details" directory

It could learn to do more; I've just never quite prioritized that work myself. Open to options.

Can this extracts the copyright text?

askalono does not know how to do this at the moment, but I see you asked about this in #54 -- let's scope that there.

Thank you for your kind answer.
This question is solved so I closed this issue.
I look forward to the function for copyright text #54 .
Thanks and regards,
Soim


Feat/received api access overview

Description
This PR creates a new page Received OverviewPage which mirrors the Given OverviewPage for DelegatedApis.
To this end, it introduces a new file structure that simplifies naming.
It also implements use of backend calls to fetch delegations for a currently hardcoded party and displays them in the OveviewPage. This is done for both given and received OverviewPage.
As a small bonus, it also fixes an edge-case bug in search by cleaning search and filters when the search page is mounted (like on page changing)
For running this code, you will (as of now) need a particular branch of backend, (feature/changetoplatformregister) and testdata in the local database.
Related Issue(s)

#70

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Superb work 🤩


Restoring an old version is not allowed if the quota is exceeded

ownCloud Web UI 6.0.0-rc.8
Infinite Scale 2.0.0-rc.2+1c246bb3b Community
Steps:

admin creates space 10 bytes:
curl -k -X POST 'https://localhost:9200/graph/v1.0/drives' -u admin:admin -d '{"name":"marketing", "quota": {"total": 10}}' -vk
admin creates file.txt 8 bytes
admin reduse file to 4 bytes
admin creates new file 5 bytes
admin restores file.txt 8 bytes

Actual:

Expected: cannot restore a file because the quota is exceeded

@ScharfViktor Thanks for testing.
Expected: The file should be restored and the quota should be exceeded.
That is since a long time an ownCloud Core feature.
The product philosophy here is like "everybody who can write, should be able to restore under all circumstances, even if quota restrictions prevent it" Every write operation has the potential to harm existing data. In your case, overwrite the file content. The actor should be able to repair his damage in "self service". This reduces the number of helpdesk requests drastically as @hodyroff always tought me. (correct me if I am wrong)


Enable the RelWithDebInfo cmake build type

This change attempts to address issue #2220.  Please let me know if there are other complications reasons for avoiding a RelWithDebInfo build of HIP, as I have been using such a build in my own work and, to my knowledge, have not encountered any problems with it.
As for what is actually changed in this PR:
It modifies a check in CMakeLists.txt, which appeared to be the only location preventing a "RelWithDebInfo" build type.  I tested this change by building HIP using -DCMAKE_BUILD_TYPE=RelWithDebInfo, which compiled and installed successfully.  Running this build of HIP appears to cause no problems, either.

RelWithDebInfo would be a great default for all rocm packages, would be nice to get stack traces

RelWithDebInfo would be a great default for all rocm packages, would be nice to get stack traces

Closing this as the RelWithDebInfo cmake build type is enabled with the recent HIP versions and it can be verified from 4.1 onwards.


How to use it ?  such as , a little demo include training and predicting ,more than a just test part

Detailed Description

Context

Possible Implementation

Yeah, we are working on adding a demo for predicting with the model! That should be coming hopefully soon!


Update stable version in repo from 1.3.1 to 1.4.0

Think about update stable version to 1.4.0
Version: stable=1.3.1 (57 days old) => latest=1.4.0 (15 days old)
Installs: stable=310 (50.9%), latest=110 (18.06%), total=609
Click to edit

https://github.com/ioBroker/ioBroker.repositories/pull/1218


Packaging with npm serialport not including @serialport packages

Hi
I am trying to package using npm serialport and its dependencies are starting with @serialxxx. I do not see any issues in the build or warnings. However, during execution of the package it fails with below message. Am I missing anything to be included while packaging? And this is the command I use 'pkg -t node10-linux-armv7 ./bin/projectname'
Appreciate your help, Thanks in advance.
Thanks & Regards
Sudhakar Kandasamy
Could not locate the bindings file. Tried:
→<EMAIL_ADDRESS>→<EMAIL_ADDRESS>→<EMAIL_ADDRESS>→<EMAIL_ADDRESS>→<EMAIL_ADDRESS>→<EMAIL_ADDRESS>→<EMAIL_ADDRESS>→<EMAIL_ADDRESS>→<EMAIL_ADDRESS>

Closing as it is a duplicate and having a resolution @ Native addons in the documentation. Sorry about it.

@SVVijay1205 are you solved this issue?

Hi
Yes the issue is resolved by having the “bindings.node” file where the executable is placed.
If there is a better solution please let know.
Thanks & Regards
Sudhakar Kandasamy
From: EscolanoGarnica<EMAIL_ADDRESS>Sent: Friday, March 8, 2019 6:21 AM
To: zeit/pkg<EMAIL_ADDRESS>Cc: SVVijay1205<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [zeit/pkg] Packaging with npm serialport not including @serialport packages (#598)
@SVVijay1205 https://github.com/SVVijay1205  are you solved this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/zeit/pkg/issues/598#issuecomment-470895855 , or mute the thread https://github.com/notifications/unsubscribe-auth/AgJd_jGoKsjTM-_93BlabyraV1zKsQyQks5vUkeugaJpZM4ZlH3T .  https://github.com/notifications/beacon/AgJd_pkc8Gz4eWTKBC4Wo7flqtAmYGKuks5vUkeugaJpZM4ZlH3T.gif


HTML Button not Appear in the AR view for iOS Devices

Why does the HTML Custom button not appear in the AR view for iOS Devices?

On which browser did you test it? I just added the snippet below inside the model-viewer and everything works perfectly.
<button slot="ar-button" className="button_ar">           View in AR       </button>

actually, I'm trying to Develop WEB-AR.
test link : https://astronaut-d1.glitch.me/
It's completely working on Android Device ( only Chrome Browser) but some issues in iOS devices (safari,chrome) like html button (NEXT) not show on iOS Device for AR View.

AR on iOS is through the QuickLook native app, so it only gets your .usdz or .reality file. None of your HTML makes the jump; that's a feature unique to WebXR.


DAU reporting from 24h -> 2h

Task/Issue URL: https://app.asana.com/0/488551667048375/1206058566872873/f
Description
Increase frequency from 24h -> 2h
Steps to test this PR
QA optional, ensure that in logs work is scheduled

Current dependencies on/for this PR:

develop

PR #3946   👈

This stack of pull requests is managed by Graphite.


wrong implementation of WScale Layer

you just statically initialize scaled weight. But scale should be done in runtime
my correct impl based on original repo:
class WScaleConv2DLayer(KL.Conv2D):
    def __init__(self, *args, **kwargs):
        kwargs['kernel_initializer'] = keras.initializers.random_normal()

        super(WScaleConv2DLayer,self).__init__(*args,**kwargs)
    def build(self, input_shape):
        super().build(input_shape)
        kernel_shape = K.int_shape(self.kernel)
        std = np.sqrt(2) / np.sqrt( np.prod(kernel_shape[:-1]) )
        self.wscale = K.constant(std, dtype=K.floatx() )
    def call(self, input, **kwargs):
        k = self.kernel
        self.kernel = self.kernel*self.wscale
        x = super().call(input,**kwargs)
        self.kernel = k
        return x

Thanks

This seams to be too hard. I cannot get propper, not random, results with it.

ok, my mistake was that I've saved scaled kernel.


Laravel 5.4 support

Hi! I getting error on laravel 5.4.
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for silber/page-cache dev-master -> satisfiable by silber/page-cache[dev-master].
    - Conclusion: remove laravel/framework v5.4.12
    - Conclusion: don't install laravel/framework v5.4.12
    - silber/page-cache dev-master requires illuminate/contracts 5.0.*|5.1.*|5.2.*|5.3.* -> satisfiable by illuminate/contracts[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, v5.0.0, v5.0.33, v5.1.1, v5.1.13, v5.1.16, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4].
    - don't install illuminate/contracts 5.1.x-dev|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts 5.2.x-dev|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts 5.3.x-dev|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.1|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.13|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.16|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.20|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.22|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.25|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.28|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.30|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.31|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.41|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.1.8|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.0|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.19|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.21|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.24|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.25|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.26|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.27|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.28|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.31|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.32|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.37|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.43|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.45|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.6|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.2.7|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.3.0|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.3.16|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.3.23|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.3.4|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts 5.0.x-dev|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.0.0|don't install laravel/framework v5.4.12
    - don't install illuminate/contracts v5.0.33|don't install laravel/framework v5.4.12
    - Installation request for laravel/framework (locked at v5.4.12, required as 5.4.*) -> satisfiable by laravel/framework[v5.4.12].

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

Fixed in https://github.com/JosephSilber/page-cache/commit/073b5ef766ed8c630ad6232f87e69ca9f02f5530.


[explore]Error while rendering Time-series Table visualization

I'm unsure under what circumstances this is occurring but there are instances where the "Time-series Table" visualization results in a React error. Note the result set contains two rows and thus I wonder if there may be insufficient data for the visualization.
Expected results
The chart should render or show a meaningful error if there is insufficient data for the visualization.
Actual results
A React error is shown.
Screenshots

How to reproduce the bug

Create a "Time-series Table" visualization with a result set of two rows.
Observe the error.

Environment
(please complete the following information):

superset version: superset version
python version: python --version
node.js version: node -v

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

I wonder if there may be insufficient data for the visualization. i think so.
could you try setting no filter on time and see if there's still an error? @john-bodley

I wonder if there may be insufficient data for the visualization. i think so.
could you try setting no filter on time and see if there's still an error? @john-bodley

This is an insufficient data issue. Removing the time granularity circumvented the issue, however the visualization types needs to gracefully handle the case of insufficient data.

This is an insufficient data issue. Removing the time granularity circumvented the issue, however the visualization types needs to gracefully handle the case of insufficient data.

Right, we thought about changing the error message to more human readable. any other suggestions? @john-bodley

Right, we thought about changing the error message to more human readable. any other suggestions? @john-bodley

cc @eugeniamz

cc @eugeniamz


fix(typeahead): Fix shift tab

Stops the tab completion action from happening when shift key is also pressed.
Fixes #5493
Plunk with fix

LGTM


feat: add disconnect  ui and dropdown profile icon menu

implemente l'ui de deconnexion ainsi que le bouton en popover
closes #133

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


refactor(): remove no-border references

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

no-border references existed in the CSS for ion-footer and ion-header, and references existed in tests for ion-searchbar and ion-content
What is the new behavior?

There are no more references to no-border
Does this introduce a breaking change?

[x] Yes
[ ] No

Other information

What's the alternative here?

@brandyscarney You can use --border-width on the toolbar instead

Updated branch to add .ion-no-border class with usage in different frameworks


Asgard player not working

This player is missing "is_resolvable" flag .
Selecting either of the options  (SetResolveURL and Playmedia) does not work
kodi.log

Asgard, in TMDB Helper, RD only. Look at which player (addon), from a4k-openproject, is created for RD and modify it.


Performance and mvnd

Hey there,
I am looking into performance currently.
For example:
a simple 5 modules maven project build and install with maven finishs in 1.5s
with jnxplus  "nx run-many -t build" needs 9s
In productive usage I have a repository with more than 150 maven projects (most are very small) and the build time is 10 minutes. Tried to split up compile (is cached now) and install of jar, but it did not realy improve performance.
For me it looks like the hole startup process for each nx run needs too much time? Because of this I looked into mvnd and played around abit to maybe use it as a mvn alternative. It looked like to be faster.
Maybe you could introduce some kind of environment variable to be able to change mvn with mvnd more easily?
Best regards

Hi @shanon84
I never heard about mvnd.
Yes we can add an environment variable (or / and) option to the plugin (nx.json).
Since you know better than me. Can you explain the installation and the change to be made?

well, mvnd acts like a normal mvn cli. Only difference is the name. The installation is the same as for maven. windows: download zip and add to PATH variable. Linux/Mac: use sdkman.
Internally it starts a maven daemon to reduce rerun costs, if you run multiple maven commands after each other. This should (hopefully) reduce the costs for running multiple nx tasks depending on mvn commands.
Only bummer is, that there is no mvnd-wrapper currently.

So we need to deprecate NX_SKIP_MAVEN_WRAPPER and create a new environment variable with values mvn and mvnd ?

Here the change I am suggesting https://github.com/khalilou88/jnxplus/pull/1127

This is looking good. Thanks!

NX_MAVEN_CLI is published in v1.4.0

hey, I have tested it out (on different hardware. a slow laptop). Works like a charm. Here are the stats:
same 5 lib project as before. 3 parallel runs.
mvn: 27sec
mvnd: 17sec
native mvn directly: 5.3sec
So for everyone out there with performance problems: mvnd could be an alternative for you. Especially on a build server it could have a huge impact.


[CS] Remove unused use statements

The fix was applied with PHP-CS-Fixer rule no_unused_imports.
NOTE: I am confident of PHP-CS-Fixer tool, at the time of writing is a stable and reliable coding-standard fixer. no_unused_imports already accounts annotations and doesn't strip related imports.
But if you prefer to test this PR against a functioning travis, ping me as soon as you fix it and I'll rebase this PR.

All of these fixes are pretty much unnecessary, we would catch and fix all of these while applying our CS in upcoming days, just saying, no need to waste time here. :)

Some of the fixer I proposed today don't have a PHP_CodeSniffer counterpart, and I don't see a discussion on https://github.com/doctrine/coding-standard whether or not adopt also PHP-CS-Fixer.
Btw I'm just having fun spamming @Ocramius, but I'm sorry for other maintainers.

Btw I'm just having fun spamming @Ocramius

Don't worry, you are just a drop in an ocean of unread emails :-P

@Slamdunk discussion is happening in https://github.com/doctrine/coding-standard/pull/9

Some of the fixer I proposed today don't have a PHP_CodeSniffer counterpart

We may add/write them? ;) If not for PHPCS, then for PHPStan.

Btw I'm just having fun spamming @Ocramius, but I'm sorry for other maintainers.


Include activity from forked repos under certain cases

Describe the feature you'd like to request
While we should keep our default policy of excluding forks, there are examples of projects that have significant activity post-fork. Here is one such example. We should find a way to include post-fork activity under certain circumstances.
Describe the solution you'd like
A way of indicating in an OSS Directory YAML file that a repo is a fork and its activity (post-fork) should be included as part of the parent project's activity.
Describe alternatives you've considered
n/a

@ravenac95 something we should discuss ad explore what it might take to relink certain forks. This specific issue came up in in person convos today. This repo is a good example -- core OP infra that comes from a fork.

@ccerv1 technically we actually have all of this data now with the github archive. The one thing we haven't done is create models that map out the unique commits. That being said, depending on how the fork is maintained, that might be very difficult to impossible if the commit shas/authors change but the commit's contents stay the same. The other option is to use the commit message as the way to match but that's also a heuristic at best.
Thoughts on any of this? I'm curious if we close this out and consider it good enough? Otherwise we will need to start comparing fork diffs for some of the extreme cases.

Yep, I'm happy to close this out because we now have the ability to retrieve forked data and analyzed on it on ad hoc basis. I'll let you do the honors of closing it out and assigning a cost actual (if any)


Update logback-classic to 1.4.4

Updates ch.qos.logback:logback-classic from 1.2.11 to 1.4.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.2.11).
You might want to review and update them manually.
modules/tests/shared/src/test/resources/resolutions/org.apache.tika/tika-app/1.13

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback", artifactId = "logback-classic" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "ch.qos.logback", artifactId = "logback-classic" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Seems this requires Java > 8.


ResourceCustomizations is deprecated

Warning  DeprecationNotice  27m         ResourceCustomizations is deprecated, please use the new formats `ResourceHealthChecks`, `ResourceIgnoreDifferences`, and `Resource
Actions` instead.

oc describe of the cluster-wide argo instance gives the above deprecation notice. We need to fix this (in our common argocd.yaml)

Note that this becomes the reason for OutOfSync of the clusterwide argo app when using more recent gitops installations (seen with gitops-1.10 channel aka argocd 2.8.3)

I am not entirely sure if we're supposed to add it to the argo config object like done here https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cm.yaml#L132 or if we just patch the ArgoCD spec.
Additional reading https://www.github.com/redhat-developer/gitops-operator/issues/248
Seems that if we do something like https://www.github.com/IBM/cloudpak-gitops/pull/144/files it won't work, according to https://www.github.com/IBM/cloudpak-gitops/issues/40
We should also check if that healthcheck is still needed with later argo versions?

A super quick test with the following diff does not change anything (diff is still there):
diff --git a/common/clustergroup/templates/plumbing/argocd.yaml b/common/clustergroup/templates/plumbing/argocd.yaml
index 84643644..645cb6c0 100644
--- a/common/clustergroup/templates/plumbing/argocd.yaml
+++ b/common/clustergroup/templates/plumbing/argocd.yaml
@@ -14,26 +14,25 @@ metadata:
 spec:
 # Adding health checks to argocd to prevent pvc resources
 # that aren't bound state from blocking deployments
-  resourceCustomizations: |
-    PersistentVolumeClaim:
-      health.lua: |
-        hs = {}
-        if obj.status ~= nil then
-          if obj.status.phase ~= nil then
-            if obj.status.phase == "Pending" then
-              hs.status = "Healthy"
-              hs.message = obj.status.phase
-              return hs
-            elseif obj.status.phase == "Bound" then
-              hs.status = "Healthy"
-              hs.message = obj.status.phase
-              return hs
-            end
-          end
+  resource.customizations.health.PersistentVolumeClaim: |
+    hs = {}
+    if obj.status ~= nil then
+      if obj.status.phase ~= nil then
+        if obj.status.phase == "Pending" then
+          hs.status = "Healthy"
+          hs.message = obj.status.phase
+          return hs
+        elseif obj.status.phase == "Bound" then
+          hs.status = "Healthy"
+          hs.message = obj.status.phase
+          return hs
         end
-        hs.status = "Progressing"
-        hs.message = "Waiting for PVC"
-        return hs
+      end
+    end
+    hs.status = "Progressing"
+    hs.message = "Waiting for PVC"
+    return hs
+
   applicationInstanceLabelKey: argocd.argoproj.io/instance
   # Not the greatest way to pass git/quay info to sub-applications, but it will do until
   # we can support helmChart with kustomize

This patch seems to get us green:
diff --git a/common/clustergroup/templates/plumbing/argocd.yaml b/common/clustergroup/templates/plumbing/argocd.yaml
index 84643644..de83b53c 100644
--- a/common/clustergroup/templates/plumbing/argocd.yaml
+++ b/common/clustergroup/templates/plumbing/argocd.yaml
@@ -14,26 +14,27 @@ metadata:
 spec:
 # Adding health checks to argocd to prevent pvc resources
 # that aren't bound state from blocking deployments
-  resourceCustomizations: |
-    PersistentVolumeClaim:
-      health.lua: |
-        hs = {}
-        if obj.status ~= nil then
-          if obj.status.phase ~= nil then
-            if obj.status.phase == "Pending" then
-              hs.status = "Healthy"
-              hs.message = obj.status.phase
-              return hs
-            elseif obj.status.phase == "Bound" then
-              hs.status = "Healthy"
-              hs.message = obj.status.phase
-              return hs
-            end
+  resourceHealthChecks:
+  - kind: PersistentVolumeClaim
+    check: |
+      hs = {}
+      if obj.status ~= nil then
+        if obj.status.phase ~= nil then
+          if obj.status.phase == "Pending" then
+            hs.status = "Healthy"
+            hs.message = obj.status.phase
+            return hs
+          elseif obj.status.phase == "Bound" then
+            hs.status = "Healthy"
+            hs.message = obj.status.phase
+            return hs
           end
         end
-        hs.status = "Progressing"
-        hs.message = "Waiting for PVC"
-        return hs
+      end
+      hs.status = "Progressing"
+      hs.message = "Waiting for PVC"
+      return hs
+
   applicationInstanceLabelKey: argocd.argoproj.io/instance
   # Not the greatest way to pass git/quay info to sub-applications, but it will do until
   # we can support helmChart with kustomize

See https://github.com/redhat-developer/gitops-operator/blob/master/config/crd/bases/argoproj.io_argocds.yaml#L5675.
It seems to me that with gitops-1.10.0 we're automatically upgraded to v1beta of the ArgoCD CRD and so our old resourceCustomization gets ignored causing OutOfSync. The patch above seems to fix it, but we need to test if it works with our current gitops-1.8


Getting started with Struts in Java

NOTE: All 1st-time contributors should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community memebers to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error free).
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
Topic Suggestion
Enter topic suggestion here...
Pre-submission advice
By following all our pre-submission advice and reviewing our Resources folder, you will maximise your chances of your topic being approved.
We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner.
Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published (subject to vary depending on volume and/or backlog of articles).
Be sure to visit our Resources Page for tools, resources, and example articles that will help you propose and write a successful article.
Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Writing sample(s):
Include any links or writing samples - to help our team better gauge your writing quality.
Proposal Submission
Proposed title of article
Getting started with Struts in Java
Use keyword research to improve your article's SEO.
Proposed article introduction
Struts in Java is an open-source framework that is made by Apache. They are used to develop web applications which are usually based on servlet and JSP. It simplifies the development and maintenance of web applications by providing predefined functionality. It is based on a front controller, which means it has a controller in front of it which decides on which model request has to come or go. It provides an implementation of MVC architecture and it gives us pre-built classes for MVC that we can use/extend.
Key takeaways

What Are Struts
Components of Struts in Java
Creating a form-based application in struts
Steps to create Struts 2 Application

Article quality
In this article, I am going to discuss Struts by creating a new basic Struts Application with an example.
References
N/A
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Thank you for submitting your topic. @Jeff-mwangi
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀


Box05 do not start automatically after blackout

After a shortage of energy the computer BOX05 placed in the server room (responsible for in example TIC system) do not start automatically.
After turning it on the virtual machines working on it, did not start and the computer required another restart, for everything to function properly.

moved to oca-problems:
https://github.com/araucaria-project/oca-problems/issues/89#issue-1993666172


metashape-scripts - detect_objects.py error

Hi I want to use - metashape-scripts - detect_objects.py
I installed everything properly, built an orthophoto and marked the cars with the name you wrote.
When I run the code I get an error.

@PolarNick239

Hi, please share a project-reproducer to<EMAIL_ADDRESS>with steps to reproduce (f.e. "open project -> run script with such parameters ..."), so we were able to reproduce and investigate the problem. Probably small part of the project will be enough - just make sure that it can reproduce the problem.

hey ok
Can I attach a video of the process?

Yes, it will be helpful in addition to project-reproducer.

Hi, cv2 only accepts ASCII encoding, check encoding of your path in line 655

Hi I am also getting an error.
Software Version - 1.7
Script Compatibility - 1.7
Error Message -
'''
Metashape.CoordinateSystem.transform(p, self.chunk.shapes.crs, self.chunk.orthomosaic.crs)
2024-02-29 11:19:43 TypeError: object is not a sequence
'''
What I am doing wrong?

I haven't checked it yet. I can't change the version due to some official issues. If it doesn't work then I will try to upgrade.
Is there any solution for this version?

Please share a project-reproducer to<EMAIL_ADDRESS>with steps to reproduce (f.e. "open project -> run script with such parameters ..."), so we were able to reproduce and investigate the problem. Probably small part of the project will be enough - just make sure that it can reproduce the problem.

Also, please specify - do you have any shapes with attached markers in shape layers used for training zones?

Thanks @PolarNick239 !!
I contacted support from Agisoft. And after minute tweaks it seems to work well.
Now I am looking for importing the train data layer from outside and use it to train the model more precisely.
Can you help me with that?

I contacted support from Agisoft. And after minute tweaks it seems to work well.

Nice!

Now I am looking for importing the train data layer from outside and use it to train the model more precisely.
Can you help me with that?

Please tell me more details - what question do you have?

Well
Till now I selected the Train Zone polygon and drew rectangles inside as Train Data layer. (Around 42 objects). The results are pretty good. But i'd like train more accurately and more in quantity of objects. I have rectangles drawn already as geojson layer through some other software. Now I want to import all those rectangles into Agisoft for training as I did manually drawing before.
How can I do that?

You can use File->Import Shapes..., just make sure that your data is in compatible format (objects annotations are in different layer from train zone and so on).
Also, it is a good idea to evaluate your workflow with couple train objects, because it can take some attempts to refine workflow (to find proper format and so on), so don't annotate all objects until you ensured that your workflow works on small data.


UITableViewCell & UICollectionViewCell has former poster image when reused

Because Cell is reused, cell has data of previous useage
Text & CosmosView data changed immediately, but UIImageView has unmatching image (which is poster image of previous cell useage)
So this happens:

Fix by putting placeholder to posterImage when setData() functions called for cells
self.posterImage.image = UIImage(named: "img_placeholder")


Fix broken link

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

Verified the link works https://github.com/Microsoft/PowerBI-Developer-Samples/tree/master/User Owns Data/integrate-web-app
#sign-off

@JasonWHowell: I'm sorry - only the author of this article, @mamccrea, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Why does the Asset Source option only show when dev mode is true?

And the associated errors here:
https://github.com/boboldehampsink/import/issues/133


fixed showing choices of list,tuples and set type annotations

fixed showing choices of list,tuples and set type annotations when the annotation contain single type
for example list[Literal["a","b"]]

Codecov Report
Attention: Patch coverage is 80.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 96.29%. Comparing base (ea3528d) to head (f862d9d).
Report is 1 commits behind head on main.

Files
Patch %
Lines

cyclopts/help.py
80.00%
0 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
- Coverage   96.45%   96.29%   -0.17%
==========================================
  Files          16       16
  Lines        1750     1754       +4
  Branches      442      444       +2
==========================================
+ Hits         1688     1689       +1
- Misses         29       30       +1
- Partials       33       35       +2

Flag
Coverage Δ

unittests
96.18% <80.00%> (-0.11%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@OrHayat I made some slight changes to a few of your tests, please let me know if you agree with the changes or if you believe the behavior should be different. Afterwards we can merge this.

sure u can merge that whenever you want

this has been included in v2.4.1


[Feature Req] Reduce Polling Interval (Customizable) to get Faster Updates

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Hi,
So I use HA as a monitoring dashboard to see my current Spotify playback and lyrics display, but all the control is done via my Windows laptop.
As I understand from the docs and from testing, this integration polls only every 30 seconds, so it's slow to receive updates when not used for direct control.
I was using a different version earlier: https://github.com/hokiebrian/spotify_plus, which had fast polling (once every 3 seconds I believe), and updated very quickly.
So I request you to please consider implementing a customizable polling interval. I would be okay with a 3-5 sec poll, and I think this would still be enough to fall within Spotify API's rate limits.
Thanks.
Describe the solution you'd like
Customizable polling interval
Describe alternatives you've considered
I've looked at Spotify official integration (too slow), and a diff version of Spotify Plus which no longer works.
Additional context
Explained in my initial message.

Okay so I was able to temporarily resolve this by changing SPOTIFY_SCAN_INTERVAL:int = 30 to 4, and it works snappily now.
However a configurable option would be better since I guess this would be overwritten by the next integration update, so I'd have to keep modifying it.
Also, is there any way to turn off the 'Power' symbol in the Media Card?

This looks a bit weird to me.
Or simply disable the Power option from the integration? I have an automation that always keeps it in ON status since I don't need to switch it OFF ever. Thanks.

@AnshulJ999
I have had several requests for a configurable polling interval, so I decided to make it happen.  It will be available with the next release.  The allowed value for the polling interval will be in the range of 4 - 120 seconds.  In final stages of testing now.
As for the Power button ...
There are a few reasons why the integration supports the turn_on / turn_off features:

The Spotify Web API will not be queried when the media player is turned off - this is by design. It reduces traffic on your local network, as well as the extra load placed on Spotify Web API servers (and your Home Assistant instance) that service the request.

Executes the Turn On Script option (if specified) when the player is turned on.  This option allows you to specify a script that will be executed when a turn_on service request is made to power on the integration.  The script can be used to prepare the audio output device(s) (e.g. speaker, AV receiver, etc) for playing Spotify Connect Player content.

Executes the Turn Off Script option (if specified) when the player is turned off.  This option allows you to specify a script that will be executed when a turn_off service request is made to power off the integration.  The script can be used to shut down the audio output device(s) (e.g. speaker, AV receiver, etc) after playing Spotify Connect Player content.

Have you checked out the SpotifyPlus Card media player?  Just thought I would make you aware in case you have not.
Will let you know when the above changes are released.

Can you give me some more details on what parts of the card you would like to style?  I have some downtime over the holidays and would like to add more theming support.


Thumbnails

[ ] Specify standard sizes (FB, Twitter, our landing page)

[ ] Get Thumbnail for our landing page

[ ] OTher issues?

We need a target thumbnail size b/c twitter , FB have different rules. Force compliance on size.
Consider: Make sure landing page thumbnail sizes are compatible.

Check file size and pixel dimensions - max and min?

https://developers.facebook.com/docs/sharing/best-practices

Use images that are at least 1200 x 630 pixels for the best display on high resolution devices. At the minimum, you should use images that are 600 x 315 pixels to display link page posts with larger images. Images can be up to 8MB in size.

https://dev.twitter.com/cards/types/summary-large-image

Images for this Card should be at least 280px in width, and at least 150px in height. Image must be less than 1MB in size.

biggest image that would fit twitter is a little under 600x600 px, which isn't ideal for facebook.
Read about pixels here: http://shutha.org/node/796

@jiwalker-usgs should a publisher for this do anything with the cards in the html?  Or just check the dimensions?

I think the publisher will mostly be moving files around and deciding on naming, but it would be useful to include "compliance" as part of that to verify that images meet the specs.


Add example for nested modules

Hi!
I am writing an application and would like to split my code into different modules to keep it organized.
For my use case, the user can press a button who's logic lives in "app.py" with its own ui and server. Clicking the button will open a modal who's logic lives in its own file with its own ui and server, the modal introduces new buttons and each button has its own logic in their respective files with their own ui and server components.
I can get the modal working, but when I go one layer deeper i can't seem to get it to work; nothing happens when the buttons are clicked.
I guess I am confused about how the namespace is resolved/how i should handle IDs and found the documentation lacking for more complex architectures.
Any chance we could add an example for nested modules? In the meantime it would really help me if someone could give a code example of how i could get this to work.
Thanks in advance!

Hi @ME-researchgroup! Do you think you could create a small example using the pattern you're trying to get working? It could be a question of getting the nested modules set up correctly, or it could be an issue with the modal logic.

Hi, is there any update on this? I am having similar problems creating nested modules. Specifically, I don't really know where to put the server functions of the sub-module. I tried to create it in the parent modules but it the server function requires reactive input and shiny complained about not having a reactive context when the app starts.


Remove bundled-in dependencies

Some files in the docs folder are hard-bundled dependencies. They should instead be built/copied.
docs/javascripts/jquery.min.js
docs/params.json
docs/stylesheets/print.css
docs/stylesheets/pygment_trac.css
docs/stylesheets/stylesheet.css

Fixed in #848


Avoid throwing on bad data. Return undefined instead.

This was throwing when the initial object passed in is undefined.
deepval(undefinedVariable, 'a.b.c');

And is also throwing when a key in path is null. For instance if file is null in:
deepval(objectWithMostlyValidData, 'image.file.key');

In both cases, undefined is returned with this change.

Thanks @jimmybyrum. I've ended up implementing it as a separate commit (https://github.com/diffsky/deepval/commit/49730f8b8cb518f4d7042bf8989758a1f616a499) as I also updated eslinting approach.
I've published as a 3.0.0 release, given the change in behaviour.


Desktop UI broken by overflow-x: scroll;

This is a...

[ ] Feature Request
[X] Bug Report

Problem:
There is an extra gray bar underneath the secondary nav and search box when using Chrome desktop. I'm seeing this:

If you compare the two deploy previews:

https://deploy-preview-10071--kubernetes-io-master-staging.netlify.com/docs/home/?path=users&persona=app-developer&level=foundational
https://deploy-preview-10072--kubernetes-io-master-staging.netlify.com/docs/home/?path=users&persona=app-developer&level=foundational

It seems to change in PR #10072 .
Proposed Solution:
If it turns out to be a desktop vs mobile issue, then target overflow-x: scroll; to just mobile devices.
Page to Update:
https://kubernetes.io/docs/home/?path=users&persona=app-developer&level=foundational

/assign @tnir
https://github.com/kubernetes/website/pull/10072#issuecomment-431521375

In fact, I would love to take this up :smile:

@jamesgeorge007 Go for it! 🚀

@chenopis Thanks. With Chrome on Windows, you might see it. With Chrome, Firefox, and Safari on Mac, I don't see any bar there.

@chenopis Thanks. With Chrome on Windows, you might see it. With Chrome, Firefox, and Safari on Mac, I don't see any bar there.

Just for clarification, I'm using Chrome on a Mac and I do see it.

After the conflicts were resolved in PR #10688, the fix no longer worked in the preview build. Consequently, even though that PR was merged, I still see the problem on the website.

/cc @jamesgeorge007

@chenopis The change doesn't seem to have reflected within the website on using chrome developer tool.
How to tackle this issue?

@chenopis I used node-sass to compile down sass to css which didn't work as intended. I had submitted another PR resolving the issue :+1:
Sorry for the trouble


Don't refresh the browser so much on log-view

Maybe with some AJAX-candy.

still relevant?

yes, at the moment we have a simple refresh of the whole window. We have to stay as hip and modern as our new owl in the logo suggests!

covered by #197


Add guild management base models

Implement models for games, guilds, accounts, and characters.

Restarting the app after some experimentation.


realpath: command not found

Using the install script command on macOS Sierra version 10.12.3 (16D32)

I was able to fix by installing coreutils via homebrew brew install coreutils

Strange… Just curious: do you have Xcode and command line tools installed?

I think so?
here is the output of xcode-select -v: xcode-select version 2347.

Anything else I should run to help out here?

Sorry I lost track of this @matsilva! I don't have a clean machine to test this on but will add something to the README in the time being!

@warpling no worries. Wasn't really a crisis.

Emojis are always a crisis, Mat. 🚨

Happened to me :(


try to change style

Purpose/implementation Section
What changes are being implemented in this Pull Request?
Trying to change style to match ITN style
What was your approach?

copied the _output.yml and index.Rmd files from style-sets/itcr/
copied the files from style-sets/itcr/copy-to-assets/ to assets.

What GitHub issue does your pull request address?
Automatic issue #2

Yeah, this repo needs an update. There's no download of the course available for the repo
@carriewright11

@carriewright11 thanks to Candace, we sent this repo a sync which I merged to main and which I then merged to this branch, I can verify that the style updated successfully with the downloadable render preview


empty fails in nightly fuzz runs

We sometimes see failures with an empty fail report, as in:
Isolate (/b/s/w/itTbo578/dart_fuzzYMJHUK) FP : JIT-O3-ReleaseIA32 - JIT-noVFP-ReleaseSIMARM: !DIVERGENCE! 1.15:2617449246 (ResultCode.error vs ResultCode.success)

fail1:

Most of the time these don't reproduce locally. We should find out what those are, probably with some more elaborate logging.

Another example:

Isolate (/b/s/w/itxHXNaV/dart_fuzzFFMSIM) FP : KBC-INT-ReleaseX64 - KBC-INT-DebugX64: !DIVERGENCE! 1.15:2418783284 (ResultCode.error vs ResultCode.success)

fail1:
910343936

Doc on exit codes in Dart:
https://api.dartlang.org/stable/1.10.1/dart-io/Process/exitCode.html

Still happening:
NO-FP : JIT-DebugX64 - JIT-O3-DebugIA32: !DIVERGENCE! 1.16:669171839 (ResultCode.success vs ResultCode.error)

fail2:
1550122496
throws
....

FP : JIT-ReleaseX64 - KBC-CMP-ReleaseX64: !DIVERGENCE! 1.16:3479128508 (ResultCode.success vs ResultCode.error)

fail2:
451638528

NO-FP : JIT-DebugSIMARM - KBC-MIX-ReleaseX64: !DIVERGENCE! 1.16:571594142 (ResultCode.success vs ResultCode.error)

fail2:
956745984
false
throws
....

The re-run mechanism works!

Isolate (/b/s/w/it5ye5SS/dart_fuzzZQJAVP) FP : JIT-ReleaseSIMARM64 - KBC-CMP-O3-DebugX64: !DIVERGENCE! 1.16:2550338632 (ResultCode.success vs ResultCode.error)
fail2:
64528128
Commencing re-run ....
No error on re-run

The good thing is that we now have less false divergences to look at. However, I am still a bit uncomfortable about ignoring all fails that succeed the second time around, since we may miss non-deterministic bugs in the VM/compiler. So let's restrict the rerun to exits codes outside the [-255..255] range.


Feat: mobile store

Add protected store with zustand and Expo SecureStore (with FaceID authentication)
Add persisted store with zustand and Expo SecureStore (without requiring authentication)
Add temporary store with zustand for client side non persistent data, currently a placeholder.

Decided to separate those in 3 separate stores as these mostly don't depend on each other and it's easier to apply middleware on separate stores, rather than on slices.
NOTE: Had to patch the zustand v4 package with pnpm patch because metro doesn't properly support ESM yet. We are going to remove the patch as soon as metro supports ESM properly or zustand changes the package.json to support React Native properly. (which probably should happen in zustand v5)

Decided to separate those in 3 separate stores as these mostly don't depend on each other and it's easier to apply middleware on separate stores, rather than on slices.

Would love to see in this PR how we can use devtools. Doesn't making 3 separate ones make this harder?

Great work on this! I added some thoughts but I trust your judgement

This is a great start @edgarkhanzadian, requesting changes only because I believe we should continue discussions before merging. Changing persisted state later is a huge headache, and requires dealing with data migrations etc.
The current solution mixes together the concepts of mnemonics and xpubs which I think would be a mistake. I've thought a lot on this making state decisions in extension, and there's a lot to be learnt from Ledger IMO.
Conceptually, we're dealing with keys and accounts. A software mnemonic, and a Ledger device, are effectively the same data exposed differently. In software we have the whole key and can make near infinite accounts. Ledger devices hide the key, and expose account-level xpubs.
I think it'd be a smart to handle software accounts with the limitations of Ledger devices. This doesn't have any practical implications as far as what we can do with software wallets, but it allows us to manage the state in a uniform way.
Wallets represent the top level keys or devices. Accounts are maintained separately, and reference their respective wallet by public key fingerprint.
Using a derivation path based naming, like Ledger policies, allows us to keep a flat data structure. Otherwise we'd need to nest or divide data by, accounts, networks, keys etc.
This might look something like:
// Suggestion 0
{
  "wallets": {
    "ids": ["publicKeyFingerprintA", "publicKeyFingerprintB"],
    "entities": {
      "publicKeyFingerprintA": {
        "type": "software"
      },
      "publicKeyFingerprintB": {
        "type": "ledger"
      },
    }
  },
  "accounts": {
    "ids": [
      "[publicKeyFingerprintA]/0'/0",
      "[publicKeyFingerprintA]/0'/1",
      "[publicKeyFingerprintB]/0'/0"
    ],
    "entities": {
      "[publicKeyFingerprintA]/0'/0": {},
      "[publicKeyFingerprintA]/0'/1": {},
      "[publicKeyFingerprintB]/0'/0": {},
    }
  }
}

Curious to hear everyone's thoughts on this.

I think it's good to leverage your experience with the extension and also if we handle things according to the limitations of ledger that will result in a more uniform approach with little implementation differences. Wallets will just have a different type


[azeventhubs] Processor Load Balancer algorithm can lead to massive partition re-allocation

Bug Report

https://github.com/Azure/azure-sdk-for-go/blob/6e61c5ea1c948e54cbf69f8e0876468df7843065/sdk/messaging/azeventhubs/processor_load_balancer.go
SDK version: github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs v1.0.3
go version go1.22.0 darwin/amd64

When running 80 consumers against one 100-partition EventHub I noticed that sometimes there is a sudden massive rebalancing of the partitions, which I confirmed from that log:
[1fa4695c-7ada-4b28-6f78-098d54edc247] claimMorePartitions: true, owners: 80, current: 0, unowned: 0, expired: 0, above: 42

The issue is that under load this also create a massive swing in throughput for a few minutes until things stabilize again. Interestingly this kind of event also happened when no load was there.
At my current stage of investigation I think it's related to that line:
https://github.com/Azure/azure-sdk-for-go/blob/6e61c5ea1c948e54cbf69f8e0876468df7843065/sdk/messaging/azeventhubs/processor_load_balancer.go#L178
and in particular the len(groupedByOwner[lb.details.ClientID]) part of the condition. It looks like even a single consumer added (so with 0 current partition owned) would de-allocate all the owners owning maxAllowed partitions, which could be a lot. Could there be a better algorithm that would be more surgical in its partition re-allocation? I'll spend some time to think about it as well.
Tagging @richardpark-msft as you have been touching that area recently. Thanks

Ooh, this is very interesting. So the recent change I made was to fix another issue, where you'd end up with a new consumer inadvertently getting starved out because it didn't want to pick off extra partitions.

It looks like even a single consumer added (so with 0 current partition owned) would de-allocate all the owners owning maxAllowed partitions,

These are only candidates for stealing - the new consumer isn't going to take all of those available partitions, just one (randomly). This is going to lead to a transition period for the affected consumer and the new consumer, but this is by design.
With all of that said, there could always just be a bug in the way I'm doing it! The general approach for a consumer is:

Check to see how many partitions you should have (total partitions/check # of active owners)
If you don't have the minimum number (ie, your fair share) then find candidate partitions to steal (expired, unowned, 'extra' partitions)
Attempt to take ownership

Step 3 will always destabilize some consumers during the time when it's taking over the partition.
We have some methods you can try out if you want to have more control over how/when the acquisitions happen:

You can set a static InstanceID per consumer - if the reason you had a new consumer start up is because an old one died setting a deterministic InstanceID will allow it to pick up the old partitions immediately, rather than having to wait for them to expire. InstanceID doc
You can switch balancing strategies to via LoadBalancingStrategy  to minimize disruption link. We have two strategies currently - ProcessorStrategyBalanced and ProcessorStrategyGreedy.

Balanced makes it so the processors only acquire a single partition per attempt. This can lead to longer times for a processor to become balanced, but spreads out the disruption other processors a bit.
Greedy attempts to grab all of it's partitions at once. This favors the acquiring processor and can lead to more disruption at once, but faster balance over time.

You can write your own load balancing strategy - these are pluggable. It's not "easy", but if you have a unique situation tweaking the algorithm might make the most sense.

If you can tell me a bit more about your situation I'm happy to keep talking about it. Small changes could yield big dividend!

Thanks for the quick reply and explaining further the algorithm. I did miss that those were only candidates for stealing. I will immerse myself further in the algorithm and try to match that to the logs I have and see if I can pinpoint a particular issue.

Based on your guidance and carefully reviewing the logs I don't think it is an issue with the load balancing algorithm in itself anymore, but it's still related to that area.
I captured the issue on a simpler set up with 32 partitions and 10 consumers. Around the same time 9 of the consumers were detected as expired by the only "survivor" (see owners: 1)
4:03:05.046 PM  [40a5703c-f756-41c8-78cf-010f83bd638d] claimMorePartitions: true, owners: 1, current: 4, unowned: 0, expired: 28, above: 0

it then started to claim 1 by 1 partitions as expected. Then I looked at the logs of those other consumers and first thing is that they were all still alive and receiving events just fine (I can see metrics for those). The issue with those is that for all 9 of them around the same time I see the log
4:02:12.978 PM [9119402c-3aaf-4c48-6187-5e26210cb419] Listing ownership for pbernier-premium.servicebus.windows.net/test-32-partitions/xxxx

and normally this log is followed by a log claimMorePartitions: X, owners: X, current: X, unowned: X, expired: X, above: X within ~20ms. But in this case that log came approximately ~3min later. That means that ownership was not refreshed in the checkpoint store for that time and considered expired after 1 minute. Then when that log came in after 3 minutes, they all restarted to claim ownership again.
I am using the built-in Azure blob storage checkpoint store. What seems most probable is that an issue on blob storage around that time caused that line to hang for 3 minutes. Note that the consumer never errored, nor did it get restarted at any time, it just eventually recovered when that blocking call eventually returned.
What I'd like to suggest is to add a deadline and/or retries to that lb.checkpointStore.ListOwnership. It's likely that if that faulty call was canceled and retried a few second later it would have gone through and would not have lead to a complete reshuffling of partitions. I am thinking the deadline should be equal to ownershipUpdateInterval as it doesn't make much sense to wait from checkpointStore longer than that. Basically I think we can improve on the recovery process here. Let me know if that makes sense.

I continued further the investigation here with a lot of extra logging, I confirm that the root cause is the Azure Blob storage checkpoint store sometimes (every hour or so on average) hang for 3 minutes (it's always 3 minutes +/-10s, I doesn't look like a random value) before eventually succeeding. It can happen on any type of calls, if it's ListOwnership or ClaimOwnership then the result is failure to refresh ownership, so it get stolen by another consumer and lead to a reshuffling of partitions (what I initially opened this issue for), but it can also happen for checkpointing methods, and in this case it can block the processing of data while we wait for the checkpoint to be saved. While I understand it's normal for networking calls to occasionally fail, it struck me as odd that it happens so often, and always the 3min hang before succeeding.
Ultimately I was able to completely mitigate the issue by adding a timeout to the container client used by the blob checkpoint store:
	containerOpts := &container.ClientOptions{
		ClientOptions: policy.ClientOptions{
			Retry: policy.RetryOptions{
				MaxRetries: 4,
				TryTimeout: 10 * time.Second,
			},
		},
	}

This solves the issue specifically for Azure blob storage checkpoint store. I still wonder if that issue should be universally mitigated by having timeout/retry within the Processor itself. Also if you have any idea where that 3 minute hang for the calls to blob storage could be coming from, let me know :)

@PaulBernier, as usual your responses do not disappoint. :)
There are some configuration items that sometimes get set that can have detrimental effects on our performance with blob stores. Basically, you should NOT enable soft delete or blob versioning when using the storage as a checkpoint store. link.
It can cause performance issues very similar to this.
If you don't have those enabled, then our next step is to file an Azure support ticket. Support can look at your actual storage instance, which should provide more information.

I still wonder if that issue should be universally mitigated by having timeout/retry within the Processor itself.

You've mentioned two spots that are vulnerable when Storage slows down.
Area 1, that's inside of the Processor's load balancing loop, would need a reasonable timeout per-round. When it hangs it'd be nice to return an error so you have some idea something is going wrong and we don't provide a way to limit it. I'll need to think a bit on how we'd want to expose that - my first thought was we could, as I believe you mentioned earlier, try to derive it from what we consider the maximum time for a "round" of load balancing.
Area 2, where you're updating a checkpoint, does allow you to provide your own timeout via the context parameter and that's idiomatic to our SDK, in general:
ctx, cancel := context.WithTimeout(parentCtx, time.Minute)
defer cancel()
if err := partitionClient.UpdateCheckpoint(ctx, events[len(events)-1], nil); err != nil {
  return err
}

I'll keep this open in case you have other questions, and also as a tracking issue for introducing the ability to timeout in the processing loop. Please feel free to ask more questions or drop in observations - it's all been very helpful.


nzShowSearch on nz-select does not work in IOS 13

Reproduction link
https://ng-zorro-antd-start-bbhuis.stackblitz.io
Steps to reproduce
Implemented Attribute:
nzShowSearch
What is expected?
Input should be focused and keyboard should appear
What is actually happening?
Keyboard does not appear

Environment
Info

ng-zorro-antd
8.4.0

Browser
IOS 13

similar to : https://github.com/NG-ZORRO/ng-zorro-antd/issues/1653

the examples on the official website are also not working...
any solution to this?

@WeslleyDeSouza The same problem here with ios 12. I also face the #4259 when use nz-select as a search box.
And then, i make a custom search box by nz-autocomplete like this https://stackblitz.com/edit/angular-pyvfwe to resolve those issues
It is working fine for now, at least it is useful when we wait for an official support for this.

@aaaahoang123 Thanks for ur reply..
note:
If I remove the css class of the parent input element, the keyboard trigger starts to work again..

any update on this?

Hello,
any updates on this? It's serious problem for us.
Is there any chance this issue will be resolved in next version?
Thanks for any reply.

yes in the mean while im using select2,
till this is fixed..

Thanks for your advice!
I've already known about select2 ... but because it needs jQuery, it's implementation would be our really really worst case scenario...
And based on their documentation, select2 doesn't cover all features we are currently using with nz-select :(

which feautures do you need that select2 doesn't have?

there is also an npm version of select2 but its also an jQuery wrapper

Actually, there's a lot, eg. custom compareWith function, simple ability to clear selected option, ability to pass custom template when no remote data found, etc. ...
And I assume there's no output callbacks like nzOpenChange, nzScrollToBottom, nzOnSearch available in it's Angular wrapper.
And at least there's design... it looks different (worse) than nz-select and it feels like it would't be zero-time job to make it look similar to nz-select (and rest of ng-zorro components, we're using)...

So if is there any way to speed up this bug fixation, I'm all ears.

Is there any chance this issue will be resolved in next version?

@vthinkxie could you please provide us any information/updates about this?

@junekpavel
could you create a new ticked?

@aaaahoang123 Thanks for ur reply..
note:
If I remove the css class of the parent input element, the keyboard trigger starts to work again..

any update on this?

@WeslleyDeSouza is there any way you can list the exact class you removed to get the keyboard working again on IOS?

Managed to fix it with a workaround!
I drew inspiration for fixing this issue from here and did the following:
In the component.less:
::ng-deep nz-select div.ant-select-search.ant-select-search--inline {
  display: block !important;
}

Alternatively, you could add it site-wide in styles.less after the styles for antd:
nz-select div.ant-select-search.ant-select-search--inline {
  display: block !important;
}

Unfortunately the !important must remain because the display style is dynamically applied ([style.display]="searchDisplay") and therefore applies after CSS applies.
Until an official fix, I hope this workaround can help someone else who's stuck pulling their hair out over this.

I found that long press will pop up the keyboard.

This is also a major blocker for me. Hopefully it gets fixed soon.

Workaround dont work in 9.0.0

I figure out a workaround, I simply remove "readonly" attribute in nz-select input element to fix this issue.
const inputEle = this.renderer.selectRootElement('nz-select nz-select-search input');
this.renderer.removeAttribute(inputEle , 'readonly');

I figure out a workaround, I simply remove "readonly" attribute in nz-select input element to fix this issue.
const inputEle = this.renderer.selectRootElement('nz-select nz-select-search input');
this.renderer.removeAttribute(inputEle , 'readonly');

This workaround works
 ngAfterViewInit(): void {
    setTimeout(() => {
      const allEles: any = document.querySelectorAll('nz-select nz-select-top-control nz-select-search input');
      for (const ele of allEles) {
        this.renderer.removeAttribute(ele, 'readonly');
      }
    }, 1500);

  }

  onBlur() {
    console.log('blur triggered');
    setTimeout(() => {
      const allEles: any = document.querySelectorAll('nz-select nz-select-top-control nz-select-search input');
      for (const ele of allEles) {
        this.renderer.removeAttribute(ele, 'readonly');
      }
    }, 500);
  }

<form>
.....
<nz-form-item>
<nz-form-control>
        <nz-select
          nzShowSearch
          formControlName="test1"
          (nzBlur)="onBlur()"
        >
....
</nz-select>
<nz-form-control>
</nz-form-item>

<nz-form-item>
<nz-form-control>
        <nz-select
          nzShowSearch
          formControlName="test2"
          (nzBlur)="onBlur()"
        >
....
</nz-select>
<nz-form-control>
</nz-form-item>
......
</form>

fix this, please. It happening on all mobile devices, on android too.

Maybe the same problem with #5645.


UTF8 character support?

I'm trying to create an CLI tool that analyzes some text. However this text contains UTF8 characters, such as emoticons, like 🎉.
This is the function,
@main.command()
@click.option('--text', '-t', help='Sample text')
def clean(text):
    click.echo(text)

Whenever I pass in a text with an UTF8 symbol, this is what click throws,
➜  ~ unen clean -t "Our vision is to make products that are insanely great, that would help people work smarter and better. I truly believe in this vision, and I know that some day, this is going to take us somewhere.🍕"
Traceback (most recent call last):
  File "/usr/local/bin/unen", line 9, in <module>
    load_entry_point('UnderstandEngine==0.1.2', 'console_scripts', 'unen')()
  File "/Library/Python/2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/Library/Python/2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Python/2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Python/2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "build/bdist.macosx-10.11-x86_64/egg/understand_engine/cli/cli.py", line 45, in clean
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 197-198: ordinal not in range(128)

I've tried to clean it out, but I realized it's an issue within click itself. Would be great if someone can point me in the right direction with this.

It looks like this can be fixed by decoding the args as utf-8 in core.py
line 679:
args = [arg.decode('utf-8') for arg in get_os_args()]
and line 781:
args = [arg.decode('utf-8') for arg in args]
I've created a pull request that adds an 'encoding' parameter to the main function and decodes accordingly.

Closing this because it is probably not going to be changed. See the discussion on https://github.com/pallets/click/issues/1212 . Thank you for the report.