Incomplete code

Program is exiting after reading the data. No results. Am i missing something or the code is incomplete?

Did you do all of the steps listed in README.md?
What are the exact program arguments that you used?
Can you share the exit message / stack trade that you had when trying to run the code?

Hello, hope you are feeling good. I had to try too much, but don't know why I'm stuck. Can you please help me? Will share where I'm stuck.

And sometimes they show me this error if I run it using anaconda prompt.

And can you please help me to see the output in a finite time because I had run it on different laptops but did not show any output yet? I had removed some rows and columns from datasets manually, but failed.

Did you do all of the steps listed in README.md? What are the exact program arguments that you used? Can you share the exit message / stack trade that you had when trying to run the code?

Yes I followed the exact steps mentioned in README.md.
I am getting this output after running the command : "python src/main.py decentralized autoencoder --test --fedavg --collaborative --verbose-depth=2" :

I tried debugging the code, it seems like it's not doing anything after reading the data. I don't know what's the problem, I am stuck.

Hi @ValerianRey , need help from you. I shared the output above. There is no error, but the process is killed. I don't know whether the code ran successfully or not.

Hi @ValerianRey , need help from you. I shared the output above. There is no error, but the process is killed. I don't know whether the code ran successfully or not.  I also added a log in model_aggregation() function, but it's not printing. That means its not executing. Please help me out here.

How much RAM do you have? On my laptop, I see that about 13 GB of RAM are used after the data is loaded (I have 32 GB so I never noticed that this could be an issue).

I just reinstalled everything to make the test from a clean install (Ubuntu 20.04, Python 3.9.16, fresh virtual environment with just the required libraries, installed using pip installed -r requirements.txt). Running python src/main.py decentralized autoencoder --test --fedavg --collaborative --verbose-depth=2 gives, after about 5 minutes, the following output:

					FEDAVG DECENTRALIZED AUTOENCODER TESTING

Using CPU
Federation params: {'aggregation_function': <function federated_averaging at 0x7f4866be5ee0>, 'resampling': None, 'federation_rounds': 30, 'gamma_round': 0.75}
[{'clients_devices': [[1], [2], [3], [4], [5], [6], [7], [8]], 'test_devices': [0]}, {'clients_devices': [[0], [2], [3], [4], [5], [6], [7], [8]], 'test_devices': [1]}, {'clients_devices': [[0], [1], [3], [4], [5], [6], [7], [8]], 'test_devices': [2]}, {'clients_devices': [[0], [1], [2], [4], [5], [6], [7], [8]], 'test_devices': [3]}, {'clients_devices': [[0], [1], [2], [3], [5], [6], [7], [8]], 'test_devices': [4]}, {'clients_devices': [[0], [1], [2], [3], [4], [6], [7], [8]], 'test_devices': [5]}, {'clients_devices': [[0], [1], [2], [3], [4], [5], [7], [8]], 'test_devices': [6]}, {'clients_devices': [[0], [1], [2], [3], [4], [5], [6], [8]], 'test_devices': [7]}, {'clients_devices': [[0], [1], [2], [3], [4], [5], [6], [7]], 'test_devices': [8]}]
Reading data
█ [1/9] Data from Danmini_Doorbell
█ [2/9] Data from Ecobee_Thermostat
█ [3/9] Data from Ennio_Doorbell
█ [4/9] Data from Philips_B120N10_Baby_Monitor
█ [5/9] Data from Provision_PT_737E_Security_Camera
█ [6/9] Data from Provision_PT_838_Security_Camera
█ [7/9] Data from Samsung_SNH_1011_N_Webcam
█ [8/9] Data from SimpleHome_XCS7_1002_WHT_Security_Camera
█ [9/9] Data from SimpleHome_XCS7_1003_WHT_Security_Camera

Configuration [1/9]: {'clients_devices': [[1], [2], [3], [4], [5], [6], [7], [8]], 'test_devices': [0]}
█ Run [1/5]
█ █ Malicious clients: []
█ █ Computing the normalization values for each client
█ █ Federation round [1/30]

And sometimes they show me this error if I run it using anaconda prompt.

It take a lot of time to execute the whole script. Use a higher verbose depth to have more details about the current state of the training. (Like --verbose-depth=4 or --verbose-depth=5). Otherwise it will look like it's not progression, while in reality it's just really slowly progressing.


Import must be tolerant of missing node ids when importing scalar lists

Describe the bug
An export of an older Prisma version might contain values for scalar lists that reference a non existent node id.
To Reproduce
Steps to reproduce the behavior:

On an older Prisma version (e.g. 1.5.), create a node with scalar list values. Delete that node afterwards.
Export from this version.
Import it into a recent Prisma version, e.g. 1.11.
The import will crash, because the export contains the scalar list values for the node that has been deleted.

Expected behavior
The import must not crash. The import must ignore those errors when importing scalar list values.
Versions (please complete the following information):

OS: OS X High Sierra
Prisma Server: 1.11.0

Additional context
I found this bug when i imported the database of Cloud API locally to performance test our import/export.

This spec suggests that this was a somewhat conscious design decision: https://github.com/prismagraphql/prisma/blob/master/server/servers/api/src/test/scala/com/prisma/api/import_export/ListValueImportExportSpec.scala#L44
So it is not clear whether this is a bug. But due to the limitations in old versions of Prisma this is very annoying. We should talk that through.

Maybe a local script that cleans up "dangling scalar lists" would be a suitable workaround?

superseded by: https://github.com/prismagraphql/prisma/issues/2738


Why state and store

what is the difference?

You can imagine state being a database for key and values, while store is what contains all re-usable methods and actions. ( e.g. store.auth.LogIn() which checks for logged in state and does something with it )
At least that's how I portray it.

yes, but mobx store or observable object can be both, thats why I'm wandering whats the point of state, sure you can have multiple stores (one called state). I thought there is special reason

Good point and I agree. I just based myself on how redux organizes their stuff, no particular reason at all :)
If you think this starter can still look good without the store, I'd love to hear more about your point of view.

After reflecting on my structural choices I decided to remove Store.


new adapter: add philips tv

RE-CHECK!

Automated adapter checker
ioBroker.philips-tv

[ ] :heavy_exclamation_mark: [E125] External icon not found under URL: https://raw.githubusercontent.com/AlCalzone/ioBroker.philips-tv/main/admin/philips-tv.png
[ ] :eyes: [W171] "common.title" is deprecated in io-package.json
[ ] :eyes: [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, zh-cn)
[ ] :eyes: [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, zh-cn)
[ ] :eyes: [W400] Cannot find "philips-tv" in latest repository

Add comment "RE-CHECK!" to start check anew

URL already fixed, it seems like checker uses only the initial PR status

review comments:

Please add admin >= 5.x global dep because only jsonconfig is available

Rest is fine


Revert "Included config for sidekiq"

Reverts OperationCode/operationcode_backend#232

Any recollection on why this change needed to be reverted? A sidekiq config to set queue names and configure concurrency and timeouts would be good.
I can guess that maybe the omission of .erb (Embedded RuBy) from the file name means that the Ruby that was embedded in the YAML—<%= hostname.strip %>—did not get interpreted and Sidekiq was like "Whaaa?" trying to use that as a queue name.


Append / to directories in Glob results

This makes it easy for users of Glob to detect whether the match is a file or directory. Doing the check at this level means that the filelist file used as a dependency will be updated if a directory is replaced with a file of the same name, or vice versa.

I updated the godoc for pathtools.Glob, pathtools.GlobWithDeps, SingletonContext.GlobWithDeps, and ModuleContext.GlobWithDeps


Test 0054_Node_with_no_dependsOn_always_fires fails, maybe because of restored files after disk crash

Test 0054_Node_with_no_dependsOn_always_fires fails, maybe because of restored
files after disk crash.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 14 Jul 2014 at 8:19

The relevant code in Pipeline.pm is commented out:

# If a node dependsOn nothing, then treat it as always stale.
# Otherwise it will never fire after the first time, which would be useless.
####### TODO: Not sure this works.  See test 0054 also.
# $thisIsStale = 1 if !@dependsOn;


New release request

