[Lead space] website content update for the medium Lead space variation

Objective
Provide Carbon for IBM.com adopter the best practices and guidance they need to adopt Carbon for IBM.com.
General publishing process
Please make sure you always start the content crafting process by viewing the 2020 website content publishing process box document first.
Publishing for Components section website page

Content crafting starts as soon as the design is finalized.
Components section includes UI components and Layout components.
The content can be at the MVP level. MVP means the content meets the basic needs of an adopter for learning. It does not mean the content crafting will or should stop at this stage. Future enhancement should be working on with a separate task issue.
MVP content publishing template and requirement can be found in the Publishing template and best practices/_UI and Layout Components folder.
Please use the visual and design spec files inside of the Carbon for IBM.com Box folder as a reference.
Content publishing to the live website can be code or markdowns. If you need guidance on how to start with markdowns, please see the step by step instruction in the Editing and publishing in Github Box document.
When the page is published, please also make sure the components table list on the Overview page is updated as part of the publishing task.

File naming and storage

Name the Sketch file with the following convention: Name of the category + components/pattern/guideline + version. ex: Components-Feature card block v1.0, Guidelines-Expressive theme v1.0, Help-Overview v1.0 and etc.
Please save all content publishing work files (box, markdowns link, or Sketch file) in the proper sub-folder under the ✍ Content + Design folder.

Publishing acceptance criteria

[x] Content crafting is done.
[x] Asset image creation is done.
[x] Page design is done (as needed).
[x] Publishing with markdown is done.
[ ] Web page review is done with DDS designers
[ ] Updates based on feedback completed
[ ] PR reviewed and merged by Jenny.
[ ] Web page is published and live on the website.

Task update: Dragos shared the initial content draft with me for feedback. After review, there are a few updates we need to make and a few questions I have. A review session is scheduled for him and I to look at the initial content together tomorrow.

Scheduled to review in the March 30 Sprint Review meeting.


[HUDI-4364]: changes for integrating column stats index into presto-h…

…udi connector
Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot run azure

@pratyakshsharma  nice work!
A little question:
Why don't we put those codes into Presto Hudi connector so that we can reuse related classes of Presto directly

@xiarixiaoyao this is a good question, something I have been thinking about too. The idea is to build a layer that will help in integrating column stats index with all java based engines like presto, trino and hive. This lays the foundation, since we need something like ranges so as to be able to filter the files using min and max values. Few classes here are actually inspired from those present in presto, but they are not exactly similar.
We can end up writing this logic in presto, but then a similar work will have to be done for trino as well.
Although since this is just the beginning of this work, I am open to hear others' thoughts on this.

cc @alexeykudinkin

@pratyakshsharma thanks for taking the time to contribute this!
We definitely want to make sure that the code integrating w/ Presto/Trino/Hive is reusable as much as possible, and i think we should start to think about it upfront to avoid churn of refactoring things back and forth. Given the scope of this integration as well as its impact, i think we'd def go for RFC for it to make sure we solicit the feedback from the community before go too far w/ the implementation.

@alexeykudinkin An epic is filed here - https://issues.apache.org/jira/browse/HUDI-4394.
Please note this draft PR is intended as a POC and would work well with Presto.

Got it. Yeah, i don't think we'll be able to make it into 0.12 given that we're planning to do a code freeze next week.
And again, i don't think we can go with the project of this size, scope and more importantly impact (it'll be affecting all forthcoming execution engines like Flink, Presto, Trino, Hive, etc) w/o an RFC.

Agree with you on this. Let me draft an RFC and we can take it up from there.


UI: Update schema default attribute

A schemas default attribute determines how data related to the schema is labeled in the UI. Currently the UI only supports setting the default attribute when a schema is created, the default attribute is then marked with an *
Backend Endpoints:
PUT /api/admin/schema/{id}
POST /api/admin/schema
{
  "defaultAttributeName": "something"
}

The following features are missing:
1. Option to update a schemas default attribute
Add the option to the following dialog:

2. Option to set the default attribute when importing an json-ld schema
Probably another checkbox on the left hand side same as the attribute selector, but one that only allows a single selection.

3. Option to set the default attribute when importing an Indy schema
This is a bit more tricky as there is a preview schema functionality needed to make this work (same as with json-ld), which involves backend work and changing the flow in the component.

Option 1 is resolved in #773
Step 1: Open a schema and click on the new edit-button

Step 2: choose new default attribute via checkbox

Step 3: save/update the state into the store


Allow to submit files as array of bytes with name and download it

Allow to submit the files with a method AddFile(string name, byte[] data) and download it in the Extended data tab.

I don't think we will ever implement this as it introduces many can of worms on both the client and server.  It would affect the following areas

