dwc: terms requiring dwciri: equivalents

While preparing the results of the public review, I am looking at the updates that will be required in the dwciri: namespace. In addition to terms for three of the new dwc: terms (caste, vitality, eventType), I found two categories of other issues.
First is that there seem to be dwc: terms that should have dwciri: equivalents (catalogNumber, identificationReferences, dcterms:license, and organismScope).

catalogNumber has a precedent with fieldNumber
identificationReferences has a precedent with fieldNotes
dcterms:license has a precedent with dcterms:language
organismScope has precedents with every other term recommended to have a controlled vocabulary

The second category of issue is for identifiers for agents in particular roles that now have id fields in the dwc: namespace despite our best efforts to avoid them as already covered by dwciri:. These include dwc:recordedBy/dwc:recordecByID/dwciri:recordedBy and dwc:identifiedBy/dwc:identifiedByID/dwciri:identifiedBy. For these, should we deprecate the dwciri: version as the least disruptive?

I'm not 100% sure what some parts of this issue are saying. In the first paragraph, are you saying that caste, vitality, and eventType will have dwciri: analogs? If so, I think I agree -- it seems like all of them could have controlled vocabulary values, which could be controlled value strings or IRIs.
catalog number
catalogNumber is included in Table 3.4 of the RDF Guide, which has the note: "Based on their term definitions, these terms SHOULD have untyped literal values." The definition is "An identifier (preferably unique) for the record within the data set or collection." I suppose that if the identifier were an IRI, then it might make sense to have a dwciri: analog.
Here is why I think that we originally made the decision for it to not have an IRI analog. In RDF, an IRI identifier for the subject resource isn't given as a value of a property (i.e. in the predicate position of a triple). Rather, it is used in the subject position of the triple to denote the subject resource itself. This is explained in Sections 2.2.1 and 2.2.2 of the RDF guide. That's why the guide recommends dcterms:identifier to be used with string identifiers only -- if the identifier were an IRI, it would just be sitting in the subject position of the triple and we wouldn't need to assign it as the value of some property.
I believe that we considered dwc:catalogNumber to be a sort of DwC-specific version of dcterms:identifier, and therefore when it's discussed in the RDF Guide, it's used in the same way: as a string literal value. Section 2.7.3 assumes that it's a non-globally unique string and therefore it is insufficient by itself to uniquely identify a resource.
I guess what I'm wondering is what the value would be of having a dwciri: analog for dwc:catalogNumber. The presumed advantage of having the IRI analogs is that they would serve as a link to a resource that's described elsewhere. A client could "follow its nose" and learn more about that resource by dereferencing the IRI. However, in this case, the subject of the dwc:catalogNumber property IS the resource being described. We don't need to go elsewhere to get a description of it -- we are describing it ourselves.
I suppose there might be some value from a data cleaning perspective to have a separate term whose values are restricted to IRIs, but I'm not sure that there's a huge benefit.
identificationReferences
It appears from Table 3.3 of the RDF Guide that dcterms:references should be used in the case where an identification reference has an IRI value. (dwc:identificationReferences is in the column for "Term intended for use in RDF with literal objects".)
dcterms:license
dcterms:license is described by Dublin Core as intended to be used with an IRI value, although a literal value is apparently allowed: "Recommended practice is to identify the license document with a URI. If this is not possible or feasible, a literal value that identifies the license may be provided." In Table 3.3 of the RDF Guide, xmpRights:UsageTerms is recommended as the term for literal objects, with the footnoted comment: "DCMI does not provide a literal object analogue of dcterms:license. Audubon Core recommends xmpRights:UsageTerms for literals".
So I think the issue here is not that dcterms:license needs a dwciri: analog, since it's already supposed to be used with an IRI anyway. If we want to make a clean distinction between IRIs for licenses and strings like "CC0", then we probably should encourage people to use xmpRights:UsageTerms. But realistically, if people are already using dcterms:license with strings, then we probably aren't going to be able to get them to change, particularly since DCMI seems to allow that. I'm not sure what the solution is, but I'm pretty sure it doesn't involve creating an IRI analog.
organismScope
Table 3.8 of the RDF Guide says this about dwc:organismScope: "Use rdf:type with a non-literal object. See the comment at http://rs.tdwg.org/dwc/terms/organismScope." That comment is: "Recommended best practice is to use a controlled vocabulary. This term is not intended to be used to specify a type of taxon. To describe the kind of dwc:Organism using a URI object in RDF, use rdf:type (http://www.w3.org/1999/02/22-rdf-syntax-ns#type) instead."
I think this recommendation comes from having the word "kind" in the definition. "Kind" generally implies "type" and I think the general sentiment is that it's better to just use "rdf:type" any time you need to describe the type of something. However, we've diverged from this in several places by using other type terms like dcterms:type, dc:type, dwc:basisOfRecord, ac:subtype, etc. In these cases it was convenient to have a type term that applied in more specific circumstances (e.g. media items). So I suppose we could take that approach here, just change the recommendation, and mint the IRI analog. I think I'd be in favor of that if we actually created a controlled vocabulary for the term.
Overall conclusion
I think in each of these cases, there was a reason why we didn't previously mint a dwciri: analog. We made the decisions about these based on our best understanding at the time, but circumstances change and we could change the recommendations if that seemed best. But I think we'd have to go through the change process to do it, since I think all of those tables in the RDF Guide were marked as normative.
dwciri: vs. ID terms
I think that we need to get more of a handle on serialization patterns/rules before we deal with this. There's a fundamental difference between the ID terms and the dwciri: terms. ID terms can be used as either identifiers for the subject of a record (effectively primary keys) or as links to other records (effectively foreign keys in database terms or object properties in RDF). There is also no prohibition on using strings with them. In contrast the dwciri: terms are never used as identifiers for the subject -- they are always linkouts to another record. They also MUST be IRI values.
Part of the rationale given for creating the dwciri: terms was that they would be populated with values after someone went to the hard work of disambiguation and discovered a globally unique identifier for the linked resource (i.e. an IRI). Once that was done, no one should ever have to do disambiguation again. Any consumer finding dwciri: values should be able to use them with confidence that they know unambiguously what is being referred to without any additional data cleaning or disambiguation.
If we deprecate the dwciri: terms in favor of ID terms where any kind of identifier can be used (including locally but not globally unique identifiers), then consumers would always potentially have to disambiguate the values. I don't really think we want to lose that aspect of the dwciri: terms.
I realize that this may be confusing to some people. But as you note, we added several of these ID terms after the dwciri: terms were already there. Now we are talking about dropping the dcwiri: terms. In effect, we would have undermined the effort to move to linked data by our own efforts if we end up doing that. I'm still not quite ready to give up on that yet. It's also pretty unsafe to suggest deprecating terms that have been in use for quite a while. I've seen at least dwciri:recordedBy being used in several different places in linked data and that seems pretty disruptive.

Dismissing as not to be implemented.


Support ES Modules (in plain JS when embedding in Java)

I looked, but only found http://mail.openjdk.java.net/pipermail/graal-dev/2017-August/005050.html from 2017 and https://github.com/graalvm/graaljs/blob/master/graal-nodejs/doc/api/esm.md which seems related only to the Node impl. and I'm looking to just use plain EcmaScript from within Java
The docs of Graal JS says it's compatible with ES2018, but ESM has been part of ES since version 6

Playing with ESM from Java. I have a js folder in a user.dir with two files index.mjs and module1.mjs:
js/module1.mjs:
export const sqrt = Math.sqrt;
export function square(x) {
    return x * x;
}
export function diag(x, y) {
    return sqrt(square(x) + square(y));
}

js/index.mjs:
import { square, diag } from "module1";
console.log(square(11)); // 121
console.log(diag(4, 3)); // 5

In Java I build a context and then run:
Source index = Source.newBuilder("js", new File("js/index.mjs")).name("index.mjs").build();
context.eval(index);

Unfortunately, it fails with an error (due to FileNotFoundException). However,  it runs just fine if I add the mjs extension in the import declaration:
import { square, diag } from "module1.mjs";