I was taking the liberty to create a conda recipe for anise_basil so that I could create a galaxy tool wrapper for basil.  I use basil in a prokaryotic variant pipeline that I'm trying to turn into a galaxy workflow.
Anyway, it appears that there have been some significant changes since the last release that I wanted for the galaxy tool wrapper.  I was able to use a regular revision hash to move forward, but a new release would be ideal.  Do you think you could create one?
Also, a colleague pointed out that the license is a BSD3 license.  (I don't work with licenses enough to recognize them by content.)  I was thinking that it might be nice if the license was labeled as BSD3 in some way for numbskulls like me to know which type of license it is.  :P  Bioconda requires the license type in their config file and I didn't know what to put.

Hi Robert, thanks for the feedback. Yes, now that conda v3 support has landed for Bioconda we can finally package this there. Give me a few days to do the release.


feature: add kosmos-scheduler plugin--distribution policy for release-1.21.5

What type of PR is this?

/kind feature
What does this PR do?

kosmos-scheduler plugin v1.21.5 -- Combined with distribution policy to finely distribute user resources to leaf nodes or host nodes
Which issue(s) does this PR fix?

Fixes #https://github.com/kosmos-io/kosmos/issues/297
Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

/cc @duanmengkk

/lgtm
/approve


Remove ILineInfo type

We were using the term "offset" to mean many different things:

Absolute position in a file
Position relative to the start of a LineNode
Zero-based column
One-based column
Accumulator for the absolute position

We were also using the ILineInfo type in many unrelated situations. There was no case where we needed every field.
This PR switches us to using some clearer terminology. Every time the protocol.Location type is used, it is assumed that we are dealing with a 1-based line and 1-based column. Elsewhere we use explicit names such as relativeOneBasedLine.

Tests fixed by #17020.


Feat: Security schema

Unfortunately it turned out that it's not rendered correctly in Studio,
related issue I made: https://github.com/asyncapi/studio/issues/1066

proposed a fix https://github.com/asyncapi/asyncapi-react/pull/995


Change vgrid setup to be sparse?

Make vgrid an object that just holds cells, maybe indexed by row-col string pairs? (eg '3-1')
Then grid_component can take that and render it and fill in the gaps.
selected_cell can be an address (again, eg '3-1') in state.
Methods which would have previously hit an empty cell would instead catch that and refer to EMPTY_CELL.
Maybe the Sheet object can abstract this level of detail.
And we can get rid of the EXTEND_GRID action (and associated calls).
JavaScript array details: http://stackoverflow.com/a/1510842

Done, but I wonder whether the creation of cell IDs should be pushed into the cell creation process, rather than the grid component.


allow module overload while engine creation

In some scenarios I found it useful being able to specify the sqlalchemy module directly via bypassing. I use it for example in combination with a pysqlcipher3 binding.
This commit makes this possible while using the flask-sqlalchemy bindings.

I don't want to add any more individual configuration options. Closing in favor of something like #487 that just allows configuring all the options.

He davidism, I like #487  myself very much. Any timeline for integrating this commit / the next release?


Effective date of the behavior change from default to redirect for Brazil South and West Europe should be in 2018 instead of 2019.

Here I quote "Change is already effective from November 10th, 2019 for Brazil South and West Europe regions. For all other regions change will be effective from January 2nd, 2019."

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

ID: e1a62365-4312-8aad-d2f1-bb5c4184adf1
Version Independent ID: 2ba5b809-8025-d7ee-c756-d6d1bab033fb
Content: Azure SQL Database connectivity architecture
Content Source: articles/sql-database/sql-database-connectivity-architecture.md
Service: sql-database
GitHub Login: @srdan-bozovic-msft
Microsoft Alias: srbozovi

@tim-yan Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

fixing now

@tim-yan We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


[CARBONDATA-2379] Support Search mode run in the cluster

1.support SeachModeExample running in the cluster
2.change the worker hostname to hostAddress
3. support run ConcurrentQueryBenchmark with search mode

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

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

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5030/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3815/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5032/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3939/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5224/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4035/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4046/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5236/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4052/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4091/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5272/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4097/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5274/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5278/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4133/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5313/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4137/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5318/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4148/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5325/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5339/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4184/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4503/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5359/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4204/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5371/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5378/

Please change the title to Support SearchModeExample run in cluster

@jackylk Ok, done

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4280/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5450/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5459/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4294/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4305/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4323/

retest this please

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4335/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5500/

@jackylk  CI pass, please check it again.

LGTM


Possible to mark cell changed indicator to RowAction

Is that a way to make the RowAction have an indicator like cell changed indicator on the top right of each cell? If there is one cell in that row have value changed, the RowAction will have an indicator as well.
That would be great for a large number of rows when scrolling through, some might miss out the cell changed indicator. Since RowAction will be the easiest way to refer if there is any row changed.
An indicator or background color highlight for RowAction would be great.
Help is much appreciated. Thanks in advance.

added commit

thank you @mazdik


how do i get the .dll file for the mods...

yeah how do you get it

click 'code' then click 'download zip file', go to files, extract it, and then open up the files inside (the new ones) , copy the dll files inside into the mods folder, and load up that bloons


Destroy associations on deletion.

When a community is destroyed, destroy speakers, places, and stories
associated with the Community.
Nullify users relationship with the community.

@rudokemper This will make sure when you delete communities, their associated records are also deleted. I guess we overlooked this before!


IT: Validation Cycle #5

Hi @mkubicek-dtc @chrloch,
this PR:

Removes old IT 1.0.0 DCCs;
Adds new IT 1.3.0 DCCs.

Please let me know in case there's anything we need to change.
Thanks a lot

@libremente why are you removing 1.0.0 DCCs? This repository should represent all DCC schema versions and variations currently in the wild. By removing 1.0.0 DCCs from this repo you signal that no such are in use by Italian citizens. Is this what you intend?

@mkubicek-dtc it's just because we are generating new ones, hopefully we will make it for EOB and I will update this PR accordingly.

@mkubicek-dtc 1.0.0 DCCs uploaded, let me know if it's OK for you. Thank you!

Android 1.1.12 🆗

iOS <IP_ADDRESS> (7) 🆗


To support new joblog - need to include target object in joblog.json

Ideally, we should add name, sourceType and objectType on each first level entry, in the joblog if it's a compilation entry.

sure, just give me an example so we can code to it.

@sebjulliand
Just thinking it through from a BOB/IFS perspective, the source file name might be very different from the target object name.  In this case it might be better to have target object name (with type as file extenstion) and source name with externsion to communicate all attributes clearly. i.e.
{
"object": "MYPGM.PGM"
"source": "myDescriptiveName.pgm.rpgle"
"output": "MYPGM.splf"
"failed" false
}

@edmundreinhardt that's fine, let's go with this!


🚧 Remove @extend from some components

🚧 Work in progress 🚧
What

Removes the use of @extend from the

subscription links
step by step
related navigation
contextual sidebar
Magna Charta

components' stylesheets.
Why

To enable the component to be used when only importing frontend_support.
The subscription links, step by step, related navigation, contextual sidebar, and Magna Charta components all @extend parts of GOV.UK Frontend, so they need
@import "govuk_publishing_components/component_support";

in order to work. This increases the size of the stylesheets being served. For example:
@import "govuk_publishing_components/component_support";
@import "govuk_publishing_components/components/title";

gives a stylesheet that is 155KB in size.
Using only govuk_frontend_support means a much smaller stylesheet:
@import "govuk_publishing_components/govuk_frontend_support";
@import "govuk_publishing_components/components/title";

This results in a stylesheet that's 1.3KB in size.
Visual Changes

No visual changes.

I'm uncertain this will actually save us CSS size in reality - won't we still need to include component_support for most if not all of our applications?

Short answer, yes but no.
Longer answer - it depends on the template that the app uses.
This work is to prepare for the gem layout in https://github.com/alphagov/static/pull/2411. These changes include adding component_support to Static's application.css - this means that Static supplies the GOV.UK Frontend CSS which is then part of CSS's glorious global namespace.
As those styles are coming from the stylesheet that Static provides, it seems pointless (and occasionally frustrating) to re-include them in the app again.
I'm testing this in alphagov/frontend. As our convention is to use nice flat BEM, there are a few funky side effects and a lot of repeated styles. For example:

Emergency banner description

has styles from govuk-body and styles from emergency-banner__description (thanks to alphagov/static), which is then overwritten by govuk-body (thanks to alphagov/frontend):

So the aim of this pull request is to prevent the repeated CSS caused by the double @import of component_support.
This is backwards compatible as the aim is for either both component_support and govuk_frontend_support, or only govuk_frontend_support to be used. There should always be component_support supplied to the page from somewhere - whether in Static in a separate stylesheet, or in the app itself if Static is deprecated.
Once this is being used, then we can remove bespoke CSS isn't needed - for example, these lines from the homepage styles are redundant when using the gem layout.

I think now is probably a good time to revisit the individual asset import model, to make sure we're doing it in the most efficient way possible (and also because we built it so long ago my memory on how it all fits together is a bit rusty - at the very least, we should document it a bit better). Thanks for raising this, let's talk about it.

This is purposefully a draft pull request to try and show what I'm trying to achieve as I realise it's a bit convoluted - lots of things relying on other things that rely on yet more things. If there's way that's better or that people prefer then super!

Also does this need a CHANGELOG entry? I think we should be tracking this stuff.


[Question] How are the model cards generated?

I saw that the model card format is very beautiful and clean, but I cannot find source code that generated the model cards in this repo. How are they generated? Are the model card PDF generation code used in MediaPipe open-sourced?
Thanks!

Also, every commit message says "Project import generated by Copybara." Where is the original repository? Is it open to the public? If not, are the original commit messages available?

Hi @youquzhiji ,
Please check MediaPipe documentation for model cards information.

Hi @youquzhiji , Please check MediaPipe documentation for model cards information.

Thank you for the reply! But I don't think the documentation include how the model cards on that page are created (i.e. by specific program  or pure human input). It also don't allow us to access older versions of the model cards. Would you tell me how the model cards are generated?

Hi @youquzhiji ,
did you get a chance to check this github code for models.

Hi @youquzhiji , did you get a chance to check this github code for models.

Yes I checked. The converted tflite model files are not the ones used for model card generation.

Hi @youquzhiji , did you get the required information now?


[Bug]: incompatible types compiler error for pulled bal package

Description
$subject
Steps to Reproduce
Error is shown when building a bal package using 2201.8.0 with the following package import.
https://lib.ballerina.io/ims/billionairehub/1.0.0
import ims/billionairehub;

type Billionaire billionairehub:Billionaire;

public function main() {
}

Error :
ERROR [ims/billionairehub/1.0.0::client.bal:(53:53,53:65)] incompatible types: expected 'ballerina/http:2.10.0:ClientConfiguration', found 'ims/billionairehub:1.0.0:ClientConfig'

Affected Version(s)
2201.8.0. test pack
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Due to the client config record in the ims/billionairehub module no longer being a subtype of the http record.

ims/billionairehub:ClientConfigis not a subtype of http:ClientConfiguration in v2.10.0. There are additional fields now and the type of the httpVersion field has changed.
So this module is not compatible with newer HTTP versions and a newer version will have to be released.
Closing this issue since it is not a lang bug.


Define Parent after initializing elements via GraphML

Hello everyone,
I like to work with components which can be defined via the parent property (https://js.cytoscape.org/#notation/compound-nodes)
However, I do not define my network graph by hand my load a graphml-file via cytoscape.js-graphml:
        var cy = window.cy = cytoscape({
        container: document.getElementById('cy'),
         ready: function () {
             this.graphml({layoutBy: 'random'});
             this.graphml(graphStr);
         }
        });

The graphml file looks like :
<?xml versi

    on='1.0' encoding='utf-8'?>
    <graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"><key attr.name="relationship" attr.type="string" for="edge" id="d8"/>

    <key attr.name="node_name" attr.type="string" for="node" id="d0"/>
    <key attr.name="parent" attr.type="long" for="node" id="d1"/>
    <graph edgedefault="directed">
    <node id="123">
      <data key="d0">First</data>
      <data key="d1">0</data>
    </node>
    <node id="124">
      <data key="d0">Second</data>
      <data key="d1">1</data>
    </node>
    ...

Where d1 indicates the parent/component id. The question is, how do I define the parent variable of a node afterward. The graphml is automatically generated and can not be modified.
THX Lazloo

I think you want something like this. After extension adds the nodes defined in graphml file, you can traverse the nodes and move the child nodes inside the corresponding component/parent node.


Install with pip fails

To reproduce create an empty venv.

ERROR: Cannot install invisible-watermark==0.1.0, invisible-watermark==0.1.1, invisible-watermark==0.1.2, invisible-watermark==0.1.3, invisible-watermark==0.1.4 and invisible-watermark==0.1.5 because these package versions have conflicting dependencies.
The conflict is caused by:
invisible-watermark 0.1.5 depends on onnxruntime
invisible-watermark 0.1.4 depends on onnxruntime
invisible-watermark 0.1.3 depends on onnxruntime
invisible-watermark 0.1.2 depends on onnxruntime
invisible-watermark 0.1.1 depends on torch==1.0.1.post2
invisible-watermark 0.1.0 depends on torch==1.0.1.post2

Ah this is probably because onnxruntime requires python3.10 and I have 3.11.


[WIP] Add EngineArray

This feature is a work in progress to introduce a new concept: EngineArray

Codecov Report
Attention: Patch coverage is 85.45455% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 73.48%. Comparing base (59a13c0) to head (0c58ebb).
Report is 3 commits behind head on main.

Files
Patch %
Lines

libs/infinity_emb/infinity_emb/engine.py
82.14%
5 Missing :warning:

libs/infinity_emb/infinity_emb/infinity_server.py
85.71%
3 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
- Coverage   73.49%   73.48%   -0.02%
==========================================
  Files          32       32
  Lines        1811     1844      +33
==========================================
+ Hits         1331     1355      +24
- Misses        480      489       +9

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


Convert addresses to checksum encoded versions

PR Description
Add checksums to remaining Eth1 addresses without checksums. When https://github.com/ConsenSys/teku/pull/5418 is merged, these addresses will need to have checksums.
These are the updated addresses (the page will show the checksum encoded version):

https://etherscan.io/address/0x00000000219ab540356cbb839cbe05303d7705fa
https://etherscan.io/address/0xfe3b557e8fb62b89f4916b721be55ceb828dbd73

Impacted parts

For content changes:

[x] Documentation content
[ ] Documentation page organization

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


Rename responseMessages array to errorMessages where applicable

resolves #24
Also renames responseMessage and responsMessages objects to errorMessage/errorMessages when the response contains an error.

ready to squash and merge?

Yep...all yours.


[Select] Dropdown menu is misaligned when the select is less than 16 pixels from the left

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When the select is less than 16px far from the left, the menu will be misaligned, as in this example:

Expected behavior 🤔
The menu aligns perfectly with the select input.
Steps to reproduce 🕹
Example
Steps:

Create a Select component positioned with less than 16px from left.

Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
System:
    OS: Linux 5.15 Ubuntu 22.04 LTS 22.04 LTS (Jammy Jellyfish)
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.1/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
  Browsers:
    Chrome: 103.0.5060.53
    Firefox: 104.0.2
  npmPackages:
    @emotion/react: ^11.10.4 => 11.10.4
    @emotion/styled: ^11.10.4 => 11.10.4
    @mui/base:  5.0.0-alpha.96
    @mui/core-downloads-tracker:  5.10.4
    @mui/envinfo: ^2.0.6 => 2.0.6
    @mui/icons-material: ^5.10.3 => 5.10.3
    @mui/material: file:../material-ui/packages/mui-material/build => 5.10.4
    @mui/private-theming:  5.10.3
    @mui/styled-engine:  5.10.4
    @mui/system:  5.10.4
    @mui/types:  7.2.0
    @mui/utils:  5.10.3
    @types/react:  18.0.18
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0

If this is a bug, I can work on it.

The Popover responsible for displaying option list has a default margin set to 16px. You can override it by setting it on MenuProps:
<TextField
  select
  label={"Example Input"}
  SelectProps={{
    MenuProps: {
      marginThreshold: 0
    }
  }}
>...

(or, with Select)
<Select
  MenuProps={{
    marginThreshold: 0
  }}
>...


Added Stars Count Feature

#502 Added feature to display stars of repository on main page. See Demo

This looks good, but the alignment is broken? Any way to fix this?
Also instead of rake task, you can add code to update the stars count in the migration for adding the stars_count column itself. We will delete that part later when the migration is run in production.

Hi @prathamesh-sonpatki I have added a migration to update stars_count of Repos. Also Fixed alignment issue. Now main page looks like

Thanks.

@prathamesh-sonpatki  All test cases passed locally. see
![test_cases_codetriage](https://cloud.githubusercontent.com/assets/16730632/18029022/ef1b428c-6ca9-11e6-9b61-f48c0a5e483d.png
I don't know why test cases failed here. am I missing something here?

@SagareGanesh Can you align starts count and issues counts to the left side? It looks a bit weird to me on right hand side :smile:
@schneems :+1: for this?

hi @prathamesh-sonpatki  I have updated alignment of Stars Count and Issues Count  of Repos. Now Main page looks like  Thanks.


Bugfix/ProductVideo component not displaying videos

Related issues

closes #3263
Short description and why it's useful

Removed product props from AddToCompare mixin because inside Product page we have computed product
#3264 this PR isn't right because we have map for video_id https://github.com/DivanteLtd/vue-storefront/blob/be5d5faddf844ee7e731dc9adb206709bf288b3d/core/modules/catalog/helpers/index.ts#L543 I fix it 👍

Screenshots of visual changes before/after (if there are any)

Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and currently important rules acceptance

[x] I read and followed contribution rules
[x] I read the TypeScript Action Plan and adjusted my PR according to it
[x] I read about Vue Storefront Modules and I am aware that every new feature should be a module

Ok, I can confirm that it works based on this example /training/training-9/luma-yoga-for-life-51.html
The video is played from the product page and  also after opening the gallery. 👌
I also added video to  another product https://magento231-demo.storefrontcloud.io/abominable-hoodie.html but I can only see it  on magento front, because re-indexing process failed for me.


Too wide matchName for InheritedNewAbstractMethodProblem

If one mixin ActorLogging (trait) it correctly complains about InheritedNewAbstractMethodProblem, but the filter to exclude it is:
ProblemFilters.exclude[InheritedNewAbstractMethodProblem]("akka.actor.ActorLogging.akka$actor$ActorLogging$$_log_=")
ProblemFilters.exclude[InheritedNewAbstractMethodProblem]("akka.actor.ActorLogging.log")
ProblemFilters.exclude[InheritedNewAbstractMethodProblem]("akka.actor.ActorLogging.akka$actor$ActorLogging$$_log")

Looks like matchName is for the trait that introduces the problem, instead of the target trait. That means that after adding such filter other breakages of mixing in ActorLogging will not be detected.

/cc @2m?

For now I have created a failing test-case: https://github.com/typesafehub/migration-manager/pull/197
More information on the issue is in https://github.com/akka/akka/pull/23563#discussion_r139315011 by @nick-nachos
It is the sbt plugin that needs a fix, as the reporter itself has correct report on this issue:
abstract method foo()Int in interface AA is inherited by class A in new version.

@2m I am not sure what you mean by:

It is the sbt plugin that needs a fix

I have fixed the issue locally by changing this:
case class InheritedNewAbstractMethodProblem(clazz: ClassInfo, inheritedMethod: MemberInfo) extends AbstractMethodProblem(inheritedMethod)
to this:
case class InheritedNewAbstractMethodProblem(clazz: ClassInfo, inheritedMethod: MemberInfo) extends AbstractMethodProblem(new MemberInfo(clazz, inheritedMethod.bytecodeName, inheritedMethod.flags, inheritedMethod.sig))
This fix is in par with the analysis I made in the related akka issue. Would you like to make the change yourself, or should I proceed with a pull request?

Fix sounds good. Yes, please proceed with a pull request!

Ok great. Before proceeding with this I should note that this change will have a breaking effect to any current consumers of Filters based on the InheritedNewAbstractMethodProblem, which will have to rewrite those filter expressions. Given that current behavior is considered a bug, I assume that this is not a problem, but I would like your confirmation as well.
To demonstrate with an example, in the scripted test case you provided a current consumer would have to write a filter expression of the form:
ProblemFilters.exclude[InheritedNewAbstractMethodProblem]("T.bar")
which will have to be changed to:
ProblemFilters.exclude[InheritedNewAbstractMethodProblem]("A.bar")


Create & submit google summer of code project proposal

[x] Agree on a useful project

@KirstieJane & @Islast met on 27 Jan and figured that a focus on visualisation and building a command line tool would be super helpful 😄

[x] Write the proposal

@KirstieJane & @Islast heavily adapted the tedana:tada: GSOC proposal that @tsalo and @emdupre wrote. Taylor and Elizabeth, please shout if you'd like to be explicitly acknowledged in that application!!
Here's the draft: https://docs.google.com/document/d/14kTPAP13fDpRXL7xEN5yyx2ozNvtncprToAoelgeYE8/edit?usp=sharing!

[x]  Submit the proposal to INCF to get it added to their list of projects 😺

Done! Closing


feat(evm): add basefee opcode

Pull Request type

Please check the type of change your PR introduces:

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

What is the current behavior?

Resolves: #157
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

can we actually find a way to return the current gas price in sn?

we need a syscall


Revert "Disable asserts in release builds when using Swift Package Manager"

Reverts pinterest/PINRemoteImage#615

Can you say why this is a good idea? Generally asserts should be disabled in release builds.


Why not make crazyflie-crtp-cpp a separate repository and add it as a submodule to this repo?

I'm currently working with a college on a project with Crazyflies in which we were given the task of creating a c++ version of the crazyflie-lib-python repository which is what we have been doing for the last few months. You can checkout the repo here.
We started working on this project once we saw that you have created this repository whose purpose is linking the python lib with crtp implementations in c++ code in order to improve the library's performance. We decided to fork your repository to add more functionality to it (which seems now like it was a bad idea) especially functions dealing with Log, Param and AppChannel communication with the crazyflie.
We are close to finishing this project of ours but we don't want it to be detached from your project, so that in case you update your code our project will also receive the updates. To do this we are planning to add your repo as a submodule, however a little digging into the matter revealed that this is quite difficult because of the python bindings.
I'm writing all this in part, to update you with what we are doing with the repo whose link I attached above, since we realised that it must look quite confusing (badly named and still in development). Nevertheless, the main reason I am writing this issue is because I would suggest to you to separate this repo into two repos, one being the "crazyflie-crtp-cpp" which is written in c++ which has nothing to do with python whatsoever but instead is the plain implementation of the crtp in c++ and the other which will include crazyflie-crtp-cpp as a submodule, which will add the py-bindings.
This would be very helpful to us, but it would probably help whoever in the future will be willing to adapt crazyflie-crtp-cpp for himself, to write his own crazyflie lib in c++, or for adding bindings for other languages like rust or what not.
I'm very eager to hear your response to what I have written, and am sorry in advance if it will take me long to respond to you like last time.

Splitting it in two parts increases modularity, but also dramatically worsens maintainability. As an example, consider you are adding a new feature. In the current version, one can just have a single commit (or single PR), that includes the new feature in C++, updates the Python bindings, and adds a test (perhaps using the Python bindings, since that makes testing easier). If the repo is split, you need at least two commits (or PRs) to achieve the same and it becomes cumbersome to track related changes in the history.
For that reason, many projects actually including the Python bindings in their repos (e.g., OMPL, Drake). However, it is also common to disable the Python bindings by default or offer an option to disable it to avoid unnecessary dependencies. Would that solve your problem?

Thanks for the quick answer, yes I think adding an option to disable the Python bindings would be very helpful, maybe add a cmake module file which could then be included by us in our CMakeLists.txt file without the python bindings.

Sounds good - I'll look into this (but PRs are also welcome). FYI, I started working on the crazyflie_cpp port at https://github.com/whoenig/crazyflie_cpp/tree/dev-crazyflie-link-cpp, which already uses this repo as a submodule (but with Python bindings still active). It might make sense to combine our efforts, depending on which features you have and what your goals are etc. For crazyflie_cpp the short-term goal is to stick with the current API as much as possible, to minimize required changes in the dependencies (crazyflie_ros and crazyswarm). Longer term, I also want to re-visit some of the API choices.

I'm sure we'd be happy to help you with this, our goals currently are to write a c++ version of the python library to increase performance and get all the benefits that c++ gives over python, like better multi-threading.
We started working on this after the promising performance boost describe in this blog, we thought "If replacing the python crtp code with c++ code would increase performance so well, why not try replacing all the code with c++ and seeing if the performance increases even more?". Hoping for a performance boost was one of the main reasons that we started working on the crazyflie-lib-cpp.
While you're looking into adding the ability to disable the python bindings I'll discuss with my colleagues about your purposeful to help you out with what you're doing, and hopefully we'll get back to you soon. In the mean time I am quite certain they'd be happy to help.

OK, we can move the higher level code into a "cflib" folder , like in the python version. and then we will do a PR back into crazyflie-link-cpp. Is that  acceptable?

There should be no higher-level code in crazyflie-link-cpp - this repository is for link-related code only. As discussed earlier, you can use this as a submodule in another project (e.g., crazyflie-lib-cpp if you want to follow the bitcraze naming convention). I am doing the same with crazyflie_cpp and I am happy to help with any issues regarding that.
By the way, crazyflie_cpp has been around for at least 5 years and is written in C++. From what I can tell so far, it mostly had performance benefits because of the link layer being implemented natively. I don't expect very big performance otherwise, unless you operate a swarm (a use-case the Crazyswarm at https://crazyswarm.readthedocs.io/en/latest/ has been optimized for, which also relies on crazyflie_cpp under the hood).

@trakevital Let me know if this change is acceptable for your use-case, so we can close this issue. You may find an example usage at https://github.com/whoenig/crazyflie_cpp/blob/dev-crazyflie-link-cpp/CMakeLists.txt#L11-L13.

I'll start checking right away hopefully will answer you in the next 24 hours

I am right now checking the tweak you've made and I run into this error when trying to make the files.
class "bitcraze::crazyflieLinkCpp::Packet" has no member "payloadAtString"C/C++(135)
‘const class bitcraze::crazyflieLinkCpp::Packet’ has no member named ‘payloadAtString’

crazyflie_cpp/src/crtp.cpp: In static member function ‘static std::string crtpConsoleResponse::text(const bitcraze::crazyflieLinkCpp::Packet&)’:
crazyflie_cpp/src/crtp.cpp:78:12: error: ‘const class bitcraze::crazyflieLinkCpp::Packet’ has no member named ‘payloadAtString’

You would need to try an older commit, since I made some changes in crazyflie-link-cpp that are not pull-requested, yet. This should be independent of of this issue, though.

Yep it worked. Only one last thing: I recommend changing the crazyflie-link-cpp submodule url from: git@github.com:bitcraze/crazyflie-link-cpp.git to: https://github.com/bitcraze/crazyflie-link-cpp.git as described in [here] (https://stackoverflow.com/a/14807969/13093413)

Thanks! I'll also need to set up CI, which should be able to find those sort of problems.


Custom signals

original.

This seems to be satisfied by idle_add and timeout_add, see the multithreading_context example.


Sourcecode needs a license

Well, technically it doesn't, but it would be nice to have it if you want other devs to be able to reuse and share your code. I suggest https://choosealicense.com/ to choose one that fits your needs. In any case, thanks for the tutorials and the provided code

Thanks for the suggestion! I'll update the license info soon :)

Done with commit 3df6a028b5a8c08a986b0f7e4e5f0a6a15ee3fdb


move type coercion for case when expr

Which issue does this PR close?

Closes #3673
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Ticket for CI coverage failure: https://github.com/apache/arrow-datafusion/issues/3678


Unable to start web UI in Docker Compose

Describe the bug
Can't run web UI following official setup
To Reproduce

Clone docker-compose.yml provided in the repo
docker-compose up
Run kubectl --kubeconfig kubeconfig.yaml create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml
Run kubectl --kubeconfig kubeconfig.yaml proxy
Access http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/

Expected behavior
Should be able to see the infamously slow K8S web panel
Actual behavior
steve@steve-pc /mnt/Projects/Docker/k3s> kubectl --kubeconfig kubeconfig.yaml proxy
Starting to serve on <IP_ADDRESS>:8001
I0228 18:14:03.283083    4675 log.go:172] http: proxy error: context canceled

And then browser connection suddenly stopped

As a workaround you can port-forward the port of the pod.

@unixfox well, there is no pod:
steve@steve-pc /mnt/Projects/Docker/k3s> kubectl --kubeconfig kubeconfig.yaml proxy &
Starting to serve on <IP_ADDRESS>:8001

steve@steve-pc /mnt/Projects/Docker/k3s> kubectl --kubeconfig kubeconfig.yaml get pod
No resources found.

@stevefan1999-personal try again with kubectl --kubeconfig kubeconfig.yaml get pod --all-namespaces=true.

@unixfox oh yes, now I do. BTW, how do you port-forward the dashboard? I tried to forward 443 but to no avail, it just tells me connection confused on the proxy port

Replace {id-pod} with the ID of the pod.
kubectl --kubeconfig kubeconfig.yaml --namespace=kube-system port-forward {id-pod} 8443

I found that command here (Google is your friend :smiley:): https://github.com/kubernetes/dashboard/issues/3038#issuecomment-410743994

@unixfox I almost got the same but instead I don't know one port is enough rather than 8443:443😂

This is the same issue as
https://github.com/rancher/k3s/issues/31

So, the dashboard is working then what is the token?

Thanks in advance.

What I have found is that when you run the server node with --disable-agent, which is the case in docker-compose, there is no virtual ethernet interfaces and iptables rules that get created in the server node. In consequence, the API server cannot reach the services (here the dashboard) and cannot proxy it. As a workaround, I have removed the --disable-agent in the docker-compose (you also need to add the tmpfs and privileged sections of the worker).
This also happens with Admission controller webhooks.

What I have found is that when you run the server node with --disable-agent, which is the case in docker-compose, there is no virtual ethernet interfaces and iptables rules that get created in the server node. In consequence, the API server cannot reach the services (here the dashboard) and cannot proxy it. As a workaround, I have removed the --disable-agent in the docker-compose (you also need to add the tmpfs and privileged sections of the worker).
This also happens with Admission controller webhooks.

k3s in docker with --disable-agent, when use metrics-server got the same situation #442

This seems like half-fixed out-of-the-box with the latest release of K3S, I was running a K3OS cluster tho. Considered it as a half-closed issue, that we haven't tried the original approach yet.


requestSubscription() android error DF-DFERH-01

Please use Discussion board if you want get some help out of it. Please report issue if there is a bug.

Version of react-native-iap
6.0.2
Version of react-native
0.63.4
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
downgrade subscription successfully
Actual behavior
After I call requestSubscription(), in android playStore modal the message 'Error retrieving information from server. DF-DFERH-01' appears and an error is thrown from requestSubscription: E_SERVICE_ERROR The service is unreachable. This may be your internet connection, or the Play Store may be down.
This only happens when downgrading a subscription plan.
Tested environment (Emulator? Real Device?)
Emulator, test env
Steps to reproduce the behavior
I'm calling await requestSubscription() after proper initialization with valid productId (sku).
This error happens only when downgrading to a cheaper subscription plan.
First subscription and upgrading are working fine.
I'm calling the method with all necessary params: (currentSku, false, lastSku, lastPurchaseToken, prorationMode)

Solved: the issue was that I was sending the wrong proration mode: ProrationModesAndroid.IMMEDIATE_AND_CHARGE_PRORATED_PRICE
This one above is only intended for upgrading (not downgrading).


Roll Flutter Engine from 903ea2eabca0 to 566a36a0bef9 (1 revision)

https://github.com/flutter/engine/compare/903ea2eabca0...566a36a0bef9
2023-03-16<EMAIL_ADDRESS>Roll Skia from 132ad29f753f to 4e218a8fe79a (11 revisions) (flutter/engine#40333)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


feat: context propagation

This PR

adds transactional context support

Related Issues
Fixes #819
Notes

This is my first PR here, so I'll appreciate any feedback you can provide!
I'm not sure if OpenFeatureAPI should use NoOpTransactionContextPropagator as a default TransactionContextPropagator, or if it can simply be null.
I assume there was a mistake in the test FlagEvaluationSpecTest.multi_layer_context_merges_correctly() - attributes were put in the same HashMap twice. Have a look at it, please, and if I'm mistaken, I'll revert the changes.

Wow thanks @ssharaev !
We'll get this reviewed ASAP, but it's KubeCon this week so many maintainers are traveling or will be soon, so patience is appreciated!
I'm adding @beeme1mr and @lukas-reining even though they aren't Java maintainers, because they both worked on the context propagation spec.

Wow thanks @ssharaev !
We'll get this reviewed ASAP, but it's KubeCon this week so many maintainers are traveling or will be soon, so patience is appreciated!
I'm adding @beeme1mr and @lukas-reining even though they aren't Java maintainers, because they both worked on the context propagation spec.

@toddbaert , thank you!
No problem, I'll be patient! 😄

@ssharaev great work 👏

I'm not sure if OpenFeatureAPI should use NoOpTransactionContextPropagator as a default

I think this is the right choice. But we should document this fact as well as show how to register TransactionContextPropagator  as well as ability to register a custom implementation.

I assume there was a mistake in the test FlagEvaluationSpecTest.multi_layer_context_merges_correctly()

Yes, this is the wrong setup of the test. Thank you for seeing this and fixing it.
I left some review comments, please check them. Once done, I can approve this :)

@ssharaev could you please check the check style failure [1]
You can execute them locally with mvn org.apache.maven.plugins:maven-checkstyle-plugin:3.3.1:check
[1] - https://github.com/open-feature/java-sdk/actions/runs/8361375008/job/22889438838?pr=848#step:6:66

@ssharaev could you please check the check style failure [1]
You can execute them locally with mvn org.apache.maven.plugins:maven-checkstyle-plugin:3.3.1:check
[1] - https://github.com/open-feature/java-sdk/actions/runs/8361375008/job/22889438838?pr=848#step:6:66

Yes, of course!
Fixed :)

LGTM 🙌  Thank you again @ssharaev

@ssharaev I'll give this a thorough review tomorrow.

@toddbaert , thank you for your review!

Would you like an invite to the OpenFeature org @ssharaev ? There's no obligation, but it allows us to ping you, etc.
Wow, I would be happy to join OpenFeature org, I really love, what you're doing!

Looks great to me, thanks @ssharaev! :)


