[14/08/2023, 13:53:21] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:53:21] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:53:21] [WeConnect] Python: [14/08/2023 13:53:21] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token
[14/08/2023, 13:53:21] [WeConnect] Python: [14/08/2023 13:53:21] [API::INFO] Response with code: 200
[14/08/2023 13:53:21] [API::INFO] Received OAuth [fal]
[14/08/2023 13:53:21] [API::INFO] Requesting OAuth [cubic]
[14/08/2023, 13:53:21] [WeConnect] Python: [14/08/2023 13:53:21] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token
[14/08/2023, 13:53:21] [WeConnect] Python: [14/08/2023 13:53:21] [API::INFO] Response with code: 200
[14/08/2023, 13:53:21] [WeConnect] Python: [14/08/2023 13:53:21] [API::INFO] Saving access to file
[14/08/2023, 13:53:21] [WeConnect] Python: [14/08/2023 13:53:21] [API::INFO] Requesting personal data
[14/08/2023 13:53:21] [API::INFO] Preparing command: /personalData
[14/08/2023, 13:53:22] [WeConnect] Python: [14/08/2023 13:53:22] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/253a382f-ecb7-44c7-ad97-961c00ba71e1/personalData
[14/08/2023, 13:53:22] [WeConnect] Python: [14/08/2023 13:53:22] [API::INFO] Response with code: 200
[14/08/2023, 13:53:22] [WeConnect] Python: [14/08/2023 13:53:22] [API::INFO] Received business identity
[14/08/2023, 13:53:22] [WeConnect] Python: [14/08/2023 13:53:22] [API::INFO] Saving access to file
[14/08/2023, 13:53:22] [WeConnect] Python: [14/08/2023 13:53:22] [API::INFO] Preparing command: /cs/vds/v1/vehicles/WVGZZZCRZMD038890/homeRegion
[14/08/2023, 13:53:23] [WeConnect] Python: [14/08/2023 13:53:23] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVGZZZCRZMD038890/homeRegion
[14/08/2023, 13:53:23] [WeConnect] Python: [14/08/2023 13:53:23] [API::INFO] Response with code: 200
[14/08/2023 13:53:23] [API::INFO] Received fal/mal Uri
[14/08/2023, 13:53:23] [WeConnect] Python: [14/08/2023 13:53:23] [API::INFO] Preparing command: /bs/vsr/v1/VW/DE/vehicles/WVGZZZCRZMD038890/status
[14/08/2023, 13:53:23] [WeConnect] Python: [14/08/2023 13:53:23] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/vsr/v1/VW/DE/vehicles/WVGZZZCRZMD038890/status
[14/08/2023, 13:53:23] [WeConnect] Python: [14/08/2023 13:53:23] [API::INFO] Response with code: 200
[14/08/2023, 13:53:23] [WeConnect] Python: [14/08/2023 13:53:23] [VSR::WARNING] [parse_vsr] item 0x02040C0002, field 0x02040C0002 not found
[14/08/2023, 13:53:23] [WeConnect] Python: [14/08/2023 13:53:23] [VSR::WARNING] [parse_vsr] {'id': '0x02040C0002', 'tsCarSentUtc': '2023-08-13T13:30:51Z', 'tsCarSent': '2023-08-13T13:30:42', 'tsCarCaptured': '2023-08-13T15:30:42', 'tsTssReceivedUtc': '2023-08-13T13:30:44Z', 'milCarCaptured': 37920, 'milCarSent': 37920, 'textId': 'scr.no_driveability'}
[14/08/2023, 13:53:23] [WeConnect] Python: [14/08/2023 13:53:23] [API::INFO] Preparing command: /bs/climatisation/v1/VW/DE/vehicles/WVGZZZCRZMD038890/climater
[14/08/2023, 13:53:24] [WeConnect] Python: [14/08/2023 13:53:24] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/climatisation/v1/VW/DE/vehicles/WVGZZZCRZMD038890/climater
[14/08/2023, 13:53:24] [WeConnect] Python: [14/08/2023 13:53:24] [API::INFO] Response with code: 200
[14/08/2023, 13:53:24] [WeConnect] Python: [14/08/2023 13:53:24] [API::INFO] Preparing command: /bs/batterycharge/v1/VW/DE/vehicles/WVGZZZCRZMD038890/charger
[14/08/2023, 13:53:24] [WeConnect] Python: [14/08/2023 13:53:24] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/batterycharge/v1/VW/DE/vehicles/WVGZZZCRZMD038890/charger
[14/08/2023, 13:53:24] [WeConnect] Python: [14/08/2023 13:53:24] [API::INFO] Response with code: 200
On 14/08/2023, 13:51, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
Based on that, I have released a new version 1.0.24 which at least fixes that issue, but I wouldn't be surprised if there are a lot more, and I cannot really troubleshoot myself :).
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1677180041, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP74BBD2KVCSIUCSR2DXVIGNFANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi marn06
The WeConnect plugin is not working for me again:
[17/02/2024, 23:46:35] [WeConnect] Python: [17/02/2024 23:46:35] [API::CRITICAL] Raising error msg: Error 401
[17/02/2024, 23:46:35] [WeConnect] Python: [17/02/2024 23:46:35] [WeConnect::ERROR] VWError: Error 401
[17/02/2024, 23:46:35] [WeConnect] Get locked state: Error: [17/02/2024 23:46:35] [WeConnect::ERROR] VWError: Error 401
[18/02/2024, 01:10:40] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[18/02/2024, 03:56:42] [Homebridge UI] Running scheduled instance backup...
[18/02/2024, 03:56:42] [Homebridge UI] Creating temporary backup archive at /tmp/homebridge-backup-Xgu2UI/homebridge-backup-0E02F6E546CA.tar.gz
[18/02/2024, 04:35:24] [Nest] API observe: error Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
[18/02/2024, 04:35:24] [Nest] ^^^^^ this message is for information only, it does not mean there is a problem, please do not file a ticket unless you actually have a problem with the function of the plug-in
[18/02/2024, 04:35:24] [Nest] Retrying in 10 seconds.
[18/02/2024, 10:35:16] [Homebridge UI] Starting terminal session
On 14/08/2023, 13:51, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
Based on that, I have released a new version 1.0.24 which at least fixes that issue, but I wouldn't be surprised if there are a lot more, and I cannot really troubleshoot myself :).
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1677180041, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP74BBD2KVCSIUCSR2DXVIGNFANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
Unfortunately I do no longer have an active WeConnect subscription hence I cannot test the Plugin.


How to upgrade to a new version of AEMC

I haven't found any information of how to upgrade AEMC version in existing project.
Could you update readme file with such description.

Just set version you want in the top of aemw script 🙂👌

Thanks @krystian-panek-wttech 🍺


Code doesnt' preserve line breaks