I tried to override behavior with custom FileSystem but it did not work because a module file (TruffleFile) in JSModuleLoader#resolveImportedModule() is created before any call my custom FileSystem and I did not find a way to alter it before it is passed to the source builder. Moreover, in the FileSystem I do not have a context of whether the call was result of a module import or just a plain js was requested. Would be great to have an option to customize JSModuleLoader.

I think it's worth pointing out that the ".mjs" thing is entirely a node convention, and is broadly considered to be a bit of an ugly hack. Afaiu they need it because they have to support es6 modules simultaneously with traditional node modules, and they need to know before parsing the file which kind of module to expect. I question whether it makes much sense to adopt the ".mjs" convention outside of the context of a node app.
Maybe you have a similar problem and you absolutely need to know before parsing whether a file is going to be a module or not. But even if that is the case, wouldn't this be better served by providing a new API point for module loading rather than overloading this one with a weird, ad-hoc filename matcher to determine behaviour?

Maybe you have a similar problem and you absolutely need to know before parsing whether a file is going to be a module or not.

@eliasvasylenko yes, exactly. We need to know whether a Source is a module or a script. In order for a Source to be parsed as a module it needs to either have a file name ending in ".mjs" or the mime type application/javascript+module. So alternatively, you can specify the mime type via the Source.Builder. For import statements, the file name does not matter, as we always know it's a module.

@pete-by We don't have any plans to allow for a custom module loader currently.
Note that you can always load the file yourself and pass it to Source.Builder.content, if you want to specify a File but don't want it to be loaded by Source.Builder.build(). From JS, paths and files should always be resolved and loaded using the polyglot FileSystem (if not, it's a bug).

My JS files are stored in JCR, I have recently resolved my problem with loading modules without requiring them to have '.mjs' extension, but I basically had to implement the Java's FileSystem over the JCR for that and provide it to the builder. I appreciate everyone's comments in the threads, they are really helpful.

I have another question regarding loading of ES modules in JS when embedded in JAVA.
Is there a way to dynamically load ES modules at runtime (rather than using the import statement)?
I understand that for loading JavaScript source code the load(source) function can be used. But if I change the example provided by @pete-by to this:
load(module1.mjs);
console.log(square(11)); // 121
console.log(diag(4, 3)); // 5

It fails due to ReferenceError: square is not defined
Can I somehow use the load() function to load additional modules during runtime?

Request support for custom file system examples
graal-sdk-20.0.0.jar org.graalvm.polyglot.io.FileSystem
Context.newBuilder(...).fileSystem(new CustomFileSystem()) Don't work
The module cannot be initialized assert moduleRecord.getStatus() == Status.Instantiated;
org.graalvm.polyglot.PolyglotException: java.lang.AssertionError

	at com.oracle.truffle.js.parser.GraalJSEvaluator.innerModuleEvaluation(GraalJSEvaluator.java:583)
	at com.oracle.truffle.js.parser.GraalJSEvaluator.innerModuleEvaluation(GraalJSEvaluator.java:595)
	at com.oracle.truffle.js.parser.GraalJSEvaluator.moduleEvaluation(GraalJSEvaluator.java:554)
	at com.oracle.truffle.js.parser.GraalJSEvaluator$2.evalModule(GraalJSEvaluator.java:280)
	at com.oracle.truffle.js.parser.GraalJSEvaluator$2.execute(GraalJSEvaluator.java:273)

We have moved further regarding ECMAScript module support. I am closing this issue, if you have concrete problems on the latest GraalVM 20.0.0, please open a new ticket.

Can we link to a working example of how to import ES modules please? Or documentation?

@sparkyspider yes, we will add a few more examples and expand the documentation on ES modules. Thank you.


Merge connection and driver, custom Gson instances, support for GeoJson, and more

Changes in this pull request:
Add SurrealConnectionSettings
In the public branch, the only way to create a SurrealWebSocketConnection is to call it's constructor. As new (optional) features are introduced to Surrealdb.java, SurrealWebSocketConnection's constructor count will grow. To mitigate this, I've introduced a settings container. It's immutable with a builder instantiation pattern, so it can have sane defaults with the flexibility to customize every aspect of the connection.
Along with this, I've also added a static SurrealConnection create(SurrealConnectionSettings) method to SurrealConnection. This currently returns a new SurrealWebSocketConnection, but in the future it could return something else. I think making a change like this early in this libraries life will be a benefit in the long run.
Allow custom Gson instances
Users of the library might want to give Surreal a Gson instance with their own type adapters to use for (de)serialization. I've added some tests to make sure this doesn't break anything. If I've missed anything, please let me know.
Make models immutable
This is a pretty simple change. Making models immutable allows them to be thread safe which is a benefit for the async driver. I don't see much downside in changing this. If someone really want's to modify their data we can just add a Lombok with annotation.
More documentation
I've documented everything I believe I know about Surreal. I might have made some incorrect assumptions, so let me know if anything seems wrong.
Update jUnit
I had no issues with 5.8.2, but why not stay on the latest version?
Bumped version to 0.2.0
Since there have been a lot of changes (some breaking), I've bumped the version to 0.2.0.
Include Coder966's PRs
I wanted to use the latest version of the library, so I used @Coder966's branch as a base for all these changes. That means I inadvertently included both #3 and #5, oops!

Sorry about making all these changes in a single giant PR. I got a bit caried away.

Many things have changed since I created this PR. Most of what I outlined in my original description has remained the same. I'll quickly go over the changes before introducing the new features:
Add SurrealConnectionSettings
Fundamentally SurrealConnectionSettings has remained the same. It has been renamed to SurrealClientSettings to conform to it's new purpose.
Now on to the new stuff:
Update to Java 17
SurrealDB is a cutting edge database, why shouldn't it's libraries be the same? Java 17 makes SurrealDB.java safer by sealing interfaces, and less verbose by providing significantly better Optional support. There are many more benefits to using the latest version of Java, but I don't want to bore everyone by listing them all.
Merge SurrealConnection with Surreal Driver
I've merged SurrealConnection with SurrealDriver to create SurrealClient. Clients only come in one flavor (instead of sync and async like how the public branch handles it). All async methods have a sync counterpart, and vice versa.
By using some fancy interface inheritance (which is only safe due to Java 17), SurrealClients can either be unidirectional or bidirectional. This means that it would be trivially easy to implement an HTTP based client. This PR does not include any unidirectional implementations since it's already massive. If this PR is accepted, I'll get to work on one!
GeoJson support
All GeoJson types SurrealDB supports are included, along with helpful methods for manipulating them locally.
Wrapping it up
I recognize that that this PR contains many breaking changes. All breaking changes were made in an attempt to streamline interacting with SurrealDB. All future features (fluent querying API, native support for transactions, etc.) will not break the core API. In the month I've spent working on this library, I think I've created a flexible base that can be expanded upon.
Even though I've been careful to test every new features (there are 171 tests as writing this), there are most likely many issues still lurking. I'd be happy to fix any issues that are found while reviewing this PR.
Thank you.

Hi @DamianKocher , this is fantastic thank you very much for this!
I will admit, while I agree with the individual changes, they should absolutely be split up to be handled/merged/reviewed on an individual basis.
Please could you open new PRs to have these changes separated? Thanks again for going through the trouble for this - it's really good of you.

Closing as this is no longer being worked on


Add a Gitter chat badge to README.md

Buzz2000/Paleta now has a Chat Room on Gitter
@miryamamsa has just created a chat room. You can visit it here: https://gitter.im/Buzz2000/Paleta.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

pull


MINOR Support of extended error message

Hi,
Thank you for your work!

@dshiryaev-plesk thank you. This feature now available in release 1.2


