Add potential to pull in a 'label' on a class

When creating reference models, one often declares a 'field' name that is equivalent to some node in the graph.
e.g.: this node E21 Person is the "Father" node
It would be nice to be able to draw from a certain property in the input rdf and use this to automatically insert this tag in the diagram (say in the node representation).
would have to pick an appropriate rdf property.
Is this something you would be interested to do?

I second the proposal.
One easy solution would be the use of a specific property such as
criteria:displayLabel ""or alternatively use rdf:value.
Between the two I would prefer the use of criteria:displayLabelbecause it will not hinder the representation of data in any way or form

Following up on this issue.
Here is an rdf/xml snippet from Linked.Art examples with rdfs:comment used as property to point to a string that would provide a label for a given node, so that you could associate a semantic diagram pattern to other forms of documentation providing identifiers to semantic paths and nodes.
`@prefix crm: http://www.cidoc-crm.org/cidoc-crm/ .
@prefix rdfs: http://www.w3.org/2000/01/rdf-schema# .
https://linked.art/example/object/E1 a crm:E1_CRM_Entity ;
crm:P1_is_identified_by https://linked.art/example/conceptual_object/4_1 .
http://vocab.getty.edu/page/aat/300404670 a crm:E55_Type ;
rdfs:label "preferred terms" .
https://linked.art/example/conceptual_object/4_1 a crm:E33_E41_Linguistic_Appellation ;
rdfs:label "Name_label_value" ;
crm:P106_is_composed_of https://linked.art/example/name/500_1 ;
crm:P190_has_symbolic_content "Name_string_value" ;
crm:P2_has_type http://vocab.getty.edu/page/aat/300404670 ;
crm:P67i_is_referred_to_by https://linked.art/example/textual_object/44_1 ;
crm:P72_has_language https://linked.art/example/type/7_1 ;
rdfs:comment "LAF.4_name_label" .
https://linked.art/example/name/500_1 a crm:E33_E41_Linguistic_Appellation .
https://linked.art/example/textual_object/44_1 a crm:E33_Linguistic_Object .
https://linked.art/example/type/7_1 a crm:E56_Language .
`
I also attach an annotated image of what this might then end up looking like.

Another thought that occurs to me that would be great is if we had another property that point to a resolvable URI where you could look at the documentation for a particular node. So if you had this property filled out then the node would become clickable and if you clicked it you would go to the documentation page for that entry node.

While working on this feature to add the "field name" to the ontological diagram. I hit a roadblock with fields that are Literal, rather than a CRM class. So for example:
<https://www.chin-rcip.ca/e52/0001> a crm:E52_Time-Span ;
	crm:P82a_begin_of_the_begin "1888-03-14T00:00:00"^^xsd:dateTime ;
	crm:P82b_end_of_the_end "1888-03-14T23:59:59"^^xsd:dateTime .

<https://www.chin-rcip.ca/e53/0001> a crm:E53_Place ;
	rdfs:label "Laval, Québec"^^xsd:string .

Say if we used rdfs:comment (or another prop), we can add
<https://www.chin-rcip.ca/e53/0001> rdfs:comment "Birth Place"

but we can't do the same for Birth Date Begin ("1888-03-14T00:00:00"^^xsd:dateTime) and Birth Date End ("1888-03-14T23:59:59"^^xsd:dateTime ).
If you had any ideas or thought on how to solve this challenge, it would be really great.

I don't know if @Habennin and @ncarboni  use their "field names" on primitive values, but we do that often in DOPHEDA. As such, I think it would be interesting to be able to display the value of the rdfs:comment (or another prop) either on the class or on the primitive value according to the user's wishes. If we want to do that, I think we could consider a mechanism such as mentioning the code of the datatype property in the value of the rdfs:comment. Something like: rdfs:comment "P82a: Birth Data Begin". If there is no code, the name is applied to the class.
What do you think?

Hi @illip  and @TrangDg ,
This is indeed a headscratcher. Philippe's solution would be one way to go. Another solution I have done is to put the name of the 'field' as the value in the label. This works for the ontology view level. Obviously if you put in example data then you would have to put in the actual value and you would no longer see this label.
Speculation but could one use a datatype in the literal and use this as a means to sort.
So actual literals would be interpreted normally, but literals in a specific datatype form could be read as labels?
Does that make sense?
G

Thank you for your suggestion @Habennin . :)
If I understood correctly, it would be something as below?

Thank you @Habennin !
To be honest, I'm not well-versed in SHACL either, so I hope my answers to your questions are correct and sufficient.

To systematically add these SHACL shapes, it would depend on the method to generate these RDF files. Either you embed them in the data RDF itself or have a separate shape file for all patterns RDF.
Regarding the application of SHACL, my understanding is that it is used to define constraints of your data and validate it. It means that the validation purpose still works in this application for CRITERIA but it's specific to the exemplary data, so I believe the it wouldn't be valid when checking against data besides the examples.
In the case you will have SHACL shape for all your data later on, conflicts would occur depending on the constraints defined in this SHACL but when validating you can specify the SHACL shape you want to use (though I haven't tested against the ref I posted above).

yes, I had the same thought of styling the vocab ID and label differently, and personally I would vote for italics as underlined can be mistaken as link.

Best,
Trang

Dear @TrangDg ,
Just returning to this a bit after our conversation. Aside from the SHACL vs named graph question, another thing would be how and where we want to represent the name of the node, and, where important, the set instance data from the examples (like for vocabularies but potentially also for place and period). I'm just dropping a few examples playing around with the idea you already put in.

Cheers,
George

The more I think about it, the more I think the SHACL proposal makes sense. If you think so too, maybe I could create some test data for it?

Hello @Habennin,
I continue my previous SHACL experiment but with a small twist based on SPARNA's SHACL documentation. Basically, the shacl rules will be stored in a separate file rather than be included in the same example data file, and it's optional.
The shacl template for each annotated node:
<shape-URI> a sh:NodeShape ; # Shape of the subject node of the triple in which the labelled node is the object
        skos:example <URI-of-the-subject-node-from-the-input-rdf> ;
	sh:property [
		sh:path <predicate-URI> ;
		sh:defaultValue <value-of-labelled-node> ;
		sh:name "node-label" ;
		sh:description "URL-to-node-documentation" ;
	] .

Shacl example:
ex:BirthPlace a sh:NodeShape ;
	skos:example <https://www.chin-rcip.ca/e2/0001> ;
	sh:property [
		sh:path crm:P7_took_place_at ;
		sh:defaultValue geoname:6050610 ;
		sh:name "Birth Place" ;
		sh:description "https://chin-rcip.github.io/collections-model/en/semantic-paths-specification/current/entry-nodes#birth-place" ;
	] .

ex:BirthDate a sh:NodeShape ;
	skos:example <https://www.chin-rcip.ca/e52/0001> ;
	sh:property [
		sh:path crm:P82a_begin_of_the_begin ;
		sh:name "Birth Date Begin" ;
		sh:description "https://chin-rcip.github.io/collections-model/en/semantic-paths-specification/current/entry-nodes#birth-date-begin" ;
		] ;
	sh:property [
		sh:path crm:P82b_end_of_the_end ;
		sh:name "Birth Date End" ;
		sh:description "https://chin-rcip.github.io/collections-model/en/semantic-paths-specification/current/entry-nodes#birth-date-end" ;
		] .

Shacl explanation:
The below RDF snippet is used for demonstration (matching to the first node shape in the example above):
<https://www.chin-rcip.ca/e2/0001> a crm:E67_Birth ;
	crm:P7_took_place_at geoname:6050610.

The idea was to annotate the specific node in the input RDF, i.e geoname:6050610. However, I think there would be a good chance of this node value resused in different semantic within the same pattern or RDF, thus less unique than its triple subject, in this case the URI of Birth <https://www.chin-rcip.ca/e2/0001>. So I use the subject node of the triple in which the annotated node is the object as the "anchor" NodeShape.

skos:example (required) is used to add the subject node URI, e.g. <https://www.chin-rcip.ca/e2/0001>. This property won't intefere with the actual shacl validation, unlike the previously used property sh:targetNode.

For the property shape, besides the property sh:path which pinpoints the predicate of the triple, the other shacl properties are non-validating, i.e. not interfering with the actual shack validation. Although these shacl properties describes the property shape, not the annotated node per se, I think its semantic is valid for our use. For example, the name of crm:P7_took_place_at in this particular pattern indicates that its usage is for Birth Place.

sh:path (required): predicate URI, e.g. crm:P7_took_place_at.
sh:name: the annotated node label, e.g. "Birth Place".
sh:describe: the URL of the annotated node's documentation. This value is embedded to the annotated node in the diagram
sh:defaultValue: the specific value of the annotated node, could be URI or literal, e.g. geoname:6050610. If URI, this value is embedded to the value node in the diagram if applicable.

Note: Annotated nodes sharing the same subject node can be grouped together, see the example for Birth Date.

Diagrams:
Due to the difficulty of combining to types of diagrams into one (flowchart and class) with mermaid, I used subgraph in flowchart diagram to group together the components (label, value) of the annotated node instead. See the below examples:

Birth's pattern
Social Status pattern

PS: Taking on your offer, could you please create some test data for it?
Thanks,
Trang

@Habennin I updated the codes with the optional SHACL shape for node annotation. If you had a chance to test it out, and there was no issue, we can close this issue and issue #14.
Thanks! :)


APIC MSRs setup

bfvmm/include/intrinsics/x86/common/msrs_x64.h: Moved ia32_apic_base
bfvmm/include/intrinsics/x86/intel/apic/lapic.h: Added ia32_apic_base, swapped noexcept override, added enable / disable xapic and x2apic functions
bfvmm/include/intrinsics/x86/intel/apic/x2apic.h: Added x2apic msrs and swapped noexcept override
bfvmm/include/intrinsics/x86/intel/apic/xapic.h: Swapped noexcept override
bfvmm/include/intrinsics/x86/intel/cpuid_intel_x64.h: Added missing CPUID leafs
bfvmm/include/intrinsics/x86/intel/msrs_intel_x64.h: Moved x2apic msrs
bfvmm/src/intrinsics/tests/...: Moved appropriate unit tests

