Feature request: Add rule to detect potential unintended string iteration

Problem Statement
Python strings being sequences can lead to unintended character-by-character iteration, which is a common source of bugs (https://mail.python.org/pipermail/python-3000/2006-April/000759.html is 2006!). Currently, there's no built-in rule (that I know of) to detect potential cases where a string might be accidentally iterated over instead of being treated as a single value or being split first.
Use Cases
# Common bug cases this would catch:

# Case 1: Direct string iteration
name = "Alice"
for char in name:  # Should warn - likely wanted to iterate over a list of names
    process_name(char)  # Gets 'A', 'l', 'i', etc. instead of "Alice"

# Case 2: String in collections
names = get_name()  # Returns str
for name in names:  # Should warn - iterating over characters
    print(name)

# Case 3: Type annotated strings
def process_items(items: str):  # Type hint indicates string
    for item in items:  # Should warn - likely wanted List[str]
        handle_item(item)

# Safe cases (no warning):
names = ["Alice", "Bob"]
for name in names:
    print(name)

text = "hello"
chars = list(text)  # Explicit conversion to character list
for char in chars:
    print(char)

Proposed Rule Details

Message: "Possible unintended string iteration. Consider using split(), list(), or ensuring iteration over string is intended."

The rule would detect:

For loops iterating over string literals
For loops iterating over variables annotated as str
Iteration over strings in common higher-order functions (map, filter, etc.)
Would respect explicit noqa comments and configurations

@AlexWaygood I would value your opinion on this. To me, using for to iterate over the characters of a string seems very legit.

Iteration over the characters of a string is a useful Python feature that's never going to go away. It's also one of the most common footguns in Python programming; there have been many requests to Python type checkers (let alone linters) to try to tackle this problem, and pytype actually implements a version of this. For examples, see:

https://discuss.python.org/t/removing-sequence-str-as-base-class-of-str/56907
https://github.com/python/typing/issues/256
https://github.com/microsoft/pyright/pull/8259
https://github.com/hauntsaninja/useful_types/blob/305c66f860117ea41e0dd1f951f2fc3b4786c57e/useful_types/__init__.py#L283-L295

There's definitely a strong user need for rules that can warn about this, even if they will necessarily come with false positives for the (rare) occasion when you really do need to iterate over the characters of a string. So I think we should definitely explore implementing this check... But it will probably have to wait until we migrate to using red-knot as the backend for Ruff (it needs strong type inference).

I agree that there are legitimate cases for iterating over characters of a string and I find the syntax elegant, but I'd prefer to make the intent explicit (or turn off the rule for projects that use it often), so thank you for the update! Is #11653 the right issue to follow for this?

Is #11653 the right issue to follow for the red-knot move?

Unfortunately that's just one subtask we need to get to for an initial release of red-knot (and it will be only after the initial red-knot release that we'll start migrating Ruff rules to use red-knot as the backend). So it will probably be a while, I'm afraid :-)


auto-generate db password

currently password is generated on the client side, and pushed to secrets manager. this is not up to best practices because:

the transmission of password over network
password is stored in plaintext in terraform state

reference:
https://docs.aws.amazon.com/secretsmanager/latest/userguide/integrating_cloudformation.html

There doesn't seem to be a way to mimic the resolve feature in cloudformation
https://www.reddit.com/r/Terraform/comments/e9atvp/is_there_a_way_to_use_aws_secrets_manager_as_a/
https://github.com/hashicorp/terraform/issues/516

closing as won't fix as none of the workarounds are elegant.


Add a way to authenticate

Thank you for your contribution.
Do you think v2.3 is what you were looking for?


[DARGA] Fix calculation of average for used metrics

Darga version of: https://github.com/ManageIQ/manageiq/pull/12582
@miq-bot add_label bug, chargeback, blocker, darga/yes
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1396665
Steps for Testing/QA
Example from BZ:
Report interval: daily
3 metric rollups records with cpu_usagemhz_rate_average values: 2685.44444444444, 2674.81111111111, 2675.01111111111
Average of CPU used for report interval: (2685.44444444444 + 2674.81111111111 + 2675.01111111111) / 24 (report daily interval) =<PHONE_NUMBER>777775
cost:<PHONE_NUMBER>777775 (Average of CPU used ) * $0.02(rate) * 24(daily report) = $160.70533333333321

cc @gtanzillo
@miq-bot assign @chessbyte