Drop partially-identified taxa (see #35)

I just add #38, so if the easiest way around this credential issue is to go ahead and make the move here that would be fine.

Thanks @davharris.


Would like to see artifactCleanup have a parameter to specify groupId

We are looking at implementing the artifactCleanup plugin in the near future, but not without an enhancement.  It allows specifying the repo, but we need to limit the groupId as well.  We are a global company with software groups in different parts of the globe working on different products.  We want to cleanup our artifacts without impacting theirs.  So we need to have groupId as another parameter.

JFrog does not maintain these user-submitted plugins, but you are free to modify them in any way you see fit. Another way you might accomplish this goal is through the CLI and AQL. See here: https://github.com/JFrogDev/artifactory-scripts/tree/master/cleanup

Oh, sorry...didn't think about the fact it was under artifactory-USER-plugins.  :)  OK.  We will look into the other option, else fork this and customize ourselves.  Thanks


Select fields and pagination aliases

Hi,
This looks like a great library. I've been experimenting with it and I'm wondering if there are any plans on adding a select field feature and eventaually something to accomodate cursor pagination. I'm looking at exploring this myself and was wondering if you could give me some guidance as I continue to wrap my head around things.
Some notes:

I'm already able to add a field to the DTO called select of type string[]  which generates an array of all field names passed through the query string
The field names in select: string[] that are also within the keys array  should be added to a select query field in findOptions
Field names specified within the select query field that are also within the compound keys array should added to an include query field in findOptions
Generated prisma select and include statements returned from findOptions are optional and can be equal to null but must not be not-null at the same time
I've noted that <prismamodel>WhereInput type is used to initialise the DirectFilterPipe  instead of something like <prismamodel>FindManyArgs which is making it hard for me to figure out how to add select and include fields with non-null type to generateQueryFindOptions and GeneratedFindOptions.
I've tried adding and/or subsbtituting the <prismamodel>FindManyArgs type into the IGeneratedFilter interface and dependant types to get these extra select, include and cursor types from prisma to play with but with no success so far.
Using the <prismamodel>FindManyArgs type may also make it easier to add cursor handling functionality in the future?

If I can figure it out in the meantime I'll make a pull request if you like. I'm also happy to pair with someone on your team if that appeals to you.
Thanks

Hey,
I'm happy to hear that you like this library. It has currently all features we need internally - but I'm happy to help to make it better if I have time :)
General response:

I think it would help if you could explain why you would need a dynamic select so I can understand your use-case to find a good implementation for this. I would guess some kind of dynamic data query similar to GraphQL in which the client specifies what fields can be selected? Maybe you have some example code for me how you would want the library to behave in a specific scenario?
Currently, the library doesn't generate include/select because it assumes that you will specify it manually (because, if you want to process the query result, then you have to know what is included in the result which is not really possible if it's dynamic. That's why I'm asking for the specific use-case).
Cursor based pagination should be pretty easy to implement. However, we would have to think about where to specify the cursor field name (e.g. "id") - is it something that is specified when creating a DirectFilterPipe (only one cursor type allowed) or something that the client hast to send as well? That's especially important, because you always have to sort by the cursor field (otherwise the results are unpredictable)

Trying to answer your questions specifically:

I've tried adding and/or subsbtituting the FindManyArgs type into the IGeneratedFilter interface and dependant types to get these extra select, include and cursor types from prisma to play with but with no success so far.

If you want to insert FindManyArgs instead of WhereInput, then something like this should be possible (untested, just an idea):
export type GeneratedFindOptions<TFindManyArgs extends { where: unknown; select: unknown; }> = {
  where: TFindManyArgs['where'];
  select: TFindManyArgs['select'];
  skip: number | undefined;
  take: number | undefined;
  // This can be "any" because we might order by relations, therefore this will be an object
  orderBy: Array<{ [p in keyof TWhereInput]?: FilterOrder | any }>;
};

and then you should be able to use it. In the future, we could maybe improve this, but it should work for now.
I would have to check all the usages in our current projects to see if changing it to <prismamodel>FindManyArgs would be possible everywhere (for version 3), but if there are no conflicts there, then I don't see a problem with changing it.

Field names specified within the select query field that are also within the compound keys array should added to an include query field in findOptions

Why do you want to add it to include in this case and not select as well?

If you have any other specific questions, then feel free to ask them and I'll try my best to answer them. I'll try to look into these topics (especially cursor paged pagination) myself aswell - but this might take some time.

Hi,
I've just put together some changes that should add some of the above discussed functionality. I've submitted a pull request so you can see the changes and we can have a more in depth discussion.
Some further thoughts specifically to the points above:

I've got a function of select working where field names are simply added to a query string such as select=firstName,lastName,roles.id. This support both record fields and related record fields. This achieved what you suggested as some kind of dynamic data query similar to GraphQL in which the client specifies what fields can be selected.
I've added functionality to handle default includes (optionally specified at pipe creation) and logic to handle the conflicts between select and includes being speicified. All of this has simplified our nestjs services and controllers so a lot of repeated prisma query generation boiler plate can be defaulted (optionaly) . I've also been adding a metadata object to the api responses with the query to help with client side dynamic data shapes beyond openapi exported dto types.

I'll look into the curser pagination points tomorrow and let you know my thoughts

Hi @Valerionn @PatrickMunsey any updates on merging this to main?


fix: miniature of ingredients blocks the text

What

Added a with to the image preview, now it's a square
Fixes: #2959
I'm currently not able to provide a screenshot due to #2963

Codecov Report

Merging #2964 (9ec0ca4) into develop (283cda6) will decrease coverage by 0.31%.
The diff coverage is 0.45%.

@@            Coverage Diff             @@
##           develop   #2964      +/-   ##
==========================================
- Coverage     6.94%   6.63%   -0.32%
==========================================
  Files          229     236       +7
  Lines        11155   11731     +576
==========================================
+ Hits           775     778       +3
- Misses       10380   10953     +573

Impacted Files
Coverage Δ

...s/smooth_app/lib/data_models/user_preferences.dart
9.37% <0.00%> (-0.52%)
:arrow_down:

...e_panel/knowledge_panels/knowledge_panel_card.dart
0.00% <0.00%> (ø)

...knowledge_panels/knowledge_panel_element_card.dart
0.00% <0.00%> (ø)

...nowledge_panels/knowledge_panel_expanded_card.dart
0.00% <0.00%> (ø)

...l/knowledge_panels/knowledge_panel_group_card.dart
0.00% <ø> (ø)

...e_panel/knowledge_panels/knowledge_panel_page.dart
0.00% <0.00%> (ø)

.../lib/knowledge_panel/knowledge_panels_builder.dart
0.00% <0.00%> (ø)

packages/smooth_app/lib/pages/crop_helper.dart
0.00% <0.00%> (ø)

packages/smooth_app/lib/pages/image_crop_page.dart
2.12% <0.00%> (+0.20%)
:arrow_up:

...ages/onboarding/knowledge_panel_page_template.dart
0.00% <0.00%> (ø)

... and 18 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for the review @monsieurtanuki, I added the RRect and changed the size back to 50 as this will be changed anyways by https://github.com/openfoodfacts/smooth-app/issues/2843


Add support re.Pattern[str] to pattern field in Field

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
I think it just a simple idea about using already compiled regexp to set in pattern field.
Example:
import re

from pydantic import BaseModel, Field

TOKEN_RE = re.compile(r"glpat-.{20}")

class ModelWithToken(BaseModel):
    """Token model with secret."""

    token: SecretStr = Field(pattern=TOKEN_RE)  # Instead of `pattern=TOKEN_RE.pattern`

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[X] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Seems reasonable to me.

@jag-k,
Great, thanks! I've reviewed your PR. Looks good to go, once you add some tests!


Add Partitions Metadata Table

TODO: Waiting on https://github.com/apache/iceberg-python/pull/599 to merge to introduce TimeTravel - Done

Merged! Thanks @syun64 for working on this and thanks @Fokko for reviewing!

Thanks @syun64 for implementing this! It would be pretty useful for some work I'm doing. When do you think this will be released? I see it's on the near term roadmap but I don't have a sense of when 0.7.0 will be available.

Thanks @syun64 for implementing this! It would be pretty useful for some work I'm doing. When do you think this will be released? I see it's on the near term roadmap but I don't have a sense of when 0.7.0 will be available.

Sorry for the late response. We are actively working on finalizing the keystone features for 0.7.0 release - so I would say very soon 🤞


UpdateContactAttribute

Hi, can anyone help me here to figure out here. Im using AWS CCP with cuztomize disposition to edit/update the contact flow attribute. I think it didnt went through or its not working on my side.
can anyone help me? or give advise.
This is what i found for UpdateContactAttribute : https://docs.aws.amazon.com/connect/latest/APIReference/connect-api.pdf#Welcome