Add WAF CLASSIC check for extra7129

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Fixed ALB to be evaluated by WAF Classic attach
issues#814

Added to branch 2.5 (devel), thanks!


Specify or deduce basis configuration

Problem
Millet generates a 5006 error for the following code; however, this code is accepted by both SML/NJ and MLton.
val x = Time.fromReal (1.0: real)

The error is technically correct, because Time.fromReal has type LargeReal.real -> time, resulting in a clash between real and LargeReal.real.
However, it is common for real = LargeReal.real. Both the SML/NJ and MLton implementations of the basis library do this.
Solution
A couple ideas:

Allow the user to specify the basis configuration by providing constraints such as type real = LargeReal.real.
Automatically deduce the basis configuration, perhaps by loading the basis library itself. IMO this is the preferable option.

The second option is what smlfmt does, for MLton at least. smlfmt queries the local install of MLton to determine where the basis library lives: see e.g. MLtonPathMap.getPathMap, which this tells us where $(SML_LIB) lives. For SML/NJ, you would need to know where $/basis.cm lives.

some issues i see with 2:

it requires the user to have a local sml installation. probably many users will anyway, but if they don't their experience will be limited. (or should we fall back to what millet has built in?)
millet would either have to know how to process the std basis, which i'm pretty sure has some… weirdness not seen in regular sml files (since it's defining a bunch of "built in" functions), or know how to specifically ignore the "weirdness" but still deduce the types of bindings, etc.