(Removing the \ at the beginning, I haven't found a way to represent it better) If I have this markdown code:
\```
<dependency>
    <groupId>groupid</groupId>
    <artifactId>artifactid</artifactId>
    <version>version</version>
</dependency>
\```

the html is rendered as:
<dependency> <groupId>groupid lt;/groupId> <artifactId>artifactid lt;/artifactId> <version>version lt;/version> </dependency>
Even if I add the CSS to show the line breaks:
code {
  display: block;
  white-space: pre-wrap
}

The browser shows everything in one line as there are no like breaks.

See https://github.com/walokra/markdown-page-generator-plugin/pull/45 for an example of adding FENCED_CODE_BLOCKS configuration for the generator. The generator uses PegdownOptionsAdapter which by default doesn't render fenced code blocks as "code blocks" without the extension.


MD024: Allow hr separated sections to share titles/subtitles

when writing markdown presentations with markdown using hr as separator its  sometimes helpful to repeat a larger title
followup to #437
## topic
### part 1
---

## topic
### part 2
-----

## topic b
### part 1
---
## topic b
### part 2

i have that pattern in presentations that have short code snippets followed by output snipped

I am voting it up as well, why showing a warning if it specifically adheres to the rules for changelogs

@NudeNULL, the changelog scenario is already supported via the siblings_only parameter: https://github.com/DavidAnson/markdownlint/blob/main/doc/md024.md

Oh cool thanks! Thats very handy.


Updated Plane Finder client 3.5.461

Latest Plane Finder ADS-B feed client version is 3.5.461
https://planefinder.net/sharing/client_changelog

Brand new map view including aircraft labels, photographs and additional metadata lookup
Added colour-coded flightpaths to represent altitude
Added the ability to mouse over flightpaths to view their speed and altitude at that any given point in time
Improved Data View layout. Added the option to filter by additional fields
Added the ability to set a Google Maps API key for users wishing to share their client webpages publicly (this is optional and not necessary when accessing the client locally)
Rewritten HTTP parser to handle browser communication more reliably
Various other bug fixes and improvements

I have updated the version in bash/variables.sh on my 2.6.0 branch so can confirm that the new client not only installs as expected, but looks nicer than the previous version :)

THanks. I updated the Planefinder ADS-B Client version for ARM in the master branch as well. The i386 package is still at the older version at this time.
Changes have been submitted to the master branch so those running 2.5.0 will have the option to upgrade their client by running install.sh and choosing to do so.


Update e2e_evaluation.md

correct the spelling mistake of human-labelled to human-labeled

@VishalChandShorthillsAI , In US English, “labeled” (one “l”) is standard. In UK English, “labelled” (double “l”) is correct.
Closing this PR, Lets fins another one.
Thanks


rawtherapee: Fix glibc-2.34 malloc build error

Description of changes
This patch was contributed to https://github.com/Beep6581/RawTherapee by @Floessie. It's upstream and will have to be removed once rawtherapee-5.9 is packaged.
Fixes the following build error:
<..>-glibc-2.34-115-dev/include/wchar.h:582:24: error: 'malloc' attribute argument 1 is ambiguous
  582 |   __attribute_malloc__ __attr_dealloc_fclose;

For the upstream discussion, see Beep6581/RawTherapee#6324.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Done (didn't fixup because that'll bother the upstream people, but I can if you want me to).
It wouldn't be straightforward, since the upstream commit does not cleanly apply to 5.8, and I had to modify the patch (i.e. add the last two hunks by hand since those functions are gone from the dev branch).


Cannot compile RRC generated files on VC++

Hi,
The generated code for 3GPP RRC compiles on linux (gcc), but I fails to compile. The problem is with the A_SET_OF macro, apparently, which defines a free function that has a structure definition as the parameter. Here is more info about the problem: http://stackoverflow.com/questions/26207145
As the documentation of asn1c says with minor teaks it possible to compile the generated on VC++, I wanted to ask if there is workaround to this issue.

Hi, @nickaein,
I submitted a pull request #96 trying to solve this issue.  Currently there is no warning when building rrc-dump on Linux platform. But I don't know whether it works on VC++. Just for your reference.
thanks.
regards,
brchiu.

@brchiu Thanks. I Will give it a try and let you know

@nickaein, Many thanks for your feedback.
For R12's EUTRA-RRC-Definitions.asn you provided, I found that I have to modify function asn1c_lang_C_type_CHOICE() function with the same trick which I used on asn1c_lang_C_type_SEQUENCE(). Now I did not see this A_SET() warning when compiling the files  generated by this R12 RRC ASN.1 file on Linux platform.
I have already made this change in my pull request.
For your reference.


Cannot read messages using the examples from readme file

To replicate run the producer from the readme file to create stream and publish messages
$ rabbitmqctl list_queues
Timeout: 60.0 seconds ...
Listing queues for vhost / ...
name    messages
mystream        100

Then run consumer from the readme file. I am getting a lot of errors
Error while running handler functools.partial(<bound method Consumer._on_deliver of <rstream.consumer.Consumer object at 0x7fc27868c250>>, subscriber=_Subscriber(stream='mystream', subscription_id=1, reference='mystream_subscriber_1', client=<rstream.client.Client object at 0x7fc278697a00>, callback=<function consume.<locals>.on_message at 0x7fc277cb3e50>, decoder=<function amqp_decoder at 0x7fc2780b71f0>, offset_type=<OffsetType.FIRST: 1>, offset=0)) of frame Deliver(subscription_id=1, magic_version=80, chunk_type=0, num_entries=1, num_records=1, timestamp=1634293745617, epoch=1, chunk_first_offset=99, chunk_crc=3688700533, data_length=11, trailer_length=30, _reserved=0, data=b'\x00\x00\x00\x07msg: 99')
Traceback (most recent call last):
  File "/home/wrobell/.local/lib/python3.9/site-packages/rstream/client.py", line 157, in _listener
    await maybe_coro
  File "/home/wrobell/.local/lib/python3.9/site-packages/rstream/consumer.py", line 228, in _on_deliver
    maybe_coro = subscriber.callback(subscriber.decoder(message))
  File "/home/wrobell/.local/lib/python3.9/site-packages/rstream/amqp.py", line 26, in amqp_decoder
    message.decode(data)
  File "/home/wrobell/.local/lib/python3.9/site-packages/proton/_message.py", line 499, in decode
    self._check(pn_message_decode(self._msg, data))
  File "/home/wrobell/.local/lib/python3.9/site-packages/proton/_message.py", line 80, in _check
    raise exc("[%s]: %s" % (err, pn_error_text(pn_message_error(self._msg))))
proton._exceptions.MessageException: [-6]: data error: (null)

I am using RabbitMQ 3.9.7, rstream 0.3.0.

Actually, the example I was using was from PyPI:
await producer.publish('mystream', f'msg: {i}'.encode())

If replace above line with
msg = AMQPMessage(body='hello: {}'.format(i))
await producer.publish('mystream', msg)

Looking at the changelog, the example was changed with message change the example to AMQP 1.0.
IMHO, it would be great to keep the first version of API as it is simpler.
Selection of protocol version probably shall be done differently, i.e. when creating producer.

raw bytes (is that AMQP 0-9-1?)

No, you can store what you want. In general we decided to use amqp 1.0 to save the messages in this way all the clients are compatible.
But if you want you could use something else to save the messages.
Currently, all the stream clients support amqp 1.0 as default


Terraform 0.12 upgrade

When using terraform v0.12.3 I receive the following error:
Error: Missing key/value separator

  on .terraform/modules/alb_ingress/main.tf line 72, in resource "aws_lb_listener_rule" "authenticated_paths_oidc":
  69:
  70:
  72:       authenticate_oidc {

Expected an equals sign ("=") to mark the beginning of the attribute value.

I assume the action attribute in the aws_lb_listener_rule resources would now be best written with a dynamic block in terraform v0.12?

I have the same issue. How to solve it?

that was TF 0.11 syntax in TF 0.12.
the module has been converted to TF 0.12
https://github.com/cloudposse/terraform-aws-alb-ingress/releases/tag/0.9.0


[BUG] DataFrame.corr() is not called correctly

02_end_to_end_machine_learning_project.ipynb contains a bug in calls to DataFrame.corr(), eg the line
corr_matrix = housing.corr()

Should be
corr_matrix = housing.corr(numeric_only=True)

Running it on colab gives a warning, but it errors (without a useful error message) on a newer version of Pandas.

Bumping this issue, just ran into it myself and got stuck for a while. I thought I may have missed dropping the ocean_proximity column but that wasn't the case.


[BLOG] Idle Power Matters: Kepler Metrics for Public Cloud Energy Efficiency

GitHub tag of Blog Authors
@sunya-ch, @marceloamaral, @rootfs
GitHub tag of Blog Reviewers
updated once people start reviewing the blog
GitHub tag of TAG ENV Lead that sponsors the blog
updated once a TAG ENV lead assigned themselve
Abstract
This blog post aims to highlight the impact of idle power and the need of its transparency in software energy attribution and accounting, particularly in multi-tenant environments such as public cloud.
Scope
Focus on the need of idle power transparency
Audience: Any who interested in energy metrics
Goals and Non Goals
Goal

understand the importance of idle power transparency in energy measurement
understand the challenge of idle power attribution
Non goals
conclusion of idle power attribution solution

Todo items starting the blog post process

[X] [Author] described the abstract of the blog post, defined the scope, goals and non-goals, and defined the expected audience.
[X] [Author] notified TAG ENV community to review the outline via Slack on the tag-env-sustainability channel.
[x] [TAG ENV Lead] One of the TAG ENV leads assigned themselves to wrangle the blog
[ ] [TAG ENV Lead] Blog post outline and theme has been discussed
[X] [Author] Blog post written and ready for review

Todo items reviewing the blog post

[x] [Author] blog post PR opened (blog posts are added to the website/content/en/blog folder for English content, images to website/static/images/blog/<YEAR>-<MONTH>-<title>/*.jpg)
[x] [Author] gave a minimum of a week to collect public feedback, depending on reviews this will get extended. If there is a major event (conference, etc.) or holidays coming up, please extend accordingly.
[x] [Author] Feedback and comments have been resolved.
[x] [Reviewers] reviewed blog post.
[x] [TAG ENV Lead] reviewed blog post.
[x] [TAG ENV Lead] ready to get published.
[ ] [TAG ENV Lead] notified one of the ToC liaisons to sign off the blog post.
[ ] [OPTIONAL TAG ENV ToC Liaison] reviewed blog post.

Todo items reviewing the blog post

[x] [TAG ENV Lead] merged blog post.
[ ] [OPTIONAL TAG ENV Lead] schedule the blog post on the CNCF blog next to the TAG ENV blog
[ ] [Author] Wrote feedback about the blog post process as a comment under this issue

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Comments
No response

PR #435 merged!


fix lies

@ericlaw1979 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Enable static flags on static objects in example scene

see PR #147 and the discussion. hat tip to @Legorobotdude for the contribution and useful suggestions. let's keep this going and figure out how to make all the static objects correctly marked as Static.

Done with https://github.com/mozilla/unity-webvr-export/commit/f9fe4302aef63cd529007d022699741bc47759df#diff-87eb99a2d1e7b48246e4f7c07d3b7cf2


Cannot fuse QSR on Android

Describe the bug
Cannot fuse QSR on Android. Zenon SDK Exception: Library libpow_links could not be found.
To Reproduce
Steps to reproduce the behavior:

Go to 'Fuse'
Enter amount and address
Click fuse

Expected behavior
The QSR is fused after PoW is generated.
Actual behavior
The QSR is not fused, fuse icon keeps spinning and error notifications are displayed.
Screenshots

Mobile:

OS: Android 14
App Version: v0.2.3
Commit hash: 44c191551c524ad16f97228f6a3e059a4df506dc

Additional context
The application has been custom build and manually installed.

How did you build the app and for what architecture? For Android only x86_64 and arm64-v8a architectures are supported.

I'm running the app on a Samsung Exynos 2200 processor.

the Samsung Exynos 2200 SoC is a 64-bit ARM-based processor, it’s designed by Samsung and co-developed with AMD. It features an AMD “Xclipse” GPU and supports ARM64 architecture

I've build the app using an explicit target platform: flutter build apk --target-platform android-arm64 --release
Checked that the resulting APK file had both the libpow_links.so file included in both the lib/arm64-v8a and lib/x86_64 directory.
Cleared the cache and uninstalled the app completely before trying installed the APK file.

Please test this fix and feel free to close the issue if it works.

PoW is working now, issue can be closed.


Linking to a wrong page.

It looks like this link is pointing to the wrong page. It points to the paper 'VideoLDM: Align your Latents: High-Resolution Video Synthesis with Latent Diffusion Models'.

Thank you for pointing out the mistake.  We will correct it as soon as possible. Also, we would appreciate it if you could help us submit the correction if you have the time. 😊


E2E tests: Extract setting up test workspaces

Resolves #2839
What is being addressed
Reuse test workspaces between tests via introducing setup_test_workspace fixture.
How is this addressed

Added fixtures setup_test_workspace and setup_test_aad_workspace
Added TEST_WORKSPACE_ID and TEST_WORKSPACE_AAD_ID env variables to e2e tests to make it easier to iterate on tests locally
Simplify the test_create_guacamole_service_into_aad_workspace test: only check that the workspace was successfully deployed and can be returned from the API

/test-extended

/test-extended

/test-destroy-env

/test-extended

/test-destroy-env

/test-extended

/test-force-approve
A successful run on an identical branch:
https://github.com/microsoft/AzureTRE/actions/runs/3438476485


[CELEBORN-192][IMPROVEMENT] Change FAILED status to REQUEST_FAILED since it's all used when RPC request failed.

What changes were proposed in this pull request?
Change FAILED status to REQUEST_FAILED since it's all used when RPC request failed. Make it more accurate.
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?

@waitinfuture

I think it will not cause compatible issue, but I'm not very sure. @pan3793 plz take a look

I have same concern w/ @waitinfuture

I wi

I will do a manual test.

I think it will not cause compatible issue, but I'm not very sure. @pan3793 plz take a look

It uses the same status code value, so it won't cause compatibility issue.

I will do a manual test.

I have done manual test:
1. First I deploy Celeborn using main branch.
2. Then I run a sql job normally
3. Then I replace celeborn-client-spark-3-shaded_2.12-0.2.0-SNAPSHOT.jar in spark's jar
4. Then I restart spark-sql and run job normally, things go OK
5.  Then I upgrade one worker with this PR's code and restart
7. Then I run job, things go OK
8. Then I kill the upgraded worker during shuffle write, things go OK

I see log in LifecycleManager when kill a worker, which seems to cover the msg changed
23/01/06 16:43:10 ERROR ReducePartitionCommitHandler: AskSync CommitFiles for 10 failed (attempt 2/2).


Move BooleanBufferBuilder and NullBufferBuilder to arrow_buffer

Which issue does this PR close?

Closes #.
Rationale for this change

Manually creating a NullBuffer is cumbersome, moving the builders into arrow_buffer will allow defining more ergonomic constructors for these types
What changes are included in this PR?

Are there any user-facing changes?
It removes the deprecated combine_option_bitmap

I don't need api change except for moving the two builders, is it right?

I removed the deprecated combine_option_bitmap as part of the move (as it depended on ArrayData)


GreedyIK fails when called from MoveUntilTouch

In [6]: robot.right_arm.MoveUntilTouch(numpy.array([0., 0., -1.]), 0.1)
[INFO] [prpy.planning.base:base.py:236]:plan: Sequence - Calling planner "Sequence(SnapPlanner, VectorFieldPlanner, GreedyIKPlanner, Trajopt)".
[INFO] [prpy.planning.base:base.py:236]:plan: Sequence - Calling planner "VectorFieldPlanner".
[WARNING] [prpy.planning.base:base.py:254]:plan: Planning with VectorFieldPlanner failed: Step size too small, unable to progress
[INFO] [prpy.planning.base:base.py:236]:plan: Sequence - Calling planner "GreedyIKPlanner".
---------------------------------------------------------------------------
openrave_exception                        Traceback (most recent call last)
/home/mkoval/ros-block-sorting/src/herbpy/scripts/console.py in <module>()
----> 1 robot.right_arm.MoveUntilTouch(numpy.array([0., 0., -1.]), 0.1)

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/base/wam.pyc in MoveUntilTouch(manipulator, direction, distance, max_distance, max_force, max_torque, ignore_collisions, **kw_args)
    260                 manipulator.SetActive()
    261                 traj = manipulator.PlanToEndEffectorOffset(direction, distance, max_distance=max_distance,
--> 262                                                            execute=False, **kw_args)
    263
    264         collided_with_obj = False

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/base/manipulator.pyc in wrapper_method(*args, **kwargs)
     71             @functools.wraps(delegate_method)
     72             def wrapper_method(*args, **kwargs):
---> 73                 return self._PlanWrapper(delegate_method, args, kwargs)
     74             return wrapper_method
     75

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/base/manipulator.pyc in _PlanWrapper(self, planning_method, args, kw_args)
    169             cloned_args['execute'] = False
    170             cloned_traj = cloned_robot._PlanWrapper(planning_method,
--> 171                                                     args, cloned_args)
    172
    173             # Strip inactive DOFs from the trajectory.

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/base/robot.pyc in _PlanWrapper(self, planning_method, args, kw_args)
    588         from ..util import Timer
    589         with Timer() as timer:
--> 590             result = planning_method(self, *args, **kw_args)
    591         SetTrajectoryTags(result, {Tags.PLAN_TIME: timer.get_duration()}, append=True)
    592

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/planning/base.pyc in meta_wrapper(*args, **kw_args)
    176                                                    args, kw_args))
    177             else:
--> 178                 return self.plan(method_name, args, kw_args)
    344
    345                 try:
--> 346                     return plan_fn(*args, **kw_args)
    347                 except UnsupportedPlanningError:
    348                     continue

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/planning/base.pyc in meta_wrapper(*args, **kw_args)
    176                                                    args, kw_args))
    177             else:
--> 178                 return self.plan(method_name, args, kw_args)
    179
    180         # Grab docstrings from the delegate planners.

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/planning/base.pyc in plan(self, method, args, kw_args)
    239
    240                     with Timer() as timer:
--> 241                         output = planner_method(*args, **kw_args)
    242
    243                     logger.info('Sequence - Planning succeeded after %.3f'

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/planning/base.pyc in meta_wrapper(*args, **kw_args)
    176                                                    args, kw_args))
    177             else:
--> 178                 return self.plan(method_name, args, kw_args)
    179
    180         # Grab docstrings from the delegate planners.

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/planning/base.pyc in plan(self, method, args, kw_args)
    239
    240                     with Timer() as timer:
--> 241                         output = planner_method(*args, **kw_args)
    242
    243                     logger.info('Sequence - Planning succeeded after %.3f'

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/planning/base.pyc in __call__(self, instance, robot, *args, **kw_args)
     93                 return wrap_future(executor.submit(call_planner))
     94             else:
---> 95                 return call_planner()
     96
     97     def __get__(self, instance, instancetype):

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/planning/base.pyc in call_planner()
     73                 try:
     74                     planner_traj = self.func(instance, cloned_robot,
---> 75                                              *args, **kw_args)
     76
     77                     # Tag the trajectory with the planner and planning method

/home/mkoval/ros-block-sorting/src/prpy/src/prpy/planning/workspace.pyc in PlanToEndEffectorOffset(self, robot, direction, distance, max_distance, timelimit, **kw_args)
    134                 traj,
    135                 maxvelocities=0.1*numpy.ones(7),
--> 136                 maxaccelerations=0.1*numpy.ones(7)
    137             )
    138

openrave_exception: openrave (InconsistentConstraints): [virtual OpenRAVE::PlannerStatus TrajectoryRetimer::PlanPath(OpenRAVE::TrajectoryBasePtr):130] lower limit for traj point 2 dof 6 is not followed (-inf < -1.000000000000000e+06)

Confirmed:
aaronjoh@johnson:~/sc-ros/src/block_sorting/scripts$ python run_demo.py --perception-sim --viewer rviz
[WARNING] [root:logger.py:71]:initialize_logging: Install termcolor to colorize log messages.
[ WARN] [1442092809.869844249]: Group 'head_hand' is empty.
[kinbody.cpp:1470 SetDOFValues] dof 4 value is not in limits 0.000000e+00<5.235988e-01
[kinbody.cpp:1470 SetDOFValues] dof 15 value is not in limits 0.000000e+00<5.235988e-01
WARNING: QApplication was not created in the main() thread.
[ INFO] [1442092811.815172268]: Stereo is NOT SUPPORTED
[ INFO] [1442092811.815420616]: OpenGl version: 3 (GLSL 1.3).
[EnvironmentDisplay.cpp:156 EnvironmentChangeSlot] Attempted to switch to environment with non-existent ID 0.
Redecting objects
[INFO] [block_sorting:run_demo.py:97]:<module>: Redecting objects
Press enter to continue, r to redetect
The block name b1  of color ( (0.0, 0.0, 255.0) ) belongs in the  blue bin (idx= 1 )

Grabbing block b1
[INFO] [block_sorting:run_demo.py:120]:<module>: Grabbing block b1
[openravepy_robot.cpp:880 GetActiveManipulatorIndex] GetActiveManipulatorIndex is deprecated
[INFO] [prpy.planning.base:base.py:239]:plan: Sequence - Calling planner "TSRPlanner(Sequence(SnapPlanner, VectorFieldPlanner, GreedyIKPlanner, Trajopt))".
[INFO] [prpy.planning.base:base.py:239]:plan: Sequence - Calling planner "SnapPlanner".
[WARNING] [prpy.planning.base:base.py:257]:plan: Planning with SnapPlanner failed: Straight line trajectory is not valid.
[INFO] [prpy.planning.base:base.py:239]:plan: Sequence - Calling planner "Trajopt".
[INFO] [prpy.planning.base:base.py:248]:plan: Sequence - Planning succeeded after 2.827 seconds with "Trajopt".
[INFO] [prpy.planning.tsr:tsr.py:171]:PlanToTSR: Planned to IK solution set 1 of 3.
[INFO] [prpy.planning.base:base.py:248]:plan: Sequence - Planning succeeded after 5.284 seconds with "TSRPlanner(Sequence(SnapPlanner, VectorFieldPlanner, GreedyIKPlanner, Trajopt))".
[INFO] [prpy.base.robot:robot.py:393]:do_execute: Post-processing path with 10 waypoints.
[ParabolicSmoother.cpp:360 PlanPath] Terminated after 2 iterations and 0.624064 seconds.
[INFO] [prpy.base.robot:robot.py:403]:do_execute: Post-processing took 0.906 seconds and produced a path with 30 waypoints and a duration of 4.943 seconds.
0.119999829052
[INFO] [prpy.planning.base:base.py:239]:plan: Sequence - Calling planner "Sequence(SnapPlanner, VectorFieldPlanner, GreedyIKPlanner, Trajopt)".
[INFO] [prpy.planning.base:base.py:239]:plan: Sequence - Calling planner "VectorFieldPlanner".
[WARNING] [prpy.planning.base:base.py:257]:plan: Planning with VectorFieldPlanner failed: Deviated from straight line constraint.
[INFO] [prpy.planning.base:base.py:239]:plan: Sequence - Calling planner "GreedyIKPlanner".
/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/workspace.py:130: RuntimeWarning: invalid value encountered in multiply
  max_pose[0:3, 3] += max_distance*direction
Traceback (most recent call last):
  File "run_demo.py", line 123, in <module>
    robot.GrabBlock(block, table, manip=manip)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/base/robot.py", line 116, in wrapper_method
    return delegate_method(self, *args, **kw_args)
  File "/home/aaronjoh/sc-ros/src/herbpy/src/herbpy/action/blocks.py", line 43, in GrabBlock
    timelimit=5)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/base/wam.py", line 298, in MoveUntilTouch
    execute=False, **kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/base/manipulator.py", line 73, in wrapper_method
    return self._PlanWrapper(delegate_method, args, kwargs)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/base/manipulator.py", line 171, in _PlanWrapper
    args, cloned_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/base/robot.py", line 596, in _PlanWrapper
    result = planning_method(self, *args, **kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/base.py", line 180, in meta_wrapper
    return self.plan(method_name, args, kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/base.py", line 351, in plan
    return plan_fn(*args, **kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/base.py", line 180, in meta_wrapper
    return self.plan(method_name, args, kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/base.py", line 244, in plan
    output = planner_method(*args, **kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/base.py", line 180, in meta_wrapper
    return self.plan(method_name, args, kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/base.py", line 244, in plan
    output = planner_method(*args, **kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/base.py", line 95, in __call__
    return call_planner()
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/base.py", line 75, in call_planner
    *args, **kw_args)
  File "/home/aaronjoh/sc-ros/src/prpy/src/prpy/planning/workspace.py", line 136, in PlanToEndEffectorOffset
    maxaccelerations=0.1*numpy.ones(7)
openravepy._openravepy_.openravepy_ext.openrave_exception: openrave (InconsistentConstraints): [virtual OpenRAVE::PlannerStatus TrajectoryRetimer::PlanPath(OpenRAVE::TrajectoryBasePtr):130] lower limit for traj point 2 dof 6 is not followed (-inf < -1.000000000000000e+06)
[INFO] [rospy.core:core.py:387]:signal_shutdown: signal_shutdown [atexit]

In #174 I discovered that GreedyIKPlanner fails if max_distance is infinite. I added a workaround in that pull request, but did not fix the underlying issue.;
@siddhss5 @psigen Do you have any better ideas about how to fix this?

I understand the desire to input a max_distance of infinity to represent "I want you to go as far as you can", but the semantic breaks down for any planner that is not an incremental planner from the start configuration.
For nearly any other type of planner, it will either return failure, as in GreedyIK which needs a finite length workspace path to work with, or result in arbitrarily inefficient behavior, as (I'm guessing) in cBiRRT where some arbitrary far away goal is selected and the backwards tree is, in effect, useless (except maybe for biasing).
You could try to kludge around that by asking bidirectional searchers to go to min_distance instead, but that can lead to silly behavior if min_distance = 0. You could try to kludge around that by faking them to be incremental by adding small increments to their plan target at a time, but that makes them very inefficient.
In my opinion, the caller of the MoveUntilTouch has the most information about the problem, and ought to provide a reasonable max_distance. A max_distance of infinity is downright lazy and I wouldn't encourage it.

Those are really good points. It doesn't make sense to sample uniformly from [ min_distance, infinity ) because no such probability distribution exists. :sweat:
I'll modify MoveUntilTouch to make max_distance a required parameter. Temporarily, to maintain backwards compatibility, I'll print a warning if the argument is not specified and default to the current upper bound on the reachability of the WAM (2 meters).

In general, we can be much cleverer about this with our planners than we are right now.

For example, we can easily ask OMPL to return the forward tree after a failed run and post-process the tree to see if we've gone beyond the minimum distance. I think @jeking and I spoke about this way back.

or_ompl doesn't support constraints at all right now, so we don't use it for PlanToEndEffectorOffset.
It would still be nice to switch to @cdellin's CBiRRT implementation in OMPL, instead of continuing to use the one in CoMPs. @cdellin @jeking04 do you know what the status of that planner is?


使用 SQLUtils.toSQLString 生成 SQL 少了一个 ")" 的问题

使用 SQLUtils.toSQLString 在带有小写的 within group 的情况下， 生成的 SQL 在 within group 前少了一个 ")" ，

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


No sample option

There is no option in portal to select a sample to populate database. There is just blank and backup

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

ID: 90467e66-9062-01e3-6d40-fce8625d005b
Version Independent ID: 8db6b4e9-fd3a-8b45-1283-7f7144772a88
Content: Quickstart: Create and query Azure SQL Data Warehouse - Azure portal
Content Source: articles/sql-data-warehouse/create-data-warehouse-portal.md
Service: sql-data-warehouse
Sub-service: development
GitHub Login: @XiaoyuL-Preview
Microsoft Alias: xiaoyul

@kali11 Thanks for your feedback. Could you please elaborate whether you are using SSMS or azure portal. Also are your trying SQL DW or SQL Db.
Anyhow, the tutorial shows the screenshot of SSMS. Whenever we connect to SQL server, it will show all the Databases and DWs in that server and then you can dig into it.
By default there would be some system tables.
Hope this helps. Please let us know if you need more information.

I'am using Azure Portal and I'am trying to create SQL DW.
I'am refering to section "Create a data warehouse", point 3.
Currently, in portal there is no option to select "Sample" as a Source. Thus I cannot create DW with AdventureWorksDW tables. I can only create blank DW or restore from backup.

@kali11 Thanks for your feedback. I have verified further. "Sample" option is available for SQL Database but not for SQL DWH. I'll assign this issue to content author to update the document appropriately.
@XiaoyuL-Preview  Could you please update the document appropriately for creating the SQL DWH. There is no option to select "Sample" as source for SQL DWH.
Hope this helps.

@angoyal-msft,  Many of the tutorials and learning resources point to the AdventureWorksDW Sample for the SQL DWH, can you please provide alternative options for getting the sample files restored as a DW?

There is this:
https://github.com/microsoft/sql-server-samples/tree/master/samples/databases/adventure-works

It appears that the option to create a SQL Data Warehouse is back now.

The option with a sample database, I mean

@datachick Hi, thank you for bringing this to our attention. The sample database was removed and has now been re-added as you state. Please let me know if you need anything further. I will proceed with closing out this Git Issue. Thanks!

#please-close


Couldn't run in web browser .

display error
Hi, I'm a university student. I love 'clasp' and 'gas-clasp-starter' .
I cloned this repository .
I could run this sample project before February .
Recently, command: npm run deploy and clasp open go very well, but couldn't run in web browser . (See the image below, plz)

This means we can't use your sentences declare var global: any; ???
How can I use and run successfully again ?
Because of being introduced 'V8' ???
Development version

Node version (node -v): v13.10.1
Version (clasp -v): 2.3.0
OS (Mac/Linux/Windows): Mac

Hi @uewolf25
gas-clasp-startar builds two files.
└─ dist/appsscript.json
└─ dist/bundle.js

sample

But the File name in which the error occurred is src/index.
Looks like the build is failing.

Also, is the rootDir of the clasp.json file set to dist?
{
  "scriptId": "<your_script_id>",
  "rootDir": "dist" <- Check it
}

Thanks for your replay, @howdy39  .
I missed adding --rootDir option when I create my project .
So, clasp.json is not set "rootDir": "dist" ...

I could run my project in my own way .
Too much appreciation !!
thx


[quick_actions] add custom modulemap with test submodule

This is to prepare for backfilling unit tests, which is a pre-requisite for swift migration.
This plugin is chosen to be the first plugin for Swift migration, because:

It's relatively smaller, but not too small
It has good UI test coverage. Good candidate to showcase ui test in swift.
It has 0% unit tests coverage. Good candidate to showcase how to backfill unit tests
Needs to refactor a few internal states for unit tests. Good candidate to showcase pre-migration refactoring.

List which issues are fixed by this PR. You must list at least one issue.
https://github.com/flutter/flutter/issues/108750
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@stuartmorgan friendly ping


Multi-database support

Projects using multiple databases cannot use django-pgviews outside of the default database.
I'm using django-pgviews on a project connected to two databases. In our case, the default database is quite small, while the 2nd database is large and could make valuable use of materialized views.
To support multiple databases, I think the following modifications need to be made:

Modify how connection cursors are obtained to make use of the connections dictionary:
https://github.com/mikicz/django-pgviews/blob/269c17f3e08c76a7cb971afcf2241ee76858589c/django_pgviews/view.py#L176
https://github.com/mikicz/django-pgviews/blob/269c17f3e08c76a7cb971afcf2241ee76858589c/django_pgviews/view.py#L441

Update view creation to refer to the database router's allow_migrate so views are only created within the appropriate database.

Update management commands to support running against specific databases, as migrate works. For example:
python manage.py sync_pgviews  # default db
python manage.py sync_pgviews --database=customers

In the end, the majority of users using a single database shouldn't notice any differences and everything will continue to function as normal 🤞
I have a proof of concept currently working on a fork. Would there be any interest in possibly incorporating these changes if I can put together a PR?

Hi Colin,
I'd be happy to review, merge and release such a PR, if it's coded well (mainly meaning following the style of the project, adding tests and documentation) and no breaking changes are introduced (everything should remain as is for current users with just the default database).
I think there's also issues about this in the original repo (https://github.com/mypebble/django-pgviews/issues/39, https://github.com/mypebble/django-pgviews/pull/52) and there's also an unfinished PR for this in this repo (https://github.com/mikicz/django-pgviews/pull/1), so it seems a lot of people could use this!

Implemented in https://github.com/mikicz/django-pgviews/pull/10, released as 0.8.0 to PyPI.


Windows backend

This PR introduces support for Windows using Microsoft's Python/WinRT bridge. Closes #1.
This PR introduces a dependency on winrt with binary components. This is necessary for interaction with the Windows Runtime and therefore rich notification. The alternative would be support for "plain" notifications with a title and message only as provided by the winapi. The latter can be accessed via FFI / ctypes. See the discussion in #1.
Todo:

[x] Wait for a new Python/WinRT release with support for the SDK version 18362 (https://github.com/microsoft/xlang/pull/744).
[ ] Update documentation.

Switched from no longer maintained winrt to the community-supported fork at https://github.com/pywinrt/python-winsdk.


/zh/ Broken Links Increased after merge.

This is a Bug Report
I do a small monitoring of my progress of removing deadlinks from kubernetes website, yesterday we had an increase of deadlinks from 187 to 295. All of the new urls are from /zh/ path. I am not posting a list as it inefficient.
I have use my tool called deadlinks
deadlinks kubernetes.io -n10 --no-colors --no-progress | grep /zh

/language zh

About 40 urls "fixed" in Chinese localization by /zh team.

closed in favor of the kubernetes/website#18411


Enable cta config

Adds the ability to load a chat-chat CTA block on pages as specified by path in metadata.xlsx
Accounts for turning off specific CTAs, and CTAs already on the page

Resolves: MWPW-125597
Test URLs:

Before: https://main--bacom--adobecom.hlx.page/drafts/slavin/chat-cta-examples/page-one?martech=off
Before: https://main--bacom--adobecom.hlx.page/drafts/slavin/chat-cta-examples/page-three?martech=off
Before https://main--bacom--adobecom.hlx.page/drafts/slavin/chat-cta-examples/page-four?martech=off
After: https://enable-cta-config--bacom--adobecom.hlx.page/drafts/slavin/chat-cta-examples/page-one?martech=off
After: https://enable-cta-config--bacom--adobecom.hlx.page/drafts/slavin/chat-cta-examples/page-three?martech=off
After https://enable-cta-config--bacom--adobecom.hlx.page/drafts/slavin/chat-cta-examples/page-four?martech=off

Context
After working with Chris, we had a milo focused modal approach which worked to fulfill most of the requirements. However, during stakeholder acceptance, two specific requirements came up that might require the utilization of JS:

Ensuring that focus is not set on the chat-widget on load: this is a feature of the modals and to be expected, but not expected here.
Removal of the cta from view on mobile when the modal is open

Because of these two items, I am reopening this PR.

Codecov Report

Merging #91 (c1c751e) into main (d9e834f) will decrease coverage by 4.75%.
The diff coverage is 28.00%.

@@             Coverage Diff             @@
##              main      #91      +/-   ##
===========================================
- Coverage   100.00%   95.25%   -4.75%
===========================================
  Files            5        5
  Lines          359      379      +20
===========================================
+ Hits           359      361       +2
- Misses           0       18      +18

Impacted Files
Coverage Δ

blocks/chat-cta/chat-cta.js
51.35% <28.00%> (-48.65%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update telegraf docs link to installed version

Telegraf 1.9.3 is used on PKS 1.4, link to Metrics from that version in docs
https://www.pivotaltracker.com/story/show/169236607

thank you @rheaton


Build and publish a docker image [$100]

see https://github.com/cmelion/generator-ng2-webpack/wiki/Why-Docker%3F

---
Did you help close this issue? Go claim the **[$100 bounty](https://www.bountysource.com/issues/31789904-build-and-publish-a-docker-image?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github)** on [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github).

I finally have access to Docker Beta for Mac!
With any luck I'll have an image for ng2-webpack built this weekend.

The Dockerfile has been published to DockerHub:  https://hub.docker.com/r/cmelion/generator-ng2-webpack/
You can pull the complete image and be up and running very quickly via Kitematic (I'm using the beta with Docker for Mac Beta).
The container spins up and the site works as expected, but I'm struggling to figure out how volumes work:   https://forums.docker.com/t/mounting-a-volume-and-accessing-from-kitematic-beta/10953
Any help I can get with this issue will be greatly appreciated.

Looking into https://github.com/nlf/dlite as an alternative to Docker Beta.

The key to resolving the VOLUME mapping appears to be the entrypoint:
For example:
COPY docker-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
Digging into https://github.com/docker-library/ghost/blob/dce058cc4528fee2efa3cdd0d4d12feed8d91a5d/docker-entrypoint.sh

Determined that, while it's a nice to have to "seed" the host directory from the container, it's not really necessary.
Still need to work out the complete workflow but as long as the src directory exists performing docker run -v with identical port mappings works flawlessly.  If the ports are mis-matched then hot-loading won't work.
docker run -t -i -p 8080:8080 -v /Users/user/Documents/Kitematic/generator-ng2-webpack/src:/home/yeoman/client/src cmelion/ng2webpack:v12

See https://github.com/cmelion/generator-ng2-webpack/wiki/Sample-Docker-Workflow


rand: remove the ossl_rand_pool_add_additional_data() function.

This function isn't called from anywhere and cannot easily be used by the current RNG infrastructure.

This pull request is ready to merge

Merged, thanks.


Schema generation script changes: support code generation for a different schema endpoint

Script to generate the schemas has been separated into two scripts:

Use generate-rancher-schemas.sh to generate the cattle(v2-beta) and
catalog(v1-catalog) schemas
Use gen-schema.sh <url_to_schema> <folder_to_save_generated_files> to
generate schema for any other schema endpoint

LGTM


Adjust immutable dependency version to optimize bundle size

DraftJS 0.10.1 just use "immutable": "~3.7.4" while MegaDraft use "immutable": "^3.8.1".

Hi @LyTranCong,
Immutable 3.7.4 has 55.3 KB and 3.8.1 has 55.7KB.
The difference is 0.4KB, did you see that ?

Hi @marcelometal ,
If the version range is mismatch, npm will install both versions and webpack will include both in the bundle. In this case, 3.7.4 for DraftJS and 3.8.1 for MegaDraft!

@LyTranCong,  Ah! Good point... Thank you!


Add boolean dtype support

@prasunanand I believe this issue should be closed as boolean has been added.


Move SpatialOperation from lucene to spatial4j

Right now the spatial operation code is in the lucene module.  This means that libraries require lucene core to know the supported operations.  We should have access to the operations from client code
Lets move this to spatial4j

in the next release, we could deprecate the lucene values and have them extend from here

Where do you see this being used within Spatial4j?  Especially SpatialArgs?  I suspect your answer is nowhere but your client code happens to have Spatial4j on its classpath but not Lucene spatial, so that is what's actually driving this -- which isn't really convincing.  That was also the argument for GeohashUtils being here, which still feels arbitrary; it's got nothing to do with the rest of Spatial4j.  It's fundamentally not about shapes.  Something could be said about SpatialPredicate (formerly SpatialOperation) specifically though... especially if we want to break out of the limited SpatialRelation options.

Good point about SpatialArgs -- i removed that from this request.
SpatialPredicate does feel like a generally useful client action

Before this can be moved forward (merged to master) I think it needs to be clear where the Shape API might use this.  If it sits there with no other class using it (like GeohashUtils) then why bother?

Isn't this for people trying to use the Shape API?   As a Shape consumer, i would WAY rather write:
SpatialPredicate.IsDisjointTo( a, b )
vs
! a.relate(b).intersects()

Okay +1.
Perhaps some day we might have the Shape API have a method like boolean satisfies(predicate, shapeB) or something like that, so that it could perhaps optimize for just knowing the boolean answer rather than a SpatialRelation which is a more rich answer.  I dunno yet what the API might look like -- just throwing that out there.  Another approach would have direct predicate methods like isWithin(shapeB) right on the shape but that would lead to a lot more methods.
It's a shame the more rich set of predicates supported by JTS in JtsGeometry is isolated there.  Maybe that's somewhat inevitable.

It's a shame the more rich set of predicates supported by JTS in JtsGeometry is isolated there. Maybe that's somewhat inevitable.
Yes -- it seems like that is the tradeoff for having JTS as an optional dependency


Breaks on decoding Google+ APKs

Original issue 635 created by archon810 on 2014-05-20T15:08:46.000Z:

What steps will reproduce the problem?

Download Google+ APK 4.3+ from http://www.androidpolice.com/2014/05/20/google-app-gets-a-big-update-to-v4-4-with-a-new-ui-auto-awesome-stories-improved-support-for-large-photo-libraries-and-more-apk-download/
Attempt to decode it.
Receive crash midway through decoding resources.

What is the expected output? What do you see instead?
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x7f030010
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:60)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:49)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:553)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:309)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:119)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:115)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)
What version of the product are you using? On what operating system?
Using Apktool 2.0.0-Beta9-1e3b66f9be on com.google.android.apps.plus-<IP_ADDRESS>576161.apk

While investigating #1103 , it had the same issue of this. A reference that points to a resource that doesn't exist. Not quite sure why this is happening yet, whether its an improper decode of a different type of resource.
Maybe we need to check if a resource exists in the private package (0x7f), if it doesn't then set to @null. Something is weird.

Very old bug. I found in the instances that this happened, they were parent tags in the styles.xml file pointing to a local resource that doesn't exist.
So then I thought the decode was missing some resources, but the failing ID didn't exist in the apk nor were then any errors -
➜  Bug635 aapt d resources com.google.android.apps.plus_<IP_ADDRESS>576161.apk | grep 'CONFIG'

So if the parent of a style doesn't exist, we just don't write out the parent tag. This may lead to errors, but worked in this case and allows decode to succeed.
➜  Bug635 apktool d com.google.android.apps.plus_<IP_ADDRESS>576161.apk -f
I: Using Apktool 2.2.0-e1dd43-SNAPSHOT on com.google.android.apps.plus_<IP_ADDRESS>576161.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
➜  Bug635 apktool b com.google.android.apps.plus_<IP_ADDRESS>576161
I: Using Apktool 2.2.0-e1dd43-SNAPSHOT
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'auth_client_needs_enabling_title' has no default translation.
W: warning: string 'auth_client_needs_installation_title' has no default translation.
W: warning: string 'auth_client_needs_update_title' has no default translation.
W: warning: string 'auth_client_play_services_err_notification_msg' has no default translation.
W: warning: string 'auth_client_requested_by_msg' has no default translation.
W: warning: string 'auth_client_using_bad_version_title' has no default translation.
I: Copying libs... (/lib)
I: Building apk file...
I: Copying unknown files/dir...
➜  Bug635


Can I include a html file in other html file?

Suppose, I have index.html as well as header.html. The header.html is as follows:

      <%= name %>

I want to include this header in index.html. I am thinking of something like this:

       <%= _.template('header.html')({name: "New Header"}) %>

Note: This is not an issue but enhancement.

Nah, outside the scope of this plugin. This is strictly for compiling/precompiling Lodash/Underscore templates.
If you need more advanced things like includes/extends, see https://github.com/carlosl/gulp-nunjucks-render.

Thanks, that plugin seems to do the trick!! :)


validation controller too chatty in istiod log

Bug description
The info log is too hard to read because too many messages from validation controller, every min?
2020-05-18T21:06:30.039554Z	info	validationController	Reconcile(enter): retry dry-run creation of invalid config
2020-05-18T21:06:30.042850Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid rejected for the wrong reason: gateways.networking.istio.io is forbidden: User "system:serviceaccount:istio-system:istio-reader-service-account" cannot create resource "gateways" in API group "networking.istio.io" in the namespace "istio-system"
2020-05-18T21:06:30.043465Z	info	validationController	validatingwebhookconfiguration istiod-istio-system (failurePolicy=Ignore, resourceVersion=58319655) is up-to-date. No change required.
2020-05-18T21:06:30.043492Z	info	validationController	Reconcile(enter): retry dry-run creation of invalid config
2020-05-18T21:06:30.057320Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid rejected for the wrong reason: gateways.networking.istio.io is forbidden: User "system:serviceaccount:istio-system:istio-reader-service-account" cannot create resource "gateways" in API group "networking.istio.io" in the namespace "istio-system"
2020-05-18T21:06:30.058050Z	info	validationController	validatingwebhookconfiguration istiod-istio-system (failurePolicy=Ignore, resourceVersion=58319655) is up-to-date. No change required.
2020-05-18T21:06:31.043056Z	info	validationController	Reconcile(enter): retry dry-run creation of invalid config
2020-05-18T21:06:31.047084Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid rejected for the wrong reason: gateways.networking.istio.io is forbidden: User "system:serviceaccount:istio-system:istio-reader-service-account" cannot create resource "gateways" in API group "networking.istio.io" in the namespace "istio-system"
2020-05-18T21:06:31.047551Z	info	validationController	validatingwebhookconfiguration istiod-istio-system (failurePolicy=Ignore, resourceVersion=58319655) is up-to-date. No change required.
2020-05-18T21:06:31.057606Z	info	validationController	Reconcile(enter): retry dry-run creation of invalid config
2020-05-18T21:06:31.060628Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid rejected for the wrong reason: gateways.networking.istio.io is forbidden: User "system:serviceaccount:istio-system:istio-reader-service-account" cannot create resource "gateways" in API group "networking.istio.io" in the namespace "istio-system"
2020-05-18T21:06:31.061402Z	info	validationController	validatingwebhookconfiguration istiod-istio-system (failurePolicy=Ignore, resourceVersion=58319655) is up-to-date. No change required.

Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
How was Istio installed?
when centralIstiod is enabled
Environment where bug was observed (cloud vendor, OS, etc)

I don't think we want to make this less verbose, its indicating a real error. We should fix the error

we do not need try to update failure policy from validation controller in remote cluster. This has already been done by the validation controller in main cluster.


⚠ Bofrost.fr has degraded performance

In e15c7ec, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1336 ms

Resolved: Bofrost.fr performance has improved in 580c192 after 9 minutes.


Cluster does not have enough resources to deploy Bank of Anthos

Expected Behavior
After running all steps in the READMEs, Bank of Anthos is deployed in the clusters.
Actual Behavior
Most of the services fails due to lack of resources.
e.g.:
pods "ledgerwriter-5df95fb547-4c7d2" is forbidden: exceeded quota: transactions, requested: limits.cpu=2700m, used: limits.cpu=5400m, limited: limits.cpu=6

The cluster cannot be scaled up to more than 4 machines, due to  IP_SPACE_EXHAUSTED errors in the instance groups of the node pools
IP_SPACE_EXHAUSTED	gke-gke-1-boa-d-us-east1-np-us-east1-89b4eb38-505x	us-east1-c	Creating	May 17, 2021, 8:44:53 AM UTC-03:00	Instance 'gke-gke-1-boa-d-us-east1-np-us-east1-89b4eb38-505x' creation failed: IP space of 'projects/prj-d-shared-base-d331/regions/us-east1/subnetworks/gke-cluster1-su-pod-ip-range-9682ef0a15e2d26b' is exhausted.

The configured range for pod-ip-range is  <IP_ADDRESS>/22 which give us only 4 chunks of 256 address to be used per instance
see Pod IP addresses info
Most of the Cluster resources are used by Istio
Steps to Reproduce the Problem

follow all the steps to deploy the foudation-app

Specifications

Version: 5b02673ce839e2ec0f35b2039f57d365e3fbcab9
Platform: Linux 20.04

Documentation related to cluster CIDR sizing

https://cloud.google.com/kubernetes-engine/docs/concepts/alias-ips#cluster_sizing
https://cloud.google.com/kubernetes-engine/docs/concepts/alias-ips#defaults_limits

Proposed change
DEVELOPMENT
Cluster 1 node CIDR

before
after

<IP_ADDRESS>/29
<IP_ADDRESS>/27

Cluster 2 node CIDR

before
after

<IP_ADDRESS>/29
<IP_ADDRESS>/27

MCI (keep value)

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/22

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/26

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

Cluster 1

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/19

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/23

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

Cluster 2

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/19

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/23

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

NON-PRODUCTION
Cluster 1 node CIDR

before
after

<IP_ADDRESS>/29
<IP_ADDRESS>/27

Cluster 2 node CIDR

before
after

<IP_ADDRESS>/29
<IP_ADDRESS>/27

MCI (keep value)

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/22

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/26

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

Cluster 1

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/19

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/23

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

Cluster 2

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/19

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/23

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

PRODUCTION
Cluster 1 node CIDR

before
after

<IP_ADDRESS>/29
<IP_ADDRESS>/27

Cluster 2 node CIDR

before
after

<IP_ADDRESS>/29
<IP_ADDRESS>/27

MCI (keep value)

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/22

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/26

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

Cluster 1

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/19

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/23

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

Cluster 2

secondary range
before
after

pod-ip-range
<IP_ADDRESS>/22
<IP_ADDRESS>/19

services-ip-range
<IP_ADDRESS>/26
<IP_ADDRESS>/23

master_cidr
<IP_ADDRESS>/28
<IP_ADDRESS>/28

Alternative to changing the CIDR ranges:

update the max pods per node to allow creation of mor nodes
update the resource quotas for cpu limits in the namespaces


Header - Desktop - Magnifying glass next to Search is the wrong color

Expected behavior
I would expect the magnifying glass to be burgundy.

Actual behavior
The magnifying glass is teal.

Steps to reproduce behavior
Go to https://tastefully-simple-sandbox-2.mybigcommerce.com/shop
View the magnifying glass next to the search box in the header.

Still Teal

Closing out as a non bug due to Styleguide directon for this feature to be teal.


Rebuild sponsor page with new designs

Context
To try get sponsors we need a better sponsor page
Expected Behavior
The sponsor page that looks like the designs provided (some creativity or questions will be needed to make it responsive).
https://www.figma.com/file/yKc7ind3lHUTpqkjTePy1N/codu.co?node-id=0%3A1&t=g5Mc4x2PfO7MW6dC-1
Current Behavior
Has a page but not designed in the new style.

Can you assign that to me, please?

I'm going to close this and open up the issues separately to finish the page and get it production ready 🔥 Thanks for the work @viniirbr ❤


Connection refused connecting to http://<IP_ADDRESS>:8890/

I have no idea why chef-provisioning tries to connect to the gateway IP. It's just a bridge/routing IP not the host IP. (Docker for Mac)
Error:
ERROR: Connection refused - Connection refused connecting to http://<IP_ADDRESS>:8890/nodes/wario, giving up

Code:
require 'cheffish'
require 'chef/provisioning/docker_driver'

with_driver 'docker'

Cheffish.honor_local_mode do
  machine 'wario' do
    recipe 'openssh::default'

    add_machine_options(
      docker_options: {
        base_image: {
          name: 'ubuntu',
          repository: 'ubuntu',
          tag: '14.04'
        },
        :command => '/usr/sbin/sshd -p 8022 -D',
      },
      convergence_options: {
        chef_server: "http://<IP_ADDRESS>:8889/"
      }
    )
  end
end

Were you able to solve this? We face exactly same issue.

While I have no idea why it's trying to connect to the bridge address, this might help for anyone else who runs into the same issue on a mac: https://til.hashrocket.com/posts/94a6225fad-loopback-to-different-127-ips-mac-osx

Should be fixed on master now


Space is Closed bug

If I'm a mod, and I do the following actions:

Close the space
Log out
Attempt to log back in
I get past the login screen but the server either refuses to send me information or ??? and can't see Rooms, can't progress, etc. I'm not 100% sure it wasn't caused by ban/unban changes I was making, either. I fixed it by just going into Redis and flipping it.

This isn't a huge issue because we have a bunch of mods on prod who can flip it and we can also use Redis if we need to. Just something to be aware of.

FWIW, I am unable to reproduce this.
I suspect my fix for #279 will also end up resolving this for you — will nudge you to test when that's merged in.

@MoyTW that fix worked for Britta, so it would be cool if you could test this again on the account you experienced this with. You'll want to un-mod and re-mod that account from a different one.

Seems fixed.


All uploads don't have the same fileGroupUUID

Dany had an instance of this error from the server recently. I'm reporting in Neebla because this was reported in the client.
2021-02-26 18:52:15.804 [Error] [main] [ServerInterface.swift:101] userEvent(_:event:) > Optional(iOSBasics.ServerAPI.ServerAPIError.non200StatusCode(500))
2021-02-26 18:52:16.112 [Error] [main] [ServerAPI.swift:95] checkForError(statusCode:error:serverResponse:) > nil; serverResponse: Optional("Optional([AnyHashable(\"error\"): Could not FinishUploads: Optional(\"All uploads don\\\'t have the same fileGroupUUID\")])")
2021-02-26 18:52:16.112 [Error] [main] [ServerAPI+FileTransferDelegate.swift:115] uploadCompleted(_:file:response:responseBody:statusCode:) > ServerAPI+FileTransferDelegate.uploadCompleted: non200StatusCode(500)

On the server, the collection of uploads are qualified by:  userId, sharingGroupUUID, and deviceUUID.
let fileUploadsResult = params.repos.upload.uploadedFiles(forUserId: currentSignedInUser, sharingGroupUUID: sharingGroupUUID, deviceUUID: deviceUUID, deferredUploadIdNull: true)

https://github.com/SyncServerII/ServerMain/blob/604adddf369a5e8ec077bbfa4bda88a37dcba4c1/Sources/Server/Controllers/FileController/FinishUploadFiles.swift#L79
It seems that in Dany's case, two uploads succeeded, and then one of the uploads failed. There are two rows still existing in the Upload table. I'm not sure what happened after that. Perhaps other uploads were attempted? Presumably it had to be with the same userId, sharing group, and device UUID.
Possible strategies to deal with this:

On the client side, a new upload shouldn't be attempted for the same sharing group if one is still pending. This is actually something I didn't have in my mind before. I need to make sure iOSBasics has some constraints that don't allow multiple simultaneous uploads of separate media objects.

It seems like there should be some clean up capability server-side. I had Dany resolve the state he found himself in by deleting and re-installing his app. That worked because he got a new device UUID. However, there is still cruft on the server. There are still two rows in the Upload table. And more generally, if a user/client gets into a state like this, they'll be perpetually getting errors. I'm not sure how that clean up would operate. Since there is an error condition on the server when the "All uploads don't have the same fileGroupUUID" is detected, a rollback will be carried out. I'm not sure how I'd do a clean up in that case-- as that will require committing some changes to the database.

This also speaks to the need for upload retries. I think I'm not handling that well if at all now.

It is possible that there could be ongoing cruft in the Upload table outside of the above. For example, if part of an upload succeeded (at least one file), and then the app crashed and the upload never continued. E.g., if the app was deleted. One strategy to deal with this would be to add dates to the Upload table, and then remove rows from the Upload table that are too old. Not sure when that would be done. Seems a bit overkill to do it on every upload.

Server test case: Upload a file with file group 1, with 1 of 1 files.
Server test case: Upload another file with file group 1, with 1 of 1 files.
Does this work with the Uploader?

My first strategy is to add a new field to the Uploads table, say "batchUUID"-- this will be an id for the specific N of M batch of uploads.
The goal with this is to ensure I can't get the same problem as I had above. That if one batch of uploads fails somehow that a following batch of uploads can still occur.
I think also that I need to add a batchExpiry field to this table. The purpose of that will be to clean up the Upload table of uploads that are older than certain age.
Each client upload will then need to add these two fields, into the upload request.

Upload retries: When an upload fails, I need to reset it back to a non started state. Just like I'm doing with downloads right now.

Test case:
Upload 1 of 2 files with file group 1, sharing group 1, batch UUID X. (And maybe later 2 of 2).
Upload 1 of 2 files with file group 2, sharing group 1, batch UUID Y. (And maybe later 2 of 2).
In order to have simultaneous uploads of media objects in this same sharing group, this has to work. Not sure if it works now.


Exclude custom template elements from search for cssFromElement().

Fixes #4005

I was previously covered by Intel's agreement, but I now work for a company called Progressive Web Development Limited.
I have now signed the agreement.

Closing, as original tracking issue was closed.


Explore OGRE for not games alike projects like VR

Nice introduction reading: https://forums.ogre3d.org/viewtopic.php?t=95350

https://www.youtube.com/watch?v=FnVuuNqKDfE Voxels and OGRE


Add missing publications and conference talks

@garloff @fkr @ManuelaUr Please check if I've overseen a talk or publication you want to see listed on our website.

LGTM!

Let's merge this and add the Kielux talk in a separate PR. Agree @fkr ?

ack.


App hangs on Android on Motorola E6

Plugin Version or Commit ID
0.11.0
Unity Version
2021.3.18
Your Host OS
Windows
Target Platform
Android
Target Device
Motorola E6
[Windows Only] Visual Studio C++ and Windows SDK Version
No response
[Linux Only] GCC/G++ and GLIBC Version
No response
[Android Only] Android Build Tools and NDK Version
No response
[iOS Only] XCode Version
No response
Build Command
n/a
Bug Description
Sample app hangs.  I realize that phone is really a potato but I wonder if we could get around and either not allow pose tracking or just handle without hanging the system.
In Sync mode it hangs when calling
UnsafeNativeMethods.mp_OutputStreamPoller__Next_Ppacket(mpPtr, packet.mpPtr, out var result).Assert();
Mediapipe.OutputStreamPoller1:Next(Packet1)
Mediapipe.Unity.OutputStream2:TryGetNext(TValue&, Int64, Boolean) Mediapipe.Unity.GraphRunner:TryGetNext(OutputStream2, TValue&, Boolean, Int64)
In Async the camera works compared to Sync but when I enter mediapipe settings, change e.g. model and close it also hangs in function
UnsafeNativeMethods.mp_CalculatorGraph__WaitUntilDone(mpPtr, out var statusPtr;
Mediapipe.Unity.GraphRunner:Stop()
Thanks.
Steps to Reproduce the Bug
In Async mode just enter settings, change model to Light and clsoe settings.
In Sync method app will not display any feed from the camera.
 Major : 1 Minor: 4
04-19 10:01:24.670 30143 30199 I native  : I20230419 10:01:24.670215 30199 gl_context.cc:342] GL version: 3.2 (OpenGL ES 3.2 build 1.10@5130912)
04-19 10:01:25.360 30143 30158 I native  : I20230419 10:01:25.359982 30158 gl_context_egl.cc:84] Successfully initialized EGL. Major : 1 Minor: 4
04-19 10:01:25.365 30143 30308 I native  : I20230419 10:01:25.365548 30308 gl_context.cc:342] GL version: 3.2 (OpenGL ES 3.2 build 1.10@5130912)
04-19 10:01:25.404 30143 30199 I tflite  : Initialized TensorFlow Lite runtime.
04-19 10:01:25.418 30143 30199 I tflite  : Replacing 291 node(s) with delegate (unknown) node, yielding 1 partitions.
04-19 10:01:25.713 30143 30190 E Unity   : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_ENUM: enum argument out of range
04-19 10:01:25.997 30143 30199 I tflite  : Replacing 291 node(s) with delegate (unknown) node, yielding 1 partitions.
Screenshot/Video
No response
Additional Context
No response

First, please build the app with Development build enabled and share the log.

I realize that phone is really a potato but I wonder if we could get around and either not allow pose tracking or just handle without hanging the system.

Can you confirm that the official sample app (provided by MediaPipe developers) runs on your phone?

In Async mode just enter settings, change model to Light and clsoe settings.
In Sync method app will not display any feed from the camera.

Please share the video.

In Sync mode it hangs when calling
UnsafeNativeMethods.mp_OutputStreamPoller__Next_Ppacket(mpPtr, packet.mpPtr, out var result).Assert();
Mediapipe.OutputStreamPoller1:Next(Packet1)
Mediapipe.Unity.OutputStream2:TryGetNext(TValue&, Int64, Boolean) Mediapipe.Unity.GraphRunner:TryGetNext(OutputStream2, TValue&, Boolean, Int64)

How did you confirm that?
It looks to me that the above is a stack trace, but there's no such output in the log you shared.

Couldn't you get the logs when the app crashed using adb?
I think the filter may be too strong and the logs may not be output. For example, is it possible that the app was killed by the OS because it was consuming a lot of memory?

I am using adb logcat with filter you have provided. Do you have perhaps any suggestion for a filter? Cause I can provide everything but as I could see there is ton's of logs and might be hard to capture. Are you ok to send logs wiht everything instead?

If you want to identify the cause, I believe someone needs to read the logs. And I think the app developer should be the one to read them.

Hello. Please find logs with no filter from Async mode run that ends with crash.
log.txt

As I mentioned before, isn't it just that the app was KILLED by the OS due to lack of memory?

04-20 08:11:38.728   946  1042 W InputDispatcher: channel '7e11d6a com.DefaultCompany.MediaPipeUnityPlugin/com.unity3d.player.UnityPlayerActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
04-20 08:11:38.729   500   500 I ADB_SERVICES: for fd 19, revents = 2011
04-20 08:11:38.729   946  1042 E InputDispatcher: channel '7e11d6a com.DefaultCompany.MediaPipeUnityPlugin/com.unity3d.player.UnityPlayerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
04-20 08:11:38.729   500   500 I ADB_SERVICES: for fd 19, revents = 2011
04-20 08:11:38.730   452   503 I SurfaceFlinger: [SF client] Remove(0x75aa592900) for (64:)
04-20 08:11:38.732   946  1356 I ActivityManager: Process com.DefaultCompany.MediaPipeUnityPlugin (pid 12214) has died: fore TOP
04-20 08:11:38.734   946  1356 W ActivityManager: Force removing ActivityRecord{a7d00f1 u0 com.DefaultCompany.MediaPipeUnityPlugin/com.unity3d.player.UnityPlayerActivity t135}: app died, no saved state
04-20 08:11:38.750   529 12299 D isp_tuning_custom: [ratioMapping] sensorId = 30c7
04-20 08:11:38.752   529 12299 W MtkCam/ImgBuf: [IonHeap::onCreate] IonHeap@ Bad stride at 0-th plane: heapStridesInBytes(2768) -> (1476.266724)(pixels) -> StridesInBytes(2767)
04-20 08:11:38.760   946   964 W libprocessgroup: kill(-12214, 9) failed: No such process
04-20 08:11:38.761   946   964 I libprocessgroup: Successfully killed process cgroup uid 10114 pid 12214 in 28ms
04-20 08:11:38.769   452   977 D GuiExt  : [GuiExtS] binder of dump tunnel(BQM-[12214:com.DefaultCompany.MediaPipeUnityPlugin]) died

P.S.
I may have worded it in a misleading way, but I am of the opinion that you, the person in trouble, should read the log.
That is, please don't just throw logs at me without reading them.

Ok. You wrote that dev can read logs and since you are dev of that software I shared all lots :) Which I checked before sending you by the way same as debugged as much as I could.
Sorry, I have missunderstood your intention.

Thanks for sharing the raw logs without filtering (if filtered, I can't say anything with confidence).
However, if you find it hard to read the log, it is more or less the same for everyone.
I hope next time you will at least write about the research you have done on the possibilities I have raised.

For example, is it possible that the app was killed by the OS because it was consuming a lot of memory?

In this case, you could have found the log by searching for the word "kill".


Title: Loan Calculator

Describe your issue.
I want to add a project where user can calculate the loan using the amount, rate and year
It will have calculate and reset button
Screenshots (if applicable).
No response
Additional context (if any)
No response

@Drishti-jain21 Go ahead 🚀

@varunKT001
Heyy, I would like to add loan calculator code using javascript.
Please assign this to me.

@035pratheeksha Already assigned to @Drishti-jain21
You can create your issues for the projects you want to build. 😄

@035pratheeksha Already assigned to @Drishti-jain21
You can create your issues for the projects you want to build. 😄

okay,Thankyou.


response error

I am using a previous version of the library where all functions reside in index.js itself.
Right now , after the get request from https://0-edge-chat.facebook.com/pull , am getting the following response  always. what can be done to get the actual response, when a chat is being sent to the logged in user.
'{"t":"refresh","reason":110,"seq":0}'

Is there a reason why you can't update to a more recent version of the api?  Facebook changes every now and then, breaking our api and forces us to make updates to keep up.

@jijoamt ping

Gonna close this, please reopen if necessary :)

I have updated the library and was able to get messages yesterday. But today am not able to login. it says "Wrong username/password"  . seems headers.location is missing.

Facebook recently made a change to how they handle cookies on login.  This should be fixed on npm as of e9b0088.  Please update and try again. :)


drivers: spi: Kconfig.nrfx: Use RAM buffers for SPIMs by default

Enable by default the use of RAM buffers in the spi_nrfx_spim.c
driver for copying TX data located in flash (as SPIM peripherals
cannot transfer directly form flash). Without this patch, users can
get confused, especially when SPI transaction is used by an upper
level driver which does not check all error codes.
For size of the buffer, use the value used so far in the reel_board
default configuration and in the SPI loopback test, i.e. 8 bytes.
Fixes #28240.

@pabigot Could you check if this actually fixes #28240? I don't have the related hardware at hand.


Add module - generate manifest template

AC:

[ ] Pop up message if there is no files and the selected data type is file-base.
[x] Click button to generate google sheet link
[x] Display link and click link to google sheet
[ ] refactor DCA to use this module

Let's handle the warnings in a separate issue.

Closing this issue requires adding documentation for the module.


unintended_html_in_doc_comment triggers on some variants of allowed html tags in package:web

package:web uses the MDN docs to populate Dart docs for various members. These docs contain some variants of allowed tags like:

that trigger this lint. These seem to be the only tags that trigger the lint, but I haven't checked all of the violations as there are quite a few. IIUC, these use cases should not trigger the lint.

The fix for this issue should be in this commit btw! https://github.com/dart-lang/sdk/commit/df283fda656aee3e01cf05964e708ba83aea5665


Add package-registry subcommand to swift help

@swift-ci please test

@swift-ci test

Please merge? I don't have write access.


vue-server-renderer: <hello will cause Server/Client DOM mismatch

Version
2.4.2
Reproduction link
https://jsfiddle.net/50wL7mdz/52896/
Steps to reproduce
Just make an SSR app using nuxt or something else and put <hello into the template.
What is expected?
No error
What is actually happening?
Console output: [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.

Please follow the Issue Reporting Guidelines and provide a minimal JSFiddle or Github repository containing a set of reproducible steps that can lead to the behaviour you described. Make sure to boil down the problem as much as possible. Thanks!

Here is a simple repo using nuxt (other ssr frameworks, eg. ream, have the same issue, so pretty convinced it's a vue-ssr bug)
https://github.com/buhrmi/ssr-bug/

It would help if you make it with vanilla Vue, thanks

I've nailed this issue down to vue-server-renderer replacing HTML entities in the rendered output. Updated example code here https://github.com/buhrmi/ssr-bug
I don't know why this would be necessary, since browsers do this anyway. Adding <hello will be rendered as an opening tag, which browser will not understand and trigger the client-server dom mismatch warning. I've opened a PR to remove the HTML entity conversion. https://github.com/vuejs/vue/pull/6371

Thanks for the concise repro. Looks like a bug. Thanks for proposing a PR


feat: support other package managers

We need to have the support of pnpm in this librairy.
I added the pnpm-lock.yaml file update

Is it possible to add some tests for PNPM and Yarn? Otherwise this looks good to me.

Oh, it seems the file need to be reformatted, could you run npm run prettier:write (or npx prettier --write .)

Thank you for your contribution!


Cannot initiluze after upgrade

Versions

Key
Value

Home Assistant version
Home Assistant 2023.5.2Supervisor 2023.04.1Operating System 10.1Frontend-version: 20230503.2 - latest

Integration version
latest 0.2.6

Sagemcom F@st model

Sagemcom F@st firmware (optional)

FAST3890V3_WIFIHUBC2

Describe the bug
Doesn't initialize
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
2023-05-06 09:58:50.009 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry <IP_ADDRESS> for sagemcom_fast
File "/config/custom_components/sagemcom_fast/init.py", line 127, in async_setup_entry

Yep, having the same issue

Didn't know people still used this integration, will fix the breaking change in 2023.5 ;-).

Thanks! I use it for presence detection of family members. Have found any other reliable solution.

I'm also using this integration and can't wait for a fix! :)
Thank you!

Can you let me know if v0.2.7 fixes the issue? I am not able to test at the moment.

Problem seems to remain.
Logger: homeassistant.config_entries
Source: loader.py:1045
First occurred: 07:38:01 (2 occurrences)
Last logged: 07:49:48
Error setting up entry <IP_ADDRESS> for sagemcom_fast
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/sagemcom_fast/init.py", line 127, in async_setup_entry
device_registry = await hass.helpers.device_registry.async_get_registry()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1045, in getattr
value = getattr(self._module, attr)
AttributeError: module 'homeassistant.helpers.device_registry' has no attribute 'async_get_registry'


[FR] Create a camera entity with latest clip

Is your feature request related to a problem? Please describe.
I'm trying to integrate clips that get generated from a doorbell camera (as a person / object gets detected) into home assistant as an iframe card. The integration works perfectly and I'm able to point the iframe to this url https://HA_URL/api/frigate/notifications///clip.mp4. The issue is the video autoplays. So every time I pull up home assistant it autoplays the clip instead of waiting for me to hit the play button on the media player. There are several ways I can get around this by creating a iframe and specifically setting a <video> tag as suggested here. But it looks very hacky and doesn't display well as a card.
Describe the solution you'd like
I think the best solution is to not use an iframe at all in fact but rather use a camera entity that gets updated with the latest clip if a new event is triggered (and has a clip). Very similar to how the Ring integration does it.
Describe alternatives you've considered

There are 2 alternative solutions I can come up with. Using a hacky iframe card and manually wrapping a <video> tag. But that introduces a new challenge of how to update the card with new clips.
I have considered using zoneminder to do the suggested solution. But still researching if that is even possible.

I've been experimenting towards this feature request. Home Assistant camera entities do not appear to have a way to render static mp4 content, without first transcoding it (via ffmpeg) into an mjpeg stream. This appears to be what the linked Ring integration is also doing. There are a few issues with that:

No way to seek.
HA doesn't deal with the stream end smoothly (I get a large white image where the clip used to be rather than last frame).
At least with default settings, the transcoding gets the FPS wrong from the mp4 and the rendered video is 2x speed.

... so it's really quite rough as-is based on my experimentation. I think a better path towards getting clips into Lovelace would be to just let the browser render it naturally:

Use lovelace html card
Use something like:

      - title: Video clip
        type: 'custom:html-card'
        content: |
          <video id=vid1 width=450 height=260 controls>
            <source src="https://<frigate>/clips/<camera>-<eventid>.mp4" type="video/mp4">
          </video>

It plays well, does not autoplay and is rendered in the browser natively.
@akamel001 as the feature requester, I'm curious on your thoughts, and/why the above isn't sufficient?

Thanks for looking into this!
From the use-case I had in mind for this, the issues actually work in my favor. I prefer not to seek and actually want the video to play at 2x speed. The intention is that if a clip was caught on the doorbell cam of someone dropping off a package, or entering/exiting the house...  I want a quick preview of the event. Since the event is usually ~20-30 or 40 seconds this works out perfectly to get that quick preview.
That's the current way the Ring doorbell integration works as well so it seems to line up with the experience.
I did try the custom:html-card but I a few challenges

the major issue I had was the need to capture the eventid so i can update the card to display the latest clip. Its also not possible to dynamically update the card with a new event id. If i remember right, I had to do a hack of using another custom card type that was able to pull data from attributes and update when the attribute changed. Then I update the url in an attribute with automation (used nodered in this case). The entire setup to get that going was painful.
I constantly had to adjust the width and height when making adjustments. It felt a bit out of place as well with the rest of my cameras. The other cameras are in a picture Picture Glance Card and the view updates with snapshots on a regular interval. The clip in a html-card shows a big play button right in the middle. From the aesthetics perspective, it looks out of place.

All minor and personal preference of course but I feel like a camera entity with the clip works better from lovelace perspective and potentially automation.

Thanks for the fast response @akamel001 ! Thoughts:

The 2x speed: We'll have to agree to disagree there! I think it should play at normal speed, anything else is not really what an average user would expect when they can just play the mp4 in my browser (or via vlc) and it'll play normal speed ;-)
The eventid: You're right -- fortunately that's relatively straightforward fix. We could just add an endpoint to frigate itself that takes a camera name, and returns the latest mp4 clip for that camera (without needing the eventid).
Aesthetics: Yeah, I know what you mean. There may be a way to get that same visual (I'm no CSS expert!)

Update: Pretty good solution for aesthetics:
https://github.com/PiotrMachowski/Home-Assistant-Lovelace-HTML-Jinja2-Template-card
It has a "picture-elements" mode which will render the template just like traditional cameras. Looks great!
      - type: 'custom:html-template-card'
        picture_elements_mode: true
        content: |
          <video id=vid1 height=277 controls>
            <source src="https://<frigate>/clips/<camera>-<eventid>.mp4" type="video/mp4">
          </video>

Perfect! Yea an endpoint in Frigate that returns the latest clip would make the integration with a custom card work! Would love to see that, and more than happy to test it out when implemented.
Oh good find! That's actually the card I ended up switching to when I was testing in the past because it let me use JinJa and extract attributes from entities. It also had the ability to refresh the card when an attribute gets updated.
WIth the endpoint and this custom card, it might be possible to pull this off!

OK, so I think this boils down to two things to close out this bug:

That Frigate end point. I'll investigate this and see what's there already and what needs to be added.

A documentation update to showcase the combination of this endpoint & the template card.

@akamel001 This worked out more complicated than I expected, and I ended up waay down a rabbit hole: it was a simpler and  better solution to just create a proper Lovelace card for Frigate.
The card: https://github.com/dermotduffy/frigate-hass-card
Would you be up to test it? The second YAML example in the documentation is specifically for what I think your usecase is.

@dermotduffy This is awesome! I'm using it now.
A couple ideas:
If I'm using the view_default: snapshot, I think it'd be useful if clicking on it would play the latest clip.
Or maybe an option to always show the buttons docked on the top/bottom of the card? So I can more quickly get to the other views. And then have a back button to get to the default view.
Thanks so much for this.

@dermotduffy this is awesome! And a much better experience! Nailed my use case as well. Truly appreciate the card. I'm using it now, and it was very straight forward to setup and get the latest clip on the card. And not have it autoplay! Woo-hoo!

@davidmerrique Thanks for the suggestions, both are now implemented and a new release cut (documentation on the new menu placement options).
I'm going to close out this bug once the lovelace card is added to the README for the integration. Feature requests / bugs reports for lovecard welcome here.

@dermotduffy Thank you!


Ignore parent config option 2.2.x

Added FeignClientConfigurer with option to ignore parent configuration when giving a configuration to @FeignClient
Fixes gh-132

Thanks a lot, @matt62king - will review this on Monday.


EdgeNeXt for semantic segmentation

Hi, Thanks for your work.
Is there any plan to share your implementation for semantic segmentation with PascalVOC dataset? Perhaps instructions on how to build the modules or pth checkpoints / onnx models?

Hi @lkdci,
Thank you for your interest in our work. We do have plans to release segmentation codes and models, however it may take some time. Some extra details; we implemented our EdgeNeXt model in MobileViT for segmentation experiments. I am attaching the .pt checkpoints here in case it might be helpful for now.
EdgeNeXt_DeepLabV3.zip
Thanks

Hi @mmaaz60, thanks for the fast reply. So basically the backbone remains the same, and an ASPP module is used as Decoder?

Hi @mmaaz60, thanks for the fast reply. So basically the backbone remains the same, and an ASPP module is used as Decoder?

Hi @lkdci, yes you are right. Thanks

@mmaaz60 Hi, Can give more details? I am trying to use edgenext for semantic segmentation of bdd100k, but after training 160k, the effect is not satisfactory, do you use any auxiliary head?

Hi @AndPuQing,
Apologies for the late reply. We do not use any auxiliary head. Did you try tuning your learning rate?


New 'css' argument for options

'css' argument released in 1.1.0 version seems to be required argument. If I don't pass it, I get fatal error. Error is undefined index: label_class.
I pass following for all options in order for it to work.
Let me know if you need more information.
'css' => [                 'input_class' => 'regular-text code',                 'label_class' => 'uat_product_feed_url'             ],

Thanks for testing! Should be fixed now (1.1.0).


Resolves: Add native GitHub security and versioning dependency alerts

add dependabot.yml which automatically enables Dependabot's dependency versioning scanner and dependency update PRs bot by declaring dependency ecosystems and sources in the project. For dependency security vulnerabilities scanner and vulnerable dependency update PRs bot, enable "Dependabot alerts" and "Dependabot security updates"

use the target-branch attribute, if you would like to run Dependabot's scan against a branch other than your default branch (for example if you have a separate development branch)

should you decide that certain people on your team should take care of the PRs that Dependabot creates, use the two attributes assignees and reviewers to automatically set personnel respectively.

Resolves #6615

To allow Dependabot suggest updates for dependencies from https://pkgs.dev.azure.com/devdiv/_packaging/Pylance/npm/registry:

add registry token as GitHub secret with the name NPM_PRIVATE_REG_TOKEN

What is the side effect of turning on this dependabot? Will it start creating PRs to update our nuget dependencies? All but one are generated by Microsoft and are hand controlled to match a specific build of VS, so not sure what the dependabot would do.
I guess I'm not sure we need this.

Yes, the Dependabot YAML configuration enables the bot that creates PRs with version updates for dependencies.
With the current configuration, it is instructed to look for updates in all nuget, npm and pip dependency sources in the project (tests involved sources excluded).
It can be tailored towards to a specific one or only few sources that would be helpful for the PTVS project and not generate unnecessary PRs.
We can do that if you'd like. 🙂

@aleks-ivanov sorry for the delay. I'm waiting on @AdamYoblick to return from being OOF to see what he thinks. I'm not sure I want dependabot updating anything at the moment, but Adam may feel differently.

Closing for now as both Adam and I think we don't need dependabot.