Rewrite

It's very hard to maintain a project which doesn't have any contributors or users (lol).
Plan for rewriting one module at a time, one build step at a time:
Phase 1

[x] Use xo for linting
[x] Remove dependencies:

[x] react-mdl: Why ? It's good for prototypes but not for my use-case. I need to custom build the UI.
[x] react-throttle: I don't even know if it's helping at all.
[x] ws: With webpack 2, we can also use its server for dev testing.
[x] react-calendar: very fat and not a major feature.

[x] Update/Replace dependencies;

[x] Upgrade to webpack 2. It's simple change that might help in reducing some bundle size.
[x] Upgrade to react-router v4.
[x] Consider using preact over react. We can definitely benefit with a smaller bundle size.

Considered, but waiting for react@16 to go gold.

[x] New dependencies:

[x] Consider glamor / styled-jsx for CSS.

Using styled-components instead.

Phase 2

[ ] Perf

[x] Code Split vendor and app-code
[ ] Find more areas to split code based on route or component.
[ ] Use Service Worker to cache vendor.min.js, app.min.js and other assets.
[ ] Prefetch angs etc.

[ ] Cleanup

[x] Fix xo lint errors.
[x] Re-org components into components and pages, so that we have a clear distinction between those.
[x] Redux?

Our actions are fairly less, and the state is mingled much, so I'm not sure if we really require redux as of now.
On a second thought, having redux store will help us make the app offline-first more readily.

[ ] push to location for sggs, shabads etc on ang/query change.

[ ] Features

[ ] Use react-router-dom in much more ergonomic way instead of simply porting RR3 to RR4.
[ ] Style all the things!

[ ] Support night-mode via themes.
[ ] Improve navigation. I want it to work the way user uses the app and not how the sitemap looks like. Search and Sehaj paath being the main features. We can try interactions like floating icons or tabs ?
[ ] Use some cleaner react-calendar alternative (make yourself!)

I would really love a friend who can motivate me to work on this 🙈

rewrite does master reorg and dependency changes.
It uses

webpack2
babel-preset-env
RR4
styled-components

@bogas04 good job bro! I am happy to help you in this project, let me know which area you want me to have a look.

Thank you so much @perminder-klair !! You can take time to get used to the app, get it building on your system and then I can help you in finding issues that you can take up.
I'm really sorry for late reply, have been very busy lately.

@bogas04 I got it all setup already, all looks good!

That's great @perminder-klair . You could take up some of these issues:

#100
#89
#83
#54
#50 (I suck at design as you might have guessed already)
#49
#25

These are some easy first-pr issues. Really sorry for late replies, have been very busy lately. I can't thank you enough for sticking around and trying to help this projec.t

Added redux support for two actions

[x] toggleNightMode
[x] increaseFontSize
[x] decreaseFontSize
[ ] setAng
[ ] increaseAng
[ ] decreaseAng

Closing as most of the work is done. Remaining parts can be covered by individual issues.


Updating to latest gradle and SDK

Gradle 5.1.1
SDK 28
Build tools removed cause it's unnecessary now

Thanks for your contribution!
I will make the effort to merge your changes for the next release.


Update Development Status before release

Update setup.py
'Development Status :: 4 - Beta'

Leaving project in  Development Status :: 4 - Beta for now


Public posts front end setup

Codecov Report

Merging #102 (44d891f) into dev (b71257d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #102   +/-   ##
=======================================
  Coverage   58.87%   58.87%
=======================================
  Files          15       15
  Lines         980      980
=======================================
  Hits          577      577
  Misses        403      403

Continue to review full report at Codecov.

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


30% ruling - tax-free and taxable income do not equal total gross

Hello,
I'm having some trouble understanding the calculations, they don't seem to match the results I'm getting while doing a manual calculation.

Filters on: holiday allowance included and 30% ruling.
Amount tested: 80k gross per year.
Main results that don't match: taxable income, tax-free income, and implicitly, the final net salary.
Questions & comments based on manual calculation in the screenshot attached.
Thanks!

@eualexam thank you for adding your feedback!
it will be be more convenient for others if you put in text (not image) all your calculations - that other can check by coping specific numbers


Cannot use reserved word as table column name.

I import data from oracle, and this is a table which has a column named 'POSITION'，it is a reserved word in omnisci, but I donnot want to change it, how can I do.

Hi @junrenge you may place the column name in double-quotes: "POSITION" TEXT.


After upgrading to 2024.1, there is no feedback on the switch status

After upgrading to 2024.1, there is no feedback on the switch status. For example, when I turn on the light, the light comes on, but the status is not synchronized

Same problem here after upgrade to 2024.1

When click on a switch (light switch):
Jan  4 02:36:15 homeassistant homeassistant[688]: #033[31m2024-01-04 02:36:15.476 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Jan  4 02:36:15 homeassistant homeassistant[688]: Traceback (most recent call last): Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 342, in _process_ws_msg Jan  4 02:36:15 homeassistant homeassistant[688]:     self.dispatcher_send(SIGNAL_UPDATE, data) Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/config/custom_components/sonoff/core/ewelink/base.py", line 63, in dispatcher_send Jan  4 02:36:15 homeassistant homeassistant[688]:     handler(*args, **kwargs) Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 229, in cloud_update Jan  4 02:36:15 homeassistant homeassistant[688]:     self.dispatcher_send(did, params) Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/config/custom_components/sonoff/core/ewelink/base.py", line 63, in dispatcher_send Jan  4 02:36:15 homeassistant homeassistant[688]:     handler(*args, **kwargs) Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/config/custom_components/sonoff/core/entity.py", line 119, in internal_update Jan  4 02:36:15 homeassistant homeassistant[688]:     self._async_write_ha_state() Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1062, in _async_write_ha_state Jan  4 02:36:15 homeassistant homeassistant[688]:     state, attr, capabilities, shadowed_attr = self.__async_calculate_state() Jan  4 02:36:15 homeassistant homeassistant[688]:                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 994, in __async_calculate_state Jan  4 02:36:15 homeassistant homeassistant[688]:     capability_attr = self.capability_attributes Jan  4 02:36:15 homeassistant homeassistant[688]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 238, in capability_attributes Jan  4 02:36:15 homeassistant homeassistant[688]:     self.native_min_value, floor_decimal, device_class Jan  4 02:36:15 homeassistant homeassistant[688]:     ^^^^^^^^^^^^^^^^^^^^^ Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/usr/src/homeassistant/homeassistant/backports/functools.py", line 70, in __get__ Jan  4 02:36:15 homeassistant homeassistant[688]:     val = self.func(instance) Jan  4 02:36:15 homeassistant homeassistant[688]:           ^^^^^^^^^^^^^^^^^^^ Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 269, in native_min_value Jan  4 02:36:15 homeassistant homeassistant[688]:     if hasattr(self, "_attr_native_min_value"): Jan  4 02:36:15 homeassistant homeassistant[688]:        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 338, in _getter Jan  4 02:36:15 homeassistant homeassistant[688]:     return getattr(o, private_attr_name) Jan  4 02:36:15 homeassistant homeassistant[688]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 338, in _getter Jan  4 02:36:15 homeassistant homeassistant[688]:     return getattr(o, private_attr_name) Jan  4 02:36:15 homeassistant homeassistant[688]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jan  4 02:36:15 homeassistant homeassistant[688]:   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 338, in _getter Jan  4 02:36:15 homeassistant homeassistant[688]:     return getattr(o, private_attr_name) Jan  4 02:36:15 homeassistant homeassistant[688]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jan  4 02:36:15 homeassistant homeassistant[688]:   [Previous line repeated 975 more times] Jan  4 02:36:15 homeassistant homeassistant[688]: RecursionError: maximum recursion depth exceeded#033[0m

Same here

Duplicate of #1285 and #1288

May I ask when the author can fix this issue? It's very tricky, all the lights in the house are using sonoff

When he has time to do so (the author is making this component in his free time, voluntarily) - if it is this tricky stay on HA 2023.12.

Furthermore, please close this issue and track #1288 instead


ifreq for apple follow-up fix case when in non libc_union case

@bors r+

:hourglass: Testing commit 280f3661e6732436110fca350ef6724cfb88a9ab with merge a8b74d9abbfbf9886bcd1a9e5f0f5f5e799522f1...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing a8b74d9abbfbf9886bcd1a9e5f0f5f5e799522f1 to main...


[VSim ECAPA] What $MODEL_PATH should be used when using the ECAPA model for speaker similarity evaluation?

Hi, thanks for your great work! I would like to use VSim for speaker similarity evaluation. From the document, I see that I should use "wavlm_large_fintune.pth" model when "model_type=valle". I'm not sure whether model path should be used when I want to use "model_type=ecapa"? Thanks!

The recommended setting is using model_type=valle and wavlm_large_fintune.pth.
This is the setting that we ended up using in the Seamless paper.
The ECAPA architecture is supported only for the sake of reproducibility of some our preliminary experiments that were not published (or for the unlikely case if you train your own ECAPA speech encoder).

Thanks for your reply!


[add] Save filters to dashboard

Save the filters of filter box to current dashboard.

Coverage decreased (-0.04%) to 69.348% when pulling 581f610f741f22777266305e2120532c4f71b16f on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.04%) to 69.348% when pulling 581f610f741f22777266305e2120532c4f71b16f on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.04%) to 69.348% when pulling 581f610f741f22777266305e2120532c4f71b16f on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.04%) to 69.348% when pulling 10e366ed869d74aaeabbb428bd5899051451881f on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.04%) to 69.348% when pulling 10e366ed869d74aaeabbb428bd5899051451881f on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.04%) to 69.348% when pulling 10e366ed869d74aaeabbb428bd5899051451881f on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.04%) to 69.348% when pulling 5df20881ffc50b94fb017a4589d9ae1b4f6f74d1 on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.07%) to 69.313% when pulling b043d7e61dc0c74ee0f6c7cb981f3101daf20fbb on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.2%) to 69.194% when pulling b38bac4d28d1adf3b0447414f24b662bba196efe on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.03%) to 69.358% when pulling 4bbe05d72b5989d569bb2d26cf8e5f48aef28c6c on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.07%) to 69.318% when pulling 5d815b224790446c4360e6312a7ea2657122f2c6 on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.07%) to 69.318% when pulling 5d815b224790446c4360e6312a7ea2657122f2c6 on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.07%) to 69.318% when pulling adfd6941fc26c327f79714f59755a65e85dcd220 on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.07%) to 69.318% when pulling 396e375d4e393ec28abf805ef14e82b4380228d0 on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

Coverage decreased (-0.04%) to 69.348% when pulling f46ea38698253b1e515d09c3faf695057c1c72a5 on RoganW:default_filters into 6045063e786caef8a1692c0504d4cfb19e42ddde on apache:master.