Codecov Report

Merging #1 into lapic will increase coverage by 51.38%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##            lapic       #1       +/-   ##
===========================================
+ Coverage   46.63%   98.01%   +51.38%
===========================================
  Files          73      249      +176
  Lines        2316    64148    +61832
  Branches      140     1081      +941
===========================================
+ Hits         1080    62875    +61795
+ Misses       1216      543      -673
- Partials       20      730      +710

Impacted Files
Coverage Δ

bfvmm/src/intrinsics/tests/test_msrs_x64.cpp
100% <ø> (ø)

...vmm/include/intrinsics/x86/intel/cpuid_intel_x64.h
100% <ø> (ø)

...fvmm/include/intrinsics/x86/intel/msrs_intel_x64.h
100% <ø> (ø)

bfvmm/src/intrinsics/tests/test_msrs_intel_x64.cpp
100% <ø> (ø)

bfvmm/include/intrinsics/x86/common/msrs_x64.h
100% <ø> (+100%)
:arrow_up:

bfvmm/include/intrinsics/x86/intel/apic/x2apic.h
100% <100%> (ø)

...src/intrinsics/tests/test_apic_intel_x64_lapic.cpp
100% <100%> (ø)

...rc/intrinsics/tests/test_apic_intel_x64_x2apic.cpp
100% <100%> (ø)

bfvmm/include/intrinsics/x86/intel/apic/lapic.h
100% <100%> (ø)

bfelf_loader/tests/test_fake_elf.cpp
100% <0%> (ø)

... and 209 more

Continue to review full report at Codecov.

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


new i2c driver can not run without an i2c address (IDFGH-13128)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
idf5.2.2
Espressif SoC revision.
esp32s2
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
CMD
Development Kit.
esp32s3
Power Supply used.
USB
What is the expected behavior?
There are some chipsets such as ch423s without an i2c address, however, you can use old i2c driver to control the reading and writing to those kinds of chipsets. But in new version of i2c driver, you have to config an address in the bus and config, thus, it failed to communicate with those chipsets.
The followings are codes in old driver, which runs ok with ch423s.
err = i2c_master_start(handle);

if (err != ESP_OK) {

    goto end;

}
err = i2c_master_write_byte(handle, ( unsigned char )( cmd>>8 ) , true);

if (err != ESP_OK) {

    goto end;

}

err = i2c_master_write_byte(handle, ( unsigned char ) cmd , true);

if (err != ESP_OK) {

    goto end;

}

What is the actual behavior?
failed wit communicate with ch423s
Steps to reproduce.
as above
Debug Logs.
No response
More Information.
No response

TBH, the new driver is designed strictly follow the standard i2c protocal - which means there must be an address. For product you provide ch423s. I went through its datasheet, it doesn't call its I2C at all. It only says this is two wire serial interface also it uses scl/sda name
Though it's possible to support this in new driver but it will not be treated as a high priority task fyi.

Won't do this support now.


License?

Please add a LICENSE file to the repository.
Thanks.

Hi 👋 sorry, I just noticed we forgot to add a license. I’ve asked our legal team and will add one, but this is hugging face so expect an open source license 👌🏽

https://github.com/huggingface/speech-to-speech/pull/31


Creating pull request for 10.21105.joss.01359

If this looks good then :shipit:

@arfon, it looks like there is no citation list in the CrossRef XML. The paper has a good-sized list of references with DOIs, so that seems wrong...


[Feature] Prefix cache hit/miss/eviction statistics to detect cache thrashing

Motivation
I'm trying to optimize a production scenario where I need to fit a 70B parameter model within 48GB of VRAM, and after the model weights there is only enough room for about 20 chat threads in the prefix cache. I'm trying to work out how much of a bottleneck this is in "the real world" - i.e. with actual traffic, since there are a lot of factors that are a bit difficult to test - different prompt lengths, bursts of requests, various amounts of overlap between different chat threads, etc.
It would be great if there were some way to count evictions so it would be clear if the limited VRAM for prefix cache is causing a bottleneck.
(Even more ideal would be if the cache manager kept hashes of recently evicted content so it can determine whether a recently evicted prefix was "requested", so it would be able to automatically detect "cache thrashing")
Related resources
No response
Additional context
No response

Probably the easiest/simplest feature that would solve this for me would be to have some way to know whether a particular request hit the prefix cache or missed it. E.g. in the first or last EventStream JSON object it could just be a boolean or something.

Similar things can be done. Since LMDeploy currently does not have any infrastructure for monitoring, such as the open-source implementation at https://github.com/vectorch-ai/ScaleLLM/tree/main/monitoring, if we want support, we need to design the overall functionality.

Similar things can be done. Since LMDeploy currently does not have any infrastructure for monitoring, such as the open-source implementation at https://github.com/vectorch-ai/ScaleLLM/tree/main/monitoring, if we want to support, we need to design the overall functionality.

Based on my previous experience, the implementation of monitoring usually falls into the following categories:

In large companies, there is usually a relatively complete data collection and monitoring display system, similar to CAT. In this case, we only need to integrate the corresponding SDK and use it according to the documentation.
In open source software, such as the aforementioned ScaleLLM implementation, prometheus and grafana are used, which is also a common practice compatible with open source toolchains.
The third type is based on my work experience at Baidu. For C++ projects, we can implement it by inheriting bvar from bRPC. Because TurboMind is used as a Python so in LMDeploy, this approach may cause some trouble and requires proof of concept verification.

After having the monitoring function, we can conveniently calculate the statistics of FTL and PTL, as well as data related to the Prefix Cache that you mentioned.
cc @lzhangzz @lvhan028

Due to @lzhangzz  having higher priority matters to attend to, please refer to https://github.com/InternLM/lmdeploy/issues/1970#issuecomment-2217138900 for details.
I will follow up on this issue for now.

cc @ispobock


Publish Helm chart 0.3.1

Summary
Publish the Helm chart for latest release otel-collectors-0.3.1.

Published with #66.


tippy: Only change background color of tooltips with no theme.

This change was not aimed at popovers that use tippy. Since
popovers use light theme and tooltips don't, we use this
not[data-theme] selector to exclude popovers from being
affected by this change.
reported here - https://chat.zulip.org/#narrow/stream/9-issues/topic/compose.20menu.20mode

Merged, thanks @amanagr!


[REQUEST] Shortening error messages of certain modules similarly to frame suppression in tracebacks

How would you improve Rich?
Allow automatic shortening of error messages. Could be implemented similarly to frame suppression. A shortened message would keep only, for example, 3 lines, and the number of lines could be controlled similarly to max_frames in Traceback
What problem does it solve for you?
Chained exceptions can get quite long in frameworks that build on top of several other codebases. The error messages in some of the exceptions in the chain can be almost certainly always useless. Shortening them would make debugging way simpler.
In my framework, I would by default have certain modules' error messages shortened/supressed automatically, unless the debug mode is activated.
For example, the RuntimeError here:

Would become this if max_error_lines=3 (or whatever the name would be):
RuntimeError: Failed to instantiate component 'lighter.utils.model.adjust_prefix_and_load_state_dict' with kwargs: {'ckpt_to_model_prefix':
{'_orig_mod.': ''}, 'ckpt_path': '/mnt/ssd1/rogueone/ibro/CT_FM/ct_fm_nsclc/checkpoints_8_Jan_2024/random_init_100/epoch=152-step=6579.ckpt',
'model': SegResNetDS(
...

Alternative
Please let me know if there is already a way to achieve this. Also, if this is something that you would indeed like to have, feel free to briefly instruct me in how it could be achieved and I would be happy to try to make a pull request.

or, alternatively, add an option to just shorten the error messages of the already suppressed modules. That won't be as complex and will probably be just enough amount of control -- in my case, that would actually be perfect.


Anonymous classes?

A question of curiosity: If I were to write an event handler, I could either use block arguments - or I could use anonymous classes.
event.set class {
  onA() {...}
  onB() {...}
}

Something like the above would be nice to have, as using maps for that looks a little bit weird due to all the quotes - it just feels like mis-typed JSON :)
{
  "onA": {...},
  "onB": {...}
}

So would anonymous classes be possible in order to pass more complex structured arguments?

Le dim. 11 nov. 2018 à 11:44, Ingwie Phoenix<EMAIL_ADDRESS>a
écrit :

A question of curiosity: If I were to write an event handler, I could
either use block arguments - or I could use anonymous classes.
event.set class {
onA() {...}
onB() {...}
}
Parenthesis removal does not seems desirable in that case. The compiler
will not allow it as this, and I don't think it is a valuable syntaxic
sugar.

Something like the above would be nice to have, as using maps for that
looks a little bit weird due to all the quotes - it just feels like
mis-typed JSON :)
{
"onA": {...},
"onB": {...}
}
There should be a Fun.new in front on the methods also.

So would anonymous classes be possible in order to pass more complex
structured arguments?

Short answer yes. Since the language is untyped you can always pass
anything that has the correct interface. But if you need to check for
methods, for now in the collee, there is only 'Fiber.try'  unfortunately.

I see. Looks like I will have to go with other ideas then. Thank you for the reply. :)


Add AuthorizationCode flow & more specs for Password flow

Coverage increased (+1.2%) to 98.971% when pulling 75e3007f8d1e9cc5c8db6e1fe3898f0fd6c6389d on add_authorization_code_flow into 7de88c7997c5a45f9f4b707991b469fe088dd0ce on master.


Error: GOOGLE_MAPS_API_KEY environment variable is not set

Describe the bug
Cannot connect to Google maps MCP server. When I try to run command manually:  npx -y @modelcontextprotocol/server-google-maps I am getting  "GOOGLE_MAPS_API_KEY environment variable is not set" but my API key is provided inside cline_mcp_settings.json
To Reproduce
Follow instructions from https://github.com/modelcontextprotocol/servers/tree/main/src/google-maps .
Tried with Cline and RooCline
Expected behavior
MCP server should be up and running

