workaround on Windows Mobile to disable bouncing / overscroll

On Windows Mobile you can pull down the UI5 application and it will bounce back.  This change will fix the bouncing on Windows 10 Mobile. I got it from the WinJS templates.

 You should sign our Contributor License Agreement in order to get your pull request merged.

Hi SunboX,
thanks for this pull request. I will inform one of our platform experts to do a thorough review and check for side-effects since we support so many platforms with UI5. We will get back to you here soon.
Kind Regards,
Michael

Internally tracked as #1670060970

Asked content expert again to provide feedback on this PR

Hello,
We would not implement it:

Our UX designers prefer to have the current behavior.
Any application developer may add the proposed CSS rules independently.

Kind regards,
Serge


Please add coffeescript mocha example

Also interested in GitHub settings/hook..  Here is what I have so far, a few extra parameters are needed for browserify:
browserify test/*.coffee --debug --extension=.coffee --transform coffeeify |testling -u

Doesn't seem relevant anymore.


Add licenses

Motivation for this change
Another round for  https://github.com/NixOS/nixpkgs/issues/43716
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Failure on aarch64-linux (full log)
Attempted: airspy, grantlee, hspell, hunspell, id3lib, qt-gstreamer
The following builds were skipped because they don't evaluate on aarch64-linux: hyena
Partial log (click to expand)
     ^
gcc.link.dll bin.v2/libs/graph/build/gcc-7.3.0/release/threading-multi/libboost_graph.so.1.55.0
common.copy stage/lib/libboost_graph.so.1.55.0
ln-UNIX stage/lib/libboost_graph.so
...failed updating 3 targets...
...skipped 6 targets...
...updated 556 targets...
builder for '/nix/store/5vsfj4498kg1v56qxbvd1s7dyw6rg1fb-boost-1.55.0.drv' failed with exit code 1
cannot build derivation '/nix/store/2x6yry8yx7p8wccnirl4wfzbk3rfmjmv-qt-gstreamer-0.10.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/2x6yry8yx7p8wccnirl4wfzbk3rfmjmv-qt-gstreamer-0.10.3.drv' failed


Add unique_id functionality. Required for further customization in HA UI

Hi,
First of all, thank you for putting this together after they removed the funtionality from HA.
I've used your component for a couple of months without any problem. But I have been a little annoyed with not being able to customize the devices in the HA UI, such as putting them into a room, giving them a "nice" name and changing the default icon. To do this you need to add a unique id to each device. Because of this I decided to clone your repo and add the unique id functionality.

I was thinking of this as well, I have a few thoughts.
I personally want all my entities to be configurable via UI so do appreciate the pull request.

Unique ID's such as these would not be accepted in the main project due to the ability to change the switches name in YAML after first setup.  If a switch entity's name was changed, it's configuration settings would be lost.
https://developers.home-assistant.io/docs/entity_registry_index/ for good practice re: unique ID's
I do like how you have combined the name together with the switches on and off codes to create a unique ID.  I was wondering what is the likelihood that a user could have two switches with the same on/off RF codes
Also it is possible to send a string of on and off codes (i.e. a list), this would need to be handled so that only the first code was used to generate a unique ID. Again this code can be later changed in YAML so it's configuration settings would be lost in that situation.

Thank you for your feedback.

I understand your concern with including the switch name in the unique id. I have removed this.
In regards to the link to good practice, I would say that the on/off codes are the most unique values we have available?
I think the likelihood for a user adding two switches with the same codes is low, but not zero. We could possibly solve this by appending a UUID identifier, but then isn't the UUID enough by itself? My concern is also that a new ID would be generated for the switch on changes to the file or restart of the server. Do you know if this would be the case?
Would it be necessary to only use the first code? I don't see the problem with using the entire string? The changing of codes is a valid problem.

Could one solution be to document that a "manual" unique_id has to be defined in cases of using the same on/off codes for more than one switch and in the case of a switch with several codes?
In the case for a switch with several codes, the auto generation could also used simply be turned off, to force the user to define a manual unique_id?

Am merging into testing branch for now

Great, seems like the tests worked out as expected. I agree that this is an edge case and can be solved through documentation. I'm glad I could help and contribute a little. thank you for you a good and useful component!

I've published the new release. Have a read of the documentation and see if you think it could be improved.
Thanks again.

The documentation is good, my only comment would be that you could add the unique_id key to the configuration example and the options table, since it can be entered manually. A manually entered id would also fix the issue of keeping the same id when changing/adding the on/off codes.

The documentation is good, my only comment would be that you could add the unique_id key to the configuration example and the options table, since it can be entered manually. A manually entered id would also fix the issue of keeping the same id when changing/adding the on/off codes.

Thanks. Documentation updated commit

Perfect, thanks for including my feedback and letting me be a small part of your project

Very welcome, thanks for taking the lead on this one.


Unable to retrieve binary payload from large file response

Description:
Unable to retrieve binary payload from ~5MB file response using getBinaryPayload.  This is an intermittent error.
Error log
error("Error occured while accessing binary content from the http response",error GenericClientError
("Error occurred while retrieving the binary payload from the response", error ParserError ("Error occurred while
extracting content from message : Idle timeout triggered while reading inbound response entity body")))

Identified following records in the Wireshark.

Steps to reproduce:

Upload a large file(>5MB) in an AWS S3 bucket and call getObject() method
This getObject() method internally uses getBinaryPayload to retrieve the payload from the response.

import ballerina/log;
import ballerina/lang.'string as strings;
import ballerinax/aws.s3;

string accessKeyId = "";
string secretAccessKey = "";
string region = "";
string bucketName = "";

s3:ClientConfiguration amazonS3Config = {
    accessKeyId: accessKeyId,
    secretAccessKey: secretAccessKey,
    region: region
};

s3:Client amazonS3Client = check new (amazonS3Config);

public function main() returns error? {
    var getObjectResponse = amazonS3Client->getObject(bucketName, "large.csv");
    if (getObjectResponse is s3:S3Object) {
        log:printInfo(getObjectResponse.toString());
        byte[]? byteArray = getObjectResponse["content"];
        if (byteArray is byte[]) {
            string content = check strings:fromBytes(byteArray);
            log:printInfo("Object content: " + content);
        }
    } else {
        log:printError("Error: " + getObjectResponse.toString());
    }
}

Affected Versions:
SL Beta2
Related Issues (optional):
https://github.com/wso2-enterprise/choreo/issues/7935

@Chuhaa Thanks for the info. By any chance can we get a complete wireshark record from Client SYN?

Please find the complete Wireshark record here


replace \n with os.EOL

We've had some issues where the results of p4 info are coming back with CRLF instead of LF, causing the plugin to fail to parse the results.
This change replaces the \n with os.EOL. However, I'm not sure whether the line ending used in the result is determined by the p4 client or the p4 server.

@stef-levesque would you be able to review this?

This extension is being deprecated, please have a look at mjcrouch 2020 Fork


Unable to use recipe with sprinkles

Describe the bug
When you use sprinkles function inside recipe function call, invalid values are passed to generate CSS code.
Link to reproduction
https://codesandbox.io/s/fervent-waterfall-ujfyvh?file=/src/App.css.ts:106-115
Here you can find simple reproduction. Code was forked from the official sprinkles example  (from docs).
As you can see, there are three buttons (App.tsx). Each button should have proper text color (styles are in App.css.ts). Unfortunately, generated classes looks like this:

System Info
@vanilla-extract/babel-plugin: 1.1.3
@vanilla-extract/css: 1.6.8
@vanilla-extract/recipes: 0.2.3
@vanilla-extract/sprinkles: 1.3.3
@vanilla-extract/webpack-plugin: 2.1.4
Thank you for your time,
Rafał

sprinkles() returns a class string, so you can't use it the way you're trying to.
I've forked and updated your sandbox like:
export const button = recipe({
  base: [{ fontSize: 20 }, sprinkles({ backgroundColor: "green" })],
  variants: {
    variant: {
      primary: sprinkles({ backgroundColor: "blue" }),
      secondary: sprinkles({ backgroundColor: "red" })
    }
  }
});

https://codesandbox.io/s/blissful-cdn-e5zlcd?file=/src/App.css.ts

I was tricked by example on this page https://vanilla-extract.style/documentation/recipes-api/ because it has only one property in each sprinkles call :)
Thank you :)


Potential Bug with shouldDirtyConsider and a Disabled Field

Describe the bug and the expected behavior
Hello! It seems that shouldDirtyConsider is not being correctly applied when a field has been disabled.
I've pasted a Stackblitz below to show the problem. form.dirty is immediately true even though nothing else has changed and the shouldDirtyConsider is set to return true for any field other than email.
Thanks for reading!
Conform version
v1.1.5
Steps to Reproduce the Bug or Issue
Stackblitz
What browsers are you seeing the problem on?
No response
Screenshots or Videos
No response
Additional context
No response

Thanks for the PR, @ericsakmar! I am happy with the changes you made. But I would like to learn more about your usecase first before I have it merged.
The issue you had with shouldDirtyConsider was caused by the missing entry when the input is disabled. Although your PR does fix the dirty state, the validation is still failing due to missing value from the form data. I wonder if you are looking for a way to stop user from editing the input value, maybe you can use the readonly attribute instead?

Yes, the readonly attribute does solve the problem I thought I had. Thanks!


replace hub ready doc with checklist and link out

better to link out to authoritative hub ready apps doc than maintain it here.
making sure no good stuff is lost entirely via https://github.com/ArcGIS/hub-ready-apps/issues/1

💡


Issues Establishing Connection when multiple admin configs installed

I can connect via each config independently, however when attempting to connect via the Type provider, it has issues finding the correct ones and also spawns some additional issues.  Definitely worth looking into.

If you can give more detailed repro steps that would be great, e.g. which Hadoop system, links on info about how to set up multiple admin configs, logs etc.? thanks

Thanks Don, yes more information is needed. I'm not familiar with multiple admin configurations.

Hey Guys,
Sorry I didn't get back sooner, Paternity leave plus I relocated to South Florida.  So lets hit these after 1 month of not looking at it :).

Hadoop system: HDInsight - cluster type: HBase
Multiple Config issue:
2a.  Installed Excel + Power Query
2b.  Installed the other configuration admin (I believe I have 32 bit office, then installed 64 bit configuration)
I believe I just started attempting to run and use.
I'm back to attempting to look at this again.

G'day, drcrook1 I still don't understand where the problem is. Are you running Hive? or HBase? Try using with Hortonworks or Cloudera virtual machine set up to make sure the issue is not with HDInsight.

I'm running HBase on HDInsight.

The issue might be that this is a Hive Type Provider not a HBase Type Provider.

:) I'll try mapping a hive table to it


Reading parquet with Decimal Data type works fine when spark.sql.parquet.enableVectorizedReader is enabled

[Enter feedback here]
Reading parquet with decimal type just works fine using Databricks 7.3 LTS and when "spark.sql.parquet.enableVectorizedReader" is enabled.
Please find attached the screenshot from notebook.
Document details

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

ID: 6d891a17-4899-163d-535d-13a3386996bf
Version Independent ID: add13712-7e7e-aff4-b482-2bf4c6e60510
Content: Apache Spark job fails with Parquet column cannot be converted error - Azure Databricks
Content Source: databricks/kb/scala/spark-job-fail-parquet-column-convert.md
Service: azure-databricks
GitHub Login: @shanmugavel04
Microsoft Alias: saperla

Thanks for the feedback! We have assigned the issue to the content author to further review this and provide an update as appropriate.

Thanks for your dedication to our documentation. Unfortunately, we have been unable to review your issue and apologize for the delayed response. The scope of our feedback channel here on GitHub covers specific documentation fixes and this issue is related to the KB. We recommend that you visit the Databricks Knowledge Base to submit your feedback. Because this issue does not relate to documentation, we are closing this issue.
#please-close

#please-close


Create filter/sort UI (without implementation)

https://www.figma.com/file/28Tvzsvn9S9wEYCQvmzfUT/MCC-eCare-Patient%2FCG?type=design&node-id=179%3A3932&mode=design&t=SwFaJHG4NyPggird-1

Sravan is testing using Epic and Cerner.


stable/rabbitmq node affinity conflict

Describe the bug
When creating rabbitmq with node affinity the volumes are not created to match the affinity
Error:  2 node(s) had volume node affinity conflict
Version of Helm and Kubernetes:
HELM version: 2.14.3
Kubernetes version: 1.12
Which chart:
Rabbitmq
What happened:
Pod is stuck in pending state, because the node did not have volume affinity
What you expected to happen:
Chart to be successfully installed
How to reproduce it (as minimally and precisely as possible):
add
nodeSelector:   beta.kubernetes.io/instance-type: "m4.xlarge"
To the config of rabbitmq chart

Hi @srinivasrk, thanks for letting us know, we will investigate it.

Same here.
EKS cluster was overcrowded so we needed to scale up. New node have been created in eu-central-1c zone, but the volume created by rabbitmq-ha have node-affinity eu-central-1b which makes pod hang in pending state forever.
kubectl get pv -o yaml _pvc-12345_
...
nodeAffinity:
    required:
      nodeSelectorTerms:
      - matchExpressions:
        - key: failure-domain.beta.kubernetes.io/zone
          operator: In
          values:
          - eu-central-1b
        - key: failure-domain.beta.kubernetes.io/region
          operator: In
          values:
          - eu-central-1
...

kubectl get node -o yaml
...
  labels:
    ...
    failure-domain.beta.kubernetes.io/region: eu-central-1
    failure-domain.beta.kubernetes.io/zone: eu-central-1c
...

Well if it helps anyone I was able to fix this by making my EKS nodes spawn across only one AZ.
That way all my nodes are volumes are on the same zone

Hi again @srinivasrk, thanks for letting us know about that workaround. We didn't fine a clean solution yet but we continue investigating it. Any suggestions will be appreciated 🙂.

I ran into the same issue, and moving all nodes to the same availability zone defeats their purpose, we can't do it. Did you guys found another solution in the meantime?

No workaround other than this

I ran into the same issue, and moving all nodes to the same availability zone defeats their purpose, we can't do it. Did you guys found another solution in the meantime?

No other workaround yet


No need to wait after Wire.requestFrom()

In the file "IoTuz.cpp", in the function "i2cexp_read()", there is a while-loop after the Wire.requestFrom(). That while-loop can be removed, there is nothing to wait for.
When the Wire.requestFrom() returns, the I2C transaction has completely finished and the received data is waiting in a buffer in the Wire library.

Thanks. I inherited that code and didn't know that bit. I'm on vacation but will change it when I can.
Out of curiosity, what board are you using the code on, did you have any issues with it?

I did not use the code. I try to improve the use of the Arduino Wire library, because the wrong use of the Wire library is copied so many times.
It might have negative consequences in a very rare situation. If the Wire.requestFrom() detects a bus error or collision in a multi-master bus, it probably returns that zero bytes have been received. In that case the Wire.available() also returns zero, and that while-loop will halt the sketch.

Fixed by https://github.com/marcmerlin/IoTuz/commit/95f53be6569c68f7fbef491bb36082870f82d629 , soryr for the delay


no compatibility with the thin air mod

most likely impossible since it uses the drowning feature too but if you can make it work it would be nice

I don't have time for the next few days; maybe I could look into it later, but I can't make any guarantees.
How would you imagine the compatibility working? Would you have to hold your breath in real life when going to the End?


blanket space

There are

no image, git clone several times not working

Im having this same issue

same issue.  Any update?


Make Tempus Oauth2 Client

Child of #414
Add @Oauth2Client annotation on Spring-boot application and configurations in YAML

Changes are on branch - 414_HAF_Authentication_Integration


[Cosmos] Throw error when initializing CosmosClient in node 6

Is your feature request related to a problem? Please describe.
Cosmos throws an obscure error related to the URL constructor when initializing in node 6.
https://github.com/Azure/azure-sdk-for-js/issues/12106
Describe the solution you'd like
We can simply recognize when URL isn't available (in the node 8 case here https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/cosmosdb/cosmos/src/utils/url.ts#L3) and throw an error with more clarity.

I think we dropped support here


Forward port 3 to 6

➡ Forward port
Port ign-gui3 to ign-gui6
Branch comparison: https://github.com/gazebosim/gz-gui/compare/ign-gui6...ign-gui3
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

For some reason homebrew CI is having issues finding ignition-math6

probably related: https://github.com/osrf/homebrew-simulation/pull/2206

@osrf-jenkins run tests please

@osrf-jenkins retest this please

could please look into the GitHub problems for Focal and Jammy and check if they were reported before:

Buildfarmer database doesn't have any record of this test failing

I've made an alternative attempt in https://github.com/gazebosim/gz-gui/pull/533 and we can see if it has the same test failures

it looks like the ign-gui6 branch already has these failures in the Jammy CI:

https://github.com/gazebosim/gz-gui/actions/runs/4537672860/jobs/7995762759


[question|feature] can exporter 241 use at 210?

I haven't tried, but if you modify pom.xml to use the 2.10 version of ElasticSearch then recompile, repackage with Maven, it should work.
The main condition is to hope ElasticSearch librairies have not too diverged.


// Coment on last line produces error 'Invalid regular expression'

.js file
comment out the last line //
notice an error: 'Invalid regular expression'

I'm unable to repo this issue in VSCode 1.7.

Please give a more recent VSCode release a try and let me know if you still see this issue. Thanks.


[BUG] cover _TZ3210_dwytrmda lift percentage is not updated

Bug description
with the device identified as below:
"manufacturer": "_TZ3210_dwytrmda",
"model": "TS130F",
"class": "zhaquirks.tuya.ts130f.TuyaTS130FTOGP"
It seems that the current_position_lift_percentage (id 0x0008) is not updated correctly leading to an unexpected behavior within HA.
In my situation this variable is always set to 100 whatever the position of the cover is.
Steps to reproduce

When the cover is open, request in HA to close the cover
The covers closed, immediately after HA is showing the correct position and associated commands.
Some times after (or if we read the current_position_lift_percentage value), HA is showing the cover as open
Up command is not accessible, activating the down command forces a refresh and HA shows the cover as closed

Expected behavior
In the step 3 above, we should expect to always read the same position within HA.
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]

Device signature
Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0202",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0102"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": "0xa1e0",
      "device_type": "0x0061",
      "input_clusters": [],
      "output_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZ3210_dwytrmda",
  "model": "TS130F",
  "class": "zhaquirks.tuya.ts130f.TuyaTS130FTOGP"
}

Diagnostic information
Diagnostic information
{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2023.8.4",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.11.4",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Paris",
    "os_name": "Linux",
    "os_version": "6.2.0-35-generic",
    "run_as_root": true
  },
  "custom_components": {
    "pfsense": {
      "version": "0.1.0",
      "requirements": [
        "mac-vendor-lookup>=0.1.11"
      ]
    },
    "nest_protect": {
      "version": "0.4.0b1",
      "requirements": []
    },
    "cover_time_based_synced": {
      "version": "2.0.0",
      "requirements": []
    },
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "after_dependencies": [
      "onboarding",
      "usb"
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga",
      "@puddly"
    ],
    "config_flow": true,
    "dependencies": [
      "file_upload"
    ],
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp"
    ],
    "requirements": [
      "bellows==0.35.9",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.102",
      "zigpy-deconz==0.21.0",
      "zigpy==0.56.4",
      "zigpy-xbee==0.18.1",
      "zigpy-zigate==0.11.0",
      "zigpy-znp==0.11.4"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      },
      {
        "type": "_slzb-06._tcp.local.",
        "name": "slzb-06*"
      }
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 26601,
    "manufacturer": "_TZ3210_dwytrmda",
    "model": "TS130F",
    "name": "_TZ3210_dwytrmda TS130F",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.tuya.ts130f.TuyaTS130FTOGP",
    "manufacturer_code": 4417,
    "power_source": "Mains",
    "lqi": 33,
    "rssi": null,
    "last_seen": "2023-10-22T11:29:41",
    "available": true,
    "device_type": "Router",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": "0x0104",
          "device_type": "0x0202",
          "input_clusters": [
            "0x0000",
            "0x0004",
            "0x0005",
            "0x0102"
          ],
          "output_clusters": [
            "0x000a",
            "0x0019"
          ]
        },
        "242": {
          "profile_id": "0xa1e0",
          "device_type": "0x0061",
          "input_clusters": [],
          "output_clusters": [
            "0x0021"
          ]
        }
      },
      "manufacturer": "_TZ3210_dwytrmda",
      "model": "TS130F"
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "cover.tz3210_dwytrmda_ts130f_cover",
        "name": "_TZ3210_dwytrmda TS130F"
      }
    ],
    "neighbors": [
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x3B8F",
        "permit_joining": "Unknown",
        "depth": "1",
        "lqi": "45"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x3D88",
        "permit_joining": "Unknown",
        "depth": "1",
        "lqi": "78"
      }
    ],
    "routes": [],
    "endpoint_names": [
      {
        "name": "WINDOW_COVERING_DEVICE"
      },
      {
        "name": "PROXY_BASIC"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "c9b9f3ce85e85bf5b029ea1901596d8b",
    "area_id": "cuisine",
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "WINDOW_COVERING_DEVICE",
          "id": 514
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0003": {
                "attribute_name": "hw_version",
                "value": 1
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZ3210_dwytrmda"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS130F"
              },
              "0x0007": {
                "attribute_name": "power_source",
                "value": 1
              },
              "0xfffe": {
                "attribute_name": "reporting_status",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0x0013": {
                "attribute_name": "alarm_mask"
              },
              "0x4000": {
                "attribute_name": "sw_build_id"
              }
            }
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0102": {
            "endpoint_attribute": "window_covering",
            "attributes": {
              "0xf001": {
                "attribute_name": "calibration",
                "value": 0
              },
              "0xf003": {
                "attribute_name": "calibration_time",
                "value": 172
              },
              "0x0008": {
                "attribute_name": "current_position_lift_percentage",
                "value": 0
              },
              "0x8000": {
                "attribute_name": "motor_mode",
                "value": 0
              },
              "0xf002": {
                "attribute_name": "motor_reversal",
                "value": 0
              },
              "0xf000": {
                "attribute_name": "tuya_moving_state",
                "value": 1
              }
            },
            "unsupported_attributes": {
              "0x0000": {
                "attribute_name": "window_covering_type"
              },
              "0x0003": {
                "attribute_name": "current_position_lift"
              },
              "0x0004": {
                "attribute_name": "current_position_tilt"
              },
              "0x0007": {
                "attribute_name": "config_status"
              },
              "0x0009": {
                "attribute_name": "current_position_tilt_percentage"
              },
              "0x0010": {
                "attribute_name": "installed_open_limit_lift"
              },
              "0x0011": {
                "attribute_name": "installed_closed_limit_lift"
              },
              "0x0013": {
                "attribute_name": "installed_closed_limit_tilt"
              },
              "0x0017": {
                "attribute_name": "window_covering_mode"
              },
              "0x0015": {
                "attribute_name": "acceleration_time_lift"
              },
              "0x0016": {
                "attribute_name": "deceleration_time_lift"
              },
              "0x0014": {
                "attribute_name": "velocity_lift"
              },
              "0x0019": {
                "attribute_name": "intermediate_setpoints_tilt"
              }
            }
          }
        },
        "out_clusters": {
          "0x000a": {
            "endpoint_attribute": "time",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {
              "0x0002": {
                "attribute_name": "current_file_version",
                "value": 66
              },
              "0x0003": {
                "attribute_name": "current_zigbee_stack_version",
                "value": 2
              },
              "0x0004": {
                "attribute_name": "downloaded_file_version",
                "value":<PHONE_NUMBER>
              },
              "0x0006": {
                "attribute_name": "image_upgrade_status",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0xfffe": {
                "attribute_name": "reporting_status"
              }
            }
          }
        }
      },
      "242": {
        "device_type": {
          "name": "PROXY_BASIC",
          "id": 97
        },
        "profile_id": 41440,
        "in_clusters": {},
        "out_clusters": {
          "0x0021": {
            "endpoint_attribute": "green_power",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}

Logs
Logs
[Paste the logs here]

Additional information
No response

Same issue here withHA 2024.2 and the following signature (different manufacturer):
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0202",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0102"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": "0xa1e0",
      "device_type": "0x0061",
      "input_clusters": [],
      "output_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZ3210_ol1uhvza",
  "model": "TS130F",
  "class": "zhaquirks.tuya.ts130f.TuyaTS130FTOGP"
}

Same here :-)
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0202",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0102"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": "0xa1e0",
      "device_type": "0x0061",
      "input_clusters": [],
      "output_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZ3210_dwytrmda",
  "model": "TS130F",
  "class": "zhaquirks.tuya.ts130f.TuyaTS130FTOGP"
}

Any workaround known?

2024.2.1

I need to correct me: first power on of Device No. 1 paring starts instantly and i did pair the device in HA. device No. 2 did not want to pair and i need to start paring. After Pairing the state, percentage etc. was working.
I did a force pair with device No. 1 and now also this device is showing the state and is working as expected.

I need to correct me: first power on of Device No. 1 paring starts instantly and i did pair the device in HA. device No. 2 did not want to pair and i need to start paring. After Pairing the state, percentage etc. was working.
I did a force pair with device No. 1 and now also this device is showing the state and is working as expected.

what do you mean with "force pair"? Making it enter pair mode manually?

yes

Some update:
after some minutes, HA is loosing the values:

The only workaround I found was to use several automation scripts to force the position attribute for a given range.
But that's not very straightforward and needs to be re-done for every cover ...

This is also something i am considering now. The value which can be read is 0. HA is getting the position from the device when changed and after some time HA seems to read out the device again and get the 0. So for my understanding the value needs to be write back to device or even don't update from device. which could be the better solution.

you are right, there is the need to write the value back on the device through "Set zigbee cluster attribute"

is this possible through yaml change for that device type? any hint?

I have a similar issue. The status always go back to "open" after a few minutes:

So at 21:24 I did full close action, after a few minutes it goes back to open. So I can't open the cover in the morning because it's already open.
I can use the physical switches without any issues. The cover opens or close no matter the status.
It only affects HA.
My workaround is to call "close" for 0.5s before "open" in my automations.
However it's not so simple with the HA buttons in dashboard.

As mentioned above an automation is solving the issue. The value is write back to the device. This is necessary for all devices. this is working for a while now.

Samehere in v2024.6.2 with the same device as @ssorgatem: _TZ3210_ol1uhvza

Same issue here withHA 2024.2 and the following signature (different manufacturer):
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0202",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0102"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": "0xa1e0",
      "device_type": "0x0061",
      "input_clusters": [],
      "output_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZ3210_ol1uhvza",
  "model": "TS130F",
  "class": "zhaquirks.tuya.ts130f.TuyaTS130FTOGP"
}

Something curious happens to me: I have 4 identical devices, bought on the same date and with the same firmware versio. Two of them behave well and the others do not
I don't understand it, honestly. I don't know where I have read that it could be related to the fact that some are connected directly to the Zigbee coordinator and others through a router, but I don't know how to check it.
My solution was to implement the following automation for each cover:
alias: Persiana cuarto (corregir posición)
description: ""
trigger:
  - platform: state
    entity_id:
      - cover.persiana_cuarto
condition: []
action:
  - variables:
      position: "{{ state_attr('cover.persiana_cuarto', 'current_position') }}"
  - delay:
      seconds: 5
  - repeat:
      while:
        - condition: template
          value_template: >-
            {{ state_attr('cover.persiana_cuarto', 'current_position') }} != position
      sequence:
        - variables:
            position: "{{ state_attr('cover.persiana_cuarto', 'current_position') }}"
        - delay:
            seconds: 5
  - service: zha.set_zigbee_cluster_attribute
    data:
      # Get IEEE from the device info page in HA
      ieee: 00:0d:6f:00:05:7d:2d:34

      # TuyaCoveringCluster (Endpoint id: 1, Id: 0x0102, Type: in)
      endpoint_id: 1
      cluster_id: 258
      cluster_type: in

      # current_position_lift_percentage (id: 0x0008)
      attribute: 8

      # set value from variable
      value: "{{ position }}"

      # do not override manufacturer code
      manufacturer: "-1"
mode: restart

Thanks alorle for providing your script.
much more efficient than mine.

The same thing happens to me, I have 5 identical tuya modules both physically and in terms of firmware, manufacturer etc... but only one of them with the problem.

@alorle your solution works well for HA, when it's closed by HA then it has proper status and can be opened back.
However, when I use the buttons on my wall, the cover goes up but then HA refuses to close it down.
This is because it's still wrong reporting the status as "in move" so "closing" or "opening", thus blocking the buttons in this direction:

@alorle your solution works well for HA, when it's closed by HA then it has proper status and can be opened back.
However, when I use the buttons on my wall, the cover goes up but then HA refuses to close it down.
This is because it's still wrong reporting the status as "in move" so "closing" or "opening", thus blocking the buttons in this direction:

In my case it's working for HA and phisical buttons. Maybe you have a different hardware?

I mean the script properly updates the percentage, so no longer I have an issue like reported earlier, that a few minutes after 100% closed, it's reported as 0% opened.
The issue I have now is that when I initiate the move via button and then stop in the middle via button, it still reports as "closing" or "opening", like the HA does not get updated by the zigbee device about the status or something.
Maybe we can find similar zigbee attribute to check and overwrite? 🤔

Yes, for 0 and 100 it works. Please try pressing the button in the middle of the movement to stop and see then 😉

thats my automation:

alias: Writeback Terrassentür
description: ""
trigger:
  - platform: state
    entity_id:
      - cover.terrassentur_abdeckung
    attribute: current_position
condition: []
action:
  - service: zha.set_zigbee_cluster_attribute
    data:
      ieee: >-
        {{
        (device_attr('cover.terrassentur_abdeckung','identifiers')|list).0.1}}
      endpoint_id: 1
      cluster_id: 258
      attribute: 8
      cluster_type: in
      value: "{{state_attr('cover.terrassentur_abdeckung','current_position')|int(0)}}"
mode: queued
max: 10

And it is working for many months now. Sometimes the value is not getting to the max. For example 94 or 13. But all functionallity is working.
And the value is in my opinion not calculated from HA. It seems to be from the cover device as event. But it is not reflected as status where the script is coming in and writing that value to the device. HA is reading it out after some time.

Hi everyone
otherwise I found another alternative that avoids using scripts : moving to Zigbee2MQTT.
it recognizes the device without any additional workaround

I've built a blueprint to help with my issues given I have a few of those devices and it is a bit painful to manage each automation manually. Feel free to use it as well if helps you:
https://gist.github.com/marlomgirardi/4fca8e6097520727d6cf88056798a8de
My issues with it have been:

Stuck at 99% or stuck at 1%
HA state stuck at opening or closing
list percentage not updated in the device, making home assistant revert back to the last stored lift position on device.

Same here.
Tuya TS130F TZ3000_eg7awg6a (single roller shutter) not save or wrong read cluster current_position_lift_percentage - it is always 100. When set curtain e.g. to 50% it moves to 50%, but after a while it shows in log that is opening and report in HA wrong position 100% (but in fact it is in right position 50%). Quirk: zhaquirks.tuya.ts130f.TuyaTS130GP.
Exactly same device, but double roller shutter, TS130F _TZ3000_j1xl73iw (Quirk: zhaquirks.tuya.ts130f.TuyaTS130Double_GP_ESTC) works ok.
Using ZHA. This happen for all this devices, not one. Home Assistant core-2024.12.1. No firmware updates.

Samehere in v2024.6.2 with the same device as @ssorgatem: _TZ3210_ol1uhvza

Same issue here withHA 2024.2 and the following signature (different manufacturer):
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0202",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0102"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": "0xa1e0",
      "device_type": "0x0061",
      "input_clusters": [],
      "output_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZ3210_ol1uhvza",
  "model": "TS130F",
  "class": "zhaquirks.tuya.ts130f.TuyaTS130FTOGP"
}

Something curious happens to me: I have 4 identical devices, bought on the same date and with the same firmware version. Two of them behave well and the others do not.
I don't understand it, honestly. I don't know where I have read that it could be related to the fact that some are connected directly to the Zigbee coordinator and others through a router, but I don't know how to check it.
My solution was to implement the following automation for each malfunctioning cover:
alias: Persiana cuarto (corregir posición)
description: ""
trigger:
  - platform: state
    entity_id:
      - cover.persiana_cuarto
condition: []
action:
  - variables:
      position: "{{ state_attr('cover.persiana_cuarto', 'current_position') }}"
  - delay:
      seconds: 5
  - repeat:
      while:
        - condition: template
          value_template: >-
            {{ state_attr('cover.persiana_cuarto', 'current_position') }} != position
      sequence:
        - variables:
            position: "{{ state_attr('cover.persiana_cuarto', 'current_position') }}"
        - delay:
            seconds: 5
  - service: zha.set_zigbee_cluster_attribute
    data:
      # Get IEEE from the device info page in HA
      ieee: 00:0d:6f:00:05:7d:2d:34

      # TuyaCoveringCluster (Endpoint id: 1, Id: 0x0102, Type: in)
      endpoint_id: 1
      cluster_id: 258
      cluster_type: in

      # current_position_lift_percentage (id: 0x0008)
      attribute: 8

      # set value from variable
      value: "{{ position }}"

      # do not override manufacturer code
      manufacturer: "-1"
mode: restart

Thank you. It is working. So this is proof that something is wrong with ZHA or Home Assistant since automation can save the cluster correctly.
However, my blinds after using your automation show the opening state all the time. I wonder why using repeat if the automation mode is a restart?


[Docs] Add Note [How to add a built-in function: complicated cases]

Another piece of docs. Some stuff still remains to be written, that's for another time.

@kwxm

An extremely meta (and maybe nonsensical) question occurs to me. Perhaps unfairly, I view a lot of what's going on here as clever tricks exploiting weird corners of the Haskell type system. I wonder if it would be possible to invent some extension to the type system that would make it easier to support this kind of thing. I have no idea what that could possibly involve though!

Interesting. Documented that.


knex migrate:latest --fake

Environment
Knex version:0.17.2
Database + version: generic, but postgres, sqlite
OS: linux
Feature discussion / request

Explain what is your use case
Instead of starting from scratch, it would be good to be able to set migrations to a certain point without running the migrations themselves -- that way we can get an existing DB that has already updated state, but not with knex migrate, setup to use knex migrate in the future.

Explain what kind of feature would support this
Django ORM has this feature where you can run with a --fake option and it updates the equivalent of the knex_migrations table with whatever should have happened.

Give some API proposal, how the feature should work
e.g. knex migrate:latest --fake or knex migrate:down --fake would update the knex_migrations table without running the up or down methods.

Sounds useful. PR would be most welcome!

Would also like to add that --fake flag would be useful on specific migrations as well so:
knex migrate:make migration_name --fake

I would also like to see this implemented! If you're willing to do it by yourself please feel free to call me for help.


NPE in Android Studio 3.0 Flutter Plugin MacOS 10.12.6

Steps to Reproduce

Clone Flutter repository and run flutter doctor until errors are resolved.
Download and install Android Studio 3.0 (stable release Build #AI-171.4408382 built 20 October 2017)
Install Flutter plugin
Restart Android Studio
Configure Flutter SDK path
Restart Android Studio
Observe NPE when loading Flutter plugin

Logs
null
java.lang.NullPointerException
at io.flutter.FlutterInitializer.getAnalytics(Unknown Source)
at io.flutter.FlutterInitializer.runActivity(Unknown Source)
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$runPostStartupActivitiesFromExtensions$1(StartupManagerImpl.java:143)
at com.intellij.ide.startup.impl.StartupManagerImpl.runActivity(StartupManagerImpl.java:346)
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$queueSmartModeActivity$2(StartupManagerImpl.java:161)
at com.intellij.openapi.project.DumbServiceImpl.updateFinished(DumbServiceImpl.java:305)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:86)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$pollQueueLater$0(TransactionGuardImpl.java:72)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:410)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:399)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:827)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:655)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Flutter Doctor
MacBook-Air-3.local:pgluck /Users/pgluck/tools/flutter <39> flutter doctor
[â] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha)
â¢ Flutter at /Users/pgluck/tools/flutter
â¢ Framework revision e8aa40eddd (13 days ago), 2017-10-17 15:42:40 -0700
â¢ Engine revision 7c4142808c
â¢ Tools Dart version 1.25.0-dev.11.0
[â] Android toolchain - develop for Android devices (Android SDK 25.0.2)
â¢ Android SDK at /Users/pgluck/Library/Android/sdk
â¢ Platform android-25, build-tools 25.0.2
â¢ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
â¢ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[â] iOS toolchain - develop for iOS devices (Xcode 9.0.1)
â¢ Xcode at /Applications/Xcode.app/Contents/Developer
â¢ Xcode 9.0.1, Build version 9A1004
â¢ ios-deploy 1.9.2
â¢ CocoaPods version 1.3.1
[â] Android Studio (version 3.0)
â¢ Android Studio at /Applications/Android Studio.app/Contents
â¢ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[â] Connected devices
â¢ Peter's iPhone 6s â¢ 946cf89ea60fe0400316456d1432206f3de53641 â¢ ios â¢ iOS 11.1

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

The same bug occurs on Windows too, and it seems to happen each time you start Android Studio. Interestingly you do seem to be able to continue using the plugin and successfully build/deploy flutter apps to a device.

Thanks for reporting @pgluck, I can repro this. We'll get this fixed ASAP!


Add lib/*.lua files for the osrmProfiles

They were not noticed as their path is in the .gitignore

Can you also fix the .gitignore or you'll create an issue for it?


Debug problem

Issue Type: Bug
VSCode starts debugging before activating the conda environment on the Python Debug console, which breaks the code.
Extension version: 2020.8.109390
VS Code version: Code 1.47.3 (91899dcef7b8110878ea59626991a18c8a6a1b3e, 2020-07-23T13:12:49.994Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

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

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.92GB (8.35GB free)

Process Argv
--folder-uri file:///d%3A/Dev/easypallet-ai/easypallet_ai

Screen Reader
no

VM
0%

This is a known issue with activating conda. This occurs due to some limitation we have with the VS Code and conda activation. Here is a workaround for this:

Turn of auto activation. To do this, disable these two settings, ideally only for the project you are working on:

Exit VS Code.
Open Anaconda Prompt, navigate to your project.
Activate the environment that you want.
Run code . or code project.code-workspace to launch VS Code.

This will give you an activate environment, and the extension will not have to try and activate every time a terminal is created.


Created a node package for functions

Created a node package that exposes functions

getProcList
killProcByPID

After this review let's merge it and i will implement it in sandbox app to send to QA.

Also let's add good commit messages to master. Please use squash to create better commit messages. Also i recommend style like in linux or vue.
Something like:
module: folder: what did you do.
Or:
module: what did you do

Also i want meeting to do good with "This branch has conflicts that must be resolved". And show you how.


WinForms Visual Basic projects are upgraded to .NET 5 but they should be upgraded to .NET 6

For some reason the tool is choosing the net5.0-windows TFM. It should choose the net6.0-windows TFM.

How odd. Maybe a bug in the VB TFM selector. Can you confirm that this still happens after dotnet tool update -g upgrade-assistant?

I think I see the issue. The VB "My" TFM selector is updating things to .NET 5 instead of using ITargetFrameworkSelectorFilterState.AppBase. In other words, it's got .NET 5 hard-coded instead of using the TFM that corresponds to the user's selected target (LTS, current, etc.).


LSM: Avoid sorting TableMutable when updated in sorted order.

Implements a wrapper around []Value, HashMap(u24), and []u8 for TableMutable. Values are appended to the array, their indexes are added to the HashMap, and there's a bitset to track which ones were removed. When iterating, removed Values are ignored using the bitset and we track if the values were inserted in sorted order. If so, we can skip std.sort.sort.
Pre-merge checklist
Performance:

[x] Compare zig build benchmark on linux before and after this pr.# benchmark results before
1223 batches in 133.25 s
load offered = 1000000 tx/s
load accepted = 75047 tx/s
batch latency p00 = 0 ms
batch latency p10 = 27 ms
batch latency p20 = 28 ms
batch latency p30 = 29 ms
batch latency p40 = 29 ms
batch latency p50 = 30 ms
batch latency p60 = 31 ms
batch latency p70 = 32 ms
batch latency p80 = 33 ms
batch latency p90 = 34 ms
batch latency p100 = 5404 ms
transfer latency p00 = 0 ms
transfer latency p10 = 4066 ms
transfer latency p20 = 10537 ms
transfer latency p30 = 20729 ms
transfer latency p40 = 33777 ms
transfer latency p50 = 48780 ms
transfer latency p60 = 63997 ms
transfer latency p70 = 74013 ms
transfer latency p80 = 89395 ms
transfer latency p90 = 104911 ms
transfer latency p100 = 123261 ms

# benchmark results after
1223 batches in 123.42 s
load offered = 1000000 tx/s
load accepted = 81021 tx/s
batch latency p00 = 0 ms
batch latency p10 = 26 ms
batch latency p20 = 27 ms
batch latency p30 = 28 ms
batch latency p40 = 28 ms
batch latency p50 = 29 ms
batch latency p60 = 30 ms
batch latency p70 = 30 ms
batch latency p80 = 31 ms
batch latency p90 = 33 ms
batch latency p100 = 5406 ms
transfer latency p00 = 0 ms
transfer latency p10 = 3215 ms
transfer latency p20 = 9149 ms
transfer latency p30 = 18426 ms
transfer latency p40 = 30364 ms
transfer latency p50 = 44402 ms
transfer latency p60 = 58471 ms
transfer latency p70 = 67372 ms
transfer latency p80 = 81779 ms
transfer latency p90 = 96208 ms
transfer latency p100 = 113436 ms

superseded by #784


Fixed Issue#200

We have fixed the issue addressed in issue#200.  We changed the link in the word 'here' of the description on the homepage where it says "Our members work on a variety of projects, as can be seen here."  Now the 'here' points to the new '/projects' projects page instead of the old 'rcos.rpi.edu'.

quick fix. Thanks! Perhaps you could help the groups around you!

Great thanks! Fixes #200 and #206


Terraform error with matcher

When using Terraform for my dashboard, I encountered the below error. Terraform works well when I comment out the lines containing "matcher", such as g.panel.table.fieldOverride.matcher.withId('id'), but otherwise:
terraform apply
╷
│ Error: RUNTIME ERROR: Field does not exist: matcher
│ 	/tmp/jsonnet/main.libsonnet:6338:15-50
│ 	Array element 0
│ 	Field "overrides"
│ 	Field "fieldConfig"
│ 	Array element 0
│ 	Field "panels"
│ 	Array element 12
│ 	Field "panels"
│ 	During manifestation
│
│
│   with data.jsonnet_file.dashboard,
│   on dashboard.tf line 14, in data "jsonnet_file" "dashboard":
│   14: data "jsonnet_file" "dashboard" {
│

Hi, just wondering if there are any updates or explanations for this error. Thanks!

Can you give us some code to look at?

@kelchen123 I think your code is wrong because there is no matcher in fieldOverride but there is a matcher in the resulting JSON. So the correct usage is something like this:
Jsonnet:
grafonnet.panel.table.standardOptions.withOverrides([
  grafonnet.panel.table.fieldOverride.byName.new("some-name")
  + grafonnet.panel.table.fieldOverride.byName.withPropertiesFromOptions(
      grafonnet.panel.table.standardOptions.withDecimals(2)
  ),
])

JSON:
{
  "overrides": [
    {
      "matcher": {
        "id": "byName",
        "options": "some-name"
      }
      ...
    }
  ]
}


WIP: Newschema

New schema added.
Introduced 'scopeuuid' in VerifyApiKey request. Removed org, env from the request.

Had a question. Check review comment.

@sramamoorthy73 please merge


I can't make tabula work for my PDF

March 2017 Residential Permit Intakes.pdf
Hello I need this PDF to look like this sample csv file
https://docs.google.com/spreadsheets/d/1iR2dx-IFoxZi7soYomPGv6Ui8DnzJIXe_6MAdda-IOk/edit?usp=sharing
And I can't find the right settings for tabula, could I get some help from you guys ?

How exactly is it not going the way you want it to? Is Tabula extracting the data in some sort a tabular format (use 'Lattice' settings).
I think what you might mean is that the extracted data is not the format you want to be able to make more use of it i.e. data transformation. That part is beyond Tabula's purpose (data extraction). What I would recommend is the OpenRefine project for transforming "messy" data into your desired format.


Deploy new full reindex

In doing a full reindex over the weekend there were intermittent timeout errors throughout the process causing the following update files (167 total) to fail.
3
14
26
31
52
53
56
64
68
79
86
91
92
94
110
135

Example error messages
2018-09-30T20:38:05-04:00 ERROR Could not add record 757992/757992 at source file position 31905: Solr error response: 503: {
  "responseHeader":{
    "status":503,
    "QTime":4007},
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","org.apache.solr.common.SolrException"],
    "msg":"No registered leader was found after waiting for 4000ms

Solr response: 500: {
  "responseHeader":{
    "status":500,
    "QTime":5728},
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","org.apache.http.NoHttpResponseException"],
    "msg":"Failed synchronous update on shard StdNode: http://lib-solr1.princeton.edu:8983/solr/catalog-production_shard1_1_replica_n4/ update: org.apache.solr.client.solrj.request.UpdateRequest@2a9cef6b",

Brief searching suggested that perhaps we are oversharding. We're currently transitioning to collections with 2 shards, 3 replicas.
In case system / cpu load is related here, I created a datadog dashboard for the solr boxes: https://app.datadoghq.com/dash/934427/solr-boxes?live=true&page=0&is_auto=false&from_ts=1538419979092&to_ts=1538506379092&tile_size=m
Will close this ticket when transition to 2 shards, 3 replicas is complete.

I don't see any errors like the above in the full index we ran yesterday, on the new collection with 2 shards / 3 replicas.

This gist records connection errors observed in the log from a scsb update: https://gist.github.com/hackmastera/c11013a9d34b836eea3abeb610e2f9d8
The errors are linked to a maintenance window used for maintenance on the solr boxes. we should make sure we're not scheduling any work to run between 6:45 and 8:15am.

Started a new full index set.
Also added cron jobs to run updates 2x per day. First will run today (10/15) at around 4pm.
So we need to run updated records between then and the last full load (2018-10-13 5:00:11am).


[Bug]: The size of PDF chunks is not limited, which can lead to extremely large chunks that exceed the limitations of the LLM in extreme cases.

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
4cda40c
Other environment information
No response
Actual behavior
chunk limited to 256
Expected behavior
No response
Steps to reproduce
upload and parse a pdf with tabl and picture.

Additional information
No response

What is the chunking method you refer to?
If you're not using 'One', you can control chunk size limitation by task page size here:

It limits the page size  for one task.

A PDF file is parsed and splited to chunks, each chunk's size should be limited.

A PDF file is parsed and splited to chunks, each chunk's size should be limited.

I see and agree.

Each chunk of a pdf is limited to 12 pages by default.


Init implementation for the Open API validation

@PerthCharern @darrelmiller
I want to implement the validation logic for the Open API element. Here's my design (it's not finished).
General design:

Can validation each part individually. for example, Developer create a  object, he can call the validate api to validate the created object.

Validate rule can be customized. For example, developer can create their own validation rules.

Detail:

OpenApiElementValidator.cs has the public apis

.\Validations\Visitors has the visitor classes for each element.

.\Validations\Rules has the rule classes for each element.

Please have a look and give me some feedback.

Darrel, I don't think extending rules is out of scope per se. One purpose of the core + readers libs is to be the "base" for other things that can be built (e.g. more types of readers), and in this case, types of validation rules. Given that we make the "default rule set" public and with the overload Sam is providing for the entry point, I think we can allow our customers to build their own rules if needs be. They might want to restrict certain sets of strings (path strings, etc.) to enforce consistency just among their sets of APIs.

In reply to: 351419521 [](ancestors = 351419521)

I understand though that this extensibility is kind of a stretch (since extensions in other dimensions like the reader still adheres strictly to OpenAPI spec), but I don't see the harm of providing this potentiality.

In reply to: 351804977 [](ancestors = 351804977,351419521)

@PerthCharern Thanks! Ok, Let me continue on this PR (even though I think #133 is better. 😆 ).

@PerthCharern @darrelmiller I have to close this because the origin link failed.
I created a new PR to continue: https://github.com/Microsoft/OpenAPI.NET/pull/152


TBW: v6 pre

For Users
Changes seen by users using the Denops plugin are mostly limited to updates of supported versions, with no significant changes other than that.
Updates of Supported Versions
In Denops v6, the following versions are supported:

Name
Version

Deno
1.38.5 or later

Vim
9.0.2189 or later

Neovim
0.9.4 or later

Approximately 50% Reduction in Memory Usage
The memory usage of the Denops server has been reduced by approximately half compared to v5. For more details, refer to Memory (RSS) usage difference between denops v5 and v6.

Improved Communication Speed with Vim/Neovim
Communication speed with Vim/Neovim has been enhanced, especially noticeable in Neovim, where under specific conditions, you can issue about 1.8 times more commands compared to v5. For detailed results, see Communication performance difference between denops v5 and v6.

Reduced Impact on Initialization Time Due to the Number of Plugins
The issue of increasing initialization time as the number of plugins dependent on Denops grows has been resolved. However, users who do not utilize a large number (around 100) of Denops plugins will not perceive a significant difference. For detailed results, refer to Startup performance difference between v5 and v6.
For Denops Plugin Developers
Plugins are no longer isolated by Worker threads
Until v5, each plugin was processed in a dedicated Worker thread, but from v6 onwards, processing is done in a Worker thread per Vim/Neovim instance. Be cautious if your code uses global variables, and consider using the denops.context (Record<PropertyKey, unknown>) provided for each plugin instead.
Results of console.log() always returned to Vim/Neovim
Until v5, the output location of console.log() differed between Local server and Shared server, but now it is always displayed on the Vim/Neovim side in both cases.

[!TIP]
console.log() is intended for temporary use during development. If you want to display messages to users as part of the plugin's functionality, continue to use denops.cmd("echo ...") or the echo function in denops_std.

For Denops Developers
denops_core has been separated into a separate repository
The type information of Denops, which was managed in the denops/@denops directory until v5, has been separated into a separate repository called deno-denops-core. With this change, the version update policy of "no releases other than updates under the denops/@denops directory" has been abolished, and version updates will follow semantic versioning.
Lower-level test utilities included, separate from denops_test
A module named denops/@denops-private/testutil has been added to directly test the Host used in the internal implementation of Denops. As a result, the parts that were tested using denops_test have been removed, and testing is now self-contained in denops.vim.

Summary by CodeRabbit

New Features

Introduced a new logging function to improve information display.
Added new test utilities to enhance plugin development and testing.
Implemented a new worker-based communication approach for better performance.

Enhancements

Upgraded support for Deno, Vim, and Neovim to their latest versions.
Improved error serialization and deserialization for robust error handling.
Refined the communication protocol between services and hosts (Vim/Neovim).

Bug Fixes

Fixed issues with autocmd event handling by removing outdated events.
Resolved version check discrepancies in the Vim plugin.

Refactor

Streamlined tasks and commands in workflow and configuration files.
Overhauled internal class structures and method calls for clarity and efficiency.

Documentation

Updated README.md with current versioning information and streamlined content.

Chores

Cleaned up obsolete functionality and updated import statements for consistency.

Tests

Added comprehensive tests for new and existing functionalities to ensure stability.

I have tested it in Windows environment.
The initialization time is longer than previous version.
It tooks time 5000ms+.

It works for me.


remove unnecessary path to file from docs

When require is given the path of a folder, node.js will look for an index.js file in that folder so no need for /index

Thanks!


Adding copyright to footer as per CNCF website guidelines

Adding copyright to footer:

Keptn authors
Linux foundation

fixes: https://github.com/keptn/keptn.github.io/issues/717

Deploy preview: https://deploy-preview-718--keptn.netlify.app/

Deploy preview: https://deploy-preview-718--keptn.netlify.app/

Last push corrects the footer as it wasn't initially picking up the project name param from the config file.

Last push corrects the footer as it wasn't initially picking up the project name param from the config file.

Thanks @nate-double-u for adding this section.
The project is released under Apache License 2.0 - does this conflict with the License you referred to in the PR?

So right now Keptn docs (or at least this repository :) ) is licenced under Apache 2.0.
IMO docs and images should use Creative commons (CC) - see https://creativecommons.org/licenses/by/4.0/ for details.
Though I'm not sure whether using Apache 2.0 is a problem, maybe @nate-double-u can has an idea?

Just had a quick look:
Helm docs have the same statement about CC 4.0, but they use MIT in their repository. Harbor also has the CC 4.0 statement on the website, and uses Apache 2.0 in their repo.

Here's a conversation about CC-BY 4 vs Apache 2 we had over on the Dex IdP site:
https://github.com/dexidp/website/pull/9#issuecomment-702372163

...code is Apache v2.0 and docs are CC-BY 4.0 in CNCF as indicated in the charter
- @caniszczyk

So I don't think that having the site/repo licensed under Apache 2 and the docs using CC-BY 4 is a problem. There's a few sites in the CNCF using this same setup (dexidp.io & cni.dev included)

Chris suggests in the conversation linked that we could also add a "LICENSE-DOCS" to the repo if that makes things clearer, but that's a personal preference.

So I don't think that having the site/repo licensed under Apache 2 and the docs using CC-BY 4 is a problem. There's a few sites in the CNCF using this same or similar setup.

I'm fine with doing it like all the others do. Okay for you too @jetzlstorfer ?

My only concern is that if we mix Apache 2 and CC-BY 4 it is not reflected in our LICENSE files.
Keptn main repo: https://github.com/keptn/keptn/blob/master/LICENSE
Keptn website & docs https://github.com/keptn/keptn.github.io/blob/master/LICENSE
Therefore I would go with Apache 2 all the way to avoid confusion. Or am I missing the point?

Sorry, should have read the comment and discussion from Chris before.
Yes, it is fine to have two different licenses.
Is it best practice to add a dedicated LICENSE-DOCS in the website/docs repo?

Is it best practice to add a dedicated LICENSE-DOCS in the website/docs repo?

I'm not entirely sure to be honest. The way this PR is set up is the way a couple other sites in the CNCF have been setup.
That said, I did some looking around for examples. A good one I found is Docusaurus. They have two licenses in their repo too, and mentions them in their README:

https://github.com/facebook/docusaurus#license
https://github.com/facebook/docusaurus/blob/master/LICENSE
https://github.com/facebook/docusaurus/blob/master/LICENSE-docs

I like this practice as it does provide a very clear explanation of the LICENSEs and what they cover.

I've pushed a commit that adds a LICENSE-docs file, and updates the README for clarity.
(I didn't squash and force push in case we don't want to go this route, and if we do, we can use GitHub's squash on merge tool).
Note: this is a verbatim copy of the LICENSE-docs file from Docusaurus (https://github.com/facebook/docusaurus/blob/master/LICENSE-docs). I wasn't able to find the text on the Creative Commons site. The closest I found was this page: https://creativecommons.org/licenses/by/4.0/legalcode.

last force push fixes a typo in the README file.

thanks @nate-double-u !
I am fine with the changes.
@christian-kreuzberger-dtx any objections?

Thanks everyone!


Updating roadmap with latest graphic

Description

Updating our roadmap with the release schedule graphic that we showed in this morning's community call.

/azp run


The "Tip of the day" text is more than the available area and there's no way to scroll

Description
On 10/26, when I opened DBeaver, I was reading the Tip of the day and saw that the final visible line wrapped and the was at least one more line of text - I could see the tips on the top of tall characters.  There is no scroll bar, and I tried highlighting the area and pulled down while highlighting.  I could see that the next (hidden) row of text had gotten highlighted, but the text did not scroll, whihc is what I was hoping.

The visible text is:
In SQL Editor, you can call Content Assist (Ctrl+Space) after the asterisk in a query like "SELECT * FROM tableName" or like "INSERT INTO tableName (*)" (brackets are important), and the
Including the next row that I was to highlight, the complete text is:
In SQL Editor, you can call Content Assist (Ctrl+Space) after the asterisk in a query like "SELECT * FROM tableName" or like "INSERT INTO tableName (*)" (brackets are important), and the asterisk will be replaced with a list of all table columns.
DBeaver Version
Community Version <IP_ADDRESS>410201725
Operating System
Windows 11 Enterprise Version 23H2
Database and driver
Snowflake
Steps to reproduce

Start DBeaver, the "Tip of the day" should display.
If the Tip for "today" does not overflow past the end of the visible area, hit  or  to cycle through other Tips until one is found that does overflow

Additional context
No response

Thanks for the bug report


Ukrainian language support

Completed all functions for Ukrainian (currency fractions are still a bit of mess, but it looks like there are like that in the original too)

Hey, I've seen you do a lot of work in here, thanks a lot!
Sorry for the delay -- I was a bit inactive the last few days. I will take a look and answer everything you've been sending tomorrow. Once again, sorry if I wasn't active before, but I will answer everything! Thanks again.

It's ok, take your time. Just merge it so we can move on.

Hey, sorry for the extended delay, I did an initial review on your commits, can you take a look at them?
Thanks a lot for the contribution, it means a lot :)

Ok, I've closed the most issues. Still, several rustfmt::skip remain; and one more thing: I've added prefer() arguments description, but I think formatting is poor, and probably it should be split moved to specific languages. Any ideas?

Thank you for your hard work, it's very much appreciated!

Hey, one small thing: there also needs to be two lines added in README.md and src/lib.rs in the Supported languages section to add a note for Ukrainian!

Added to Supported languages.
Also rebased on current master, for cleaner merge.

Done

Thanks a lot Pavlo! that's very appreciated :)


[Enable Azure Monitor for VMs & VMss] Role assignment when using your own User Assigned Identity located in a different subscription

Describe the bug
The initiative policy "Enable Azure Monitor for Virtual Machine Scale Sets" should assign the needed role to the shared managed identity when the managed identity is in another subscription or management group than the role assignment scope.

Indeed its a common use case of the CAF that permits to create a shared managed identity for this use case.
When we assign the role manually the EPAC removes it because its not in its definition.

To Reproduce
We can use a share managed identity through the following parameters of the sub policy "[Preview]: Assign Built-In User-Assigned Managed Identity to Virtual Machine Scale Sets"

bringYourOwnUserAssignedManagedIdentity: true
restrictBringYourOwnUserAssignedIdentityToSubscription: false
userAssignedIdentityResourceId:

Expected behavior
Assign the share managed identity to VM and VMss.
Screenshots

EPAC Version
10.4.2
10.5.0

Fixed in v10.5.1

Apologies for the delay - but EPAC doesn't manage permission assignments for user assigned managed identities. In fact looking at the ARM based deployment for ALZ they don't assign permissions for the UAMI in there either.


Request: Implement more of the color schemes from the Viridis color palettes

I adore makie, but I  feel that the available deafult colormaps are quite limited. In particular the viridis colormaps all look fantastic, and while the default has found its way in to makie, some others like magma and inferno would be much appreciated. Could someone direct me as to how I might do this or better yet add these to the default symbols?

You can check ColorSchemes.jl. Provides a collection of colorschemes and colormaps and is compatible with most plotting libraries.

Makie depends on PlotUtils, which has a very large range of good color schemes defined: https://docs.juliaplots.org/latest/colors/#colorschemes
Would be an easy PR to have Makie use those color schemes.

Resolved by JuliaPlots/AbstractPlotting.jl#96!


Add search to ASP.NET Core Razor Pages does not work

[I have implemented the tutorial up till part 6 and the add search does not work. The tutorial is based on ASP .NET 5.0 and i am using VS2019. I have searched and implemented suggestions from several fora but no luck. I will appreciate your suggestions.
The Index.cshtml.cs file contents is pasted below
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using RazorPagesMovie.Data;
using RazorPagesMovie.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace RazorPagesMovie.Pages.Movies
{
public class IndexModel : PageModel
{
private readonly RazorPagesMovie.Data.RazorPagesMovieContext _context;
    public IndexModel(RazorPagesMovie.Data.RazorPagesMovieContext context)
    {
        _context = context;
    }

    public IList<Movie> Movie { get;set; }

    // Add search
    [BindProperty(SupportsGet = true)]
    public string SearchString { get; set; }
    public SelectList Genres { get; set; }
    [BindProperty(SupportsGet = true)]
    public string MovieGenre { get; set; }

    public async Task OnGetAsync()
    {
        // Use LINQ to get list of genres.
        IQueryable<string> genreQuery = from m in _context.Movie
                                        orderby m.Genre
                                        select m.Genre;

        // Original. Search did not work
        var movies = from m in _context.Movie
                     select m;

        // Reported solutions.
        // source https://stackoverflow.com/questions/64746676/error-on-razor-page-when-searching-for-a-string

        // from stackoverflow. Still did not work

        //var movies = from m in _context.Movie
        //             where string.IsNullOrEmpty(SearchString) || m.Title.Contains(SearchString)
        //             select m;
        //////////////////////////////////////////////////////
        ///

        if (!string.IsNullOrEmpty(SearchString))
        {
            movies = movies.Where(s => s.Title.Contains(SearchString));
        }

        Genres = new SelectList(await genreQuery.Distinct().ToListAsync());

        Movie = await _context.Movie.ToListAsync();

    }
}

}
]

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

ID: cc54dbf8-e6fe-a212-b2cd-c015a6ba5439
Version Independent ID: b96b0b44-3e3a-a6c2-6b2b-c7bab4b78f0d
Content: Part 6, add search
Content Source: aspnetcore/tutorials/razor-pages/search.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @wadepickett
Microsoft Alias: wpickett

It works. Why aren't you using .NET 7? You might want to look at the completed sample.


[Interpeter] BUG: called llvm_struct_type for (Log::ShortColorFormat | TestFormat) (Exception)

I'm playing around with I3oris/ic on my largest project to see what edge cases I can run into. ic is a bit ahead of crystal's interpreter as it has the change from https://github.com/crystal-lang/crystal/issues/12061 merged already, and this bug only appears after that one is fixed. Thankfully, this bug comes from one of my shards I've split out, so I have a simple reproducer below.
Stack trace:
BUG: called llvm_struct_type for (Log::ShortColorFormat | TestFormat) (Exception)
  from lib/ic/share/crystal-ic/src/compiler/crystal/codegen/llvm_typer.cr:365:7 in 'create_llvm_struct_type'
  from lib/ic/share/crystal-ic/src/compiler/crystal/codegen/llvm_typer.cr:263:33 in 'llvm_struct_type'
  from lib/ic/share/crystal-ic/src/compiler/crystal/codegen/llvm_typer.cr:257:5 in 'llvm_struct_type'
  from lib/ic/share/crystal-ic/src/compiler/crystal/codegen/codegen.cr:99:26 in 'instance_size_of'
  from lib/ic/share/crystal-ic/src/compiler/crystal/interpreter/context.cr:324:11 in 'aligned_instance_sizeof_type'
  from lib/ic/share/crystal-ic/src/compiler/crystal/interpreter/compiler.cr:3210:5 in 'aligned_instance_sizeof_type'
  from lib/ic/share/crystal-ic/src/compiler/crystal/interpreter/primitives.cr:134:20 in 'visit_primitive'
  from lib/ic/share/crystal-ic/src/compiler/crystal/interpreter/primitives.cr:9:11 in 'visit_primitive'
[snipped]

Reproducing:
> git clone https://github.com/Vici37/cr-color-logging
> cd cr-color-logging
> shards install
> ./bin/ic spec/color-logging_spec.cr

The shard is largely a reproduction of ShortFormat but with color configuration support added (I thought it looked a little bland).

@I3oris new issue I ran into with ic

Reduced!:
require "log"

abstract struct Parent
  extend Log::Formatter

  def self.format(entry, io) : Nil
    new
  end
end

struct Child1 < Parent
end

struct Child2 < Parent
end

But it could surely be reduced more by going through log.
self.format is an abstract method defined by Log::Formater.
The bug doesn't happen if struct is replaced by class, It doesn't happen if format is defined in both Child classes instead of Parent.
Hope this help :)

After unfolding the log API I could reduce more:
module Formatter
end

abstract struct Parent
  extend Formatter

  def self.format
    new
  end
end

struct Child1 < Parent
end

struct Child2 < Parent
end

class Backend
  def initialize(@formatter : Formatter = Child1)
  end

  def write
    @formatter.format
  end
end

Backend.new.write

It seems when calling @formatter.format it tries to instantiate new on Parent because it includes Formatter, but Parent is abstract. However it work well with normal crystal run.

In fact, it's weird that is def initialize(@formatter : Formatter = Child1).
def initialize(@formatter : Formatter.class = Child1) sound more logical to me. but it doesn't compile:
Error: can't restrict Child1.class to Formatter.class

However that was the equivalent of what is in the log API. Maybe a bug here ?, or it's a property of extend keyword?
https://github.com/crystal-lang/crystal/blob/b7377c0419ae5c1ce91e8298f075b3ff15636c54/src/log/io_backend.cr#L12-L14

I looked into it a bit. It's because we are missing handling virtual struct types in the interpreter. I'll probably fix it later this week.


An error appears when trying to run the class or the test but when running it from maven test it is working fine

Describe the bug
A clear and concise description of what the bug is.
I am just opening a mobile app using the last version of shaft engine 7.2.20230408 but when trying to run the class or the test find this error but when running it from maven test it is working okay , open the app and generating the two reports

Link to SHAFT_Engine Console logs
**Exception in thread "main" org.testng.TestNGException:
Cannot load class from file: io.github.shafthq.shaft.listeners.TestNGListener
at org.testng.internal.ClassHelper.fileToClass(ClassHelper.java:301)
at org.testng.TestNG.configure(TestNG.java:1513)
at com.intellij.rt.testng.IDEARemoteTestNG.configure(IDEARemoteTestNG.java:33)
at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:108)
**
Create a GIST which is a paste of your full console logs, and link it here.
Do NOT paste your full console logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include console logs!
Link to SHAFT_Engine Extent Report HTML
Create a GIST which is a paste of your full extent report .html file, and link it here.
Environment

SHAFT_Engine version that exhibits the issue (Note: We support only the latest release): 7.2.20230408
Last SHAFT_Engine version that did not exhibit the issue (if applicable):
Desktop OS: [e.g. iOS] Android
Desktop Browser (if applicable): [e.g. chrome, safari] NA
Desktop Browser Version (if applicable): [e.g. 22] NA
Mobile Device Name (if applicable): [e.g. iPhone6] Android Emulator
Mobile Device OS (if applicable): [e.g. iOS8.1] 11.0
Mobile Device Browser or Native App:  Hybrid
Mobile Device Browser (if applicable): [e.g. chrome, safari]
Mobile Device Browser Version (if applicable): [e.g. 22]

To Reproduce
Steps to reproduce the behavior:

Go to '...' just set the capabilities "mobile capabilities, Execution capabilities"

The code
public class RegistrationTest{
private SHAFT.GUI.WebDriver driver;
RegistrationPage registrationPage;
@Test
public void test(){
    System.out.print("test");
}

@BeforeMethod
public void initBeforeTest(){
System.setProperty("mobile_app", System.getProperty("testDataFolderPath")+"xxx.apk");
driver = new SHAFT.GUI.WebDriver();
registrationPage = new RegistrationPage(driver);
}
@AfterMethod
public void closeApp(){
DriverFactory.closeAllDrivers();
}
Expected behavior
When running the class or the test the mobile app is opened in the simulator
Actual behavior:
The above error is displayed in the console and no running happened, and the success running happened when run from maven test only and generate the two reports
Screenshots
If applicable, add screenshots, gifs, or video recordings to help explain the issue you're facing.
Additional context
Add any other relevant context about the problem here.

Please note that the name of the listener class has been reverted back to its original value. So it's no longer io.github.shafthq.shaft.listeners.TestNGListener
You can find the correct name in your pom.xml and on the readme.md footer of our getting started guide.

@MohabMohie  working fine now after changing the listener , Thanks