@mistercrunch Thanks, code optimized.

This is great work, thanks for this feature!


Next steps... [save and publish]

As a high-level overview of the save and publish function I would suggest a "Next steps" link to learn more about how published app can be used. It seems next steps would lead one to find the published app.

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

ID: 1c73b33f-c31c-429a-6adb-2613991a6469
Version Independent ID: 31c8663c-72ba-b474-67fa-d5ca56e985ba
Content: Save and publish a canvas app - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/save-publish-app.md
Service: powerapps
GitHub Login: @AFTOwen
Microsoft Alias: anneta

Links added. Thanks, @JayBro200!


Migration error in latest master

Running error on local setup, in Mac (Operating system)
Steps to reproduce
$ python3 manage.py migrate
CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0034_auto_20180817_1337, 0034_auto_20180817_1206 in mainapp).
To fix them run 'python manage.py makemigrations --merge'

Expected behaviour
Should run migration on local setup

Rebase

https://github.com/IEEEKeralaSection/rescuekerala/commit/c2b099ef5b0ad21d83637238c205ea4755a56a4a fixed

@biswaz can I retry now ?


Add homepage and bug-reports to .cabal file.

Forgot this in my last PR...

Add homepage and bug-reports to .cabal file.

Thanks!


Problems with WCVP

Thanks a lot for uploading the latest data. We tested the api against the POWO data and experienced some issues. We sent the name "Sinapidendron angustifolium" and these are the the issues we experienced:
The outlink field is empty
All current[...] fields are empty.
It classified it as a synonym even though it is accepted in the csv.
The classificationRanks and classificationPaths are missing lower levels, for instance species.

The outlink is located in https://sftp.kew.org/pub/data-repositories/WCVP/wcvp_dwca.zip/wcvp_taxon.csv as references and the wcvp_taxon.csv seems to contain more complete information than wcvp_names.csv.
I don't know what could have happened to the other fields and why they are not populated.
We tested running against PWO as well and compared the response. I attached two text files with the data. Please let me know if you want it in plain text here in the chat instead. Let me know if there is anything I can do to help 🙏

I am getting there:
[{"id":"3e49c219-f10f-5740-a4bd-bfb0fbbc74b2","name":"Sinapidendron angustifolium","cardinality":2,"matchType":"Exact","bestResult":{"dataSourceId":197,"dataSourceTitleShort":"World Checklist of Vascular Plants","curation":"Curated","recordId":"2476356","localId":"288938-1","entryDate":"2024-10-07","sortScore":9.414262843947126,"matchedNameID":"f2a8e16f-9c85-5f18-a09b-f823069010db","matchedName":"Sinapidendron angustifolium (DC.) Lowe","matchedCardinality":2,"matchedCanonicalSimple":"Sinapidendron angustifolium","matchedCanonicalFull":"Sinapidendron angustifolium","currentRecordId":"2476356","currentNameId":"f2a8e16f-9c85-5f18-a09b-f823069010db","currentName":"Sinapidendron angustifolium (DC.) Lowe","currentCardinality":2,"currentCanonicalSimple":"Sinapidendron angustifolium","currentCanonicalFull":"Sinapidendron angustifolium","taxonomicStatus":"Accepted","isSynonym":false,"classificationPath":"Plantae|Tracheophyta|Brassicaceae|Sinapidendron","classificationRanks":"domain|phylum|family|genus","editDistance":0,"stemEditDistance":0,"matchType":"Exact","scoreDetails":{"cardinalityScore":1,"infraSpecificRankScore":0,"fuzzyLessScore":1,"curatedDataScore":0.6666667,"authorMatchScore":0.2857143,"acceptedNameScore":1,"parsingQualityScore":1}},"dataSourcesNum":1,"dataSourcesIds":[197],"curation":"Curated"}]

Outlink still does not work, but it is the problem for all data-sources, so I am going to close this ticket, and open a new one for outlinks.
Please feel free to reopen if I am still missing something!


[fix bug 1301416] Add 'Review' group into the portal.

Coverage decreased (-0.02%) to 91.371% when pulling 3b6b9a3697fca24311f45b19ddddbae478eb0d92 on akatsoulas:1301416-add-review-group into 8c5696b86badd4c2d136a0ee9506c7265a81fe89 on mozilla:master.

r+


Contenteditable editing does not work within an iframe

We upgraded to Capybara 2.2.1 to use the contenteditable feature to interact with SCEditor, a JS rich text editor. It renders the editable body within an iframe.
Unfortunately, using node.set() does not work in a within_iframe block. We tried something along the lines of
  page.execute_script("$('iframe').attr('id', 'editor')")
  within_frame("editor") do
    node = find("p")
    node.set("fnord")
  end

It will defocus the currently selected element, but not change the focus inside the frame.

Closing since this is an issue in selenium.  If it's ever fixed there it will start working in Capybara.


Bump 4.10.10.SNAPSHOT

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8166933697

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8166933697
Status: success


Bugfix/282 out of bounds datetime

Description
This PR is intended to address an issue in which datasets with non-cf-compliant times will not open if they go too far into the future.

Closes #282

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

If applicable:

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass with my changes (locally and CI/CD build)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)

@tomvothecoder – I added this PR to get things rolling; I think you'll have some insights to improve the code in places.
I got stuck resolving a mypi issue. If you are okay with the direction I am going, I can fix the unit tests.

Hi @pochedls, I'm taking a look right now. I'll also rebase this branch on the latest main.

Codecov Report

Merging #283 (1320b50) into main (16b3b06) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #283   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        14
  Lines         1143      1149    +6
=========================================
+ Hits          1143      1149    +6

Impacted Files
Coverage Δ

xcdat/dataset.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


proposal: support int(bool) conversions in Go.1.5 (language change)

I propose the following language change for Go 1.5:
An explicit conversion int(b) where b has a boolean type would become legal, and would yield 1 if b is true, 0 otherwise.  Similar conversions would be legal for all numeric types.
Rationale: currently this function cannot be computed in a single expression, despite it being often useful, hard to misuse, efficiently implemented by modern ALUs, present in nearly all other languages, and syntactically natural in Go.
While I appreciate the value of avoiding implicit int/bool conversions, forbidding explicit ones seems slightly obtuse, and as a result of its omission, one must write four extra lines of code:
var i int
 if b {
     i = 1
 }
 ... i ...
which the gc compiler does not optimize this into the obvious single instruction.
The reverse operation bool(i), is not essential since i != 0 has the same effect and can be used in an expression context, but could be added for symmetry.  (I have no strong opinion.)

@serussell No, branching is still more expensive. Modern CPUs have to guess which way a branch is going to go. If they guess wrong, they will realize much later that they have to go back and redo a lot of prior computation. That is very slow: something like 20 instructions wasted on a modern Intel CPU. See https://en.wikipedia.org/wiki/Branch_predictor
For speed, then, it would be better for the compilers to avoid conditional jumps for bool-to-int conversion.

@bthomson, hmmm.  Then I don't understand what @cookieo9 was suggesting would be better.  It's generally good (for performance) to avoid branching, except that branching code is often more clear.  In any case, I suspect it's moot because I can't think of an implementation of int() that wouldn't involve a branch somewhere under the hood.  int() just hides the branch, and it is less clear... although the brevity is admirable.

Removed Go 1.5. This is either a dup of #6011 or should go through the proposal process (write a doc) if this is actually a language change proposal.

I hope they didn't/won't implement this. Implicit conversion is an evil whatever pratical reasons are listed.

@DenisCheremisov this proposal is for an explicit conversion.

@serussell, compiling int(bool) won't require branches on most
modern architecture because they provide conditional set and/or
conditional move instruction.
(I'm not advocating int(bool) though, just clarify that it can be
implemented without conditional branches.)

The thread on golang-nuts raises a couple of key issues with this proposal:

It is yet another very small convenience that can be replaced with a short function,
It's not clear whether bool(0) should return false or true. There are arguments both ways.

For these reasons I am going to decline this proposal.

