[1.1] pairing fail (Error 0x00000032:timeout) with chip-tool pairing ble-thread command

Reproduction steps

pairing a matter end device to the OTBR
issue command: sudo ./chip-tool pairing ble-thread 1301
hex:0e080000000000000000000300000b35060004001fffe00208dead00beef00cafe0708fddead00
beef0000051012d73fd1db535e043647e2371714df1a030a4f70656e5468726561640102d0360410c6
ca22b09c62d22718bb3c05b32926ae0c0402a0f7f8 20202021 3840
I receive a fail as attach
otbr_fail_log.txt

Bug prevalence
when it happen, it will keep happen
GitHub hash of the SDK that was being used
2023.03
Platform
raspi
Platform Version(s)
No response
Type
Core SDK Interopability Issue
Anything else?
No response

As per the logs, OTBR failed at "ThreadNetworkEnable" commissioning stage.
You should confirm that the thread network is formed and active on the border router side using "ot-ctl state" command.
You should check that the openthread dataset credentials on border router side is the same as the openthread dataset credentials given as argument to chip-tool while commissioning end-device.
You can display openthread dataset value by running command "ot-ctl dataset active -x" at thread border router side and give this value to the chip-tool as dataset value argument.
Having same network configuration settings should resolve the issue.

Hi I have the same issue @gokul-bhalodiya-7,
My RPI running OTBR returns sudo ot-ctl state leader. My other Thread/Matter device returns "otcli state" with "child" and sometimes "router". I made sure that the dataset active -x hex value is the same for the OTBR as the other Thread/Matter device, using dataset active -x on one device and setting it on the other device using dataset set active [HEX].
For me it fails here:
[1692344892.013863][2164:2166] CHIP:CTL: Error on commissioning step 'ThreadNetworkSetup': 'src/controller/CHIPDeviceController.cpp:2268: CHIP Error 0x000000AC: Internal error'
[1692344892.013919][2164:2166] CHIP:CTL: Failed to perform commissioning step 21
[1692344892.013984][2164:2166] CHIP:CTL: Going from commissioning step 'ThreadNetworkSetup' with lastErr = 'src/controller/CHIPDeviceController.cpp:2268: CHIP Error 0x000000AC: Internal error' -> 'Cleanup'
[1692344892.014061][2164:2166] CHIP:CTL: Performing next commissioning step 'Cleanup' with completion status = 'src/controller/CHIPDeviceController.cpp:2268: CHIP Error 0x000000AC: Internal error'
[1692344892.014122][2164:2166] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
[1692344892.014195][2164:2166] CHIP:TOO: Device commissioning Failure: src/controller/CHIPDeviceController.cpp:2268: CHIP Error 0x000000AC: Internal error

And finally at the end with:
[1692344946.892759][2181:2181] CHIP:TOO: Run command failure: src/platform/Linux/bluez/ChipDeviceScanner.cpp:173: CHIP Error 0x00000032: Timeout

I made sure the device ble's adv is enabled. I can confirm that part works, because when I disable it I get immediately a different error.

It looks like that matter controller is not able to connect to matter end-device in the thread network so after that it gives timeout error.
You can try the below mentioned 2 scenarios to debug what's the problem:

Try pairing your matter controller with another matter end-device having thread support.
If you have any thread device which has the access to the OpenThread CLI then give thread credentials of the Controller to this end-device using the OpenThread CLI and debug whether the end-device is able to join the thread network or not.


use relative imports

This is another attempt at re-introducing relative imports.... We'll see how this goes...

@norlandrhagen, i'm curious... is it safe to assume the passing test are a positive sign that everything is working fine? :)

Hopefully haha! Maybe we can run a small test flow from this PR to see if the rel imports break it.


fix enter shell for conda envs

Hi,
This change fixes hatch shell for conda envs.
Code added is very similar to code used in hatch for python virtual envs.
Only ( bash, zsh) support added. Other shells will raise a NotImplementedError.
Functionality is verified manually only on macos X zsh, bash. No tests added.
Code is formatted ( hatch env run -e lint fmt )
Thanks,
Harel

Fix applied. thank you @philippjfr !

@OldGrumpyViking Is CI not triggered automatically for PRs in this repo ? I don't recall seeing any checks running when creating this PR.

Some security setting it seems... I have to approve the pipeline to run as you are not authorised to start the pipeline.

sorry. ran hatch run lint:fmt to fix, and hatch run lint:all to verify. ci should pass now.


[Add-ins] (on send) Update list of supported platforms (#556)

Minor edits

Docs Build status updates of commit a2696ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/outlook-on-send-addins.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


fix: use 644 instead of 755 for the configuration file

Summary
ArchiveBox attempted to create configuration files 'ArchiveBox.conf'
which had execute permissions '+x' for everyone, which didnt seem safe
which seems to introduce security vulnerabilities.
Related issues
None
Changes these areas

[ ] Bugfixes
[x] Feature behavior
[ ] Command line interface
[x] Configuration options
[ ] Internal architecture
[x] Snapshot data layout on disk

Fixed in 8230f88 will be out with v0.6.3


Resources Location differ from the yaml and the az command

In the yaml file the location is specified as westus but in the az command is eastus. Is that correct? When is each used? Shouldn't they be the same?

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

ID: 9ed58f2c-446c-b500-122f-407628a8eb17
Version Independent ID: bce3f5a3-45d8-6b93-522e-a9af298068f5
Content: Enable SSL with sidecar container - Azure Container Instances
Content Source: articles/container-instances/container-instances-container-group-ssl.md
Service: container-instances
GitHub Login: @dlepow
Microsoft Alias: danlep

Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

I have created a PR with the update, changes will be live shortly.
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Define "partition" in the context of availability group lease health check timeout

[Enter feedback here]
Define 'partition'. There are many, many system's definitions for partition. Which one is used here? Do you mean all the systems in an IP range? The latter half of the paragraph is not understandable and only guessable without an accurate definition.

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

ID: bb8705fa-b6ec-b933-a355-5de9eacc807f
Version Independent ID: e6cd791d-b0f4-663d-5d07-b2850784cf37
Content: Availability group lease health check timeout - SQL Server Always On
Content Source: docs/database-engine/availability-groups/windows/availability-group-lease-healthcheck-timeout.md
Product: sql
Technology: availability-groups
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@jgrx -- thank you for your feedback and questions.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@MashaMSFT -- please look into this issue.

@jgrx Thank you for your patience with this issue. The term "partition" means "cluster partition". The product group responded with the following information.

Nodes of a WSFC cluster forms more than 1 groups or partitions due to cross-node communication failures. Nodes in each partition can send heartbeats to other nodes in the same partition, but not to nodes in other partition. Please check the related WSFC doc written by the WSFC PM, Bob Hindman, Understanding Quorum in a Failover Cluster - Microsoft Community Hub. The “partition” term is used there too.


Example on how to create lists

Couldn't get this to work with the md! macro. It would be nice to have an example included in client on how to achieve  that.

This is what I would be aiming for:

Right now I am doing SlackSelectionBlocks with \n and \t formatting, which doesn't feel great but does the job.

Well, this is not the question to the library, more like to Slack:
https://api.slack.com/reference/surfaces/formatting#block-formatting
If you look at their own example there you will see the same:
https://app.slack.com/block-kit-builder/T03CH2V42#{"blocks"%3A[  {   "type"%3A "section"%2C   "text"%3A {    "type"%3A "mrkdwn"%2C    "text"%3A "• Detective Chimp\n• Bouncing Boy\n• Aqualad"   }  } ]}
I'm aware that they also have undocumented rich text blocks nowadays, but since they aren't documented they are not supported by the library as well  (if you brave enough to there is SlackBlock::RichText() with serde_json::Value to test it :)

Crazy they do the same hacky bits. Thanks for linking that, I was just interested if there was any better way. I'll close this as I am not interested in looking into undocumented things.


docs: fix minor typo

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[x] Docs
[ ] Underlying tools
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

Other information:

Hi there, today when I read vue-cli documents, I found a little typo. I think this PR could help improve our great Vuejs project a little. Sorry for the bothering if this is not necessary.
Thanks in advance,

Hi there, today when I read vue-cli documents, I found a little typo. I think this PR could help improve our great Vuejs project a little. Sorry for the bothering if this is not necessary.
Thanks in advance,

Thanks much for the merging, @sodatea. Btw, VueJS is really great!


Enumeration Related Research

Search about enumeration and json dictionary compatibilities.

Data Field Types are now enum.
Need Deep Dive Search for decoding the JSON Enum to actual one


python310Packages.mailchecker: 4.1.13 -> 4.1.14

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.mailchecker is: "Module for temporary (disposable/throwaway) email detection"
meta.homepage for python310Packages.mailchecker is: "https://github.com/FGRibreau/mailchecker"
meta.changelog for python310Packages.mailchecker is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.1.14 with grep in /nix/store/sr8ix2gjhb1b80vmvqadm2na65ql8az0-python3.10-mailchecker-4.1.14

found 4.1.14 in filename of file in /nix/store/sr8ix2gjhb1b80vmvqadm2na65ql8az0-python3.10-mailchecker-4.1.14

Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
6 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
dvc
dvc-with-remotes
python310Packages.mailchecker
python310Packages.python-benedict
python39Packages.mailchecker
python39Packages.python-benedict

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sr8ix2gjhb1b80vmvqadm2na65ql8az0-python3.10-mailchecker-4.1.14 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.mailchecker https://github.com/r-ryantm/nixpkgs/archive/26264406a1e1fb438103904484e2a065d64eced4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sr8ix2gjhb1b80vmvqadm2na65ql8az0-python3.10-mailchecker-4.1.14
ls -la /nix/store/sr8ix2gjhb1b80vmvqadm2na65ql8az0-python3.10-mailchecker-4.1.14/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

dvc
dvc-with-remotes

4 packages built:

python310Packages.mailchecker
python310Packages.python-benedict
python39Packages.mailchecker
python39Packages.python-benedict

Maintainer pings
cc @fabaff for testing.

Pypi is on version 4.1.15


invalid member on null: 'colorTag'

Again a error with the colorTag, but it only occures on web. At the time web is only enabled in #254.
https://github.com/openfoodfacts/smooth-app/blob/master/packages/smooth_app/lib/main.dart#L87
@monsieurtanuki could you have a look on it.
The following JSNoSuchMethodError was thrown building Consumer<ThemeProvider>(dirty, dependencies: [_InheritedProviderScope<ThemeProvider>]):
NoSuchMethodError: invalid member on null: 'colorTag'

The relevant error-causing widget was:
  Consumer<ThemeProvider> file:///D:/111Programming/Flutter/Projects/smooth_app/master/smooth-app/packages/smooth_app/lib/main.dart:87:20
When the exception was thrown, this was the stack:
packages/smooth_app/main.dart 99:36                                                                              <fn>
packages/provider/src/consumer.dart 180:19                                                                       buildWithChild
packages/nested/nested.dart 259:41                                                                               build
packages/flutter/src/widgets/framework.dart 4569:28                                                              build
packages/nested/nested.dart 279:18                                                                               build
...

It probably has not to do with provider directly: https://github.com/rrousselGit/provider/issues/503.

Looks very similar to #233, doesn't it?

@M123-dev @monsieurtanuki changes on 233: https://github.com/openfoodfacts/smooth-app/commit/a172954ab089c1cf86d17db9d9611f932de63877

Indeed it looks the same, but the error occured even before #233, as far as I can tell, every plugin supports which  to do with the themes support web, any an idea what else it could be.

100% unrelated: @teolemon I saw you today on "13h de France 2" about chocolates.
More related: I'm working on this issue.

That was quick:

this is similar to #233, because the management of exceptions in flutter is a bit disconcerting - something crashed in main._init, which prevented (here and in #233) the rest of the code to be played, including setting ThemeProvider (therefore null)
the reason of the crash is that sqflite does NOT work on web - which was not a problem when we chose sqflite because web was not a relevant enough possibility

The question is now: is the web version important enough for smoothie that we need to find an alternate database system? Or should we ignore the web version?

hey @monsieurtanuki probably not worth the trouble at this point. This was :

[ ] to see how far we could go in deploying for web
[ ] with the potential to help as a base for design discussions

but that can very well done using the mobile builds

also, they are considering adding support, so we could get it "for free" in due time.

I closed the web release for now e4bcd02 (#259), thanks for your research @monsieurtanuki.
I would also say, we keep an eye on the development of sqflite and if web is supported or at least tolerated we will try again.


Update llvm-project to llvm/llvm-project@af20aff35ec3

LLVM Commit: af20aff35ec3
StableHLO Commit: 54dafb1c41

FYI- @AlexandreEichenberger I upgraded to the latest version of LLVM/ StableHLO. So we should be up to speed now :)

Fantastic. I think the old commit string shows up in a few more places, do you mind updating it there too

@AlexandreEichenberger It is updated :)