The error i am getting.

hey @ronelCS this is because you are trying to use an SDK method
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Connect.html#updateContactAttributes-property
and it is not available in streams (unfortunately) where you get only get / read them
https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#contactgetattributes
so a solution would be to update these attributes from a lambda where your front end app can send a payload - for example.
streams would then have them available on next refresh

Seems that ana-vf has provided you an answer and a solution. Please feel free to reopen issue if you have follow-up questions.


onAfterChange doens't fire

Hi!
I have set up a div to be the slick element and I wanted to enhance it with a couple of functions that are called when the slide changes, but thats the problem. Apparently, onAfterChange only fires when the slick is initiated and never again.
Maybe I did something wrong in the initiliaization here is my code:
$('#contentCarousel').slick({
dots: true,
infinite: false,
speed: 300,
slidesToShow: 1,
adaptiveHeight: true,
onAfterChange: alert("changed")
});

Can anyone tell me why this never fires? Do any of my configuration parameters disable that method?
$('#questions').slick({
  infinite: false,
  slidesToShow: 1,
  slidesToScroll: 1,
  dots: false,
  arrows: false,
  swipe: false,
 	onAfterChange: function(e) {
 		console.log("This never fires");
}
});


[ELWWOW] War of Worlds! - Module crashes on initialization

Module Information

ELWWOW
War of Worlds!
2.0

Describe the bug
War of Worlds performs a getbtvl() on an empty Btrieve file (ELWWOWC.EMU) causing MBBSEmu to crash.
There is logic in GetRecordByOffset() to throw an exception if there is no record found at the current position/offset. This is the error being thrown. Because getbtvl() is void and doesn't return an error in this case, we need to verify how Btrieve handles this case internally.
Do we just return a null record?

After further investigation you have to run the world initialization executable "ELWWOWU.EXE" which needs a .MCV file

Closing until we can find non-repackaged game


Temporal Visibility Keyspace Schema Setup Failing