@rsc and I were chatting about this earlier in the week and he suggested gathering some data, so I did. See https://go.dev/cl/550235 for the logic and its complete output.
In short, across about 19,000 modules, there are about 10K places where an if/else statement is used to simulate an int(bool) conversion. (I didn't attempt to find places where if/else was used to compute bool < bool, as is common in sort.Interface.Less implementations.) Of those, I ignored the ~5.5K in generated .pb.go files, and the ~2K in tensorflow generic_cmp files, leaving about more 2700 interesting cases. Here's a random sample of 100:
<EMAIL_ADDRESS>[if]: u = int(val)
<EMAIL_ADDRESS>[return]: return int(temp&0x01 == 1)
<EMAIL_ADDRESS>[return]: return int(temp&0x01 == 1)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(OwnerEvents)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(OwnerEvents)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(Pending)
<EMAIL_ADDRESS>[if]: status = int(isBootstrapped)
<EMAIL_ADDRESS>[if]: status = int(isBootstrapped)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(Delete)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(v.Shaped)
<EMAIL_ADDRESS>[if-else]: a.Nulls = int(val.IsValid())
<EMAIL_ADDRESS>[if]: num = int(b)
<EMAIL_ADDRESS>[if]: num = int(b)
<EMAIL_ADDRESS>[if]: val = int(val)
<EMAIL_ADDRESS>[if]: val = int(val)
<EMAIL_ADDRESS>[if]: idx = int(len(req.URL.Path) > 0 && req.URL.Path != "/")
<EMAIL_ADDRESS>[if]: i = int(value)
<EMAIL_ADDRESS>[if]: i = int(value)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(IsDirect)
<EMAIL_ADDRESS>[if]: expectedHitsDiff = int(expectedCache)
<EMAIL_ADDRESS>[if-else]: outResults[i] = int(g())
<EMAIL_ADDRESS>[if-else]: buf[b] = int(Cancel)
<EMAIL_ADDRESS>[if]: expectedReturnVals = int(f.StaticOutputValue != nil || f.DynamicTypeHandler != nil)
<EMAIL_ADDRESS>[if]: nolook = int(tystate[i] != MUSTLOOKAHEAD)
<EMAIL_ADDRESS>[if]: expectInterceptorCall = int(s.expectError)
<EMAIL_ADDRESS>[return]: return int(b)
<EMAIL_ADDRESS>[return]: return int(b)
<EMAIL_ADDRESS>[if-else]: grbitOffset = int(len(wb.sst.RgbSrc) == 0)
<EMAIL_ADDRESS>[if-else]: grbitOffset = int(len(wb.sst.RgbSrc) == 0)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(Delete)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(Delete)
<EMAIL_ADDRESS>[if]: stop = int(len(buf) > 0 && buf[0] == '-')
<EMAIL_ADDRESS>[if]: stop = int(len(buf) > 0 && buf[0] == '-')
<EMAIL_ADDRESS>[if]: maybePlusOne = int(ok && autoLeave)
<EMAIL_ADDRESS>[return]: return int(v > s)
<EMAIL_ADDRESS>[return]: return int(v > s)
<EMAIL_ADDRESS>[if]: start = int(mtype.NumIn() > 0 && mtype.In(0).AssignableTo(reflect.TypeOf(autoHandler)))
<EMAIL_ADDRESS>[if]: start = int(mtype.NumIn() > 0 && mtype.In(0).AssignableTo(reflect.TypeOf(autoHandler)))
<EMAIL_ADDRESS>[if-else]: tmp = int(depths[symbols[0]] == 1)
<EMAIL_ADDRESS>[if-else]: tmp = int(depths[symbols[0]] == 1)
<EMAIL_ADDRESS>[if-else]: boolByte = int(format.TrueColor)
<EMAIL_ADDRESS>[if-else]: boolByte = int(format.TrueColor)
<EMAIL_ADDRESS>[if]: bInt = int(on == true)
<EMAIL_ADDRESS>[if]: f.index = int(f.dictOffset > 0)
<EMAIL_ADDRESS>[if]: f.index = int(f.dictOffset > 0)
<EMAIL_ADDRESS>[if-else]: s.should_wrap_ringbuffer = int(uint(s.pos) != 0)
<EMAIL_ADDRESS>[if-else]: s.should_wrap_ringbuffer = int(uint(s.pos) != 0)
<EMAIL_ADDRESS>[if-else]: dAtA[i] = int(x.AllowlistEnabled)
<EMAIL_ADDRESS>[if]: ReadWrite = int(doWrite)
<EMAIL_ADDRESS>[if]: expectedErrorCount = int(len(tc.expectedErrorSubstrings) > 0)
<EMAIL_ADDRESS>[if-else]: dAtA[i] = int(x.Bools[iNdEx])
<EMAIL_ADDRESS>[if-else]: buf[b] = int(Exposures)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(Exposures)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(DoAcceleration)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(DoAcceleration)
<EMAIL_ADDRESS>[if]: argcount = int(eq == "=")
<EMAIL_ADDRESS>[if]: argcount = int(eq == "=")
<EMAIL_ADDRESS>[if-else]: ret = int(first.trig > second.trig)
<EMAIL_ADDRESS>[if-else]: ret = int(first.trig > second.trig)
<EMAIL_ADDRESS>[if]: cmp = int(i == 0)
<EMAIL_ADDRESS>[if]: current_source = int(fl == "")
<EMAIL_ADDRESS>[if]: current_source = int(fl == "")
<EMAIL_ADDRESS>[if-else]: v = int(b)
<EMAIL_ADDRESS>[if-else]: u = int(F.a.iszilch())
<EMAIL_ADDRESS>[if-else]: fullMerkleProof = int(len(pp.Rounds[0].Interactions[0][0].ProofSet) > len(pp.Rounds[0].Interactions[0][1].ProofSet))
<EMAIL_ADDRESS>[if-else]: fullMerkleProof = int(len(pp.Rounds[0].Interactions[0][0].ProofSet) > len(pp.Rounds[0].Interactions[0][1].ProofSet))
<EMAIL_ADDRESS>[if]: intval = int(b)
<EMAIL_ADDRESS>[if]: intval = int(b)
<EMAIL_ADDRESS>[if]: expectedLength = int(expectedIntersects)
<EMAIL_ADDRESS>[if]: d = int(spaceAfterMarker)
<EMAIL_ADDRESS>[if]: d = int(spaceAfterMarker)
<EMAIL_ADDRESS>[if]: unreadBytes = int(s.unreadByte != -1)
<EMAIL_ADDRESS>[if]: unreadBytes = int(s.unreadByte != -1)
<EMAIL_ADDRESS>[if-else]: dAtA[i] = int(x.DisableAutoRetire)
<EMAIL_ADDRESS>[if-else]: *d = int(wasNull || !val)
<EMAIL_ADDRESS>[if-else]: *d = int(wasNull || !val)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(v.OverrideRedirect)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(v.OverrideRedirect)
<EMAIL_ADDRESS>[if]: limit = int(deleteOne)
<EMAIL_ADDRESS>[if]: limit = int(deleteOne)
<EMAIL_ADDRESS>[if-else]: temp = int((*a)[j-1] == (*b)[i-1])
<EMAIL_ADDRESS>[if-else]: temp = int((*a)[j-1] == (*b)[i-1])
<EMAIL_ADDRESS>[return]: return int(a.tail > b.tail)
<EMAIL_ADDRESS>[return]: return int(a.tail > b.tail)
<EMAIL_ADDRESS>[if]: n = int(v)
<EMAIL_ADDRESS>[if]: n = int(v)
<EMAIL_ADDRESS>[if]: v = int(values[i].(bool))
<EMAIL_ADDRESS>[if]: v = int(values[i].(bool))
<EMAIL_ADDRESS>[if-else]: buf[b] = int(OwnerEvents)
<EMAIL_ADDRESS>[if-else]: buf[b] = int(OwnerEvents)
<EMAIL_ADDRESS>[if]: ai = int(a.X > b.X)
<EMAIL_ADDRESS>[if]: ai = int(a.X > b.X)
<EMAIL_ADDRESS>[if]: isDefault = int(strategy.Default)
<EMAIL_ADDRESS>[if]: isDefault = int(strategy.Default)
<EMAIL_ADDRESS>[if-else]: dAtA[i] = int(x.RepeatedBool[iNdEx])
<EMAIL_ADDRESS>[if-else]: dAtA[i] = int(x.RepeatedBool[iNdEx])
<EMAIL_ADDRESS>[if]: i = int(strings.Index(str, \u) > 0)
<EMAIL_ADDRESS>[if]: i = int(strings.Index(str, \u) > 0)
<EMAIL_ADDRESS>[if-else]: dAtA[i] = int(x.Maker)
<EMAIL_ADDRESS>[if]: definitionLevel = int(!node.Required())

Given the adjacent dups in the above, seems like the measurement system runs every package twice (perhaps p and p_test?). The boolconv.txt file shrinks by 35% upon sorting, so scale my above figures by that amount too.

Findings in std:
src/runtime/proc.go:5422:2: [if]: run0 = int(!iscgo && cgoHasExtraM && extraMLength.Load() > 0)
src/runtime/symtab.go:1062:2: [if]: mask = int(off == ^uint32(0))
src/reflect/abi.go:380:3: [if]: x = int(b.Get(i))
src/time/format.go:417:2: [if]: n = int(u == 0)
src/compress/flate/huffman_bit_writer.go:405:2: [if]: flag = int(isEof)
src/encoding/binary/binary.go:348:4: [if-else]: bs[0] = int(*v)
src/encoding/binary/binary.go:354:4: [if-else]: bs[0] = int(v)
src/encoding/binary/binary.go:361:5: [if-else]: bs[i] = int(x)
src/encoding/binary/binary.go:546:2: [if-else]: e.buf[e.offset] = int(x)
src/math/big/float.go:1377:2: [if]: sbit = int(len(r) > 0)
src/math/big/nat.go:235:3: [if-else]: c = int(cx < c2 || cy < c3)
src/crypto/x509/pkcs1.go:108:2: [if]: version = int(len(key.Primes) > 2)
src/internal/zstd/zstd.go:210:2: [if-else]: windowDescriptorSize = int(singleSegment)
src/go/printer/nodes.go:619:5: [if]: min = int(prev != nil && name == prev)
src/go/types/mono.go:198:3: [if]: weight = int(typ == targ)
src/internal/pkgbits/encoder.go:275:2: [if]: x = int(b)
src/compress/flate/deflate_test.go:180:3: [if-else]: b[i] = int(r.cur+int64(i) >= r.l-1<<16)
src/go/scanner/scanner_test.go:735:2: [if]: cnt = int(err != "")
src/go/types/hilbert_test.go:153:4: [if]: v = int(i == j)
src/strings/builder_test.go:105:3: [if]: wantAllocs = int(growLen == 0)
src/unicode/utf8/utf8_test.go:168:3: [if]: wantsize = int(wantsize >= len(b))

@adonovan should this issue be reopened?
It looks like this pattern did not get detected: https://cs.opensource.google/go/go/+/refs/tags/go1.21.5:src/sync/atomic/type.go;l=31 (which is then called 4 times in the lines above it)

@adonovan should this issue be reopened?

Russ suggested I create a new issue summarizing all previous discoveries. I'll do that presently.

It looks like this pattern did not get detected: https://cs.opensource.google/go/go/+/refs/tags/go1.21.5:src/sync/atomic/type.go;l=31 (which is then called 4 times in the lines above it)

Yeah, the pattern matcher for if cond { x = 1 } has both if-only and if-else forms; the matcher for return statements should do the same.


[Sign in] Own-Security-Controller returns status 500 for incorrect password

Environment: Swagger.
Reproducible: always.
Build found: commit 0e9ce75.
Steps to reproduce

Go to https://greencity.azurewebsites.net/swagger-ui.html#/own-security-controller/singInUsingPOST
Set up incorrect password into JSON (invalid format or password that does not match to email):
{
"email"<EMAIL_ADDRESS>"password": "Mysunnytest#12"
}
Execute request.

Actual result
Response 500:
{
"timestamp": "2020-10-01T12:00:46.762+0000",
"status": 500,
"error": "Internal Server Error",
"message": "Bad password",
"path": "/ownSecurity/signIn"
}
Expected result
Response 400 with the error message: "Bad password" should return.
User story and test case links
User story #66
Test cases 495, 496.

Bug is still active.


Broadcast notify on Buffer.Close

Description
This changes Close from being a "signaler" to a "broadcaster" of the notify condition. There's a small, but possible chance that between Unlock and select at the bottom of Read that we will have concurrent reads in the same position which means only once can receive a notify. If a Close happens in between this time, one or more reads will be blocked. One such case where this happen is for an srtp and srtcp reader.
In a simpler case, one read in the same position may miss a notify event during a Close. This affects any basic use of a *packetio.Buffer.
Reference issue
Fixes #298 and #299 (maybe)
I reproduced this with synchronization points at the critical point mentioned such that we start 2 reads, close before the select, and then continue the reads, at which point the test will time out. The new test, as such, is non-deterministic without the manual sync points.

there was an assumption that concurrent reads would not happen so there may be other issues. if we read, write, read, close and the read, write, and read goroutines are all in the same gap between the critical section and channel op we could panic writing to a closed channel if close closes the channel before write sends.

there was an assumption that concurrent reads would not happen so there may be other issues. if we read, write, read, close and the read, write, and read goroutines are all in the same gap between the critical section and channel op we could panic writing to a closed channel if close closes the channel before write sends.

ah you're right on write being buggy now. I'll work on a more holistic fix for that.


Don't be overly aggressive on stream failures and closing

Randall found this in our production. I'm thinking 1/threshold is a good limit here, such that you can at least calculate a reasonable percentage based on a large enough sample.

@masaori335  Now that we're looking at this code, why is this x2 on the threshold?
    if (this->connection_state.get_stream_error_rate() > std::min(1.0, Http2::stream_error_rate_threshold * 2.0)) {

@masaori335 Now that we're looking at this code, why is this x2 on the threshold?

@maskit could you recall? It comes from 9c09dbc118f7ce22ce6a89ac88c7532f83ee23b0.

This fixes #5195

why is this x2 on the threshold?

It could be 1.5, 3 or whatever, but 5 is probably too big. If stream error rate exceeds the threshold, the connection will be closed gracefully. If stream error rate exceeds 2x of the threshold, the connection will be closed immediately. This is why the error message is slightly different, and the one for 2x says "too high".
I'm ok with this change, but the reason I didn't check a number of requests was that I thought we want to close stupid clients that causes stream error on the first request.

Cherry-picked to 8.1.x
Cherry-picked to v9.0.x branch.


Speaking times widget: Enhance time edit menu

Description: In the current state, the three-dot-menu behind a structure level misses some time edit options,which leads to some problems.

If someone has spoken, the time can't be edit. This results in the worst case scenario, that the list of speakers needs to be created again from the scratch.
If there is a need to add, remove or reset the time, the menu doesn't provide the edit options.

What should happen:

[ ] Editing total time should always be possible. The 'edit total time' options should always be active/enabled.
[ ]  Additionally other edit time options should be added, which should always be active. This include three options:

Reset timer: The timer should be resetable to the start time of the set structure level timer. NOT the general default time value for structure levels.
Add time option: It should be possible to manually add time to the structure level timer.
Remove time option: It should be possible to manually remove time from the structure level timer.

I created a backend PR for this: OpenSlides/openslides-backend#2220
It changes the functionality is as follows:

Setting initial_time is no longer inhibited by whether or not someone has spoken yet
If initial_time is changed, remaining_time is increased/decreased by the same amount

I'm sorry, your message was not displayed and I opened another backend Issue due to that
I already closed the issue again


Crash on every exec command

Steps to reproduce
Install hyprland (have tried git,AUR and release)
no configuration (generate automatically)
press SUPER+Q (to open Kitty)
Expected outcome
open kitty
Noted outcome
crash
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
*thud*

Hyprland received signal 11 (Segmentation fault)

Version: 078ba6daa8e2e2d8e25a226d65a418b8a85956b3

System info:
	System name: Linux
	Node name: xps
	Release: 6.4.3-arch1-2
	Version: #1 SMP PREEMPT_DYNAMIC Sat, 15 Jul 2023 19:25:49 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA controller])

os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Backtrace:
	#0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x78e) [0x5648c84d56be]
		??
		??:0
	#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x5648c8470cac]
		??
		??:0
	#2 | /usr/lib/libc.so.6(+0x39ab0) [0x7f65a144fab0]
		??
		??:0
	#3 | Hyprland(_ZN10CWLSurface4initEv+0x312) [0x5648c8512c62]
		??
		??:0
	#4 | Hyprland(_ZN7CWindow5onMapEv+0x6b) [0x5648c84a180b]
		??
		??:0
	#5 | Hyprland(_ZN6Events18listener_mapWindowEPvS0_+0x1fc) [0x5648c84f8bac]
		??
		??:0
	#6 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x5648c8511e5c]
		??
		??:0
	#7 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f65a201901e]
		??
		??:0
	#8 | /usr/lib/libwlroots.so.12032(+0x80996) [0x7f65a20e2996]
		??
		??:0
	#9 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch_idle+0x23) [0x7f65a201aa23]
		??
		??:0
	#10 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xfd) [0x7f65a201ab3d]
		??
		??:0
	#11 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f65a201b2d7]
		??
		??:0
	#12 | Hyprland(main+0x4b4) [0x5648c8461814]
		??
		??:0
	#13 | /usr/lib/libc.so.6(+0x23850) [0x7f65a1439850]
		??
		??:0
	#14 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f65a143990a]
		??
		??:0
	#15 | Hyprland(_start+0x25) [0x5648c8470b55]
		??
		??:0

Log tail:
[WARN] No rule found for eDP-1, trying to use the first.
[LOG] Applying monitor rule for eDP-1
[LOG] Setting preferred mode for eDP-1
[LOG] Monitor eDP-1 -> destroyed all render data
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Monitor eDP-1 data dump: res<EMAIL_ADDRESS>scale 2.00, transform 0, pos 0x0, 10b 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[WARN] No rule found for DP-1, trying to use the first.
[LOG] Applying monitor rule for DP-1
[LOG] Setting preferred mode for DP-1
[LOG] Monitor DP-1 -> destroyed all render data
[LOG] Monitor DP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Monitor DP-1 data dump: res<EMAIL_ADDRESS>scale 1.00, transform 0, pos 3840x0, 10b 0
[LOG] Monitor DP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG]  [hookSystem] New hook event registered: render
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor eDP-1
[LOG] Shaders initialized successfully.
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, statuNoted outcomes 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor DP-1
[LOG] Shaders initialized successfully.
[LOG] Keybind triggered, calling dispatcher (64, , 113)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 kitty
[LOG] Process Created with pid 14956
[LOG] New TextInput added!
[LOG] Registered signal for owner 5648ca0966c0: 5648ccdb1338 -> 5648ca0966d8 (owner: textInput)
[LOG] Registered signal for owner 5648ca0966c0: 5648ccdb1348 -> 5648ca0967a8 (owner: textInput)
[LOG] Registered signal for owner 5648ca0966c0: 5648ccdb1358 -> 5648ca096740 (owner: textInput)
[LOG] Registered signal for owner 5648ca0966c0: 5648ccdb1368 -> 5648ca096810 (owner: textInput)
[LOG] New XDG Surface created. (class: kitty)
[LOG] Registered signal for owner 5648ccdb2c80: 5648ccdb23e0 -> 5648ccdb2ce8 (owner: XDG Window)
[LOG] Registered signal for owner 5648ccdb2c80: 5648ccdb23b0 -> 5648ccdb2db8 (owner: XDG Window)
[LOG] Registered signal for owner 5648ccdb2c80: 5648ccdb19c0 -> 5648ccdb3298 (owner: Toplevel)
[LOG] Registered signal for owner 5648ccdb2c80: 5648ccdb19d0 -> 5648ccdb3300 (owner: Toplevel)
[LOG] Registered signal for owner 5648ccdb2c80: 5648ccdb19e0 -> 5648ccdb3230 (owner: Toplevel)
[CRITICAL]
==========================================================================================
ASSERTION FAILED!

Attempted to duplicate CWLSurface ownership!

at: line 49 in WLSurface.cpp

you're using a very old hyprland rev. Please update to 0.27 or -git.


Removes extra dependencies from package.json

Removed dependencies which are not being used in the project. Adding the list of removed libraries/packages below:

@expo/webpack-config
@storybook/addon-actions
@storybook/addon-info
@storybook/addon-knobs
@storybook/addon-links
@storybook/addons
@types/victory
Babel-core
Babel-preset-es2015
Enzyme-adapter-react-16
Imagemin
@typescript-eslint/parser
@typescript-eslint/eslint-plugin
eslint-plugin-react
Eslint-plugin-react-hooks
Rimraf
Tslib
@kubernetes/client-node
@patternfly/react-styles
@storybook/builder-webpack5
@types/minipass
algebra.js
Axios
Better-react-mathjax
Http-proxy-middleware
Formik
Formik-pf
Deasync
Dompurify
Http-proxy-middleware
Kubernetes-client
Markdown-to-jsx
Markdown-loader
Marked
Not
React-mathjax2
Minimal-package
React-tinder-card
Resolve
Tts-loader
zero-md

@bhanvimenghani please fix the conflicts

@bhanvimenghani please fix the conflicts

done!


Target of URI doesn't exist:  provider.dart & transition.dart

i cant get those 2 files at flutter_advanced_networkimage and i tried to change
`D:\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17134.407], locale en-US)
• Flutter version 1.0.0 at D:\flutter
• Framework revision 5391447fae (9 weeks ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at C:\Users\Hecham\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Users\Hecham\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 32.0.1
• Dart plugin version 182.5124
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[√] VS Code (version 1.30.2)
• VS Code at C:\Users\Hecham\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 2.22.3
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
Process finished with exit code 0 D:\flutter\bin\flutter.bat --no-color upgrade
Upgrading Flutter from D:\flutter...
Already up to date.
Upgrading engine...
Already up-to-date.
Flutter 1.0.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5391447fae (9 weeks ago) • 2018-11-29 19:41:26 -0800
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17134.407], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[√] Android Studio (version 3.3)
[√] VS Code (version 1.30.2)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
Process finished with exit code 0`
when i run android

Your application could not be compiled, because its dependencies could not be established.
The following Dart file:
D:\flutter_app\Review Apps\foodapp-master\foodapp-master\lib\src\ui\card_widget.dart
...refers, in an import, to the following library:
D:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_advanced_networkimage-0.3.13\lib\provider.dart
Unfortunately, that library does not appear to exist on your file system.

screenshot
https://imgur.com/a/Xgw5Dtu

0.4.0 version require flutter: ">=1.1.7 <2.0.0".
For flutter 1.0.0 developers, refer https://github.com/mchome/flutter_advanced_networkimage/tree/c1c69046e1974d88feba35deb59adbed3b39b105

thanks for your reply , i change it now and i got one new error .
`D:\flutter\bin\flutter.bat --no-color packages upgrade
Running "flutter packages upgrade" in foodapp-master...
The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.
Because foodapp requires SDK version >=1.1.7 <2.0.0, version solving failed.
pub upgrade failed (1)
Process finished with exit code 1`

Hi, if you want to use 0.4.0, you need to switch your flutter channel to dev.


python311Packages.google-cloud-securitycenter: 1.23.3 -> 1.24.0

Changelog: https://github.com/googleapis/python-securitycenter/blob/v1.24.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] 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/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 265078 at c3589160 run on x86_64-linux 1

2 packages built successfully:

python310Packages.google-cloud-securitycenter
python311Packages.google-cloud-securitycenter

We need to update the homepage and the changelog.
https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-securitycenter


Make the GetKey protected & virtual to allow overriding it

Hi,
In this change the JsonSchemaResolver's GetKey is made protected & virtual in order to use additional information than just the FullName as the mapping key. In our case we would like to use Assembly version in addition to fullname.
In our scenario controllers are loaded runtime and there might be two classes with the exact same FullName coming from two different assemblies and we need to generate schemas for both of them as the types may be different (different properties etc.).

Shouldnt we fix that directly instead of externally? ie. change the current impl to fix your issue?

Thanks for the comment! The idea was to break as little as possible :) This way the developer can override the JsonSchemaResolver (or OpenApiSchemaResolver) and provide their own implementation.
Using the Type.Assembly and its version in addition to Type.FullName isn't always possible as the assemblies can be dynamic. For example in one of our cases we are generating the assemblies on the fly using Roslyn and the assembly is memory only and missing the version details. In this case the current implementation works fine as we must rely on the Type.FullName.
In another case it may be that we use the Type's FullName to map it to some other non-type related data, for example to Nuget package. In this scenario the application may have loaded two versions of the same Nuget-package as plugins (using Plugin Framework) and even though both packages have different versions, the assemblies inside them may have the same 1.0.0 version. We need some application specific mechanism for deciding if we expect the schema's to be the same or not.