Client Storage (we enqueue the event offline, we'd now have to manage a large file).
Client Submission (streaming this in).
Server side event queueing and storage and event processing
Managing these files during event retention and when bulk events are removed.

You could easily do this with a plugin:
public class AzureBlobStoragePlugin : IEventPlugin {
        private const string KNOWN_FILE_NAME_KEY = "abc.exe";
        public void Run(EventPluginContext context) {
            if (context.Event.Data.ContainsKey(KNOWN_FILE_NAME_KEY)) {
                // Upload file to blob storage here

                // Link to the uploaded file in azure
                context.Event.SetProperty(KNOWN_FILE_NAME_KEY, "link to file in azure or xyz");
            }
        }
    }

One thing we will improve on is detecting links or file name extensions as part of extended data and hot link them/syntax highlighting them.

From my point of view the AddFile method is just the AddObject but allowing to send a little amount of data, not large files, little XML/JSON/HTML...
Eventually you can implement the plugin, if you don't want to allow to store the data on your systems.
Thank you.

If it's just a little bit of data you can do this today with setproperty and we will get better at rendering it if the property name ends with the extension.

Ok, so we will use the method AddObject("Test.xml", "Bill"), right?

Yes, but I'd call set property (preference) instead as it's a single property, not a complex object https://github.com/exceptionless/Exceptionless.Net/blob/master/Source/Shared/EventBuilder.cs#L150

I don't understand, I've to wait for an update of the UI, right?

The data will show up as extended data right now it just won't have syntax highlighting

I'm closing this issue as this is possible right now via calling SetProperty on the EventBuilder. We are also currently looking into formatting/syntax highlighting of extended data
https://github.com/exceptionless/Exceptionless/issues/173

Great. Thank you Blake!


Fix/501 update e2e test

What this PR does / why we need it:
Updates the e2e test for MetadataBlockInfoJSDataverseRepository
Which issue(s) this PR closes:

Closes #501

Special notes for your reviewer:
I updated the expected data to match what is coming from the API, but I also included a test that does a more generic test of the JSON object.  I can remove the "perfect match" test, if we want to avoid having it break again in the future.
Suggestions on how to test this:
Run the e2e test for MetadataBlockInfoJSDataverseRepository
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
no
Is there a release notes update needed for this change?:
no
Additional documentation:

coverage: 97.43%. remained the same
when pulling 81c1edd2fcc351dc78b3915e8cdf1fa4dc821f74 on fix/501-update-e2e-test
into 453cfa38f14739610c7eb3c4ce529cb3f528767a on develop.


Is this approach of playing youtube videos against youtube policy?

I want to use this plugin to play some youtube videos in my app, but i want to ask first if this approach is against youtube policy because i'll add admob ads to my app.
thanks for the great plugin

I want to know this as well.

Here we're simply using the Youtube's web service as the javascript api does. So it shouldn't be against the policy. As per the TOS , distribution and commercialization of YouTube service is restricted. So, if you intend to add admob I think you shouldn't place both ad and player on the same screen. Same applies for the official youtube player api REFERENCE

ok thanks for the information


npm release of<EMAIL_ADDRESS>failed

I just wanted to let you know that something went wrong with the release of version @1.6.11
https://github.com/hirezio/auto-spies/actions/runs/4303640906
It would be great to use the package with jest@29 as nx moved to that in their 15.8.x update

oh, I thought it was caused only by missing some secrets - credentials for npm

Was not aware it requires more work, thank you very much for the replay.

@mserwicki  yeah that's why I switched to pnpm, but upgrading in general caused more issues related to webpack, typescript etc

OK it's fixed now 😊
thanks @mopinsk for your PR 🙏


BUG: Submiting word via enter key is always wrong

If the input word is submitted via the enter key instead of the button "Überprüfen", it will always be considered wrong, even though it might be correct
Problem occured in the feature/pdf branch

Caused by function:
function input_keypress(e) {   if (e.which == 13) {     solve_document() ;     return false;   } };
Changed solve_document() to 'check_current_document(;'


Add PRE to the list of blockElementNames

Adds the PRE element name to the blockElementNames

Always provide descriptions please no matter how trivial the change. It massively helps maintenance on our side.

Seems okay, I'll merge later.

sounds good, will always provide descriptions now onwards. thanks


Subject Area UI is blank

On both release-1.1 and master, the subject area UI section renders with a blank content section
(Safari, built with java 11)
Will add screenshot
Please advise if you need a fix added to 1.1 urgently. Otherwise I recommend a readme note with a reference to this bug

See https://pasteboard.co/IDAfvzS.png

I checked chrome, and it worked ok (I should have beforehand).
Additionally after another pom fix has gone into 1.1 the latest build is also looking fine in the subject area UI.
I'll assign to myself and do some more checks later. for example the docker images on master & release 1.1 (when ready)

I have not tested Safari. I have raised issue #1861 to agree the supported browsers for the UI

The formal build runs & creates the egeria ui jar.& then deploys into the container
Using the build from yesterday the subject UI renders correctly.

closing until/unless a specific pattern is identified which causes this


Bad indentation in nested let.

+                let consequent_match_pairs = subpatterns.into_iter()
+                                                        .map(|subpattern| {
+                                                            let lvalue =
                                        downcast_lvalue.clone().field(

We seem to reformat the expression properly, but the nested statement keeps its original indent.

This is a dupe of https://github.com/nrc/rustfmt/issues/470.

They look different to me - I guess this could be a sub-case of #470. Leaving open for now, although I bet they get closed together.

It's a rewrite of ast::Block that runs out of space and simply takes the original span.


Tabbed links on "best practices" page do not work

Platforms
Ubuntu 10.04
FF 49.0.2
Chrome Version 59.0.3071.115 (Official Build) (64-bit)
Steps to Reproduce

Go to the best practices page
See that "Avant la consultation" page loads fine.
Click "Pendant la consultation" or "Apres la consultation" tab.

Observed
Clicking links has no effect.
Expected
Clicking on the links would load the pages.
Local testing
I spun up a local version of the site and confirmed that the public codebase works fine locally. It  seems that much of the text is different, so I'm unsure if the public code is up-to-date. On the local site, clicking the tabs works fine.
Digging a little deeper showed that on the live site, this patch seems to have been applied, adding a type="null" bit to the script tag.
diff --git a/laconsultation.html b/laconsultation.html
index d6127af..920d0a0 100644
--- a/laconsultation.html
+++ b/laconsultation.html
@@ -207,6 +207,6 @@ additional_css: laconsultation

 </section>

-<script>
+<script type="null">
   $('#bonnes-pratiques .menu .item').tab();
 </script>
\ No newline at end of file

Adding this on the local site caused it to fail similarly.
Anyhow, not sure how that might have ended up on the production site, but hopefully it's simple to fix :)

Working now.

FTR, Forestry.io happily adds type="null" to scripts tags when a page is edited in the WYSIWYG HTML editor. Thankfully it's going away soon.


Soot exception when analyzing Jython

When running the cicg2dot-java callgraph analysis with Logicblox, we get the following error from Soot:
Exception in thread "main" soot.ResolutionFailedException:
Resolved <org.python.modules.zipimport.zipimporter: org.python.core.PyString __doc__> to
<org.python.modules.zipimport.zipimporter: org.python.core.PyString __doc__> which has wrong static-ness
        at soot.AbstractSootFieldRef.checkStatic(AbstractSootFieldRef.java:87)
        at soot.AbstractSootFieldRef.resolve(AbstractSootFieldRef.java:102)
        at soot.AbstractSootFieldRef.resolve(AbstractSootFieldRef.java:81)
        at soot.jimple.internal.AbstractInstanceFieldRef.getField(AbstractInstanceFieldRef.java:93)
        at petablox.util.soot.SootUtilities.isStaticGet(SootUtilities.java:97)
        at petablox.program.RTA.processMethod(RTA.java:444)
        at petablox.program.RTA.build(RTA.java:229)
        at petablox.program.RTA.getMethods(RTA.java:130)
        at petablox.program.Program.buildMethods(Program.java:208)
        at petablox.program.Program.buildClasses(Program.java:263)
        at petablox.program.Program.getTypes(Program.java:657)
        at petablox.analyses.type.DomT.fill(DomT.java:26)
        at petablox.project.analyses.ProgramDom.run(ProgramDom.java:38)
        at petablox.project.ClassicProject.runTask(ClassicProject.java:404)
        at petablox.project.ClassicProject.runTask(ClassicProject.java:401)
        at petablox.project.ClassicProject.runTask(ClassicProject.java:401)
        at petablox.project.ClassicProject.runTask(ClassicProject.java:425)
        at petablox.analyses.alias.CICG2DotGraphAnalysis.run(CICG2DotGraphAnalysis.java:27)
        at petablox.project.ClassicProject.runTask(ClassicProject.java:404)
        at petablox.project.ClassicProject.runTask(ClassicProject.java:425)
        at petablox.project.ClassicProject.run(ClassicProject.java:118)
        at petablox.project.Main.run(Main.java:78)
        at petablox.project.Main.main(Main.java:50)

We got this error from Soot a while ago when running with the old Doop framework and our fix was to use one of their phase options.  This link details that in the jb.tr phase, you can set the ignore-wrong-staticness option to true, which will silence the error.  (Using this approach assumes that we trust Jython to be correct over Soot, not the other way around).
If possible, we'd like to have an option we can pass to Petablox that will enable this option for Soot.

Hi Joe,
Could you please try the following:
Add the following line in src/petablox/Program.java, in the constructor (after line 112)
PhaseOptions.v().setPhaseOption("jb.tr", "ignore-wrong-staticness:true");
We do not currently have a system to pass soot options to petablox. We can discuss this later.

Thanks Sulekha.  I'll try that, and open a pull request so we have some code for a later discussion.


Maximum call stack size exceeded

I got this error using msgpack-lite:
Unhandled rejection RangeError: Maximum call stack size exceeded
at obj_to_map (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:234:16)
at object (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:165:5)
at encode (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-core.js:23:5)
at array (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:192:7)
at object (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:153:33)
at encode (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-core.js:23:5)
at /Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:239:7
at Array.forEach (native)
at obj_to_map (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:237:10)
at object (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:165:5)
at encode (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-core.js:23:5)
at array (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:192:7)
at object (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:153:33)
at encode (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-core.js:23:5)
at /Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:239:7
at Array.forEach (native)
at obj_to_map (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:237:10)
at object (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:165:5)
at encode (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-core.js:23:5)
at array (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:192:7)
at object (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:153:33)
at encode (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-core.js:23:5)
at /Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:239:7
at Array.forEach (native)
at obj_to_map (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:237:10)
at object (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:165:5)
at encode (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-core.js:23:5)
at array (/Users/stavrosschizas/Documents/Projects/wover-backend/node_modules/msgpack-response/node_modules/msgpack-lite/lib/write-type.js:192:7)
Any thoughts?

A circular structure may cause it. JSON.stringify would fire another error as below:
> var msgpack = require("msgpack-lite");
> var a = {};
> a.a = a
> msgpack.encode(a)
RangeError: Maximum call stack size exceeded
> JSON.stringify(a)
TypeError: Converting circular structure to JSON

@kawanet I have checked my code and i don't see any kind of cycle reference. In order to cross validate it i used another msgpack library and i didn't get this error. I think its worth checking your code.

For anyone stumbling on this issue, I hit this error when I had a unpacker for an extended type but not a packer

For anyone stumbling on this issue, I hit this error when I had a unpacker for an extended type but not a packer

Do you mean extended like an object large and deep?
I'm facing this issue as well.
Node: v12 Alpine

Depend on:
➜  orders-service git:(master) npm ls msgpack-lite
<EMAIL_ADDRESS>/orders-service
└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>


Idea for jobs features in game

It could be a great idea to put some Jobs IG, it would be something that others MMORPG servers (like Wynncraft) doesn't have and it could be an great extra to add some stuffs and objects in game. I think a player does not have a simple job but have all the jobs in the same times and can just lvl up his jobs to have access to new crafts/objects... Exemple : There could be a "Farmer" job that increase a "Farmer level" when a player collects and plants some seedlings. In the same idea, there couild be a "Miner" job, with the possibility to farm minerals that could be useful to craft some weapon with a "blacksmith" job...
Idea of jobs : Farmer, Miner, Blacksmith, Gunsmith, Trapper
It possible to split "Farmer" job into 2 jobs : herbalist and lumberjack

except wynn actually has a job system. and it's pretty deep tbh

I find wynncraft's profession system very bad and boring.  It's not of much interest. The objective here would be to allow a player to develop his professions by himself, by planting, by crafting, to provide an ecosystem mastered by the players a bit like on the game Wakfu which in my opinion has the best profession system of all MMORPGs.

Guiding idea for jobs:
It would be necessary for the harvesting trades: an ecosystem created and managed by the players, by letting them plant, collect. Each player planting a plant/tree must wait some time before it matures (between 2/10 minutes depending on the rarity of the resource). Until it matures and a few minutes later, the resource can only be harvested by the player who planted it/his group to avoid grievance. The resource can give a varied number of harvests ranging from 1 for the rarest to 3 for the common.
To go even further: we could ensure that the weather influences the ecosystem, in particular by influencing the speed of resource growth positively or negatively depending on the season (if it rains, if it is sunny, if it is hot, if it's cold...)
With for each harvesting profession, the possibility of creating harvesting tools to allow a faster or more generous harvest, the harvesting tools can be crafted from a certain lvl of the profession and there could be several tools more or less strong costing more or less in resources to be crafted and requiring a minimum lvl.

then again, there should at least be a rarity system even if it is not shown. Because if the respawn time of the ressources depends on its rarity, you need to have a rarity system.

each harvested resource can have a specific rare version with a very low chance of looting
wheat => golden wheat

each harvested resource can have a specific rare version with a very low chance of looting wheat => golden wheat

I like that, but let's take Dofus as an exemple. You have multiple types of cereals, the Wheat being easy to find and the Frosteez being extremely rare. Then each of these ressources can drop the basic version (Wheat or Frosteez) or tthe rarer version (Golden wheat or Puffed frosteez)...
Also, if the player is the one to replant (as stated below by @Blumor ), how do we make sure the Frosteez keeps being harder to get than the Wheat (to follow the exemple I set above) ? Letting players farm/cultivate specific ressources only at specific places might be a solution : for exemple, Wheat could be grown everywhere but Frosteez only in some high-level areas.

an ecosystem created and managed by the players, by letting them plant, collect. Each player planting a plant/tree must wait some time before it matures

Frosteez is only in dofus 2.0 which is a demonic version that should never exist. But yeah specific zones

Also, if the player is the one to replant (as stated below by @Blumor ), how do we make sure the Frosteez keeps being harder to get than the Wheat (to follow the exemple I set above) ?

I think we just have to do common ressource and each have a very rare version that have a low chance to pop when you plant seed for your common ressource. When you collect the rare ressource, it give 1 of the rare ressource (except if you have some specific skills/farm equipments in that case it can give more) and some seed of the common ressource (who allow rare ressource to grow with low chance). With this systme, users can't farm specific rare ressource and must take care of field to hope to see a seed evolve into a very rare ressource.

I think we just have to do common ressource and each have a very rare version that have a low chance to pop when you plant seed for your common ressource. When you collect the rare ressource, it give 1 of the rare ressource (except if you have some specific skills/farm equipments in that case it can give more) and some seed of the common ressource (who allow rare ressource to grow with low chance). With this systme, users can't farm specific rare ressource and must take care of field to hope to see a seed evolve into a very rare ressource.

I don't see how this allows for rarer plants to stay rarer... Only the specific zone allows the ressource itself to stay rare, not talking about the drops.

Frosteez is only in dofus 2.0 which is a demonic version that should never exist. But yeah specific zones

Dofus 2.0 has more alignments quests which allows for more epic cosmetics so I can't let you say that. Ok for the zones tho

also add weapon-related jobs to let players enhance (to some extent) the stats of their loots. Maybe let them upgrade their stats but keep the cap at the same amount (ex. you loot a 13 strength weapon that can have up to 15 strength. By enhancing it you can't go above 15 since it's the original cap)
also maybe the rerolls aren't always beneficial. Like you get the past and the new version with some stats that are better but maybe some that are worse, and then you can choosse to take the new stats or keep the old ones ?
Masssively inspired by Dofus with Forge jobs such as Forgemage, Sculptemage, Costumage, etc. (can't find the EN names)

Also about ressources, I find it more fun to have a lot of ressources drop and to need crazy amounts of ressources for every craft than to get few ressources and to need a few for craft.
For exemple, i'd rather have the wheat drop 5-10 and a recipe needing 1000 wheat than the drop being 0-2 and the recipe needing 50.

Dofus 2.0 has more alignments quests which allows for more epic cosmetics so I can't let you say that. Ok for the zones tho

Speaking about dofus 2 is forbidden by the geneva accords

Speaking about dofus 2 is forbidden by the geneva accords

ff


[Merged by Bors] - feat: Summable.countable_support

A step towards showing that Pmfs have countable support.
Thanks Eric Rodriguez and Kevin Buzzard for helping on zulip.

I'll try to generalize it today. If I don't push a generalization in 5h, then ignore this comment.

Thanks!
bors merge

Thanks for the generalizations and the quick merge! Did you drop the Real variant intentionally? (I don't need it right now but Eric suggested it)

You can apply the general Summable.countable_support in the real case (but not the NNReal/ENNReal cases, which is why they have specialized lemmas). That said I should have waited for your approval before merging, sorry for that.

Ah, of course, now I see it. And no worries!


Make the existing sierra_to_dynamo be bibs-only

We'll have two different apps: one for bibs, one for items, in the same way we have for the mergers – because the items ingestor also needs to be recording all the bibs it was attached to. I’ll add the new project in a separate PR.

Resolves #1236.

Replaced by #1280.


Enable installation through curl

Currently, it's possible to install Prisma using Homebrew, NPM and Yarn. It should be also be possible to install it using a curl command that downloads and installs the binary on a local machine.

I really like the way how Rust presents this option:


Link this as sub-module within cortx-motr

Just to make sure that the community has visibility into this repo, I suggest we add it as a submodule into cortx-motr.
@andriytk , you cool with that?
@shailesh-vaidya , will this break the recursive clone / build?
If both of you are good, we can ask @gauravchaudhari02 to do the needful.

@johnbent sub-links in git are usually used for the packages on which the package depends on. Motr does not depend on this package (rather vice versa). So there is no point in such sub-link.
I think just mentioning it in some Motr doc as an example of Motr client apps is more than enough. You can open an issue in Motr for this, not here. (Because the change you want to be done is in Motr, not here.)

@johnbent sub-links in git are usually used for the packages on which the package depends on. Motr does not depend on this package (rather vice versa). So there is no point in such sub-link.
I think just mentioning it in some Motr doc as an example of Motr client apps is more than enough. You can open an issue in Motr for this, not here. (Because the change you want to be done is in Motr, not here.)


Invalid state on MediaSource.endOfStream internal call is causing general exception

Hi guys,
I get sometimes general DOMException, when I seek to the end:
Error category: 3, code: 3015
Data:
DOMException: Failed to execute 'endOfStream' on 'MediaSource': The MediaSource's readyState is not 'open'. at Error (native) at .
Stack trace:
(anonymous function) (VM136975 bundle.js:24286)
(anonymous function) (VM136975 bundle.js:24356)
Promise.resolve (async)
shaka.media.MediaSourceEngine.enqueueBlockingOperation_ ()
shaka.media.MediaSourceEngine.endOfStream ()
shaka.media.StreamingEngine.onUpdate_ ()
setTimeout (async)
shaka.media.StreamingEngine.scheduleUpdate_ ()
shaka.media.StreamingEngine.seeked ()
shaka.Player.onSeek_ ()
shaka.media.Playhead.onSeeking_ ()
seeking (async)
.. video set current time
Related shaka code:
shaka.media.MediaSourceEngine.prototype.endOfStream = function(opt_reason) {
451	  return this.enqueueBlockingOperation_(function() {
452	    // Chrome won't let me pass undefined, but it will let me omit the
…
456	      this.mediaSource_.endOfStream(opt_reason);
457	    } else {
458	      this.mediaSource_.endOfStream();
459	    }
460	  }.bind(this));
I think there shouldn't be call to endOfStream when readyState equals ended.

What browser are you using?  Is this reproducible in the nightly build of the demo app?  http://nightly.shaka-player-demo.appspot.com/demo/

This was captured using Chrome 51.0.2704.103 m.
Codebase is same.
I don't have test case for this, but it could be related to DRM expired license key & seeking to the end.

The codebase may be the same, but I'm asking if you can reproduce it with our app.  If not, the cause may be in your own application code.

Is there demo for short DRM expiring license? (5 min)
Do I need to check, whether I am seeking to the end and whether video ended, before every change to currentTime?

We don't have a demo for that, but you can put a custom manifest and license server URL into the demo app.  At the bottom of the list of assets is "(custom asset)".  Select that and boxes will appear to allow you to put in your own manifest and license server URLs.
It's not clear to me why seeking to the end would result in an exception.  As far as I know, no seek should be able to cause this.  But if you can reproduce it on the demo app, we will be much better able to diagnose it.

@Ross-cz, were you able to make any progress on this?  Is this still an issue for you?

Hi @joeyparrish , I was on holidays.
I just put if statement (if (this.mediaSource_.readyState !== 'ended')) into code:
shaka.media.MediaSourceEngine.prototype.endOfStream = function(opt_reason) {
  return this.enqueueBlockingOperation_(function() {
    // Chrome won't let me pass undefined, but it will let me omit the
    // argument.  Firefox does not have this problem.
    // TODO: File a bug about this.
  	if (this.mediaSource_.readyState !== 'ended') {
  		if (opt_reason) {
  			this.mediaSource_.endOfStream(opt_reason);
  		} else {
  			this.mediaSource_.endOfStream();
  		}
  	}
  }.bind(this));
};

It could be a fix. I used following info about readyState: https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/readyState
Btw Chrome (and probably other browsers) don't handle DRM expired licenses - video is streaming, no Error state, no ended state, it just don't play decrypted content... I don't want to create issue on this, because I don't have testing license server with short term licenses for you.

Checking readyState seems fine in general, but I still can't reproduce your issue.
Please try again with the latest code from master or with the nightly build.  We're definitely handling expired licenses through key status events.  With the setup below, I get the error DRM.EXPIRED:
Asset: http://storage.googleapis.com/shaka-demo-assets/sintel-widevine/dash.mpd
License server: http://cwip-shaka-proxy.appspot.com/fastexpire
Full demo: http://nightly.shaka-player-demo.appspot.com/demo/?asset=//storage.googleapis.com/shaka-demo-assets/sintel-widevine/dash.mpd;license=//cwip-shaka-proxy.appspot.com/fastexpire;play

Thanks, I was not able to reproduce it again.


repeat to call rpc function cause "fatal error: unexpected signal during runtime execution"

Problem
while i call the rpc function repeat many times, it will crash: "fatal error: unexpected signal during runtime execution"
How to reproduce:
call function in your for loop, may be you can get the same problem.
Env

system: Linux 6.1.31-2-MANJARO SMP PREEMPT_DYNAMIC Sun Jun  4 12:31:46 UTC 2023 x86_64 GNU/Linux
golang: go version go1.20.4 linux/amd64
emulator: android studio
avd: Android 13 Google APIs | x86_64

Code
const scriptAdd = `
rpc.exports = {
    add: function (a, b) { return a + b; },
};
`

func TestFrida(t *testing.T) {
	emulator, err := frida.USBDevice().Attach("鲁大师", nil)
	require.NoError(t, err)

	createScript, err := emulator.CreateScript(scriptAdd)
	require.NoError(t, err)

	createScript.On("message", func(msg string) {
		//fmt.Println("[*] Received", msg)
	})

	err = createScript.Load()
	require.NoError(t, err)

	for i := 0; i < 10000; i++ {
		createScript.ExportsCall("add", 1, 2)
	}
}

Error
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x8f2db9]

runtime stack:
runtime.throw({0x2b91d44?, 0x307c0?})
	/usr/lib/go/src/runtime/panic.go:1047 +0x5d fp=0x7f817b7fdd30 sp=0x7f817b7fdd00 pc=0x57311d
runtime.sigpanic()
	/usr/lib/go/src/runtime/signal_unix.go:821 +0x3e9 fp=0x7f817b7fdd90 sp=0x7f817b7fdd30 pc=0x589d29

if you run the upper code and the error can not be reproduce, rerun the code immediately.

Hey there, thank you for detailed response. I believe I have solved the issue, can you please try using v0.6.6 and see if it is solved now, I have tested it with 10k calls and it did not fail.

Hey there, thank you for detailed report. I believe I have solved the issue, can you please try using v0.6.6 and see if it is solved now, I have tested it with 10k calls and it did not fail.

Yes, the err no found in v0.6.6


Arachnid doesn't reset size [1.20.1]

Describe the bug
Changing origin with an Orb Of Origin (the item), if the Arachnid was previously selected (current origin), size won't reset, resulting in a smaller size for every origin chosen.
To Reproduce
Steps to reproduce the behavior:

Chose the Arachnid origin
Change Origin via item
Check your size, it's smaller (the same as Arachnid)

Expected behavior
A reset of the base default size.
Screenshots

Versions
originstweaks-1.15.4.jar
Origins-1.20.1-1.10.0.jar
Fabric 0.15.10
Log
latest.log

Thank you for your Bug Report!
Unfortunately, I cannot replicate the issue...
In a fresh profile with exclusively necessary mods installed (FAPI/Origins/Pehkui/OT) it works as intended.
You are also running an outdated version of OriginsTweaks; please try the latest version of OriginsTweaks, if possible.
Unfortunately, I can't maintain older builds of the mod for earlier versions of Minecraft.

Oh, okay. So it's a weird incompatibility, mhhh, I'll try and find the mod which is causing the problem

I'm running the most recent version on Modrinth. Where can I find the latest version?

I'm running the most recent version on Modrinth. Where can I find the latest version?
Edit: I understood now what you mean ahaha, you are developing for more recent versions than 1.20.1... but I'm kinda confused, isn't 1.20.1 the most recent version for modding? 1.21 isn't out yet, and some standard versions are always required for modding, like 1.19.2, 1.18.2, 1.16.5, 1.12.2, exc.... Do people play 1.20.2? I thought everyone was developing for 1.20.1

The latest Version of Origins that has features I use is for 1.20.2.


Example 01 crashes on my Mac

I just clone bgfx on my Mac (OSX Yosemite and the newest dev tools) and example 01 crashes at line 96 bgfx::ProgramHandle program = loadProgram("vs_cubes", "fs_cubes");
Complete stack trace:
#0  0x0000000100023435 in bx::debugBreak() at /Users/nils/Develop/bgfx/.build/projects/xcode4-osx/../../../../bx/include/bx/debug.h:49
#1  0x0000000100022db6 in bgfx::CallbackStub::fatal(bgfx::Fatal::Enum, char const*) at /Users/nils/Develop/bgfx/src/bgfx.cpp:101
#2  0x00000001000073ab in bgfx::fatal(bgfx::Fatal::Enum, char const*, ...) at /Users/nils/Develop/bgfx/src/bgfx.cpp:282
#3  0x0000000100007cfe in bgfx::createShader(bgfx::Memory const*) at /Users/nils/Develop/bgfx/src/bgfx.cpp:2300
#4  0x000000010006152e in loadShader(bx::FileReaderI*, char const*) at /Users/nils/Develop/bgfx/examples/common/bgfx_utils.cpp:94
#5  0x0000000100061591 in loadProgram(bx::FileReaderI*, char const*, char const*) at /Users/nils/Develop/bgfx/examples/common/bgfx_utils.cpp:104
#6  0x0000000100061605 in loadProgram(char const*, char const*) at /Users/nils/Develop/bgfx/examples/common/bgfx_utils.cpp:112
#7  0x0000000100001cb4 in _main_ at /Users/nils/Develop/bgfx/examples/01-cubes/cubes.cpp:96
#8  0x0000000100067369 in entry::main(int, char**) at /Users/nils/Develop/bgfx/examples/common/entry/entry.cpp:200
#9  0x00000001000052b8 in entry::MainThreadEntry::threadFunc(void*) at /Users/nils/Develop/bgfx/examples/common/entry/entry_osx.mm:73
#10 0x0000000100006893 in bx::Thread::entry() at /Users/nils/Develop/bgfx/.build/projects/xcode4-osx/../../../../bx/include/bx/thread.h:146
#11 0x000000010002567d in bx::Thread::threadFunc(void*) at /Users/nils/Develop/bgfx/.build/projects/xcode4-osx/../../../../bx/include/bx/thread.h:165

After looking at it I figured out that it just cannot load the shader with the relative path provided. How can I changed the directory from which the debug version is executed? I could not find that anywhere in the Xcode project settings.

Yeah it's documented here: https://github.com/bkaradzic/bgfx#building-1


Entity autoinjection into Control

It might be that there is more than 1 field with type Entity, what do we do in that case?

Go with convention over config. If we have a WallControl we search for an entity named wall. If such entity not found, we do not do anything, else we inject it.


⚠ ClamAV has degraded performance

In fb31cf9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 211 ms

Resolved: ClamAV performance has improved in 22f7195.


Provide a guide for contributors

Github recommends setting guidelines for repository contributors. This enables prospective contributors to avoid rework in order to fit the project's requirements and allows people to join in more readily and with less frustration.
I recommend we use the Atom contributors' guide as a template - it's a great example of presenting the most relevant information concisely for this type of guide.

I think this is a great idea.  I will have a good read of the Atom guide tonight and propose a guide for this repo.  If anyone wants to beat me to it, go ahead and submit yours in a pull request.


refactor [shippable] service

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS against 73ab95e0e82c79ecd6dd956b9bbf25250b0ac35a

I've switched the validation to the schema instead of throwing an exception :+1:


Handling of  content is not uniform

The following:

width: 100%; /* comment */

is rendered by marked as:
width: 100%; /* comment */

However, if the pre tag is inside another block element:

width: 100%; /* comment */

the output is:

width: 100%; / comment /

So it seems that
 tags are not ignored when inside another block element.
Definitely an extreme edge case when writing markdown, but also an inconsistency.

#983


Ncell removed the support for the old Ncell app (<IP_ADDRESS>)

Ncell removed the support for the old Ncell app (<IP_ADDRESS>) and hence the wrapper is not working anymore.
Update coming soon.

cool i would love to see update

I already pushed the code in the development branch.
Maybe I will see the website after releasing v2.

v2.0.0 is released 🥳🎉


Onchain gst

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

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

Pull request type

Please check the type of change your PR introduces:

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

What is the current behavior?

Closes #99
Depends #107
What is the new behavior?
Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

@vivianjeng need #110 to tie everything together

It also needs #112
But the test scripts are not fixed yet


can not parse properly with full chars enabled.

 If you need all latest symbols - init light version with your own data, and it will work.

https://github.com/markdown-it/markdown-it-emoji/blob/master/support/update.js need to run updater, seems github added some names. But if you need guarantee of freshness, i'd recommend to keep mapping on your side.

updated.
thanks.


Add Support for linux and Macos

This plugin is very awesome, Is there a plan for adding support for linux and Macos ?

Hi,
What specifically? GNU/Linux or macOS don't even have a taskbar.
The features offered by this plugin are part of Microsoft Windows only e.g. taskbar progress state, thumbnail toolbar buttons or icon badge etc.
Even if macOS or GNU/Linux offer some similar equivalent system API for one or two features present in this plugin, most features will be just missing. Another problem of implementing features specific to those OSes will also be raised.
The plugin's name even has the word "windows" in it.
Best is to create another package(s) which deals with the specifics of that operating system(s). The features offered here are specific to Microsoft Windows's
Thanks!


Assert if operations on keep_alive_queue and active_queue are not thread-safe

The vc->add_to_keep_alive_queue() is called by:

Http1ClientSession::release()
Http2ClientSession::cleanup_streams()
Http2ClientSession::release_stream()

And the NetHandler::remove_from_active_queue() is called by
vc->add_to_keep_alive_queue().
The NetHandler::keep_alive_queue and NetHandler::active_queue are
internal queue of NetHandler. We must have acquired the NetHandler's
lock before doing anything with them.
When reenable a HttpSM from plugin, the HttpSM would be run into ethread
that different from client_vc lives because TSHttpSMCallback is
scheduled by eventProcessor.schedule_imm().
(cherry picked from commit c929ed6fdee34a67529b55f9fe1c47d449ee854f)

hmmm this is causing issues on the 7.1.x branch, and unclear what it fixes honestly. I'm thinking we should revert this for now. @ezelkow1


'eraseafter' option does not work

When deploying two volumes, one with eraseafter=true and another with eraseafter=false,
i.e. the deployment example as in #219, I notice that eraseafter option has stopped working
after some recent changes (root cause similar to what caused #207 ?).
Relevant creation parameters in node log, vol1:
id:"2677668d-55d8-11e9-a584-928299ac4b17","eraseafter":"true","fsType":"ext4"}

Relevant creation parameters, vol2:
id:"26779682-55d8-11e9-a584-928299ac4b17","eraseafter":"false","fsType":"xfs"}

On deletion of volumes via kubectl delete -f deploy/kubernetes-1.13/pmem-pvc.yaml,
there is "Wipe entire device" operation performed for both volumes, but "wipe all" should not happen for vol2.
Relevant deletion msgs in node log, vol1:
DeleteVolume: volumeID: 2677668d-55d8-11e9-a584-928299ac4b17
ClearDevice: path: /dev/ndbus0region0fsdax/2677668d-55d8-11e9-a584-928299ac4b17 flush:true
Wiping entire device: /dev/ndbus0region0fsdax/2677668d-55d8-11e9-a584-928299ac4b17
Executing: shred -n 1 /dev/ndbus0region0fsdax/2677668d-55d8-11e9-a584-928299ac4b17

Relevant deletion msgs in node log, vol2:
DeleteVolume: volumeID: 26779682-55d8-11e9-a584-928299ac4b17
ClearDevice: path: /dev/ndbus0region0fsdax/26779682-55d8-11e9-a584-928299ac4b17 flush:true
Wiping entire device: /dev/ndbus0region0fsdax/26779682-55d8-11e9-a584-928299ac4b17
Executing: shred -n 1 /dev/ndbus0region0fsdax/26779682-55d8-11e9-a584-928299ac4b17

One can raise a question do we need eraseafter option at all, or should we remove it, freeing us from all relevant troubles (handling the extra parameter, passing it around in volume metadata, testing, documenting, finding and fixing all regressions etc).
If the only motivation is performance, and pmem media operations are relatively fast, perhaps we could get rid of eraseafter?
To get some numbers to support guesswork, I tested a shred of a 512 GB pmem device (interleaved from 4x128GB). shred -n 1 what we use in code took 6min42s.
Is it long enough to keep eraseafter option for cases where data security is of less importance than quick deletion of device?


starting to review

I finally started looking through things (plane rides are the best!). You don't need to address these at the moment, but figured it's good to start this part as well.
random notes
Good job laying out what is coming up every time.
Good transitions between ideas.
Monte Carlo is always capitalized.
Section is capitalized if it's referring to a specific section.
Some of the citations don't seem to work correctly (just a heads up).
A lot of good explanations of the parts I've read so far and overall readability is pretty smooth. Yay :)
I'm going to reiterate my request:

please make a very detailed outline that we can go over together.
please do this before you write anything else.
Include the material you already wrote in this outline, where each paragraph
is its own bullet point.
That will help connect all of the dots and clarify logical flow.
lots of good stuff in there now, but this will help us make sure we know the full plan.

A thing to note and think carefully about: we probably want to use the words
"speed up" about improving calculations. Both acceleration and optimization
have specific mathematical meaning; VR methods typically don't do either. I
bring this up bc it's something I did not used to be careful about and I got
dinged about it by reviewers. If we are careful with wording now then we won't
have to worry about anyone being nit-picky later (computational science; all
about precision...)

good work, and thanks for addressing these!


Missing dist directory

I'm sorry I cannot provide a jsbin example because I am unaware of how to reproduce webpack issues. Basically, your dist directory is not available as an npm package and trying to include this library via require('angular-formly-templates-bootstrap') fails for me.
Here's the comment I posted at the commit:
https://github.com/formly-js/angular-formly-templates-bootstrap/commit/3e83fe57e9553ea04d449b5a2e2d9a6f1835692e#commitcomment-13453757
I would normally send a pull request with this because it's very clearly resolvable with an .npmignore file but I do not know what kinds of practices you believe in. I'm going to pin my package to 6.1.0.
Cheers.
Update: Just for good measure, I added this pull request. https://github.com/formly-js/angular-formly-templates-bootstrap/pull/57
Thanks for reading.

Did it get fixed?

@kentcdodds not sure. i am out atm but it should. i'll give you an update soon.

Hello @kentcdodds, dist is missing again in 6.3.1. It was available back in 6.2.0. Is this expected?

This should be fixed in the latest version. Sorry about that.


Commissioning doesnot work with chip-tool built on my mac

Problem
Commissioning and cluster control does not work on my mac
chip-tool gives timeout during commissioning

[1649926750459] [50648:3211908] CHIP: [TOO] Run command failure: ../../third_party/connectedhomeip/src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:174: CHIP Error 0x00000032: Timeout

system configuration

Using macOS BigSur version 11.6
DUT: esp32 app: all-clusters-app
chip - HEAD: 21024aaa22ec8c1b0909131337bb3a6c2a57c6b2

logs

esp32 logs: esp32 .txt
DUT logs: chip-tool.txt

Proposed Solution

I think this is an issue specific to the macOS platform
Commissioning with Linux chip-tool works fine

It appears that the ESP32 was not found over mDNS after 10 seconds
[1649926819312] [50678:3214275] CHIP: [CSM] FindOrEstablishSession: PeerId = 577E28D4891C4D0A:0000000000000001
[1649926819312] [50678:3214275] CHIP: [CSM] FindOrEstablishSession: No existing session found
[1649926819312] [50678:3214275] CHIP: [DIS] Resolving 577E28D4891C4D0A:0000000000000001 ...
[1649926819514] [50678:3214276] CHIP: [DIS] Checking node lookup status after 202 ms
[1649926829315] [50678:3214268] CHIP: [CTL] Shutting down the commissioner
[1649926829315] [50678:3214268] CHIP: [CTL] Shutting down the controller
[1649926829315] [50678:3214268] CHIP: [CTL] Shutting down the commissioner
[1649926829315] [50678:3214268] CHIP: [CTL] Shutting down the controller
[1649926829315] [50678:3214268] CHIP: [DIS] Cancelling incomplete address resolution as device is being deleted.
[1649926829315] [50678:3214268] CHIP: [DIS] Discovery does not require any more timeouts

The ESP32 received a ConnectNetwork command, and took a couple seconds to connect to Wi-Fi and start advertising operationally:
I (54862) chip[DMG]: AccessControl: implicit admin (PASE)
I (54872) chip[IN]: Prepared secure message 0x3ffe2b44 to 0xFFFFFFFB00000000 (1)  of type 0x9 and protocolId (0, 1) on exchange 58115r with MessageCounter:6040811.
I (54882) chip[IN]: Sending encrypted msg 0x3ffe2b44 with MessageCounter:6040811 to 0xFFFFFFFB00000000 (1) at monotonic time:<PHONE_NUMBER>00D338 msec
I (54902) NimBLE: GATT procedure initiated: notify;
I (54902) NimBLE: att_handle=14

I (54912) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 0
I (54932) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 0 12
I (54942) chip[EM]: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:1820146 on exchange 58116r
I (54952) chip[DMG]: AccessControl: checking f=1 a=p s=0xFFFFFFFB00000000 t= c=0x0000_0031 e=0 p=a
I (54952) chip[DMG]: AccessControl: implicit admin (PASE)
I (54972) chip[NP]: ESP NetworkCommissioningDelegate: SSID: ES_Staff
I (54972) chip[DL]: WiFi station mode change: Enabled -> Disabled
I (55002) chip[DL]: Changing ESP WiFi mode: STA -> STA+AP
I (55002) wifi:mode : sta (c4:dd:57:5b:f7:f0) + softAP (50:43:03:ce:12:87)

.... some more status ....

I (56922) chip[DL]: WIFI_EVENT_STA_CONNECTED
I (56922) chip[DL]: WiFi station state change: Connecting -> Connecting_Succeeded
I (56922) chip[DL]: WiFi station state change: Connecting_Succeeded -> Connected
I (56932) chip[DL]: WiFi station interface connected
I (56942) chip[DIS]: Advertise operational node 577E28D4891C4D0A-0000000000000001
I (56952) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'.
I (56952) chip[DIS]: mDNS service published: _matter._tcp
E (56962) chip[SVR]: Operational advertising enabled
I (56972) app-devicecallbacks: Current free heap: 89736

I (56982) chip[IN]: Prepared secure message 0x3ffe2d44 to 0xFFFFFFFB00000000 (1)  of type 0x9 and protocolId (0, 1) on exchange 58116r with MessageCounter:6040812.
I (57002) chip[IN]: Sending encrypted msg 0x3ffe2d44 with MessageCounter:6040812 to 0xFFFFFFFB00000000 (1) at monotonic time:<PHONE_NUMBER>00DB78 msec
I (56992) wifi:AP's beacon interval = 102400 us, DTIM period = 2
I (57012) NimBLE: GATT procedure initiated: notify;
I (57012) NimBLE: att_handle=14

I (57022) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 0
I (57032) chip[DL]: Done driving station state, nothing else to do...
I (57032) app-devicecallbacks: Current free heap: 88172

E (57042) chip[DL]: Long dispatch time: 126 ms, for event type 49152
I (57052) chip[DL]: Updating advertising data
I (57062) app-devicecallbacks: Current free heap: 89692

I (57522) esp_netif_handlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (57522) chip[DL]: IP_EVENT_STA_GOT_IP
I (57522) chip[DL]: IPv4 address changed on WiFi station interface: <IP_ADDRESS>/<IP_ADDRESS> gateway <IP_ADDRESS>
I (57532) chip[DL]: IPv4 Internet connectivity ESTABLISHED
I (57552) app-devicecallbacks: Current free heap: 89708

I (57552) app-devicecallbacks: Server ready at: <IP_ADDRESS>:5540
I (57562) chip[DIS]: Updating services using commissioning mode 0
I (57562) chip[DIS]: CHIP minimal mDNS started advertising.
I (57572) chip[DIS]: Advertise operational node 577E28D4891C4D0A-0000000000000001
I (57572) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'.
I (57592) chip[DIS]: mDNS service published: _matter._tcp
I (57592) app-devicecallbacks: Current free heap: 88232

I (57592) chip[DIS]: Updating services using commissioning mode 0
I (57612) chip[DIS]: CHIP minimal mDNS started advertising.
I (57612) chip[DIS]: Advertise operational node 577E28D4891C4D0A-0000000000000001
I (57622) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'.
I (57632) chip[DIS]: mDNS service published: _matter._tcp
I (57632) app-devicecallbacks: Current free heap: 89052

I (58022) chip[DL]: IP_EVENT_GOT_IP6
I (58022) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: fe80:0000:0000:0000:c6dd:57ff:fe5b:f7f0
I (58032) app-devicecallbacks: Current free heap: 89280

I (58042) chip[DIS]: Updating services using commissioning mode 0
W (58032) wifi:<ba-add>idx:0 (ifx:0, 6a:50:c9:e5:9f:61), tid:0, ssn:2, winSize:64

##### Here is when we have an IPv6 address to advertise
I (58042) chip[DIS]: CHIP minimal mDNS started advertising.
I (58062) chip[DIS]: Advertise operational node 577E28D4891C4D0A-0000000000000001
I (58072) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'.
I (58082) chip[DIS]: mDNS service published: _matter._tcp
I (58082) app-devicecallbacks: Current free heap: 89080

I (59562) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 0 12
I (60022) chip[DL]: IP_EVENT_GOT_IP6
I (60022) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: 2409:4042:4e99:6dcc:c6dd:57ff:fe5b:f7f0
I (60032) chip[DL]: IPv6 Internet connectivity ESTABLISHED
I (60032) app-devicecallbacks: Current free heap: 89148

I (60032) app-devicecallbacks: IPv6 Server ready...
I (60052) chip[DIS]: Updating services using commissioning mode 0
I (60052) chip[DIS]: CHIP minimal mDNS started advertising.
I (60072) chip[DIS]: Advertise operational node 577E28D4891C4D0A-0000000000000001
I (60082) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'.
I (60092) chip[DIS]: mDNS service published: _matter._tcp
I (60092) app-devicecallbacks: Current free heap: 87348

I (60092) chip[DIS]: Updating services using commissioning mode 0
I (60112) chip[DIS]: CHIP minimal mDNS started advertising.
I (60122) chip[DIS]: Advertise operational node 577E28D4891C4D0A-0000000000000001
I (60132) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'.
I (60152) chip[DIS]: mDNS service published: _matter._tcp
I (60152) ROUTE_HOOK: Hook already installed on netif, skip...
I (60152) app-devicecallbacks: Current free heap: 86348

Overall, it took approx 6 seconds before all IP addresses were obtained. It seems that the mac chip-tool did not see the mDNS advertisements.
This appears to be an issue that can only be diagnosed with logs from what the MacOS-side DNS-SD querier was seeing.

@PSONALl log stream --line-buffered --system --level=info --filter 'process:"mDNSResponder"' should help get the DNS-SD logs on the Mac.  might need the mDNSResponder debugging profile at https://developer.apple.com/bug-reporting/profiles-and-logs/?name=dns installed (takes effect immediately on install, no reboot needed) to show all the data we care about.

We found this same issue earlier on linux where the M5 was taking too long to respond. We fixed this by adding retries in the avahi and minimal logic. It would appear that the M5 has now crossed the mac timeout threshold as well and may require retries there.
avahi retry PR: https://github.com/project-chip/connectedhomeip/pull/12923

ok thanks @bzbarsky-apple
here are the logs of mDNSResponder : dns adv.txt

from logs I think MDNS querier can see _matter._tcp.local service,
so what can be the issue here? @bzbarsky-apple @tcarmelveilleux ?

Are the time stamps in that "dns adv" log correlated with the device logs?  Doesn't seem to me like they are.  It would be useful to have a coherent set of logs from a single comissioning failure attempt.
Looking at the chip-tool log this is the relevant bit, as far as I can tell:
[1649926735448] [50648:3211934] CHIP: [CTL] Performing next commissioning step 'FindOperational' with completion status = '../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1764: Success'
[1649926735448] [50648:3211934] CHIP: [CSM] FindOrEstablishSession: PeerId = 577E28D4891C4D0A:0000000000000001
[1649926735448] [50648:3211934] CHIP: [CSM] FindOrEstablishSession: No existing session found
[1649926735448] [50648:3211934] CHIP: [DIS] Resolving 577E28D4891C4D0A:0000000000000001 ...
[1649926735452] [50648:3211934] CHIP: [DIS] Operational node lookup already in progress. Will NOT start a new one.
[1649926735452] [50648:3211934] CHIP: [DMG] ICR moving to [AwaitingDe]
[1649926735649] [50648:3211936] CHIP: [DIS] Checking node lookup status after 200 ms
[1649926750449] [50648:3211936] CHIP: [DIS] Checking node lookup status after 15000 ms
[1649926750449] [50648:3211936] CHIP: [DIS] Operational discovery failed for 0x0000000000000001: ../../third_party/connectedhomeip/src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:174: CHIP Error 0x00000032: Timeout

So interesting questions:

Why "Operational node lookup already in progress."?  Where did that come from?  Are there multiple calls to OperationalDeviceProxy::LookupPeerAddress here?  With what callstacks?
Why are we not seeing any IP addresses after 15 seconds in the resolution code?  This is where a time-correlated log against what mDNSResponder thinks is going on would be helpful.

@PSONALl

Attaching logs again, strange but this time I am getting some different error logs, I have changed nothing using same HEAD:
dns-responder.txt
chip-tool.txt
esp32.txt

OK.  So now the log shows that commissioning works fine.  The node is commissioned, discovered on the operational network at <IP_ADDRESS>%en0:5540 (because the esp32 brings up this IP almost a second before it brings up IPV6 connectivity), a CASE session is established and we send CommissioningComplete, the pairing ble-wifi command completes correctly.
Now chip-tool tries to send the "on" command.   It resolves the esp32 fine:
[1650449951518] [22708:249318] CHIP: [DIS] Node ID resolved for EEDBFC2E8E4B538F:0000000000000001
[1650449951518] [22708:249318] CHIP: [DIS]     Addr 0: [fe80::c6dd:57ff:fe5b:f7f0]:5540
[1650449951518] [22708:249318] CHIP: [DIS]     Addr 1: [2405:204:949f:2190:c6dd:57ff:fe5b:f7f0]:5540
[1650449951518] [22708:249318] CHIP: [DIS]     Addr 2: [<IP_ADDRESS>]:5540
[1650449951519] [22708:249318] CHIP: [DIS] UDP:[fe80::c6dd:57ff:fe5b:f7f0%en0]:5540: new best score: 3
[1650449951519] [22708:249318] CHIP: [DIS] Lookup clearing interface for non LL address
[1650449951519] [22708:249318] CHIP: [DIS] UDP:[2405:204:949f:2190:c6dd:57ff:fe5b:f7f0%en0]:5540: new best score: 5
[1650449951519] [22708:249318] CHIP: [DIS] UDP:<IP_ADDRESS>%en0:5540: score has not improved: 2
[1650449951519] [22708:249318] CHIP: [DIS] Checking node lookup status after 207 ms
[1650449951519] [22708:249318] CHIP: [CTL] Updating device address to UDP:[2405:204:949f:2190:c6dd:57ff:fe5b:f7f0]:5540 while in state 1
[1650449951519] [22708:249318] CHIP: [CTL] OperationalDeviceProxy[EEDBFC2E8E4B538F:0000000000000001]: State change 1 --> 2
[1650449951520] [22708:249318] CHIP: [SC] Establishing CASE session to UDP:[2405:204:949f:2190:c6dd:57ff:fe5b:f7f0]:5540

but fails to send Sigma1 to it at that IP:
[1650449951523] [22708:249318] CHIP: [-] ../../third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:417: OS Error 0x02000041: No route to host at ../../commands/clusters/ModelCommand.cpp:53

The log from the ESP32 does show it using those IPs:
I (14517) chip[DL]: IPv4 address changed on WiFi station interface: <IP_ADDRESS>/<IP_ADDRESS> gateway <IP_ADDRESS>
...
I (16467) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: fe80:0000:0000:0000:c6dd:57ff:fe5b:f7f0
...
I (16497) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: 2405:0204:949f:2190:c6dd:57ff:fe5b:f7f0

@PSONALI a good first thing to check is whether you can ping6 2405:204:949f:2190:c6dd:57ff:fe5b:f7f0%en0 (or whatever IP the esp32 is claiming if you have rebooted it since those logs were captured) from your mac.


Revert "[HPC][RCP][Cosmoflow] Update cosmoflow RCPs for bs=512"

Reverts mlcommons/logging#187

@sparticlesteve nevermind, we are not deleting anything, the #187 update was fine but we merged it to the wrong branch by mistake initially, our current process is to merge all new commits to master first then cherry-pick to the release branch, this PR was just meant to fix the process in case we have issues syncing the release branch.

I see, thank you.

closing inactive PRs, please open a new PR if needed. thanks


Failed to import dar package

Hi.
We are using the maven plugin to create dar packages and to import them into XL Deploy 4.5.3. This plugin creates a dar package with all our war files in a flat-structured way.
I tried this plugin and it looks very promising, but I'm getting an error when the plugin tries to import the dar package:
com.xebialabs.deployit.exception.RuntimeIOException: The file artifacts\webshop-animal\build\libs/webshop-animal.war could not be found in the package.

All the war files are like you can see, wrapped into artifacts<module_name>\build\libs/<module_name>.war. The path is correct and the war file exists in the dar package. I guess it could be the forward slash at the end? Any ideas?
PS, We use a multi-project gradle setup, and the manifest file looks like this (truncated):
<?xml version="1.0" encoding="UTF-8"?>
<udm.DeploymentPackage version="${project.property('xldeploy-version')}" application="webshop-deployit-bundle">
    <deployables>
        <was.War name="webshop-animal" file="${artifact(project.findProject('webshop-animal').war)}">
            <excludeFileNamesRegex>.+\\.(jar)</excludeFileNamesRegex>
            <scanPlaceholders>true</scanPlaceholders>
            <contextRoot>/webshop-animal</contextRoot>
            <virtualHostName>intranet_host</virtualHostName>
            <classloaderMode>PARENT_LAST</classloaderMode>
            <warClassloaderMode>PARENT_LAST</warClassloaderMode>
        </was.War>
    </deployables>
</udm.DeploymentPackage>

@fowlie sorry for a late answer. I think you are right, it could be a problem with forward slashes. Could you please try updating the generated manifest.xml file by replacing \ with / and then import into XL Deploy manually? And let me know if it fixes the problem?
Thanks in advance.

Thanks for the tip. I'll have to get back to you about this when I get more time to work on this issue, maybe beginning of next month.

I just tried your idea and it worked. Do you have any ideas on how to fix it?

@fowlie I fixed the bug with Windows paths and released a new version: 0.2.2. Please let me know if this does not fix your issue!

Thanks, but I can't find the new 0.2.2 version in the public repo. Is it just me, or is it possible that the publication is not done yet?

Which public repo do you mean? The plugin is published to the plugins.gradle.com: https://plugins.gradle.org/plugin/com.xebialabs.xl-deploy/0.2.2 , so it's downloaded from there once you add the plugin to your project.
You still need to configure additional repositories, as some dependencies come from there, like this:
buildscript {
  repositories {
    maven {
      url "http://www.knopflerfish.org/maven2/"
    }
    maven {
      url "https://dist.xebialabs.com/public/maven2/"
    }
  }
}
plugins {
  id "com.xebialabs.xl-deploy" version "0.2.2"
}

We're using apply pluginand not plugins, so it was not clear for me that I needed to add https://plugins.gradle.org/m2/ as a repository. Probably should be added to the documentation.

Ah, right! Thanks for reporting. Gradle changed the way you can publish a plugin a couple of months ago :)

I can't get this to work, I'm forced to use the company Nexus server since the build server doesn't have direct internett access (yeah we should probably do something about this, but...). And it seems that https://plugins.gradle.org/m2/ is not possible to add as a proxy repo in Nexus for some reason. Could you please also publish version 0.2.2 to JCenter etc?

Ok, it's published: https://bintray.com/xebialabs/maven/xl-deploy-gradle-plugin/0.2.2/view . Hope this helps!

Thanks a lot! :smiley:

Hi byaminov,
i am unable to deploy my .dar file in to XLdeploy and i am getting below error.
com.xebialabs.deployit.ci.server.PluginFirstClassloaderInvocationHandler.doInvoke(PluginFirstClassloaderInvocationHandler.java:70)
at com.xebialabs.deployit.ci.server.PluginFirstClassloaderInvocationHandler.invoke(PluginFirstClassloaderInvocationHandler.java:56)
... 12 more
ERROR: Error when importing dar file workspace\sample\deployitpackage\sample-1.0.dar : java.lang.RuntimeException: Failed : HTTP error code : 500
Build step 'Deploy with XL Deploy' marked build as failure
Finished: FAILURE
please help out me with this error.


Error NG8001: 'formio' is not a known element

I have used formio.js successfully for a while and now I am checking out angular-formio but I am receiving Error NG8001: formio is not a known element. I have followed the angular demo and compared it with my project but unable to find any difference in my project.
Can someone please help, I have spent a couple of days trying to figure this out but to no avail?
Please see below the steps that I used:

I Installed the angular-formio using the following command

npm install --save angular-formio

Next, I added the following imports in my app.module.ts

import { Formio, FormioModule, FormioAppConfig } from 'angular-formio';
import { FormioGrid } from 'angular-formio/grid';

Added the following in @Ngmodule imports

FormioModule,
FormioGrid,

Added the following entry in providers

FormioResources

In my component file test.component.ts, I have the following

@Component({
    templateUrl: './test.component.html',
    animations: [appModuleAnimation()]

})

export class TestComponent extends AppComponentBase implements OnInit {

    constructor(
        injector: Injector,
        private _testService: TestServiceProxy
    ) {
        super(injector);
    }
ngOnInit(): void {
 }
}

In test.component.html, I have the following:

<formio [form]="{components: [
            {
              type: 'textfield',
              label: 'FirstName',
              key: 'firstName',
              input: true
            },
            {
              type: 'textfield',
              label: 'LastName',
              key: 'lastName',
              input: true
            },
            {
              type: 'email',
              label: 'Email',
              key: 'email',
              input: true
            },
            {
              type: 'button',
              action: 'submit',
              label: 'Submit',
              theme: 'primary'
            }
          ]}" [submission]="{
            data: {
              firstName: 'Joe',
              lastName: 'Smith',
              email<EMAIL_ADDRESS>            }
          }"></formio>

I receive the following error
ERROR in src/app/admin/mycomponent/test.component.html:103:21 - error NG8001: 'formio' is not a known element:
1. If 'formio' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

103                     <formio [form]="{components: [
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104             {
    ~~~~~~~~~~~~~
...
133             }
    ~~~~~~~~~~~~~
134           }"></formio>
    ~~~~~~~~~~~~~~~~~~~~~~

My package.json is given below.
{
  "name": "abp-zero-template",
  "version": "10.0.0",
  "license": "MIT",
  "angular-cli": {},
  "scripts": {
    "ng": "ng",
    "publish": "gulp build && ng build --prod",
    "start": "gulp buildDev && ng serve --host <IP_ADDRESS> --port 4200",
    "hmr": "gulp buildDev && ng serve --host <IP_ADDRESS> --port 4200 --hmr",
    "test": "gulp buildDev && ng test",
    "pree2e": "webdriver-manager update --standalone false --gecko false",
    "e2e": "gulp buildDev && protractor",
    "create-dynamic-bundles": "gulp buildDev",
    "nswag": "cd nswag/ && refresh.bat"
  },
  "private": false,
  "dependencies": {
    "@angular/animations": "^10.0.2",
    "@angular/cdk": "^10.0.1",
    "@angular/common": "^10.0.2",
    "@angular/compiler": "^10.0.2",
    "@angular/core": "^10.0.2",
    "@angular/elements": "^11.0.3",
    "@angular/forms": "^10.0.2",
    "@angular/platform-browser": "^10.0.2",
    "@angular/platform-browser-dynamic": "^10.0.2",
    "@angular/platform-server": "^10.0.2",
    "@angular/router": "^10.0.2",
    "@fullcalendar/core": "^5.1.0",
    "@microsoft/signalr": "^3.1.3",
    "@swimlane/ngx-charts": "^16.0.0",
    "abp-ng2-module": "^6.2.0",
    "abp-web-resources": "^5.3.0",
    "adal-angular": "^1.0.17",
    "angular-formio": "^4.11.1",
    "angular-gridster2": "^10.0.1",
    "angular-oauth2-oidc": "^10.0.2",
    "angular2-counto": "^1.2.5",
    "angular2-text-mask": "^9.0.0",
    "animate.css": "^4.1.0",
    "chart.js": "^2.9.3",
    "cookieconsent": "^3.1.1",
    "core-js": "^3.6.4",
    "famfamfam-flags": "^1.0.0",
    "js-cookie": "^2.2.1",
    "just-compare": "^1.3.0",
    "localforage": "^1.7.3",
    "lodash-es": "^4.17.15",
    "luxon": "^1.25.0",
    "msal": "^1.2.2",
    "ng2-file-upload": "^1.4.0",
    "ngx-bootstrap": "^5.6.1",
    "ngx-captcha": "^8.0.1",
    "ngx-image-cropper": "^3.1.4",
    "ngx-perfect-scrollbar": "^9.0.0",
    "ngx-spinner": "^9.0.1",
    "object-path": "^0.11.4",
    "primeicons": "^4.0.0",
    "primeng": "^9.1.2",
    "push.js": "^1.0.12",
    "quill": "^1.3.7",
    "rtl-detect": "^1.0.2",
    "rxjs": "^6.5.4",
    "simple-line-icons": "^2.4.1",
    "sweetalert2": "^9.10.7",
    "text-mask-addons": "^3.8.0",
    "tslib": "^2.0.0",
    "webdriver-manager": "^12.1.7",
    "zone.js": "~0.10.2"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.1000.0",
    "@angular/cli": "^10.0.0",
    "@angular/compiler-cli": "^10.0.2",
    "@angularclass/hmr": "^2.1.3",
    "@angularclass/hmr-loader": "^3.0.4",
    "@types/jasmine": "~3.5.10",
    "@types/jasminewd2": "^2.0.8",
    "@types/lodash-es": "^4.17.0",
    "@types/node": "^14.0.14",
    "codelyzer": "^6.0.0",
    "globby": "^11.0.1",
    "gulp": "^4.0.1",
    "gulp-clean-css": "^4.3.0",
    "gulp-concat": "^2.6.1",
    "gulp-less": "^4.0.1",
    "gulp-postcss": "^8.0.0",
    "gulp-uglify": "^3.0.2",
    "jasmine-core": "~3.5.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "~5.1.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-cli": "~2.0.0",
    "karma-coverage-istanbul-reporter": "~3.0.2",
    "karma-jasmine": "~3.3.0",
    "karma-jasmine-html-reporter": "^1.5.0",
    "merge-stream": "^2.0.0",
    "nswag": "^13.7.4",
    "postcss-url": "^9.0.0",
    "prettier": "2.1.2",
    "protractor": "~7.0.0",
    "ts-node": "~8.10.2",
    "tslint": "~6.1.0",
    "tslint-config-prettier": "^1.18.0",
    "typescript": "3.9.6"
  }
}

Updating this item again, in case someone can pickup the issue and help resolve?
I deleted node-modules and installed everything again but still the same error appears. I got the below warning regarding incorrect peer dependency, could this be the reason?
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
success Saved 2 new dependencies.
info Direct dependencies
├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>info All dependencies
├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>Done in 29.24s.

Further update,
If I use Formio.CreateForm in test.component.ts and use <form id='formio'> </form> in test.component.html file then it works but I suppose this is using formio.js library instead of Angular.
Can someone please help how to fix angular-formio issue?
    ngOnInit(): void {

        Formio.createForm(document.getElementById('formio'), {
            "title": "My Test Form",
            "components": [
                {
                    "type": "textfield",
                    "input": true,
                    "tableView": true,
                    "inputType": "text",
                    "inputMask": "",
                    "label": "First Name",
                    "key": "firstName",
                    "placeholder": "Enter your first name",
                    "prefix": "",
                    "suffix": "",
                    "multiple": false,
                    "defaultValue": "",
                    "protected": false,
                    "unique": false,
                    "persistent": true,
                    "validate": {
                        "required": true,
                        "minLength": 2,
                        "maxLength": 10,
                        "pattern": "",
                        "custom": "",
                        "customPrivate": false
                    },
                    "conditional": {
                        "show": "",
                        "when": null,
                        "eq": ""
                    }
                },
                {
                    "type": "textfield",
                    "input": true,
                    "tableView": true,
                    "inputType": "text",
                    "inputMask": "",
                    "label": "Last Name",
                    "key": "lastName",
                    "placeholder": "Enter your last name",
                    "prefix": "",
                    "suffix": "",
                    "multiple": false,
                    "defaultValue": "",
                    "protected": false,
                    "unique": false,
                    "persistent": true,
                    "validate": {
                        "required": true,
                        "minLength": 2,
                        "maxLength": 10,
                        "pattern": "",
                        "custom": "",
                        "customPrivate": false
                    },
                    "conditional": {
                        "show": "",
                        "when": null,
                        "eq": ""
                    }
                },
                {
                    "input": true,
                    "label": "Submit",
                    "tableView": false,
                    "key": "submit",
                    "size": "md",
                    "leftIcon": "",
                    "rightIcon": "",
                    "block": false,
                    "action": "submit",
                    "disableOnInvalid": true,
                    "theme": "primary",
                    "type": "button"
                }
            ]
        }, {
            readOnly: false

        }
        );

    }

I have manged to fix this issue. This issue was not related to angular-formio.
I needed to import angular-formio in a different module which was the requirement of the framework I was using.

I have manged to fix this issue. This issue was not related to angular-formio.
I needed to import angular-formio in a different module which was the requirement of the framework I was using.

Hello,
I'm running into this exact issue. Can you please explain how/where you used angular-formio for solving the issue above?

I have manged to fix this issue. This issue was not related to angular-formio.
I needed to import angular-formio in a different module which was the requirement of the framework I was using.

Hello,
I'm running into this exact issue. Can you please explain how/where you used angular-formio for solving the issue above?

I have manged to fix this issue. This issue was not related to angular-formio.
I needed to import angular-formio in a different module which was the requirement of the framework I was using.

Hello, I'm running into this exact issue. Can you please explain how/where you used angular-formio for solving the issue above?

Hello, please were you able to fix this issue?? If yes, Please how??

I have manged to fix this issue. This issue was not related to angular-formio.
I needed to import angular-formio in a different module which was the requirement of the framework I was using.

Please I'm having the exact same issue, How where you able to fix it??


Setup fails: API endpoint /accounts/primary not found

Hey there, this extension doesnt work with latest MoneyMoney for me, when setting it up I get a successful call to api.coinbase.com/v2/user like below (it then shows my correct real name etc) ....
 Web Banking Engine: Using user-supplied extension Coinbase.lua version 1.50.
  Protocol version: Web Scraping
  Server address: https://api.coinbase.com
  Sending: GET https://api.coinbase.com/v2/user

but then fails to get any further date with the call to /v2/accounts/primary. Any ideas what's happening?
API keys are correct and there are balances on the account.
Web Banking account: Coinbase (Main)
Lade Wertpapierbestand für Coinbase ...
Sending: GET https://api.coinbase.com/v2/accounts/primary
The server responded with the error message: Not Found. Retrying...
Sending: GET https://api.coinbase.com/v2/accounts/primary
HTTPS response: Not Found

I looked at the Coinbase website for a while, unfortunately it doesn't really describe why the /accounts call doesn't just return all accounts. Then I saw the trick they do themselves on their website: limit=100.
I posted the bug fix in the src/ directory and will push this new version signed soon.
If you want, you can try it with the beta version of MoneyMoney.

@panique the signed version is updated, feel free to try it out https://github.com/mnin/coinbase-moneymoney/blob/master/dist/Coinbase.lua

@mnin Thank you so much! Works perfectly for me!
Little side-note: The API key needs to have all the coin wallets listed that the user wants to see (I needed some time to find out why i could only see 2 of 3 wallets inside MoneyMoney)

@panique I have now added the screenshots to the README.md which show you how you can or should configure the API Key.


Moving dataset between namespaces breaks dataset viewer

Describe the bug
I moved a dataset from my own namespace to an org and that broke the dataset viewer. To fix it I had to manually edit the dataset_info.json file and change the first key in the json from username--datasetname to orgname--datasetname
Steps to reproduce the bug
What I did was:
1- Upload a dataset to my own namespace using push_to_hub
2- Move the dataset from my namespace to an org using the web interface.
Expected results
For the file to be changed accordingly.
Actual results
Broken dataset viewer.
Environment info

datasets version: 2.3.3.dev0
Platform: Linux-4.15.0-189-generic-x86_64-with-Ubuntu-18.04-bionic
Python version: 3.7.5
PyArrow version: 7.0.0
Pandas version: 1.3.5

Fixed


document @roboneuro build jupyter-book

currently not listed in the list of actions.

Resolving as #9 incorporates this update and is currently deployed !


Fix typos on test_padding.py

Fix a few typos on docstrings and comments of test functions in test_padding.py

Thanks for this PR in addition to #179 @santisoler ! Could you run black on your code to fix the formatting?
Also, should be drop support for Python 3.6...? @rabernat

Could you run black on your code to fix the formatting?

Sure! Black is complaining because the stable version has changed some styles, like simple operands of power that now should be hugged (e.g. e**a instead of e ** a). I'll open a new PR for making the changes on the entire xrft. If we merge it and then update this one, Black shouldn't complain here.

@roxyboy I think this is ready to be merged now that we solved the issue with Black. Do you agree?

@roxyboy I think this is ready to be merged now that we solved the issue with Black. Do you agree?

Yes, we can merge this :)