ok, managed to find quite weird workaround to this. Changed cline_mcp_settings.json to something like this:
    "google-maps": {       "command": "cmd",   "args": [     "/c",     "cd C:\\Users\\kostr\\AppData\\Roaming\\npm && npx -y @modelcontextprotocol/server-google-maps"   ],       "env": {         "GOOGLE_MAPS_API_KEY": "[mykey]"       }     }
and it works now. Not sure why default command is not working.


User mutation

Allow users to edit their user profile. Should include name and newsletter subscription status.

 Newsletter Support

 User Management


Allow using specific credentials for Checks

What feature do you want to see added?
Currently, the Checks API uses the GitHub App credentials used to check out the code. We tested the GitHub Checks Plugin with one of our template pipelines (some linters, warningsNg, test coverage, etc.) and it consumed between 50-100 requests from the rate limit. Our rate limit is 15.000 / hour, so we could build ~150 builds per hour of this kind.
We provide a Jenkins instance for lots of users and rate limits are a serious issue. If the checks failed because the rate limit breaches, it wouldn't be such a big issue, but if the checks cause our rate limits to breach and as a result not even the checkouts work anymore, we definetly have an issue.
This could be solved by giving the possibility to define extra credentials for the checks plugin. This would decouple the rate limit of the checks from the more critical rate limit of checking out code.
This would also allow users to solve a security issue: If the App is no longer used to checkout code, it does no longer need permissions to the repository contents and could be reduced to having access to the Checks. In GitHub Enterprise, a GitHub App cannot be created by the user themself. We have to set it up and he can then add their own repository to it (limited to 100 repositories). This of course also grants all other users of the app access to his repository.
With the new feature, the user could use their own personal access token to checkout the code and use the GitHub App only for the checks.
Thanks for this plugin - it is very useful!
Upstream changes
No response

If this were implemented, then it could be possible to specify the credentials ID in the withChecks and publishChecks pipeline steps, but I don't think those could control which credentials Jenkins uses for "status checks". That would instead have to be set in the configuration of the project, perhaps as part of GitHubSCMSourceChecksTrait.

You can tune what it does by e.g. disabling Suppress progress updates in job check
That would likely reduce your rate limiting chance.
Or creating multiple GitHub org folders each with it's own GitHub app to get 15000 api calls per folder

You can tune what it does by e.g. disabling Suppress progress updates in job check
That would likely reduce your rate limiting chance.

Yes, with that option it goes down from 100 requests to 50.

Or creating multiple GitHub org folders each with it's own GitHub app to get 15000 api calls per folder

We do not use GitHub Org folders. We use normal Multibranch pipelines in combination with the GitHub Branch Source plugin.  This would also bring high maintenance efforts on our administration site if we had to create an app for every team.
By the way, a user just wrote me a few minutes ago that they noticed that the Checks plugin used 1500 API calls from their app within 5 minutes.. maybe batching API calls is an option? Not sure if thats possible with the GitHub API.

Roughly it should be doing:

Queued
Inprogress
Completed

Along with

Completed

For each plugin you are using that is integrated with checks

By the way, a user just wrote me a few minutes ago that they noticed that the Checks plugin used 1500 API calls from their app within 5 minutes.. maybe batching API calls is an option? Not sure if thats possible with the GitHub API.

Unlikely but not useful without knowing what calls were done or more details

Roughly it should be doing:

Queued
Inprogress
Completed

Along with

Completed

For each plugin you are using that is integrated with checks

By the way, a user just wrote me a few minutes ago that they noticed that the Checks plugin used 1500 API calls from their app within 5 minutes.. maybe batching API calls is an option? Not sure if thats possible with the GitHub API.

Unlikely but not useful without knowing what calls were done or more details

I think you are right. Probably mixed this up with the pipeline scan, as it scans every time after the new config is applied. I guess that made many API calls.
I tested it again. I made two runs, one with updating checks regularly (91 calls) and one  without (37 calls), so disabling the updated checks certainly helps.
I guess we would need an option to enforce this for all users, especially since it is enabled by default.


OSX Support

I'm not yet fluent with Unreal Engine plugins but I was wondering why this plugin doesn't work on Mac? It seems like it uses builtin functionality that is cross platform so theoretically should be able to work on Mac as well?

I do not own a Mac so I can not test if it works/compiles.


Fixed a bug that it was taking Array.prototype functions as keys in loop.

Added hasOwnProperty check in method Router.resolveRoute that matches predefined routes in for..in loop.
This fixed a bug that it was taking Array.prototype functions as keys in loop.

Coverage increased (+0.005%) to 97.852% when pulling 8b770725d0759cff006f0a7b4a9654f5de46f22e on domasd:next into 8a78ab35528ed329b854a0cfe3502735b76cc90f on Profiscience:next.

Hey, thanks for your contribution!
Could you add a unit test or explain to me what was causing the issue so I can create one? From my understanding for...in only loops through enumerable properties so I want to better understand why the check is necessary.

Hi caseyWebb!
It's just a simple case when there is something in Array.prototype, so it gets enumerates as well.
From MDN - "The loop will iterate over all enumerable properties of the object itself and those the object inherits from its constructor's prototype"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in)
This code snippet show's the problem in action:
var array = [1,2,3];
Array.prototype.someFunction = function(){};
for(var key in array) console.log(key);

I thought I formatted and merged this already 😅
my bad

Coverage increased (+0.02%) to 97.862% when pulling e69c1f69443d5fd162b776e0905a04744743a76d on domasd:next into 8a78ab35528ed329b854a0cfe3502735b76cc90f on Profiscience:next.


Fixed some types and some minor formatting issues.

Merged. Thanks for helpin out with the spellin!


missing map.tscn

Hi I'm trying to run the demo scene but the map.tscn packed scene doesn't seem to be checked in.   How should I proceed?
I'm using Godot 4.3beta1.

Hi, looks like I made mistake. I forgot to create a map scene which is devoid of references to the Qodot addon, which I use for map creation (Qodot stuff is git ignored). I'm currently rewriting the script and also changing other stuff in the demo, because the currently uploaded implementation is pretty bad. Once I'm done, which shouldn't take too long now, I will pay attention to this when updating the project.

okay thank you.  I'm new to godot but may I suggest including the various addons in the repo?  to ensure the versions match/dependencies resolved.

The reason addons are not included, because they are only useful for me in aiding the development process (map making, debugging), they are not used by the character controller script, so I leave them out so that the demo project is smaller in size and complexity. While Godot Jolt is not necessary for the script to work, I highly recommend it, because character controllers greatly benefit from the improved collision detection of Jolt Physics. The only reason it's not included, is that it's really large in size.

thank you for the explanation, it makes sense.   I think I was able to get your demo scene working (I added some qodot packed scene as the map) so I will start off looking at what's here :)

I've updated the project with the latest version of the script, and added the missing map scene (e9bc814).


micos complex/ cristae junction

I thought the micos complex was the cristae junction.

if not is it part_of ?

From a quick look at lit, it seems that it is a complex involved in the maintenance of cristae junction, not the junction itself?

I don't think they are separable....
see
https://link.springer.com/article/10.1007%2Fs00441-016-2433-7#Fig2
from
https://www.ncbi.nlm.nih.gov/pubmed/27245231

Seems that it should be part_of?

OK maybe not. If it forms the contact site with the OM and this results in the formation of the cristae junction...
Will close...

stest.
However the def of crista junction looks wrong
-- | --
A tubular structure of relatively uniform size that connects a mitochondrial crista to the mitochondrial inner boundary membrane.
shouldn't that be connects cristae  to the mitochondrialouter membrane. In which case they would be equivalent?

Yes, it is  joins the inner membrane t the outer membrane and this forms the  cristae junction. At least that is how I understand it but that could be wrong.
See

from the review above. Which is your paper?
Do we have a mitochondria expert?

The only things I have annotated to the cristae junction are MICOS (ISS from SGD)

OK, I had forgortten about this one
https://github.com/geneontology/go-ontology/issues/15245
partly overlapping...

What's the action here ?

can close,  issues covered by #15245


Some enhancements for the ingest and the dashboard

First of all thank you for this extremely helpful tool.
However I would propose some of the following adjustments.
I have observed the same like in your screenshot.
https://github.com/andrewkroh/go-ingest-node-metrics/blob/main/docs/ingest-node-pipeline-dashboard.png

Please have a look at the conditionals like e.g. the cisco asa pipeline this if condition if in reality based on a date processor with names like 7_conditional or 181_conditional which don't really help what exact processor equivalent in the pipeline this is about:
https://github.com/elastic/beats/blob/v7.13.3/x-pack/filebeat/module/cisco/shared/ingest/asa-ftd-pipeline.yml#L73-L104
and looking to the elasticsearch /_ingest/pipeline query the resulting equivalent JSON looks like that:

However looking to the relevant part of the /_nodes/stats query the date processor is not really reflected as of the key, but the other 2 show the relevant used processor and not only the type as conditional itself.

So it would be helpful a lot if one could ingest the pipeline stats key itself to identify better, what exact processor inside the pipeline this is talking about, and then reflect that one in the dashboard pie.

Another enhancement would be to add column pipeline to the Processor Stats Table in case multiple pipelines are used:

Finally it would be really cool if there could be configured a cluster with https (maybe with ignored certificated validation) but as of now it's only possibly to ingest into an elasticsearch cluster with http.

Finally it would be really cool if there could be configured a cluster with https (maybe with ignored certificated validation) but as of now it's only possibly to ingest into an elasticsearch cluster with http.

The --es-url will accept an https:// URL, but the endpoint must have valid certs since there is no way to ignore validation errors.

Ah, ok perfect. I was even not aware of the helping parameters.
BTW it seems that normally there is a method to do this
https://pkg.go.dev/net/http#ListenAndServeTLS
however I immediately managed to do this part testing this parameter:
>go-ingest-node-metrics -h
Usage:   pipeline-stats [flags] node-stats-json-file
  -api-key string          Elasticsearch API key
  -es-url string           Elasticsearch URL (default "http://localhost:9200")
  -import-id string        import ID (default "1626724703319581600")
  -index string            name of index to create (default "pipeline-stats")
  -p string                Elasticsearch password
  -u string                Elasticsearch username