as for 1, if the user is going to do things themselves anyway, they could also just define val timeFromReal = Time.fromReal o Real.toLarge and use that everywhere. this has the benefit of being portable across any SML implementation and doesn't depend on basis-specific implementation details.

it requires the user to have a local sml installation. probably many users will anyway, but if they don't their experience will be limited. (or should we fall back to what millet has built in?)

Yeah, I was picturing that you can always fall back on the default behavior.

millet would either have to know how to process the std basis, which i'm pretty sure has some... weirdness

Haha yes, you're absolutely right. I ended up adding cases in smlfmt for MLton-specific directives, e.g. _overload which MLton uses for the limited overloading provided by the SML basis. Personally I don't think it's too bad, but certainly it's not ideal.

as for 1, if the user is going to do things themselves anyway, they could also just define val timeFromReal = Time.fromReal o Real.toLarge and use that everywhere. this has the benefit of being portable across any SML implementation and not depending on basis-specific implementation details.

In this particular case, this solution seems not too bad. But more generally, it's common to have implementation-specific code somewhere. For example, mpllib has a compatibility layer that allows it to be compiled with both mpl and mlton. Other projects commit to only using a particular compiler, in which case it's reasonable to rely on specifics of that compiler's ecosystem. A good example might be projects that rely heavily on FFI.