Renamed to GetTypeKey


Support for ISO 14230-2 KWP

This adds the ISO 14230-2 KWP support to the master branch. Confirmed today that the 9141-2 functionality on this branch is unaffected using the Display example. This closes #11, closes #5

@mjs513, this functionality was in large part made possible by your efforts in testing my code. I enjoyed the quick back and forths we did on #11. Thanks for the collaboration and your help in improving this library!
If you have any last comments before this is merged with master, let me know. If you would like an explicit callout in the readme to mjs513, feel free to say so and I'll happily add it.

@iwanders.  Sorry for the delay in getting back to you.  I agree I had a lot fun working on this with you testing the code changes.
I really don't have anything else to add before you do the merge.  An no I do not need any explicit callout in the readme. But thanks for offering.
Mike


Move docs.ms publishing control to a different key within _releases/.csv

Docs automatic onboarding is controlled via the New key within each release index csv. This is an overload, as what the key actually means is whether or not the package is track 2 or not!
We should move this to a specific Docs.MS Publishing Enabled key.

@weshaggard -- I think we should do this
If the field is empty or marked true then onboard the package. If the field is marked false do not onboard the package.

When and how would that field be managed? There are a lot of packages both new and old and many that we don't have or produce docs for. My guess is once we figure out how to filter the csv files we will likely end up using one or more of the existing fields. https://github.com/Azure/azure-sdk/blob/main/eng/README.md However if we do have a unique setting we need to account for then I can be convinced to add another field.