ON-806 - Update docs on behaviour change for INSECURE constraint

Hi @filipesoliveira, I believe docs changes have to be merged to release/1.3 branch. Could you please change this PR to be merged to release/1.3 instead of master...

Hi @JohnJoser3. These changes are meant to reflect the changes made in https://github.com/R3Conclave/conclave-core-sdk/pull/46. That PR was merged into the master branch. Are you still sure that this PR should be merged into the release/1.3 branch?

@filipesoliveira is right. These are doc changes that have been made to features which have only been merged in master and not released yet. We update release/1.3 directly when we want to update the live docsite.

Hi @JohnJoser3. These changes are meant to reflect the changes made in #46. That PR was merged into the master branch. Are you still sure that this PR should be merged into the release/1.3 branch?

Oh, I am not sure.  Hi @shamsasari, can you help? Should these changes be merged to the master branch or the release/1.3 branch?

@filipesoliveira is right. These are doc changes that have been made to features which have only been merged in master and not released yet. We update release/1.3 directly when we want to update the live docsite.

Thanks @shamsasari

Thanks John.


request.user is always Anomynous

I can post and generate a token and refresh pair,
I can refresh the token,
I can verify the token.
but when I try to read some login-needed-content, it says that the request.user is an Anonymous user.
Here are my codes that has changed for simplejwt in settings.py
REST_FRAMEWORK = {     'DEFAULT_AUTHENTICATION_CLASSES':(         'rest_framework_simplejwt.authentication.JWTAuthentication',     ) }
`SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=5),
'REFRESH_TOKEN_LIFETIME': timedelta(days=15),
'ROTATE_REFRESH_TOKENS': False,
'BLACKLIST_AFTER_ROTATION': True,
'ALGORITHM': 'HS256',
'SIGNING_KEY': SECRET_KEY,
'VERIFYING_KEY': None,
'AUTH_HEADER_TYPES': ('Bearer',),
'USER_ID_FIELD': 'id',
'USER_ID_CLAIM': 'user_id',

'AUTH_TOKEN_CLASSES': ('rest_framework_simplejwt.tokens.AccessToken',),
'TOKEN_TYPE_CLAIM': 'token_type',

'JTI_CLAIM': 'jti',

'SLIDING_TOKEN_REFRESH_EXP_CLAIM': 'refresh_exp',
'SLIDING_TOKEN_LIFETIME': timedelta(minutes=5),
'SLIDING_TOKEN_REFRESH_LIFETIME': timedelta(days=15),

}`