Describe the bug
Installing temporal server with our own Cassandra (operated in AWS)
Using temporal-cassandra-tool to create and setup cassandra keyspaces (temporal and temporal visibility)
As part of that running these commands
./temporal-cassandra-tool create-Keyspace -k temporal
CASSANDRA_KEYSPACE=temporal ./temporal-cassandra-tool setup-schema -v 0.0
CASSANDRA_KEYSPACE=temporal ./temporal-cassandra-tool update -schema-dir schema/cassandra/temporal/versioned
./temporal-cassandra-tool create-Keyspace -k temporal_visibility
It's all good untill these below two commands. Throwing an error error listing schema dir:no subdirs found with version >= 1.5
CASSANDRA_KEYSPACE=temporal_visibility ./temporal-cassandra-tool setup-schema  -v 0.0
CASSANDRA_KEYSPACE=temporal_visibility ./temporal-cassandra-tool update -schema-dir schema/cassandra/visibility/versioned
Expected behavior
It should create the schema for temporal_visibility keyspace as it is creating for temporal keyspace
Screenshots/Terminal output
2021/09/15 15:37:50 validating connection to cassandra cluster
2021/09/15 15:37:50 connection validation succeeded
2021/09/15 15:37:50 Starting schema setup, config=&{SchemaFilePath: InitialVersion:0.0 Overwrite:false DisableVersioning:false}
2021/09/15 15:37:50 Setting up version tables
2021/09/15 15:37:50 Current database schema version 1.5 is greater than initial schema version 0.0. Skip version upgrade
2021/09/15 15:37:50 Schema setup complete```

temporal-cassandra-tool update-schema -d /etc/temporal/schema/cassandra/visibility/versioned
2021/09/15 15:37:10 validating connection to cassandra cluster
2021/09/15 15:37:10 connection validation succeeded
2021/09/15 15:37:10 UpdateSchemeTask started, config=&{DBName: TargetVersion: SchemaDir:/etc/temporal/schema/cassandra/visibility/versioned IsDryRun:false}
2021/09/15 15:37:10 error listing schema dir:no subdirs found with version >= 1.5

Versions

OS: Linux
Temporal Version 1.12.0 or 1.9.2 (both are getting the same issue)
Are you using Docker or Kubernetes or building Temporal from source? Kubernetes

I'm having the same issue when using cassandra , I'm using cassandra 0.15.4 chart and as I'm using crossplane in the deployment of the child charts : crossplane , cassandra  , the temporal schema update job get stuck forever waiting , when I delete the job the chart deploys but the issue cassandra schema setup never get executed although its enabled, I endup with a broke chart as the frontend and backend , worker ..etc not working , only the web comes up , any idea how can I fix this ?

I resolved this issue at least for me by removing pre-upgrade from the helm hook , the issue didn't happen when installing the chart using helm manually but it happens if using  argocd ..etc
My assumption is most people probably faced that , I haven't managed to solve until I removed the pre-upgrade which allowed it work , also a trick was to turn off the schema update option and only enable the setup , then enable both after setup is done

Cassandra is no longer supported for visibility.

I found visibility still in the values for the latest released chart, so just wanted to confirm that support for cassandra has not been brought back

That's a bug in the chart (well, values), it has not been brought back, and there are no plans to do so.


[Question / Non-Issue] New release with the latest changes?

Hi @kupiakos,
Sorry for opening an issue for this, but I don't see any other way of reaching out.
I wanted to ask if it would be possible to publish a new release to crates.io, including
the latest fix around the missing License file.
I am packaging this crate for Fedora and the tools keep complaining about it.
Patching this downstream looks somewhat messy...
Thanks,
Oliver

Hi @osteffenrh,
No need to apologize; this is the appropriate venue for such a request. I've published v0.5.1 for both the main and -derive crate to crates.io, the only difference being the LICENSE file.

Thanks a lot! :-)


test pl

👷 Deploy Preview for fancy-puffpuff-df775f processing.

Name
Link

🔨 Latest commit
344eb6de4002058fff29bce4649925882d904902

🔍 Latest deploy log
https://app.netlify.com/sites/fancy-puffpuff-df775f/deploys/65a6abf3d98c690008e44d5a


Add CSS documentation

Related Issue

Closes: #123
Description of Changes

I have added a new resource (CSS documentation) to the website.
Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots

Original
Updated

This PR is part of GSSoC'23.

Add css to main resource page and under that add mdn docs resource

Fixed, @Alkaison!

Can you share a video of the updates live on website?

Here you go, @Alkaison.
Screen Recording.webm

Hey @Alkaison, I have shared a video. Can you please have a look?

Hey @Astrodevil & @Alkaison, can you please have a look at this PR?


[FEATURE] : Implementing OTP based forgot password route (Backend + frontend)

Is your feature request related to a problem? Please describe.
it allows users to reset their password if they forgot it, enabling them to login to their account
Describe the solution you'd like
I wanted to add backend and frontend of the functionality so that users can reclaim their account even if they forgot their password
Workflow:

user enters their registered email
and otp is sent to their email
user verifies that otp
user reset Their password

@Sourabh782 , you can proceed!

Hey, just checking in—are you still working on this issue?

Hey, just checking in—are you still working on this issue?

Yess working on that only will soon raise the pr

Hey, just checking in—are you still working on this issue?

Btw if you don't have any problem can you share mapbox_token?

@Sourabh782 Since you're not working with the map, you can comment out the map-related parts in the code while working on the feature. Before making the PR, just uncomment those parts, and then submit it.

@Sourabh782 Since you're not working with the map, you can comment out the map-related parts in the code while working on the feature. Before making the PR, just uncomment those parts, and then submit it.

Ohkiee


secure storage is deleted on app upgrade.

I want the data saved with secure storage to be kept when user downloading new version from app/play store.
is it possible?
I see that the shared preferences is still preserved so I guess it's possible but I don't know how to achieve it with secure storage.

is this still the case? I have some cases where data gets wiped after app upgrade on iOS, not sure this is the case still...

I am closing all older issues. If this issue still exists in the latest version, please let me know.


Materializing World causes two issues for Vobs

Materializing world is fine for calling ZenKit DLL only once and might add small performance improvements. Unfortunately there are two issues as of now:

If we Materialize the world, we also materialize the whole Vobs. From what I understood, materialized objects/structs have no representation inside ZenKit after materializing and are therefore readonly on ZenKit side (e.g. no saving of changed values possible).
Vobs are only materialized as VirtualObjects, but not as subclasses like the unmaterialized ones. But it's needed to fetch specific properties. (see image below)

Suggestions from my current understanding:

Add a world materialization option to stick with Vobs "unmaterialized" and keep the possibility to store them on a savegame later. (As only VobItems will have position changes, I could also think of materializing everything except VobItems)
When creating materialized VirtualObject class, then subclass the actual types as it's done for unmaterialized ones.

After discussions with Luis:

If we materialize, we have no handle back to ZenKit for Vobs. But as we want to save changes, we need this and therefore can't use Materialize(). With unmaterialized Vobs, we can use the existing subclassing already.
It's possible to Materialize() certain world elements only. The solution for us is now:

zkWorld.Mesh.Materialize()
zkWorld.BspTree.Materialize()
zkWorld.WayNet.Materialize()
zkWorld.RootObjects #Vobs

Closed as a workaround exists already.


BUG: logging 'not found errors'

Description
There are logs in the production that show an error for an expected property that is not found in a response from an API route. Given that the response itself actually shows the key that is claimed to be missing, there is something amiss here. The file is in notification_utils logging.py: logger.exception("failed to format log message: {} not found".format(e))
Steps to Reproduce
Search production logs for "failed to format log message" and looks for ones like the following:
ERROR 2023-04-05 21:24:30,934 /usr/local/lib/python3.8/site-packages/notifications_utils/logging.py:204: failed to format log message: "'appSid'" not found

or
ERROR 2023-04-05 21:26:29,046 /usr/local/lib/python3.8/site-packages/notifications_utils/logging.py:204: failed to format log message: "'success'" not found

The full log sequence for one such event is as follows:
76fdfebf-f5b1-44b7-af26-a36278ac8445 POST https://api.va.gov/v2/notifications/push 201 2.66969
INFO 2023-04-05 22:31:54,673 /app/app/va/vetext/client.py:49: VEText response: {'success': True, 'statusCode': 200}
VEText response: {'success': True, 'statusCode': 200}
KeyError: "'success'"
log_record['message'] = log_record['message'].format(**log_record)
File "/usr/local/lib/python3.8/site-packages/notifications_utils/logging.py", line 202, in process_log_record
Traceback (most recent call last):
ERROR 2023-04-05 22:31:54,673 /usr/local/lib/python3.8/site-packages/notifications_utils/logging.py:204: failed to format log message: "'success'" not found

Workaround
Impact/Urgency
Medium - Annoying. Fills the logs with what appear to be erroneous errors. Also, logging costs money! Hard to sift the wheat from the chaff.
Expected Behavior

[ ] There are no more such logs generated when a property clearly exists in a response.

QA Considerations
QA to take a look at logging as the code gets merged up the food chain.
Additional Info & Resources

@kalbfled can you please point this ticket?

I implemented a prospective solution that needs to be tested.  See PR 118.

awaiting 1222, which is the test ticket.


Process for add new defintions

First draft than maintainers approve

Added instructions to the contributing.md documentation.


Easy way to add liveness and readiness probs in k8s

At the moment, Ballerina services do not have anything inbuilt to support this. I think doing something similar to Spring Boot Actuator might be useful.

Currently, In Cloud.toml we have a property for specifying readiness and liveness probe and we generate k8s probes based on that. https://github.com/ballerina-platform/module-ballerina-c2c/tree/master/samples/sample6
Additionally, we have tooling support to generate a Cloud.toml entry from code and the other way around.
Are we thinking of a different approach here?


Update Field Width Constant

Taken directly from cad at https://cad.onshape.com/documents/dcbe49ce579f6342435bc298/w/b93673f5b2ec9c9bdcfec487/e/6ecb2d6b7590f4d1c820d5e3
Is there a possibility that because the link above is the optimized version the old number was gotten from the original import and thus this change is wrong?

I think this just wasn't rechecked for 2024.

I think this just wasn't rechecked for 2024.

It doesn't make sense why it would change so I get that... I wonder what they used that 0.01m of real estate for 🤭


PyDeequ to support Apache Spark version > 3.4.0

Is your feature request related to a problem? Please describe.
Currently our organization developed the code using PyDeequ library widely in the environment along with the Databrick which is using Apache Spark 3.3.0.
There are 2 vulnerabilities [CVE-2022-31777 (Nov 2022) and CVE 2023-22946 (Apr 2023)] was discovered in Apache Spark version < 3.4.0.  However, when we necessary to upgrade Apache spark to version 3.4.0, the PyDeeQu still not support this version at the moment.
Describe the solution you'd like
Proposed the PyDeequ to support Apache Spark version 3.4.0 and above.

Once Deequ upgrade to 3.4, we will follow-up in PyDeequ as well shortly.  PR is available https://github.com/awslabs/deequ/pull/505

Hello, @chenliu0831! I noticed that the pull request awslabs/deequ#505 has been merged. Could you provide an estimative for when we can expect PyDeequ to support this updated version of Spark?

Let's move the discussion here https://github.com/awslabs/python-deequ/issues/192. Closing.


question:  Why move to yay

Description
This is rather interesting.
The program states that it's based on paru, which makes sense given the tech stack. And then... the README.md states that the program is planning to move to yay, a Go program, and the installation instructions assume you have yay installed?
What gives?
Additional Information
No response

Hey @appetrosyan, for why I added moving to yay in the todo, I noticed that paru rarely receives updates and therefore I thought about moving to yay in the future. As for the README, I could probably update it to use paru however I believe the app auto-downloads paru itself so there's neither are really a requirement

thank you


Traceback (most recent call last):

Hi,
I`m having a problem with running this script from zabbix.
If I`m running script prom SSH - ALL OK.
But from zabbix Latest Data :

Traceback (most recent call last):  File "/usr/lib/python3.5/urllib/request.py", line 1254, in do_open    h.request(req.get_method(), req.selector, req.data, headers)  File "/usr/lib/python3.5/http/client.py", line 1106, in request    self._send_reque

How to fix?
BR,
Deniss

Hi,
It's rather hard to debug with way, I mean remotelly , but I looked at sources of request.py and it says what it maybe error by timeout:
try:
                h.request(req.get_method(), req.selector, req.data, headers)
            except OSError as err: # timeout error
                raise URLError(err)

So, maybe you should try temporary increase script execution time on zabbix server and check it again?

I`m using proxy (another location).
Zabbix Proxy Conf timeout is set to 30. On a Server it is also 30.
As I execute script from root - ALL OK.
I try to simulate execution from root using zabbix user:
sudo -H -u zabbix bash -c './zbx-hpmsa.py --msa <IP_ADDRESS> --component disks --get 1.1'
OK
We can try to do remote session, if it will help!

Interesting. Are you do this with one storage or it's two different? I mean, you connecting to only one MSA via directly running script and script running from Zabbix Server?
Also, could you show me your Item in Zabbix?
I think I'll make some correction in script tomorrow to make easy to understand http errors and we'll try it again.

It is one MSA2040 dual controller at customer site.
I connect to zabbix proxy via ssh and perform all script execution tasks.
I added host using agent interface and attached your template.
In discovery I see

zbx-hpmsa.py["-d", "-m", "{HOST.CONN}", "-c", "disks"]
zbx-hpmsa.py["-d", "-m", "{HOST.CONN}", "-c", "vdisks"]

After discovery time, in items i see these items:

But I took one of discovered item and cloned with hardcoded IP address, and everything seems working.

Zabbix Server 3.2.3
Zabbix Proxy 3.2.4