Jenkins Linux amd64 Build #16085 [push] Update llvm-project to l... started at 09:25

Jenkins Linux ppc64le Build #15114 [push] Update llvm-project to l... started at 10:41

Jenkins Linux s390x Build #16086 [push] Update llvm-project to l... passed after 2 hr 57 min

Jenkins Linux amd64 Build #16085 [push] Update llvm-project to l... passed after 2 hr 58 min

Jenkins Linux ppc64le Build #15114 [push] Update llvm-project to l... passed after 4 hr 9 min


When restart code is hit in space explorer, the finish code is shown with a double banner

Describe the bug
In the "unlocked" version of skills map, whenever I click on a tutorial and chose restart it takes me to the editor with all of the code completed and two top banners. In addition, the browser back button does not work, only the MakeCode back button will take me to the previous screen of the skills map page.
To Reproduce
Steps to reproduce the behavior:

Have all tutorials unlocked with ?debug2ompleted=1
Click on any tutorial
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

Windows
Edge
87.0.664.55

likely duplicate of https://github.com/microsoft/pxt-arcade/issues/2649

closing as duplicate


Fix support for additionalProperties

looks like the same as #266

Ah true. It looks like this project is somewhat abandoned though :(

Thanks so much! Sorry for the delay on this. I was maintaining this under the Manifold org, then I left Manifold and lost access. I’m going through all the PRs & issues now and will publish a release soon. Thanks for your patience. 🙏

can this be cut into a release please?

I believe it already has been?


A repository to rule all repositories

Probably a  bad title..
As a beginner in this eco-system this project currently has 160 repositories.  As you can imagine that is a bit overwhelming for someone coming in new.
I've read the specifications and have a good idea of the lay of the land as it relates to the different components.  What I don't have a good understanding is the implementation of those various components in the eco system as a whole.
Could I suggest creating a repository that is maybe something as simple as General Implementation,  where it encompasses all the steps to:

Bring up a DID services, with a local driver ?
Bring up a Web Node service, that provides a protected method hello-world
Create a DID for Bob
Create a DID for Alice
Request the hello-world method/resource from Alice to Bob
Authorize
Receive resource from from Bob
Display resource

A project that contains maybe docker images for all of this would be great along with a test that implements it.
I know the project not might be there right now, but if we could agree on the steps that would be a minimal viable eco-system I think it would be helpful not only to set a goal, but for new comers coming in that want to get up to speed.
If there is already something like this can you point me into the direction, sorry for posting here, but I really had no where to go to get a lay of the land from an implementation perspective as a whole.
I would be happy to put the docker compose together, and the test script that would exercise all these services and learn along the way.
Cheers,
Marty

Great Idea, this is likely a larger DIF initiative not only related to the DWN spec.
Individual member organizations are doing exactly this, TBD being an example, providing an end to end SDK.


IconFactory.PathIcons.STAR doesn't exists anymore

Bug report
Describe the bug
IconFactory.PathIcons.STAR doesn't exists anymore and seems to not be replaced by any other icon (code here).
This icon was used to show rating stars from OMERO when the user right clicks on an image from the OMERO browser and click on more info (line that does not compile anymore is here). If the image contains a rating on OMERO, then it throws an error and the menu does not appear.
To Reproduce
Steps to reproduce the behavior:

Install OMERO extension
Browse an image on OMERO that contain a rating start (at least one)
Right click on the image in the browser and select more info.
Bug appears

Expected behavior
Having the menu appears with star icons.
Is there a way to replace this line by something else (other icons stored somewhere else) ?
Desktop (please complete the following information):

OS: Windows 11
QuPath Version: 0.4.0

I've transferred this issue, since the icon was intentionally removed from QuPath (I presume...) - but a replacement needs to be added here.


Update libpng to v1.6.34 for cmake build

The libpng has been updated from v1.2.53 to v1.6.34 in PR 18299.
However, the cmake version of libpng has not been updated yet. This fix updates the libpng for cmake to v1.6.34.
The fix is tested with cmake on linux:
tensorflow/tools/ci_build/ci_build.sh CMAKE tensorflow/tools/ci_build/builds/cmake.sh

Signed-off-by: Yong Tang<EMAIL_ADDRESS>

I'm a bit skeptical since the CMake build fails with this, but it is not a known failure. Can you check on this?

Thanks @martinwicke. The error log is:
ImportError: No module named 'google'

which looks like to be unrelated. I rebased and pushed the PR. All tests passes now. I think this is a transient error. Please take a look.

Thanks. Yeah, some flake. Thanks for checking!


rake db:create not working

gems/microscope-1.0.1/lib/microscope.rb : acts_as_microscope
 return unless table_exists? condition effect  rake db:create
Could you please fix it?

Hi Vyacheslav,
Could you please provide a step-by-step plan on how to reproduce the issue? That way we’ll know what the exact problem and will be much confident that we’ll be fixin the right thing 😄
Thank you!

Hi Rémi!)
Thank you for so quick response.
Steps:

Add microscope gem to rails project
Run bundle install
Add acts_as_microscope only: [:approved] for model class with aprroved boolean field
Run rake db:drop
Run rake db:create
ER: db is created
AR: error - rails aborted!
ActiveRecord::NoDatabaseError: FATAL:  database "development_db" does not exist

Hi Rémi!)
Any updates?

Hi Vyacheslav,
My Ruby setup is not quite as ready as I thought. I’m working on how to reproduce the bug in a test case.
I’ll keep you posted here!

Hi Rémi!)
Thank you!

@Miroshni4enko #39 should fix the issue! 🎉 I’ll release microscope-1.1.0 after merging it.


Unable to import component: No module named 'pymodbus.client.sync'  after upgrade to 2022.10.3 and/or OS 9.2

recently I started to see error msgs after the reboot. Usually after one or two try the error disapper and working fine. Today I'm not able to make it works.
Looks like a module is missing. Could be one of recent updates?
2022-10-14 08:22:57.839 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration abb_powerone_pvi_sunspec: Unable to import component: No module named 'pymodbus.client.sync'