Can you post the relevant url config, view files, and INSTALLED_APPS setting value?  Also, can the possible make your request with curl in verbose mode so I can see the exact request and response data?

I had this issue with a regular Django view.
Try to use @api_view or APIView instead, if you hadn't already (https://www.django-rest-framework.org/tutorial/2-requests-and-responses/#wrapping-api-views)

@ndrbrt Thanks! it works.
@davesque Thank you, too. Now the problem is solved.
I should use @api_view.

SIMPLE_JWT = {     "AUTH_HEADER_TYPES": ("Bearer",), }
In my case I had to change this setting from "Bearer" to "jwt".  It needs to match whatever you have specified in the request.

Hi,
I am trying to create a login using simplejwt, As of now I am receiving both access and refresh token for given credentials but the request.user is still Anonymus User, I was using regular Django views, based on the suggestion by @ndrbrt  I converted it to TemplateHTMLRenderer (because I am rendering a template).
My Observations (Maybe it helps)
validate in TokenObtainSerializer   returns a valid user but the request.user is still Anonymous
Any suggestions on where I could be wrong.
Thank you
Abishek

Hi,
Th

Hi,
I am trying to create a login using simplejwt, As of now I am receiving both access and refresh token for given credentials but the request.user is still Anonymus User, I was using regular Django views, based on the suggestion by @ndrbrt I converted it to TemplateHTMLRenderer (because I am rendering a template and I could not use APIView and @api_view).
Any suggestions on where I could be wrong.
Thank you
Abishek