Can I distinguish requests coming from different Sites?

I am have enabled the webchat channel for my teams bot. There I have the option to create multiple sites for usage across different scenarios.
For example, I have created a site to embed my bot in one of the PowerBI dashboards (let's call it A) and another one created for another PowerBI dashboard (B). Now my requirement is to distinguish A and B inside my bot code so that I can display site specific content in the bot.
Any way I can do this ? Inside debugging I see that the channelData captures 'webchat' in both cases, there are other objects as well (having some ids) but their contents are not static, they keep on changing as soon as the web page is refreshed or closed.
Is there any property that can help in distinguishing the sites which I am missing ? or any workaround to resolve my problem ?
For reference, my issue is somewhat similar to 1763, but I am not able to understand the possible solution using secrets mentioned by @hansmbakker. Also tagging @Stevenic for help.

It's a long time ago that I used this framework, I'm sorry but I cannot help here

@hansmbakker , thanks for your comment. If by any chance you know anyone who could help us, please tag them here. I am a bit new to the community and don't know the people or teams associated. Thanks in advance!

Thanks @stevkan, It did help us and we were able to solve our issue. Thanks a ton for the prompt response  🙇♂ 😃 .


R2C notinplace modifies input

What is the expected behavior

A plan with rocfft_placement_notinplace should not change the input buffer.

What actually happens

For real to complex (single and double) this does not seem to be the case i.e. using

rocfft_plan_create(&plan, rocfft_placement_notinplace, rocfft_transform_type_real_forward, ...);

rocfft_execute(plan, (void**) &x, (void **) &y, NULL);

changes x.
How to reproduce

Using this example gives:

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

but they should be the same.
Environment

Hardware
description

GPU
gfx803

CPU
Threadripper 1950X

Software
version

ROCK
v2.9

ROCR
v1.1

HCC
v2.9

Library
v0.9.7

Used the rocm docker image with kernel v5.3.7.

The real/complex transforms, for reasons of algorithmic efficiency, may change the input buffers.  I believe that this is new behaviour which is due to an important improvement in the underlying algorithm.  We are working on improving the documentation; sorry that this wasn't clear.
For the sake of comparison, see http://fftw.org/fftw3_doc/One_002dDimensional-DFTs-of-Real-Data.html#One_002dDimensional-DFTs-of-Real-Data


[Question] Does this Action work with v2 GitHub Actions

I've been looking to trigger a new Check Run from a GitHub Action and have looked at your repository as an example.
First, this doesn't seem to work (no additional Check Run) is spawned in my PR. I'm using GitHub Actions v2 and curious if you're aware of this or have any additional information.
For example...
.github/workflows/main.yml
name: checks

on:
  pull_request:
    branches:
      - master
  push:
    branches:
      - master

jobs:
  checks:
    runs-on: ubuntu-latest
    name: check
    steps:
      - name: Checkout
        uses: actions/checkout@v1

      - run: npm install

      - name: ESLint checks
         uses<EMAIL_ADDRESS>         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Your action runs and I see the output of:
2 error(s), 0 warning(s) found
 ##[error]Docker run failed with exit code 78

But no additional Check Run was created like in your screenshot.
Do you know if this is a GitHub issue (Actions being in Beta, etc.) or is there something more obvious I'm missing?
Thanks.

Thanks @mets11rap, funny enough, so did I. Closing this down as it appears to be a known issue by GitHub that is being addressed.

@pruett here there's a user that is working on a eslint Action for GitHub Actions v2: https://github.com/actions/toolkit/issues/133#issuecomment-532475954


Pasting text from other applications freezes VSCode

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.61.0, NOT 1.61.1, but again in 1.61.2
OS Version: Ubuntu 21.04

Steps to Reproduce:

Copy Text from any other app, e.g. a code snippet from GitHub in Firefox
Paste the text in the editor in VSCode

VSCode will freeze for a couple of seconds, then become responsive again but the text will not be pasted.

It doesn't matter if this is done via Ctrl+C & Ctrl+V or via the context menu. Same behavior both ways.
It doesn't matter how long the text is, even one word provokes this behavior
It does not happen if I copy & paste text between editors within VSCode itself, even if they are in different instances.
Some time ago I had the same issue with Google Chrome (but it is gone now), so it might have something to do with the underlying app framework and an update to the latest version might fix the issue.

I found this issue from 2 years ago which was automatically closed marked as duplicate, but I couldn't find the duplicate and the issue doesn't seem to be resolved. Would be great to have a fix, because - as we all know - Copy & Pasting is half the work of a SW dev, so this is crucial feature ;-) Thinking about it, I'm pretty sure that this issue was re-introduced with one of the latest updates as I don't recall having any issues with c&p'ing in VSCode before...

@frederikheld I cannot reproduce. Is paste failing in all the different kinds of inputs. Could you please try:

focusing the search input for Search in Files and pasting
focusing the code editor and pasting
focusing developer tools console and pasting (Help > Show Developer Tools)

This might very likely be an upstream issue. Are you using a special desktop environment? VS Code is built with Chrome: 91.0.4472.164. Would it be possible for you to try to download Chromium at a similar version number and check if you can paste in it?

I just wanted to inform you that I'm now on version 1.16.2 and the issue is back.
This is something I had anticipated as the 1.16.1 update sounded like a rollback, so I suspect that the issue was introduced with 1.16.0 and was "accidentially/unknowingly" rolled back with 1.16.1.

@frederikheld What are the steps to reproduce? I cannot reproduce in a VM with Ubuntu 20.04

Also can you confirm by unresponsive, is it just the editor area that is affected or you are also not able to work with the menu or trigger keyboard shortcuts that open new windows. Depending on it we can narrow down on which process to profile in this case. Possibly a screen capture show casing the issue would be great!

Unresponsive = whole VSCode.
If I paste code (which makes VSCode) freeze,  clicking on a sidebar item won't open the specific sidebar until the freeze is over, then it opens the sidebar. So the event is registered but execution is blocked by the freeze. Looks like pasting blocks the event loop...?
For the question how to reproduce: I can't really say how to reproduce on a clean system as I have installed VSCode a couple of months ago and also a couple of vscode updates and probably also tons of dependencies that have been updated since then. If you need to know the version of specific dependencies, I can look them up in my system.

@alexdima: okay, this is most def an upstream issue. I have Chromium Version 95.0.4638.69 (Official Build) snap (64-bit) and the same thing happens when pasting from another app.
Could this have something to do with the desktop environment? From time to time I have issues with apps freezing the whole desktop and I have to do a forced reboot. And thinking of it, this always happens when I'm working with either Chromium or VSCode...

Thanks for the additional details, I just tested on Ubuntu 21.04 vm with snap build of vscode under both x11 and wayland sessions, tried copying content from different application and didn't see a freeze on paste. Desktop environment tested was ubuntu:GNOME. Couple of things to confirm,

What is your $XDG_CURRENT_DESKTOP ?
Are you using snap build of vscode as well ? If so, can you check if the issue happens with deb or tar package from https://code.visualstudio.com/#alt-downloads

Hey, today (still on 1.61.2) I did not have this issue (neither did I have it in Chromium) but I can't say what has changed in the meantime... I had re-started VSCode a couple of times for sure and I also had to re-boot my computer once. So it might be some side effect of something else that is going wrong in my system... Currently a new VSCode version is being installed, I will tell you if things are better when I have tested it.
About your questions:

my current desktop is ubuntu:GNOME.
I just installed code via snap and will try to use it for some time to see if the same issue happens. But as I mentioned, there was another update while I was writing this comment. Both installations of vscode are now on 1.62.0!

apt:
Version: 1.62.0
Commit: b3318bc0524af3d74034b8bb8a64df0ccf35549a
Date: 2021-11-03T15:18:44.904Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.11.0-38-generic

snap:
Version: 1.62.0
Commit: b3318bc0524af3d74034b8bb8a64df0ccf35549a
Date: 2021-11-03T15:18:44.904Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.11.0-38-generic snap

Which one should I investigate first?

@frederikheld Are you on GNOME Wayland? If so, I have a feeling that it is not related to VSCode but instead is caused by these issues:
https://bugzilla.mozilla.org/show_bug.cgi?id=1631061
https://bugzilla.mozilla.org/show_bug.cgi?id=1722369
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4058
Copy-pasting ends up freezing any window that is the target of the paste, not just VSCode. Until the GTK merge request is accepted, you can apply the patch and rebuild GTK yourself or switch to a different Wayland compositor like wlroots.