>go-ingest-node-metrics -u elastic -p changeme -es-url https://localhost:9200 nodes_stats.json
  Creating new "pipeline-stats" index.
  Sucessfuly indexed [14448] documents.
# and still managed to import directly to kibana the dashboard, just for documentation:
>curl -k -uelastic:<pw> -XPOST "https://localhost:5601/api/saved_objects/_import?overwrite=true" -H "kbn-version: 7.11.2" --form<EMAIL_ADDRESS>
So seems like point 3 is immediately solved now.
So still curious about 1. and 2. Thank you.

So for (1) are you proposing that it would read both the node stats and the pipeline definition in order to enrich the data with a better description and/or processor_name?
And for (2) that makes sense and would be easy to add.

For (1) just let me add another screenshot, I think ingesting the missing ones would be enough:

Implemented by https://github.com/andrewkroh/go-ingest-node-metrics/commit/b5aa4514d8014da860b1c529f4748791feea1ebc. See the commit for a full description of the changes.

Thank you, however I thought you would ingest the keys like shown of the json without the need of an extra -pipelines-json field?
Because sometimes you will have a pipeline that basically works with multiple pipelines included. So how would you do that then?
Additionally I didn't get it working.
With having all pipelines in pipeline.json I get the error
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
main.denormalizeIngestStats(0xc000006048, 0xc000305950, 0xc000305950, 0x0, 0x0)
        .../go/src/github.com/andrewkroh/go-ingest-node-metrics/pipline.stats.go:266 +0xc59
main.main()
        .../go/src/github.com/andrewkroh/go-ingest-node-metrics/pipline.stats.go:206 +0x14a

and with having the direct pipeline in the file I get error:
2021/10/02 22:13:28 json: cannot unmarshal string into Go value of type main.IngestPipeline

Finally you are using embed which is only possible to use since go 1.16 https://tip.golang.org/doc/go1.16#library-embed, otherwise one will result in error:
pipline.stats.go:23:2: package embed is not in GOROOT (.../.gvm/versions/go1.14.7/src/embed)

when trying to execute
go get github.com/andrewkroh/go-ingest-node-metrics

I thought you would ingest the keys like shown in the former screenshot of the simple json without the need of an extra -pipelines-json parameter?

It seems I did not understand the information being conveyed in the screenshot. I thought the problem was that for processors with if conditions that it was showing the processor name as 7_conditional and the desired valued was 7_date. I didn't see anywhere in the stats that indicated the underlying processor was date so I got it from the pipeline definition.

and with having the direct pipeline in the file I get error:

2021/10/02 22:13:28 json: cannot unmarshal string into Go value of type main.IngestPipeline

It only works if the format of the pipelines-json file is as given from GET _ingest/pipeline.

Finally you are using embed which is only possible to use since go 1.16

Yes. It requires Go 1.16.

It seems I did not understand the information being conveyed in the screenshot. I thought the problem was that for processors with if conditions that it was showing the processor name as 7_conditional and the desired valued was 7_date.

Ok, what I meant is to have the information ingested into elasticsearch like the main keys looking back to the screenshots that are basically marked as missing in the screenshot.
So for the screenshot documents that would be having an additional field like this for every sub structure:
compound:CompoundProcessor-null-null
sort
sort

At the moment field processor_name seems to be a combination of the count of the type progressing over the pipeline.
So having this key in addition would make the name much more comprehensive like e.g. from former
1_conditional
2_conditional
3_conditional

to
1_conditional_compound-CompoundProcessor-null-null
2_conditional_set
3_conditional_set

seems to be much more informative for me. Hope that makes now a better sense of what I mean.

It only works if the format of the pipelines-json file is as given from GET _ingest/pipeline.
I went ahead and checked again and now it was working, but still with the downside that this works only if I have a GET _ingest/pipeline file, which might not always be the case.