This seems to be an issue with my application, Which I am resolving
Thank you
Abishek.

There is a pull request for httpCookies that you should wait for. The community seems to like this method if you use simpleJWT for your regular Django authentication.
I personally dislike it since I view django rest framework as something to platform with mobile or outside application APIs.
I’m detailing this because I can’t actually tell what you’re trying to do... Is your login page using desktop browser? If so, then your post request is simply incorrect and you should try validating manually.
This is a verrry broad issue and one I’m not keen in fixing since the httpCookie PR is coming soon. If you want to continue the issue, open a new issue and post your view’s code and your template’s code.

@Andrew-Chen-Wang  Thank you for the comment, My application will be viewed in both Mobile and Desktop, I also need a Rest API for the mobile app which may be required in the future. The mistake I was doing was I was trying to redirect to a different page after successful login While redirecting I won't have the access token in the header (attaching headers while redirecting is impossible), That is why I was getting Anonymous User, So I am re-structuring my front end react code.
Thank you

@abhishekkumaresan No problem. Follow #157 if you plan to use sinpleJWT for authentication. Cookies are persistent. I personally like using session cookies since I don’t have to fiddle around with them like httpCookies require. Good luck.

@Andrew-Chen-Wang Sure Thank you will check #157


[Doc Improvement] Update tab sso article with promise-based TeamsJS v2 pattern

