Augur Community Bounties

The Forecast Foundation and the Augur community is excited to launch additional bounties for Augur tooling and infrastructure. Thus far, the network of developers, front-ends, dashboards and more have all grown and developed organically; allowing for peer-to-peer prediction markets to take many unique forms.
This bounty initiative will seek to further that expansion by encouraging developers in building applications and tooling that improve the usability, growth, and effectiveness of the Augur platform. Now is your chance to get acclimated with the development team, community, and code — while earning a bounty, improving the ecosystem, and beginning your own project!
The Procedure:

The Forecast Foundation and the “Smarty Pants” group of Augur Discord users will specify requests for external Augur tooling and applications on the Augur Github. Applicants are also encouraged to submit ideas for apps, projects, and additional tooling that are not explicitly outlined in this initiative on the same Github issue.

Applicants will write a short response detailing their experience, vision, proposed milestones and timetable, and plans for building out the project on the public GitHub issue.

Applications for each project will be open for (7) days. The Foundation and Smarty Pants group will review each application and promptly approve, deny, or request more information. The 7 day period begins Friday, February 22nd, 2019 at 5:00PM PT, and ends the following Friday, March 1st, 2019 at 5:00PM PT.

Upon the completion of the (7) day public application process, the Foundation and Smarty Pants group will set the top three teams or persons for each submission, where number 1 has initial priority, number 2 second, and number 3 third.

Developers who have been selected as the number 1 team for initial priority will be required to have deliverables by a certain date, else the team or person defaults on the bounty and it gets passed to the next team in line. If you submitted your own project or idea, its eligibility will be determined using the same criteria as the example projects below.

Upon completion of the project and by approval of the Forecast Foundation and the Smarty Pants group, the bounty will be complete and paid out to the submitting team or persons.

“Smarty Pants” is a group of independent, community individuals who have proven their extensive knowledge of Augur in the Discord chat. They are the moderators of the Augur Discord, and will be assisting in this initiative as an unbiased control group outside of the Forecast Foundation.
Project Ideas:

Consumable Glossary: Take the Augur Glossary (in the Augur Docs) and create some sort of crash course / means of digesting and consuming the terms, with clean deep-linking to important concepts. You should create something where anyone who wants to learn more in depth about Augur can easily consume the details surrounding forks, reporting, trading, different states of Augur, etc. Think of example websites made by RadarRelay for example: WETH.io, Gwei.io, EthGas.io, etc. ($2,750 in REP)

Augur Explainer Video: Check the old Augur explainer video for reference. Create something similar, however up to date with the current mechanisms and explanations of how Augur works (including changes being made to the v2 deployment of Augur on a protocol level). ($4,000 in REP)

Historical Reporting Digest: A running wiki/index and analysis of key precedent set by Augur REP reporters during disputes. A central repository where anyone can learn about the historical decisions REP reporters have made in terms of invalid markets, disputes, ambiguous markets, etc. ($2,000 REP)

Augur Analysis Services: More third-party analysis services. Amount of REP remaining in old reporting fee window stats, historical reporting rounds REP staked amounts, accurate display of DAU, an “Augur Calendar” that shows the important upcoming dates for protocol events, visualizations of volume & trading activity, etc). Submit your idea on the GitHub issue. (~$2,500 in REP, variable)

Submit Your Own: Submit your own idea for a project.

How to Apply:
Please answer the questions below in a reply to this issue:
What project do you want to build?

Who are you, and why do you (or your team) want to build this?

Outline your plans for completing the bounty, including rough milestones and timelines:

Links to your Github, other project contributions, Twitter, Website, etc:

Anything else you'd like to add:

I'm crypto-enthusiast who is a teacher by day and enjoys video making.  I love trying to educate people about the crypto/blockchain space in a way that is accessible and easy to understand.  I'm particularly passionate about projects that look to make a positive change in the way our society works and interacts, which is evident with Augur!
I'd be very interested in creating a video for the Augur project that sets itself apart from other projects.  I feel that there is a lot of projects that use animated explainer style videos to promote their project.  While using animation does make it easy to understand, I am a strong believer in an emotive call-to-action, giving people the ability to see the big picture and a reason to become involved.  I believe this is more possible through cinematic 'wanderlust' style films that many corporations are starting to use.
I propose to create a short film/video helping to:
a) explain the tech/mechanics of the project and;
b) develop a sense of purpose and excitement
The suggested reward of $4,000 is what I typically offer to make videos, and that would include licensed music and footage, script writing and voice over.  I would endeavour to fulfil the bounty within 5  weeks of acceptance.
A sample of my work can be found here:
https://www.youtube.com/watch?v=08_pLmckl0U
Thank you for your consideration. All the best with the project and picking applicants :)

I would like to tackle the Consumable Glossary project. I have been following Augur for the past couple years and I have built up meaningful knowledge through trial and error, the Augur Discord, and I am one of the "Smarty Pants" (note that I will abstain from participating in the selection process).
Prior to this bounty, I had already started https://augur.guide in my spare time as I recognized the community's need for such a project. If I am selected, I will be able to commit full-time hours into the work, allowing for a much faster completion of "version 1.0". I estimate that I would be able to fulfill the requirements of the bounty within 4 weeks of being selected. Please visit the site as it exists today to get a sense of the scope, layout, and writing style.
Augur.Guide is hosted on Github Pages and is open source under the MIT License. This allows for the community to assist with improving it over time through issues, pull requests, etc. I look forward to being given the opportunity to help grow the Augur ecosystem. Thank you.

Hello!
My name is Anish and I’m a student developer who has been working on building platforms and decentralized applications backed by blockchain technologies for the past few months. I’ve been experimenting with Augur and various tools built atop its core principles for simplifying various aspects of the platform (utilities like Veil or Predictions.Global, now also a part of Veil), and have been incredibly fascinated by its potential use cases.
I’ve participated in quite a few markets so far, albeit not being the best predictor – haha, but it has given me an insight into how they function and the Augur protocol as a whole. Thus, at this point of time, I’m applying for a community bounty to potentially further not only my understanding of Augur, but also build tools using my existing skillsets for the community.
What project do you want to build?
I’m most interested in building an Augur Analysis Service. Data visualization is one of my personal hobbies and this would fit very well within that context. I’m a fan of tools like Predictions.Global and have worked with the Augur decentralized oracle API in the past for personal projects.
Under this bounty, I’d like to build two things:

An easy to use web platform that is accessible across networks, resolutions, and devices. Ideally, I’d like this web platform to be UI/UX-friendly with easy and convenient statistics and information being displayed. I would use a MERN-stack to accomplish this along with a mix of centralized data sources (potential to inhouse through a seperate node deployment), and the existing decentralized oracle. An example of an existing web platform similar to this which I would take inspiration from is the Uniswap.Info Beta Portal which beautifully displays information across all devices, and is easily understandable for the average user. In the same way, I'd like to build a similar portal for Augur. Since I’m a blockchain developer at heart, deploying this platform to an IPFS endpoint with an ENS domain name would also be part of my development, since at the end of the day, I’d like to keep this tool as open, accessible, and decentralized as possible.
The second part of this bounty would be an easy to access API endpoint utility for important information served by the web platform. Currently, there are few solutions for querying Augur market data and other information (like the calendar of important events), and to solve this I'd like to develop a GraphQL outgoing API endpoint alongside the web platform, that other developers can utilize and easily incorporate into their own projects, thus, encouraging further developer involvement in the community.

Who are you, and why do you (or your team) want to build this?
I’m a student full-stack developer who has been interested in blockchain and crypto-currency for the past two years. I’m best with web technologies including but not limited to:

HTML, EJS, PUG, Handlebars
SASS, SCSS, CSS, LESS
JS, Babel
NodeJS

I have also completed the Consensys Developer Academy bootcamp and am moderately proficient with Solidity.
As a frequent user of prediction markets (mostly for personal entertainment) and a developer at heart, I’d love to make it easier for users to better access data about Augur markets, the projects calendar, and other network insights, and make it easier for developers like myself to integrate that same data into their own applications.
Outline your plans for completing the bounty, including rough milestones and timelines:
If approved to begin working towards this bounty, these are the rough milestones and timelines that I would aim to follow:

Week one: Beginning repository, initiating setup of development environment + development wireframes, outlining plan of action and writing technical spec.
Weeks two to four: Developing a responsive front-end in React, followed with a back-end querying centralized endpoints, and the decentralized oracle using NodeJS. Note: There is the potential to setup a node to serve data regarding Augur at this point, although I'd have to take a further look at this if approved for the bounty.
Week four to five: Working on exposing a safe GraphQL endpoint for platform-served data.
Weeks five to six: Conducting project optimizations (auditing with pagespeed, GTMetrix, etc.), doing user testing, and making final changes.

All in all, I’d estimate the project to take approximately six weeks of time from inception, and upwards of 80 man-hours for me to complete.
Due to the scope of these community bounties, I assume that the payment will be in a lumpsum upon delivery. Though, in the case that that is not true, I will be tracking my contributions and milestone achievements through a decentralized platform like Giveth, to stay accountable to progress.
Links to your Github, other project contributions, Twitter, Website, etc.:

My Github profile can be found here.
My resume (outlining my development experience) can be found here.
My personal website can be found here.
My twitter can be found here.
My Gitcoin profile (showing past successful bounty experience working with various decentralized projects, and others via open-source contributions) can be found here.
My Devpost profile (showing my speed and efficiency building DAPPS and other platforms in a short timeframe) can be found here.

Anything else you’d like to add:
If any further clarification is required, etc., please feel free to reach out. I'd be happy to have a chat.