I added a stat_name field that contains the data that was labeled as missing in a171aca8c4c536da5983db6227beedb590362888.
So right now when ingesting with -pipelines-json you will get a processor_name that's composed as:
{{index}}_{{real processor type}}_{{optional tag}
That would be 1_script_remove_nulls or 1_script if there were no tag. There is field indicating if the processor is conditional and a stat_name containing the name from the _nodes/stats (e.g. compound-CompoundProcessor-null-null).
{
  "import_id": "1633382126520459000",
  "metric_type": "processor",
  "node": "abcdefghijklmnopqrstuvwxyz",
  "pipeline": "filebeat-7.12.0-crowdstrike-falcon-pipeline",
  "count": 0,
  "current": 0,
  "failed": 0,
  "time_in_millis": 0,
  "stat_name": "compound:CompoundProcessor-null",
  "processor_index": 31,
  "processor_type": "set",
  "processor_name": "31_set",
  "pipeline_stats": {
    "count": 0,
    "current": 0,
    "failed": 0,
    "time_in_millis": 0
  },
  "calculated": {
    "execution_time_avg_ns": 0,
    "time_pct": 0,
    "failed_pct": 0
  },
  "definition": "{\n          \"field\" : \"user.email\",\n          \"value\" : \"{{user.name}}\",\n          \"ignore_empty_value\" : true,\n          \"ignore_failure\" : true,\n          \"if\" : \"ctx?.user?.name != null && /@/.split(ctx.user.name).length == 2\"\n        }",
  "conditional": true
}

That's extreemely nice. That's working having the field now for searches. Thank you for this enhancement. Even when ingested with out -pipelines parameter having the field allows double checking the matching processor. 👍


Dev

union validation error location fixed.
potential memory leak fixed. See https://github.com/dapper91/pydantic-xml/issues/222.
python 3.13 support added.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.00%. Comparing base (b95ef02) to head (97d6af8).
Report is 38 commits behind head on master.

Files with missing lines
Patch %
Lines

pydantic_xml/serializers/factories/model.py
50.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #224      +/-   ##
==========================================
- Coverage   92.05%   92.00%   -0.05%
==========================================
  Files          29       29
  Lines        1648     1651       +3
==========================================
+ Hits         1517     1519       +2
- Misses        131      132       +1

Flag
Coverage Δ

unittests
92.00% <94.44%> (-0.05%)
:arrow_down:

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

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


ARROW-9196: [C++][Compute] All casts accept scalar and sliced inputs

This is primarily a refactoring of the tests for "cast" to ensure that every case is also verified with scalar and sliced inputs through CheckScalarUnary. Caveat: ExtensionScalar is not implemented, so those checks aren't enabled. It should be straightforward for them to be enabled in a follow up, however.
NB: also resolves ARROW-9198

@pitrou PTAL


Render markdown in project descriptions

Feature Description
Currently, project descriptions do not support markdown.
This can be useful for formatting the text, adding several paragraphs to the description, adding links, etc..
Screenshots
No response

Markdown is already supported, but not mentioned. The Field also don't use the markdown editor. I will create a PR for this.

It currently seems that the project in the repository scope does render markdown while the project in the organisation scope does not.

The project description is rendered as markdown now:


I hope

I hope have ping IP fun
tanks for you help

[
{
"title": "Apple",
"": "https://www.apple.com/"
},
{
"title": "www.163.com",
"url": "https://www.163.com"
},
{
"title": "Microsoft",
"ping": "<IP_ADDRESS>"
}
]


Unable to prepare built in card reader on IOS for tap to pay

Describe the bug
We have tap to pay feature integrated in our App. It was working great, but in last couple of days we are unable to connect to our reader on IOS devices. We are able to connect to the simulated reader but AppleBuiltIn reader is not able to connect even in live mode. Discovery of readers is successful as I get this reader:
{"availableUpdate": null, "batteryLevel": null, "batteryStatus": "unknown", "deviceSoftwareVersion": null, "deviceType": "appleBuiltIn", "id": null, "ipAddress": null, "isCharging": null, "label": "Apple Built-In (…a659)", "location": {"address": {"city": "Wilmington", "country": "US", "line2": "", "postalCode": "19807", "state": "Delaware"}, "displayName": "Nomod LLC", "livemode": false}, "locationStatus": "set", "simulated": false, "status": "offline"}
but on trying to connect I get this error:
{"code": "AppleBuiltInReaderFailedToPrepare", "message": "Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader."}
Stripe Terminal React Native SDK version
^0.0.1-beta.15
Smartphone (please complete the following information):

Device: iPhone11
OS: 17.4.1

hey @MugheesAwan if you can share your serial number we can look into this further, but in the most likely case for this error unfortunately there is nothing we can do at the moment as we are waiting to hear back from Apple on a potential fix.

Hey @nazli-stripe  the same error is also surfacing on my end. This error "Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader." is being thrown from Stripe SDK.
Is there any way to remove linked Tap To Pay reader with apple from Stripe so that we can try the basic resetting of this?

@nazli-stripe @IkjotCreates @MugheesAwan Any update on this? Some of our users in UK reported this as well.

This seems to be a general issue on 17.4.1, as we wait for a fix from Apple one potential workaround is to follow the steps in this guide: https://support.apple.com/en-ca/101582

I recently update to 17.5 on the device where I see this error, but am still seeing it. Any suggestions @nazli-stripe ?

I recently updated to 17.5 on the affected device, but am seeing the same issue. The error message is attached. Any suggestions @nazli-stripe ?
Error Domain=com.stripe-terminal Code=3910 "Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader." UserInfo={NSLocalizedDescription=Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader., com.stripe-terminal:PrepareFailedReason=Reader could not be prepared (2999), com.stripe-terminal:ReaderMessage=Error that indicates preparation failed., com.stripe-terminal:Message=Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader.}

This is reported to be fixed on 17.5.1, updating iOS versions to the latest should help alleviate the problem

This seems to be a general issue on 17.4.1, as we wait for a fix from Apple one potential workaround is to follow the steps in this guide: https://support.apple.com/en-ca/101582

Hello, I encountered the same error on an iPhone running iOS 18.1.1. After following the instructions to reset the iPhone, it started working again. However, this solution is clearly not viable, as I cannot ask all my users to reset their phones. Are there any other solutions?

This seems to be a general issue on 17.4.1, as we wait for a fix from Apple one potential workaround is to follow the steps in this guide: https://support.apple.com/en-ca/101582

Hello, I encountered the same error on an iPhone running iOS 18.1.1. After following the instructions to reset the iPhone, it started working again. However, this solution is clearly not viable, as I cannot ask all my users to reset their phones. Are there any other solutions?

hello, we have the same problem too but only one some iPhones, others are working


fix: fix double react import in Input example

Fixes #1717

Hey @navedqb thank you for contributing to NextUI, however, I already fixed this issue, it was in the sandpack hook
https://github.com/nextui-org/nextui/pull/1720/files


No Controller

Is there a possibility to add a controller property to the FlutterGooglePlacesWeb and onChanged so that the textfield value is retrieved for use.
Thank you.

Could you explain the use of the controller? For Addresses that don't come up within Google?

Sorry @jaxnz I meant TextEditingController to help read value from the TextField and onChanged to help notify of any changes to the TextField. Something related to the normal TextField behavior. Otherwise currently to get the value of the searched location one has to use FlutterGooglePlacesWeb.value in a button yet I only want to use one Widget (FlutterGooglePlacesWeb).
I hope my issue is clear now.


Asynchronous initialization: Application still restarts after 10 seconds

To help us debug your issue fill in the basic information below using the options provided
Serverless Java Container version: 1.6
Implementations: Spring Boot 2
Framework version:  SpringBoot 2.6.2
Frontend service: REST API
Deployment method: CDK
Scenario
I have a Spring Boot application on AWS Lambda that takes around 12-14 Seconds to initialize (Jpa/Hibernate, PostgreSQL, AWS-SDK). Therefore choosing Async-Init as described here.
Expected behavior
Application should constantly start between 12-14 Seconds.
Actual behavior
Applications takes double the time on a few occasions as it seems that the process gets interrupted by the runtime and Spring application is re-started. As this happens almost exactly after 10 seconds this might be related to AWS Lambda init phase is limited to 10 seconds see here.
Full log output
Paste the full log output from the Lambda function's CloudWatch logs
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|   timestamp   |                                                                                message                                                                                |
|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|<PHONE_NUMBER>874 | 16:03:19.868 [main] INFO com.amazonaws.serverless.proxy.internal.LambdaContainerHandler - Starting Lambda Container Handler                                                                                |
|<PHONE_NUMBER>248 | 16:03:20.246 [main] INFO com.amazonaws.serverless.proxy.AsyncInitializationWrapper - Async initialization will wait for 8465ms                                                                                |
|<PHONE_NUMBER>248 | 16:03:20.247 [Thread-0] INFO com.amazonaws.serverless.proxy.AsyncInitializationWrapper - Starting async initializer                                                                                |
|<PHONE_NUMBER>711 | .   ____          _            __ _ _                                                                                |
|<PHONE_NUMBER>711 | /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \                                                                                |
|<PHONE_NUMBER>711 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \                                                                                |
|<PHONE_NUMBER>711 | \\/  ___)| |_)| | | | | || (_| |  ) ) ) )                                                                                |
|<PHONE_NUMBER>711 | '  |____| .__|_| |_|_| |_\__, | / / / /                                                                                |
|<PHONE_NUMBER>711 | =========|_|==============|___/=/_/_/_/                                                                                |
|<PHONE_NUMBER>732 | :: Spring Boot ::                                                                                |
|<PHONE_NUMBER>122 | 2022-03-18 16:03:22.119  INFO 9 --- [       Thread-0] o.s.boot.SpringApplication               : Starting application using Java <IP_ADDRESS> on X with PID 9 (started by sbx_user1051 in /var/task)                       |
|<PHONE_NUMBER>123 | 2022-03-18 16:03:22.123  INFO 9 --- [       Thread-0] o.s.boot.SpringApplication               : No active profile set, falling back to default profiles: default                                                                    |
|<PHONE_NUMBER>044 | 2022-03-18 16:03:24.044  INFO 9 --- [       Thread-0] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.                                                                         |
|<PHONE_NUMBER>195 | 2022-03-18 16:03:24.194  INFO 9 --- [       Thread-0] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 124 ms. Found 1 JPA repository interfaces.                                              |
|<PHONE_NUMBER>145 | 2022-03-18 16:03:25.145  INFO 9 --- [       Thread-0] c.a.s.p.i.servlet.AwsServletContext      : Initializing Spring embedded WebApplicationContext                                                                                |
|<PHONE_NUMBER>145 | 2022-03-18 16:03:25.145  INFO 9 --- [       Thread-0] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2885 ms                                                                     |
|<PHONE_NUMBER>572 | 2022-03-18 16:03:25.570 DEBUG 9 --- [       Thread-0] c.a.s.p.i.servlet.AwsServletContext      : Adding filter 'characterEncodingFilter' from org.springframework.boot.web.servlet.filter.OrderedCharacterEncodingFilter@6b571429    |
|<PHONE_NUMBER>576 | 2022-03-18 16:03:25.576 DEBUG 9 --- [       Thread-0] c.a.s.p.i.servlet.AwsServletContext      : Adding filter 'formContentFilter' from org.springframework.boot.web.servlet.filter.OrderedFormContentFilter@13792c8e                |
|<PHONE_NUMBER>576 | 2022-03-18 16:03:25.576 DEBUG 9 --- [       Thread-0] c.a.s.p.i.servlet.AwsServletContext      : Adding filter 'requestContextFilter' from org.springframework.boot.web.servlet.filter.OrderedRequestContextFilter@3b022687          |
|<PHONE_NUMBER>016 | 2022-03-18 16:03:26.016  INFO 9 --- [       Thread-0] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...                                                                                |
|<PHONE_NUMBER>841 | 2022-03-18 16:03:26.840  INFO 9 --- [       Thread-0] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.                                                                                |
|<PHONE_NUMBER>084 | 2022-03-18 16:03:27.084  INFO 9 --- [       Thread-0] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]                                                                           |
|<PHONE_NUMBER>359 | 2022-03-18 16:03:27.359  INFO 9 --- [       Thread-0] org.hibernate.Version                    : HHH000412: Hibernate ORM core version [WORKING]                                                                                |
|<PHONE_NUMBER>844 | 2022-03-18 16:03:27.843  INFO 9 --- [       Thread-0] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}                                                                            |
|<PHONE_NUMBER>230 | 2022-03-18 16:03:28.230  INFO 9 --- [       Thread-0] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL10Dialect                                                                 |
|<PHONE_NUMBER>816 | START RequestId: f3c2bd44-cdee-41f7-b453-3c7dXX10043e Version: $LATEST                                                                                |
|<PHONE_NUMBER>338 | 16:03:30.311 [main] INFO com.amazonaws.serverless.proxy.internal.LambdaContainerHandler - Starting Lambda Container Handler                                                                                |
|<PHONE_NUMBER>058 | 16:03:31.055 [Thread-0] INFO com.amazonaws.serverless.proxy.AsyncInitializationWrapper - Starting async initializer                                                                                |
|<PHONE_NUMBER>058 | 16:03:31.058 [main] INFO com.amazonaws.serverless.proxy.AsyncInitializationWrapper - Async initialization will wait for 7662ms                                                                                |
|<PHONE_NUMBER>926 | .   ____          _            __ _ _                                                                                |
|<PHONE_NUMBER>926 | /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \                                                                                |
|<PHONE_NUMBER>926 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \                                                                                |
|<PHONE_NUMBER>926 | \\/  ___)| |_)| | | | | || (_| |  ) ) ) )                                                                                |
|<PHONE_NUMBER>926 | '  |____| .__|_| |_|_| |_\__, | / / / /                                                                                |
|<PHONE_NUMBER>926 | =========|_|==============|___/=/_/_/_/                                                                                |
|<PHONE_NUMBER>931 | :: Spring Boot ::                                                                                |
|<PHONE_NUMBER>364 | 2022-03-18 16:03:33.363  INFO 9 --- [       Thread-0] o.s.boot.SpringApplication               : Starting application using Java <IP_ADDRESS> on X with PID 9 (started by sbx_user1051 in /var/task)                       |
|<PHONE_NUMBER>365 | 2022-03-18 16:03:33.365  INFO 9 --- [       Thread-0] o.s.boot.SpringApplication               : No active profile set, falling back to default profiles: default                                                                    |
|<PHONE_NUMBER>765 | 2022-03-18 16:03:35.764  INFO 9 --- [       Thread-0] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.                                                                         |
|<PHONE_NUMBER>901 | 2022-03-18 16:03:35.901  INFO 9 --- [       Thread-0] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 114 ms. Found 1 JPA repository interfaces.                                              |
|<PHONE_NUMBER>130 | 2022-03-18 16:03:37.130  INFO 9 --- [       Thread-0] c.a.s.p.i.servlet.AwsServletContext      : Initializing Spring embedded WebApplicationContext                                                                                |
|<PHONE_NUMBER>131 | 2022-03-18 16:03:37.130  INFO 9 --- [       Thread-0] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3598 ms                                                                     |
|<PHONE_NUMBER>990 | 2022-03-18 16:03:37.983 DEBUG 9 --- [       Thread-0] c.a.s.p.i.servlet.AwsServletContext      : Adding filter 'characterEncodingFilter' from org.springframework.boot.web.servlet.filter.OrderedCharacterEncodingFilter@333cae36    |

Thanks for your issue report. I've just released a new version with two system properties that allow you to modify grace time and timeout. Please see the updated docs https://github.com/awslabs/aws-serverless-java-container/wiki/Quick-start---Spring-Boot2#asynchronous-initialization and let me know if something is unclear.


Install module to 'Program Files' and remove modifying $PROFILE