When TeamsJS v2.x became GA, all of the Teams samples and code samples within developer docs were updated with the new promised-based API patterns. Somehow this article, Code configuration for enabling SSO for tabs, got missed, so here is updated code, based off the corresponding code sample (linked at bottom of article):
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/tab-sso/nodejs/src/client/scripts/ssoDemo.js

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/authentication/tab-sso-code.md
84
16
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/authentication/tab-sso-code.md
84
16
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

@surbhigupta12, @Wajeed-msft this is ready for review when someone on your team has a chance. Thanks!


CN support, plus refactorings

See #238

This is probably ready, I'll merge it in a couple of hours after some final checks.

I don't seem to have the old docs link on-hand, so I'll hammer that out within the next several days. Merging, it seems to otherwise work, time to see if people yell at me when this hits prod.

sasuga


The result of automatic language recognition is wrong

Type: Bug
After creating a new file (not saved, thus the file has no extension), enter 25 empty lines, then enter some Chinese in the first and 10th lines, the Chinese sequence is like: "${some Chinese}${Chinese semicolon}${some other Chinese}" (Note that it is not an English semicolon) , VS Code will automatically identify the programming language as 'docker', which is very wrong, because there is no English semicolon and comma in the entire text, which does not conform to the docker syntax at all.
In addition to the Chinese semicolon that lead to identification as Docker language, Chinese comma will often be recognized as INI language. This error occurs so often, that I frequently want to smash the computer. Most of the time, I just write a note, I don't need any grammar correction and highlight at all.
VS Code version: Code 1.76.0 (92da9481c0904c6adfe372c12da3b7748d74bdcb, 2023-03-01T10:22:44.506Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.76GB (9.99GB free)

Process Argv
--crash-reporter-id 72a97d7a-0980-4276-8b2a-fbc1b7aac086

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

vscode-language-pack-zh-hans
MS-
1.76.2023030109

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewvextcfv2:30669238
azure-dev_surveyone:30548225
pyindex848:30662994
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
2i9eh265:30646982
showlangstatbar:30672706
vsccsb:30677849
vscodedisable:30660115
funwalk2:30676043
pythonms35:30680984

This is a challenging one to fix, so I want to say if you really don't like the language detection feature, you can disable it with this setting:
"workbench.editor.languageDetection": false

I'm facing the same issue here. Here is a text sample that falsely detected as ini (Code 1.80.0).
参数
target
要使用 Proxy 包装的目标对象（可以是任何类型的对象，包括原生数组，函数，甚至另一个代理）。

handler
一个通常以函数作为属性的对象，各属性中的函数分别定义了在执行各种操作时代理 p 的行为。

Linking this to the mega thread for follow up https://github.com/microsoft/vscode/issues/172573


fix(OrderedListWalker): Support empty tries

OrderedListWalker::fetch_leaves returns an error when traversing an empty trie, since the root node is of type TrieNode::Empty.

Thanks! It looks like our CI is currently rejecting external contributions due to the PAT_TOKEN - re-opened in #493 and fixed CI in #494 for the future.


Please do a couple merges for dart2js into -dev

@whesse @mit-mit @kasperl
These are all related to deferred loading:

fix an issue reported by an internal customer: the fix was done over 2 commits: f1e34ffd11 and cf43d4603c
add more diagnostic for deferred loading failures: 9c4b1991b438b8479497ec8c0e79728fe9403bc9

These have been cherry-picked for our customers internally, but it would be good to ensure that they are also included in the -dev channel.

Do you actually mean dev, or do you mean these should be shipped in a new stable patch build (i.e., 1.24.3) ?

I have just pushed a new full push to dev, that includes these commits (if they are on master), 1.25.0-dev.11.0.

perfect, -dev was all that we needed, thanks!


Fix broken tests due to removal of get_bind_port() method

Description
Fix tests that broke due to the removal of the config.get_bind_port() method.
Part of inmanta/inmanta-core#8197
Self Check:

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation

Processing this pull request

Merged into branches iso7, master in 00b515143e9eca1694344be992fa4988630f85a6


Svelte Support

Hi @cschroeter , I am sure you anticipate this question (or one in the form of any plans to support 'X') but am asking any way for svelte. Is there any plans to support svelte. On my part i am going to look at the Vue bit and see how i can transition that to svelte

hi why was this closed?

Sorry forgot to add that we need to wait for https://github.com/chakra-ui/ark/tree/main/packages/svelte to be implemented.

hi, thanks for fast response.

Sorry forgot to add that we need to wait for https://github.com/chakra-ui/ark/tree/main/packages/svelte to be implemented.

But should this issue not be kept open till then?
With something like
Blocked by XXX PR?

Sorry this is not Jira.