full log here:
2022-10-14 10:02:44.745 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component custom_components.abb_powerone_pvi_sunspec
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 703, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/abb_powerone_pvi_sunspec/init.py", line 9, in
from pymodbus.client.sync import ModbusTcpClient
File "/usr/local/lib/python3.10/site-packages/pymodbus/client/sync.py", line 166, in
class ModbusTcpClient(BaseModbusClient):
File "/usr/local/lib/python3.10/site-packages/pymodbus/client/sync.py", line 170, in ModbusTcpClient
def init(self, host='<IP_ADDRESS>', port=Defaults.Port,
AttributeError: type object 'Defaults' has no attribute 'Port'
2022-10-14 10:02:44.749 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration abb_powerone_pvi_sunspec: Unable to import component: Exception importing custom_components.abb_powerone_pvi_sunspec

looks like python disappeared?

reverted back to a snapshot with OS 9.0 and it worked.
It is something related to OS 9.2

Same issue after reboot with 9.0 Also.
seems related to 3.0.0 pymodbus recently updated
https://github.com/home-assistant/operating-system/issues/2188

seems related to 3.0.0 pymodbus recently updated

The component uses a pinned version of pymodbus, so the upgrade of pymodbus should not have effect.
{
  "domain": "abb_powerone_pvi_sunspec",
  "name": "ABB Power-One PVI SunSpec",
  "documentation": "https://github.com/alexdelprete/ha-abb-powerone-pvi-sunspec",
  "issue_tracker": "https://github.com/alexdelprete/ha-abb-powerone-pvi-sunspec/issues",
  "requirements": ["pymodbus==1.5.2"],
  "dependencies": [],
  "codeowners": ["@alexdelprete"],
  "iot_class": "local_polling",
  "config_flow": true,
  "version": "1.0"
}

Any advice on how to proceed ?
Have same issue in two integrations using same component.
The second one is:
https://github.com/wills106/homeassistant-solax-modbus/issues/154 https://github.com/wills106/homeassistant-solax-modbus/issues/154
Thanks
Claudio

On 14 Oct 2022, at 22:47, Alessandro Del Prete @.***> wrote:
seems related to 3.0.0 pymodbus recently updated
The component uses a pinned version of pymodbus, so the upgrade of pymodbus should not have effect.
{
"domain": "abb_powerone_pvi_sunspec",
"name": "ABB Power-One PVI SunSpec",
"documentation": "https://github.com/alexdelprete/ha-abb-powerone-pvi-sunspec",
"issue_tracker": "https://github.com/alexdelprete/ha-abb-powerone-pvi-sunspec/issues",
"requirements": ["pymodbus==1.5.2"],
"dependencies": [],
"codeowners": @.***"],
"iot_class": "local_polling",
"config_flow": true,
"version": "1.0"
}
—
Reply to this email directly, view it on GitHub https://github.com/alexdelprete/ha-abb-powerone-pvi-sunspec/issues/31#issuecomment-1279450002, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXK6MPQAXQZMBKYTI7C2QCDWDHBGTANCNFSM6AAAAAARE5ZI3I.
You are receiving this because you authored the thread.

Maybe I understood the problem:the solax integration doesn't use a pinned version of pymodbus, so this could probably install pymodbus 3.0, that is not compatible with my integration, and I think that is not compatible also with solax integration because 3.0 is a breaking change release.
Test this: uninstall both integrations and restart. then reinstall mine (ABB) and restart, check if it works. If it does, then the problem is the conflict on the pymodbus version requirement of the two integrations.

Don't understand why but it was a conflict with the Bluetooth usb key I recently added. Removing the key and the bluetooth integration is working consistently fine. At the moment I can live without it. My apologise for the confusion

after update to 2.1.0 issue appeared again on bot integration. I'm lost, I had to rollback to the previous snapshot. Before rolling back, I tried to remove everything form integration page and redownloading from hacs, ABB integration (2.1.0) was working fine, Solax integration refused to install for missing pymodbus.client.sync. I'll reopen the bug on Solax beacause it seems it have issue with pymodbus 3.0.0.

You have to tell other devs to update their components to latest pymodbus 3.0. That's what I did.

Confirmed. They just released a beta to address this issue and seems working fine. Thank you for the support


JAVA-1089: Set LWT made from BuiltStatements to non-idempotent.

I think that covers all the LWT possible I could think of.

Would this also apply to Delete#ifExists?

Not completely related, but we should also override isIdempotent() on SchemaStatement to always return false?  I don't think a DDL change would ever be considered idempotent.

Another unrelated,  shouldn't Batch consider it's inner statements in isIdempotent?  For example:
batch().add(update("foo").with(set("a", "b")).where(eq("a", "c")).ifExists());

the inner update statement is nonIdempotent but the batch is considered Idempotent.  It looks like BatchStatement doesn't do this either, I'll log a ticket.

Would this also apply to Delete#ifExists?
Good catch, in fact there's ifExists() and onlyIf() in Delete, that I forgot, thanks.

Summary of cases covered :
UPDATE .... IF EXISTS
UPDATE .... IF ....
DELETE .... IF EXISTS
DELETE .... IF ....
INSERT INTO .... IF NOT EXISTS

Not completely related, but we should also override isIdempotent() on SchemaStatement to always return false? I don't think a DDL change would ever be considered idempotent.

I think that's a good idea to be conservative on that point, however the inferred default idempotence is already to false, so these statements would still be considered as non-idempotent. I'll make the change, in case the default idempotence one day changes.

I think that's a good idea to be conservative on that point

:+1: on that!   PR looks good to me now :)

Summary of cases covered :
UPDATE .... IF EXISTS
UPDATE .... IF ....
DELETE .... IF EXISTS
DELETE .... IF ....
INSERT INTO .... IF NOT EXISTS

Summary of cases covered :
DELETE .... WHERE column OP FCALL()
UPDATE .... WHERE column OP FCALL()
DELETE list[1] FROM .... // non-idempotent because deletion of a list element
// LWT
UPDATE .... IF EXISTS
UPDATE .... IF ....
DELETE .... IF EXISTS
DELETE .... IF ....
INSERT INTO .... IF NOT EXISTS

@tolbertam I reverted the change for SchemaStatement, instead I created JAVA-1105, where we will be able to study more the situation.
And also because hard coding it like that by overriding the isIdempotent() method was making it impossible to change it afterward, since the method was always returning false. Where we would rather have the driver set it to false at the statement's creation, but still allowing users to override it explicitly if they want to, wdyt?
I.e. before we implement JAVA-1105, they could set idempotent to true if the DDL contains a IF NOT EXISTS.

That sounds sensible to me, i agree there really isn't any reason to rush on it for schema statements :+1:


Finished ProductDetailsClient Page, Needs Color Palette Picker

This should also test if pull requests are working

Well commited harry


Make StreamField mutable (issue #2876)

See #2876

Thanks @fabiommendes! Sorry for the delay in reviewing...
I think writing back to stream_data probably isn't the best approach here, given the need to handle the lazy and non-lazy cases. (Wrapping the value in a dict vs. a tuple isn't enough - the dict representation also needs to have the value in raw JSON-ish form, e.g. an ID rather than a Page for PageChooserBlock.) Instead, we should just build a StreamChild and write that to _bound_blocks - once an entry exists there, __getitem__ will use that one in preference to looking at stream_data.
In fact, this is probably a good opportunity to rename stream_data to make its purpose clearer: I'd suggest renaming it to _initial_data or _initial_raw_data depending whether the StreamValue is lazy or not:
def __init__(self, stream_block, stream_data, is_lazy=False, raw_text=None):
    self.is_lazy = is_lazy
    if is_lazy:
        self._initial_raw_data = stream_data
    else:
        self._initial_data = stream_data

Also, I think it would be better for __setitem__ to NOT accept the dict / JSON representation of value. While we need to treat the StreamChild and tuple representations as basically interchangeable (because there are situations where it's difficult or impossible to define a StreamChild, such as an initial parameter of a StreamField), the dict representation is a very different beast - you have to go through an explicit conversion step (to_python / get_prep_value) to retrieve it, and normally a developer would only encounter it if they were manipulating the JSON directly.

Now superseded by #6485.


Unable to delete release if the related git tag doesn't exist anymore

Gogs version (or commit ref):  <IP_ADDRESS>9
Git version: 2.13.0
Operating system: Ubuntu 16.04.2 LTS
Database:

[X] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Log gist (usually found in log/gogs.log): i couldn't find any relevant lines in the log

Description
I was unable to delete a drafted release after one of our developers deleted the remote tag (git push --delete origin sometag). Gogs refused to delete the release within the UI stating that an error occurred while attempting to delete said git tag.
...

我有類似的問題
在本地刪除Tag(<IP_ADDRESS>)，並遠程刪除gogs上的Tag(<IP_ADDRESS>)後，發佈介面中原本透過同Tag(<IP_ADDRESS>)發佈的版本會自動消失，再次建立並選擇Tag(<IP_ADDRESS>)時會出現，"已經存在使用相同標籤的發佈版本"，無法建立發佈


sqlite database engine

I factored all the filesystem read stuff into its own engine file and then referenced those methods from a common api file. I also added sqlite engine with interface to same common api. The methods get dispatched based on what your STORAGE_ENGINE env variable is set to. default is file which is vanilla agora. Not all the endpoints work yet but the old stuff doesn't break so might as well merge.
There is a schema file included to create your own sqlite database. I haven't written the importer yet for this schema but I've been putting test data in by hand to test results.
I also created https://github.com/flancian/agora-server/pull/78 which runs black python formatter. If you merge that PR first the diff on this one might be cleaner. If you choose to go that route it might conflict but I can always just rebase my branch off that merge commit so shouldn't be a problem regardless.

Thank you for this, this looks very promising! I like the approach of the independent implementations and STORAGE_ENGINE. Looking into merging manually as there's some conflicts but I expect this should work.

I can fix merge conflicts. I have lots of git merge experience. This is expected behavior. I can just rebase on top of your merge and should be fine. I'll post a new commit here soon

this can be merged

Thank you, I was meaning to do that but you beat me to it and it is much appreciated :)


[WebToolsE2E][Aspire] Reduce the browser window, drag the dividing line between elements, and then enlarge the browser. The format in the dashboard is incorrect.

REGRESSION INFO: Repro on Aspire 8.0.0-preview.1.23557.2 and 8.0.0-preview.2.23619.3
INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install VS 17.10.0 Preview 1.0 [34530.244.main]
Install 8.0.200 RTM SDK
Install Aspire Preview 3 latest build 8.0.0-preview.3.24080.1
Apply NuGet Feeds

REPRO STEPS

In the VS, create a new project > ASP.NET Core Web App (Razor Pages) > Next > .NET 8.0 > check "Enlist in .NET Aspire orchestration" > Create,
F5 to run the project
Click the browser's shrink button to shrink the browser, drag the dividing line between any elements, Then click the browser's magnify button to enlarge the browser

Notes:
Manually refresh the page and the page format returns to normal.
ACTUAL
The content format in Resources does not change after enlarging the browser window.

EXPECTED
The browser page format should be as shown below.

@kvenkatrajan I put this in preview 4 since it isn't a regression. Feel free to move it if you feel strongly about it.

The dashboard UI doesnt currently support responsive layout, that would be a much bigger change post v1. There is another similar item tracking this - #1740
Moving this if you dont have any immediate concerns here.

Closing as duplicate


nrows() of degenerate Matrix of Union{} is 0

julia> MLJBase.nrows(Matrix{Float64}(undef, 10,0))
10

julia> MLJBase.nrows(Matrix{Union{}}(undef, 10,0))
0

Of course, this isn't super practical, but for generic code, it's one more special case...

This seems to be the issue:
julia> using Tables
julia> MLJBase.nrows(Matrix{Union{}}(undef, 10,0)) |> Tables.istable
false

julia> Matrix{Union{}}(undef, 10,0) |> Tables.istable
true

Will be resolve by https://github.com/JuliaData/Tables.jl/pull/168


Moved UMD headers to types/ subfolder

Ticket
All related to https://github.com/tenstorrent/tt-metal/issues/13948
Problem description
Some api header files have been moved around in UMD repo.
UMD PR: https://github.com/tenstorrent/tt-umd/pull/357
What's changed

umd/device/tt_arch_type.h -> umd/device/types/arch.h
umd/device/tt_cluster_descriptor_types.h -> umd/device/types/cluster_descriptor_types.h
umd/device/xy_pair.h -> umd/device/types/xy_pair.h
get_arch_str -> tt::arch_to_str

Checklist

[ ] All post-commit tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224723517
[x] Blackhole post-commit tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224723937
[x] (Single-card) Model perf tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224724459
[ ] (Single-card) Device perf regressions : https://github.com/tenstorrent/tt-metal/actions/runs/12224725026
[x] (T3K) T3000 unit tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224725640
[ ] (T3K) T3000 demo tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224726199
[ ] (TG) TG unit tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224726548
[ ] (TG) TG demo tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224726936
[ ] (TGG) TGG unit tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224727791
[x] (TGG) TGG demo tests : https://github.com/tenstorrent/tt-metal/actions/runs/12224728493