Database tables not loading in the window pain popout on the left

Issue Type: Bug
Add a connection to a database
click on the servers icon
click the drop down arrow
database objects don't load and timeout after 45 seconds.
it should load the server/database objects in the pop out panel
Azure Data Studio version: azuredatastudio 1.39.1 (7553f799e175f471b7590302dd65c997b838b29b, 2022-08-30T01:11:13.047Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (16 x 2496)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.73GB (19.77GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

@dspencer-hpg
Do you know how many tables you have in the database? Can you find out from sys.tables?
I would appreciate any more details you can provide to help reproduce the issue at our end.

Duplicate of #5173


small fix for run.sh

Fix the logic of showing the date.
(╯°Д°)╯┬─┬
Really Really sorry for opening so many PR.
(>_<)
It's my fault.

@simonsmh No worries. Many small PRs are ideal. It makes it easier for us to review and know the scope of the changes. Also, since this isn't a core function, I don't think we really care what the change is, you guys will fix it to work the way you want. :)
Thanks for contributing!


Add an example of prose - with scoped element styles

Create a scopes directory and add an example of scoped content, s-prose. (We could change this to use .text, I've used .prose for now).
HTML elements within the .gv-c-scope do not require classes, another example of this is GOV.UK's govspeak - it uses the parent .govuk-govspeak wrapper.
It also adds the typography example page content from GOV.UK elements to the config file, to test that these elements are styled correctly.
Screenshots (if appropriate):

What type of change is it?

New feature (non-breaking change which adds functionality)

This is failing because standard prefers:
foobar = 'This is a multiline \n' +
'string that is allowed by the \n' +
'rules'

to:
foobar = 'This is a multiline \
string that is allowed by the rules \
but I am being warned anyway.'

https://github.com/feross/standard/issues/532


Derive Eq and PartialEq on the various types in vc.rs?

I'd like to generally improve the usability of the the types in the ssi::vc module from a developer standpoint.  In particular, it would be very useful to have derived PartialEq (and Eq if possible) for all the various types, so e.g. ssi::vc::Credential or ssi::vc::CredentialSubject could be directly compared for equality.  Would you be open to a PR affecting this change?  I'm just wondering if not deriving at least PartialEq was an explicit choice or not.

Derived PartialEq/Eq would not necessarily make sense for these objects when the credential is using JSON-LD, i.e. with RDF-based proof types. For Credential it might be okay, but for CredentialSubject, the @context of the parent (credential) object should be taken into account when comparing these. I can elaborate on this if you need.
If PartialEq was implemented for Credential to be equivalent to if it was derived implementation with all contained objects using a derived PartialEq, that would correctly match equivalent credentials in the narrow case where the JSON structure is the same (which is not necessarily required for all proof types). But a derived PartialEq implementation for CredentialSubject, Issuer, etc. could be problematic because they lack reference to the credential's context.
Can you say more about how/where/why you want to do equality comparisons?

Interesting.  JSON-LD strikes again :-D
I'm interested in this generally for verifying in test code that credentials survive a round-trip through encode (sign) and decode+verify.  The reason this isn't trivial is probably also because of JSON-LD and the context/schema stuff.  I noticed that unless I truly correctly formatted the VC, some fields in the subject weren't making it through a round trip.
For now I've come up with a decent workaround for the specific credential schemas I'm working with (basically I convert from and to a struct which represents my specific credential schema, and check that for equality).  So if adding PartialEq to the credential types is problematic, then no worries.
I am curious though about how you and others go about debugging problems with contexts and schemas.  For example, I've defined my own simple VC context which simply specifies an email address for a given subject, but it fails with "key expansion failed" when I try to create an LDP format proof (and it doesn't fail for JWT format).

When I get key expansion failed, I try to narrow down where the key is that is failing to expand, by removing parts of the credential until the error goes away, then adding back parts until the error occurs.

@vdods It's possible to add newtypes to use specifically in the test suite to test encode-decode and decode-encode properties. This way these types won't propagate icky implementations through the codebase, but can be used to test properties like this.


Connection closed

Hello All.
we are using seaweedFS to save our images from cameras, we are with 3 volume servers and 1 master volume server. At first when we had only 2 volume servers we mostly get timeout errors from seaweedFS, But after adding a new volume server, Now we are getting error as
{%HTTPoison.Error{id: nil, reason: :closed},
 [{HTTPoison, :request!, 5, [file: 'lib/httpoison.ex', line: 66]},
  {EvercamMedia.Snapshot.Storage, :seaweedfs_save, 5,
   [file: 'lib/evercam_media/snapshot/storage.ex', line: 27]},
  {EvercamMedia.Snapshot.Storage, :save, 4,
   [file: 'lib/evercam_media/snapshot/storage.ex', line: 277]}]}

Before that reason was Timeout and now its closed, Can anyone point what could be the problem here?

I do not know how to reproduce this.

Thanks for reply Chris.
I will post a use case today, about it.
Anyhow from your previous answers.. am considering it IdleTimeout issue or no internet connection issue on other side where the volune server is.

Hi Chris
:\"Get http://{volume_ip}:8080/32788,c2cff08bd3729b47: dial tcp {volume_ip}:8080: getsockopt: connection refused\"}"

This is what I found out. What could this be? These errors come, when I requested a file from master server's filer.

seems there are too many connections to the volume server.

Hi, Chris Thanks for the reply.
Actually, we are using online servers, and our all master, volume servers are on https://www.hetzner.de/ie/hosting/produkte_rootserver/sx291
and Yes it's using IPv6 Subnet (/64) but it has never happened before, we are using seaweedFS on same servers for past few years, This problem just starts coming now.
Also too many connections? Do we need to reduce these connections? Eventually, SeaweedFS is capable of presenting a million files at a time. So, so many read and write requests are correct, right?

Your server may be running out of sockets. Try to reduce the connection
timeout limit.
On Fri, 10 Mar 2017 at 9:14 AM Junaid Farooq<EMAIL_ADDRESS>wrote:

Hi, Chris Thanks for the reply.
Actually, we are using online servers, and our all master, volume servers
are on https://www.hetzner.de/ie/hosting/produkte_rootserver/sx291
and Yes it's using IPv6 Subnet (/64) but it has never happened before, we
are using seaweedFS on same servers for past few years, This problem just
starts coming now.
Also too many connections? Do we need to reduce these connections?
Eventually, SeaweedFS is capable of presenting a million files at a time.
So, so many read and write requests are correct, right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/seaweedfs/issues/467#issuecomment-285727740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeL75Tbu5uSeNaJ7SZi6fA47t6BPlvTks5rkYTegaJpZM4MX-oY
.

Thanks for the reply Chris.
are you talking about IdleTimeout? in seaweedFS or something else? Sorry for asking silly questions but am not sure of which timeout you are talking about?

yes, the IdleTimeout.

Hello Chris.
Sorry for first misleading. We are not using IPV6, we are on ipv4. So here is the use case.
We have 1 master volume server and 3 volume server, running at the moment, having size as 70 TB.
As we are dealing with Cameras, We are getting jpegs from cameras with different frequencies.
e.g..
1 Per Second, 1 Every 2 Seconds, 1 Every 5 Seconds, 1 Every 10 Seconds, 1 Every 60 Seconds, 1 Every 5 minutes, 1 Every 10 minutes.
1: 1 Per second means, we are requesting an image from Camera, and then sending it to master filter to store it.
Right now we have 129 Cameras on 1 Per Second frequency, and they are doing the infinite recording. at the moment, which means we are sending 129 requests per second to SeaweedFS to save jpegs. same as Other 16 Cameras for 1 every 5 seconds, 193 cameras for 1 every 2 seconds.
Just for your information, this is our hard disk Configurations for every Server:
=== START OF INFORMATION SECTION ===
Device Model:     HGST HUS726060ALE610
Serial Number:    NCH38X2Z
LU WWN Device Id: 5 000cca 24dcf960c
Firmware Version: APGNT907
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Mar 14 07:52:46 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Can you suggest something now about idleTimeout or closed issue?
Also We are on ipv4 do you suggest to move to ipv6?

To follow on from @ijunaid8088 Jpeg sizes vary from 40kb to 400kb , the average is probably around 300kb and growing.
One concern I had re: Timeout solution is that the base load for writing is very constant, the rate at which we save images does not fluctuate.
All 4 seaweed servers are in the same datacentre.

I am suspecting the library you use does not properly close the connections, or does not try to re-use connections.
You can go to the server and see the open files to see whether there are too many open connections.

Hi Chris..
Thanks for your reply..
That makes sense what are you saying. I just ran this command on master server to see opened connections:
to see HTTP ones
root@Ubuntu-1404-trusty-64-minimal ~ # netstat | grep http | wc -l
5061
root@Ubuntu-1404-trusty-64-minimal ~ #

Connections on filer port
root@Ubuntu-1404-trusty-64-minimal ~ # netstat -an | grep :8888 | sort
tcp6       0      0 master_server_ip:8888     volume_server_ip:34336    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:35428    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:39950    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:40566    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:41219    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:42703    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:42712    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:43413    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:48089    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:48333    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:51288    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:52004    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:56077    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:56515    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:56683    ESTABLISHED
tcp6       0      0 master_server_ip:8888     volume_server_ip:59447    ESTABLISHED
tcp6       0      0 master_server_ip:8888     <IP_ADDRESS>:36142      TIME_WAIT
tcp6       0      0 master_server_ip:8888     <IP_ADDRESS>:36199      TIME_WAIT
tcp6       0      0 master_server_ip:8888     <IP_ADDRESS>:36240      FIN_WAIT2
tcp6       0      0 :::8888                 :::*                    LISTEN
tcp6       1      0 master_server_ip:8888     volume_server_ip:59886    CLOSE_WAIT

and to check on port 80
root@Ubuntu-1404-trusty-64-minimal ~ # netstat -an | grep :80 | sort
tcp        0      0 <IP_ADDRESS>:80              <IP_ADDRESS>:*               LISTEN
tcp        0      0 master_ip:32768    volume_ip:8080     ESTABLISHED
tcp        0      0 master_ip:32770    volume_ip:8080     ESTABLISHED
tcp        0      0 master_ip:32772    volume_ip:8080     ESTABLISHED
tcp        0      0 master_ip:32774    volume_ip:8080     ESTABLISHED
tcp        0      0 master_ip:32776    volume_ip:8080     ESTABLISHED
tcp        0      0 master_ip:32778    volume_ip:8080     ESTABLISHED
tcp        0      0 master_ip:32780    volume_ip:8080     ESTABLISHED
-------continues-----
tcp        0      0 master_ip:37742    volume_ip_2:8080       ESTABLISHED
tcp        0      0 master_ip:37744    volume_ip_2:8080       ESTABLISHED
tcp        0      0 master_ip:37748    volume_ip_2:8080       ESTABLISHED
tcp        0      0 master_ip:37750    volume_ip_2:8080       ESTABLISHED
tcp        0      0 master_ip:37752    volume_ip_2:8080       ESTABLISHED
tcp        0      0 master_ip:42034    volume_ip_3:8080         ESTABLISHED
tcp        0      0 master_ip:42268    volume_ip_3:8080         ESTABLISHED
tcp        0      0 master_ip:42312    volume_ip_3:8080         ESTABLISHED
tcp        0      0 master_ip:42342    volume_ip_3:8080         ESTABLISHED
tcp        0      0 master_ip:42404    volume_ip_3:8080         ESTABLISHED
tcp        0      0 master_ip:42444    volume_ip_3:8080         ESTABLISHED
tcp        0      0 master_ip:42446    volume_ip_3:8080         ESTABLISHED
tcp        0      0 master_ip:42448    volume_ip_3:8080         ESTABLISHED
---continues and ending at
tcp        0      0 master_ip:60994    volume_ip:8080     ESTABLISHED
tcp        0      0 master_ip:60996    volume_ip:8080     ESTABLISHED
tcp        0      0 master_ip:60998    volume_ip:8080     ESTABLISHED
tcp6       0      0 :::8080                 :::*                    LISTEN

Just for your information. Which Library we were using it use hackney pool to upload and download files,
At first, we had set the timeout for that HTTP request hackney pool to 10 seconds and max connection to 5K
and as you know we are running all master and volume with default idleTimeout values 10 , so they were on the same line. But after consulting few leads, I set the max connections to 1000 and timeout to 5 seconds.
Also just to tell you:  Without a pool, Http request library will close the TCP connection after a request finishes. When using a pool, it keeps the connection until it reaches the timeout.

thanks for the update!

Actually, that didn't solve the problem yet. :)
My question was:
Having timeout to 5 seconds in our HTTP request and 10 seconds in seaweedFS volumes.. is that fine?
Also, you see the connections, Is that fine to have that much of connection?


spotify.link

This is Spotify's URL domain to link to the app stores for download

Confirmed and removed.


fix #566, add rest service to shutdown an application and to query app configuration

a) add rest service to shutdown an application
b) add a rest service to provide app configuration