Seems that this (test failure](https://travis-ci.org/ManageIQ/manageiq/jobs/177704828) is similar to one on upstream master.  So, I am ignoring this failure for this PR.


AVRO-2348: Remove use of Deprecated createJsonParser

May want to wait for PR #481

@dkulp  Fixed the recent merge conflicts.
I am proposing here that we remove wrapping Strings in a StringReader.  The JSON library will do that automatically, but it also has an optimization where it checks if the input String is less than a certain length and will do a quick-parse if the String is less than a certain threshold.

@dkulp  Hey, did you catch that the last build failed?
lang/java/avro/src/main/java/org/apache/avro/data/Json.java:26:8: Unused import - com.fasterxml.jackson.core.JsonParseException. [UnusedImports]
I updated my branch and force pushed


mirrord ls

refer #780 #811

currently looks like this:
mehularora@mehuls-air mirrord % target/debug/mirrord ls -o json
[["metalbear-deployment-85c754c75f-982p5",["user-service"]],["nginx-deployment-66b6c48dd5-dc9wk",["nginx"]],["py-serv-deployment-5c57fbdc98-pdbn4",["py-serv"]]]

i think a better format would be:
{
"pod1" : [list],
"pod2" : [list]
}

bors r+


Notebook issue

Hi,
I have a problem with the flowchart notebook. It generates an error ValueError: Must specify a directory for ZTF ranking data. Set the TDE_RANKING_DIR environment variable.
I do not have access in the ZTF database so I would like to ask what can I do to overcome it or if there is another example on how to use tdescore.
Thank you and nice job!
Lydia

Hi @LydiaMak, the code for tdescore is public, but the data used to train the classifier is not. So, you can set a TDE ranking directory, and put your own data there in the appropriate format (https://github.com/robertdstein/tdescore/tree/main/sample_data). However, without the ZTF data, you cannot reproduce the flowchart in the manuscript. You could use it to make your own flowchart, but you would need your own dataset first. Does that answer your question?


Add run_exports

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

❌ The source section contained an unexpected subsection name. run_exports is not a valid subsection name.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12326288289. Examine the logs at this URL for more detail.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


fix(serde): fix serialization error for get nodes

This PR cherry-picks PR786 to release/2.6

bors merge


"when" column breaks the store

"when" column breaks the store, needs to check if an escape is missing
https://github.com/senecajs/seneca-user/issues/51

Same as https://github.com/senecajs/seneca-mysql-store/issues/57

The correct escape char should be defined on the driver level and passed to this module afterwards. E.g. mysql needs to use ` instead of " or '.

@wzrdtales please see this code:
https://github.com/senecajs-labs/seneca-standard-query/blob/master/standard-query.js#L23
in what case is your query escaped with " or ' ?

@mihaidma This is actually database dependend. You need to look for evey database you support.
See for example MySQL http://dev.mysql.com/doc/refman/5.7/en/identifiers.html where backticks are needed to escape schema objects.

And this given, the escape char must be defined on the driver not on this library. Otherwise this library can get useless for some new driver that has other needs which it can't pass along.


Allow password change for encryption key

Add an option to change the password to the com.cloudant.sync.datastore.encryption.AndroidKeyProvider which will need the old password and a new password.
This would need to also update the com.cloudant.sync.datastore.encryption.KeyManager.
It will need to retrieve the DPK using the old password.
Then re-encrypt it using the new password (and new salt).
Finally, update the SharedPreferences with the new encrypted key.
Note that the DPK itself should not be changed as that would require re-encrypting the database.

This library is now end-of-life and this issue won't be fixed.
This issue has been tagged EOL in case any forks want to import it.


feat: [indexer][v26.x] publish created pools

NOTE TO REVIEWER:
This PR is a forward-port of a PR in v25.x to main branch. The related PR in v25.x branch has been reviewed and approved:
https://github.com/osmosis-labs/osmosis/pull/8652
What is the purpose of the change
This PR changes the way pair object is published. Instead of publishing changed pair data upon block creation to the indexer backend (which is not relevant anyway as pair data is static and doesn't change), this commit will publish newly created pair data with creation details, which includes creation height, block timestamp and transaction hash. This is also one of the recommendation from Dexscreener team, which will allow the newly created pair showing up on their "New Pair" page.
Testing

Tested with v25.x using production past data with pool_created event emitted during node sync.
Untested in v26.x but will perform it in the upcoming upgrade test.

@p0mvn , please review. It has been rebased and tested in v26 using in-place-testnet and creating the pool on the fly. pool_created event is successfully captured, as well as its pool metadata. Thanks for the PR!

Overall, LGTM - just some nits + requesting test revisions

Thanks for the suggestions and review. All suggestions done! 🙏

@p0mvn , appreciate your second review when you get a chance. Thanks!


Readthedocs autogenerated preview links to a 404 error page

When I try and add a github action following the steps outlined in https://github.com/readthedocs/actions/tree/v1/preview the autogenerated description preview links to a 404 error page.
On readthedocs.io I have Build pull requests for this project turned on, my project is public and the project slug is my project's slug on readthedocs.io. What could be causing this issue?
My github action looks like below:
name: readthedocs/actions
on:
  pull_request_target:
    types:
      - opened
    # Execute this action only on PRs that touch
    # documentation files.
    # paths:
    #   - "docs/**"

permissions:
  pull-requests: write

jobs:
  pull-request-links:
    runs-on: ubuntu-latest
    steps:
      - uses: readthedocs/actions/preview@v1
        with:
          project-slug: "my project slug"

Hi @ulya-tkch! You need to change "my project slug" by "cleanvision" to make it work. Let me know if that works.

Hi @humitos! Thanks for getting back to me sorry that was not clear, my project slug is "cleanvision".


Article submission requirements and guidelines

[Derived from https://github.com/linkedresearch/info/issues/1 and updated]
The goal is to have a snippet of text that can be used in call for contributions. We can improve this text through consensus. Important remarks and principles to state and strive for:

Welcome submissions based on native Web technologies.
Encourage self-publishing e.g., authors can give the URL to their contributions, as well as the archived URLs
Provide information/URLs for applicable authoring tooling, requests for archival and persistence, and examples
Document/structure/semantics guidelines

This is to be a generic text which can be copy/pasted, not intended to cover or a study of all existing types of call for contributions.

My Freelancing Journey: From Being a Virtual Assistant to Being a Rockstar Social Media Manager!
Little Background about Me
I started my career in the freelancing world when I was 19. A few years back, I had no idea that online jobs exist. I had a carefree attitude who didn’t have the goal to work. This thinking had not changed until a friend of my sister introduced us to Upwork. Back then, the platform was not tight in approving profiles. But since I was still a kid-at-heart who only wanted to stay at home and do nothing, I signed up but did not take it seriously and got rejected for the first time.
 I got to learn a lot of new things, which I thought never existed before. The pay was pretty decent and I was able to buy what I want and travel using my own money.
But then I got used to it. It felt like a routine. I got tired of it.
Since I am someone who loves learning and trying out new things, I got bored doing data entry jobs and web research. I wanted something new. Something that I could enjoy. Something with thrill.
Until I was reminded that my brother was working as an engagement coordinator on an Instagram page.
Commenting and liking. Phew! Easy job. That's what I thought.
I wondered, "Why not try this one? It seemed like it's the easiest online job ever!" Soon after, I randomly applied and got hired as a social media manager of Instagram after being on Upwork twenty days after. Could you imagine that?! I was not expecting it at all!
And so I started. My client wanted me to take over the account even though it just launched. The thought of creating empowering captions with comforting words sank in, which I totally hated before! I said to myself, "I couldn't do this. I just wanted to like and comment." Haha.
It stressed me out because of the pressure of wanting to impress your boss. I prayed countless times and thankfully, I was able to create worthy, intriguing captions. While being a social media manager of that account, I was able to attract three thousand real new followers through engagement and some other strategies in just two months without using ads! Wow! That was an achievement to me even though it's not to social media experts. I mean it was my first job as a social media manager! I should be proud.
I created an account about architecture @lux.architexture last April 2019, garnering one thousand followers in four months.
Work with me!
Grow your business even more by using social media such as:

Facebook
Instagram
Twitter
Pinterest
Youtube

As a rockstar freelancer, I only deliver high-quality services with great results and I don't settle for something you and I can't be satisfied with. If you don’t know how and where to start, please don’t hesitate to reach out to me.
By the way, my full name is Maria Paula but I have decided to address myself as "Maria" in the freelancing world since most of my clients call me that way. It won't hurt to embrace it, right?
Hire a rockstar social media manager today and let's start a new project together!
Do you have freelancing story to share?

absolutly correct

Multi Vendor Marketplace Script

•	Don’t name specific investments in your will. You are not guaranteed to still own them at the time of your death. And if you promised that specific bequest to one of your beneficiaries, your estate will purchase it to devise to the beneficiary, which could have significant negative repercussions on the remainder of your estate.
•	Be wary of contingencies when making gifts. You may want something for your beneficiaries that they don’t want for themselves, and it could be to the detriment of the other beneficiaries or your estate. Some contingencies won’t even be recognized by the courts and could be determined to be restraints on alienation and void out the contingent bequest altogether. This could mean unintended results for your estate and/or beneficiaries.
•	NEVER leave assets to a minor. Legally, they are not permitted to have over a certain amount of property in their name until the age of the majority. We would suggest that our clients designate a property guardian or put their money in a trust.
•	Thinking you’re the first to die is another big mistake.  The gift still has to go somewhere and if you didn’t plan for an alternate beneficiary, the laws of distribution and lapse, in your state of death will govern who gets it in their absence.
•	Not having a “residuary clause” is a cause for all kinds of problems.  Well, where’s it going? If your will doesn’t dispose of it, the laws of intestate succession will. And you have no say in that.
Merlyn Law Firm always advises clients that a Last Will and Testament is an estate planning tool of last recourse. It’s really what you should use just in case your other estate planning tools fail. One should not rely upon it as their main source of distributing their estate. But if you do have one, make sure it’s drafted to avoid these mistakes.
WHY IS IT IMPORTANT FOR YOU TO DRAFT A WILL?
 The bottom line is – you need a will and there is no getting around it.
A will is a legally binding document whereby a person expresses her wishes with regard to her possessions and loved ones. The will is drafted while alive and goes into effect once the drafter (also known as the testator) dies. A will is the preliminary document drafted as a part of any estate plan. A well drafted will should accomplish the following:
·       appoint a representative (and alternates) to administer the estate;
·       appoint guardians for minor children (and their property);
·       specify the powers and restrictions for the named representative(s);
·       dispose of all of testator’s probate property; and,
·       describe the manner in which the distributions shall be made.
•	Failure to have a will drafted, means all of your assets will be distributed by the laws of intestate succession in your state of residence.
•	The laws vary, but most split the assets and distribute half to the then living spouse and the other half is split equally amongst any then living children. Grandchildren of deceased children of the deceased may receive per stripes or per capita, depending on the rules in your jurisdiction.
•	 Per stripes is a fancy way of receiving by representation, so the grandchild would step in the shoes of the child and receive her intestate share.
•	Per capita splits what is left to distribute amongst all that are entitled to inherit. Intestate succession does not account for kids that you may not wish to inherit, or other relatives with whom you would not wish to share in your belongings. It simply distributes assets based on a state statute which solely considers lineal heritage.
Make sure your kids are in good hands. The courts have no way of determining who you would want to care for your kids in the event of your death. Why would you leave anyone else to make a decision of this magnitude?
Ensure the details are being worked out by someone you know and trust. Appointing your executor in the will provides you with the confidence that your estate will be administered the way in which you would prefer.
If your estate isn’t made up of a lot, a simple will can likely do the trick. If your assets, liabilities and beneficiaries are a bit more complex, an estate planning lawyer is necessary.  Just get it done!
#willandprobate #lawyersinchennai

Title: Map of the new digital Australia
Introduction:
Even though everlasting demands for the NBN network connections and data thrust across Australian net surfers and users in COVID-19 Outbreak, TRIKON NBN Network hit the top chart as a services supplier.
As per the Consumer’s watchdog Report for measuring broadband performances from May to June 2020, it is showing a huge enrichment in the network speed, availability and downloading speed rates, as well.
The changeover policy and results by NBN Cos. For COVID-19 period
The major service providers- My Republic and iiNet have reported consistency in the downloading speeds as usual during the pandemic. The demand from house users and business houses were at an extreme in the COVID restrictions. The network outperforms during the peak demand period this year.
As per the ACCC chief ‘s statements the policy of regional NBN services providing Companies to offer 40% free extra network facility is a success factor for the best performance. The extended offer till November end is highly appreciated. In this major transition period, the low performing services failures rate also decreased from 9.6 to 8.1%. This happened due to wiring issues being resolved and plans changed from higher end to lower end from those clients having issues with availability and the net speed.
Many NBN companies have initiated FTTN infrastructural investments to make customers happy especially for plans they are paying. The NBN streaming test is capable of delivering one HD stream like Netflix on each size plan.
"Our Digital Infrastructure bundle is assessed to build Australia's GDP by $6.4 billion per year by 2024 and around $1.5 billion of this extra monetary action is assessed to stream to territorial Australia every year," added Treasurer Frydenberg.
Main highlights of the Australian Government’s Digital Business Plan include:
$256.6 million to build up a Digital Identity framework to empower safer and advantageous commitment with taxpayer-supported organizations, and in future, the private area. Computerized character is as of now being utilized by over 1.6 million Australians and 1.16 million organizations to access more than 70 taxpayer driven organizations.
A further $419.9 million to empower the full execution of the Modernizing Business Registers (MBR) program, permitting organizations to rapidly view, refresh and keep up their business library information in one area.
In extra care a fund of $28.5 million to facilitate the compress of the Consumer Data Right to the banking and energy sectors across the nation, which is in the look of more than $120 million recently constant;
A prompt financial aid of $22.2 million to boost private sector companies for the restructured advancement through an extension of the Australian Small Business Advisory Service Digital Solutions Agenda. This is a core support line from the Govt. of Australia.
$11.4 million for another administrative innovation commercialisation activity to improve consistency and legitimately uphold the advanced innovation firms.
$9.6 million to help fin techs to send out monetary administrations and pull in the internal venture; $6.9 million for two blockchain pilots facilitated at lessening business consistence costs;
$5.9 million to help Australia's effect on global guidelines.
$3.6 million towards commanding the appropriation of electronic invoicing by 1 July 2022 for all Commonwealth government organizations to empower more prominent selection among organizations providing to the government and inside their flexible chains, and to counsel on choices for required reception of e-invoicing by organizations.
$2.5 million to interface labourers and little and medium estimated organizations to advanced abilities preparing;
Counselling on making lasting the brief changes to permit organizations to hold virtual gatherings and execute archives electronically;
Investigating the administrative engineering applying to the instalments framework to guarantee it stays fit for a reason and is fit for supporting proceeds with advancement for the advantage of the two organizations and shoppers, and changing the guideline around put away worthy offices to help development and rivalry following the proposals of the Council of Financial Regulators.
These activities are notwithstanding the Federal Government's $4.5 billion NBN venture intends to bring super quick broadband to a large number of families and organizations over the economy throughout the following two years.
They additionally supplement our activities to assemble advanced abilities and to improve trust and security in the computerized economy, including through the $1.67 billion interest in the 2020 Cyber Security Strategy and interests in online wellbeing.
These serious enhancements have the going with money related repercussions:
Induction to data and the capacity to change it into vital encounters will be a creating wellspring of money related worth. Consequently, creating an assessment of data-based pieces of information will maintain new strategies and organizations.
The overall web and induction to information are reducing limits to business and worldwide trade. As these obstacles break down, open entryways for participation from little and medium estimated attempts (SMEs) and horticultural countries will augment.
Contention loads should be created as overall internet access and automated stages make open entryways for associations to fight across organizations and countries.
Overall data streams are moreover changing the possibility of overall trade, making new open entryways for all associations—including SMEs—to participate in the overall economy and to plug into overall worth chains (GVCs), while furthermore extending the opportunity and assessment of passages of cutting edge organizations. This should similarly fabricate competition and raise productivity.
The indispensable headways in electronic trade will be in the going with zones:
Associations can use the web (i.e., progressed platforms) to convey items.
Organizations can be purchased and eaten up on the web.
Data grouping and assessment can expand the estimation of items exchanges.
Overall data streams uphold overall worth chains, making new open entryways for collaboration
Conclusion:
Above all major observations and facts precisely indicate that by joint concrete efforts of the govt. sector and NBN Companies the picture of a digital Australia looks quite promising and perspective for the future technology-driven development of the country. Steps and measures are taken on every issue and towards digital transformation; it is obvious for better results over the years for Australia in the long run.

It is  an informative article about Digital changes initiated by Govt. of Australia

nice work. please check this How to encourage yourself.

MARC-2021
3rd International Conference On
“Machine Learning, Advances in Computing, Renewable Energy and Communication”
[10th & 11th December 2021]
Organized by:
Krishna Engineering College,
Mohan Nagar, Ghaziabad-201007, Uttar Pradesh, India.
Greetings!
Dear Colleagues,
The first International Conference – MARC 2018 was organized in partnership with Springer, LNEE series. With the support, contribution and active participation of all stakeholders, MARC 2018 was a great success (proceedings are available online at https://www.springer.com/gp/book/9789811367717). The Second international conference MARC-2020 was also organized in partenership with Springer, LNEE  Series which was a great success and its proceedings will be available online soon.
In continuation to this, MARC-2021

paper submission is open for different tracks of the conference.
IMPORTANT DATES
Regular Paper Submission Deadline: August 01, 2021
Acceptance Notification: October 10, 2021
Camera Ready paper: November 20, 2021
Early Registration Deadline:  November 20, 2021
Paper Submission:
EasyChair login-- https://easychair.org/conferences/?conf=marc20210.
Publication: Scopus Indexed Springer LNEE Series.
For MARC-2021 details visit- https://www.krishnacollege.ac.in/marc/
==================================================================
MARC-2021 invites academicians & researchers to submit their original contributions in the following tracks:
Track 1—Sustainable Energy and Smart Ecosystems
Track 2—Power Electronics and Advance Control
Track 3— Modern Power Systems
Track 4— High Performance Computing
Track 5— Applications of Communication, Network & Social Network Analysis in Electrical Engineering
Track 6—Artificial Intelligence & Image processing
Best Regards,
Dr.Pramod Kumar, Krishna Engineering College (SMIEEE), India.
Dr. Anuradha Tomar, Eindhoven University of Technology, The Netherlands& JSSATEN, India
Organizing Chair(s), MARC-2020 (https://www.krishnacollege.ac.in/marc/)

3rd International Conference on Machine Learnning,Advances in Computing , Renewable Energy and Communcation(MARC-2021)(Approved by Springer ,LNEE) will be held at Krishna Engineering College,Ghaziabad on 10th &11th December 2021
Link of the website--https://www.krishnacollege.ac.in/marc/

"SAS Powertech Pvt. Ltd, Pune, Maharashtra, offers the most recent Electrical Arc Flash Study Services PDF Catalogue online. Subject matter experts from the electrical, thermal, HVAC, compressed air, and water purification systems aid in the simplification of complex designs and the detection of grey areas in facility energy usage.
SASPPL now provides customized services to independently audit each Energy Form, using Subject Matter Experts with over 30 years of experience in the relevant energy forms with their many uses."

How to submit an article ?
1] Create a github account.
2] Fork the ReScience submission repository.
3] Create a branch (the branch name should be author names separated with dashes) ...
4] Add your code & article (see author guidelines) and commit your changes: ...

minor-friendly sanitary pad designed specifically for teens. Our innovative pad features a 100% plant-based top sheet and an XXL size for superior comfort. With individual disposal pouches for on-the-go hygiene, our pad is not only teen-friendly in design but also environmentally friendly. Experience the best with our super absorbent core, ensuring leak protection, and a thin, eco-friendly design for all-day comfort. Trust us to provide you with a sustainable and eco-friendly menstrual experience.

How do I submit this article on github:
https://blitzacademy.org/coursedetail.php?course_cat=4&course_id=26&mep-training-institute-in-kerala


Korean translation of "open at login"

Korean translation of "open at login"

thank you very much!


Fixed password policy regex issue not accepting special characters

In case your password had special characters (". ~ ! ? ...) the regex would fail in Account.js file and wouldn't let the login form to work even though you met all the requirements.
Since EA lets users have these special characters in their passwords it is wise to review and fix the regex which is done in this PR.

I'd be happy to discuss this PR further. The initial regex is based off of the password rules put in place by EA on their reset password page. I realize that passwords created before these new rules aren't accepted.
The question is should we accept them anyway, or conform to EA's new rules and have the user reset their password (which they can do from the link in the AB)

I closed this PR to create another one based on the develop branch and fix the build issue with unnecessary escape characters but anyway.
Your assumption is not correct, I did test it once again to make sure... Sign up page, Change password page and the reset password page all tell you that:
"Your password must be 8 - 16 characters, and include at least one lowercase letter, one uppercase letter, and a number."
But this is the minimum requirements, it does not say you can't use special characters nor does it prevent you from doing so. While passwords with special characters are perfectly valid Autobuyer prevents users from proceeding with such passwords so there's no such thing as old and new passwords.

Sounds good.


cFS Bundle Integration Candidate:2021-05-18

Description
Combines:
nasa/cfe#1508
nasa/osal#1006
Includes
nasa/cfe#1482, Resolve sequence count auto-increment rollover bug
nasa/cfe#1491, Correctly format code block section terminator
nasa/cfe#1530, Fix typos in developer guide
nasa/osal#987, Show CodeQL Preview
nasa/osal#985, rename hooks to handlers
nasa/osal#1000, propagate status code in OS_rmdir
nasa/osal#1001, rework "unit-tests" to use macros
nasa/osal#1003, remove extra newlines in utassert logs
nasa/osal#990, Add test for object id inline functions
nasa/osal#998, fixed invalid inputs for OS_mkdir
nasa/osal#812, Improves config guide documentation
Authors
skliper
jbohren-hbr
tniessen
ArielSAdamsNASA
jphickey
Kronos3
zanzaben

@jphickey @zanzaben @skliper when running with OMIT_DEPRECATED = true, I saw a test failure for "osal_timer_UT" I should have grabbed a screenshot before hitting the "re-run jobs" button because now it passed and I can't find the failed run... anyhow be on the lookout for that.


[Feature][e2e] Migrate all exists e2e to ui-next

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
We are plan to release a new front-end components in the next release, which you could see more detail in https://lists.apache.org/thread/8ozcd4n4fjnp93tznfvlw9bp2g6fkryw. But all our existing e2e tests is for the old front-end components. So we have to migrate all existing e2e tests into the new one.
You could find all existing e2e tests in https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/cases
DataSource

[ ] ClickhouseDataSourceE2ETest
[ ] HiveDataSourceE2ETest
[ ] MysqlDataSourceE2ETest
[ ] PostgresDataSourceE2ETest
[ ] SqlServerDataSourceE2ETest

Security

[ ] EnvironmentE2ETest
[ ] TenantE2ETest
[ ] QueueE2ETest
[ ] TokenE2ETest
[ ] UserE2ETest
[ ] WorkerGroupE2ETest

Project

[ ] ProjectE2ETest
[ ] WorkflowE2ETest

Tasks

[ ] WorkflowSwitchE2ETest

Resource

[ ] FileManageE2ETest
[ ] FunctionManageE2ETest
[ ] UdfManageE2ETest

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

If anyone who interested in this, please comment on this issue and I will assign you subtask to you. 🎉

Hi @SbloodyS , I find out you are working on the related issue. Is there any task you've done above? If there are some sub task already done, please comment on the issue and I would update it

If you are interested in writing new e2e tests, you could find more subtasks in https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue+is%3Aopen+label%3Ae2e+label%3A"help+wanted"+cases+in%3Atitle+

Hi @SbloodyS , I find out you are working on the related issue. Is there any task you've done above? If there are some sub task already done, please comment on the issue and I would update it

So far, only projecte2etest and WorkflowE2ETest and ``` WorkflowSwitchE2ETest is unfinished.
The rest is merged into dev branch. Related issue: #8844 #8823 #8727

Hi @SbloodyS , I find out you are working on the related issue. Is there any task you've done above? If there are some sub task already done, please comment on the issue and I would update it

So far, only projecte2etest and WorkflowE2ETest and WorkflowSwitchE2ETest is unfinished. I'm working on it in #8850.
The rest is merged into dev branch. Related issue: #8844 #8823 #8727

Well, that so fast! @SbloodyS

Hi @zhongjiajie , projecte2etest and WorkflowE2ETest has been finished in #8850. I'll continue working on WorkflowSwitchE2ETest in a few days later.

I had update the description

@SbloodyS Does it all done and could we close this issue now?

@SbloodyS Does it all done and could we close this issue now?

Yes. I will close it.


IntHolder as ExplicitInt

Description
Rename the IntHolder type in the kotools.types.number package as ExplicitInt.

This is a breaking change! 🔥

Checklist

[ ] Implement.
[ ] Test.
[ ] Refactor.
[ ] Update Work in progress section in changelog.

We will remove the hierarchy of IntHolder in Kotools Types 4.0.0.


[Docs] Add Field Descriptions Meshery CRDs

Current State
The Custom Resources Definitions used for installing Meshery do not have descriptions
Meshery Operator
Meshery
Desired State
Add descriptions to the CRDs and update documentation at https://docs.meshery.io

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hi @sudhanshutech, I intend to work on this issue; concerning Fields Descriptions to add:

For Meshery Operator: Broker CRD I intend to add a spec.size description; MeshSync CRD I intend to add descriptions for spec.broker.custom.url, spec.broker.native.name, spec.version and spec.watch-list.data.whitelist & blacklist.
For Meshery: Broker CRD I intend to add a spec.size and spec.endpoint descriptions; MeshSync CRD I intend to add descriptions for spec.broker, spec.version, spec.watch-list.data and spec.publishing-to .


how I can find the correct UTXO Txid for transaction

I am designing a Bitcoin wallet with ported this package to dart
I have somewhat figured out how to send a Bitcoin transaction with different address types and have sent several transactions, I would like to know how to find the UTXO transaction ID that matches the user's balance other than searching for Bitcoin blocks to match.
As I understand it, I need to find the UTXO transaction that has the same address type (P2pkh, Segwit, ...), and the UTXO transaction amount is greater than (send amount + fee) and less than the user's balance.
Thanks

Hi Mohsen,
You typically get those from a bitcoin node or other software that keeps such data. You can use the proxy object to talk to your node. For example, see 'listunspent' bitcoin command.
You need to check the UTXO amounts programmatically and use as many as required to cover the amount you want to sent.

Hi Mohsen,
You typically get those from a bitcoin node or other software that keeps such data. You can use the proxy object to talk to your node. For example, see 'listunspent' bitcoin command.
You need to check the UTXO amounts programmatically and use as many as required to cover the amount you want to sent.

Hello, thank you very much.
I was able to find an API that would provide exactly the transactions I needed. nownodes.io
How can I calculate the transaction fee in different script types?
There are 2 methods to measure the transaction volume: get_size and get_vsize
If I understood correctly, I should multiply the value of estimatesmartfee  by the size of the transaction, which of these volumes should I use, in an article I read that for Segwit transactions, the Segwit volume is not calculated for fee
And the last question, do you have a plan to work on the Lightning Network?
Thanks

Segwit txs get a discount... effectively they can be considered less bytes than legacy txs for purposes of calculating tx fees. For legacy txs you should use size, for segwit vsize.
If I have free time in the future I might work on adding Lightning Network support but currently there are no plans for this.


[MINOR][SQL]remove oudated comment about HiveClientImpl.

What changes were proposed in this pull request?
HiveClientImpl contains the comment Currently Spark only supports columns to be sorted in ascending order but Hive can support both ascending and descending order., I test this grammar and find Spark supports columns to be sorted in descending order too.
I think should remove oudated comment so that the comment is clearly.
How was this patch tested?
No UT

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I check the code again, the colum mentioned maybe is bucket column. If I guess is true, I will update the comment again.

I don't think this changes the comment? I'm not clear these kind of changes are correct or helping.


install nuclo cvat AI SAM tool in local hosted CVAT on windows

hello all
i installed cvat locally in windows but I am not able to install AI tool for using SAM model
how to follow this
https://docs.cvat.ai/docs/administration/advanced/installation_automatic_annotation/
in windows

On Windows you may use WSL to install CVAT, including this module.
Please, read the manual carefully.

is there anyway to install out wsl?

No.


Colorize format --diff output

Discussed in https://github.com/astral-sh/ruff/discussions/9983
We should colorize the diff output (added and removed lines).
The relevant code is in https://github.com/astral-sh/ruff/blob/a7d1f7e1ec6d2d4443eaec4bee5faebd97f95c66/crates/ruff_linter/src/source_kind.rs#L103-L111
We probably would need to extract the to_writer function and change it so that we set the right color depending on if it's an addition or deletion:
 let mut header = self.header.as_ref();
        for hunk in self.iter_hunks() {
            if let Some((old_file, new_file)) = header.take() {
                writeln!(w, "--- {}", old_file)?;  // <-- add color here
                writeln!(w, "+++ {}", new_file)?;
            }
            write!(w, "{}", hunk)?;
        }
        Ok(())

Originally posted by ssenior45 February 14, 2024
If I run ruff check on a file then the output is colored which leads me to believe that my terminal is configured to display colored output from the tool correctly.
However when I run ruff format --diff the output is not colored. Is this expected? If so is there anything that can be done about it?
Thanks in advance.

Def a good first issue!

Hey @MichaReiser, I'm interested on working on this

@senadev42 nice. I think the original OP doesn't mind if the feature gets implemented by someone else. I assign the issue to you. Let me know if you need any help.
Note: We use https://docs.rs/colored/latest/colored/ for colonizing strings.

Just catching up with this now. Thanks for moving it to an issue. I would like to see this implemented and am more than happy for @senadev42 to work on it.

@senadev42 is there something I can help you with or would you prefer if someone else takes a look at it?

@MichaReiser Oh I've just been unexpectedly busy lately but I'm picking away at it, just kind of slowly since I assumed it wasn't an urgent/critical task.
I can let go if it is though, since I'm using this as an opportunity to dip my toes into rust.

@senadev42 it's not urgent. I just wanted to make sure you've all you need :)

Hey @MichaReiser
So I've made a draft PR at #10110 and I'd like some help interpreting why and how some of the tests are failing

Closed by https://github.com/astral-sh/ruff/pull/10110


[R-package] Providing precompiled DLL (licensing?)

Are we allowed to host precompiled LightGBM DLLs on GitHub?

@Laurae2
I think it didn't have licensing issues.
There are 2 problems:

cross platform, and cpu/gpu. This will request many dll/so .
needs to update all dll/so every time changing the code. This is very inconvenient.

@guolinke I think for CPU it is not too much an issue, but GPU is too difficult.
Most important I think is to have the Visual Studio compiled DLL which is not easy to setup for most users. Even if it is not the bleeding edge version, it is not too much an issue.

@Laurae2
Now the appveyor can compile dll, and push back to github release : https://github.com/Microsoft/LightGBM/releases


Week 4

Here is a link to my video.

He has his flask server up and running. He has his local fastpages server running as well with stuff added
2.7

Great evidence of collaboration with group members. Fastpages and Python server edits are shown well, and editing is very smooth and easy to watch. Great job, 2.7+

Showed proof of collaboration and completed all intended aspects of the assignment. You also were able to create a video in under the time limit which was very good.

2.7+ I like that he helped one of his groupmates and customized his Flask.

2.7+
Shows efforts of collaboration as well as servers running effectively with extra work put in

Talked about experience.  Did Fastpages change.  Nice side by side and staging of changes.  Only complaint is result pause would be better.   2.8

A great, short video covering all your developments with both local servers. Great job 2.7+

2.7 +, fit everything in and keep it nice and summarized, explained how he help his partners and it looks like a lot of effort was put in, Great job.

Has good edits and a voice over has both servers working

2.7 made us wait for commit, did not make a cut, customized Flask, and collaborated with groupmates.

2.7 + you had all of the requirements need for the video and the video was super clean with a really good understanding of the topic.

My average is 2.7125. I think that my score should be a 2.9, much of my 2.7s were 2.7+ and I think that compared to many of the other students I showed all of the requirements and stayed within the restrict time limit. restrict time limit while others did not.


NO POSTEL CODE?

currently non of my players get a postel code so cant send items any fix for this currently using new qbcore

You need to set your steam api key in your server.cfg


It does not work in node v4.0

Node-v8-clone does not compile on node v4.0. Probably should be replaced by another implementation. For example, like http://stackoverflow.com/questions/4459928/how-to-deep-clone-in-javascript

That seems more an issue for node-clone itself. I opened an issue: https://github.com/AlexeyKupershtokh/node-v8-clone/issues/14
However, due to new 4.x features from ES6 maybe I'll refactor this code in scope of couple of month. How do you think, should the module be backwards-compatible with older node versions in this case?

Thank you for such a quick reply! To ensure backward compatibility - a good idea, of course. However, ES6 has a number of significant improvements, so compatibility may be sacrificed.

Ok, removed usage of node-v8-clone in 2de44a07b, now compatible with 4.x


DG Review

W15-3

Fig 9 UML class diagram can be slightly tidied up
Figure 10, how does modToEdit be returned to Mod? is there a function invoked?
Figure 10 activity diagram is correctly drawn, but the text can complement the activity diagram more
Figure 12, how does t be passed to :AddTutorialCommand?
Figure 12 can have more text to complement the diagram
Good formating for pros and cons analysis
Fig 13 activity diagram correctly drawn
Figure 14 Class Diagram is correctly drawn. I am not too sure about the composition/aggregation
Figure 15 Activity Diagram is correctly drawn
Figure 16 sequence diagram is good. Can have more text to complement text more
Figure 17 activity diagram is correctly drawn
Figure 18 sequence diagram correctly drawn
I like the variety of the diagram and how they explain different things, not repetitive.

[ ] Figure 9, UML class diagram can be slightly tidied up
[ ] Figure 10, how does modToEdit be returned to Mod? is there a function invoked?
[ ] Figure 10, activity diagram is correctly drawn, but the text can complement the activity diagram more
[ ] Figure 12, how does t be passed to :AddTutorialCommand?
[ ] Figure 12, can have more text to complement the diagram
[ ] Figure 14, Class Diagram is correctly drawn. I am not too sure about the composition/aggregation
[ ] Figure 16, sequence diagram is good. Can have more text to complement text more

Good formating for pros and cons analysis
I like the variety of the diagram and how they explain different things, not repetitive.


Form recognizer Consistency updates

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-formrecognizer


Fix/ValueListenableBuilder rebuilds

Description
check if value really changed in ValueListenableBuilder
Related Issues
fixes #72002
Tests
I added the following tests:

"Widget does not rebuilds if value is the same" in packages/flutter/test/widgets/value_listenable_builder_test.dart

Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

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

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

@2ZeroSix Do you have plans to follow up on the feedback given above soon-ish? Thanks.

@goderbauer shouldn't there be waiting for tree to go green  tag for automatic merge?

@goderbauer shouldn't there be waiting for tree to go green  tag for automatic merge?


🎉 Website will be released after Aegis 2.0 version

Website will replace full_preview.md page and hopefully is faster to load.
Some keynotes about the website:

Javascript is needed for the site fully work, but only one of them is 3rd party JS connection.

That being GoatCounter. It's analytics software that's both privacy friendly  by design and FOSS. It should be safe to add without GDPR consent notices. But if somebody disagrees with this, I will consider not adding any analytics.
For transparency, the internally hosted JS files are jQuery 3.6 and List.js 2.3.1.

No ads. I hate ads with passion (and don't care about the money either), also hosting costs are zero anyways.
It features instant search function powered by List.js.
Webfonts and any other possible file will be internally hosted too.
Site itself is gonna be hosted on Github pages.

Site development was started only two days ago, but functionality of the site is mostly finished and I have created mockup of the design
Here's current desktop mockup for the site:

Changes are likely to happen, so don't expect it to look exactly like this. 😅 Also, images, boxes etc. won't be that huge in the actual site.

Website has been released! 🎉 https://aegis-icons.github.io/


Whats-New-GPML2021.html Updates Authors

Regarding the documentation below:

[x]  why is the email address an attribute?
[x] where/how is the order of authors stored?
[x] will it be possible to add authors who do not have a WP account?
[ ] Should the Xref (e.g. Orcid) be added as a URL, or with Database name annotation?

Xref is always with identifier and database which can be converted be converted to URLs.

Xref is always with identifier and database which can be converted be converted to URLs. But we will stick with the official identifier system here as for all other databases for consistency.

Yes agreed! So we should add Orcid then as a Datasource for BridgeDb; or are these loaded from somewhere else (or hardcoded within PV)? It's not the type of Database which is normally a part of BridgeDb (same as pubmed, DOI, etc.)....

We have added Orcid as a Datasource for BridgeDb. There are a number of Datasources to be added. We are also adding a Prefix column to BridgeDb. I am still looking over these here. There are also a number of Datasources in BridgeDB not yet on identifiers.org that we would like added to identifiers.org.

@DeniseSl22 as mentioned by Finterly, the datasources.tsv has all of those databases in it already. so bridgedb can deal with these :)


How to initialize  selected option

How to initialize  selected option

?
<option value="One" selected>One</option>


[Bug] Information lost when downloading / exporting DICOM SEG series

Describe the Bug
When downloading a DICOM SEG series using OHIF's download functionality, it doesn't seem to download the original series (DICOM file), but create a copy with a new SeriesInstanceUID. In addition, in the downloaded DICOM file, SegmentAlgorithmType is set to MANUAL, and additional tags such as AlgorithmVersion and SegmentAlgorithmName are lost.
A very similar behaviour occurs with the "Export DICOM SEG" functionality. While there, it makes sense to create a new series (with a new SeriesInstanceUID), additional tags such as AlgorithmVersion and SegmentAlgorithmName are also discarded. Also, there seems to be no way to backtrack exported DICOM SEG series to the series they originate from.
Steps to Reproduce

Open any CT/SEG series (e.g. Stagel-Colorectal-Cancer) on https://viewer-dev.ohif.org/ using the Segmentation Viewer

Open the Segmentation in the viewer

In right side panel click "Download DICOM SEG"

Compare the SeriesInstanceUID in the downloaded DICOM file with the DICOM SEG series opened in OHIF

The behaviour described for "Export DICOM Seg" can be reproduced in a similar way, but must be done on a deployment with write access.
The current behavior
See description above.
The expected behavior
From a user perspective, I'd expect the "Download DICOM SEG" functionality to download the original DICOM file without modifications and "Export DICOM SEG" to create a complete copy of the DICOM SEG series without omitting tags such as AlgorithmVersion and SegmentAlgorithmName.
OS
OS X 10.15.7
Node version
Whatever https://viewer-dev.ohif.org/ uses
Browser
Chrome 123.0.0
OHIF version
3.8.0-beta.73

We released OHIF 3.9 which address this issue


Adding a positive message to the wall, from President Truman

Thank you!

Congratulations!!! Way to go!


Meta#Grid

Hello!
I am the author/maintainer of Meta#Grid. Maybe it's worth to mention it in the list too?
https://meta-grid.com/
https://github.com/patschwork/meta_grid
(I wish I had such a list many years ago 😄 - but then Meta#Grid might never have been born).

Hi, @patschwork!
Sure, we would be glad if you'll create a PR with this product.
Feel free to check fork our repo, change the README file, and create PR.

Hi, @patschwork!
Sure, we would be glad if you'll create a PR with this product. Feel free to check fork our repo, change the README file, and create PR.

Hi @germanosin,
PR was created: https://github.com/opendatadiscovery/awesome-data-catalogs/pull/17

Merged!


Slash missing in the url construction in the string interpolation

const blobServiceClient = new BlobServiceClient(https://${account}.blob.core.windows.net${sas});
should be :
const blobServiceClient = new BlobServiceClient(https://${account}.blob.core.windows.net/${sas});

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

ID: 9e6a0310-6551-e231-256b-a23e67add834
Version Independent ID: f3901614-6fa9-dc0e-928b-3698631cbde0
Content: Azure Storage Blob client library for JavaScript
Content Source: docs-ref-services/latest/storage-blob-readme.md
Service: ****
Product: azure
Technology: azure
GitHub Login: @maggiepint
Microsoft Alias: magpint

@FeliciaMarlove
The code sample is to create a BlobServiceClient instance with SAS token credential. We should add '/' before the query string which presents a SAS token.
A SAS token string looks like ?sv=2019-07-07&sig=***&spr=https%2Chttp&se=2022-07-05T01%3A27%3A38Z&srt=sco&ss=bfq&sp=racupwdl, the final URL for the BlobServiceClient should look like: https://anaccount.blob.core.windows.net?sv=2019-07-07&sig=***&spr=https%2Chttp&se=2022-07-05T01%3A27%3A38Z&srt=sco&ss=bfq&sp=racupwdl
Thanks
Emma


feat(package): Create a release for f63ddc3

A release wasn't triggered by #55, adding an empty commit to trigger one

We've now pushed v3.5.0!


Exception when calling struct similarity

Hi,
I find that when computing struct similarity in evaluation, unless channel_axis is set, there is an exception. Its a small fix, but I wonder if I'm doing something wrong otherwise everyone will get this error for RGB images.
Thanks!

I got the same error
"in structural_similarity raise ValueError(ValueError: win_size exceeds image extent. Either ensure that your images are at least 7x7; or pass win_size explicitly in the function call, with an odd value less than or equal to the smaller side of your images. If your images are multichannel (with color channels), set channel_axis to the axis number corresponding to the channels."

Sorry for replying only now, you just need to modify the code as below to work properly.
ssim_score = ssim(util.tensor2im(pred), util.tensor2im(gt), data_range=255, channel_axis=-1


jre in JAVA_HOME was a symptom of a machine misconfiguration

We don't need https://github.com/elastic/runbld/blob/master/src/clj/runbld/java.clj#L33.

Nope, this is actually #19.

OK, I'm not sure what's going on. The java.home system property seems to always be .../jre regardless of the classpath. Tracking here.

For documentation purposes, /etc/alternatives/java was pointing to the JRE:
% ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 46 Sep  3 14:30 /etc/alternatives/java -> /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

But I've since installed the JDK path as a link:
% sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-8-openjdk-amd64/bin/java 1000
% sudo update-alternatives --config java
% ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 42 Jan  5 10:49 /etc/alternatives/java -> /usr/lib/jvm/java-8-openjdk-amd64/bin/java

And this problem still happens. What we do here is run a separate JVM to inject some code and grab the properties we care about (we don't want it from runbld in case they're different).

Closed in 6faf772982e090414e0a8caa664fcc1ce45fb6ca, which erroneously mentions #17 :-1:


Q: how to understand the htlc examle's relative probability

the script:
or(10@and(sha256({secret_hash}),pk({redeem_identity})),1@and(older({expiry}),pk({refund_identity})))

the miniscript compile output is:
<A> OP_CHECKSIG OP_NOTIF
  OP_DUP OP_HASH160 <HASH160(B)> OP_EQUALVERIFY OP_CHECKSIGVERIFY 16
  OP_CHECKSEQUENCEVERIFY
OP_ELSE
  OP_SIZE <20> OP_EQUALVERIFY OP_SHA256 <H> OP_EQUAL
OP_ENDIF

if i change the first 10 to some number that smaller than 3,
for exmaple:
or(2@and(sha256({secret_hash}),pk({redeem_identity})),1@and(older({expiry}),pk({refund_identity})))

the output is
<A> OP_CHECKSIG OP_NOTIF
  <B> OP_CHECKSIGVERIFY 16 OP_CHECKSEQUENCEVERIFY
OP_ELSE
  OP_SIZE <20> OP_EQUALVERIFY OP_SHA256 <H> OP_EQUAL
OP_ENDIF

“Why is there such a difference?”

The probabilites represent the "probability that a given branch will be taken". They are interpreted as a weighting factor for the total spend cost (space in UTXO plus witness space) for the different branches.
In the example you give, by making the first branch much more probable than the second one, the compiler tries to "compress" the second branch by replacing its public key with a public key hash. This reduces the total script size (which must always be paid) at the expense of increasing the witness size for the second branch (which is only paid if the second branch is actually taken).

The probabilites represent the "probability that a given branch will be taken". They are interpreted as a weighting factor for the total spend cost (space in UTXO plus witness space) for the different branches.
In the example you give, by making the first branch much more probable than the second one, the compiler tries to "compress" the second branch by replacing its public key with a public key hash. This reduces the total script size (which must always be paid) at the expense of increasing the witness size for the second branch (which is only paid if the second branch is actually taken).

thx for your reply
i have another question, the difference is
OP_DUP OP_HASH160 <HASH160(B)> OP_EQUALVERIFY OP_CHECKSIGVERIFY  and <B> OP_CHECKSIGVERIFY
why not just ignore the OP_DUP OP_HASH160 <HASH160(B)> OP_EQUALVERIFY

I'm not sure exactly what you're asking, but <HASH160(B)> is 20 bytes long while <B> is 32 bytes long. So the one with the hash winds up being several bytes smaller than the one that directly encodes the key.


Timezone information may be too personal

The timezone information gathered now is represented as in IANA Time Zone information. This will include user's geographical city or town, which may lead to some way of user identification. While this may be not such a big problem, the solution is to just send UTC offset, which will be more anonymous way to do it.
And the code that is required to gain UTC offset as a number, is also pretty simple:
datetime.datetime.now().astimezone().utcoffset() // datetime.timedelta(hours=1)

This way user's city or town is now kept in secret, while you can still get the information you need.

You still able to say he lives in Germany. But there is a counter-example: As I live in a big country, we have a lot of multiple time zones and IANA has pretty all cities and towns where most of the people live. Now a user will chose his own city, thanks to the user-friendly interface. So basically it will be a city where the computer is located, and it is usually where the man lives. So basically this straight-forwardly just tells where the user at least uses his computer. This is... Not so good.
Yeah, I may be a little paranoic about this.


Investigate why type: / is supplied to bodyParser.json

I checked Metamask: connecting to deth, switching accounts, sending transactions - all send the correct Content-Type: application/json header


How do I add support for csv, ppt, and support for other document types?

How do I add support for csv, ppt, and support for other document types? Is there a need to update the how these documents are saved in storage and ai search?

How can I add access level for the documents that the user can query? I have a database that has access control based on the user, how do I implement this condition in the RAG mechanism?

I would suggest using the Office Copilot for this.  Chat Copilot is just a simple demo and no plans exist to provide the functionality you require in it.


The speed and receptive field of the model

Thank you for your work and sharing.
Since I have to use the vocoder model on online sevice, I want to know:
Does the model has a certain receptive field so that I can do inference in stream mode?
And what about the speed when infer in CPU, compared with melgan or hifigan?
Thank you again.

Thank you for your interest in my work!

Does the model has a certain receptive field so that I can do inference in stream mode?
Sorry, I have never tried to use the vocoder for real-time uses. However, since it consists of PWG with some convolution layers as an extra, some application examples of PWG might be informative.

And what about the speed when infer in CPU, compared with melgan or hifigan?
Hn-uSFGAN has a larger RTF than the up-sampling-based neural vocoders.
The RTF of hn-uSFGAN is about 1.2 on a single CPU, Intel Xeon Gold 6142 (and 0.036 on a single GPU, Titan RTX 3090).

Thank you very much for your reply!
I used hifigan as vocoder in singing voice synthesis, but glitches occurs in the synthsized waves especially in long vowel part.
May be I should merge the concept of "Source-Filter" to have a try.


Handling an odd error where leaflet returns a null value for a point.

Here is the code implemented to deal with the null response from leaflet.
If you can help me figure out remote debugging I'd love to write some tests for this.

The data is coming from Elasticsearch - specifically the saved search. Open the debugging tools for your browser and switch to the network tab. Look for the _msearch request that pulls the saved search data from elasticsearch. What does that look like? Which row is returning a null value for lat? What does that value look like. Use the browser's debugger to see the values as well

The error comes from an empty string being passed to the latLng function.
if (isString(geo)) {
        const split = geo.split(',');
        lat = split[0];
        lon = split[1];

I'm fairly certain that an empty string will hit this statement and then pass in nulls to the latLng function, thus resulting in a null value.

I have merged the test branch into master and added a test to handle your bad data case


There should be a kill switch that completely disables Application Insight event collection

Currently there are two options to disable Application Insight:
Option 1: TelemetryConfiguration.Active.DisableTelemetry = true;
Option 2: Comment instrumentation key in the config file
With both of above options Application Insight keeps collecting events, but it does not upload them. Means there is (potentially slight) performance overhead.
There should be an option to completely disable Application Insight SDK when it is required.

Is the main concern a performance impact? Or temporary disable collection? Or anything else?
Note, commenting the key in configuration file will require the process restart when setting something in code will not. However setting in code may be too late for some in-revertable changes. Like loading and http module or listening of certain events. Please describe your scenarios and requirements in terms of restart requitement/re-enablement on the flight, etc. Also how much of performance overhead would be acceptable?

Setting DisableTelemetry in the configuration will cause the TelemetryClient.Track call to do nothing, it's not even collecting events, they will not be stored in a buffer anywhere.  There is still some method call overhead before the check is made but you can't completely get rid of that at run time.  The only way to completely remove Application Insights so that there is absolutely zero run time overhead would be to remove it from being configured in your application.  If you just want to turn it off temporarily then setting DisableTelemetry to true will do that and is the most appropriate option for run time configuration that doesn't recycle the app pool.

@dnduffy I was thinking that our standard telemetry modules should monitor and respect the DisableTelemetry flag when possible. For many modules it wouldn't be a problem at all.

Hi Sergey,
Sorry I am noticing that I did not respond to your question.
The main concern is performance. If this is not a valid concern, please let me know.
Being able to disable AI without any re-compile is important when we need to deploy (sell) the application to multiple customers - some might prefer not using AI.

Hi,
Can we keep the AI settings in web..config file, so that we can enable it to for specific deployemenys.
Only concern I have, is if this is way, then which settings we need to keep?
Please validate if following settings in web.config are sufficent to disable/enable AI?
Also will it be right thing to do from performance point of view?

Under <System.Web>

Under <system.webServer>

Under <system.diagnostics>

</system.diagnostics>

@kulkarnisachin07  you have couple options. Easiest is to have InstrumentationKey set only for certain environments. If the key is not set for the environment - telemetry will not be set and it is virtually disabled.
Alternatively you can keep it in application settings and have a code like this in the very beginning of the application:
TelemetryConfiguration.Active.DisableTelemetry = IsTelemetryDisabled();

This should be implemented by specific telemetry modules. Opened issues in corresponding repositories. Closing the issue in this repo

@SergeyKanzhelev is "setting the instrumentation key to empty value" equivalent to "set TelemetryConfiguration.Active.DisableTelemetry = true"? Is there any additional performance penalty to pay?


html reports not working on gh-pages

Directories started with underscores are treated as special by jekyll and that's whats running on gh-pages by default. Therefor the __resources directory is not served breaking the css and js downloads.
To fix this either include a _config.yml:
include:
 - __resources

Source: https://github.com/jekyll/jekyll/issues/1352#issuecomment-23229143
Or include a .nojekyll file to disable jekyll processing. Source: https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/

Ok, so you suggest to add a .nojekyll fole in the html report by default? It might not really be the task of the html reporter.

True, it isn't an issue per se but thought it worth mentioning.

True, it isn't an issue per se but thought it worth mentioning. Maybe something for on the wiki, getting started or faq.

Maybe we can rename the directory. I called it __resources to make sure no naming clashes can occur. Maybe we can do something else to make sure of this, maybe resources__?

Take a look at my report 🤓

Wow! 100%. Congrats! Glad to see that the typescript support solves your problems with false positives! What do you think of the new report?

Absolutely fantabulous 😃

Perhaps we could also use something like `strykerReportRe


Emoticons :)

Apart from emojis, there are emoticons such as :), ;), :P, xD. Tokenizers tend to dismiss them as punctuations yet they are tokens of emotion.

One way is to incorporate our tokenizers to recognize such patterns.
Implement an EmojiVectorizer specific to emojis and emoticons and use it in union with other vectorizers. This approach can also produce coarse grained features such as contains_anger, contains_laughter based on a rule based coarse grained grouping of emojis. Which is an approach that was thought in one of our customers

Please do not mention customer specific projects and their names in here. Do we have complete list of such emoji models ?

This Wikipedia article contains separate list of Western and Eastern (Korean, Japanese etc.) style emoticons. They are also categorized by emotions they convey. This can bu used to build a list and emoticon -> emotion dict.

@dafajon This dict below might be useful for this case:
https://github.com/NeelShah18/emot/blob/master/emot/emo_unicode.py

This dict also refers to the same Wikipedia page; so we can use this dict. Thanks for sharing.


[TB] Design System Rebranding

Suggestion/Concern
When a Design System needs to be updated, such as when an organization is going through rebrand, teams don't want to spend time building out all the matching Figma, React and CSS from scratch.
Proposed Solution
Utilize the Theme Builder to expedite the rebranding of an application. Load the theme and modify the rebranded attributes.

@dscamahorn  What is the starting point?  Is it an existing Theme Builder file or another design system file?  Does this include integration with toolchain?


Gmres omp

(Hopefully useful) parallelization of the reference implementation for gmres

Just as a first check can you run the tests with say OMP_NUM_THREADS set to 2 or 4 and give the timings ? compared to running with OMP_NUM_THREADS = 1 and also for the reference kernels so that we can compare.

Just to publish some of the runtime results we achieved with the current implementation: The following results were performed on the CI system with OMP_NUM_THREADS=20. Each kernel was run 10x and then averaged. Fac denotes the speedup, calculated by fac = runtime_ref / runtime_omp. The problem size is given at the top:
b: 350597 x 1 (one right hand size)

Initialize1
Reference iteration: 592272 ns
OpenMP iteration:    174814 ns Fac: 3.388

Initialize2
Reference iteration: 300908411 ns
OpenMP iteration:    20167851 ns Fac: 14.9202

Step1
Reference iteration: 53103701 ns
OpenMP iteration:    2520672 ns Fac: 21.0673

Step2
Reference iteration: 16209903 ns
OpenMP iteration:    4807145 ns Fac: 3.37204

b: 150597 x 43 (43 right hand sides)

Initialize1
Reference iteration: 111082341 ns
OpenMP iteration:    15191998 ns Fac: 7.3119

Initialize2
Reference iteration:<PHONE_NUMBER>9 ns
OpenMP iteration:    352260101 ns Fac: 33.4013

Step1
Reference iteration:<PHONE_NUMBER> ns
OpenMP iteration:    195130738 ns Fac: 15.0673

Step2
Reference iteration: 847061494 ns
OpenMP iteration:    20449816 ns Fac: 41.4215

The result is not perfect for only one right hand side, but I think it is definitively good enough for the release.

For a smaller size:
b: 5597 x 43:

Initialize1
Reference iteration: 1720219 ns
OpenMP iteration:    1782591 ns Fac: 0.965011

Initialize2
Reference iteration: 331637628 ns
OpenMP iteration:    13983642 ns Fac: 23.7161

Step1
Reference iteration: 47817503 ns
OpenMP iteration:    8577142 ns Fac: 5.57499

Step2
Reference iteration: 10210778 ns
OpenMP iteration:    623914 ns Fac: 16.3657

b: 5597 x 1

Initialize1
Reference iteration: 9369 ns
OpenMP iteration:    101699 ns Fac: 0.0921319

Initialize2
Reference iteration: 1294068 ns
OpenMP iteration:    115224 ns Fac: 11.2309

Step1
Reference iteration: 256458 ns
OpenMP iteration:    288456 ns Fac: 0.889071

Step2
Reference iteration: 104470 ns
OpenMP iteration:    29408 ns Fac: 3.55239

Here, we lose quite a bit time in Step1, but I think it is still acceptable for such a small matrix.
Initialize1 should not matter at all since we only call it in the very beginning once in the GMRES solver.


Adding Org level job expiry for Scheduled jobs

These are the doc changes for us to add:

expired into job states
Explain the difference between timed out & expired
Explain how you can enforce org level settings on expired. Global limit is 30 days, but they can enforce a lower limit
Add a page called build timeouts

👀 Looking at this now and plan to push style updates directly to the branch to move quickly. Please ping me if that's an issue or if you're still making changes that might cause merge conflicts.
Also, additional context: expired is not a new job state -> https://buildkite.com/changelog/157-automatic-job-expiration-after-30-days


Reliably vertically and horizontally center NotificationBlock on screen

Would you entertain an easy way to center notifications on any screen size?
(
 name: "root",
 hook: Hook(parent_hook: MM, self_hook: MM), // MM = Middle Middle? Or, BM = Bottom Middle?
 offset: Vec2(x: 0, y: 150),
 params: NotificationBlock(( ... )),
 ...
)

Ultimately I'm interested in making notifications such as the following volume display:

Good idea!  I'll have a look into this.

Available in master.  Please let me know if you have any issues with it!


Releases: Auto-builds for Windows, Mac, Linux ?

Would be nice to refer windows users to a single binary when they need rsync.

https://github.com/gokrazy/rsync/releases/tag/v0.1.0 is now available. Let me know if any of the binaries don’t work.

Very cool, thank you @stapelberg


setup-nv-boot-control causing rcu stall on JAOi

I'm trying to bring up a Jetson AGX Orin Industrial module, right now just on a devkit carrier.
To Reproduce
Steps to reproduce the behavior:

Build meta-tegra branch wip-l4t-r35.4.1 or kirkstone with MACHINE based on 'jetson-agx-orin-industrial'
hard-flash to orin industrial module on devkit carrier board
Boot logs look completely normal until setup-nv-boot-control runs:

Running Set up redundant boot configuration:
[   12.859911] FAT-fs (mmcblk0p10): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   15.317673] tegra-hda 3510000.hda: azx_get_response timeout, switching to polling mode: last cmd=0x001f0500
[   33.965663] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[   33.965860] rcu:     0-...0: (1 GPs behind) idle=85a/1/0x4000000000000000 softirq=547/549 fqs=1889
[   33.966114]  (detected by 7, t=5252 jiffies, g=-283, q=1189)
[   33.966282] Task dump for CPU 0:
[   33.966374] task:kworker/u24:0   state:R  running task     stack:    0 pid:    7 ppid:     2 flags:0x0000002a
[   33.966671] Workqueue: efi_rts_wq efi_call_rts
[   33.966796] Call trace:
[   33.966887]  __switch_to+0xc8/0x120
[   33.966992]  0xaff
[   33.967061]  efi_call_rts+0x1b0/0x44c
[   33.967171]  process_one_work+0x1d8/0x4b0
[   33.967297]  worker_thread+0x144/0x470
[   33.967404]  kthread+0x160/0x164
[   33.967495]  ret_from_fork+0x10/0x24
[   33.967591] rcu: ====For debug only: Start Printing Blocked Tasks====<print_other_cpu_stall>
[   33.968050] task:kworker/5:0     state:D stack:    0 pid:   40 ppid:     2 flags:0x00000028
[   33.969268] Workqueue: pm pm_runtime_work
[   33.969885] Call trace:
[   33.970270]  __switch_to+0xc8/0x120
[   33.970814]  __schedule+0x314/0x9a0
[   33.971351]  schedule+0x78/0x104
[   33.973650]  schedule_timeout+0x9c/0x1d4
[   33.977588]  wait_for_completion_timeout+0x88/0x110
[   33.982402]  tegra_bpmp_transfer+0x1c0/0x3c0
[   33.986604]  tegra_bpmp_clk_transfer+0x88/0xd4
[   33.991063]  tegra_bpmp_clk_unprepare+0x50/0xb0
[   33.995616]  clk_core_unprepare+0x94/0x260
[   33.999639]  clk_unprepare+0x38/0x50
[   34.003140]  tegra_sdhci_set_host_clock.part.0+0x94/0x350
[   34.008563]  sdhci_tegra_runtime_suspend+0xdc/0x144
[   34.013378]  pm_generic_runtime_suspend+0x40/0x60
[   34.018099]  __rpm_callback+0xe0/0x1a0
[   34.022037]  rpm_callback+0x74/0xa0
[   34.025712]  rpm_suspend+0x110/0x650
[   34.029037]  pm_runtime_work+0xc0/0xcc
[   34.032800]  process_one_work+0x1d8/0x4b0
[   34.036826]  worker_thread+0x144/0x470
[   34.040587]  kthread+0x160/0x164
[   34.043999]  ret_from_fork+0x10/0x24
[   34.047617] task:khugepaged      state:D stack:    0 pid:   86 ppid:     2 flags:0x00000028
[   34.055813] Call trace:
[   34.058437]  __switch_to+0xc8/0x120
[   34.061939]  __schedule+0x314/0x9a0
[   34.065526]  schedule+0x78/0x104
[   34.068851]  schedule_timeout+0x194/0x1d4
[   34.073049]  wait_for_completion+0x88/0x120
[   34.077164]  __flush_work.isra.0+0x16c/0x2d0
[   34.081538]  flush_work+0x24/0x30
[   34.084954]  lru_add_drain_all+0x190/0x200
[   34.088981]  khugepaged+0x9c/0x1d00
[   34.092475]  kthread+0x160/0x164
[   34.095799]  ret_from_fork+0x10/0x24
[   34.099320] task:kworker/5:2     state:D stack:    0 pid:  148 ppid:     2 flags:0x00000028
[   34.107353] Workqueue: pm pm_runtime_work
[   34.111374] Call trace:
[   34.113913]  __switch_to+0xc8/0x120
[   34.117589]  __schedule+0x314/0x9a0
[   34.121262]  schedule+0x78/0x104
[   34.124500]  schedule_preempt_disabled+0x2c/0x44
[   34.129049]  __mutex_lock.constprop.0+0x180/0x510
[   34.133601]  __mutex_lock_slowpath+0x28/0x34
[   34.137712]  mutex_lock+0x60/0x6c
[   34.141128]  clk_prepare_lock+0x4c/0xa0
[   34.145063]  clk_unprepare+0x30/0x50
[   34.148563]  clk_bulk_unprepare+0x48/0x5c
[   34.152683]  hda_tegra_runtime_suspend+0x50/0xd4 [snd_hda_tegra]
[   34.158451]  pm_generic_runtime_suspend+0x40/0x60
[   34.163001]  genpd_runtime_suspend+0xac/0x290
[   34.167375]  __rpm_callback+0xe0/0x1a0
[   34.171311]  rpm_callback+0x38/0xa0
[   34.174986]  rpm_suspend+0x110/0x650
[   34.178486]  rpm_idle+0xd0/0x2b0
[   34.181724]  pm_runtime_work+0xa4/0xcc
[   34.185487]  process_one_work+0x1d8/0x4b0
[   34.189337]  worker_thread+0x144/0x470
[   34.193274]  kthread+0x160/0x164
[   34.196600]  ret_from_fork+0x10/0x24
[   34.200275] task:kworker/5:3     state:D stack:    0 pid:  149 ppid:     2 flags:0x00000028
[   34.208428] Workqueue: events hda_jackpoll_work [snd_hda_codec]
[   34.214274] Call trace:
[   34.216899]  __switch_to+0xc8/0x120
[   34.220401]  __schedule+0x314/0x9a0
[   34.224075]  schedule+0x78/0x104
[   34.227488]  rpm_resume+0x164/0x700
[   34.231162]  rpm_resume+0x270/0x700
[   34.234749]  __pm_runtime_resume+0x44/0x90
[   34.238783]  snd_hdac_power_up_pm+0x74/0x8c [snd_hda_core]
[   34.244032]  hda_jackpoll_work+0x54/0xa0 [snd_hda_codec]
[   34.249363]  process_one_work+0x1d8/0x4b0
[   34.253387]  worker_thread+0x144/0x470
[   34.257150]  kthread+0x160/0x164
[   34.260387]  ret_from_fork+0x10/0x24
[   34.263899] task:kworker/8:1H    state:D stack:    0 pid:  169 ppid:     2 flags:0x00000028
[   34.272207] Workqueue: kblockd blk_mq_run_work_fn
[   34.276923] Call trace:
[   34.279462]  __switch_to+0xc8/0x120
[   34.282961]  __schedule+0x314/0x9a0
[   34.286462]  schedule+0x78/0x104
[   34.289698]  rpm_resume+0x164/0x700
[   34.293199]  __pm_runtime_resume+0x44/0x90
[   34.297227]  __mmc_claim_host+0x1a0/0x1f0
[   34.301250]  mmc_get_card+0x3c/0x50
[   34.304841]  mmc_mq_queue_rq+0x27c/0x2b0
[   34.308777]  blk_mq_dispatch_rq_list+0x110/0x740
[   34.313500]  blk_mq_do_dispatch_sched+0x27c/0x2d0
[   34.318049]  __blk_mq_sched_dispatch_requests+0x174/0x180
[   34.323212]  blk_mq_sched_dispatch_requests+0x44/0x7c
[   34.328286]  __blk_mq_run_hw_queue+0xa8/0x130
[   34.332663]  blk_mq_run_work_fn+0x2c/0x40
[   34.336861]  process_one_work+0x1d8/0x4b0
[   34.341062]  worker_thread+0x144/0x470
[   34.344824]  kthread+0x160/0x164
[   34.348062]  ret_from_fork+0x10/0x24
[   34.351607] task:jbd2/mmcblk0p1- state:D stack:    0 pid:  281 ppid:     2 flags:0x00000028
[   34.359611] Call trace:
[   34.362149]  __switch_to+0xc8/0x120
[   34.365825]  __schedule+0x314/0x9a0
[   34.369325]  schedule+0x78/0x104
[   34.372561]  io_schedule+0x44/0x60
[   34.375973]  bit_wait_io+0x20/0x60
[   34.379299]  __wait_on_bit+0x80/0xf0
[   34.382975]  out_of_line_wait_on_bit+0xa4/0xd0
[   34.387440]  __wait_on_buffer+0x40/0x50
[   34.391291]  jbd2_write_superblock+0x1b8/0x2d0
[   34.395576]  jbd2_journal_update_sb_log_tail+0x74/0xf4
[   34.400739]  jbd2_journal_commit_transaction+0xab8/0x1ad0
[   34.405899]  kjournald2+0xc8/0x270
[   34.409310]  kthread+0x160/0x164
[   34.412549]  ret_from_fork+0x10/0x24
[   34.416076] task:getty           state:D stack:    0 pid:  567 ppid:   563 flags:0x00000004
[   34.424362] Call trace:
[   34.426987]  __switch_to+0xc8/0x120
[   34.430486]  __schedule+0x314/0x9a0
[   34.433988]  schedule+0x78/0x104
[   34.437224]  io_schedule+0x44/0x60
[   34.440464]  wait_on_page_bit_common+0x11c/0x3a0
[   34.445187]  generic_file_buffered_read+0x484/0xa5c
[   34.450086]  generic_file_read_iter+0xf0/0x170
[   34.454552]  ext4_file_read_iter+0x5c/0x160
[   34.458664]  new_sync_read+0xf8/0x18c
[   34.462338]  vfs_read+0x134/0x1c0
[   34.465751]  ksys_read+0x78/0x100
[   34.469074]  __arm64_sys_read+0x28/0x34
[   34.472926]  el0_svc_common.constprop.0+0x80/0x1c4
[   34.477913]  do_el0_svc+0x74/0x8c
[   34.481150]  el0_svc+0x1c/0x2c
[   34.484212]  el0_sync_handler+0x9c/0x120
[   34.488149]  el0_sync+0x16c/0x180
[   34.491562] task:eloop           state:D stack:    0 pid:  573 ppid:     1 flags:0x00000000
[   34.499437] Call trace:
[   34.502061]  __switch_to+0xc8/0x120
[   34.505563]  __schedule+0x314/0x9a0
[   34.509237]  schedule+0x78/0x104
[   34.512563]  io_schedule+0x44/0x60
[   34.515886]  bit_wait_io+0x20/0x60
[   34.519300]  __wait_on_bit+0x80/0xf0
[   34.522975]  out_of_line_wait_on_bit+0xa4/0xd0
[   34.527438]  __wait_on_buffer+0x40/0x50
[   34.531288]  __ext4_find_entry+0x330/0x400
[   34.535400]  ext4_lookup+0x94/0x23c
[   34.538987]  __lookup_slow+0x90/0x150
[   34.542662]  walk_component+0x118/0x1d0
[   34.546425]  path_lookupat+0x88/0x1c4
[   34.549924]  filename_lookup+0x98/0x190
[   34.553862]  user_path_at_empty+0x70/0xa0
[   34.557973]  vfs_statx+0x90/0x160
[   34.561386]  __do_sys_newfstatat+0x30/0x70
[   34.565586]  __arm64_sys_newfstatat+0x2c/0x3c
[   34.569875]  el0_svc_common.constprop.0+0x80/0x1c4
[   34.574687]  do_el0_svc+0x74/0x8c
[   34.577924]  el0_svc+0x1c/0x2c
[   34.580899]  el0_sync_handler+0x9c/0x120
[   34.584838]  el0_sync+0x16c/0x180
[   34.588260] task:efivar          state:D stack:    0 pid:  672 ppid:   649 flags:0x00000004
[   34.596562] Call trace:
[   34.599099]  __switch_to+0xc8/0x120
[   34.602687]  __schedule+0x314/0x9a0
[   34.606186]  schedule+0x78/0x104
[   34.609598]  schedule_timeout+0x194/0x1d4
[   34.613712]  wait_for_completion+0x88/0x120
[   34.617912]  virt_efi_set_variable+0x124/0x180
[   34.622288]  efivar_entry_set_get_size+0xe0/0x210
[   34.626752]  efivarfs_file_write+0xb0/0x170
[   34.630863]  vfs_write+0xf0/0x2a4
[   34.634274]  ksys_write+0x78/0x100
[   34.637600]  __arm64_sys_write+0x28/0x3c
[   34.641362]  el0_svc_common.constprop.0+0x80/0x1c4
[   34.646262]  do_el0_svc+0x74/0x8c
[   34.649587]  el0_svc+0x1c/0x2c
[   34.652737]  el0_sync_handler+0x9c/0x120
[   34.656586]  el0_sync+0x16c/0x180

Additional Context
I disabled the setup-nv-boot-control initscript and am able to log in over serial.
The efivarfs and /boot/efi partitions mounted and seem fine:
root@jetson-agx-orin-devkit-industrial:/boot/efi $ mount | grep -i efi
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/mmcblk0p10 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

root@jetson-agx-orin-devkit-industrial:/boot/efi $ ls -R
.:
EFI

./EFI:
BOOT

./EFI/BOOT:
bootaa64.efi

I see that /usr/bin/setup-nv-boot-control tries to do:
set_efi_var "TegraPlatformSpec" "781e084c-a330-417c-b678-38e696380cb9" "${boardspec}-${TARGET}-" "write-once" || rc=1
...
    set_efi_var "TegraPlatformCompatSpec" "781e084c-a330-417c-b678-38e696380cb9" "${compatspec}-${TARGET}-" "write-once" || rc=1

But according to efivar 781e084c-a330-417c-b678-38e696380cb9-TegraPlatformSpec and 781e084c-a330-417c-b678-38e696380cb9-TegraPlatformCompatSpec do not exist on this module, maybe that is the problem?
root@jetson-agx-orin-devkit-industrial:/boot/efi $ efivar -l | sort
04b37fe8-f6ae-480b-bdd5-37d98c5e89aa-VarErrorFlag
39b68c46-f7fb-441b-b6ec-16b0f69821f3-CapsuleMax
781e084c-a330-417c-b678-38e696380cb9-BootChainFwCurrent
781e084c-a330-417c-b678-38e696380cb9-BootChainOsCurrent
781e084c-a330-417c-b678-38e696380cb9-DgpuDtEfifbSupport
781e084c-a330-417c-b678-38e696380cb9-L4TDefaultBootMode
781e084c-a330-417c-b678-38e696380cb9-RootfsRedundancyLevel
781e084c-a330-417c-b678-38e696380cb9-RootfsRetryCountMax
781e084c-a330-417c-b678-38e696380cb9-RootfsStatusSlotA
781e084c-a330-417c-b678-38e696380cb9-RootfsStatusSlotB
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0000
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0001
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0002
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0003
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootCurrent
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOptionSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0000
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0001
8be4df61-93ca-11d2-aa0d-00e098032b8c-Lang
8be4df61-93ca-11d2-aa0d-00e098032b8c-LangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndicationsSupported
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLang
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformRecovery0000
8be4df61-93ca-11d2-aa0d-00e098032b8c-SecureBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupMode
8be4df61-93ca-11d2-aa0d-00e098032b8c-SignatureSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout
8be4df61-93ca-11d2-aa0d-00e098032b8c-VendorKeys
d9bee56e-75dc-49d9-b4d7-b534210f637a-certdb
d9bee56e-75dc-49d9-b4d7-b534210f637a-certdbv
eb704011-1402-11d3-8e77-00a0c969723b-MTC

Any debugging advice or insights greatly appreciated, happy to gather more debug info too

Hello @tbottomparallel
Thanks for reporting this issue. I will try to reproduce this issue.
I will keep you posted.
Did you try with L4T/Jetpack stock ?

Hey @tbottomparallel
I tried to reproduce the bug but I can't.
Kindly see below:
root@jetson-agx-orin-devkit-industrial:~# systemctl restart setup-nv-boot-control
root@jetson-agx-orin-devkit-industrial:~#
root@jetson-agx-orin-devkit-industrial:~# journalctl -u setup-nv-boot-control --no-pager
Jul 28 08:26:33 jetson-agx-orin-devkit-industrial systemd[1]: Starting Set up redundant boot configuration...
Jul 28 08:26:33 jetson-agx-orin-devkit-industrial systemd[1]: setup-nv-boot-control.service: Deactivated successfully.
Jul 28 08:26:33 jetson-agx-orin-devkit-industrial systemd[1]: Finished Set up redundant boot configuration.
Sep 09 12:05:05 jetson-agx-orin-devkit-industrial systemd[1]: Starting Set up redundant boot configuration...
Sep 09 12:05:05 jetson-agx-orin-devkit-industrial systemd[1]: setup-nv-boot-control.service: Deactivated successfully.
Sep 09 12:05:05 jetson-agx-orin-devkit-industrial systemd[1]: Finished Set up redundant boot configuration.
root@jetson-agx-orin-devkit-industrial:~#

Running the command line setup-nv-boot-control

root@jetson-agx-orin-devkit-industrial:~# /usr/bin/setup-nv-boot-control
root@jetson-agx-orin-devkit-industrial:~# echo $?
0
root@jetson-agx-orin-devkit-industrial:~#

@ichergui thanks for testing that. I have a couple other bringup items I need to do first, but I'll test with stock L4T asap and post the results.

@ichergui thanks for testing that. I have a couple other bringup items I need to do first, but I'll test with stock L4T asap and post the results.

Thanks

Hey @tbottomparallel
Any update on this ?

@ichergui sorry none yet, it's been a busy couple of weeks. But I should be able to look at it soon.

This took a lot longer to get back to than originally expected. For anyone who stumbles across this issue, it was 100% user error.
I added a fixed regulator to the device tree
        fixed-regulators {
                tpa3116_enable: amp-enable {
                        compatible = "regulator-fixed";
                        regulator-name = "tpa3116-enable";
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
                        enable-active-high;
                        gpio = <&tegra_main_gpio TEGRA234_AON_GPIO(BB, 2) GPIO_ACTIVE_HIGH>;
                        startup-delay-us = <1000>;
                };
        };

which resulted in gpio-358 (PC.01               |fixed-regulators:amp) out lo
&tegra_main_gpio should have been &tegra_aon_gpio:
        fixed-regulators {
                tpa3116_enable: amp-enable {
                        compatible = "regulator-fixed";
                        regulator-name = "tpa3116-enable";
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
                        enable-active-high;
                        gpio = <&tegra_aon_gpio TEGRA234_AON_GPIO(BB, 2) GPIO_ACTIVE_HIGH>;
                        startup-delay-us = <1000>;
                };
        };

for the correct result gpio-326 (PBB.02              |fixed-regulators:amp) out lo
It escaped notice because I also accidentally defaulted that gpio to output-high instead of output-low.


Intellisense: set always open downwards???

Is it possible to make the code hinting on functions and classes, etc, to not cover above written code?

Duplicate of #33752


Add history of running jobs

Add a scheduled service to save the number of running jobs divided by the number of a configured max jobs value.
This value should be tracked every X min (default to 15 minutes) and stored in database (either a new table or the ConfigData table in an admin key in a json serialized array).
This process should be a module (like the watcher, matrix gc and so on)

This can be computed on demand, with fetching all jobs and bucketing them on time frames depending on creation_date and completion_date.

This is an analytics feature that will be fixed outside of the project


bugfix: wilcoxon expected result changed

The test test_evaluator.test_wilcoxon was failing, since the expected and found result swiched columns.
No changes have been made to related functionality, so perhaps it is due to a change in stats.wilcoxon signature?
Or, do I have a version inconsistency in my local version? (let's see what the remote tests say).
Either way, this PR fixes the expected results to the new results.

@ViktorKaz, do you know what is happening to the wilcoxon test?

very very strange - locally the test runs, and the result of wilcoxon is as this fix implies.
On main, my local test breaks, but the remote test runs.
I think I´m satisfying all version requirements, so not sure what is going on.
Any help, @mloning?

@fkiraly test_wilcoxon fails locally for me after I cloned your pull request.
The returned result from evaluator.wilcoxon_test().iloc[:, 2:].values is:
array([[0.5, 0. ],
       [0.5, 0. ],
       [0.5, 0. ]]

Maybe not very helpful but based on a quick review it looks to me that there was nothing wrong with the wilcoxon method. I am not sure why the columns are switched for you. It might indeed be due to difference of the version of scipy. I have scipy==1.6.3 installed in my virtual environment.

for really strange reasons, it seems only local.
After reinstalling sktime with current requirements, it's fine again, so I assume it must have been some weird interaction of unsupported package versions, and not a change in the actual.
This might still be worth investigating, but the PR is not needed.


Bootstrapping a node raises missing create permission for chef infra server 13

Description

While bootstrapping a node with the latest chef infra server 13.1.13 raises missing create permission while attempting to create a client.
Chef Version

15.5.17
Platform Version

Node: Ubuntu 18.04
Replication Case

Setup a standalone chef infra server 13.1.13
Bootstrap a node.

Client Output

ERROR: You authenticated successfully to https://chef-server.test/organizations/4thcoffee as chefadmin but you are not authorized for this action.
Response:  missing create permission

Stacktrace

Creating new client for node1
bundler: failed to load command: knife (/chef/vendor/bundle/ruby/2.6.0/bin/knife)
Net::HTTPServerException: 403 "Forbidden"
  /opt/chefdk/embedded/lib/ruby/2.6.0/net/http/response.rb:122:in `error!'
  /chef/lib/chef/http.rb:152:in `request'
  /chef/lib/chef/http.rb:131:in `post'
  /chef/lib/chef/api_client/registration.rb:106:in `create'
  /chef/lib/chef/api_client/registration.rb:96:in `create_or_update'
  /chef/lib/chef/api_client/registration.rb:59:in `run'
  /chef/lib/chef/knife/bootstrap/client_builder.rb:133:in `create_client!'
  /chef/lib/chef/knife/bootstrap/client_builder.rb:55:in `run'
  /chef/lib/chef/knife/bootstrap.rb:596:in `register_client'
  /chef/lib/chef/knife/bootstrap.rb:575:in `run'
  /chef/lib/chef/knife.rb:486:in `block in run_with_pretty_exceptions'
  /chef/lib/chef/local_mode.rb:42:in `with_server_connectivity'
  /chef/lib/chef/knife.rb:485:in `run_with_pretty_exceptions'
  /chef/lib/chef/knife.rb:229:in `run'
  /chef/lib/chef/application/knife.rb:163:in `run'
  /chef/bin/knife:24:in `<top (required)>'
  /chef/vendor/bundle/ruby/2.6.0/bin/knife:23:in `load'
  /chef/vendor/bundle/ruby/2.6.0/bin/knife:23:in `<top (required)>'

That doesn't seem like a bug in the client -- the user on the chef-server doesn't have create perms on the node container.

(i think there's been changes on the chef-server to lock things down over the years, and as a result of tightening security stance that means that it probably needs to be documented how to setup a user to be able to bootstrap nodes -- or something along those lines)

seems that updates related to client formation are missing in the changelog & release note of chef infra server, we probably need to look in detail and update the bootstrap process accordingly.


[RESOLVED] High ICMP ping response time

Problem started at 02:07:33 on 2023.08.10
Problem name: High ICMP ping response time
Host: S100-Santiago
Severity: Warning
Operational data: Value: 185ms
Original problem ID: 35209
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23518&eventid=35209

Problem has been resolved in 3m 0s at 02:10:33 on 2023.08.10
Problem name: High ICMP ping response time
Host: S100-Santiago
Severity: Warning
Original problem ID: 35209


Backup Mechanism with Snapshot for Sharding in MongoDB operator

With this PR, MongoDB operator has added the support for Cluster-sharding. Here, the backup part is done by mongodump. As per the official documentation of MongoDB the mongodump is not good for large deployments. Also I have seen many MongoDB backup tools that is using mongodump. Can't it be done through snapshot for backup?

Essential Resources:

Available backup methods: https://docs.mongodb.com/manual/core/backups/
Back Up and Restore with Filesystem Snapshots: https://docs.mongodb.com/manual/tutorial/backup-with-filesystem-snapshots/
Back Up a Sharded Cluster with File System Snapshots: https://docs.mongodb.com/manual/tutorial/backup-sharded-cluster-with-filesystem-snapshots/