What project do you want to build?
I was interested in the project for a long time, and a month ago I began to actively engage in preparing for the release of the video, I already have a basic scenario that I want to improve in the process, I also have material and sketches of infographics for the video.
I want to create Augur Explainer Video only in a slightly different format, I want to make a video in pop-science style, where it would be told in an interesting and simple language not only about the project itself, but also about the ideas and areas on which it is built (history and ways the use of prediction markets, wisdom of the crowd, futarchy, Hayek's economic theory and more)
Who are you, and why do you (or your team) want to build this?
I think that there is not enough pop-science content in crypto space that could be interested  people outside crypto. My goal is to create a video that can be interesting, giving knowledge and understandable to anyone.
Outline your plans for completing the bounty, including rough milestones and timelines:
I plan to finish the video in 4-6 weeks! At the moment I work every day so that the release of the video was as early as possible. I want to make a plot according to my script with video infographics, inserts of other video materials and voice acting.
Links to your Github, other project contributions, Twitter, Website, etc:
This is my first video in the cryptospace,  it turned out that to start my project, I chose Augur, and after that I saw this program.
I hope that the work will be done qualitatively and will be distributed to the masses.
Anything else you'd like to add:
I will anyway make a video about Augur. And if my video can get a reward, it will be great, but this is not the main goal. I just want to make a video about the project, which I have long been interested in and follow him.

About AugurInsider
I want to continue work on augurinsider.com after it lost a little bit of momentum since last year’s markets expired and not so many new currency derivative markets got created at the beginning of this year.

The goal of AugurInsider is to provide KPIs for currency derivatives on Augur based on the Black Scholes formula that are common for stock options and future options in traditional broker interfaces. This is valuable information for traders, who want to hedge or speculate based on volatility metrics.
A possible step in the very future, when liquidity in Augur is way up might be to create markets based on volatility metrics, like ones that are available for classic stock markets like VIX  or VXX  ETNs.
There might also be ways to do this completely decentralized ideally, but this is not thought through yet.
About me
I am the CTO and co-founder of a SaaS startup based in Germany. (-> www.snapaddy.com) I started programming 20 years ago, became a full-time entrepreneur 5 years ago and I am now responsible for a development team with almost twenty people.
On the side I am super excited about the whole Blockchain/Ethereum space and I am especially bullish about everything surrounding decentralized finance. I play around with stock options a bit and I am also interested in finance and economics in general, which let me to the idea for this as a side project, as I am not able to do much programming in my main job anymore 😉
Receiving the opportunity for this bounty would give me additional motivation to continue to work on this in the future.
Milestones
End of April: Reanimate augurinsider.com and integrate scalar markets, that are popular for derivatives on veil.co for example.
End of June: Also display historical data and charts, which will make the stats and site more appealing and meaningful.
Till the end of 2019: Here it gets a little bit more nebulous: Create markets based on Volatility KPIs, experiment with ways of a completely decentralized way of doing this etc.
Links
augurinsider.com
https://medium.com/augur-insider
https://twitter.com/augurinsider

What project do you want to build?
I would like to take on the Augur Explainer Video
Who are you, and why do you (or your team) want to build this?
Hi! I am an entrepreneur and I own and operate my own video production company and have been doing it professionally for about 8 years now. I focus on creating the highest quality content and believe I can apply my skills to create a high quality video for Augur to make adoption easier. I also have my degree in finance so I understand the financial side and mechanics of Augur which I think is vital to creating the best possible video.
Aside from my skillset, I have been deeply interested in the crypto space for a while now and have spent an unhealthy amount of time researching and educating myself on the technology. It is 100% some of the coolest and most powerful technology i've seen in my life and I just love it.
Augur is one of the most fascinating dapplications i've come across and I see the potential for what Augur makes possible and I would love nothing more than to help bring that to fruition by creating content that is interesting and easily understandable by the average person.
I can envision this video going a couple of ways depending on what the Smarty Pants group's ultimate goal is. On one end of the spectrum, we could create a video that explains easily and simply what Augur is, something easily digestible that makes it click for the average person, to the other end of the spectrum that is an in depth explainer of how Augur functions and how to use it. I think both ends of the spectrum have different audiences and I think the question is who do you ultimately want to reach with this video? Perhaps there needs to be multiple videos, which I am more than willing and would love to do.
Outline your plans for completing the bounty, including rough milestones and timelines:

Phase 1 - Pre-production ~ roughly 2-3 weeks

Step 1.1 - Communicate with Smarty Pants group and brainstorm/determine what exactly we need to create. How in depth does it need to be, who are we ultimately wanting to reach, etc.

Step 1.2 - Create outline and storyboard for video

Step 1.3 - repeat steps 1.1 and 1.2 until video idea is finalized

Phase 2 - Production ~ roughly 4-8 weeks

At this point we should have everything figured out during the pre-production phase so all there is to do here is put my head down and create it. Along the way I would keep up to date with the Smarty Pants group so we can make adjustments/changes as we see fit.

Step 2.1 - Shoot any scenes needed if it is not all graphics and animation. Maybe we use a model similar to how they used Margot Robbie in The Big Short to explain concepts? Link to scene. Just a thought, but I do have access to models if we wanted to do something like that.

Step 2.2 - Edit together. Including audio work, graphic/animation work, general editing work, etc.

Step 2.3 - review, adjust, and repeat steps 2.1 & 2.2 as needed

Links to your Github, other project contributions, Twitter, Website, etc:
My youtube  -  The videos you see here are a completely different type from what this Augur video would be, but I hope these are a testament to my level of production and attention to detail to creating quality videos. Across all social media, my content has produced around 400 million views. While there are no graphic/animation specific videos on my channel, I do have experience and knowledge of how to do them, so creating graphics like in the original Augur video would be no problem.
Anything else you'd like to add:
Augur is rad and its possibilities are rad. Let's get the world to understand why that is. I would be proud to help.

What project do you want to build?
I would like to take on the Augur Explainer Video
Who are you, and why do you (or your team) want to build this?
My name is Evan, im a South African chap that loves spearfishing, surfing and animals!
I also LOVE my job, my clients and the many meaningful relationships formed over the years
Im a professional Video and motion graphics artist. Iv been creating and producing various Corporate and Blockchain projects for number of years now as a digital agency based here locvally that also pushed out media on a global scale.
I have a fantastic relationship with all the companies i represent and it is because of my timeous project turn around times, visually engaging high quality media productions and superior customer service that i am blessed to enjoy repeat work and an excellent track record of client testimonials.
My work speaks volumes for itself and i would love to not only produce this project, but others i have in mind on some new ideas thereafter as well!
i take a strong interest in all my clients and it would be a complete honour to produce the Video for you
Outline your plans for completing the bounty, including rough milestones and timelines:
* **Phase 1** - **Pre-production** ~ roughly 1 week
  Includes script screatin , submission for approaval

* **Phase 2** - **Production** ~ roughly 2 weeks
  Once the script is sorted, ill handle the Voice Over Production "Broadcast Quality "
  Animation work will follow, then the editing, grading and post production.

Lastly, ill submit for review and can make any tweaks, adjustments that are needed.
Links to your Github, other project contributions, Website, etc:
** Website **
** My youtube **
Anything else you'd like to add:
Team, i think you should take advantage of me, i do everything myslef and its all included, Voice Over Production, Logo Animation, Motion Graphics, Sound Design, Color grading, Post Production....and so on and so on... you really get it all sorted with me!

What project do you want to build?
I would like to take on the Augur Explainer Video
Who are you, and why do you (or your team) want to build this?
My Name is Evan, i am a highly energetic motivated and dynamic individual that owns my my video production and motion graphics agency.
I reached out some time ago looking to get involved with the project "via Discord - and spoke with a helpful chap -PeterV#9584"....at that particular time no opportunities were available i believe...since then iv been grinding out content for a number of awesome projects like
https://nem.io/
https://www.factom.com/
recently, it was brought to my attention that this is the right time to chat and apply ...and i decided to reach out and offer my services :)
Outline your plans for completing the bounty, including rough milestones and timelines:
* **Phase 1** - **Pre-production / script creation** ~ 1 week

create the script, submit for approval, tweaking and fine tuning if need be....
* **Phase 2** - **Production** ~ 2 weeks