+1


Search dropdown gets overshadowed by the side overlay on Huggingface Docs

Hello!
The search dropdown on Huggingface docs gets hidden behind the side overlay whenever anything is typed in it.
Steps to reproduce

Go to https://huggingface.co/docs/transformers/index
Search anything, ex: BERT
The search results would appear below the side overlay

Screenshot

Thank you & please do let me know in case you need any further information!

for @mishig25 cc @gary149!

@Vaibhavs10 thanks a lot for notifying! the fix will be live soon 😊


Checkstyle profile, resteasy-jaxrs module checkstyle fixes

Closing this as it's out of date. https://github.com/resteasy/Resteasy/pull/1509 opened instead.


[oozie] XML External Entity Processing vulnerability

Hue is vulnerable to XML External Entity Processing attack. Steps to reproduce: oozie -> editor -> workflow -> import and import next xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
  <!ELEMENT foo ANY >
  <!ENTITY xxe SYSTEM "file:///etc/passwd" >
]>
<workflow-app name="Sequential-Java" xmlns="uri:oozie:workflow:0.4" xmlns:xi="http://www.w3.org/2001/XInclude">
    <start to="TeraGenWorkflow"/>
    <action name="TeraGenWorkflow">
        <java>
            <job-tracker>${jobTracker}</job-tracker>
            <name-node>${nameNode}</name-node>
            <main-class>qbc</main-class>
            <arg>${records}</arg>
            <arg>&xxe;</arg>
            <capture-output/>
        </java>
        <ok to="TeraSort"/>
        <error to="kill"/>
    </action>
    <action name="TeraSort">
        <java>
            <job-tracker>${jobTracker}</job-tracker>
            <name-node>${nameNode}</name-node>
            <main-class>org.apache.hadoop.examples.terasort.TeraSort</main-class>
            <arg>${output_dir}/teragen</arg>
            <arg>${output_dir}/terasort</arg>
        </java>
        <ok to="end"/>
        <error to="kill"/>
    </action>
    <kill name="kill">
        <message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
    </kill>
    <end name="end"/>