Thx for the hint. In my case it does not affect all windows, but I have a strong feeling that the issue is Wayland-related :-P


Unstable get cloud metadata from "magic" IP

Description
Unstable to get metadata via curl http://<IP_ADDRESS>/openstack
Impact
Without metadata from cloud, I can't run some service and kubernetes CSI
Environment and steps to reproduce

Set-up: Flatcar image: flatcar_production_openstack_image.img

pool-g4dzrku5-sj3dtqihuu6cjof6-node-hshs3fbx ~ # cat /etc/os-release
NAME="Flatcar Container Linux by Kinvolk"
ID=flatcar
ID_LIKE=coreos
VERSION=3975.2.0
VERSION_ID=3975.2.0
BUILD_ID=2024-08-05-2103
SYSEXT_LEVEL=1.0
PRETTY_NAME="Flatcar Container Linux by Kinvolk 3975.2.0 (Oklo)"
ANSI_COLOR="38;5;75"
HOME_URL="https://flatcar.org/"
BUG_REPORT_URL="https://issues.flatcar.org"
FLATCAR_BOARD="amd64-usr"
CPE_NAME="cpe:2.3:o:flatcar-linux:flatcar_linux:3975.2.0:*:*:*:*:*:*:*"

Task:
Setup network config for vpn interface and loopback interface

pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # cat /etc/systemd/network
network/       networkd.conf
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # cat /etc/systemd/network/
.keep_sys-apps_systemd-0  kengine.network           lo.network
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # cat /etc/systemd/network/kengine.network
[Match]
Name=kengine

[Link]
Unmanaged=yes
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # cat /etc/systemd/network/lo.network
[Match]
Name=lo

[Network]
Address=<IP_ADDRESS>/8
Address=<IP_ADDRESS>/32
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core #

Action(s):
Restart networkd and try to get metadata

pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # systemctl restart systemd-networkd
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
2018-08-27
latestpool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
2018-08-27
latestpool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
curl: (28) Failed to connect to <IP_ADDRESS> port 80 after 135318 ms: Couldn't connect to server
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
curl: (28) Failed to connect to <IP_ADDRESS> port 80 after 134717 ms: Couldn't connect to server

After restart networkd again
latestpool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
curl: (28) Failed to connect to <IP_ADDRESS> port 80 after 135318 ms: Couldn't connect to server
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
curl: (28) Failed to connect to <IP_ADDRESS> port 80 after 134717 ms: Couldn't connect to server
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
curl: (28) Failed to connect to <IP_ADDRESS> port 80 after 134778 ms: Couldn't connect to server
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # systemctl restart systemd-networkd
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
2018-08-27
latestpool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
2018-08-27
latestpool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # curl http://<IP_ADDRESS>/openstack
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
2018-08-27

Error:
curl: (28) Failed to connect to <IP_ADDRESS> port 80 after 134778 ms: Couldn't connect to server

Expected behavior
Can get metadata like this:
curl http://<IP_ADDRESS>/openstack
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
2018-08-27
latest

Additional information
Ip route
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # ip r
default via <IP_ADDRESS> dev eth0 proto dhcp src <IP_ADDRESS> metric 1024
<IP_ADDRESS>/24 dev eth1 proto kernel scope link src <IP_ADDRESS> metric 1024
<IP_ADDRESS> dev eth1 proto dhcp scope link src <IP_ADDRESS> metric 1024
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth1 proto kernel
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth1 proto kernel
<IP_ADDRESS>/24 via <IP_ADDRESS> dev cilium_host proto kernel src <IP_ADDRESS>
<IP_ADDRESS> dev cilium_host proto kernel scope link
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth1 proto kernel
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth1 proto kernel
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth1 proto kernel
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth1 proto kernel
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth1 proto kernel
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth1 proto kernel
<IP_ADDRESS>/24 dev eth0 proto kernel scope link src <IP_ADDRESS> metric 1024
<IP_ADDRESS> dev eth0 proto dhcp scope link src <IP_ADDRESS> metric 1024
<IP_ADDRESS> dev eth0 proto dhcp scope link src <IP_ADDRESS> metric 1024
<IP_ADDRESS> via <IP_ADDRESS> dev eth0 proto dhcp src <IP_ADDRESS> metric 1024
<IP_ADDRESS> via <IP_ADDRESS> dev eth1 proto dhcp src <IP_ADDRESS> metric 1024
<IP_ADDRESS>/16 dev docker0 proto kernel scope link src <IP_ADDRESS> linkdown

networkctl list
pool-x45g4eed-x9ipxe2qz7c3offo-node-oes7cdpq /home/core # networkctl list
IDX LINK        TYPE     OPERATIONAL SETUP
  1 lo          loopback routable    configured
  2 eth0        ether    routable    configured
  3 eth1        ether    routable    configured
  4 docker0     bridge   no-carrier  unmanaged
  7 cilium_net  ether    degraded    unmanaged
  8 cilium_host ether    routable    unmanaged
 10 lxc_health  ether    degraded    unmanaged

7 links listed.

bonus: I also use docker openvpn config from this issue: https://github.com/flatcar/Flatcar/issues/1515

journalctl: https://gist.github.com/lmq1999/6b36af7053f026988fbf59e08e3c2510
dmesg: https://gist.github.com/lmq1999/7dbaa7b0827e59143d868b4e8fd0ddee
curl:
pool-x45g4eed-x9ipxe2qz7c3offo-node-msmsjtx5 /home/core # curl -vvvvv http://<IP_ADDRESS>/openstack
*   Trying <IP_ADDRESS>:80...
* connect to <IP_ADDRESS> port 80 from <IP_ADDRESS> port 38364 failed: Connection timed out
* Failed to connect to <IP_ADDRESS> port 80 after 134043 ms: Couldn't connect to server
* Closing connection
curl: (28) Failed to connect to <IP_ADDRESS> port 80 after 134043 ms: Couldn't connect to server

Do you see the same effect with other IPs / URLs or only the OpenStack one => Just Openstack metadata IP
What is your OpenStack deployment => managed by cloud provider (Bizflycloud), already contact the admin but they found no clue
If you have another OS available can you try to reproduce? => I dont have problem with Ubuntu 20
Yes I can confirm I can get to metadata server with both interface
I think the problems somewhere in the docker openvpn i mention above

client
dev kengine
dev-type tap
reneg-sec 0
proto tcp-client
remote <IP_ADDRESS> 10018
resolv-retry infinite
nobind
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----

</ca>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----

</cert>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----

</tls-auth>
remote-cert-tls server
key-direction 1
script-security 3
keepalive 10 60
persist-key
persist-tun
comp-lzo
verb 3

route-nopull
pull-filter ignore "route-gateway"

If I don't add these config
route-nopull
pull-filter ignore "route-gateway"

lt will add wrong gateway route and this node unable access the internet (but can get the metadata)
but if I add these 2 lines in, I can access the internet but not the metadata when the container run
docker vpn command: openvpn --cd /vpn --config /vpn/kengine.conf --script-security 2 --redirect-gateway def1


Feature/apply migration

Known Bugs:

[ ] Add a new field in an object inside the array produces all fields in the migration

Migration:

Expectation:
Migration should only add field amount


no connection

Error: grpc-status: Internal, grpc-message: "Unexpected compression flag: 60"

The server was down


Mainnet cranny

Please review especially the authorities

If you produce the "fresh" chainspecs and commit them to the repo, you need to export them with --raw. Otherwise they're not deterministic. I'll fix that with a separate commit

Moved the PR into a cleaner branch
https://github.com/integritee-network/integritee-node/pull/52


Debug stutters unless editor window is minimized