Logo Animation, Voice Over Production, Sound Design, Motion Graphics Animation, Grading, Post production, Submission for changes / approval.
* [My youtube](https://www.youtube.com/channel/UCtNcY-1-eOS7jvvdP6fL1Ig/videos?view_as=subscriber)  a mix of various work done over the last few months

* [Website](http://motionfactory.co.za/)

i recently just built my own website myself - it was my first attempt and ill be updating it as soon as i get some spare time.
Anything else you'd like to add:
I take my work seriously, i love what i do and i believe you have found the perfect match for the video project. look at my work you should see for yourself quite clearly that i am the right fit with the experience suited for the task at hand.
lets make a big impact and make this video awesome!!

What project do you want to build?
I'd like to create the Historical Reporting Digest.
Who are you, and why do you (or your team) want to build this?
I'm a long time REP speculator, Augur fanatic, and may or may not be among the top traders on Augur in terms of profit. I have experience in web development and have created a simple web dapp from scratch and launched it publicly, where it proved to be secure and worked as intended. Over the past two months I have held REP steadily and finally began dabbling in market reporting. Before then I had been active on Discord, sharing my opinions about how disputed markets should resolve, and weighing the opinions of others. I believe the "rules" of reporting are still entirely too vague and I'd like to shine a light on them and how they are interpreted or created through precedent. I recognize the importance of reporters.chat, but I think a website meant to inform reporters about precedents set through past disputes is now beyond overdue.
Outline your plans for completing the bounty, including rough milestones and timelines:

Week one:

Share thoughts with the Smarty Pants group to make sure we have a similar vision for the project
Research similar projects
Create a rough mock-up

Weeks two - four:

Build the website with filler example content
Attempt to make the site compatible with as many browsers / devices as possible
Launch example site for approval from Smarty Pants group if necessary

Weeks five - six:

Replace example content with final content
Interview reporters on the Discord, research reporters.chat and other resources for unique angles
Bug test

During and beyond finalization:

Open source the website so others can run their own Historical Reporting Digests
Continue to run my own version of the website, updating it as new disputes come and go

Links to your Github, other project contributions, Twitter, Website, etc:
In the interest of staying anonymous with regards to my dapp and the Ethereum address associated with it I have taken it down, along with projects published on the same Github.
Anything else you'd like to add:
I have been continuously involved with Augur and REP since r/reptrader was the only place you could get any, and have successfully worked toward making a career out of my involvement. I would love to run this website in perpetuity to do my small part in making Augur more successful.

@easybreezy1 @msagansk @Anish-Agnihotri @24msP @strike9ine @Cryptovideos @SebastianMetzger @AJA191 Thank you all for applying, we will be deliberating and make an announcement on who is approved Monday!

Thank you to everyone who submitted an application! After reviewing the entries with the smarty pants groups, the following have been selected for this initial round of community bounties:

Selected Initial Applicants:
Consumable Glossary: @msagansk [Application]
Reporters Historical Digest: @strike9ine [Application]
Augur Analysis Service: @Anish-Agnihotri [Application]
Augur Analysis Service: @SebastianMetzger [Application]

To the four above, please create a new Github Issue on this same Augur Repo for your project:
Title: "[Community Bounty] My Project Name"
Issue: Please describe your project, proposed milestones, timeframes, in more detail. This will be the homepage for your issue. Please include your ETH address, 50% of the payment will be made at the approximate half way mark of your bounty completion, and the other 50% upon completion.
We will follow up on your GitHub issue and keep in touch on your status, and please join the Augur Discord channel if you're not in there already, we can connect you to the smarty pants group to chat and brainstorm if you'd like.

This is the first round of these community bounties, and after discussion, it was decided to hold the video bounty until Augur v2 is finalized. There will be a significant amount of changes coming in this release, and we feel it only makes sense to ensure a new explainer video is not based off the current v1 system. We plan to include this video bounty again in the next round, when the protocol details of v2 will be finalized. @easybreezy1 @24msP @AJA191 @Cryptovideos - thank you all for your applications, your submission will be automatically rolled into the next round!
Thank you once again all for your submissions, we look forward to seeing what gets built! :-)

@strike9ine Please create an issue describing your project, proposed milestones, timeframes, in more detail. This will be the homepage for your issue.

Hello. I did not wait for the release of  V2 and I’ve already made a video. I think that when V2 comes out I will make one more video about it. And also about companies building on top of Augur protocol.
My video consists of four parts:

Prediction Markets
The Wisdom of  Crowds
History of Prediction Markets
Augur: a Decentralized Oracle and Prediction Market Platform

Link: https://www.youtube.com/watch?v=UlFb91ZDFWQ
If you think my work is worthy of an award, I will be very happy.
Thanks for attention
My mail is<EMAIL_ADDRESS>My tweet about video: https://twitter.com/yntro24/status/1130880336798203904


KrakenD v2.6.3 new vulnerability CVE-2024-24790

Environment info:

KrakenD version: v2.6.3
System info: docker system

Describe the bug
The vulnerabilities stage of my Trivy pipeline reported the following Krakend vulnerability. Running Trivy with the latest image devopsfaith/krakend:2.6.3 reports the critical vulnerability CVE-2024-24790.
The report recommends upgrading to Golang version 1.22.4 to patch the vulnerability. Upon reviewing the source code, it appears that it is already using the corresponding version.

Commands used
trivy image devopsfaith/krakend:2.6.3
Expected behavior
No critical vulnerability report

Environment info:

KrakenD version: v2.6.3

System info: docker system

Describe the bug
The vulnerabilities stage of my Trivy pipeline reported the following Krakend vulnerability. Running Trivy with the latest image devopsfaith/krakend:2.6.3 reports the critical vulnerability CVE-2024-24790.
The report recommends upgrading to Golang version 1.22.4 to patch the vulnerability. Upon reviewing the source code, it appears that it is already using the corresponding version.

Commands used
trivy image devopsfaith/krakend:2.6.3
Expected behavior
No critical vulnerability report

🙋🏻♂, I've similar vulnerability reports

Thanks for the heads up, we are already working on fixing all of them in the v2.7.0, scheduled to be released next week.
I'm keeping this open until we release the v2.7.0

Thank you very much for your response, we will be looking forward to the new version of Krakend!

Thank you very much for the new release v2.7.0.
I checked the new image and it still shows the vulnerability CVE-2024-24788, besides CVE-2024-24790.

v2.7.0 is built using 1.22.5. My trivy scan doesn't report any of this.

You are right, it's built using go 1.22.2. Will update all artifacts using 1.22.5.

For some reason, the new upstream images of v2.7 were built with 1.22.2 instead of 1.22.5 - I built the image locally and the image passes obviously the trivy scan.

For some reason, the new upstream images of v2.7 were built with 1.22.2 instead of 1.22.5 - I built the image locally and the image passes obviously the trivy scan.

Yes, I found out that this version mismatch also causes the plugin builder to fail. See #910

I can now confirm that the new built image doesn't show the vulnerability in trivy anymore - it also uses go1.22.5.
Thanks!

Closing the issue as this is solved on v2.7


The user can break categories tree.

For an category it is possible to choose as a parental one of his subcotegories. It breaks down the structure of categories.

Fixed in v1.8 thanks


Multi tenant support

Description
What are you proposing? How should it be implemented?
Django application requires multi-tenant functionality for enterprise saas-based applications.
Rationale
Why should this feature be implemented?
Saas application feature

Multi-tenant applications are interesting, and it would be nice to have a ready-made and extensively tested template to be a good starting point.
That said, the subject can be big and complex, and I (and I believe the other maintainers) will not have the free time to create it and maintain it indeterminately, meaning the cost will be high for us.
Remember, none of the maintainers receive any remuneration to maintain this project, and we do it in our spare time.
That said, you can do your own investigations:
https://books.agiliq.com/projects/django-multi-tenant/en/latest/
https://github.com/schinckel/django-occupation
https://github.com/django-tenants/django-tenants
https://github.com/citusdata/django-multitenant
https://djangopackages.org/grids/g/multi-tenancy/


Optional ORDER hints for SqlBulkCopy

For #23
insert bulk, which SqlBulkCopy uses, will return an error message when an ORDER hint is given for an identity column and the query is not executed. This differs from BULK INSERT, which ignores the ORDER hint and still executes the query.

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


Removing device type prompt

There's no need to select the device type you are flashing as the cloud knows it all :)
Comments here: https://github.com/spark/particle-cli/commit/9ae0f127806fb9e65b9c36d67a1796b2044b91e1
Signed-off-by: Kenneth Lim<EMAIL_ADDRESS>

That is only used when flashing a known app. It serves as a guard against attempting to flash a binary that is intended for another device type (e.g. flashing core_tinker.bin to a Photon)

@kennethlimcp ok if I close this?

@brycekahle sure


Add bug report and enhancement issue templates

Closes #721.

[x] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[ ] Updated CHANGELOG.md

Codecov Report

Merging #722 (8aba6ab) into master (68bb2e8) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #722   +/-   ##
======================================
  Coverage    42.7%   42.7%
======================================
  Files         202     202
  Lines       12858   12858
  Branches     3223    3223
======================================
  Hits         5496    5496
  Misses       7014    7014
  Partials      348     348

Continue to review full report at Codecov.

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

The main thing I find confusing is that feature requests and enhancements are interleaved.

I think we could add that differentiation in future if incoming issues are too complex and need further sub-categorization. Right now, I see two broad "classes" of issues:

Something that should be working isn't working as expected.
We need to improve the system in some way.


SqlLite3 doesn't install correctly

Hi there,
I've just installed from the Azure Marketplace (twice - deleted and recreated), and am getting a 500 error. I waited for deployment to complete, gave it some time, and then hit the site - 500. Let it sit for another 5 minutes or so in case install was still going; same problem.
Logs:
[31m
ERROR: Cannot find module 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v46-win32-ia32\node_sqlite3.node'

 Error: Cannot find module 'D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v46-win32-ia32\node_sqlite3.node'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (D:\home\site\wwwroot\node_modules\sqlite3\lib\sqlite3.js:4:15)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)

I notice that it's looking for node_sqlite3.node under a node-v46-win32-ia32 directory, but when exploring in Kudu, I can see that the directory is actually v11: D:\home\site\wwwroot\node_modules\sqlite3\lib\binding\node-v11-win32-ia32

Whoops. I'd assumed the Azure Marketplace template and this deployment repo were one and the same. They're not.
Tried again via the "Deploy to Azure" button in the readme, and all worked well.


Abac

We have been work on this feature with @diegomasini  and @raullaprida  it is a large PR including  support to attributes and Attribute Based Access Control mechanisms.  This PR include the changes of the closed PR #1169.
Description
We have added the doc aca.md to describe this feature (this document is included in the doc folder but can be acceded from this wiki page too).
We have added an example called "chaincode_example07" this example describe how ABAC verification could be invoked. The document "ChaincodeAPI.md" was modified to explain it.
Motivation and Context
This is a required feature as is mentioned in #1139
Fixes #1139
How Has This Been Tested?

Current behave tests has been run without errors.
Current unit tests has been run. The test TestExecuteDeploySysChaincode defined in the file exectransaction_test.go fails but this test fails in the master too (we are working with @muralisrini to understand if this is a problem related with the PR or not)
We have modified the test TestClientGetAttributesFromTCert defined in crypto_test.go to test the new functionality.
A new behave test is pending we will work with @jeffgarratt on that.

Checklist:

[ ] I have added a Signed-off-by (This is a PR for review that is the reason because I haven't added a "Signed-off", I will add a "Signed-off" once the test problem described above will be fixed).
[X] We added new documentation
[X] We added new tests
[X] I have run goimports, go vet, and golint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives.  The goal is clean, consistent, and readable code.

Signed-off-by:

@andresgaragiola Some comments:

In some files, the copyright header is wrong
It doesn't look like you run golint, govet (see coding guidelines
I would add more detail on the chaincode stub public API comments. For example,

//Verifies all the attributes included in attrs.
func (stub *ChaincodeStub) VerifyAttributes(attrs...*ac.Attribute)  (bool, error)

Not enough info for developers
4. Don't change ChaincodeAPI.md file, which points developers to the godoc, so you should document the public functions from the code as commented in 3 above
5. aca.md should be in fabric/docs/tech directory and work with @joshhus to have an appropriate link from docs/README.md file. Also, for public APIs document, you should point to the godoc (see ChaincodeAPI.md as an example)
@muralisrini please review and look at the unit-test failure

@andresgaragiola  @diegomasini  make unit-test succeeded on latest master completely for me. See attached file
out.txt

nearly 2700 LOC and only 39 are changes to an existing test? Seriously, where are the tests that support this PR? Behave tests aren't sufficient. There should be functional tests for all the new function included. Further, we should not be submitting PRs this large for any reason.

Please do not name example chaincodes chaincode_examplexx. This is bad practice that we want to stop. Just give it a descriptive name indicating what it actually does..

@binhn thank you for your review.

In some files, the copyright header is wrong. => Done. I have fixed attributes.go, abac.go and example_chaincode07.go.
 I found some files as attributes.go, abac.go with this issue. I have run the tools on this files now I will be reviewing for other files.
I would add more detail on the chaincode stub public API comments. For example. => Done.
Don't change ChaincodeAPI.md file, which points developers to the godoc, so you should  document the public functions from the code as commented in 3 above. => Done, I have removed our changes from this file and put this in the code as comments.
aca.md should be in fabric/docs/tech directory and work with @joshhus to have an appropriate link from docs/README.md file. Also, for public APIs document, you should point to the godoc (see ChaincodeAPI.md as an example) => Done. I have moved the file to ../docs/tech I will contact @joshhus to see how link this on README.md

@andresgaragiola @diegomasini
Few suggestions/observations.
A nit but good to cleanup

"type ChaincodeHolder interface" appears to be a local interface... perhaps change it to "type chaincodeHolder interface". Makes the intent clear and avoids exports

More importantly, adding fabric imports in the shim creates more dependencies between shim and the fabric (e.g.,  "fabric/core/crypto/abac"  in "fabric/core/chaincode/shim/crypto/ac").  This tight coupling gives raise to some core issues

makes it hard to keep the dependency tree from growing leading to a bloated chaincode image. This is not a problem currently as we include the fabric in the image but will become one soon
makes it harder to support other chaincode languages.

(I know there are other imports like this, but why add to the problem when we should be decoupling ?)
One approach could be to rethink design so things are done in the peer (may not always be possible) or duplicate the code in the shim. That would reduce dependencies between shim and the fabric.
Above may be done in different PRs.

@muralisrini thanks for the suggestions, a couple of answers to them:

you are right "type ChaincodeHolder interface" is internal so we changed it to "type chaincodeHolder interface".
agreed on the fabric imports in the shim, you are right here too, it is better to not contribute to that problem, but we prefer to attack that problem in a separated PR. We would like to redesign that part to avoid duplicating code but if there is no other solution we will do that.

@srderson I have modified the example according to your observations.

folks - I have a bunch of suggestions to make here, but they are dependent on agreement that we take this as an opportunity to:

Break this PR into manageable chunks  (e.g. membership service piece, chaincode piece, etc)
Fix previous "mistakes" not directly part of this PR (e.g. membership services needs to be self testable - tests should not be run out of the core/crypto package)
Actually discuss what belongs in the shim and what does not (i.e. I don't think that the shim / stub should provide any of the abac methods directly)
Implicit in above, but actually add proper tests in the proper places

IMHO - there is WAY too much of a tight coupling of membership services everywhere.
I am also willing to help with coding tests, etc (so not just complaining here)
If we don't do this now, we are going to be in a heap of trouble down the road

what @mastersingh24 said. I'm willing to help as well. Letting this in as is will add too much technical debt

IIUC, this proposal adds a number of library elements that run in chaincode context.  My preference would be to see chaincode context remain as light as possible and rather, extend the platform ABI to support these types of features and allow the chaincode to call the platform functions.  This would have the following benefits:

Other chaincode language environments will not need to reinvent the wheel: we implement it once in the peer and let all chaincode access it via explicit grpcs or metadata on the invoke().
It will help to facilitate the feature that I have been asking for for a while now: abstract "identity" away from crypto.  Some identities will be crypto based (tcert signed requests from clients, for example), but some will not / can not (the identity of a chaincode that invokes another).

For 2, I envision perhaps that invoke metadata can carry arbitrary attributes....for tcert based operations, the attributes are derived from the tcert attributes.  For other contexts, they might be derived from elements of the caller.  The main point is that the fabric can be considered an authoritative kernel ala SO_PEERCRED (http://man7.org/linux/man-pages/man7/socket.7.html)

I'm closing this PR because we are splitting this in other. #1639 is the first of them and is a dependency for the others.


Nautobot ArubaCX napalm driver get_config output is json

Environment

Python version: 3.6.8
Nautobot version: 1.2.7

Steps to Reproduce

Add Aruba CX driver to NAPALM drivers (https://github.com/napalm-automation-community/napalm-aruba-cx).
Create an AOSCX platform with aoscx NAPALM driver in Nautobot.
Add an Aruba-CX device.
Go to config tab on the device page.

Expected Behavior
The running-config tab should return the configuration of the device as it does when doing the request through Nautobot API with http://nautobot.srv/api/dcim/devices/xxx/napalm/?method=get_config
Observed Behavior
The running config box only show [object Object].

This is basically a clone of https://github.com/netbox-community/netbox/pull/7130/commits/14d87a3584c53b20ce0be38aeea92b2307f11355

The behavior of [object] [object] still exists, Netbox did implement a fix so I am wondering if it's possible Nautobot could use a similar method to handle the output back from an Aruba CX device?
Netbox issue #7041


Inet: Use constructors for Inet EndPoints

Problem
Inet::TCPEndPoint and Inet::UDPEndPoint historically could not use
constructors because of System::ObjectPool limitations.
This is a step toward #7715 Virtualize System and Inet interfaces,
split off to reduce the complexity of an upcoming PR.
Change overview
Convert from Init() to constructors. Transitionally, the constructors
still call a per-implementation function InitImpl().
Incidentally renamed mAppState for consistency (it had been in
System::Object prior to #11428).
Testing
CI; no changes to functionality.

Cirque failure looks real; will probably need to add a unit test case for initialization state.

Looks like real Darwin failures too.

@kpschoedel The Darwin failure is real.  That test is starting a commissioner, then shutting it down, then starting one again.  The log says:
2021-11-10T06:08:01.1970120Z 2021-11-10 06:07:59.733855+0000 xctest[68447:180508] [all] 🟢 [1636524479733] [68447:180508] CHIP: [DL] _Init
2021-11-10T06:08:01.1970960Z [1636524479733] [68447:180508] CHIP: [DL] _Init
2021-11-10T06:08:01.1972520Z 2021-11-10 06:07:59.733912+0000 xctest[68447:180508] [all] 🟢 [1636524479733] [68447:180508] CHIP: [IN] UDP::Init bind&listen port=5541
2021-11-10T06:08:01.1973870Z [1636524479733] [68447:180508] CHIP: [IN] UDP::Init bind&listen port=5541
2021-11-10T06:08:01.1975480Z 2021-11-10 06:07:59.733952+0000 xctest[68447:180508] [all] 🔵 [1636524479733] [68447:180508] CHIP: [IN] Failed to initialize Udp transport: ../../../../../../../../../../../work/connectedhomeip/connectedhomeip/src/inet/UDPEndPoint.cpp:1948: CHIP Error 0x00000003: Incorrect state
2021-11-10T06:08:01.1977840Z [1636524479733] [68447:180508] CHIP: [IN] Failed to initialize Udp transport: ../../../../../../../../../../../work/connectedhomeip/connectedhomeip/src/inet/UDPEndPoint.cpp:1948: CHIP Error 0x00000003: Incorrect state
2021-11-10T06:08:01.1979370Z 2021-11-10 06:07:59.733990+0000 xctest[68447:180508] Error: Init failure while initializing a commissioner
2021-11-10T06:08:04.1972440Z /Users/runner/work/connectedhomeip/connectedhomeip/src/darwin/Framework/CHIPTests/CHIPControllerTests.m:35: error: -[CHIPControllerTests testControllerLifecycle] : (([controller startup:nil vendorId:0 nocSigner:nil]) is true) failed


sile: 0.15.7 → 0.15.8

This should be a simple version bump, but upstream changes do affect the library modules build that was broken before on Darwine. This PR removes the broken flag but we should actually wait for CI to finish and confirm it works this time to avoid a repeat of the broken master scenario from the last bump.
c.f. #361005
c.f. Upstream release notes and checklist

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@doronbehar See also my comment here, I'm not convinced fetchCargoTarball has realy been taught not to try to run ./configure yet.

Still there's an error on Darwin:
       > /nix/store/bp2yamylj44byk4flc9czdsf91y42pyv-coreutils-9.5/bin/install -c target/x86_64-apple-darwin/release/librusile.so rusile.so
       > install: cannot stat 'target/x86_64-apple-darwin/release/librusile.so': No such file or directory
       > make[2]: *** [Makefile:1953: rusile.so] Error 1
       > make[2]: Leaving directory '/private/tmp/nix-build-sile-0.15.8.drv-0/sile-0.15.8'
       > make[1]: *** [Makefile:1189: all-recursive] Error 1
       > make[1]: Leaving directory '/private/tmp/nix-build-sile-0.15.8.drv-0/sile-0.15.8'
       > make: *** [Makefile:773: all] Error 2
       For full logs, run 'nix log /nix/store/77ndplr9vr8wwyw4x36jc46rxflak2mg-sile-0.15.8.drv'.

Still there's an error on Darwin:

Ya she's broke.
I've been debugging this CI runs half the day and still haven't nailed it down. I do know I can build it just fine from source myself on macOS with Homebrew supplied dependencies, but building the Homebrew formula is throwing this same error. I think the difference is it builds from Git using autotools from scratch, but not from the release source tarball. Inspecting the config status after ./configure shows it set the right vars for *.dylib support, but somehow it's using generated code from the system that built the source tarball instead of the configure-time discovered values.
I'm still working on it. We can either put this on hold or mark it as still broken on Darwin.

but somehow it's using generated code from the system that built the source tarball instead of the configure-time discovered values.

I suspect that something is not done correct when the release tarball is generated on a Linux machine, and then it is being extracted on a Darwin machine.

I'm still working on it. We can either put this on hold or mark it as still broken on Darwin.

That sounds like a hard issue to debug. I'd still mark it as broken for now, and you can keep debugging this via a private nixpkgs checkout on your macOS.

I put the broken flag back for now, debugging this is ... taking ... forever ... since ... I ... don't ... have ... a ... mac ... and ... can ... only ... round ... trip ... stabs ... in ... the ... dark ... through ... CI.


Add new COVID Banner text

Changed banner section to

Coach Travel

POST COVID 19

					AFTER THE LOCKDOWN WE WILL BE OFFERING
WEEKEND PACKAGES / DAY TRIPS

					BOOK YOUR COACH TRIP NOW!

					Booking subject to our terms and conditions

					Please call us now on 077 3399 2132 for more details. Click here to send us an enquiry.

All done at
https://revivaldirectcoaches.co.uk/
COACH TRAVEL
POST COVID 19
AFTER THE LOCKDOWN WE WILL BE OFFERING
WEEKEND PACKAGES / DAY TRIPS
BOOK YOUR COACH TRIP NOW!
Booking subject to our terms and conditions
Please call us now on 077 3399 2132 for more details. Click here to send us an enquiry.


[BUG] Installing model zoo packages

Update the basic model zoo docs to mention the install_requirements parameter.
Fix install errors found by @jasoncorso when trying to load a model requiring tensorflow-gpu|tensorflow>=2:
import fiftyone.zoo as foz

model = foz.load_zoo_model("ssd-mobilenet-v1-coco-tf", install_requirements=True)

OSError: Failed to install package 'tensorflow-gpu|tensorflow>=2'
ERROR: Invalid requirement: 'tensorflow-gpu|tensorflow>=2'

System: Linux, Python 3.8

@ehofesmann https://github.com/voxel51/eta/pull/505.


Swap left and right for matrix multiplication

Should likely fix #3772

Unfortunately this does not seem to fix the issue.

@saipraveenb25 Have you verified the results with finite differences?
If so we need to more info from @aroidzap on what code they are using to reproduce the error.

We need to make sure there is at least a cpu test to verify the result on cpu (using the provided implementation) is the same as hlsl(using the intrinsic).


[#147] Implement Stringer interface and Parse method for common types

Implement Stringer interface and Parse method for well-known types

[x] Owner package: ID
[x] Object package: ID, Address
[x] Container package: ID
[x] Add constant error type

Commits may have had more unique summary, but LGTM =)

pls review changes

Looks good. Proposed pair of small enhancements.

Thanks a lot, the proposed changes are really helpful!


Mismatching scopes between documentation and code

Describe the bug
The scope prefix doesn't match between documentation and code
https://github.com/zitadel/zitadel/blob/7a5f7f82cfe650c083167febd158895d4ce28148/internal/api/oidc/client.go#L22
https://github.com/zitadel/zitadel/blob/7a5f7f82cfe650c083167febd158895d4ce28148/docs/docs/apis/openidoauth/claims.md?plain=1#L34
Also, the name rolename can be confusing since the available fields are key and displayname (here I believe key is the correct one):
https://github.com/zitadel/zitadel/blob/7a5f7f82cfe650c083167febd158895d4ce28148/proto/zitadel/project.proto#L140

Hey @DavideWalder
The scope and claim are (almost) actually correct. The scope is without the s which makes kind of sense as you request a single role by it, e.g. urn:zitadel:iam:org:project:role:key1 and / or urn:zitadel:iam:org:project:role:key1 and the claim is with the s as it will return a list of roles:
{
  "urn:zitadel:iam:org:project:roles": [
    {
      "key1": {
        "id1": "acme.zitade.ch",
        "id2": "caos.ch"
      }
      "key2": {
        "id1": "acme.zitade.ch"
      }
    }
  ]
}

But I've removed the {rolename} from the claim completely from the claim and changed it to {rolekey} in the scopes section: https://github.com/zitadel/zitadel/pull/4411


Fix yaml output of microk8s.status if not running - 1.19 (#2148)

Fix #2147
Signed-off-by: Karl-Philipp Richter<EMAIL_ADDRESS>

This is failing due to https://github.com/ubuntu/microk8s/pull/2196


CUDA error:  device-side assert triggered

When I added some new intents and entities in nlu.yml and ran wrapper.py triggering train_model(). this arises with error below.
/pytorch/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn_ClassNLLCriterion_updateOutput_kernel: block: [0,0,0], thread: [0,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn_ClassNLLCriterion_updateOutput_kernel: block: [0,0,0], thread: [1,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn_ClassNLLCriterion_updateOutput_kernel: block: [0,0,0], thread: [2,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn_ClassNLLCriterion_updateOutput_kernel: block: [0,0,0], thread: [3,0,0] Assertion t >= 0 && t < n_classes failed.
Traceback (most recent call last):
File "src/classification/wrapper.py", line 243, in
wrapper.train_model()
File "src/classification/wrapper.py", line 227, in train_model
trainer.train()
File "/mnt/e/intellemo/official/chat-nlp-aiapi/src/classification/trainer.py", line 52, in train
self.trainer.train()
File "/mnt/e/intellemo/official/chat-nlp-aiapi/algosrc/lib/python3.8/site-packages/transformers/trainer.py", line 1280, in train
tr_loss += self.training_step(model, inputs)
File "/mnt/e/intellemo/official/chat-nlp-aiapi/algosrc/lib/python3.8/site-packages/transformers/trainer.py", line 1773, in training_step
loss = self.compute_loss(model, inputs)
File "/mnt/e/intellemo/official/chat-nlp-aiapi/algosrc/lib/python3.8/site-packages/transformers/trainer.py", line 1805, in compute_loss
outputs = model(**inputs)
File "/mnt/e/intellemo/official/chat-nlp-aiapi/algosrc/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/mnt/e/intellemo/official/chat-nlp-aiapi/src/classification/classifier.py", line 143, in forward
entities_loss = entities_loss_fct(active_logits, active_labels)
File "/mnt/e/intellemo/official/chat-nlp-aiapi/algosrc/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/mnt/e/intellemo/official/chat-nlp-aiapi/algosrc/lib/python3.8/site-packages/torch/nn/modules/loss.py", line 1120, in forward
return F.cross_entropy(input, target, weight=self.weight,
File "/mnt/e/intellemo/official/chat-nlp-aiapi/algosrc/lib/python3.8/site-packages/torch/nn/functional.py", line 2824, in cross_entropy
return torch._C._nn.cross_entropy_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
RuntimeError: CUDA error: device-side assert triggered
0%|                                                                                | 2/22600 [00:01<4:19:44,  1.45it/s]
Is that something that i need to increase  the number of labels?

RuntimeError: CUDA error: device-side assert triggered usually caused by the different in input and label dimension, please check the shape of your input, label, and model layers.

@WeiNyn  What I did is that I added new intents like my_name_is , mobile_number and entities like (PERSON) , (phonenumber) in nlu.yml .  And also added this new set of intents and entities in config.yml. while running wrapper.py the error arises. I found that at line number 54 and 56 in classifier.py the newly added intents and entities are not updating so this not changing hidden size.
A pretrained weight and configurations are used, so it is a transfer learning method right?  So the newly added intents and entities are not updating.
I am new to this. Help me in this issue. Am I done anything wrong?

@WeiNyn  I figured out to solve the issue. Thanks!!

@DhineshKS04 Could you please tell the cause, it might help the other.

@WeiNyn  Yes, As my intention is to train model on new set of data. so I updated new set of intents and entities in nlu.yml. so by default the config.yml values are set at inference/demo level. Then I changed some of the values in cofig.yml like model and tokenizer,
`model:
model: "dslim/bert-base-NER"
tokenizer: "dslim/bert-base-NER"
dataset_folder: utils
exclude_file: null
entities:

working_type
shift_type
org
PERSON
phonenumber
intents:
WorkTimesBreaches
WorkingTimeBreachDiscipline
HolidaysOff
AnnualLeaveApplicationProcess
SetWorkingType
TemporarySetWorkingType
WorkingHours
WorkingDay
BreakTime
Pregnant
AttendanceRecord
SelectShiftType
LaborContract
Recruitment
SickLeave
UnpaidLeave
PaidLeaveForFamilyEvent
UnusedAnnualLeave
RegulatedAnnualLeave
rating
spent_platform
my_name_is
mobile_number
greet
goodbye
affirm
deny
device: cuda
synonym:
office hour: office hours
office: office hours
office hours: office hour
training:
train_range: 0.95
num_train_epochs: 100
per_device_train_batch_size: 1
per_device_eval_batch_size: 1
warmup_steps: 500
weight_decay: 0.01
logging_dir: logs/
early_stopping_patience: 10
early_stopping_threshold: 0.0001
output_dir: results/
util:
intent_threshold: 0.7
entities_threshold: 0.5
ambiguous_threshold: 0.2
`
using "dslim/bert-base-NER" for model and tokenizer.
So you see that some new set of entities and intents were added. At first the classifier is taking config.json and pretrained weight  from the folder latest_model. so, the new set of intents and entities are not updated in the hidden size and that causes the error.

@DhineshKS04 I see your problem, you can use the pre-trained model with custom intents and entities by modifying the config.json file in the model folder (download from the google drive link).
BTW, thank you for your very detailed information.


Usage generation should use the set usageWriter

I need the usage generators to use the correct writer.

Both usageWriter and errorWrite default to os.Error for backwards compatibility. If you want different behaviour in your application you should use:
app.UsageWriter(os.Stdout)

I would actually like to stream it to some other writer. The code calls a.Writer(os.Stdout) directly prior to writing and therefore calling app.UsageWriter(os.Stdout) as suggested will do nothing useful.


Fix jabber:iq:version reply

Hi,
wonder why we did it like that ;) thanks for the PR, can you make the PR against the dev branch?


TumblThree Hangs/Freezes on adding blogs (with tumblr Api)

Edit: (since ive figured what was causing the bug im rewriting the entire post)
TumblThree was hanging(unresponsive) on windows whenever i added a blog, taking increasingly longer- and any clicks inside its window while hanging would crash or freeze the app. Adding blogs after downloads were made also had a risk to freeze/crash the app.
Since my initial post i decided to run some more tests, adding blogs with different settings by trial and error and found the culprit: tumblr Api. As soon as i changed the default to svc all blogs are added without any hiccups and the app works like a breeze.
The issue existed for a good while (previous versions) as well as the current one. Since it involves tumblrs side i imagine its harder to solve so im leaving this as a warning/tip for anyone searching for a similar issue, since searching here i havent found anyone mentioning this type of hang up/freezing on adding blogs
PS: My guess the the logic hangs up somewhere on fetching the number of downloads from tumblr api perhaps? Since svc apparently doesnt even try to fetch that the issues is completely avoided

It's good that you investigated a bit further and found a workaround for you.
You didn't find too many users mentioning this because there's no general problem with the api crawler, especially since several versions.
New users start with an empty list and long time users have several dozens of blogs on their list. And it seems to work for them. Both can add new blogs (api) at any time.
Each blog has its own two database files, so the limiting factor using the option "global duplicate check" would be your memory. As you mentioned you've quite enough of it.
For svc the number of items cannot be fetched technically. Anyways, if there's an error on either side, you should get a timeout or any other error.
So without any further details, an error message or some log file entries, it's quite difficult to support you to find out what is the special condition on your PC that is preventing you from using the app properly with the api crawler.


Can Hygieia also support Nexus Repository?

I am using Nexus OSS Repository as the artifacts store tool.
Can Hygieia also support to get collector data of Nexus OSS Repository beside JFrog Artifactory.
Thanks

Hygieia can be integrated with any tool. All you need to do is build the collector.

hi
thank you for the reply.
I want to know how can I build the collector for Nexus OSS Repository, can you pls give some advice.
Thanks


Replace operator == for floating-point comparison in test

What's needed?
Replace operator == in https://github.com/frequenz-floss/frequenz-sdk-python/blob/v1.x.x/tests/actor/test_data_sourcing.py to compare floating-point values against the result of addition operations involving floating-point numbers.
Proposed solution
Use isclose() from pytest or math instead.
Additional context
This is a follow-up from a code review: https://github.com/frequenz-floss/frequenz-sdk-python/pull/955/files#r1630265422

These tests might need to be changed when upgrading to the microgrid API v0.17, so maybe it can be addressed then.


Add example of nexus-graphql-shield to README?

In the README, there's mentions of Yoga and using graphql-middleware, but nothing mentioning how to use it with Nexus. Nexus is an actively maintained backend framework that integrates well with Prisma, while Yoga has not been actively maintained for over a year. There is a plugin called nexus-graphql-shield that does basic integration with Nexus, perhaps at least a mention or a code snippet could be put in the README to let visitors know that it supports integrating with Nexus?
Nexus plugin: https://github.com/lvauvillier/nexus-plugin-shield
Nexus: https://nexus.js.org/
Yoga deprecation: https://github.com/prisma-labs/graphql-yoga/issues/449

@maticzav Can I make a PR for this?

Yup! I would love to merge a PR.


Apply a patent for all open sourced code

It seems like you're interested in patenting open-source code, but it's important to note that patenting open-source code can be complex and potentially contradictory to the open-source philosophy. Open-source code is typically meant to be freely available to the public to use, modify, and distribute. Patenting, on the other hand, is a way to protect inventions and restrict others from using, selling, or making them.
If you're looking to protect your intellectual property while also contributing to the open-source community, you might consider using licenses instead. Open-source licenses, such as the GNU General Public License (GPL), Apache License, and MIT License, allow developers to specify the terms under which others can use, modify, and distribute their code.
If you're set on pursuing a patent and it's for a specific software invention that is novel, non-obvious, and useful, you might navigate through a complex process that involves:

Documenting Your Invention: Clearly describe how your software invention works, how it’s different from existing software, and why it’s useful.

Conducting a Patent Search: Ensure that your invention hasn’t been patented already.

Filing a Patent Application: Submit a detailed application to the United States Patent and Trademark Office (USPTO) or the relevant patent office in your country.

Legal Consultation: It's often recommended to consult with a patent attorney or a patent agent to navigate through the legal and procedural aspects effectively.

Remember that the patenting process can be lengthy, costly, and there's no guarantee of approval. Always consult with a professional to understand the best route for protecting your intellectual property in alignment with your goals and values.
If you'd like to create a presentation or any other document based on this information, please let me know!

This is kinda abusive and psycopath.


Don't rely on false return from callbacks to halt execution

We're already using throw :abort, so there's no code for us to change.
This setting is removed in rails 5.1 but will temporarily get rid of this
annoying warning:
DEPRECATION WARNING: Returning `false` in Active Record and Active Model
callbacks will not implicitly halt a callback chain in Rails 5.1. To
explicitly halt the callback chain, please use `throw :abort` instead.
(called from block (3 levels) in <top (required)> at
/home/travis/build/ManageIQ/manageiq/spec/models/miq_task_spec.rb:297)

This looks good.
ok, so this is complaining that while check_active and check_associations use raise :abort for the fail cases (good future behavior), the methods also return true for the success case - which is basically a NOP.
Looks like 8 models are using raise :abort (or raise something else) in their before_* :check_* callbacks. I am not able to find any of those callbacks that are still using the legacy return false behavior.
This change (on the rails side) makes me nervous since callbacks have cared about the return value for so long.

This change (on the rails side) makes me nervous since callbacks have cared about the return value for so long.

Me too but like you, I didn't see anything relying on the return of true or false.


Bug: Array.from is adding unwanted properties to prototype

[Bug]
What
Polyfill Array.from is adding unwanted properties to object prototype
Details
If I load the polyfill for Array.from and then I run this code:
var a = {};
for(var p in a){
    console.log(p);
}

I get something like:
__�symbol:iterator0.78666530507841011
__�symbol:meta_51354793889167840.78666530507841013
__�symbol:undef0.78666530507841014
__�symbol:undef0.78666530507841015
__�symbol:species0.78666530507841012
__�symbol:undef0.78666530507841017
__�symbol:toStringTag0.78666530507841016

This can cause errors and block the js application.
I don't expect to see these properties added to the prototype object.
I noticed this in a legacy project where we are using jQuery 3.5.1, where $.each() applied to a js object {} is causing an error.
I know it depends on how for...in loop is used but I think the mentioned props should not be there.
I noticed this bug in IE11 but it can be reproduced in any browser if you load the polyfill with flag "always".
I've read a suggestion about adding flag "gated" when using "always" but this is not a solution for me, since the code would cause an error in any case in IE11 ( or other browsers not natively supporting Array.from ).
Browser: any
Device: any

Thanks for opening this issue and apologies for taking so long to respond.
This is unfortunately something we won't be fixing as it is an edge case that not many people are having an issue with and we don't have the capacity to work on changing our Symbol polyfill to not have cause this side-effect


Support newer VirtualBox releases 6.1+ (currently attach disk fails)

TOC

Problem description
Preliminary analysis
Proposed solution

Problem description
A bosh create-env with virtualbox-cpi fails.
Related:

https://github.com/starkandwayne/bucc/issues/205
https://github.com/cloudfoundry/bosh-deployment/issues/378

Attempted action and error received
When deploying a bosh-lite with VirtualBox back-end using bosh create-env ..., then at some point bosh tries to attach a new disk to the running director VM.  This fails with VirtualBox 6.1+:
Started deploying
  Creating VM for instance 'bosh/0' from stemcell 'sc-e0936c75-fae3-4da0-4da6-5269645395fe'... Finished (00:00:01)
  Waiting for the agent on VM 'vm-b9b883b9-fcfc-445f-7362-01abed26200b' to be ready... Finished (00:00:30)
  Creating disk... Finished (00:00:00)
  Attaching disk 'disk-9e7808be-db81-40a6-5960-570a491ef1b5' to VM 'vm-b9b883b9-fcfc-445f-7362-01abed26200b'... Failed (00:01:12)
Failed deploying (00:01:44)

Cleaning up rendered CPI jobs... Finished (00:00:00)

Deploying:
  Creating instance 'bosh/0':
    Updating instance disks:
      Updating disks:
        Deploying disk:
          Mounting disk:
            Sending 'get_task' to the agent:
              Agent responded with error: Action Failed get_task: Task a200eef1-cb44-4439-414d-8bc2e3ee391c result: Mounting persistent disk: Getting real device path: Timed out getting real device path for '1ATA'

Analysis
To debug, I replaced the VBoxManage binary with a wrapper that logs all arguments  before  then calling the real thing.  Logging all calls to VBoxManage  shows, bosh / the vritualbpx-cpi tried to execute the following commands:
1 /usr/bin/VBoxManage import /home/cf-test-u1/.bosh_virtualbox_cpi/stemcells/sc-e0936c75-fae3-4da0-4da6-5269645395fe/image.ovf
2 /usr/bin/VBoxManage list vms
3 /usr/bin/VBoxManage modifyvm 4e1ac8cb-9f43-4fb5-86d7-148f17143670 --name sc-e0936c75-fae3-4da0-4da6-5269645395fe
4 /usr/bin/VBoxManage snapshot sc-e0936c75-fae3-4da0-4da6-5269645395fe take prepared-clone
5 /usr/bin/VBoxManage list natnetworks
6 /usr/bin/VBoxManage list hostonlyifs
7 /usr/bin/VBoxManage clonevm sc-e0936c75-fae3-4da0-4da6-5269645395fe --snapshot prepared-clone --options link --name vm-b9b883b9-fcfc-445f-7362-01abed26200b --uuid b9b883b9-fcfc-445f-7362-01abed26200b --register
8 /usr/bin/VBoxManage modifyvm vm-b9b883b9-fcfc-445f-7362-01abed26200b --name vm-b9b883b9-fcfc-445f-7362-01abed26200b --memory 6144 --cpus 4 --paravirtprovider default --audio none
9 /usr/bin/VBoxManage list natnetworks
10 /usr/bin/VBoxManage modifyvm vm-b9b883b9-fcfc-445f-7362-01abed26200b --nic1 natnetwork --nat-network1 NatNetwork --macaddress1 023C2A97CA55
11 /usr/bin/VBoxManage list hostonlyifs
12 /usr/bin/VBoxManage modifyvm vm-b9b883b9-fcfc-445f-7362-01abed26200b --nic2 hostonly --hostonlyadapter2 vboxnet1 --macaddress2 027AFB3CF70A
13 /usr/bin/VBoxManage createhd --filename /home/cf-test-u1/.bosh_virtualbox_cpi/disks/disk-7f1063f4-8ffa-4365-7955-249eed469cf0/disk.vmdk --size 16384 --format VMDK --variant Standard
14 /usr/bin/VBoxManage showvminfo vm-b9b883b9-fcfc-445f-7362-01abed26200b --machinereadable
15 /usr/bin/VBoxManage storageattach vm-b9b883b9-fcfc-445f-7362-01abed26200b --storagectl IDE --port 0 --device 1 --type hdd --medium /home/cf-test-u1/.bosh_virtualbox_cpi/disks/disk-7f1063f4-8ffa-4365-7955-249eed469cf0/disk.vmdk --mtype normal
16 /usr/bin/VBoxManage showvminfo vm-b9b883b9-fcfc-445f-7362-01abed26200b --machinereadable
17 /usr/bin/VBoxManage storageattach vm-b9b883b9-fcfc-445f-7362-01abed26200b --storagectl SCSI --port 0 --device 0 --type dvddrive --medium /home/cf-test-u1/.bosh_virtualbox_cpi/vms/vm-b9b883b9-fcfc-445f-7362-01abed26200b/env.iso
18 /usr/bin/VBoxManage startvm vm-b9b883b9-fcfc-445f-7362-01abed26200b --type headless
19 /usr/bin/VBoxManage createhd --filename /home/cf-test-u1/.bosh_virtualbox_cpi/disks/disk-9e7808be-db81-40a6-5960-570a491ef1b5/disk.vmdk --size 65536 --format VMDK --variant Standard
20 /usr/bin/VBoxManage showvminfo vm-b9b883b9-fcfc-445f-7362-01abed26200b --machinereadable
21 /usr/bin/VBoxManage setextradata vm-b9b883b9-fcfc-445f-7362-01abed26200b VBoxInternal2/SilentReconfigureWhilePaused 1
22 /usr/bin/VBoxManage showvminfo vm-b9b883b9-fcfc-445f-7362-01abed26200b --machinereadable
23 /usr/bin/VBoxManage controlvm vm-b9b883b9-fcfc-445f-7362-01abed26200b pause
24 /usr/bin/VBoxManage storageattach vm-b9b883b9-fcfc-445f-7362-01abed26200b --storagectl IDE --port 1 --device 0 --type hdd --medium /home/cf-test-u1/.bosh_virtualbox_cpi/disks/disk-9e7808be-db81-40a6-5960-570a491ef1b5/disk.vmdk --mtype normal
25 /usr/bin/VBoxManage controlvm vm-b9b883b9-fcfc-445f-7362-01abed26200b resume

Step 21 and subsequent steps 23-25 are not supported by recent VirtualBox version and have only worked by accident in the past, see here: https://www.virtualbox.org/ticket/19251#comment:6 and following comment 7 as well as comment 4 in the thread.
Proposed solution
The virtualbox-cpi should:

switch from IDE to SATA storage controller.
not use any pause / resume cycle
attach a disk by doing /usr/bin/VBoxManage storageattach <uuid>  --storagectl <ctrl_name> --port <port_num> --device 0 --type hdd --medium <file_name> while the VM is running.

Executing above storageattach against a running (not paused) Virtualbox VM running Ubuntu (in this case an ancient 16.04) results in the following kernel log messages:
Sep 28 22:34:44 VBox kernel: [1325048.521701] ata4: exception Emask 0x10 SAct 0x0 SErr 0x4010000 action 0xe frozen
Sep 28 22:34:44 VBox kernel: [1325048.521708] ata4: irq_stat 0x80400040, connection status changed
Sep 28 22:34:44 VBox kernel: [1325048.521711] ata4: SError: { PHYRdyChg DevExch }
Sep 28 22:34:44 VBox kernel: [1325048.521724] ata4: hard resetting link
Sep 28 22:34:45 VBox kernel: [1325049.254359] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Sep 28 22:34:45 VBox kernel: [1325049.254509] ata4.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
Sep 28 22:34:45 VBox kernel: [1325049.254512] ata4.00: 8388608 sectors, multi 128: LBA48 NCQ (depth 31/32)
Sep 28 22:34:45 VBox kernel: [1325049.254697] ata4.00: configured for UDMA/133
Sep 28 22:34:45 VBox kernel: [1325049.254720] ata4: EH complete
Sep 28 22:34:45 VBox kernel: [1325049.254929] scsi 3:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0
 ANSI: 5
Sep 28 22:34:45 VBox kernel: [1325049.255685] sd 3:0:0:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB
)
Sep 28 22:34:45 VBox kernel: [1325049.255699] sd 3:0:0:0: [sdb] Write Protect is off
Sep 28 22:34:45 VBox kernel: [1325049.255701] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Sep 28 22:34:45 VBox kernel: [1325049.255721] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
 support DPO or FUA
Sep 28 22:34:45 VBox kernel: [1325049.258446] sd 3:0:0:0: Attached scsi generic sg2 type 0
Sep 28 22:34:45 VBox kernel: [1325049.259967] sd 3:0:0:0: [sdb] Attached SCSI disk

As can be seen, the kernel picked up the state change and attached the new disk, in this case as sdb.  The newly attached disk is visible in the /dev filesystem:
test@vbox:~$ ls -l /dev/disk/by* | grep -e sdb -e disk
/dev/disk/by-id:
lrwxrwxrwx 1 root root  9 Sep 28 22:34 ata-VBOX_HARDDISK_VB88c2ea74-ffc2bff7 -> ../../sdb
/dev/disk/by-path:
lrwxrwxrwx 1 root root  9 Sep 28 22:34 pci-0000:00:0d.0-ata-2 -> ../../sdb
/dev/disk/by-uuid:

A modern Uuntu 20.04 behaves exactly the same, except it suppresses the error message SError: { PHYRdyChg DevExch } about unclean device connect in the kernel log.
A disk is removed by VBoxManage storageattach <uuid>  --storagectl <ctrl_name> --port <port_num> --device 0 --type hdd --medium none
Caveats

The SATA controller must have enough free ports to allow attaching a disk to the running VM.  A change of port count can only be done if the VM is powered down.

I suggest to configure the SATA controller at VM creation time (probably best done between step 8 and 9 above, or already in the template VM) with 6 or more ports (max. is 30).

The VBoxManage interface is currently buggy

In theory, the SATA port should be explicitly configured as hotpluggable by VBoxManage storageattach <uuid>  --storagectl sata0 --port <port_num> --device 0  --hotpluggable on, essentially turning a "normal" SATA port into an "eSATA" port, which in the physical world supports hot-plugging.
However, that command is rejected, complaining about a missing --medium specification (and --medium none doesn't work either).
passing --hotpluggable on while attaching the actual disk errors out (VBoxManage returns non-zero), complaining about wrong execution state, claiming the VM must be powered off.  However, the disk attach nevertheless succeeds.

I suggest to completely ignore the --hotpluggable configuration option and simply attach with ... --type hdd --medium <file_name> and detach with ... --type hdd --medium none.  Luckily, a virtual controller can't short-circuit. :-)

@cppforlife
Are there any plans to fix this issue in the upcoming days?
Alternatively, if you give me some guidelines I can try making a PR.

@cppforlife
Are there any plans to fix this issue in the upcoming days?
It is a blocker for MacOS BigSur support.

I also still have it on my ToDo stack to get this solved, but will not get to it in the next 2+ months.  If you think you can do something, I would be happy to test and comment.  Note: I am just a user of this; I am not in any way related to the project and have no idea if and how the actual owner(s) of this project accept PRs (two are open since 3 and 4 years).
That said, if you have any questions regarding my findings earlier in this conversation, feel free to ask here and "@"-mention me.

Anybody?

So, this repo has been donated by Dmitriy to the Cloud Foundry Foundation, and now the BOSH teams are finally admin on this repository, which allows us to take part in maintaining it. Thus the "stale bbot", the comments, and new PR…
Thanks for the great detailed analysis of the issue and the valuable links.
This should be fixed with #20.
For the time being, I'll close this and we may re-open if relevant.


Home Screen Quick Actions

Home Screen Quick Actions When You Touch And Hold On The App.

Add Action For Creating A New Document.

Not Achievable With Document Controller. Recent Documents Available On Long Press Still With System Functionality.


no support for goto or set /p input= commands

no support for using goto or call or set /p input= commands if using Junks or alphabet after building the exe it will not work and will break, can you solve this problem?

no support for using goto or call or set /p input= commands if using Junks or alphabet after building the exe it will not work and will break, can you solve this problem?

both of those almost for sure work in somalifuscator if they don't lmk. I also have an unreleased version of bat2exe since it's hella detected but if u don't care about that lmk


build: Default to using the static CRT for MSVC

CMake 3.15 introduced CMAKE_MSVC_RUNTIME_LIBRARY as a way to control the CRT linked to by default. The old way of searching and replacing CMAKE__FLAGS does not work because CMake no longer adds the /MD flag in newer versions. Thus we can remove that code and replace it with a single instance of CMAKE_MSVC_RUNTIME_LIBRARY.

CI Vulkan-Tools build queued with queue ID 1845.

CI Vulkan-Tools build queued with queue ID 1845.

CI Vulkan-Tools build # 1063 running.

CI Vulkan-Tools build # 1063 passed.


[TODO] data-gathering/graphing feature?

Essentially some way of passing the fitness values back to source so that they can be further evaluated or displayed to make debugging easier.

The thing about this is it's not hard to do with simple channeling in the fitness function. This abstraction will have to be very easy-to-use in order for it to be useful.

going to close this because it just doesn't seem very useful to add this when it can be manually implemented very easily by users.


feature: allow seo url to either have trailing slash or not

1. Why is this change necessary?
A lot of our customers get their products removed from google shopping, because google shopping can't reach the provided URL from the export file. I know we can implement this with server settings, but for some reason the customer has different urls in the database, sometimes with trailing slash sometimes without. A regeneration of the seo urls would solve that, but when the customer decides to change the seo template again, then this needs to be done again and will take some time until we find out that the customer changed the template again. For us the best solution is to handle this with shopware and currently we decorate this class. I write this pull request because it would be nice to have it in the shopware core.
2. What does this change do, exactly?
Search for the seo url in the database with and without a trailing slash, since only one version exists.
3. Describe each step to reproduce the issue or behaviour.
Add a slash or remove a slash in the url of a product or category. One version will result in a 404
4. Please link to the relevant issues (if any).
5. Checklist

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

copilot:summary
copilot:walkthrough

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

Hey @Xnaff,
first of all thanks for your contribution! 💙 🎉
Can you please add a test case for your changes in \Shopware\Core\Framework\Test\Seo\SeoResolverTest and also please add a changelog for your change as described by this ADR: https://github.com/shopware/platform/blob/trunk/adr/2020-08-03-implement-new-changelog.md

Hello @keulinho I have added the test cases and a changelog file. Also the links to the changelog documentations are all brocken, thats why I didn't provide one. Are you aware of this? Currently from the page developer.shopware.com/docs/resources/guidelines/code/contribution
the link is github.com/shopware/platform/blob/trunk/adr/workflow/2020-08-03-implement-New-Changelog.md

Thanks we will have a closer look at the MR soon, in the meantime i created a fix for the docs: https://github.com/shopware/docs/pull/924

Hey we had a closer look at the MR and we are not really sure if the solution you propose really be suitable in all cases or if there are some unintended consequences.
Instead of trying to match the seo url with or without a trailing slash, we would prefer a solution where we ensure that the trailing slashes are always trimed before they are saved to the DB.
Currently we see two supported ways of seo urls being saved to the DB, one the \Shopware\Core\Content\Seo\SeoUrlPersister::updateSeoUrls where there currently is "only" a ltrim, the second way is the generic CRUD-API where the API consumer can import the seo routes directly.
Right now it is the merchants hands whether to use trailing slashes or not, but that has to be applied uniformly otherwise you run into the issues you describe.
The upside is that right now trailing slashes or no are both supported, with the change we propose we would enforce not using trailing slashes and would in fact prohibit it.
Can you check  why the seo urls end up mixed in the database in the first place?

@keulinho so one case is, that the seo url template between the category and the product are different, in one there is a trailing slash in the other there is none.
Based on the timestamp of the product detail url's with and without trailing slashes, there was a change in the template. So both urls exist, because the urls didn't get regenerated.
But if the templates between the category and the product urls differ with the trailing slash, I can't force one option in the server settings. So I think some solution needs to be implemented in the shopware core.

thanks for your contribution @Xnaff 👍🎉💙

@keulinho so one case is, that the seo url template between the category and the product are different, in one there is a trailing slash in the other there is none. Based on the timestamp of the product detail url's with and without trailing slashes, there was a change in the template. So both urls exist, because the urls didn't get regenerated. But if the templates between the category and the product urls differ with the trailing slash, I can't force one option in the server settings. So I think some solution needs to be implemented in the shopware core.

@Xnaff yes, exactly!
I think this is one scenario where the PR may fall into into inconsistency. That's why storing all urls without trailing slash would be a really good thing. Like Symfony controllers, Shopware should make all urls work with or without trailing slash... shouldn't be any difference between having a trailing slash or not. cc @keulinho
However, I think about other scenarios. I can't remeber very well, but it has to do manual modified URL's for example. It may cause some conflicts and incorrect redirects.
Anyways, thanks for your contribution @Xnaff.


Record revision datetime type not shown correctly

Needs confirmation
Steps to reproduce

Pick a module with a field of type datetime (CRM -> Contacts)
Edit the module
Select the record revision tab
Enable record revisioning
Go to the record page of the same module
Add a record revision page block
Notice the type of Birthdate

Tested this and can confirm that this works as intended and the only thing now left is the CL entry.

Changelog:
What changed

fixed the record revision datetime type not showing correctly

Why did it change

record list revision is not displaying the datetime type correctly, it display a the translation field and not the value of the datetime label

How did it change

updated the type section translation on the record revision configurator to display the fields as camel case, which is the case for the datetime on the translation itself

@Bojan-Svirkov

Added CL entry


(GH-1685) Add data type functions reference docs

This adds reference documentation for the various data type functions
available in plans.

Note: This commit includes two options for the reference docs. The
first includes the data type functions in the existing Bolt functions
reference doc, while the second introduces a new Bolt data types
reference doc.

Closes #1685
!no-release-note

CLA signed by all contributors.

I've opened a PR to your branch with my edits @beechtom


The training parameters have not changed

Hello,I found that the output_layer of chatglm hasn't changed,

I trained LoRa and added an OutputLayer to the modules_to_save, but I see an updated value in the updataed_params, but it looks like data replication doesn't pass the value.

@191220042, please share a bit more details about this issue. It would be helpful to have a way to repro.


There doesn't seem to be an easy way to import existing corpora

I'm not sure it can be fixed easily in the sense that it seems to be hard to upload artifacts using curl or something like that but having spent about an hour trying to import a corpus I think the easiest way is to open a PR where the corpus is put in $OUT/fuzz-target_seed_corpus.zip and temporarily unblock cflite_batch to run it on PRs. This way, the corpus is uploaded and can be used by PRs before cflite_batch itself is merged.

I'm not sure it can be fixed easily in the sense that it seems to be hard to upload artifacts using curl or something like that but having spent about an hour trying to import a corpus I think the easiest way is to open a PR where the corpus is put in $OUT/fuzz-target_seed_corpus.zip and temporarily unblock cflite_batch to run it on PRs. This way, the corpus is uploaded and can be used by PRs before cflite_batch itself is merged.

I suppose that would add to the repo size.
If you're using the git filestore then I think it's actually not so hard to add to an existing corpus right?

If you're using the git filestore then I think it's actually not so hard to add to an existing corpus right?

I didn't consider using a git repository to keep corpora because as far as I understand it isn't compatible with forks in the sense that every fork would have to create PERSONAL_ACCESS_TOKEN manually and change storage-repo accordingly.

Interesting point.


OOB in _domain_to_punycode

input is only 256 bytes (https://github.com/rockdaboot/libpsl/blob/6cfb33e5308d95f787e574f13c2b29d6fe27d42a/src/psl.c#L592)
There are several ways that libpsl may read or write beyond the end of that array.
This is not an error with in the current code as the 3rd parameter to _domain_to_punycode is always 128 at the single call site. However this assumption is very easy to break if _domain_to_punycode was to be used from elsewhere.

Aside: _domain_to_punycode doesn't do unicode normalisation (which is a required part of punycode conversion). Perhaps you should drop support for it if neither libicu or libidn are installed?

Perhaps you should drop support for it if neither libicu or libidn are installed?

Perhaps yes. The idea was to support a limited set of domains - a use case that isn't very unlikely.
I am unsure and leave this open for further discussion.

Since we have continuous fuzzing to coverthat area of code we can meanwhile be sure that there is no hole. Thanks for the heads up !


Merge rows should not fail if there is a table which is not available

I have the use case where I prepare a replacement dictionary and use the same dict to merge different kind of templates. The user defines what fields he wants to merge in the template.
Currently when there is a table defined in the replacement dictionary which is not available in the template, the code fails.
This pull requests fixes this issue.

Looks good, thanks for the contributions!


[Bug]: protoc-gen-validate module breaks if main repo is using newer rules_python

What happened?
When using rules python 1.0.0-rc2 in the main repository, the module extension call to initiate the pypi repo used by the protoc-gen-validate module uses the older "name" instead of using the newer "hub_name", whilst at the same time the dependency chain resolution does not initiate its own rules_python version for protoc-gen-validate.
I tried fixing it using a patch in my root module against the MODULE.bazel of protoc-gen-validate, but it did not work, most likely because protoc-gen-validate was a transitive dependency.
Output from bazel mod tidy:
bazel mod tidy
ERROR: in tag at https://bcr.bazel.build/modules/protoc-gen-validate/1.0.4/MODULE.bazel:64:10, unknown attribute name provided. Type 'bazel help mod' for syntax and help.

Version
Development (host) and target OS/architectures: linux, amd64
Output of bazel --version: bazel 7.4.1
Version of relevant rules from the WORKSPACE or MODULE.bazel file:
bazel_dep(name = "rules_python", version = "1.0.0-rc2")
bazel_dep(name = "protobuf", version = "29.0")
bazel_dep(name = "grpc", version = "1.68.0")
bazel_dep(name = "protoc-gen-validate", version = "1.0.4") // this is introduced as a dependency by grpc
Language(s) and/or frameworks involved: python, grpc, proto
How to reproduce
I tried to keep this as minimal as possible, it seems it is not triggered before you add an actual build target, so here it is:
MODULE.bazel
bazel_dep(name = "rules_python", version = "1.0.0-rc2")
bazel_dep(name = "protobuf", version = "29.0")
bazel_dep(name = "grpc", version = "1.68.0")

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
    hub_name = "pypi",
    python_version = "3.11",
    requirements_lock = "//python:requirements.txt",
)
use_repo(pip, "pypi")

protos/BUILD.bazel
load("@grpc//bazel:python_rules.bzl", "python_grpc_library")
load("@protobuf//bazel:proto_library.bzl", "proto_library")
load("@protobuf//bazel:py_proto_library.bzl", "py_proto_library")

proto_library(
    name = "greeter_proto",
    srcs = ["greeter.proto"],
    visibility = ["//visibility:public"],
)

py_proto_library(
    name = "greeter_py_proto",
    visibility = ["//visibility:public"],
    deps = [":greeter_proto"],
)

python_grpc_library(
    name = "greeter_py_grpc",
    srcs = [":greeter_proto"],
    deps = [":greeter_py_proto"],
)

protos/greeter.proto
syntax = "proto3";

package greeter;

option go_package = "github.com/molnett/the-bazel-pitch/protos/greeter";

// Greeter service provides simple greeting functionality
service Greeter {
  // Greet generates a personalized greeting for the given name
  rpc Greet(GreetRequest) returns (GreetResponse) {}
}

// GreetRequest contains the name to be greeted
message GreetRequest {
  // Name of the person to greet
  string name = 1;
}

// GreetResponse contains the greeting message
message GreetResponse {
  // The greeting message
  string message = 1;
}

python/BUILD.bazel
load("@pypi//:requirements.bzl", "requirement")
load("@rules_python//python:defs.bzl", "py_binary", "py_test")

py_binary(
    name = "cli",
    srcs = ["main.py"],
    main = "main.py",
    visibility = ["//visibility:public"],
    deps = [
        "//protos:greeter_py_grpc",
        "//protos:greeter_py_proto",
        requirement("grpcio"),
        requirement("protobuf"),
    ],
)

python/main.py
import argparse
import grpc
from protos.greeter_pb2 import GreetRequest
from protos.greeter_pb2_grpc import GreeterStub

def main():
    parser = argparse.ArgumentParser(description='Greeter CLI client')
    parser.add_argument('--name', type=str, required=True, help='Name to greet')
    args = parser.parse_args()

    with grpc.insecure_channel('localhost:50051') as channel:
        stub = GreeterStub(channel)
        try:
            response = stub.Greet(GreetRequest(name=args.name))
            print(response.message)
        except grpc.RpcError as e:
            print(f"Error: {e.details()}")
            exit(1)

if __name__ == '__main__':
    main()

python/requirements.txt
grpcio==1.68.0
protobuf==5.29.0

Any other information?
I am not entirely sure where to file this bug, if it should go against the grpc repository, as they are the ones who introduce this transitive dependency, against the rules_python repository because their version compatibility setting seems wrong (it does not resolve a separate rules_python version for the protoc-gen-validate, despite my MODULE.bazel file having 1.0.0-rc2 and them having a 0.22.0 dependency) or if I should file it here? I chose here, as I suspect that this is the place easiest to fix it however.
I did fix it for now with a multiple_versions_override like this:
multiple_version_override(
    module_name = "rules_python",
    versions = [
        "1.0.0-rc2",
        "0.22.0",
    ],
)

to workaround this you can also do a patch like this:
single_version_override(
    module_name = "protoc-gen-validate",
    patch_strip = 1,
    patches = [
        # https://github.com/bufbuild/protoc-gen-validate/pull/1111
        "//bazel/third-party:protoc-gen-validate.patch",
    ],
)

diff --git a/MODULE.bazel b/MODULE.bazel
index 7a0a28c..b39f9ae 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -62,7 +62,8 @@ use_repo(

 pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
 pip.parse(
-    name = "pgv_pip_deps",
+    hub_name = "pgv_pip_deps",
+    python_version = "3.11",
     requirements_lock = "//python:requirements.txt",
 )
 use_repo(pip, "pgv_pip_deps")

As long as you have i think bazel 7.4 which allows you to patch MODULE.bazel files

This was my first thought and I tried (with 7.4.1), but it did didn't work
~ I didn't dig deep, but assumed it was because it was only a transitive
dependency and not a direct dependency.
On Mon, 2 Dec 2024, 18:43 Keith Smiley, @.***> wrote:

to workaround this you can also do a patch like this:
single_version_override(
module_name = "protoc-gen-validate",
patch_strip = 1,
patches = [
# https://github.com/bufbuild/protoc-gen-validate/pull/1111
"//bazel/third-party:protoc-gen-validate.patch",
],
)
diff --git a/MODULE.bazel b/MODULE.bazel
index 7a0a28c..b39f9ae 100644--- a/MODULE.bazel+++ b/MODULE.bazel@@ -62,7 +62,8 @@ use_repo(
pip = @.***_python//python/extensions:pip.bzl", "pip")
pip.parse(-    name = "pgv_pip_deps",+    hub_name = "pgv_pip_deps",+    python_version = "3.11",
requirements_lock = "//python:requirements.txt",
)
use_repo(pip, "pgv_pip_deps")
As long as you have i think bazel 7.4 which allows you to patch
MODULE.bazel files
—
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/bazel-central-registry/issues/3291#issuecomment-2512263581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABAI6CXL7WILTWY75APNQL2DSL5BAVCNFSM6AAAAABSZPB5I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJSGI3DGNJYGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Created pull request template

GitHub Selfies

Why there is a "Breaking change" option. Isn't every change a break risk? And if this is a recognized risk, why it should be merged?

Seems to be valid in case of bugs found in other functionalities that were not part of the problem solved

GitHub Selfies

GitHub Selfies