Can you pick up UMD commit a497b9c0a37982be839ae44cd38b21ed089ae3da when you merge this?
I created a branch to bump UMD version to address https://github.com/tenstorrent/tt-metal/issues/15811 but the build fails because it needs this PR.


Default sub command

I am currently writing a cli/gui hybrid application with the use of sub commands.
Is there a way to implement sub-parsers in a way that marks one of them as default?
I am currently just adding the subcommand to the args via:
args = argv
    if len(args) == 1:
        args.append("gui")
    Parser(...).bind(...).run(args[:1]

But I would realy not add this to potential default sub - sub commands..

That's a good question. Intuitively I feel that sub-parsers with a default may not have sound semantics in general. Imagine some_command has two sub-commands / sub-parsers foo and bar. Now assume that the foo subparser takes one mandatory positional argument, and we make it the default sub-parser. This will result in an ambiguity that cannot be handled in general:
# regular call of subparser foo with positional
some_command foo some_positional_arg

# calling bar
some_command bar

# calling foo via default
some_command some_positional_arg

# but what is this -- is it the positional arg of foo or is it an attempt to call the other sub parser?
some_command bar

Have you tried if plain argparse can do something like that? I'd assume it errors when things get ambiguous.


Errors in Wheelnav.js, missing semikolon

Line 1990 and 3704 are semikolons missing.
There is also an problem on minifi with webpack to bundle it.
No funtion is exported.

Hi @MdmrBerlin
Thanks for missing semicolons, it fixed.
I don't use Webpack, so I cannot test your bundle issue.
However, the bundling process has been changed, maybe it works with Webpack now.


NPM build for RC

@deltakosh could I trouble you for an NPM build for the RC? Trying to use latest changes. (still can't get it working with a local copy/webpack due to directory structure)

no trouble at all. I'll do it now


Added first-pass at shields. Has shield bar, and shield stats that mi…

…rror health. Not hooked up to player settings dialog.

Possible implementation of shields. Could have recharge set to zero to be 'armor'


ModuleNotFoundError: No module named any of '_tomotopy_avx2', '_tomotopy_avx', '_tomotopy_sse2', '_tomotopy_none'

Hi,
I just discovert this package with seems great :).
I use Windows 10 / Anaconda / Jupyter, Installation with OK ( ! pip install tomotopy, tomotopy 0.10.2)
==> tomotopy in c:\users\a147701\appdata\local\continuum\anaconda3\lib\site-packages (0.10.2)
I wanted to test it as indicated in the github pag :
import tomotopy as tp
print(tp.isa) # prints 'avx2', 'avx', 'sse2' or 'none'

Results : ModuleNotFoundError: No module named any of '_tomotopy_avx2', '_tomotopy_avx', '_tomotopy_sse2', '_tomotopy_none'
So i can do nothing more ...
Do you have a solution ?
Thanks
Olivier.

RuntimeError                              Traceback (most recent call last)
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

RuntimeError                              Traceback (most recent call last)
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

RuntimeError                              Traceback (most recent call last)
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

ModuleNotFoundError                       Traceback (most recent call last)
 in
----> 1 import tomotopy as tp
2
3 #import tomotopy as tp
4 print(tp.isa) # prints 'avx2', 'avx', 'sse2' or 'none'
5
~\Z_Dev\NLP\Tomotopy\tomotopy_init_.py in
70 """
71
---> 72 from _tomotopy import *
73
74 import tomotopy.utils as utils
ModuleNotFoundError: No module named any of '_tomotopy_avx2', '_tomotopy_avx', '_tomotopy_sse2', '_tomotopy_none'

Hi @Olivier-Lakoue
I found that the current 0.10.2 version was built incompatible with the old version of numpy.
Could you try to upgrade your numpy?
pip install numpy --upgrade

Hi bab2min,
Thanks for your quick response.
after reinstalling numpy-1.20.1, it work !
import tomotopy as tp
print(tp.isa) # prints 'avx2', 'avx', 'sse2' or 'none'
Out : avx2
Normal that i just have 'avx2' ?
thanks, i'm gonna try your package, seems to have very nice features on it !!
Olivier.

The same issue occurred with numpy-1.19.4 and Python 3.8.2.
An update to numpy-1.20.1 solved the issue.
@bab2min Please update the requirements.txt
This project looks amazing! Thanks for your good work :smiley:

@jonaschn
Thank you for reporting.
In the next update I'll update the requriments.txt to fix the problem.

Hi bab2min,
So i make some tests with tomotopy and it's a very very usefull and robust tool for LDA, congratulations !
I'm a french developper and i would like to deploy LDA topic Modeling with corpus in french.
nltk have french data for dic & stop words so is it possible to uses it for french or we need other models ?
Thanks, regards.
Olivier.


Allow mobile phones to "share" photos to the app

The following would also be nice:

on mobile, being able to "share" an image/video to the app ("Web Share Target": https://www.chromestatus.com/feature/5662315307335680, https://github.com/WICG/web-share-target/issues/29)

Originally posted by @josephfrazier in https://github.com/josephfrazier/Reported-Web/issues/32#issuecomment-403223700

I just tried this on Android Chrome 78.0.3904.96 using https://wicg.github.io/web-share-target/demos/sharetarget.html as the target and https://web-share.glitch.me/ as the (web) source, and it worked. Also tested sharing from the Google Photos app to the web share target test app, and the url came through as the "text shared", so we might be able to find a way to make this work.

This came up again at https://reportedcab.slack.com/archives/C9VNM3DL4/p1663682137421179

An iOS extension that allows you to share photos from your Photos app directly to the Reported app instead of having to go into the app and go into the picker and find them again

Maybe we should take another look at the Android/Chrome progress on this, and see if iOS has an equivalent as well.


uTinyRipper

uTinyRipper couldn't scan any file help

uTinyRipper has been abandoned, but you can try my AssetRipper fork.

uTinyRipper has been abandoned, but you can try my AssetRipper fork.

but how to use it

It works pretty much the same as uTiny if you download a GUI build


增加ISSUE机器支持，对ISSUE进行管理

1. What version of Go and system type/arch are you using?

go1.18.4 windows/amd64
2. What version of GoFrame are you using?

2.1.2
3. Can this issue be re-produced with the latest release?
not bug
4. What did you do?

add issue bot script
5. What did you expect to see?
the issues would be closed automaticly
现在的未关闭的issue太多，我们需要一套机制来有效管理issue

脚本里没有配置token，所以默认的操作者为github-actions
如果想替换成管理者，只需要打开脚本里的token配置，并配置好相应变量即可


I'm getting the "illegal hardware instruction" error when I execute the "vox" executable

Expected behavior
To not get this error.
Describe the bug
When I run Vox, I'm getting the error in the title.
To Reproduce
Just trying to execute the "vox" executable results in an "illegal hardware instruction" error to be printed. I also tried to use the debug version of the built-in CI builds but it didn't showed anything more. It seems that the only thing that seems to output something more is when I run it with an unrecognized option. In that case, I also get the message that the option is unrecognized and then again, I get the "illegal hardware instruction" error.
Additional context

OS: Linux
f8849389256e58223b4c2afb10db9e1db8fea58d

Can you try these 2 versions?

https://github.com/MrSmith33/vox/actions/runs/2148059127
https://github.com/MrSmith33/vox/actions/runs/2149431175

Also, what is your CPU?

Also, what is your CPU?

Ryzen 5 2400G


Live Preview View Custom Component is not working

Link to reproduction
No response
Environment Info
Node.js v22.8.0

Binaries:
  Node: 22.8.0
  npm: 10.8.2
  Yarn: N/A
  pnpm: 9.4.0
Relevant Packages:
  payload: 3.0.0-beta.104
  next: 15.0.0-canary.104
  @payloadcms/db-mongodb: 3.0.0-beta.104
  @payloadcms/graphql: 3.0.0-beta.104
  @payloadcms/live-preview: 3.0.0-beta.104
  @payloadcms/next/utilities: 3.0.0-beta.104
  @payloadcms/plugin-cloud-storage: 3.0.0-beta.104
  @payloadcms/richtext-lexical: 3.0.0-beta.104
  @payloadcms/storage-s3: 3.0.0-beta.104
  @payloadcms/translations: 3.0.0-beta.104
  @payloadcms/ui/shared: 3.0.0-beta.104
  react: 19.0.0-rc-06d0b89e-20240801
  react-dom: 19.0.0-rc-06d0b89e-20240801
Operating System:
  Platform: linux
  Arch: x64
  Version: #44-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 13 13:35:26 UTC 2024
  Available memory (MB): 31817
  Available CPU cores: 8

Describe the Bug
We try and follow documentation at:
https://payloadcms.com/docs/beta/admin/views#document-views

livePreview	The LivePreview view is used to display the Live Preview interface. It is rendered within the "Live Preview" tab. More details.

But this is not working because of missing code which should handle it.
File: packages/next/src/views/Document/getViewsFromConfig.tsx - Lines 312-325
            case 'preview': {
              if (livePreviewEnabled) {
                DefaultView = {
                  Component: DefaultLivePreviewView,
                }
              }
              break
            }

            case 'versions': {
              if (!overrideDocPermissions && docPermissions?.readVersions?.permission) {
                CustomView = {
                  payloadComponent: getCustomViewByKey(views, 'versions'),
                }

The preview case is not handling the CustomView - aka:
CustomView = {
                  payloadComponent: getCustomViewByKey(views, 'livePreview'),
                }

Reproduction Steps
In payload.config.ts define next customization in one of the Collections:
components: {
      views: {
        edit: {
          default: {
            Component: '/components/views/CustomDefaultEditView',
          },
          livePreview: {
            Component: '/components/views/LivePreview/LivePreviewView'
          }
        },
      },
    }

Expected behavior is that customized live preview view will replace default live preview view , but we got the default.
Adapters and Plugins
No response

If needed I can post a PR , not a big change

pls fix it

PR is opened that addresses this issue.
https://github.com/payloadcms/payload/pull/8930

This is released as of beta 122 I believe


Correct path to tests/files/validate-ci.yml

After validate-ci.yml was moved from tests/validate-ci.yml to
tests/files/validate-ci.yml, all references except one were updated.
Now, tools/vagrant-run-ansible.sh points to the correct path.
Signed-off-by: Matt Langbehn<EMAIL_ADDRESS>

This has been superseded by #242.


Add color options for edges

@CarltonSemple Can you please elaborate?

@CarltonSemple ping

closing due to lack of info.


Create Service classes to encapsulate reusable API usage

Currently we repeat a lot of code for properly handling pgoapi responses. We should create Service classes to encapsulate this code and avoid repeating it in many places.

Yes please!

@gregtampa Why was this closed?


Building error caused by scripts\buildsystems\msbuild\applocal.ps1

Describe the bug
When I use an vcpkg package, my vs report an error:
  Write-Error: D:\vcpkg\scripts\buildsystems\msbuild\applocal.ps1:40

  Line |

    40 |          $mtx = getMutex($targetBinaryDir)

       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~

       | Cannot invoke method. Method invocation is supported only on core types in this language mode.

I think the script couldn't work well in "Constrained Language Mode" of powershell. What can I do to fix this problem?
Environment

OS: Windows
Compiler: clang 17.0.3

sorry, i just search getMutex, and dont find any related issue. When i search applocal, i found some issue. So i close this issue.


20H2 - Invoke-CMApplyDriverPackage.ps1

The available Invoke-CMApplyDriverPackage.ps1 doesn't support -TargetOSVersion newer than 2004. Is a newer one available somewhere or am I supposed to be using a different method?

https://github.com/MSEndpointMgr/ModernDriverManagement


Create download from Modal

Is it possible to have the modal and form return a file rather than a response? When the user clicks the submit button I would like the action to submit the data in the form, process and return the PDF to the browser?
Currently, processing the form and returning the PDF results in the data being streamed/returned not the file save dialog…
return \SilverStripe\Control\HTTPRequest::send_file ($pdf->Output("INV-" . $this->InvoiceNumber . ".pdf", 'I'),"INV-" . $this->InvoiceNumber . ".pdf", 'application/pdf');
This is the code I have tried to stimulate a download of the processed file

@mspacemedia well, it's not meant to work. the action submits the form, which should handle that (saving stuff etc) and save the record.
if you want to download a file, it's better to create a link (i would use a custom link from my cms-actions module). But that wouldn't be inside a modal
If you really need the download button to be inside the modal, the CmsInlineFormAction should work if you pass it in the fieldlist, but I've never tried :-)

closing this due to inactivity


[lit-next] Add support for willUpdate to lit-ssr

Description
UpdatingElement has a new lifecycle callback called willUpdate. This is to be used to compute derived state and is intended to be called during SSR. Note, tests should also cover use of UpdatingController.
It needs to be implemented and tested in lit-ssr.
Acceptance criteria
PR landed

Fixed via #1549.

Fixed via #1549.


Decryption of file missing last 10 characters from ending

Before star thanks for the code! very useful.
I having a problem with big texts, its always cutting the text in some point, I'm not sure if it is cutting the text in the encryption or in the decryption process.
Thanks!
Pablo

in c# library CryptLib.cs
Change Line Number about 120
byte[] plainText = _rcipher.CreateEncryptor().TransformFinalBlock(_enc.GetBytes(_inputText), 0,_inputText.Length);
To
byte[] plainText = _rcipher.CreateEncryptor().TransformFinalBlock(_enc.GetBytes(_inputText), 0, _enc.GetBytes(_inputText).Length);

Thanks  a lot


Slug strings

Instead of having the slugs such as /post/featured-post and /page/about we need to have them with out post and without page, like /featured-post and /about

Done 5f58134e9941c3d6ac53a6993e2b67e5127e30fd.


fix typo in dataset tutorial README

Hi guys,
Thanks for setting up this repo -- I need to make some changes to my legacy code to address the paper reviews and it is very nice to have a well documented tutorial of the up-to-date models.
I noticed a small typo (at least I assume it is), so here is a small pull request because of it.
Best,
Ivan

Ah, no, sorry, it is not a typo. I already forgot how everything works :-)


Fix ViewNode Crashes

Fix ViewNode Crashes
1- Fix lateinit property vertices on ViewNode init
kotlin.UninitializedPropertyAccessException: lateinit property vertices has not been initialized
at io.github.sceneview.geometries.Geometry.getVertices(Geometry.kt:67)
at io.github.sceneview.geometries.Geometry$BaseBuilder.build(Geometry.kt:156)
            at io.github.sceneview.nodes.ViewNode.<init>(ViewNode.kt:56)
            at io.github.sceneview.nodes.ViewNode.<init>(ViewNode.kt:76)
            at io.github.sceneview.nodes.ViewNode.<init>(ViewNode.kt:91)
            at io.github.sceneview.nodes.ViewNode.<init>(ViewNode.kt:86)

2- Fix Filament AABB can't be empty on geometry.boundingBox equal 0
E  Panic in build:312
reason: [entity=287] AABB can't be empty, unless culling is disabled and the object is not a shadow caster/receiver

Nice found. Thanks @NohaSamir.
Can you pull, apply the requested comment and check that everything is working?
Would you add a simple sample in the samples folder to test it?

After pulling the changes the app crashed again with error "lateinit property vertices has not been initialized"
I fixed the crash by adding this@BaseGeometryBuilder in the BaseGeometryBuilder builder

return build(vertexBuffer, indexBuffer).apply {
            setBufferVertices(engine<EMAIL_ADDRESS>            setBufferIndices(engine<EMAIL_ADDRESS>        }

Regarding the sample, I added the ViewNode sample to the Model Viewer example.
The issue right now that even after I fix the crash, There is a black layer appeared but the text view didn't appear as expected. Please can you check it?

https://github.com/SceneView/sceneview-android/assets/25500250/6737b76d-e3c5-44d0-afd9-7e1a697971ce


Do not assume S3

I successfully deployed logpaste to Google Cloud on Google Cloud Run and Google Cloud Storage
I had the change the code in the following way:

Remove these 3 lines from litestream.yml since litestream is able to pick up credentials from the environment directly
Update the logic to decide to use litestream

Then, I built with Cloud Build gcloud builds submit . --tag gcr.io/<PROJECT>/logpaste:latest
And deployed to Cloud Run: gcloud beta run deploy logpaste --image gcr.io/<PROJECT>/logpaste:latest --set-env-vars DB_REPLICA_URL=gcs://<BUCKET>/db --execution-environment gen2 --no-cpu-throttling
I can try to send a PR: we can enable litestream if DB_REPLICA_URL is set, but I'm not sure about the best way handle the translation of envvars to litestream.yml

Thanks for reporting this and sharing the Google Cloud Run steps, @steren!
I tried your instructions, and it's pretty cool running it on Cloud Run. I was able to deploy successfully after #134 without removing the LITESTREAM lines from litestream.yml. Do you run into issues with those lines?
I'm adding instructions for Cloud Run here: #135

Great to hear the changes to litestream.yml aren't needed, I guess they aren't picked up if the values are empty.
I left a med comments on the guide. Thanks for writing!


[AIRFLOW-3459] Move DagPickle to separate file

Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-3459
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

Move the DagPickle class to a separate file as part of the big models.py refactor (/airflow/models/dagpickle.py).
As a result of the refactoring, I also split off models.Base into a separate file.
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Only moved code around, nothing new.
Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.
All the public functions and the classes in the PR contain docstrings that explain what it does

Code Quality

[x] Passes flake8

Codecov Report

Merging #4374 into master will increase coverage by <.01%.
The diff coverage is 91.42%.

@@            Coverage Diff             @@
##           master    #4374      +/-   ##
==========================================
+ Coverage   78.14%   78.15%   +<.01%
==========================================
  Files         202      204       +2
  Lines       16486    16498      +12
==========================================
+ Hits        12883    12894      +11
- Misses       3603     3604       +1

Impacted Files
Coverage Δ

airflow/utils/db.py
32.53% <0%> (ø)
:arrow_up:

airflow/bin/cli.py
64.52% <100%> (+0.04%)
:arrow_up:

airflow/models/__init__.py
92.76% <100%> (-0.01%)
:arrow_down:

airflow/jobs.py
77.41% <100%> (+0.02%)
:arrow_up:

airflow/api/common/experimental/delete_dag.py
88% <100%> (ø)
:arrow_up:

airflow/models/base.py
85.71% <85.71%> (ø)

airflow/models/dagpickle.py
94.11% <94.11%> (ø)

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 c014324...1a3a92a. Read the comment docs.


SW-5347 Replace TSlint with ESlint

@constanzauanini are you able to make these errors come up in your IDE? I have tried with VSCode and Zed but can't seem to see the linting errors within the IDE.

@constanzauanini are you able to make these errors come up in your IDE? I have tried with VSCode and Zed but can't seem to see the linting errors within the IDE.

Yes, I will commit the vscode settings file I modified for making that work. I thought that maybe it was my VSCode not working, but looks like it's needed

🎉


Update to Motivator Facts & Categories

A little under 200 new facts between 4 new categories. I, personally, really enjoy the Motivator tool, so this is my contribution to it. I'm sure I'll be adding a ton more over time.

https://secure.phabricator.com/book/phabcontrib/article/contributing_code/#no-pull-requests

@avivey is there any active community? As I understand, you (some organization?) stop support and develop phabricator. So if @razmakaz or other people want to still develop phabricator than we can only fork this repo and do it by own?


[NEW FEATURE] Native support

Why
Luos_engine is made to work in a bare metal embedded environment. So, to get started with this technology, you will need at least a computer and a supported dev board.
Find a board and plug it can be a drop condition for a new user.
The Native support goal is to allow people to test the technology without needing anything other than a computer.
This issue will be considered closed when all the training tutorials will be completely compatible with a Native target.
Constraints
The way things work has to be as close as it is when we use it on embedded targets.
We will have to keep the Luos_engine code base clean. No exception on this part of the code will be allowed. The only place where we can do native-specific things is on HAL and service code.
Here is a Global representation of Luos_engine layers :

Creating a Luos engine Core HAL will be straightforward. We only need a systick and can ignore Flash management for now because the bootloader is not part of the training tutorial yet.
Today, there is only one available network called Robus. This network has been thought to work on a half-duplex serial network, so we will have to create a native HAL for Robus to emulate this serial connection through TCP/IP.
We will have to create a specific native HAL (in green) like that :

Luos define a node as an MCU on the network. In the native target, we could have multiple binaries running on the same CPU; each running binary will be considered a node.
Used protocols
Data exchange
Robus rely on multipoint broadcast communication. Every message sent will be received by every node on the network simultaneously (by neglecting propagation time). We will have to emulate this by broadcasting information to every service available on the network.
We will use the WebSocket protocol to send and receive information. WebSocket will allow us to be future-proof and to make things run on web interfaces.
Discovering
Luos also need to be able to detect other nodes on the network. Robus use PTP lines to manage and find the topology. Those PTP lies allow us to daisy chain the nodes and to know which node is connected to which node, giving us a deterministic topology of the system.
Because native target nodes are binary and not physical parts, we can't use any physical specificities to create a deterministic topology. We will have to find another way.
For now, Luos and Robus are still highly coupled, and the way Luos works could be a problem for this detection feature. We will probably have to do some dirty hacks to make it work. This is ok only if we keep it on services and HAL.
Mdns is massively used to declare a service on a TCP/IP network. We could use that.
Pear to Pear libraries seems to be able to discover pears and create a list sorted by "distance". This list could be deterministic... Those libs also deal with pear data exchange.
Development steps
Before a complete setup, we must be able to compile a minimal Luos_engine binary working on a native target.
Step 1:
So the first step will be to compile an example only using localhost (internal to the binary) communication.
This step has its issue with more details: #290
Step 2:
Then we can actually work on developing a native HAL able to communicate on the Robus HAL.
This step has its issue with more details: #291

Thoughts:

Pear to Pear libraries seems to be able to discover pears and create a list sorted by "distance". This list could be deterministic... Those libs also deal with pear data exchange.

First off: Its "Peer to Peer", a pear is this :D

In embedded Luos we have the following topology:

WebSockets are similiar to USART, it is used for (full) duplex point to point communication.
This is the lifecycle of a WebSocket connection

So because each Point to Point connection needs a session, there are two possible ways to solve this:
First option:

In this setup, each node (except the last node, n-1) would need to host a WebSocket Server, so that Bob can connect to  Alice's server, and they communicate between each other.
Bob then hosts a server, so Charlie can connect to it, so and so forth.
This would, imo, create a huge overhead that is not really needed.
Problems:

How does one node know, which node it wants to connect to? In embedded we have this sorted via the Layer 8, but how is it gonna happen here?
Each node except one needs to host a WebSocket server in order to achieve the PTP connection wanted.

While in embedded applications this is necessary due to USART not being a Bus, this is unnecessary overhead for each and every of the binaries/nodes in native.

Second option

All nodes have a library to interact with a WebSocket server, yet they don't have to become one.
There is a "master" Native WebSocket Server, and all nodes are his slaves.
The Master Server simply accepts all messages in all sessions (one session per node) and broadcasts them to all the other sessions (nodes).
Problems

How does one node know, which node it wants to connect to? In embedded we have this sorted via the Layer 8, but how is it gonna happen here?

We may just need to give up routing in this case. In order to be compatible with all current tools and diagnostics we could just fake a routing table via the Master Server, the first node to connect is the first, the second the second, the first is connected to the second, the second to the third et cetera. This would create the illusion that in order for Alice to talk to Charlie, its message gets passed over Bob, but in reality every node is one hop away from every node.
This could be implemented by the master server responding to the detect message with the fake routing table, and not broadcasting it further.

Each node needs to implement a library that can communicate with WebSocket servers.

We could solve this by adding a native HAL, which simply configures all the standard Luos API interfaces for sending and receiving to be made over our WebSocket server, and not via USART or similiar pins on STM32, ESP32, Arduino et cetera. I don't know (yet) if the HAL templates are able to do so.

We need to implement features like node_detected

I think we can successfully fool this into eating our fake routing table, since this apparently sets the node_detected state. Should be no problemo, I think 😄

Anyway, enough from me for today, I am heading off to my local hackerspace 🍻

First off: Its "Peer to Peer", a pear is this :D Thank you for this precision 🤣
In reality embedded Luos network looks like this :

It is using Half duplex serial and PTP are simple Gpio.
I agree with you, the second solution seems to be a good one. This is how ROS 1 is working.
In ROS2 they successfully remove the broker to have something closer to Luos without any master.
That's why I think Mdns could be good.
Mdns is able to create a list of a specific applications available on the network and gives an address to send them things. I think we can even directly use it to broadcast messages to every available service (But I think it's a hack of the tech).
Because of the point to point aspect of the WebSocket I'm not so sure we will be able to use it finally.
Perhaps @mjansson could help us...

I talked with @mjansson on Discord few days ago and he tell me :
mDNS in general is for querying specific information, like finding the IP address of a specific node after doing a DNS-SD discovery. Using mDNS to broadcast data is not really what it was intended for, altough I guess you could do it by appending additional TXT records to your annouce/answers.
I would suggest either using mDNS & DNS-SD to find all the instances on the subnet, then unicast packets to each node.  Or use multicast UDP packets on some other port to send packets to all hosts (which quickly turns bad if the number of nodes are large)

In our case we are using Serial on normal condition I don't think UDP could be a problem for now.

The thing is that WebSockets are not a virtual network. There is no topology like a network.
You have a server, and you have clients. Each client is isolated, and it talks to you in a single session, that session has 2 participants, server and client, and no more.
There is no need to use things like mDNS, or unicast packets to each node, it's like generating a list of users from a database, you don't need service discovery for that either, you just need to read the table and output it.
The WebSocket Master would not act as a master in traditional sense, like that it has higher privilege or priority, it is just a tool to make the intercom of the Nodes possible.
Also: The nodes don't have IP adresses allocated. They communicate via Port 80 (HTTP) or 443 (HTTPS), they don't have a ip adress for identification, the identification is handled in the session.


Cannot Build Android Bindings

What I'm trying to do
I am trying to build the Android bindings aar according to the guide (https://github.com/hyperledger/aries-framework-go/tree/main/cmd/aries-agent-mobile).
I installed go, gomobile, set up Android Studio and the two environment variables.
Expected result
When I run make bindings-android, I expect to get the aar built.
Actual result
The actual result is (after installing all go dependencies) this:
gomobile: go build -v -ldflags -s -w -buildmode=c-shared -o=/var/folders/pl/m3mpk9855fl98dh7780lplcmtfhfkt/T/gomobile-work-882664003/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind failed: exit status 2

make: *** [bindings-android] Error 1

Sample code / test case
Reproduce by:

Cloning repo.
Changing into cmd/aries-agent-mobile
Executing make bindings-android

Does anybody know if I am still missing something? Does it work on your end? Would it be possible for this repo to serve pre-built aar bindings for all new releases?

i got it working on the v0.1.6 branch, had the same failure on main branch

I've got the same error on tagged commit v0.1.6 ...

@mjolk Thank you, works for me as well on v0.1.6. So maybe we are only supposed to build the main release versions. I hope it will be fixed though in time for the next release.

just fyi i succeeded in building from main by limiting generated bindings to: ANDROID_TARGET = android/arm64,android/amd64

Indeed, this worked.
For people wondering how to set the Android target: look for the ANDROID_TARGET variable in the Makefile and replace it by the values posted above by @mjolk.


{MSGraph} Drop azure-graphrbac SDK in keyvault module

Description

As #22174 mentioned, keyvault module has dependency on azure-graphrbac SDK.
This PR migrates all the callings from
azure.graphrbac.GraphRbacManagementClient to
azure.cli.command_modules.role._graph_client.GraphClient
And all the related tests have been re-recorded
Testing Guide

Switch to each profile to run all profiles' tests:

latest: az cloud set -n AzureCloud --profile latest
2018-03-01-hybrid: az cloud set -n AzureCloud --profile 2018-03-01-hybrid
...

And run tests:
azdev test keyvault

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

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

MSGraph

A kind reminder. azdev test has a --profile argument which saves us from manually switching the profile:
> azdev test -h
...
    --profile          : Run automation against a specific profile. If omit, the tests will run
                         against current profile.


lit lighter flame is not animated

would be nice, as it looks kinda static and does not convince me that its a flame!! looks more like a tiny redstone torch to me

should be straight forward to implement, though at a widened scope due to it having to be implemented for each lighter skin individually

is it supposed to be animated?

creeper_ignited.png.mcmeta
{
  "animation": {
    "frametime": 1.5
  }
}

definitely is

the oil detector does animate as intended, look there for reference

might be due to the @Override render() in LighterItemRenderer.java overriding the otherwise used, default renderers render(), which takes item animations in account?
take another look at the original LighterItemRenderer.java that was cut down drastically in 4d7582b
also try and find what Renderer class gets used to render an item by default, when it is not overriden in ItemRegistry.java and see how it does its render() to confirm the statement above
alternatively, one could make a new item that uses one of the lighters lit json models as its proper model and leave the renderer as is and seeing whether the item is animated ingame

the flame actually animates perfectly when launching the game without sodium

toggling this option off within sodiums video settings makes the flame animation work, even with sodium installed

isnt there some way to "tell" sodium that the texture is visible? like embedding sodiums api into the project and declaring that the lighter is always visible somewhere? or at least for as long as its in the active hotbar slot


Roadmap for RaggedTensor?

Keras v3 does not work with ragged inputs. What is the roadmap for including this feature?
Per: #18414

Hi @swamidass ,
Thank you for the report. We currently do not have a clear roadmap for full ragged support. Part of the issue is that this is specific to Tensorflow.
Note that we do have partial support.

Feeding ragged tensors via a tf.data.Dataset, a generator or a PyDataset should generally work.
You do not need to specify ragged=true in the keras.Input.
A number of operations for which Tensorflow supports ragged should work (e.g. concatenate).

For instance:
import tensorflow as tf
import keras

x1 = tf.ragged.constant([[1, 2], [3], [4, 5, 6]])
x2 = tf.ragged.constant([[7], [8, 9, 10], [11, 12]])

model1 = keras.Sequential([keras.layers.Concatenate(axis=0)])
print(model1([x1, x2]))
print(model1.predict([x1, x2]))

input1 = keras.Input(shape=(None,))
input2 = keras.Input(shape=(None,))
output = keras.layers.Concatenate(axis=0)([input1, input2])
model2 = keras.Model(inputs=[input1, input2], outputs=output)
print(model2([x1, x2]))
print(model2.predict([x1, x2]))

Given this. I'm curious to hear what roadblocks you're hitting.
Thanks!

@hertschuh we can't specify ragged=true in the keras.Input. but we steel NEED this in some case.
E.g. i have a custom layer called 'ToDense' which makes dense any non-dense (ragged or sparse) tensor.
In functional model input for this layer is KerasTensor and right now i have no way to determine if it is ragged. So i don't know should i use tf.sparse.to_dense or .to_tensor method.

@shkarupa-alex ,
You don't need to know whether it is ragged or sparse or dense at functional model creation time. You can simply do isinstance, it will take the correct branch at tracing time.
class ToDense(keras.Layer):
  def call(self, x):
    if isinstance(x, tf.RaggedTensor):
      return x.to_tensor()
    else:
      return keras.ops.convert_to_tensor(x, sparse=False)  # this densifies sparse tensors

This will work as a workaround for now. Eventually, we want to be able to replace this with:
return keras.ops.convert_to_tensor(x, sparse=False, ragged=False)

@hertschuh , you are wrong. I need to know. Here is an example https://colab.research.google.com/drive/1oplwYOYZEiytHlClcwt3ucWeJ5M-uA46#scrollTo=Q_5CCb17RgmI
As you can see in functional model inputs are KerasTensor which have flag "sparse" but have no flag "ragged"

@shkarupa-alex ,
Just in general:

you should never need to handle KerasTensors in a special way
you should never need to test if they're sparse, ragged etc.
instead, you should use keras.ops so that KerasTensors are handled transparently
you cannot use tf operations on KerasTensors, so you need to limit tf operations to blocks like if isinstance(x, tf.RaggedTensor)
actual operations on KerasTensors are unimportant, nothing is actually calculated, only the shape (which is why you don't need to test if they're sparse or ragged).
you should never import from keras.src, this is internal only and is subject to change between versions. You should always import the public symbols: from keras import layers.

With all that, if you rewrite your code this way, it works:
import tensorflow as tf
import keras

class ToDense(keras.layers.Layer):
    """Layer that makes padding and masking a Composite Tensors effortless.
    The layer takes a RaggedTensor or a SparseTensor and converts it to a
    uniform tensor by right-padding it or filling in missing values.

    Arguments:
      pad_value: A value used to pad and fill in the missing values. Should be
        a meaningless value for the input data.
      mask: A Boolean value representing whether to mask the padded values.
        If true, no any downstream Masking layer or Embedding layer with
        mask_zero=True should be added. Default is 'False'.

    Input shape: Any Ragged or Sparse Tensor is accepted, but it requires the
      type of input to be specified via the Input or InputLayer from the
      Keras API.

    Output shape: The output is a uniform tensor having the same shape, in case
      of a ragged input or the same dense shape, in case of a sparse input.
    """

    def __init__(self, pad_value, mask=False, **kwargs):
        super(ToDense, self).__init__(**kwargs)
        self.pad_value = pad_value
        self.mask = mask

    def call(self, inputs):
        print('call', isinstance(inputs, tf.RaggedTensor))
        print('call', type(inputs))

        if isinstance(inputs, tf.RaggedTensor):
            outputs = inputs.to_tensor(default_value=self.pad_value)
        elif isinstance(inputs, tf.SparseTensor):
            outputs = tf.sparse.to_dense(inputs, default_value=self.pad_value)
        else:
            outputs = inputs

        return outputs

    def compute_mask(self, inputs, mask=None):
        print('mask', isinstance(inputs, tf.RaggedTensor))
        print('mask', type(inputs))

        if not self.mask:
            return None

        if isinstance(inputs, tf.RaggedTensor):
            mask = tf.ones_like(inputs.flat_values, "bool")
            mask = inputs.with_flat_values(mask)
            mask = mask.to_tensor(False)
        elif isinstance(inputs, tf.SparseTensor):
            mask = tf.ones_like(inputs.values, "bool")
            mask = inputs.with_values(mask)
            mask = tf.sparse.to_dense(mask, default_value=False)
        else:
            mask = keras.ops.ones_like(inputs, "bool")

        mask = keras.ops.any(mask, axis=-1)

        return mask

    def compute_output_shape(self, input_shape):
        return input_shape

    def get_config(self):
        config = super(ToDense, self).get_config()
        config.update({"pad_value": self.pad_value, "mask": self.mask})

        return config

@hertschuh all you talking is good in theory. But in practice...

you should never need to handle KerasTensors in a special way
you should never need to test if they're sparse, ragged etc.
instead, you should use keras.ops so that KerasTensors are handled transparently
you cannot use tf operations on KerasTensors, so you need to limit tf operations to blocks like if isinstance(x, tf.RaggedTensor)

But if i don't want to support other backends right now (usually because keras.ops miss required ops e.g. https://github.com/keras-team/keras/issues/20046) it should be possible to write layer for single (TF) backend.
What should all we do if our models written and trained for keras V2 used RaggedTensors?

actual operations on KerasTensors are unimportant, nothing is actually calculated, only the shape (which is why you don't need to test if they're sparse or ragged).

But we need to choose right op...

you should never import from keras.src, this is internal only and is subject to change between versions. You should always import the public symbols: from keras import layers.

As i wrote here https://github.com/keras-team/tf-keras/issues/202 current public api is not perfect. I'm tired of importing some things from public api and other from private. I just gave up and always import from keras.src im my libraries.
All i want to say in this issue called "Roadmap for RaggedTensor": WE NEED RAGGED TENSORS.
I understand that it may be a long way, but right now it will be enough to revert back "ragged=True/False" property into Input layer. After that people like me can continue to write and use our ugly, backend[TF]-dependant custom layers.

it should be possible to write layer for single (TF) backend.

Yes, you can. In the code above, you can replace the keras.ops with the TF ones.

But we need to choose right op...

KerasTensor is not the mechanism to chose the right op. In my example above, KerasTensors are never used. And ragged=True doesn't actually do anything. Only ragged=False does something, it tells Keras 2 to densify ragged tensors.

What should all we do if our models written and trained for keras V2 used RaggedTensors?

Taking a step back. Why are you trying to migrate to keras V3? (if you're not trying to support multiple backends)

Taking a step back. Why are you trying to migrate to keras V3? (if you're not trying to support multiple backends)

There are 3 reasons:

One day when keras.ops will support all required ops for my custom layers and models i will support multiple backends
As mentioned here https://github.com/tensorflow/tensorflow/releases/tag/v2.16.1 Keras 3.0 will be the default Keras version. You may need to update your script to use Keras 3.0.
Some bugs that still present in TF-Keras are already fixed in Keras V3

So, the pipeline that works fine in Keras 2:

dataset is provided in ragged tensors, which allows fit shuffle and other sorts of alignment issue to work.
First step in forward method is to convert the ragged tensors into value and length vectors.
Next, all remaining computation is done using segment functions
Finally, output is converted from value+length format into ragged tensors

I don't know how to do this in Keras 3. Is there a way I am missing?


KEVM proof finds terms not function-like after adding simplification rules

kevm-bug-requires01-a0gt0.tar.gz
After adding the following two rules to debug ecreoverloop00-sig1-invalid-spec:
// to debug ecreoverloop00-sig1-invalid-spec
rule A  <Int B => #Not ( { true #Equals B <=Int A } ) [simplification]
rule A <=Int B => #Not ( { true #Equals B  <Int A } ) [simplification]

one other proof of the KEVM suite, requires01-a0gt0-spec fails with the following error:
kore-exec: [50075716] Error (ErrorException):
    The check implication step expects the configuration term to be function-like.
      Configuration term:
        /* Sfa */
        Lbl'-LT-'generatedTop'-GT-'{}(
            /* Sfa */
            Lbl'-LT-'kevm'-GT-'{}(
                /* Fl Fn D Sfa */
                Lbl'-LT-'k'-GT-'{}(
                    /* Fl Fn D Sfa */
                    kseq{}(
...

When going through the printed configuration, we found a term \top{SortBool{}}() which does not have the Fl Fn D Sfa attributes, it only has D Sfa.
May I check if #Not ( ... ) and \top{SortBool{}}() are function-like? Based on https://github.com/runtimeverification/haskell-backend/blob/master/docs/glossary.md, "function-like" is defined as "(adjective) A function-like pattern can have at most one value, i.e. it satisfies (∃x . x=φ) ∨ ¬⌈φ⌉.".

There are two problems here:

why is \\top not function-like?
why is \\top appearing inside the term? is there a A  <Int B inside the term which is getting rewritten to that predicate? shouldn't predicates like this be pushed to the top and moved to the condition part of the configuration?

1 - According to the glossary, a function-like pattern can have at most one value. \top{SortBool{}} has two values, true and false.
2 - <=Int and <Int are function and functional, which means that the following rules are invalid, since the RHS evaluates to either top or bottom, none of which has exactly one element (top is not function-like, bottom is not functional-like):
rule A  <Int B => #Not ( { true #Equals B <=Int A } ) [simplification]
rule A <=Int B => #Not ( { true #Equals B  <Int A } ) [simplification]


ISA.Spreadsheet: Various adjustments

Add a function which fixes deprecated IO headers when reading spreadsheet files. E.g. "Source Name" is mapped to "Input [Source Name]" and "Sample Name" is mapped to "Output [Sample Name]"
closes #134
Bump FsSpreadsheet reference to 3.1.1 and made the according adjustments
closes #129
Assay metadasheets now have prefixed keys (e.g. "Assay Filename" instead of "Filename")
closes #138

Just  pushed a commit to te arcctrl_spreadsheet branch. Somehow it isn't being incorporated in this PR here?


Re-add widget menu item

The widget menu item should be added back for Teams only, not for individual ~users.

https://gratipay.com/about/me/widgets/ was removed when widgets broke after Gratipay 2.0.
Can be done after the Widgets for Gratipay 2.0 milestone is closed.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Seems working for me:

What's expected behavior?

Hmm ... I had forgotten that this page is still there, just not listed in nav! Good find. :-)
Are you clear on the distinction between Teams and ~users, @nobodxbodon? If not, let's get you clear on it, because it matters here.

What's expected behavior?

I think we should remove the first "Button" section entirely. That really applies to Teams now, not to ~users. Same with "Badge."
I suppose we could keep the "Giving & Receiving Widgets," though now it should be "Giving & Taking" If the taking side is too broken, then we can at least document the giving side.
Thoughts, @nobodxbodon @mattbk?

@whit537 Here's what I understand about the concepts, teams and users. A user can sign up any time. A team needs to be approved. A user can have multiple teams. Givers can give to teams, not individual user. If a user is owner of the team, she can distribute the income as she likes. Please correct if any is wrong.
Sounds good to your expected behavior.
BTW, I see in ~whit537 the bitcoin address, which should be removed, as Bitcoin was dropped per previous discussion?

Here's what I understand about the concepts, teams and users.

👍

Sounds good to your expected behavior.

👍

bitcoin address, which should be removed

Can you reticket if we don't already have a ticket about this?

@mattbk could you check if this is solved already, with my latest commit?

For reference: https://github.com/gratipay/gratipay.com/pull/4172
The page looks good. I think we're still half and half with the receiving vs taking terminology for ~users. Fixing that requires going back to https://github.com/gratipay/grtp.co.
The next step is to add the menu item back so people can see it.

I think we're still half and half with the receiving vs taking terminology for ~users.

Say more? Are we going live with this—saying "taking"—without updating the widget to also say "taking" instead of "receiving"?
going live = linking in the nav

Individual widgets should say taking, team widgets should say receiving. I need to refresh my memory and get back to this.

going live = linking in the nav

Let's go live with this for ~user pages with the current terminology for now.
We should add a link to https://github.com/gratipay/grtp.co, because that is where team widgets are explained and code given.
Additionally, we should add a menu link for logged-in team members on team pages, and have the team widgets available there.

Working on this today. Undoing https://github.com/gratipay/gratipay.com/pull/3673.


UserRoles

How Do  I turn it on? How do I login and How do i give it to a friend?

https://github.com/Megabyte918/MultiOgar-Edited/issues/673

http://lmgtfy.com/?iie=1&q=How+to+search+a+Github+repo+for+issues
XD

i love lmgtfy

Still login failed, so pretend my password is "henrisen3" i do  /login henrisen3? @MastaCoder @Tyler3D

@Mr-BrockLee Yes. Also people have asked this many, many times before.


Minor typo fix in XBM loss

Was accidentally titled VicReg

@dewball345 We've been pushing a bunch of updates to the branches, so looks like you'll need to rebase the changes into your branch


SqlServer Spatial: Enable mapping to geography

Two big pieces still missing:

Most parameters and constants in queries don't work since we don't infer the store type of function arguments
Some function results will be wrong since we don't use the inferred store type if the CLR types aren't compatible (e.g. getting a Point from a LineString property fails)

Part of #1100

Question: Since preview 3 is so new, my question is "unGooglable"
I have upgraded to Preview 3, and I'm trying to scaffold a database with geometries in it, but I only get Could not find type mapping for column '******.GEOM' with data type 'geometry'. Skipping column. Unable to scaffold the index 'SX_GEOM'. The following columns could not be scaffolded: GEOM.
Do I need to do something more than just updating EF Core, or do this require an update to the "Scaffold-DbContext" that just isn't avalible yet?

@mattiaskagstrom Did you install the .NET Core 2.2 preview 3 SDK?

@mattiaskagstrom You need to install the Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite package before scaffolding.

Thanks, will try both the sdk and NetTopologySuite tomorrow when i get back to work. thanks :)

The reveng worked like a charm after updating the sdk and NetTopologySuite and changing the target framework to .NET Core 2.2. Thanks! 😃


Add note about opening macOS binary on Catalina

Our binary is not yet notarized by Apple, so running it results in this error initially:

Users must update their security settings to allow cockroach. See last section: https://support.apple.com/en-us/HT202491

@taroface, @johnrk, passing this to you. I'm not sure if we really need to add a tip, as we haven't heard any complaints around this.


AZDS debug configuration missing in vscode

I have been able to follow all the steps from this documentation  up to the part where we need to initialize debug assets in VS Code Extension. I go to the Azure Dev Spaces prepare configuration option but nothing is changed under .vscode so I'm unable to debug my code in AKS directly.
Everytime I restart the project in vscode I get a message saying "Required assets to build and debug are missing from 'projectname'. Add them?". I click 'YES' but nothing happens.
Is this broken?

Clicking 'YES' and running the 'Prepare configuration files for Azure Dev Spaces' command should both be generating/updating launch.json and tasks.json files in your .vscode directory. If that's not happening, there may be a problem with the contents of the .vscode directory or the permissions on the files. You could try deleting .vscode so VS creates fresh valid files the next time you click 'YES' on the prompt.


Remove for-loop concept from transformation

https://github.com/numba/numba-rvsdg/blob/b28b554f6cca0a5d342b13b8b0081bab05d35601/numba_rvsdg/core/transformations.py#L99
To stay pure and faithful to the original paper, i'd suggest removing the SyntheticForIter. As mentioned in OOB discussion, the transformation should be able to operate base on a interface of:
class OpIFace:
    def is_jump(self) -> bool: ...
    def get_jump_targets(self)  -> Tuple[Label]: ...

If the FOR_ITER bytecode is doing too much, i suggest preprocessing it into synthetic small operations before the rvsdg transform.

The idea of detecting and handling a Python for-loop specifically and using the SyntheticForIter was generalized away with #20 -- @sklam would you consider this PR sufficient to close this issue?


Relation to the YOOtheme UIkit?

This might be a useful question for the FAQ as it could be a point of confusion...
How (if at all) does this project relate to the existing YOOtheme UIKit project (https://getuikit.com/ - https://github.com/uikit/uikit)?

Hey @rooby 😀
There is no relation to the Uikit project. (https://getuikit.com/)
We are currently rebranding the whole UI-Kit as the current naming isn't very interesting, has poor SEO and doesn't describe the community, research and all the extras that make up our design system.
I will check with the team, about adding this into the FAQ file, as this is the first instance I know of it being brought up.

Cool, thanks


🔧 Devops: Switch to ruff for linting/formatting

@sphuber do you still want to have a look at this one? Or do I go ahead?

@sphuber do you still want to have a look at this one? Or do I go ahead?

All good, please go ahead. No need to check with me


getComputedStyle(...) is null

Hi,
We get this strange error inside appSignal which I was able to track down as a Firefox bug see. I was unable to reproduce this issue locally but this seems like a possible solution, that is, replace all window.getComputedStyle (found in 2 places: updateSlides.js and utils.js) with this function:
function getComputedStyle(element, prop) {
  if (element.currentStyle) {
       return element.currentStyle[prop];
   } else if (window.getComputedStyle && window.getComputedStyle(element, null)) {
       return window.getComputedStyle(element, null).getPropertyValue(prop);
   } else {
       return element.style[prop];
   }
}

Something to point out is that the app uses React 16.8.0 with custom SSR.
Environment

Swiper Version<EMAIL_ADDRESS>resolved as version "5.4.5"
Some example environments that got that error: Windows 10, Mozilla Firefox 86.0 / Windows 10, Mozilla Firefox 63.0 / Windows 7, Mozilla Firefox 86.0 / Windows 8.1, Mozilla Firefox 86.0 / Linux, Mozilla Firefox 63.0 / Windows 7, Mozilla Firefox 75.0 / Windows 10, Mozilla Firefox 78.0

Expected Behavior
No error being thrown

Swiper a while ago on version 6. Does it happen with Swiper v6?

I would need to update and deploy the latest version to production to be sure but window.getComputedStyle is still used inside the codebase so I would assume so. If you want however, I can give it a try.

you anyway need to update to v6 because v5 is not maintained anymore


Attribute error with emulator_linpk is preventing import pyccl.

Hi,
I have a joint developer CCL + firecrown installation on my MacBook Pro (Intel). I just pulled from the master branch to get from version 2.8.1 to the most recent version. Imports and examples were working fine before. Now, I get the following error:
(descstack) brunomor@Brunos-MacBook-Pro ~ % python -c "import pyccl as ccl;print(ccl.__version__);print(ccl.__file__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/brunomor/lib/python/CCL/pyccl/__init__.py", line 46, in <module>
    from .cosmology import *
  File "/Users/brunomor/lib/python/CCL/pyccl/cosmology.py", line 64, in <module>
    'emulator': lib.emulator_linpk
                ^^^^^^^^^^^^^^^^^^
AttributeError: module 'pyccl.ccllib' has no attribute 'emulator_linpk'

Any suggestions?
Thanks!

Most likely explanation is that there is some lingering old version of the library which hasn't been purged. I'd uninstall, ensure there's no remnant of CCL, and then reinstall with v3


Add ability to upload files

should at least be able to select log text file and screenshots

probably not feasible to do in a pure GET request (url).

Discourse API Documentation:
https://docs.discourse.org/#tag/Uploads

Uploading files obviously requires authentication
which in turn means implementing user/password and API key handling with discord
something like this was out-of-scope for Bugger in its initial inception,  --  why duplicate what the browser does natively (as does SailfishOS Forum Viewer).

Solution for now (see branch logcollect) is using a pastebin service instead of proper file upload.

Closing. 0.10.x series should suffice for this.


PSMDB-1467 Release notes 7.0.11-6

new file:   docs/release_notes/7.0.11-6.md
modified:   docs/release_notes/index.md
modified:   mkdocs-base.yml
modified:   variables.yml

LGTM


How can I handle the events? I did not understand it on docs.

I am trying to fire some stuff when a determined field got errors. So I have tried the Events as said here: http://1000hz.github.io/bootstrap-validator/#validator-events
Pretty much like this:
$('#new_user').on('invalid.bs.validator', function () {
  console.log('invalid input!');
});

But actually nothing happens, what am I doing wrong?
Thank you.
Edit: '#new_user' is my form element.

Seems to be working?
http://jsbin.com/fotayelubo/2/edit

That's right. After spent some time trying to figure out what was wrong (btw thank you for the jsbin) I finally understand that it was something about the Ruby on Rails Turbolinks, that reloads the page by Ajax. So I came around the problem by doing something like this:
var reloadValidator;
reloadValidator = function() {
  $('#new_user').validator();
  $('#new_user').on('invalid.bs.validator', function () {
    alert('invalid input!');
  });
};

$(document).on('page:change', reloadValidator);

In this way everything worked fine. Thank you for the help.


Make lower layer tracers kwargs in constructors so a different lower layer temperature and salinity is easy to set

Actually maybe this is not the best idea right now. If the lower layer needs to be changed can look into it otherwise best leave it as it is for now.

Maybe if this needs to be done simplest is to add kwargs to TwoLayerInitialConditions that could set lower salinity and temperature e.g.
TwoLayerInitialConditions(initial_conditions::StableUpperLayerInitialConditions; S₀ˡ = S₀ˡ , T₀ˡ = T₀ˡ) =
    StableTwoLayerInitialConditions(initial_conditions.S₀ᵘ, S₀ˡ,
                                    initial_conditions.S₀ᵘ - S₀ˡ, initial_conditions.T₀ᵘ,
                                    T₀ˡ, initial_conditions.T₀ᵘ -T₀ˡ)

Just not sure how this would work with consts  S₀ˡ, T₀ˡ that are set. Either way this looks the cleanest.


arguments has unknown type if --language_in is ES6

See https://codereview.chromium.org/1204023003/ -- it appears that by switching to ES6 (not actually using any ES6 features; just switching the flag) the value of arguments becomes unknown. Need to figure out why this happens.

Do you have a minimal repro in the debugger?

I wonder if it's a problem with externs.

I don't see that this is ES6 related:
http://closure-compiler-debugger.appspot.com/#input0%3Dfunction%2520f()%2520%257B%250A%2520%2520arguments%253B%250A%257D%26input1%26conformanceConfig%26externs%26refasterjs-template%26includeDefaultExterns%3D1%26CHECK_SYMBOLS%3D1%26CHECK_TYPES%3D1%26MISSING_PROPERTIES%3D1

It seems that this is fixed already?
http://closure-compiler-debugger.appspot.com/#input0%3Dfunction%2520f()%2520%257B%250A%2520%2520arguments%253B%250A%257D%26input1%26conformanceConfig%26externs%26refasterjs-template%26includeDefaultExterns%3D1%26CHECK_SYMBOLS%3D1%26CHECK_TYPES%3D1%26MISSING_PROPERTIES%3D1
doesn't show an error.

I removed a bunch of the suppressions from that Chrome change and it still builds. My guess is this is obsolete.