Godot version
4.0.2
System information
OS: Windows 10, CPU: Intel I5 4690, MB: MSI Z87-G43, GPU: Nvidia GTX 960 (driver version 531.79), RAM: 16GB DDR3
Issue description
Video 1 - My project
As seen in the video the debug window is stuttering (going from ~15% to ~80% gpu utilization) until I minimize the editor (steady at ~60%).
(looks like it tries to render the editor a bit, then the debug window a bit and so on)
This issue is only present in "Forward+" mode, empty project runs fine.
https://user-images.githubusercontent.com/8669226/236249562-f9eba0ff-4af9-428b-85c4-1903c5c43db0.mp4
The only "fix" i have found in this project was to re-import the frog model from the .blend file and disable "SDFGI", otherwise the stutter happened again.
(Before re-importing the model even removing WorldEnviroment node didn't solve the issue)
Video 2 - New project
Here i tried to create a new project, everything goes nominal until i enable "Use Occlusion" under "SDFGI". Then the stutter occurs.
In the video i try to show how as soon as i minimize the editor window the stutter stops and everything is smooth again.
https://user-images.githubusercontent.com/8669226/236273822-58d7208c-5dc6-4f7b-8ebb-a283441a4c4b.mp4
Attempt 3 - Demo project
I also tried with a demo project called Abandoned Ship Demo, here the only "fix" i have found was to remove everything (even the Camera node made the editor stutter).
Again, minimizing the editor made the debug run smooth with no frame drops
This project runs with SDFGI OFF at ~80fps and with SDFGI ON at ~60fps, the stutter is present in both cases and stops as soon as the editor window gets minimized (and resumes if re-opened).
Screenshots
Below are some screenshots that might be useful:
Profiler Process Time

Not every stutter gave a spike on the graph
Nominal time was 11, spikes are above 2000

Profiler Physics Frame Time

Nominal frame time was 16, dips were either 0 or NaN

Profiler Physics Time

Monitor tab

Visual Profiler

More graphs

System utilization

GPU utilization

Thank you for taking the time to look into this!
Steps to reproduce
Speaking in regard of the second project (attached below) this issue occures by adding the WorldEnviroment node and enabling "Use Occlusion".
The issue then is "fixed" by minimizing the editor window.
Minimal reproduction project
Bug.zip

Related to https://github.com/godotengine/godot/issues/39758.

This is expected, as the editor keeps redrawing continuously when it's visible (even if it's just doing so at 10 FPS because it's unfocused).
What we need to do is port the Vital Updates Only option from 3.x and make it the default when the project is running.

Thank you for the fast answer, I will look forward to it being added!
Any clue why the stutter occurs even if the GPU is not utilized at 100%? (may be a dumb question)
As you can see in the "GPU utilization" graph it runs steady at 60% with the editor minimized and goes all funky from 0 to 60% when opened

This is expected, as the editor keeps redrawing continuously when it's visible (even if it's just doing so at 10 FPS because it's unfocused).

This only happens if you have something moving on a screen, like particles or animated shader (in this case it's the water). You can either switch to a static scene, move camera somewhere without anything moving or switch to script editor.


Remove dependency on canopy, fix spelling mistake

I copy/pasted the wait function from canopy and started a file for specific exceptions.
More changes to come!

Yeah wasn't sure if want to depend on canopy proper


Would it be possible to support realhover({x:100,y:200})?

In a situation I would like to pass co-ordinates on the screen to appear panel
e.g.
cy.get('body').realHover({ x: 100,   y: 200  });
is there any workaround for this?

You can pass {x,y} object in position

Thank you @dmtrKovalenko for your reply.
I have tried
cy.get('body').realHover({ position: { x: 939, y: 622 } });
But did not initiate hover event.


Update example-kubernetes-manifests-using-go-templating.md

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[X] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[X] Tested Locally
[ ] Optional Screenshot.

FYI same link is also on another page: add-artifacts-for-kubernetes-deployments.md

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ef57b84c20d302a83de137--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ef5bfbb349f5068398c450--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ef5c3e57bced0655c1a9f1--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ef5cb439a18c0853b93efc--harness-developer.netlify.app


Courses

Added Course and CourseCategory Models and Entities  , Level enums

Added Course and CourseCategory Models and Entities  , Level enums


Build Documentation is Incorrect

Documentation states that a simple build of poly requires only a make. In practice this alone doesn't work- it requires a make clean; make deps; make

Hi @akiraw,
I'm going to close this issue. The reason being is that you do not need to open an issue if you're also able to submit a PR. We prefer the latter approach when possible since a PR also acts as the issue. Unless that is you do not intend to file a PR? If you don't, I'll reopen this issue for tracking.


Docker Development environment

Here, I share some scripts that assist in setting up a docker environment for development purposes

I don't use it, but I imagine there is some overlap between this and the development VM in use across GOV.UK. I'll leave it to someone who knows about the development VM to comment. If there is significant duplication, I'm not sure it would be such a good idea to merge this.

@daibach: Can you recommend someone who knows about the development VM to review this? (see my comment above).

@ikennaokpala: Unless you can find someone suitable to review this, I think we should probably close the PR for now. The work won't be lost, but it'll stop it cluttering up the list of open PRs.


Feature Request: Publish value of Temperature from Switchbot Meter to mqtt server.

Problem
Switchbot Meter can now only be used to display the current temperature of each room, which should be suffice for what it is designed for. However, if we could publish this value to mqtt server, we would be able to use it to control the air conditioner device based on the room temperature.
Solution
Not really sure if it's possible to publish the temperature value to mqtt broker like Homebridge-mi-hygrothermograph plugin.
Alternatives
No response
Additional context
No response

If someone would like to make a Pull Request, I would consider merging. I believe there is a mqtt repo out there.

If someone would like to make a Pull Request, I would consider merging. I believe there is a mqtt repo out there.

Thanks for the reply. However, as I'm not a coder, I don't really think I can contribute anything in this project. Though I have found a link to something that might work in combination with this plugin
https://github.com/ronschaeffer/sbm2mqtt
Do you think it would work by following the installation step on Raspberry Pi and then use an IR Blaster Plugin that supports mqtt for air conditioner (like broadlink plugin) to grab the published topic and value from this switchbot meter?

Search "SwitchBot MQTT", there are a lot that have this support already, like I said.
https://github.com/godely/sbmeter_to_mqtt


Change to /api/feed/v2, fix new format with stems, typos

Hello!
Since I currently play around with Suno, I noticed that they recently added the data for generating STEMS (pro) into their UI, breaking the predefined classes. So here is a fix for that.
Since I also run into troubles with the pagination / amount of "songs" returned, I changed the endpoint to the /api/feed/v2 endpoint, giving us "num_of_songs" which helps us iterate through the "pages".
I added example code for just this into the README.md
(edit: :see_no_evil: forgot to mention:
Also added the MetadataHistory Model, so you can identify where a song is coming from (song 1 -> song 2 -> song 3, etc.),  and added new example data for the v3.5 metadata/clips structure)
And lastly, i fixed a typo in check_error.
If there is anything missing let me know and I'll be glad to fix it. :-)
Thanks for your effort making this API (publicly available),
Chris

Hello @kuhnchris,
Thanks for your detailed contributions and fixes! 🤝 The updates for generating STEMS, pagination, and the MetadataHistory Model are much appreciated. I'll review and merge these changes in the next update. If anything else is needed, I'll let you know.
🫶 Thanks for improving the API!


reimplement SmartComponent to maintain back-compatibility with 0.4.0

This PR just exposes ConnectableComponent as SmartComponent with the old api. It also adds back in the functionality to pass any extra props through to the underlying view.
Thanks, let me know if you would like anything changed..

Thanks Frank
I think we're trying to move away from having additional props allowed to be passed to the HOCs.  Ideally the HOCs used by SmartComponent or ConnectableComponent to be fully contained.
I know there is practise to just accept props and ensure they're spread over the resultant components, however, in my view this is simple things like sharing colours/styles, not large parts of the model.
Saying that, having a backwards compatible path is obviously required, I was way too hasty deleting it.  In fact we need it to.
What I would like us to do with this library going forward is that SmartComponent is deprecated and ConnectableComponent becomes the standard using libraries like recompose() to help with flattening the props and callbacks.
Can I suggest we make SmartComponent no longer shim ConnectableComponent so it's a plain revert?  I can do that if you'd prefer not to that just spreads out props.
Happy to chat though

Hi Ray - TBH I have run our of time with this now, so it may be better if you could copy over the old implementation of SmartComponent. I think we were only using the one from 0.4.0 so you may or may not want to provide the modelSelector property.

Thanks Frank.  I've opened #17 to solve this.


Segmentation fault (core dumped)

when I run the ./demo command, this happened..
mo/single-depth-1.ply fragment-1
Loaded point cloud with 252179 points!
Size of TDF voxel grid: 370 x 253 x 324
Computing TDF voxel grid...
Finding random surface keypoints...

I don't know why, but after few times tries, it is OK.

I tried many times,it still does't work. when I run ./compile.sh, this happened : marvin.hpp:12:17: note: #pragma message: Compiling using StorageT=half ComputeT=float
#pragma message "Compiling using StorageT=half ComputeT=float"
^
did you have this message! I'm thinking if the compiling process has problem!

I check the marvin.hpp, I find the "segmentation fault" occurred,when the function "loadweights"  called. when the code loads the model weights "3dmatch-weights-snapshot-137000.marvin"!

#pragma message: Compiling using StorageT=half ComputeT=float
This message indicates that you are using half type to compute in GPU. And this can be specified by yourself.

I got it, thank you!


feat(shell): run shell command conditionally

what

Run shell command conditionally (optional)
Update README docs

how

the shell directive will check if the 'if' property is available.
If it is, it will run the command in 'if' property.
If the command results in a return 0 code or 'true', then the
'command' property will run.
If the condition to run the command is a non 0 code or 'false',
the shell command won't run
dotbot config example:

- shell:
    - command: echo "this is running on a MacOS"
      if: uname -s | grep -i "Darwin"

running shell command regardless

- shell:
    - command: echo "This should run regardless"

dotbot config example: skipping command if false

- shell:
    - command: echo "This command should be skipped"
      if: false

why

can run the shell command conditionally
can use multiple dotbot configs to run different OS

Ex: incorporating it in https://github.com/ecarlson94/dotbot-template

where

file changed in ./dotbot/plugins/shell.py

usage
Create dotbot config
- shell:
    - command: echo "this is running on a MacOS"
      if: uname -s | grep -i "Darwin"

- shell:
    - command: echo "This command should be skipped"
      if: false

- shell:
    - command: apt update && apt upgrade -y
      if: lsb_release -i | grep -io 'debian'
      description: Update APT package repository

    - command: dnf update -y
      if: lsb_release -i | grep -io 'fedora'
      description: Update DNF package repository

NOTE

The reason to wrap the if command in string, is to prevent Python from interpreting it.

str(item["if"]),
https://github.com/Clumsy-Coder/dotbot/blob/25ef5d5a5fed1e2f95e57115dfdbc8ba67cfc93f/dotbot/plugins/shell.py#L52

Pull Request connected to issue #312

I tested it as much as I can.
This is first time working in Python code.
So, if issue surfaces, let me know

Hi, I just made the dotbot-if plugin, and found it's sharing the similar idea with this PR.


ISSUE-18: Fix animations on Gnome, e.g. in Ubuntu 22.04

Fixes issue 18 where animations on Gnome systems. Only tested on Ubuntu 22.04 with python3.11

Apparently the issue is resolved once a _bot folder is discovered


Matrix 3x3 and 4x4 inverses

inverse(a) calculates the inverse matrix
a is a mat to be inverted
Returs a mat representing a-1
Raises an error when you try to calculate inverse of a matrix whose determinant is zero

Awesome!
Let me find out what the cost of exception throwing is in Elixir/Erlang...as I recall, I think most code doesn't really throw exceptions. So, let's see what's idiomatic, and then go from there.
Thank you again!

Merged this in and updated the hex package.
I'm fine with throwing an exception, because I think that's reasonable behavior. :)
I'll get us ready for anything left on our 1.0.0 release.
Thanks again!


Readme: Correct Name of the Project

I was going to do the same :D
Are you sure it should be starting with uppercase?

Are you sure it should be starting with uppercase?

I agree, it should be lowercase

Thanks


Failed to get convolution algorithm [CUDA 11.0 - cuDNN 8.0.4 - Python 3.8]

System information

Windows 10
PC
TensorFlow installed from (source or binary): via pip
TensorFlow version: 2.4.0
Python version: 3.8
Installed using virtualenv? pip? conda?: pip
CUDA/cuDNN version: Cuda 11.0 | cuDNN 8.0.4
GPU model and memory:
RTX 2060
6GB

Describe the problem
I Coded a CNN in Tensorflow on CPU it works without any problems, then i wanted more performance so i try´d the GPU version , after 2 days of figuring out wich cuda bla bla
now i have no idea to fix this , this is my first Neuronal Network and i only wanted to Check is a Cat or a Dog on the Picture.
i hope someone can help me
i got everytime the following error :

2021-03-03 15:23:58.929966: E tensorflow/stream_executor/cuda/cuda_dnn.cc:336] Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED
2021-03-03 15:23:58.930097: E tensorflow/stream_executor/cuda/cuda_dnn.cc:336] Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED
2021-03-03 15:23:58.930188: W tensorflow/core/framework/op_kernel.cc:1763] OP_REQUIRES failed at conv_ops_fused_impl.h:697 : Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
2021-03-03 15:23:59.186498: E tensorflow/stream_executor/cuda/cuda_blas.cc:226] failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
2021-03-03 15:23:59.186672: E tensorflow/stream_executor/cuda/cuda_blas.cc:226] failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
2021-03-03 15:23:59.186834: E tensorflow/stream_executor/cuda/cuda_blas.cc:226] failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
2021-03-03 15:23:59.189687: E tensorflow/stream_executor/cuda/cuda_dnn.cc:336] Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED
2021-03-03 15:23:59.190360: E tensorflow/stream_executor/cuda/cuda_dnn.cc:336] Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED
2021-03-03 15:23:59.190471: W tensorflow/core/framework/op_kernel.cc:1763] OP_REQUIRES failed at conv_ops_fused_impl.h:697 : Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.