</workflow-app>

You'll see the content of /etc/passwd in the first action arguments. Need to use something like this library to protect. It requires lxml > 3.0 version, so it was upgraded.

Current plan is to drop XML parsing as it is pretty complicated and instead offer a real/import export of documents, workflows... https://issues.cloudera.org/browse/HUE-1660

@sai-krish Still there or good now?


SAK-50642 Content fix folder permission editing

I haven't tested this much. Just first working draft.
Maybe it would be nice to look for permissions in the parent folder to display (if no custom realm exists for the site)?

@adrianfish are you okay with this now?


emacs: let nix build for manualPackages fail if native-comp fails

Description of changes
The first and easy part of https://github.com/NixOS/nixpkgs/issues/335442.
This helps find packaging issues or issues in the package itself.
During the process, some issues are found:

emacsPackages.voicemacs misses a dependency which is added in this PR.
emacsPackages.prisma-mode misses a dependency which is added in this PR.
There are errors in native compilation of emacsPackages.matrix-client.  I delete it in this PR because it is deprecated in favor of emacsPackages.ement.
There are errors in native compilation of emacsPackages.tsc.  I create https://github.com/NixOS/nixpkgs/pull/335438 to fix that.
There are errors in native compilation of emacsPackages.color-theme-solarized, which is tracked by https://github.com/NixOS/nixpkgs/issues/335408.
There are errors in native compilation of emacsPackages.consult-gh, which is tracked by https://github.com/NixOS/nixpkgs/issues/335411.
After https://github.com/NixOS/nixpkgs/pull/335420 is merged, there are errors in native compilation of emacsPackages.session-management-for-emacs, which is tracked by https://github.com/NixOS/nixpkgs/issues/335421.

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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


Add possibility to add timezone id/name

Add possibility to add timezone id/name
#88

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.

Job failed, see logs for details

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

@ferranpons thanks for the review, I've changed the requested points.


Implementing outside angular

Can you please guide how this could be implemented outside of a single page app ? I was thinking may be storing the position of the hero element in a cookie and calling it in the next page and animating then , an angular free implementation would be welcomed

i am using jquery smoothstate

I guess you'd have a fair bit of work to do without Angular's built in support for animated transitions. In particular, with whatever system you're using, you need to make sure that the new DOM and the old DOM are on the screen at the same time until the transition has finished. Assuming you've cracked that, it should be fairly straight forward to locate both elements, and transition from one to the other.


why do not you update the template to be version 2019?

[Enter feedback here]

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

ID: 93a7a08f-2b74-eece-b263-03ab211cf805
Version Independent ID: 73bbdc61-d007-687f-9f78-a0e5a9de1f28
Content: Integrate API Management with Service Fabric in Azure - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-tutorial-deploy-api-management.md
Service: service-fabric
GitHub Login: @athinanthny
Microsoft Alias: atsenthi

@chineseneolight
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@athinanthny
Can you please check and add your comments on this doc update request as applicable.

@chineseneolight are you referring to the HTTP response?

Thanks for your feedback @chineseneolight. Which section of this article is incompatible with VS 2019?

I'm going to close this due to lack of response. Feel free to reopen if there's a specific documentation update you had in mind. #sign-off

I'm going to close this due to lack of response. Feel free to reopen if there's a specific documentation update you had in mind. #sign-off


Emergency backup created

See issue 6. Backup script now copies jenkins_home to a new folder in
S3. This stops the existing backup getting corrupted if the copy is
interrupted. Once complete the new backup is moved to the usual location
on S3 - the move operation between S3 locations appears to handle
interruptions cleanly

Looks good to me.

LGTM too


Clean printing to terminal alongside progress bar

🚀 Feature
A way to print to terminal without breaking up the progress bar.
Motivation
A lot of people print stuff to terminal while training/validating/testing, and currently a simple call to print() will break the progress bar. A way to get around this is to set up a custom progress bar, with methods for calling tqdm.write, and passing that as a callback to the trainer. However, this feels like a lot of effort for just getting clean terminal output alongside the progress bar.
Pitch
Ability to get the ProgressBar - or the current active tqdm instance (main_progress_bar, val_progres_bar, etc) - through the Trainer or the LightningModule.
Something like pbar = trainer.pbar would feel intuitive.
Then, the user can call pbar.write(), and get clean printing like tqdm.write().

hey! that's a neat ideat, I really like it. How about we integrate it with the already existing LightningModule.print?
You can currently access the progress bar like so:
self.trainer.progress_bar_callback.main_progress_bar.write("hello")

That sounds great! I actually didn't know you could do trainer.progres_bar_callback, maybe I missed it in the docs.
I think that way of accessing the tqdm.write() method is okay, maybe that should be added to the docs under the Trainer properties section for now?
I do think there is value forcing LightningModule.print to print without interfering with the progress bar, though.

I'll happily work on this :)
I propose to change current LightningModule.print() method:
class LightningModule:
    ...
    def print(self, *args, **kwargs) -> None:
        if self.trainer.is_global_zero:
            print(*args, **kwargs)

to this one:
class LightningModule:
    ...
    def print(self, *args, **kwargs) -> None:
        if self.trainer.is_global_zero:
            progress_bar = self.trainer.progress_bar_callback
            if progress_bar.is_enabled:
                progress_bar.print(*args, **kwargs)
            else:
                print(*args, **kwargs)

And add progress_bar.print(*args, **kwargs) method to the ProgressBar class.

I'll happily work on this :)
I propose to change current LightningModule.print() method:
class LightningModule:
    ...
    def print(self, *args, **kwargs) -> None:
        if self.trainer.is_global_zero:
            print(*args, **kwargs)

to this one:
class LightningModule:
    ...
    def print(self, *args, **kwargs) -> None:
        if self.trainer.is_global_zero:
            progress_bar = self.trainer.progress_bar_callback
            if progress_bar.is_enabled:
                progress_bar.print(*args, **kwargs)
            else:
                print(*args, **kwargs)

And add progress_bar.print(*args, **kwargs) method to the ProgressBar class.


set foot as the default terminal in the image via wayfire.ini and thunar configuration

still not working in thunar

somewhat fixed by including xfce4-terminal


vehicle etron: Log spammed despite car seems to be known

Describe the bug
every 30 secs the log shows:
[lp-1  ] ERROR 2023/02/07 18:32:04 vehicle soc: vehicle not available: cannot create vehicle 'template': cannot create vehicle 'etron': cannot get vehicles: Post "https://app-api.live-my.audi.com/vgql/v1/graphql": unexpected status: 400
HOWEVER when I console into the container all seems to be good. Problem statement: the vehicle status data is not visible in UI and does not get published in MQTT.
app # evcc vehicle
[main  ] INFO 2023/02/07 19:34:23 evcc 0.112.5
[main  ] INFO 2023/02/07 19:34:23 using config file: /etc/evcc.yaml
Soc:           60%
Capacity:      64.0kWh
Charge status: A
Range:         143km
Odometer:      21099km
Finish time:   2023-02-07 18:52:00 +0100 CET
Climater:      not available
Target Soc:    100%
/app #
Steps to reproduce
always
Configuration details
etron template