This is the Chocolatey package install / uninstall files I use which copies the embedded module to the Program Files\WindowsPowerShell\Modules folder.
The module itself is embedded into the package for easier distribution and I do this using an automatic update script. As you're not using that then simply add the code you want to distribute into a folder called posh-git within the tools folder. Inside the posh-git folder should be the code itself. The installer script takes care of creating a version folder if needed for PS 5+.
See my other modules for PSScriptAnalyzer, PSCodeHealth, Plaster, PlatyPS, PSStringTemplate and EditorServicesCommandSuite here for more info.

I'll take a closer look at your new code later, but for now:

👍 for new location
👍 for including only relevant files
It seems like we should try to clean up the legacy $poshgitPath on install to the new path, as we currently do on uninstall.
Similarly, if we can detect that this package has previously modified someone's $PROFILE with a reference to $poshgitPath (and other legacy cruft), we should continue to clean up after ourselves.
As I mentioned in https://github.com/dahlbyk/posh-git/issues/473#issuecomment-388987308, thoughts on how we could let the user opt out of modifying profile? Or how we could prompt if they wish us to add to profile?

We could also reasonably let them specify which profile to modify, assuming someone gets around to fixing https://github.com/chocolatey/choco/issues/1154.

RE:

for including only relevant files

Don't mean to sound like a broken record but ... with a build script - or at least a publish script - we could copy the relevant module files for distribution into an out dir.  Which I have proposed would be <repo-root>/<version-number>.  :-)


Add TLS_Server option to enable/disable "default profile for SNI"

Is your feature request related to a problem? Please describe.
TLS_Server declarations don't have an option to enable or disable using a client SSL profile as the SNI default, however that option is set to "true" by default and there is no way to disable it.
Describe the solution you'd like
Add an option to enable/disable the "default profile for SNI" client SSL profile option
Describe alternatives you've considered
I don't have one, other than manually changing the setting in the GUI, which is not a good option.
Additional context
Out of our ~100 client SSL profiles we created manually, we have only enabled that option on one or two profiles. Having that enabled by default with no way to disable it is less than ideal and won't work for our declarations.

I believe that setting is mostly used when attaching multiple certificates to a virtual server. This is done in AS3 by attaching multiple certificates to a TLS_Server objec, and attaching that single object to a servicet: https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/declarations/tls-encryption.html#using-multiple-ssl-tls-certificates-in-a-single-profile
Behind the scenes, AS3 will generate an ssl profile for each certificate and handle attaching the multiple profiles to a virtual server. The first certificate is used as the SNI default, all the other generated profiles have the tmsh property sni-default set to false.
Do you have a use case that is not handled by this behavior?

@dstokesf5 I do: making app-specific changes to SSL profiles used for SNI on a virtual server. Even if that isn't considered a valid use case, is there a reason to enable it by default? Is there a reason for not including it as a property that can be changed?

I am still having a difficult time understanding your use case. Do you have some example tmsh configuration for the virtual server, ssl profile, and certificates? It is my understanding that if you only have one certificate attached to a virtual server, then it should not matter what the sni-default property is set to. If you have multiple certificates, then AS3 should be able to manage this property for you.

Default SNI should be false in AS3 simular to BIG-IP. This is a bug. Changing the default SNI to default AUTOTOOL-3606 using the sni-default property in AS3-44


Search bar of home page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
There is no immediate focus of cursor on the search bar whenever the page is loaded
Use Case
By adding immediate focus of cursor on the search bar whenever the page is loaded, the searching will become fast.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Is there an existing issue for this?

[x]  I have searched the existing issues

Feature Description
There is no immediate focus of cursor on the search bar whenever the page is loaded
Use Case
By adding immediate focus of cursor on the search bar whenever the page is loaded, the searching will become fast.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Hello @Jerusha547, Go for it
All the Best


Envoy forward headers

I am using envoy.ext_authz filter with OPA as my external authorization service provider. The OPA policy executes successfully however it is returning 403 UAEX in both success and error scenarios. I tested the policy in Rego playground and it returns true in success scenario and false in error scenario. I am suspicion whether envoy is sending x-custom-header in my use-case.
Questions :

Will envoy forward request headers to OPA or will we need to explicitly pass header to OPA with some Envoy configuration? Please advise.
Please advise on how i can troubleshoot this error. Is there a way i can log input headers in envoy or in OPA?

Policy:
package demo

default allow = false

allow = {
        input.headers["x-custom-header"] == "foo"
}

Input:
{
       "headers": {
              "x-custom-header" :"foo"
        }
}

Rego playground output:
{
     "allow": [
           true
     ]
}

/cc @esmet @gsagula @dio

@gituserjava I believe authorization request headers need to be allowlisted https://github.com/envoyproxy/envoy/blob/e98f39b1b3729c8ee507cf4b64cbbe72e3991457/api/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto#L241 though certain ones like Authorization, etc are included automatically.


Simple declarative style work with ENV (like common.env in Docker)

What I'm trying to achieve
Wide use env variables do develop process more hard that can be simple. And we have saleor + celery where too need ENV. So this situation do Saleor not trivial for run, but easy start - very important for any library.
Describe a proposed solution
Setup simple battery:
pip install django-environ
manage.py
#!/usr/bin/env python3
import os
import sys
import environ
environ.Env.read_env()

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "saleor.settings")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)

celeryconf.py
import os
from celery import Celery

import environ

path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '.env'))
environ.Env.read_env(env_file=path)

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'saleor.settings')

app = Celery('saleor')

CELERY_TIMEZONE = 'Europe/Kiev'

app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks()

and now create on root path of project file .env:
SECRET_KEY=bla-bla-bla
DEBUG=True
CREATE_IMAGES_ON_DEMAND=False
REDIS_URL=redis://<IP_ADDRESS>:6379
ELASTICSEARCH_URL=http://<IP_ADDRESS>:9200
DEFAULT_COUNTRY=UA
DEFAULT_CURRENCY=UAH
ALLOWED_HOSTS=*
CELERY_BROKER_URL=amqp://login:password@localhost:5672/
EMAIL_URL=smtp://email@gmail.com:password@smtp.gmail.com:465/?ssl=True

so, now we have one declarative style environments file in docker style (see common.env). Too PyCharm have support .env files with highlight, comment support etc.... Simple, easy to manage, docker-like. Please review to accept.

I deleted screenshot because it was revealing you tokens and passwords. Please double check next time.

there was test data for local dev only, dont worry about this)

@dominik-zeglen FYI everyone can see what the comment was before your edit by clicking the dropdown that says "edited by ...". You can't anonymize content this way.

@mmmcorpsvit you really should delete the first version, by clicking on the "edited by..." dropdown then clicking the last one and hitting Delete.


What has happened to chat in the past 48 hours? 2024-01-12T1930UTC

I'm using VS Code Insiders edition.  Github Copilot V1.148.0,  Github Copilot Chat V 0.11.1.  Linux - Ubuntu flavor.  All add-ins refreshed daily.  Machine kept up-to-date all around daily.
The past few days, Github Copilot Chat has become essentially broken.  When I enter almost any chat question, I get an error message: "unhandled status from server: 400 Bad Request".  There is also the new behavior of the chat AI answering my previous question rather than my immediate question.  It gets "behind" by one iteration of the conversation.  I've tried installing the "release" versions, and refreshing everything, but the system is so completely degraded that I'm finding myself doing without the tool.  Are others experiencing this behavior?

I am experiencing the same issue

I get a response for the same question asked above: what time is it?
"I'm an AI programming assistant focused on software development topics. I don't have real-time capabilities, so I can't provide the current time. Please check the time on your device or operating system."
I use this bot for other questions and it seems very limited now. What changed?

Same experience, also Insiders.
2024-01-14 21:39:05.861 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1098 ms 2024-01-14 21:39:05.862 [info] [chat fetch] Request ID for failed request: ,4e78127e-3a1e-465a-88b3-28b4685e3ac4 2024-01-14 21:39:05.865 [info] [chat fetch] Unhandled status from server:,400,Bad Request

Same experience

Same here, whenever I ask a question it tries to check the file I have open then returns a 400 error by default. When I ask it the same question again it answers but without the file as the reference.
Is there some setting I need to approve to allow files as references?

Same here - very frustrating. I get "unhandled status from server: 400 Bad Request" every time I ask a question. If I then cut and paste to re-ask exactly the same question I get a response. It is making interation painful.

When I clicked the 3 dots in the top right position of the chat panel and choose to open in an editor, and then used the chat in the editor, it started working again (instead of intermitently), even after I closed the editor and used the left panel again. It might have been a coincidence, tough.

Same Issue. Exactly as described above. Only every 2nd requests works and sometimes it answers the missed question.

@lucasbasquerotto fix worked for me - open chat in editor - ask a question and close it again. Presumably clears some form of broken cache.

We had a bug in our prompt crafter causing this @rlovell3 .
This has since been fixed, if you're still experiencing an issue on the latest pre-release on vscode insiders please let us know.


Online documentation still referring to R2019a

Not sure if this is a temporary issue until R2019b is released, but in the R2019b documentation page there are references to R2019a
https://www.cyberbotics.com/doc/reference/index?version=R2019b

This is the same in the offline documentation

The version has not been updated correctly in showdown-extension.js, I'm taking care of this.

Well spotted, by the way ^^


show that #1020 is fixed

this is the same commit as in https://github.com/Microsoft/visualfsharp/pull/1032 and it fails over there (on local build)
this commit succeeds here

This suggests that this was indeed broken and is fixed now. Please merge this regression tests and then #1020 can be closed

this is the same commit as in https://github.com/Microsoft/visualfsharp/pull/1032 and it fails over there (on local build)
this commit succeeds here

This suggests that this was indeed broken and is fixed now. Please merge this regression tests and then #1020 can be closed

The first failing commit is c40ec8419e8890b3aa0d000f0eead9863587e28d "for expression optimization on lists and strings" by @mrange
Seems it optimized a bit too much.

further testing revealed it was fixed by @dsyme in 261732c8b3d42d213710563f3ac19bb77da1600b

Pulling if only because those GIFs are so great :) (and because' it's a testing issue)