Any other info / logs
the traindata paths and labes are in a SQL database and the sql manger build the full path
i testet it on CPU -> works without Problems
my Programcode itself (Pastebin):
https://pastebin.com/cNeGByBm
The Full Log :
https://pastebin.com/fe3D9Ubk

You may try gpu memory resources management by allowing gpu memory growth.
To know more see https://www.tensorflow.org/guide/gpu#limiting_gpu_memory_growth
Make sure your exit all python processes and create a new python session and try by limiting gpu memory growth on the top of your script.
import tensorflow as tf
gpu = tf.config.experimental.list_physical_devices('GPU')
tf.config.experimental.set_memory_growth(gpu[0], True)
#Rest of your code

You may try gpu memory resources management by limiting gpu memory growth.
To know more see https://www.tensorflow.org/guide/gpu#limiting_gpu_memory_growth
Make sure your exit all python processes and create a new python session and try by limiting gpu memory growth on the top of your script.
import tensorflow as tf
gpu = tf.config.experimental.list_physical_devices('GPU')
tf.config.experimental.set_memory_growth(gpu[0], True)
#Rest of your code

it works thanks :3


Binding AAR library that contains AndroidX cause "NoClassDefFoundError" for "androidx/lifecycle/LifecycleOwner"

Xamarin.Android Version (eg: 6.0):
Xamarin.Android SDK   <IP_ADDRESS> (HEAD/ba9da7a76)
Xamarin.Android Reference Assemblies and MSBuild support.
Operating System & Version (eg: Mac OSX 10.11):
Windows 10
Microsoft Visual Studio Professional 2017
Version 15.9.16
VisualStudio.15.Release/15.9.16+28307.858
Microsoft .NET Framework
Version 4.8.03752
Support Libraries Version (eg: 23.3.0):
Xamarin.AndroidX.Lifecycle.Common v2.0.0-preview02
Describe your Issue:
Trying to create an AAR binding library that migrated to AndroidX (written in Java, using class androidx.lifecycle.LifecycleOwner), previously using support library and compiling correctly.
Xamarin.AndroidX.Lifecycle.Common dependency is added to the binding project, however still encountering the following error log:
https://pdftron.s3.amazonaws.com/custom/external/xamarin/androidx/androidx-error.txt
4>JARTOXML : warning J2XA006: missing class error was raised while reflecting com.pdftron.pdf.controls.AnnotationToolbar : androidx/lifecycle/LifecycleOwner
4>  java.lang.NoClassDefFoundError: androidx/lifecycle/LifecycleOwner (TaskId:138)
4>    at java.lang.ClassLoader.defineClass1(Native Method) (TaskId:138)
4>    at java.lang.ClassLoader.defineClass(ClassLoader.java:760) (TaskId:138)
4>    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) (TaskId:138)

Steps to Reproduce (with link to sample solution if possible):
Download the sample project, open solution "\projectSrc\PDFNetAndroidXamarin\PDFNetAndroidXamarin.sln"
Clean and build "PDFViewCtrlTools" project.
Link to sample:
http://pdftron.s3.amazonaws.com/custom/external/xamarin/androidx/to-Xamarin.zip
Include any relevant Exception Stack traces, build logs, adb logs:
https://pdftron.s3.amazonaws.com/custom/external/xamarin/androidx/androidx-error.txt

Hi! Is there any known workaround for this? Thanks!

Any news?

LifecycleOwner is ILifecycleOwner in c# and it is surfaced in preview3.
https://developer.android.com/reference/androidx/lifecycle/LifecycleOwner
Do you have maybe linker turned on?
Can you give more info on proguard rules?

@moljac I've included a project that you can reproduce this issue in the first post. Were you able to try that?

@sgong-pdftron
I tried your previous sample, but had to remove (unload) some projects . and was not sure if that was completely OK.
And BTW I really did not have that much time.
if you have something smaller it would be appreciated.

@sgong-pdftron Can you try preview03 of the packages that was released yesterday.

@moljac Thanks for your reply!
I've just tried preview03 however the exact same error is still present.
The sample project does contain a number of projects however the only projects relevant is the "PDFNetAndroid" and "PDFViewCtrlTools" project. You can unload everything other than these 2 projects.
Clean and build "PDFViewCtrlTools" project will generate the error. Would it be possible if you could give it another try? Thanks!

I tried here and got the same error.

@sgong-pdftron Thanks for feedback.

Would it be possible if you could give it another try? Thanks!

Of course. Just, we are (I am) trying to launch AndroidX release 1st. I hope I wll come to this issue in next few days.
@matheussouza97 Thanks for the feedback. Appreciated.


Failure with minizinc 2DPacking example

I'm about to raise a handful of bugs from trying to run or-tools with the examples packaged with the binary distribution of minizinc.  I believe they're the ones that can be found here.
It may be that you're just not terribly interested in flatzinc, in which case you'll treat these issues with suitably low priority... fair enough!
[build@home-pc-vm ~]$ minizinc -G or-tools -f ~/or-tools/bin/fz minizinc-2.0.10/doc/examples/2DPacking.mzn
Check failed: (emin) == (emax)Expression (X_INTRODUCED_0(0 .. 1) + X_INTRODUCED_1(0 .. 1)) is not fixed to a single value at a solution

I fixed it.
Thanks for the report.


feat(oui-table): give responsiveness to oui-table

Signed-off-by: Kevin Manson<EMAIL_ADDRESS>

You can see the result in this preview deployment: http://dev_oui_table_responsive.ui-kit.ovh/#!/ovh-ui-kit/table


Fixes issue of loosing droppable event when releasing on non-event related containers

Fixes #2198 issue.
Seen in https://jquense.github.io/react-big-calendar/examples/index.html?path=/story/addons-drag-and-drop--example-2 day/week views.

@LiniovasDovydas Thanks for the assist.


Thrust memory allocation error

Thrust allocates memory in its implementation. When there is not enough memory and it causes bad-alloc, a program is crashed even when CuPy's memory allocator keeps unused memory.
I have three implementation ideas:

Pass working space to thrust routine (but i don't know if it is possible)
When thrust fails to allocate memory, free memory CuPy's memory allocator keeps, and then retry thrust routine (easy to implement)
Make a new memory allocator for thrust that shares memory with CuPy's memory allocator (i don't know if it is possible)

It seems that I missed to remove memory allocation in the code using Thrust. At least for now, such rotines are to be implemented with the first option.

There is a similar issue with cuFFT. For that issue workaround using the second idea has been implemented. #1219

Ref. #1289. I fixed to avoid crash when Thrust memory error (raise RuntimeError instead).
I looked into the Thrust docs and headers, but it seems hard to inject external memory allocator or buffer.


[V2.7] Polish provider

Would need someone to suggest some providers as the majority I have tried are rather unreliable.

Now feasible due to catalog providers being introduced.


Update PhysX port to NVIDIA PhysX SDK 5

Adds support for latest NVIDIA Omniverse PhysX 5

[X] Changes comply with the maintainer guide
[X] SHA512s are updated for each updated download
[X] The "supports" clause reflects platforms that may be fixed by this new version
[X] Any fixed CI baseline entries are removed from that file.
[X] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree

I am opposed to this replacement because PhysX 5 drops support for many of the platforms our current physx port supports. I would prefer to see this in a new port.

Sure, let's not break anyone's workflow. I guess a new omniverse-physx port could do then


Is there a way to construct sub rw_signal from an rw_signal?

I have written a proc macro that create slices by the annotated path:
#[derive(DslMetadata, Clone, Serialize, Deserialize, Debug)]
struct SomeDsl {
    #[field_metadata(path = "name")]
    name: String,
    #[field_metadata(path = "description")]
    description: String,
    #[field_metadata(path = "replicas")]
    replicas: i32,
    #[field_metadata(path = "checked")]
    checked: bool
}

I want to support nested json in the proc macro, e.g.:
#[derive(DslMetadata, Clone, Serialize, Deserialize, Debug)]
struct SomeDsl {
    #[field_metadata(path = "name")]
    name: String,
    #[field_metadata(path = "description")]
    description: String,
    #[field_metadata(path = "replicas")]
    replicas: i32,
    #[field_metadata(path = "checked")]
    checked: bool,
    #[field_metadata(path = "other_struct")]
    other_struct: MyStruct,
}

so that I can use a concatenated path to access the inner struct e.g.,
#[derive(DslMetadata)]
pub struct MyStruct {
    #[field_metadata(name = "one", path = "field_one")]
    pub field_one: String,
    #[field_metadata(name = "two", path = "field_two")]
    pub field_two: i32,
    // Fields without the attribute won't be included in the metadata
    pub field_three: bool,
}

I first tried to generate a function create_string_slice which is constructed to create a slice some_dsl.my_struct.field_one in one of the match arms of path, but nesting inner struct type & ident cannot be done.
So I switched to using a recursive approach:
let (value, set_value) = SomeDsl::create_complex_slice(signal, path);

I'd like to create a sub/child rw signal of the top level struct, such that I can reuse the procedure which takes a rw signal and return a slice. However, I failed to find a way to construct such rw signal.
Any help would be much appreciated. :)

Right now I annotate each field with some meta information, and in the proc macro I iterated over the struct fields to decide whether it's a complex field like another struct.
I have a procedure populate_meta that essentially create a two-way binding between the struct and input fields:
let (value: Signal<MyStruct>, set_value: SignalSetter<MyStruct>) = SomeDsl::create_complex_slice(signal, path);
// Blocker: need a way to merge value and set_value into RwSignal<MyStruct>
// e.g., MergedRwSignal::from(value, set_value)
let inner_views: Vec<HtmlElement<Input>> = populate_meta(metadata, signal);
views.extend(inner_views);

The interface MergedRwSignal::from(signal, signal_setter) describe in discussion #2356 works (dk how to implement yet), and I can make it a private function to ensure signal and signal_setter always refer to the same shared state.


Add PatternFly icons

Great project. Any chance you can add the PatternFly icons?
They're available here: https://github.com/patternfly/patternfly-design/tree/master/resources/patternfly-icon-svgs/patternfly-icons.
More info also here: https://www.patternfly.org/design-foundations/icons/

The library is not popular enough to be added to icondata, but you could very well make your own library with our build tool.