Log details
/app # evcc --log debug
[main  ] INFO 2023/02/07 19:36:13 evcc 0.112.5
[main  ] INFO 2023/02/07 19:36:13 using config file: /etc/evcc.yaml
[main  ] INFO 2023/02/07 19:36:13 starting ui and api at :7070
[db    ] INFO 2023/02/07 19:36:13 using sqlite database: /root/.evcc/evcc.db
[mqtt  ] INFO 2023/02/07 19:36:13 connecting evcc-1592787810 at tcp://fhemprod:1883
[mqtt  ] DEBUG 2023/02/07 19:36:13 tcp://fhemprod:1883 connected
[site  ] INFO 2023/02/07 19:36:15 site config:
[site  ] INFO 2023/02/07 19:36:15   meters:      grid ✓ pv ✓ battery ✗
[site  ] INFO 2023/02/07 19:36:15     grid:      power ✓ energy ✗ currents ✗
[site  ] INFO 2023/02/07 19:36:15     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2023/02/07 19:36:15   vehicles:
[site  ] INFO 2023/02/07 19:36:15     vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✗

What type of operating system are you running?
Linux
Version
0.112.5

Missing requested info


Delyist rhythmic marigold cormorant

Hello, do you think my cap helium device has been deleted from the list. I use this device in appropriate conditions. I want it to ope

n

This is not the right place for deny list discussions.. Please go to Discord and the crowdspot-denylist channel to ask for analysis of your deny list report card.


Height of a Binary Tree

Description 📜
Added implementation to find height of a Binary Tree.
Fixes #8665

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[x ] DSA
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[ x] I follow Contributing Guidelines & Code of conduct of this project.
[ x] I have performed a self-review of my own code or work.
[x ] I have commented my code, particularly in hard-to-understand areas.
[x ] My changes generates no new warnings.
[ x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Hey @nimisha-yadav , check this PR. This is an implementation to find height of a Binary Tree.

@juhik24 name your folder as 2. Height of Binary Tree

Done


Create a Physics Sample Project

Summary
Create a new project that illustrates physics in Duality and that can serve as a starting point for new users on how to use both simple and complex parts of the system. As a side effect, it would also be a nice persistent testbed for development purposes.
Analysis

Structure the sample into multiple scenes, each with a distinct topic.
The scenes should be grouped into "Basics" and "Advanced" folders.
Things to cover:

Basic single-shape bodies
Multiple shapes per body
Joints
Raycasts
Sensor shapes
Restitution, Friction, Damping, Mass
Collision categories, groups
Applying force, impulse, velocity

There should also be a basic click-and-drag tool throughout all scenes.

Progress

Created a physics-sample-wip branch to work on this.
Created project, nuspec file, added icon.
Created a sample scene illustrating different friction values.

Progress

Added sample scenes illustrating the effect of restitution, mass and damping values.
Added click-drag interaction.

Progress

Added sample descriptions and fonts.
Added camera movement via mouse click-drag using the right button.

Immediate ToDo

Implement sample selection via arrow keys.
Implement pausing the simulation via space bar.
More samples, see the main issue text.

Progress

Sample selection via arrow keys.
Simulation pause via space bar.
Temporarily switching dragged objects to continuous collision mode.
Added a shape definition sample.

Immediate ToDo

More samples, see the main issue text.

Progress

Added samples for distance, angle and friction joints.
Some project structure improvements.

Immediate ToDo

Samples for all the other joint types.
Samples for:

Sensor shapes
Raycasts
AABB queries
Collision groups and categories
Custom collision filters.
Collision handling
Adding force / impulse / velocity

Progress

Added a sample for RevoluteJoints.

Immediate ToDo

Samples for all the other joint types.

Prismatic
Rope
Weld
Line
Slider
Pulley
Gear

Samples for:

Sensor shapes
Raycasts
AABB queries
Collision groups and categories
Custom collision filters.
Collision handling
Adding force / impulse / velocity

Progress

Added a sample for PrismaticJoints.

Immediate ToDo

Fix prismatic and line joints movement axis properties.
Samples for all the other joint types.

Rope
Weld
Line
Slider
Pulley
Gear

Samples for:

Sensor shapes
Raycasts
AABB queries
Collision groups and categories
Custom collision filters.
Collision handling
Adding force / impulse / velocity

Progress

Fixed prismatic and line joint movement axis behavior.

Immediate ToDo

Samples for all the other joint types.

Rope
Weld
Line
Slider
Pulley
Gear

Samples for:

Sensor shapes
Raycasts
AABB queries
Collision groups and categories
Custom collision filters.
Collision handling
Adding force / impulse / velocity

Progress

Fixed revolute joint API expressing their motor speed in degrees.
Added samples for more joint types:

Rope
Weld
Line

Immediate ToDo

Samples for all the other joint types.

Slider
Pulley
Gear

Samples for:

Sensor shapes
Raycasts
AABB queries
Collision groups and categories
Custom collision filters.
Collision handling
Adding force / impulse / velocity
Magnets

Progress

Fixed gear joint assignment in Farseer and updated dependencies.
Added a sample for pulley joints.
Investigated gear and slider joints and found that they behave physically unstable. Flagged both as obsolete.
Merged recent master changes into the develop-3.0 branch.
Removed obsolete joint types in v3.0.

Immediate ToDo

Samples for:

Sensor shapes
Raycasts
AABB queries
Collision groups and categories
Custom collision filters.
Collision handling
Adding force / impulse / velocity
Magnets

Progress

Added a sample for collision groups and categories.

Immediate ToDo

Samples for:

Sensor shapes

Static
As part of dynamic objects
As static child of a dynamic object

Raycasts
AABB queries
Custom collision filters.

One-way collision

Collision handling
Adding force / impulse / velocity

Progress

Added a sample for sensor shapes.
Found that there is currently no way to model sensors as child objects, because dynamic and kinematic bodies ignore parent transform changes.

Immediate ToDo

Samples for:

Raycasts
AABB queries
Custom collision filters.

One-way collision

Collision handling
Adding force / impulse / velocity

Consider changing behavior so that IgnoreParent is no longer forced-true for non-static RigidBodies.

There are cases where this is perfectly reasonable - like child shapes that act as sensors only and do not move on their own.
This is a breaking change that can only be done in the develop-3.0 branch.
In other cases, behavior will look buggy though, especially when nesting RigidBody objects. Changing behavior is not a win-win situation.
Is there some middle ground with the best of both worlds - full control and decent default behavior?

Progress

Added a sample for collision handling code that uses visual logs to display collision data and events.

Immediate ToDo

Samples for:

Raycasts
AABB queries
Custom collision filters.

One-way collision

Adding force / impulse / velocity

Merge physics-sample-wip into master.
Trigger a package release and test the package after it becomes available.
Merge master into develop-3.0.
Consider changing behavior so that IgnoreParent is no longer forced-true for non-static RigidBodies.

There are cases where this is perfectly reasonable - like child shapes that act as sensors only and do not move on their own.
In other cases, behavior will look buggy (like when nesting RigidBody objects), so changing behavior is not a win-win situation - but right now, more control to the user seems like the better choice.
This is a breaking change, so it should be done in the develop-3.0 branch.

Progress

Added a sample for raycasts.
Added a sample for rect queries.
Extended the RigidBody query API to allow populating a pre-existing list vs. insisting to create a new list every call. Flagged the old methods as obsolete and removed them in v3.0.

Immediate ToDo

Samples for:

Custom collision filters.

One-way collision

Adding force / impulse / velocity

Merge physics-sample-wip into master.
Trigger a package release and test the package after it becomes available.
Merge master into develop-3.0.
Consider changing behavior so that IgnoreParent is no longer forced-true for non-static RigidBodies.

There are cases where this is perfectly reasonable - like child shapes that act as sensors only and do not move on their own.
In other cases, behavior will look buggy (like when nesting RigidBody objects), so changing behavior is not a win-win situation - but right now, more control to the user seems like the better choice.
This is a breaking change, so it should be done in the develop-3.0 branch.

Progress

Added a sample for applying forces, impulses and velocities.

Immediate ToDo

Samples for:

Custom collision filters (for example one-way collision)

Merge physics-sample-wip into master.
Trigger a package release and test the package after it becomes available.
Merge master into develop-3.0.
Consider changing behavior so that IgnoreParent is no longer forced-true for non-static RigidBodies.

There are cases where this is perfectly reasonable - like child shapes that act as sensors only and do not move on their own.
In other cases, behavior will look buggy (like when nesting RigidBody objects), so changing behavior is not a win-win situation - but right now, more control to the user seems like the better choice.
This is a breaking change, so it should be done in the develop-3.0 branch.

Progress

Added a sample for collision filters. One-way platforms in this case.

Immediate ToDo

Merge physics-sample-wip into master.
Trigger a package release and test the package after it becomes available.
Merge master into develop-3.0.
Consider changing behavior so that IgnoreParent is no longer forced-true for non-static RigidBodies.

There are cases where this is perfectly reasonable - like child shapes that act as sensors only and do not move on their own.
In other cases, behavior will look buggy (like when nesting RigidBody objects), so changing behavior is not a win-win situation - but right now, more control to the user seems like the better choice.
This is a breaking change, so it should be done in the develop-3.0 branch.

All done and release in progress. Found that the IgnoreParent issue is potentially non-breaking after all and moved it into issue #531.