OK, I think the problem with macros {HOST.CONN} - it should unfold (hope it's right word) to IP address or DNS name, so it may be DNS issue. I think you know what {HOST.CONN} takes from here:

And maybe if you host configured with DNS name, your proxy cannot resolve it to IP.

I Use only IP addressed, not DNS names.
So I recreate a Host

and still the same problem

But if you not use my template and create items yourself all works fine?

For test I used clone of item from your template and changed {HOST.CONN} to real IP.
And last value is OK

Hey, I've just uploaded new version with some emproves in work with HTTP, so now we should get more understandable error. Could you check it?
https://github.com/asand3r/zbx-hpmsa/tree/master/0.2.4

root@ZBX:/usr/local/share/zabbix/externalscripts# ./zbx-hpmsa.py -d --msa <IP_ADDRESS> --component disks
./zbx-hpmsa.py: line 7: syntax error near unexpected token newline' ./zbx-hpmsa.py: line 7: '

Hm, 7 line is library import. Could you try execute:
from urllib.error import URLError
in Python console?
It's strange, because in my desktop (Python 3.5.3) and server (CentOS 7.3.1611, python 3.4) it works fine. What is your environment?

My fault, code was incorrect loaded/downloaded.

The same problem with Traceback (most recent call last).
Isn`t it related that in discovery we use {HOST.CONN} but in the item we use {HOST.NAME}????
I changed {HOST.NAME} to {HOST.CONN} and seems it works!

Damn, yes, I forget to change HOST.NAME to HOST.CONN in template. =)
Thank you, I'll update Template file to using {HOST.CONN} macro.


Upgrade gds-api-adapters

Rename #put_links to #patch_links because it has been changed in the
client library.

:+1:


Notification from dart:html not being shown.

Steps to reproduce
Notification from dart:html is not working. Is this code meant to show a notification?
html.Notification('Hello, World!');
See the code sample for a full app that is not showing the notification.
Expected results
It shows a notification in the chrome browser.
Actual results
No notification is shown in the chrome browser.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'dart:html' as html;

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    html.Notification('Hello, World!');
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }

  @override
  void initState() {
    super.initState();

    html.window.console.log('Hello, World!');
    html.Notification.requestPermission().then((userPermission) {
      if (userPermission != 'granted') {
        return;
      }

      html.Notification('Hello, World!');
      html.Notification.new('Hello, World!');
    });
  }
}

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.22.2 on channel stable at /Users/benjaminfarquhar/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (11 days ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/benjaminfarquhar/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/benjaminfarquhar/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Community Edition (version 2023.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.90.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (4 available)
    • Benji’s iPhone 13 mini (mobile) • 00008110-001119123C7B801E • ios            • iOS 17.5.1 21F90
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 125.0.6422.176

[✓] Network resources
    • All expected network resources are available.

• No issues found!```

</details>

@BenjiFarquhar

Notification from dart:html is not working. Is this code meant to show a notification?

This does work. You need to allow notifications to show, as below:

Then upon running the given code, it shows the notifications and gets printed in the console as well:
A Dart VM Service on Chrome is available at: http://<IP_ADDRESS>:52353/_CeaKEIrgOQ=
Hello, World!

@darshankawar Thanks. I click "Allow" when that pops up. But then no notification is shown to me.

I'm expecting to also see a new notification every time I click the FAB, but don't:

Can you please show a screenshot of the full page with the notification showing "Hello World!"? Are you running locally in debug mode with flutter run -d chrome, as I am?
My version of chrome is Version 125.0.6422.176 (Official Build) (arm64). I just updated to Version 126.0.6478.62 (Official Build) (arm64) but it didn't fix it.

Can you please show a screenshot of the full page with the notification showing "Hello World!"? Are you running locally in debug mode with flutter run -d chrome, as I am?

Yes, I ran locally with same command. Interestingly, when I for the first time ran the code, I did see the notification on the top right corner of the screen but I didn't take screenshot or video record it and now when I tried again, I don't see it occuring, so I missed the chance to record it : (
I will keep the issue open for team's attention / tracking.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.22.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.22.2 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (33 hours ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.23.0-13.0.pre.262, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.23.0-13.0.pre.262 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6a8f70f11e (2 hours ago), 2024-06-18 00:12:10 -0400
    • Engine revision 78fdd06af5
    • Dart version 3.5.0 (build 3.5.0-272.0.dev)
    • DevTools version 2.36.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Thanks for creating this issue; dart:html is a very thin js-interop layer that enables Flutter Web apps use standard JS APIs, in this case, the "Notifications API". Here's its documentation:

https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API

Here's some highlights from the documentation that are causing this issue (and its reproduction):

the user needs to grant permission to display notifications, which is generally done when the app or site initializes, using the Notification.requestPermission() method. This should be done in response to a user gesture, such as clicking a button.
...
This is not only best practice but going forward browsers will explicitly disallow notifications not triggered in response to a user gesture. 💔

The reproduction code provided is attempting to requestPermission and display notifications without user interaction (on its initState method)
Proposed solution
I'd modify the _MyHomePageState class from the reproduction to something like this:
class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  /// onPressed, display a notification and increase the counter.
  void _incrementCounter() async {
    await displayNotification();
    setState(() {
      _counter++;
    });
  }

  /// Always request for permissions, and if 'granted', display a notification.
  Future<void> displayNotification() async {
    final permission = await html.Notification.requestPermission();
    if (permission == 'granted') {
      html.Notification('About to update counter to: ${_counter + 1}');
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }

  // Removed `initState`
}

Some unsolicited advice:

Remember to reset the allow/deny notifications in the settings or the "origin settings" button:

I'd recommend migrating this code from dart:html to package:web, which is a more modern (and Wasm-compatible) js-interop layer. See the migration instructions.

Please, @BenjiFarquhar, let me know if this helps, so we can close this issue. Thanks!

Hi @ditman, sorry for the slow reply, I got sidetracked by other tasks. Thanks for sharing some revised code. I just managed to run your proposed solution. It still doesn't work for me, same issue really, it shows the request permission dialog, but it doesn't show the Notification. Have you tried running it to confirm it works? Can we re-open this issue?

Thanks @ditman, my code sample from above is also working now. Great find!

Thanks for your patience @BenjiFarquhar!


Text Plugins Override Help Options

When loading a help file via :help, some default options ('isk', 'fdm')
can be negated in a plain text filetype plugin.
These options are hardcoded into Vim (see prepare_help_buffer() in
ex_cmds.c) and are set when a help file is loaded. They are not set from a
filetype plugin script, and so do not follow the usual hierarchy.
From a quick glance at the source code, it seems the process of loading help
files is a bit contorted:

The buffer is opened and hardcoded options are set
Normal filetype detection occurs

filetypedetect autocommands are triggered
The default filetype.vim assigns setf text

FileType autocommands are triggered

ftplugin/text.vim, etc. are sourced
Hardcoded options are overridden by text plugins

Modeline sets ft=help
FileType autocommands are triggered again

If b:undo_ftplugin is set for text, it is executed

Options are reset to their global values, not the ones hardcoded
for help files

ftplugin/help.vim, etc. are sourced

The issue can be worked around (if compiled with +quickfix) with a few lines
at the top of all plain text plugin files:
if &buftype == "help"
    finish
endif

Personally, I don't see why Vim help files have to be an exception. If they
were just listed in the default filetype.vim file, instead of requiring that
each one set the filetype in a modeline, it would avoid being detected as a
plain text file. And rather than hardcode certain options in the Vim source,
they could just as easily be set from ftplugin/help.vim, which is already
used to set other options.
But I'll leave that up to you brilliant Vim developers.
bugreport.txt

joshklod wrote:

When loading a help file via :help, some default options ('isk', 'fdm')
can be negated in a plain text filetype plugin.
These options are hardcoded into Vim (see prepare_help_buffer() in
ex_cmds.c) and are set when a help file is loaded. They are not set from a
filetype plugin script, and so do not follow the usual hierarchy.

From a quick glance at the source code, it seems the process of loading help
files is a bit contorted:

The buffer is opened and hardcoded options are set
Normal filetype detection occurs

filetypedetect autocommands are triggered
The default filetype.vim assigns setf text

FileType autocommands are triggered

ftplugin/text.vim, etc. are sourced
Hardcoded options are overridden by text plugins

Modeline sets ft=help
FileType autocommands are triggered again

If b:undo_ftplugin is set for text, it is executed

Options are reset to their global values, not the ones hardcoded
for help files

ftplugin/help.vim, etc. are sourced

The issue can be worked around

What is "The issue"?  Can you give an example of what actually goes
wrong?

(if compiled with +quickfix) with a few lines
at the top of all plain text plugin files:
if &buftype == "help"
    finish
endif

Personally, I don't see why Vim help files have to be an exception. If they
were just listed in the default filetype.vim file, instead of requiring that
each one set the filetype in a modeline, it would avoid being detected as a
plain text file. And rather than hardcode certain options in the Vim source,
they could just as easily be set from ftplugin/help.vim, which is already
used to set other options.
But I'll leave that up to you brilliant Vim developers.

--
hundred-and-one symptoms of being an internet addict:
49.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

In my case, I set iskeyword from after/ftplugin/text.vim. Then I could
no longer jump to some tags in help files, because iskeyword had been
reset to the Vim default.
On Mon, Jun 19, 2017, 4:41 PM Bram Moolenaar<EMAIL_ADDRESS>wrote:

joshklod wrote:

When loading a help file via :help, some default options ('isk',
'fdm')
can be negated in a plain text filetype plugin.
These options are hardcoded into Vim (see prepare_help_buffer() in
ex_cmds.c) and are set when a help file is loaded. They are not set
from a
filetype plugin script, and so do not follow the usual hierarchy.

From a quick glance at the source code, it seems the process of loading
help
files is a bit contorted:

The buffer is opened and hardcoded options are set
Normal filetype detection occurs

filetypedetect autocommands are triggered
The default filetype.vim assigns setf text

FileType autocommands are triggered

ftplugin/text.vim, etc. are sourced
Hardcoded options are overridden by text plugins

Modeline sets ft=help
FileType autocommands are triggered again

If b:undo_ftplugin is set for text, it is executed
Options are reset to their global values, not the ones hardcoded
for help files
ftplugin/help.vim, etc. are sourced

The issue can be worked around

What is "The issue"? Can you give an example of what actually goes
wrong?

(if compiled with +quickfix) with a few lines
at the top of all plain text plugin files:
if &buftype == "help"
finish
endif
Personally, I don't see why Vim help files have to be an exception. If
they
were just listed in the default filetype.vim file, instead of
requiring that
each one set the filetype in a modeline, it would avoid being detected
as a
plain text file. And rather than hardcode certain options in the Vim
source,
they could just as easily be set from ftplugin/help.vim, which is
already
used to set other options.
But I'll leave that up to you brilliant Vim developers.

--
hundred-and-one symptoms of being an internet addict:
49.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net \
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\ an exciting new programming language -- http://www.Zimbu.org ///
\\ help me help AIDS victims -- http://ICCF-Holland.org ///
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vim/vim/issues/1782#issuecomment-309567287, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Aa7Az5cPoVLS5W8cOHYLN_MjxkTr-yIZks5sFtzvgaJpZM4N-cw7
.

please give reproducible steps here. I don't understand what your filetype text plugin changes and how this is related to the help buffer.

please give reproducible steps here. I don't understand what your filetype text plugin changes and how this is related to the help buffer.

It should have nothing to do with the help buffer, that's the problem.
Steps to Reproduce:

Demonstrate correct behavior:
:h options " Note: help.txt sets isk from a modeline, so
           "       we need to specify a different page
:set isk?
  iskeyword=!-~,^*,^|,^"

Add the following line to ~/.vim/ftplugin/text.vim:
setl isk=@,48-57,'

Restart Vim

Repeat above test--iskeyword has now changed
:h options
:set isk?
  iskeyword=@,48-57,'

Move the cursor to set-option and press CTRL-]--Vim jumps to the wrong subject

joshklod wrote:

please give reproducible steps here. I don't understand what your filetype text plugin changes and how this is related to the help buffer.

It should have nothing to do with the help buffer, that's the problem.
Steps to Reproduce:

Demonstrate correct behavior:
:h options " Note: help.txt sets isk from a modeline, so
           "       we need to specify a different page
:set isk?
  iskeyword=!-~,^*,^|,^"

Add the following line to ~/.vim/ftplugin/text.vim:
setl isk=@,48-57,'

You are missing the command to set "b:undo_ftplugin".  But I suppose
that's not uncommon.
It might work to add this line to $VIMRUNTIME/filetype.vim:
" Vim help file
au BufNewFile,BufRead $VIMRUNTIME/doc/*.txt	setf help

It still sets the filetype twice, when using the  modeline there should
be a check whether 'filetype' is set to the same value.
--
hundred-and-one symptoms of being an internet addict:
54.  :-)
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

You are missing the command to set "b:undo_ftplugin".  But I suppose
that's not uncommon.

My real plugin has this, of course. :)
Note that calling set isk< does not solve the problem, because the global value is also incorrect.

It might work to add this line to $VIMRUNTIME/filetype.vim:
" Vim help file
au BufNewFile,BufRead $VIMRUNTIME/doc/*.txt	setf help

This works for distributed help files, but not for user plugin documentation outside of $VIMRUNTIME.


A question about bundle-adjusting

Thanks for your excellent work!
I have a question about code.How to express bundle-adjustment in your code?I find you refine the pose with 6 parameters (R,t),using torch.nn.embedding()function ,setting Adam optimiter with adjustment learning rate,and modifying the position encoding function.But i can not find some options about computing jacobian matrix.Could you tell me the difference with nerf-- 's pose refine directly use network parameters?

Hi @Wjt-shift, bundle adjustment, as a more general definition, is the process of optimizing the scene structure and the cameras altogether. So in the BARF context, the entire process is a type of bundle adjustment. The Jacobian matrices here are not explicitly constructed -- the (first-order) gradients are still formed via backprop, so this is different from classical bundle adjustment à la SfM/SLAM. BARF represents the pose refinement with learnable 6-DoF parameters, which (I believe) is the same as NeRF--; the high-level difference between NeRF-- and BARF is that (a) NeRF-- also optimizes the intrinsic camera parameters, and (b) NeRF-- does not have a coarse-to-fine optimization mechanism. Hope these help!

thanks for your reply!thank you a lot!


Paginate lists of Tasks (from OddBird).

NOTE: This should be reviewed and merged after ~~https://github.com/SFDO-Tooling/Metecho/pull/2018~~ and https://github.com/SFDO-Tooling/Metecho/pull/2019 are already merged.
Replaces #1976

Features:

Paginate lists of Tasks (https://github.com/oddbird/Metecho/pull/2156)

@jgerigmeyer got #2019 merged, so I can finally finish this review, do you mind updating from main? Thanks!

@davidjray Updated ✅
After this, there's one more left: https://github.com/SFDO-Tooling/Metecho/pull/2031


OSD-9102 : assigned to column added in incidents table

What type of PR is this?
feature
What this PR does / Why we need it?
When viewing output of kite alerts --assigned-to=team the user cannot view whom the alert has been assigned to if acknowledged. The alert view table has an additional column 'Assigned-To' which displays the user to whom the alert has been assigned to, if any.
Which Jira/Github issue(s) does this PR fix?
Resolves # https://issues.redhat.com/browse/OSD-9102
After changes
When a user runs kite alerts --assigned-to=team and choose option 3 i.e acknowledged incidents

Before changes
When a user runs kite alerts --assigned-to=team and choose option 3 i.e acknowledged incidents

Can you please mention associated JIRA ticket in the PR title too?

/label tide/merge-method-squash

This looks good overall given the comments have been addressed, nice work!
I have one feature request to be embedded in this PR, can you also show the Assigned To column for all alerts/incidents (triggered) not only acknowledged?

This looks good overall given the comments have been addressed, nice work! I have one feature request to be embedded in this PR, can you also show the Assigned To column for all alerts/incidents (triggered) not only acknowledged?

Yeah sure I'm working on that. Will implement it soon

This looks good overall given the comments have been addressed, nice work! I have one feature request to be embedded in this PR, can you also show the Assigned To column for all alerts/incidents (triggered) not only acknowledged?

I have tried embedding the feature with alerts as well as triggered alerts table but it's not working properly but showing the names correctly with acknowledged incidents and triggered incidents table

I have tried embedding the feature with alerts as well as triggered alerts table but it's not working properly but showing the names correctly with acknowledged incidents and triggered incidents table.

The response body for alerts isn't as same as incidents, so you would need to check for other fields in the data struct.

/bark

/honk

Great work!
Can you also resolve the comments above so we're good to go?

Great work! Can you also resolve the comments above so we're good to go?

Yeah sure!

/lgtm
/approve


Make Property a monad/functor

If Property were a monad, event handling code would be simpler and more powerful.
EventDecoder might become unnecessary.

This would make the code simpler, but it would be a performance problem.  Ideally, the decoding functions in a VirtualDom on-Node are be comparable.  That's a hard problem, so object identity is compared.  If the functions remain the same javascript objects between render passes, expensive DOM updates can be skipped.  Functions are only ever the same object if they are compiled down to a module-level function (not a curried function!)
Composing Properties after their creation would defeat this.
The path forward is to make EventDecoder a functor/monad, this makes it easy to define a module-level helper function that is used to create the event handling Property.


Medibot doAfter and some other improvements

About the PR
Made the Medibot use doafters.
To the players this appears as generally more responsive NPC, no more waiting multiple seconds just for the bot to inject someone else. Or nothing.
Right, no more apparent instant injects.
Besides that, there's a bunch of small changes to various related HTN operators, more details on the Technical details section.
Why / Balance
You never knew whether the bot was injecting you or someone else, and sometimes the bot would do apparently instant injections. I'd link the clip where Liltenhead fell victim to it, but I don't have it on hand...
Also the bot gave almost no feedback on what it was doing.
The injection was implemented by manually adding reagents to the player's body, and manually playing popups.
Technical details

Operators

TargetInRangePrecondition got invert variable, for when you want TargetOutOfRange behaviour. Implemented this way to reduce code duplication.
SpeakOperator got a cooldown implementation, so the NPC wouldn't talk everytime it started a new plan. It gets annoying when they scream at you every 0.45 seconds.
EnsureComponentOperator was added, to replace the Medibot's hardcoded adding of NPCRecentlyInjectedComponent.

NPCUtilitySystem

ComponentFilter of the NPCUtilitySystem was expanded a bit, and got slightly less ambiguous comments.
NPCUtilitySystem can now return a sorted Enumerable of the results, instead of just the highest scoring one.
UtilityOperator got the returnType option, to specify whether to return the highest scoring result, or the aforementioned enumerable.

Medibot
PickNearbyInjectable went through quite minimal alterations, now it takes the results provided by the UtilityOperator, and picks the first treatable result. The UtilityOperator's considerations are made to treat crit patients first, and then by distance. I haven't added the healthconsideration for this because I was too lazy to decide on a proper curve for it.
The most disgusting part of this PR must be what I have done to the MedibotSystem.
Because I was too lazy to figure out how to give Medibot hands and do it that way, I just subscribed to the UserActivateInWorldEvent, and used it to start an interaction using the Medibot as the syringe.
You read that right, I'm using the Medibot as a syringe.
I also subscribed on InjectorDoAfterEvent, in order to empty the syringe incase it had anything in it, in order to avoid chem duping.
Right, currently the Medibot's range has been increased from 4 tiles to 10, since right now TargetDistanceCon makes changing it a pain.
I was also planning on adding a IdleNearLocation compound task, but decided not to include it due to pathfinding possibly being too expensive during cases where there is no path, such as when doors close.
The DoAfter bar also is a bit high, it gets hidden behind the speech bubbles.
Also sorry for making this PR this verbose, I seem to get a bit too talkative late at night.
Media

Here's the apparent instant inject I mentioned
https://github.com/user-attachments/assets/9194dbe8-e1d9-4c6b-b4bc-3af61a557570
Here's a recording of my changes, the Medibot prioritizes the crit Urist first, and then in the order of distance.
The DoAfter can also be seen, as well as the InjectorSystem's multiplier for crit people.
https://github.com/user-attachments/assets/8a8c0139-f6af-41e2-ba1e-ea48cc7aaee8
Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Changelog

:cl:

add: Now the Medibot has a DoAfter bar, displaying injection progress.

aye does this make them work again when controlled by a player?

That ain't the intended effect, but that does indeed work.
However if a player controls it, there won't be any limits on whom or how much they can inject.


Colour emoji support

Depends on #13
Requires support for one or more of the following tables:

COLR & CPAL
CBDT & CBLC
SVG
sbix

References

Color fonts. Overview of the proposals for color extensions of the OpenType font format

As of 0.5 we support retrieving images from CBLC/sbix/SVG tables via the Font::lookup_glyph_image.


xkill: Add version <IP_ADDRESS>41024

closes https://github.com/ScoopInstaller/Main/issues/1549
also requested in https://github.com/ScoopInstaller/Main/issues/2399 and https://github.com/ScoopInstaller/Extras/issues/7167
XKill is a tool that works the same as XWindow's XKill, which displays a special cursor as a prompt for the user to select a window to be killed.
NOTES:

The app is built in 32-bit.
autoupdate is not needed because last update was in 2014.
license and version info can be found in win-xkill.nuspec in the source code.

/verify


fix: try building batoid under emulation

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #19.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #19

@conda-forge-admin rerender


update podspec for 2.0.0 version

@alexsanderkhitev The swift3 branch has been merged into master and pushed to Cocoapods already. Thanks


parse images in helm charts

now, sealos build find images in imsges/shim, manifests
we need add feature discovery images in helm chart

Using helm SDK to parse docker images in charts, and save them.
Like:
helm template app ingress/chart | grep image:


Improve QUIC defragmentation of TLS packets.

This avoids excessive persistent memory usage associated with every QUIC connection, by avoiding a large (21k) preallocation of a buffer used for defragmentation of TLS packets.
Instead of preallocating space for all TLS data, this only stores TLS fragments that cannot be fully assembled on the connection.
This replaces #158.

@bwelling would you like to adjust this to use variable length arrays as your comment suggests? (Also we can take it on quictls/quictls, but I can do the mechanics of that)

I'm not sure what comment you mean, as in #158, I said

I'm not sure what VLA changes are wanted or needed, so it would probably be easier for someone who does know to make the changes.

I've never used C VLAs, and I don't know exactly what you're looking for, so I'd (still) rather someone who does know do it.

Sorry, I was imprecise and meant flexible array members as the comment indicates would be preferable.


shouldPollResponse returns false

async function send(address, amount) {
let contractInstance = await tronWeb.contract().at('TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t');

let args = {
    callValue: 0,
    shouldPollResponse: true
}
let result = await contractInstance.transfer(address, amount).send(args);

return result;
}

with shouldPollResponse set to true i expect to get the transaction info but it returns only false;
why?

@summertanh

If shouldPollResponse  is set to be true, tronWeb will fetch result .  If the transfer is successful, result will be true.
Could you please check your transfer is successful or not on tronscan ?

If shouldPollResponse  is set to be true, tronWeb will fetch result . If the transfer is successful, result will be true. Could you please check your transfer is successful or not on tronscan ?

transfer was successful, but returned false, i also noticed, it keep on waiting for several seconds until txn gets like 20 confirmations then immediately gives false as result?
return type of this function is boolean ?  i thought it would give transaction object that includes txid,etc
i tested again today it returns false only just after txn gets 20 confirmations until then it just waits/hangs.

I have tried your code on the Nile test network and the result is true:

If  shouldPollResponse is true, tronWeb will fetch the result every 3s and the promise will pending until the transaction is confirmed.
Once the http request has get result, the promise will be resolved and return true:

Could you please confirm that if your process is Ok ?

oh,
i directly checked api with transaction hash/id
https://api.trongrid.io/wallet/gettransactioninfobyid?value=6ec42e59b8ae5de8de92b85f12c6ffcd6b34b01586a63e888f044d6be9243db4
"contractResult": ["0000000000000000000000000000000000000000000000000000000000000000"]
is it normal for USDT contract to return<PHONE_NUMBER>00000000000000000 on success?
in the result it shows "result": "SUCCESS"

@zhuqingguang thanks for the help.
i found that, i had to add rawResponse: true to args to get full result.
still no idea why the usdt contract result is<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000