show mixer card for the wallet currently mixing

on the wallets page, a mixer card should be shown for the wallet with mixing in progress

Issue resolved by #812


Better + more strategies for finding podcasts

Current strategy: Data analysis ( Guessing based on metadata ).

Works really well but channels can exploit / spam the system.
Also for real artist / creators is difficult to follow a guide to maintain a clean, consistent and valid metadata.

Current strategy: Manual classification.

Only used when first strategy fails.
Needs real people to manually do classification.

New strategy:   #33

More difficult to exploit and gives a more accurate classification.
Creators will require to have an account on other websites like soundcloud, spotify, bandcamp, etc...

New stategy: #26

Used by google and other search engines.
Probably the faster strategy, good for optimizations.
Same problems as current strategy but gives a more accurate classification.

Deprecated strategy: AI (Zero-Shot Classification).

This strategy was slow and inaccurate.  This will require more time, resources and help to bring it back.
If you are interested on helping please let me know.

I'd really like to see a longer piece describing and walking through what kind of thing is actually happening under the hood for each of these strategies. More of a narrative description than a step-by-step programmatic breakdown.
That would probably be a big plus for being able to talk about what's going on here.

I'd really like to see a longer piece describing and walking through what kind of thing is actually happening under the hood for each of these strategies.

This is just to track progress and or discuss new strategies or how to improve old ones. I'm working on a blog post / article explaining how it  actually works + answers of questions from discord.


Where do models go?

I want to install the 4 models manually since everytime I try to download state_dict.bin: stops at 67% because of slow download speeds. What do I nedd to install and where?

Awesome thanks


Favorites

Could you please add an option to select a few options in the database as favorites, so we dont have to search for them every time.
For example, i forget the names of half of them and have to search for them for a long time

Yes, it is definitely on the future features plan. stay tuned!

closed as it is not related to the provider package.


[PickerIOS & TabBarIOS] Breaks when rotated.

PickerIOS does not scale nicely when the device is rotated. Rotate once to the right, then back and it ends up in a weird state. Attaching screenshots to illustrate. Tried various flexbox layouts but the same issue persists. This is using the sample code stripped down to just one picker.

rotation does not works very well with flexbox model here - I believe it's layout (even simpliest one) whats broken, no picker itself since he is pure native.

watch

Collapsing #1206 into this as well

Just in case someone has not yet seen the issue...

I believe I remember seeing a commit that fixes this, if it still persists I can reopen


Remove dependency on the flynt tool

pylint - enable consider-using-f-string check
flynt - check and fix all python sources
Test package metadata with numpy rather than flynt

Partially fixes #6171

Is flynt not able to convert files for which have added explicit TODOs? It looks like we are adding a LOT of TODOs to the codebase -- what's the plan to get rid of them? Can we experiment with automated tools and change these files as part of this PR itself instead of adding a that many TODOs ?

Is flynt not able to convert files for which have added explicit TODOs? It looks like we are adding a LOT of TODOs to the codebase -- what's the plan to get rid of them? Can we experiment with automated tools and change these files as part of this PR itself instead of adding a that many TODOs ?

The plan is to address TODO-s in a follow-up PR which will only change the string expressions without changing their values, https://github.com/quantumlib/Cirq/issues/6171#issuecomment-1610366330.  The second PR can be added to .git-blame-ignore-revs without masking away the actual changes in .pylintrc and _compat_test.py.
As for the automated changes, I tested with flynt on one file and it seems to do the job.  Still I would like to put these no-op changes to a separate PR.

@pavoljuhas Okay, I'll approve this PR and let's merge it; but can you make sure we get in the follow up soon so we don't leave the TODOs for a long time?

Sounds good will do.


How can I transfer the savefiles ?

I was able to see the files with
adb shell run-as dev.bootkit.balatro ls
As my Tablet runs android 13
But how can I copy them from Documents to that dir ?
Could i also do it from files on my PC directly ?

To transfer save files you need a little bit of *nix wizardry:

create a tar of your files from your desktop

tar -cvf balatro.tar.gz files/

push the resulting tar archive to the device

adb push balatro.tar.gz /data/local/tmp

untar the archive using run-as

adb shell run-as dev.bootkit.balatro tar -xvf /data/local/tmp/balatro.tar.gz

Once you do this, you can check if the files are correctly in place by opening a shell with run-as, which you can do by first running adb shell and then run-as dev.bootkit.balatro. You may be able to pop a shell with a single adb shell run-as dev.bootkit.balatro sh but I am not sure.
Ideally, I would implement a script to automate this, or find a way to make LoveAndroid work with recent Android.

Where are the savefiles stored on Android ?
That could help

They are stored in the local data folder of the application, which is accessible only by the application itself.
Fortunately, the application is patched to be "debuggable". Thus, you can use run-as to impersonate the application.
You can open a shell with adb shell and inside the adb shell run run-as dev.balatro.bootkit. You should find a files folder, which contains different subfolders and finally the game files.
I do not know if it is possible to mount this directory the way termux / pojav launcher do. Do you have any idea of which API they use to do that?

No clue sorry. Here are the repos:
https://github.com/termux/termux-app
https://github.com/PojavLauncherTeam/PojavLauncher

Can you explain further what feature do Termux and Pojav Launcher have?

In the files app you can see the app names on the side as if it was an external drive or a google drive. It allows you to add files or remove them freely. I can add and remove minecraft mods and instanced easily for pojav.

I searched and found about the Storage Access Framework [1][2]
Which file manager are you using to access the files? On my pixel, the stock one does not display my termux files, but opens termux instead. Are you using the default files app?
I am looking into the Storage Access Framework API and considering if it may be worth implementing in Love-Android.

Here's a screenshot of what I'm talking about:![Uploading
Screenshot_20240415_204437_Files.jpg …]()

If I just need to access Android/data/dev.balatro.idk I can do that

If you have root, the path you want to look at is /data/data/dev.bootkit.balatro

Can't I just plug my tablet in my computer and go to Android/data/theapp ? Or do I need root ?

You need root, or access the file using the shell using run-as. You cannot browse directly the files. You can try to add the external-storage patch to your build (as explained in the README) and see if you are successful in accessing your files under Android/data/...
On another note, I looked into Termux's implementation of the Storage Access Framework's Document Provider and it is not trivial.
I see it as feasible and something that might also be considered by mainline Love-Android. That being said, I am not going to develop it right now. If you want this change, your best bet is asking it to Love-Android's developers.
I am sorry, but I still think using the terminal is the easiest. Eventually I will script it, but as of today I do not think there is an easier method.

No luck using the external-storage patch. Sad the latest android versions break that. Thx for all the info though !

@Enderteck I have updates! I noticed that latest version of love-android (version 12.x), has an implementation of SAF. Thus, I decided to port it back to 11.x and see if that worked. I was able to port it successfully and with a little bit of effort, to make it work:

The only caveat is that the external-storage patch must be enabled, meaning that it will break support for automated backups and old versions saves must be moved manually.
On the bright side, the game built in this mode will have accessible files under the Android/data folder for older versions of Android, while still being able to access the files on the device itself in newer versions of Android by using FX File Explorer, Material Files or another similar application.
Tomorrow I will publish an update to this project, in the meantime if you are interested you can find the patch for love-android here: https://github.com/antipatico/love-android/commit/26255245f78ce694336563c0c7bd96eba8251d1f

Nice, you're a pro !

Version 0.3.0 is out and should work now, let me know if it works!


new event: Phaser.Input.Events.GAMEOBJECT_CLICK

It would be nice to have an event that handles interactive object CLICKs. Not just click on OUT behavior. Click on OUT behavior has this issue, where when you DOWN anywhere, then drag on top of an interactive object and release - OUT, it will trigger on that interactive object.
To produce a CLICK event, we can use the following 3 methods and a boolean flag:
// isDown = true;
Phaser.Input.Events.GAMEOBJECT_POINTER_DOWN

// isDown = false;
Phaser.Input.Events.GAMEOBJECT_POINTER_OUT

// if (isDown) { this.emit(Phaser.Input.Events.GAMEOBJECT_CLICK); }
Phaser.Input.Events.GAMEOBJECT_POINTER_UP

The main reason to have a CLICK is convenience. We can use the above implementation to wrap our code around that and write our own CLICK event to emit.. but it would be handy to have it supported internally by phaser. I remember ActionScript 1/2/3 did it this way also :).
EDIT: perhaps more difficult than described above, should prob. also handle the situation where mouse leaves window (if interactive object is close to/overflows window border - the flag should also reset to false [unsure where to observe this from, prob. somewhere outside the interactive object... :/]).

For the issue with the mouse leaving the window, you could use the window's mouseleave event to reset the flag to false.
I hope this helps!
-SlimHR

Workaround:
this.add.text(100, 200, 'Click me', { fontFamily: 'Arial', fontSize: 64, color: '#00ff00' }).setInteractive({ draggable: true });

this.input.on('dragend', (pointer, object) =>{
    if(pointer.x==object.input.dragStartXGlobal &&
        pointer.y==object.input.dragStartYGlobal){
        alert("Object clicked");
    }
});

Thanks for opening this feature request. CLICK is subtly difficult, given all the edge cases it has to consider. I feel, at this point in Phaser's life, it's probably best left implemented in the game code. There are lots of gestures I'd love to add to Phaser, but I don't want to complicate the input system any further at this point, so would instead point you to the superb Rex UI gestures he's made available.


Add support for MAV_CMD_REQUEST_MESSAGE

Added in https://github.com/mavlink/mavlink/pull/1079, MAV_CMD_REQUEST_MESSAGE is a one-shot version of MAV_CMD_SET_MESSAGE_INTERVAL that you can use to ask for a single response. It is a generic replacement for other specific messages we use for this behaviour.
Action is to add implementation for MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES, MAV_CMD_REQUEST_CAMERA_INFORMATION, MAV_CMD_REQUEST_CAMERA_SETTINGS, MAV_CMD_REQUEST_STORAGE_INFORMATION.
Request should return the usual set of MAV_RESULTS, with MAV_RESULT_UNSUPPORTED if particular message is not handled.
@dogmaphobic FYI, because many of those messages are yours.

Still desirable.

Note, this duplicates https://github.com/mavlink/mavlink/pull/1180

We're going to :-)

Request should return the usual set of MAV_RESULTS, with MAV_RESULT_UNSUPPORTED if particular message is not handled.

are you sure about UNSUPPORTED? MAV_CMD_REQUEST_MESSAGE is (or rather will be) supported. I think DENIED makes more sense according to the current wording in the mavlink documentation.

@dayjaby You're correct: MAV_CMD_REQUEST_MESSAGE itself is supported, so returning MAV_RESULT_UNSUPPORTED is definitely incorrect (denied is correct).
My original thinking here was that we'd use unsupported to indicate that streaming a particular message is unsupported vs just that they might have additional params that need to be set. But creating an inconsistency in API use like this is not smart. Thanks for pointing this out.

This has been done. Since not every message can be streamed/emitted, the default behaviour is to return "denied" for messages for which a stream base class has not been created. Creating a base class is trivially easy though, if needed.


AMP Support

You have a really clean nice implementation so far. Have you considered using NVIDIA Apex's AMP https://github.com/NVIDIA/apex API to allow half precision training?

Thanks for your suggestion! But I'm sorry that as the final exams and some deadlines stepping closer, I have to spend most of my time on reviewing and finishing some other projects. There's little time left for me to introduce some extra features at present. But I will take your idea into consideration during my summer vacation. Thanks again!


How to start smsc service?

Could you explain how to start SMSC service? I would like to run the SMSC service and test it.
Im new to telco, so please bear with me if my questions are naive. Thanks

Could you explain how to start SMSC service? I would like to run the SMSC service and test it. Im new to telco, so please bear with me if my questions are naive. Thanks

did you finally make it?

Could you explain how to start SMSC service? I would like to run the SMSC service and test it. Im new to telco, so please bear with me if my questions are naive. Thanks

did you finally make it?

No


[Network] Make DNS Zone record imports relative

Fixes #2752.  Note that issue #2824 remains and can only be addressed by a service side fix.

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[x] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

Codecov Report

Merging #2825 into master will increase coverage by 0.01%.
The diff coverage is 50%.

@@            Coverage Diff            @@
##           master   #2825      +/-   ##
=========================================
+ Coverage   62.88%   62.9%   +0.01%
=========================================
  Files         464     464
  Lines       25884   25890       +6
  Branches     3942    3944       +2
=========================================
+ Hits        16278   16285       +7
  Misses       8588    8588
+ Partials     1018    1017       -1

Impacted Files
Coverage Δ

...etwork/azure/cli/command_modules/network/custom.py
62.37% <50%> (-0.07%)
:arrow_down:

...li-core/azure/cli/core/test_utils/vcr_test_base.py
71.82% <0%> (+1.23%)
:arrow_up:

Continue to review full report at Codecov.

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


Sound disappears after 1 sec after switching stream to librespot-java's spotify connect

Hi,
First of all many thanks for the great library which, together with easyeffects, enables my entire home audio setup.
Running into a problem with Ubuntu 22.04 on RPi 4.
Switching Spotify stream to librespot-java Spotify Connect from any source (Spotify app on phone or laptop) succeeds, the sound appears, then after same interval of about 1 second disappears. Nothing brings the sound back except switching the stream to other Spotify Connect receiver (e.g. phone app) and back to librespot-java. After 1 second the sound disappears again.
Same behavior running librespot-java as a daemon through spocon or from command line directly.
No problems with librespot 0.3.1 650d41b (non-java).
All other apps (e.g. VLC, Chromium) do not have any issues with audio output.
On 3 other RPis librespot-java 1.6.2 works just fine, including on pipewire (ubuntu 21.10)
Raspberry Pi 4 8Gb / Ubuntu 22.04 arm64
PulseAudio (on PipeWire 0.3.48)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
librespot-java-api-v1.6.2.jar
Happy to provide whatever logs are helpful.

With output = "MIXER" I noticed this problem. In my case taking the first non-defult mixer name from the output (they are shown in the output log before starting the sound) and placing it into mixerSearchKeywords solve this issue.
Example: mixerSearchKeywords = "PCH [plughw:0,0]"

Thank you for the idea, garis. It took a bit of time to get back to it and now, after a few ubuntu updates, the problem has disappeared. Closing this issue.


sfm-springjdbc 3.5.10 jdk9 module import issue

I'm trying to include sfm-springjdbc jdk9 with gradle and I get error message: module 'XXXX' reads package 'org.springframework.jdbc' from both 'spring.jdbc' and 'spring.jdbc'.
I am using this
implementation (group: 'org.simpleflatmapper', name: 'sfm-springjdbc', version:'3.15.10', classifier: 'jdk9')
I tried to remove all module requires from my module and leave this alone, but the problem persists. I tried to use gradle to exclude the org.springframework pkg from this pkg, but that does not solve the problem.
I can solve the problem when I remove the classifier property since the pkg was compiled with jdk8 using automatic module name without the module-info file. Maybe using transitive is the issue inside of the module-info.
I'll stick with the jdk8 version until the problem is fixed.

I use intellij and it shows two modules (spring.jdbc and spring.jdbc RELEASE 5.0.4) for some reason only when I import the simpleflatmapper.
List of compile time dependencies from gradle dependencies for this particular module since this error is compile time
compileClasspath - Compile classpath for source set 'main'.
+--- project :common
+--- project :metrics
|    --- project :common
+--- commons-io:commons-io:2.5
+--- org.yaml:snakeyaml:1.17
+--- com.google.guava:guava:23.6-jre
|    +--- com.google.code.findbugs:jsr305:1.3.9 -> 3.0.2
|    +--- org.checkerframework:checker-compat-qual:2.0.0
|    +--- com.google.errorprone:error_prone_annotations:2.1.3
|    +--- com.google.j2objc:j2objc-annotations:1.1
|    --- org.codehaus.mojo:animal-sniffer-annotations:1.14
+--- com.dslplatform:dsl-json:1.4.0
+--- org.apache.commons:commons-lang3:3.7
+--- org.apache.commons:commons-math3:3.6.1
+--- dk.brics.automaton:automaton:1.11-8
+--- org.magicwerk:brownies-collections:0.9.12
+--- com.lmax:disruptor:3.3.7
+--- commons-cli:commons-cli:1.3.1
+--- uk.com.robust-it:cloning:1.9.2
|    --- org.objenesis:objenesis:2.1
+--- com.google.code.findbugs:jsr305:3.0.2
+--- org.apache.kafka:kafka-clients:1.0.0
|    +--- org.lz4:lz4-java:1.4
|    +--- org.xerial.snappy:snappy-java:1.1.4
|    --- org.slf4j:slf4j-api:1.7.25
+--- commons-codec:commons-codec:1.11
+--- org.springframework:spring-jdbc:5.0.4.RELEASE
|    +--- org.springframework:spring-beans:5.0.4.RELEASE
|    |    --- org.springframework:spring-core:5.0.4.RELEASE
|    |         --- org.springframework:spring-jcl:5.0.4.RELEASE
|    +--- org.springframework:spring-core:5.0.4.RELEASE ()
|    --- org.springframework:spring-tx:5.0.4.RELEASE
|         +--- org.springframework:spring-beans:5.0.4.RELEASE ()
|         --- org.springframework:spring-core:5.0.4.RELEASE ()
+--- org.simpleflatmapper:sfm-springjdbc:3.15.10
|    +--- org.springframework:spring-jdbc:4.3.10.RELEASE -> 5.0.4.RELEASE ()
|    --- org.simpleflatmapper:sfm-jdbc:3.15.10
|         --- org.simpleflatmapper:sfm-map:3.15.10
|              --- org.simpleflatmapper:sfm-reflect:3.15.10
|                   +--- org.simpleflatmapper:sfm-util:3.15.10
|                   --- org.simpleflatmapper:sfm-converter:3.15.10
|                        --- org.simpleflatmapper:sfm-util:3.15.10
+--- com.zaxxer:HikariCP:2.7.8
|    --- org.slf4j:slf4j-api:1.7.25
--- net.jodah:typetools:0.5.0
Here is the declared implementation dependencies as well
implementation - Implementation only dependencies for source set 'main'. (n)
+--- commons-io:commons-io:2.5 (n)
+--- org.yaml:snakeyaml:1.17 (n)
+--- com.google.guava:guava:23.6-jre (n)
+--- com.dslplatform:dsl-json:1.4.0 (n)
+--- org.apache.commons:commons-lang3:3.7 (n)
+--- org.apache.commons:commons-math3:3.6.1 (n)
+--- dk.brics.automaton:automaton:1.11-8 (n)
+--- org.magicwerk:brownies-collections:0.9.12 (n)
+--- com.lmax:disruptor:3.3.7 (n)
+--- commons-cli:commons-cli:1.3.1 (n)
+--- uk.com.robust-it:cloning:1.9.2 (n)
+--- com.google.code.findbugs:jsr305:3.0.2 (n)
+--- org.apache.kafka:kafka-clients:1.0.0 (n)
+--- commons-codec:commons-codec:1.11 (n)
+--- org.springframework:spring-jdbc:5.0.4.RELEASE (n)
+--- org.simpleflatmapper:sfm-springjdbc:3.15.10 (n)
+--- com.zaxxer:HikariCP:2.7.8 (n)
--- net.jodah:typetools:0.5.0 (n)

I don't know much about gradle but would it be possible to exclude the spring-jdbc dep from sfm-springjdbc? if that work I'll make it optional and maybe that'll fix it.

Hmm, no that doesn't work same error. I know if I exclude springframework dependency from the sfm-springjdbc and my pkg then module-info is fine in intellij, so there is some conflict between springjdbc and sfm-springjdbc.

Thanks, was worth a try will try to reproduce it, is it a compiler error or runtime ?

I'm gonna go file a report with Intellij instead. I don't see any problems from java or library side.