Unable to load 5GB tif file to bigquery

It works fine for 1GB tif file. While trying to load 2GB ~ 5GB tif file it is failing with multiple errors during write to bigquery.
If you would like to reproduce the errors, then you could get these datasets from here - https://files.isric.org/soilgrids/former/2017-03-10/data/
BDRLOG_M_250m_ll.tif
OCDENS_M_sl1_250m_ll.tif
ORCDRC_M_sl1_250m_ll.tif

"Error processing instruction process_bundle-1256. Original traceback is
Traceback (most recent call last):
File "apache_beam/runners/common.py", line 1239, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 768, in apache_beam.runners.common.PerWindowInvoker.invoke_process
File "apache_beam/runners/common.py", line 891, in apache_beam.runners.common.PerWindowInvoker._invoke_process_per_window
File "apache_beam/runners/common.py", line 1374, in apache_beam.runners.common._OutputProcessor.process_outputs
File "/usr/local/lib/python3.8/site-packages/apache_beam/io/gcp/bigquery_file_loads.py", line 248, in process
writer.write(row)
File "/usr/local/lib/python3.8/site-packages/apache_beam/io/gcp/bigquery_tools.py", line 1396, in write
return self._file_handle.write(self._coder.encode(row) + b'\n')
File "/usr/local/lib/python3.8/site-packages/apache_beam/io/filesystemio.py", line 205, in write
self._uploader.put(b)
File "/usr/local/lib/python3.8/site-packages/apache_beam/io/gcp/gcsio.py", line 663, in put
self._conn.send_bytes(data.tobytes())
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 200, in send_bytes
self._send_bytes(m[offset:offset + size])
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 405, in _send_bytes
self._send(buf)
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 368, in _send
n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 289, in _execute
response = task()
File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 362, in
lambda: self.create_worker().do_instruction(request), request)
File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 606, in do_instruction
return getattr(self, request_type)(
File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 644, in process_bundle
bundle_processor.process_bundle(instruction_id))
File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 999, in process_bundle
input_op_by_transform_id[element.transform_id].process_encoded(
File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 228, in process_encoded
self.output(decoded_value)
File "apache_beam/runners/worker/operations.py", line 357, in apache_beam.runners.worker.operations.Operation.output
File "apache_beam/runners/worker/operations.py", line 359, in apache_beam.runners.worker.operations.Operation.output
File "apache_beam/runners/worker/operations.py", line 221, in apache_beam.runners.worker.operations.SingletonConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 829, in apache_beam.runners.worker.operations.SdfProcessSizedElements.process
File "apache_beam/runners/worker/operations.py", line 838, in apache_beam.runners.worker.operations.SdfProcessSizedElements.process
File "apache_beam/runners/common.py", line 1247, in apache_beam.runners.common.DoFnRunner.process_with_sized_restriction
File "apache_beam/runners/common.py", line 748, in apache_beam.runners.common.PerWindowInvoker.invoke_process
File "apache_beam/runners/common.py", line 886, in apache_beam.runners.common.PerWindowInvoker._invoke_process_per_window
File "apache_beam/runners/common.py", line 1401, in apache_beam.runners.common._OutputProcessor.process_outputs
File "apache_beam/runners/worker/operations.py", line 221, in apache_beam.runners.worker.operations.SingletonConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 718, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 719, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1241, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1306, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "apache_beam/runners/common.py", line 1239, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 587, in apache_beam.runners.common.SimpleInvoker.invoke_process
File "apache_beam/runners/common.py", line 1401, in apache_beam.runners.common._OutputProcessor.process_outputs
File "apache_beam/runners/worker/operations.py", line 221, in apache_beam.runners.worker.operations.SingletonConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 718, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 719, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1241, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1306, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "apache_beam/runners/common.py", line 1239, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 587, in apache_beam.runners.common.SimpleInvoker.invoke_process
File "apache_beam/runners/common.py", line 1401, in apache_beam.runners.common._OutputProcessor.process_outputs
File "apache_beam/runners/worker/operations.py", line 221, in apache_beam.runners.worker.operations.SingletonConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 718, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 719, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1241, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1306, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "apache_beam/runners/common.py", line 1239, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 768, in apache_beam.runners.common.PerWindowInvoker.invoke_process
File "apache_beam/runners/common.py", line 891, in apache_beam.runners.common.PerWindowInvoker._invoke_process_per_window
File "apache_beam/runners/common.py", line 1401, in apache_beam.runners.common._OutputProcessor.process_outputs
File "apache_beam/runners/worker/operations.py", line 221, in apache_beam.runners.worker.operations.SingletonConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 718, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 719, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1241, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1306, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "apache_beam/runners/common.py", line 1239, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 768, in apache_beam.runners.common.PerWindowInvoker.invoke_process
File "apache_beam/runners/common.py", line 891, in apache_beam.runners.common.PerWindowInvoker._invoke_process_per_window
File "apache_beam/runners/common.py", line 1401, in apache_beam.runners.common._OutputProcessor.process_outputs
File "apache_beam/runners/worker/operations.py", line 221, in apache_beam.runners.worker.operations.SingletonConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 718, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 719, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1241, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1306, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "apache_beam/runners/common.py", line 1239, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 587, in apache_beam.runners.common.SimpleInvoker.invoke_process
File "apache_beam/runners/common.py", line 1401, in apache_beam.runners.common._OutputProcessor.process_outputs
File "apache_beam/runners/worker/operations.py", line 221, in apache_beam.runners.worker.operations.SingletonConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 718, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 719, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1241, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1321, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "/usr/local/lib/python3.8/site-packages/future/utils/init.py", line 446, in raise_with_traceback
raise exc.with_traceback(traceback)
File "apache_beam/runners/common.py", line 1239, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 768, in apache_beam.runners.common.PerWindowInvoker.invoke_process
File "apache_beam/runners/common.py", line 891, in apache_beam.runners.common.PerWindowInvoker._invoke_process_per_window
File "apache_beam/runners/common.py", line 1374, in apache_beam.runners.common._OutputProcessor.process_outputs
File "/usr/local/lib/python3.8/site-packages/apache_beam/io/gcp/bigquery_file_loads.py", line 248, in process
writer.write(row)
File "/usr/local/lib/python3.8/site-packages/apache_beam/io/gcp/bigquery_tools.py", line 1396, in write
return self._file_handle.write(self._coder.encode(row) + b'\n')
File "/usr/local/lib/python3.8/site-packages/apache_beam/io/filesystemio.py", line 205, in write
self._uploader.put(b)
File "/usr/local/lib/python3.8/site-packages/apache_beam/io/gcp/gcsio.py", line 663, in put
self._conn.send_bytes(data.tobytes())
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 200, in send_bytes
self._send_bytes(m[offset:offset + size])
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 405, in _send_bytes
self._send(buf)
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 368, in _send
n = write(self._handle, buf)
RuntimeError: BrokenPipeError: [Errno 32] Broken pipe [while running 'WriteToBigQuery/BigQueryBatchFileLoads/ParDo(WriteRecordsToFile)/ParDo(WriteRecordsToFile)-ptransform-3851']

The solution to this issue is to use Dataflow's --number_of_worker_harness_threads setting to decrease the number of threads per worker. Most machine families allocate 4GB per CPU, so a 5GB file will consume the available RAM since it will be loaded once per thread when determine which slice to read from. For the c2-standard-4 machine type, setting --number_of_worker_harness_threads 1 solved this issue.


Feature Request: Keyboard Macro Support

Hi y'all, this is a great package but I can't use it until keyboard macro support is added. For example F3 should start recording the macro, then F3 inserts the macro counter, then F4 stops recording, then F4 repeats the macro.

LOL - well you can add your own key bindings to your user bindings file for that, right?
BTW - I could never make heads or tails of the keyboard macro stuff in Sublime. But I almost always use multi-cursor editing to achieve the same thing, if not better.


Add documentation about how to add new pages to your client side

The introduction is a bit rough :/
But since there is no real order between our "essentials" guide, I don't really know how to smooth it.
https://5c6d6e2402f74300092360d2--elastic-austin-cf9d40.netlify.com/docs/essentials/add-a-page-client-side.html

As discussed, using an example with for instance /recipes and /recipes/food-with-crabs would make it easier to understand.

I have completely revamped the documentation and splitted it in two pages.
https://deploy-preview-25--elastic-austin-cf9d40.netlify.com/docs/essentials/add-a-page-client-side.html
https://deploy-preview-25--elastic-austin-cf9d40.netlify.com/docs/advanced/theme/route-dispatcher.html


fixing gh-21736

Why:
Closes [gh-21736]
Closes #21736

Check off the following:

[x]  I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x]  For content changes, I have completed the self-review checklist.

@ramvikrams Thanks so much for opening a PR! I'll get this triaged for review :zap:

Testing closing and reopening this to rerun the preview deploy.

Approving review after close/reopen

Thanks

@ramvikrams Sorry for the delay! I ran into some technical difficulties while getting this merged. Thanks for the contribution!

@ramvikrams Sorry for the delay! I ran into some technical difficulties while getting this merged. Thanks for the contribution!

No problem mam, thanks your help.


[Material/ComboBox] Missing the Filled style in addition to the Outlined style already present

Current behavior
[Material/ComboBox]
Missing the Filled style in addition to the Outlined style already present
Expected behavior
[Material/ComboBox]
The Filled style should be available to match Material Design Guidelines
How to reproduce it (as minimally and precisely as possible)
N/A (Style doesn't exist)
Environment

Nuget Package: Uno.Material
Package Version(s): 1.0.0-dev.788
Affected platform(s):

[ ] UWP
[X] All others

Anything else we need to know?
Material Design Guidelines

@kazo0 / @NVLudwig I'm not sure about this issue if it is still relevant or not

I think it is on the Figma side, I can't speak for themes


Mermaid theming

Now that we have Mermaid support (#24), its styling (which is currently always purple) should more closely match that of the site.

Also see https://mermaid-js.github.io/mermaid/#/theming?id=theme-variables-reference-table


flutter build windows error

Steps to reproduce
flutter build windows
Actual results
download error
Logs
PS C:\WINDOWS\system32> flutter build windows
Flutter assets will be downloaded from https://storage.flutter-io.cn/. Make sure you trust this source!
Downloading windows-x64-debug/windows-x64-flutter tools...         40.9s
Downloading windows-x64/flutter-cpp-client-wrapper tools...        139ms
Downloading windows-x64-profile/windows-x64-flutter tools...        52.4s
Downloading windows-x64-release/windows-x64-flutter tools...        197ms
Downloading windows-x64-release/windows-x64-flutter tools...        160ms
Failed to download
https://storage.flutter-io.cn//flutter_infra_release/flutter/2c25423ea6187025c20a42781da9c7a5a88f0e1f/windows-x64-release/windows-x64-flutter.zip.
Ensure you have network connectivity and then try again.
RedirectException: Redirect loop detected
Flutter Doctor output
PS C:\WINDOWS\system32> flutter doctor -v
Flutter assets will be downloaded from https://storage.flutter-io.cn/. Make sure you trust this source!
[√] Flutter (Channel master, 3.26.0-1.0.pre.372, on Microsoft Windows [版本 10.0.19044.1706], locale zh-CN)
• Flutter version 3.26.0-1.0.pre.372 on channel master at D:\FlutterInstallPath\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 672eebc55b (8 hours ago), 2024-10-06 00:29:30 -0400
• Engine revision 2c25423ea6
• Dart version 3.6.0 (build 3.6.0-326.0.dev)
• DevTools version 2.40.0
• Pub download mirror https://pub.flutter-io.cn/
• Flutter download mirror https://storage.flutter-io.cn/
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at D:\FlutterInstallPath\Andorid\download
• Platform android-33, build-tools 32.1.0-rc1
• Java binary at: D:\FlutterInstallPath\Andorid\AndoridStudioInstall\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.1.3)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise
• Visual Studio Enterprise 2022 version 17.1.32328.378
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.1)
• Android Studio at D:\FlutterInstallPath\Andorid\AndoridStudioInstall
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
[√] VS Code (version 1.94.0)
• VS Code at C:\Users\think\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.98.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.19044.1706]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 129.0.6668.90
• Edge (web)        • edge    • web-javascript • Microsoft Edge 125.0.2535.67
[√] Network resources
• All expected network resources are available.
• No issues found!

Hi @luoqiang110
From the logs you provided, it seems to be an issue with your network/connectivity. I would suggest you follow Configuring Flutter to use a mirror site or try switching to a better network or check if you are using any anti-virus or firewall that might be causing the error.
I'm going ahead and closing the issue. If you disagree, please write in the comments and I will reopen it.


wechaty-puppet-mock not working even with ding-dong-bot.js

See https://github.com/wechaty/wechaty-getting-started/issues/143

This is the expected behavior for our mock puppet.
See: https://github.com/wechaty/wechaty-puppet-mock#mocker--environment


Tooltip before and after draw hooks not documented and weird behaviour

Documentation Is:

[x] Missing or needed
[ ] Confusing
[ ] Not Sure?

Please Explain in Detail...
The tooltip plugin calls the following plugin hooks: beforeTooltipDraw and afterTooltipDraw. These don't seem to be documentated.
Also it seems like the hook are called in the wrong place because it seems they get called every render cycle. But changing this will make it a braking change.
Your Proposal for Changes
Document the plugin hooks.
Change the hooks to only fire when the tooltip is actually being draw instead of every render cycle
Example

https://codepen.io/leelenaleee/pen/ZEXKRmR

Thanks for adding this as a milestone. I am currently monitoring other lifecycle triggers and watching the chart context for changes in the tooltip. It would be more logical to trigger when the tooltip notifies the chart of changes directly.


Removing ecos

Put default solver option, which according to CVXPY's 1.5-1.6 changelog is Clarabel, instead of ECOS.

:warning: Warning: wait for #138

Overwritten by #140.


(feature): Log the request IP that's not our CloudFront IP

We noticed a lot of interesting traffic coming from IP addresses other than the one the pen testers had given us. This prompted us to review who was sending hundreds of malicious search attempts.
It turns out that using just request.ip will give you the last IP in a chain of forwards. It looks like Cloudfront was adding an IP onto the end and made the pen test traffic look like it was originating from wherewhere else. We know this because every IP we do see is from AWS and that in the raw headers from Rollbar we can see the trusted IP at the beginning of the value.
request.remote_ip will assist us with this as per: https://stackoverflow.com/a/10997117/3976093
ALB load balancers do not seem to add an IP another forwarded address as Cloudfront does. Talked this through with Ops to confirm.
We don't care about the CloudFront IP so we can remove it.
Here’s the raw headers with the X-Forwarded-For including the 2 IP.


Hard coded JQuery CDN location

I noted in the file JavaScriptHelper.java that the method getJQueryInjectSnippet has a hard coded CDN url. This will fail if the CDN cannot be reached. As it stands, the exception that would be thrown would not indicate the real cause of the problem. I suggest adding a doc comment that indicates either a direct connection or a proxy setting is needed in order for the JQuery JS to be retrieved.

@jmresler, thanks for your input. Hope commit cc7005c takes care of your input. Please let us know if you have different thought.


modify modify map caller and callee

Thank you for your contributions

Codecov Report

Merging #3026 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #3026      +/-   ##
==========================================
- Coverage   38.25%   38.23%   -0.03%
==========================================
  Files        1921     1921
  Lines       64771    64771
  Branches     9043     9043
==========================================
- Hits        24779    24763      -16
- Misses      37460    37481      +21
+ Partials     2532     2527       -5

Impacted Files
Coverage Δ

...vercorp/pinpoint/web/controller/MapController.java
0% <0%> (ø)
:arrow_up:

.../java/com/navercorp/pinpoint/rpc/cluster/Role.java
0% <0%> (-42.86%)
:arrow_down:

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
64.28% <0%> (-14.29%)
:arrow_down:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
61.11% <0%> (-6.25%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
70.83% <0%> (-1.67%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
75.37% <0%> (-0.76%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
74.03% <0%> (+1.92%)
:arrow_up:

...tor/metric/datasource/DefaultDataSourceMetric.java
78.78% <0%> (+3.03%)
:arrow_up:

.../profiler/sender/StandbySpanStreamDataStorage.java
76.27% <0%> (+3.38%)
:arrow_up:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
65.71% <0%> (+8.57%)
:arrow_up:

Continue to review full report at Codecov.

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


Update Domain list on the portal

Describe the task
Add all domains which are existing on the ColoredCow website career page.
References

Portal:

ColoredCow Website:

This looks great. Closing.


Add SHOULD recommendation for publisher routing key schema

Applicable Issues
Fixes #8
Description of the Change
A SHOULD recommendation for the routing key schema used by publishers is added to the RabbitMQ broker documentation. It's a simple schema that any publisher will be able to adhere to. It's similar to what REMReM uses but is slightly simplified.
Alternate Designs
Ideally we would've been able to standardize REMReM's schema as-is, but the split of the event type into "family" and "type", where e.g. EiffelActivityCanceledEvent becomes (activity, canceled), makes life harder for both consumers and producers. If a consumer is interested in all activity events multiple bindings can be applied to the queue.
Benefits
When publishers follow this recommendation consumers will be able to filter inbound events.
Possible Drawbacks
None.
Sign-off

Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I    have the right to submit it under the open source license    indicated in the file; or
(b) The contribution is based upon previous work that, to the best    of my knowledge, is covered under an appropriate open source    license and I have the right under that license to submit that    work with modifications, whether created in whole or in part    by me, under the same open source license (unless I am    permitted to submit under a different license), as indicated    in the file; or
(c) The contribution was provided directly to me by some other    person who certified (a), (b) or (c) and I have not modified    it.
(d) I understand and agree that this project and the contribution    are public and that a record of the contribution (including all    personal information I submit with it, including my sign-off) is    maintained indefinitely and may be redistributed consistent with    this project or the open source license(s) involved.
Signed-off-by: Magnus Bäck<EMAIL_ADDRESS>

:+1:

@eiffel-community/eiffel-sepia-maintainers This proposal has been updated after extensive TC discussions. I hope we can move forward with this so that publishers can start adapting.


[feature] shellcheck and shfmt should avoid zsh

Shellcheck and shfmt don't support zsh. How about avoid passing zsh file to shellcheck and shfmt hooks?
Thanks!

Seems like the hook does not include any ability to exclude and ignores config to exclude as well. Thinking this is an issue with #40 as well?

Seems like the hook does not include any ability to exclude and ignores config to exclude as well

I have tested #109 will ignore zsh. Can anyone review it?


Add caffe port.

This port is adding caffe-1.0 to vcpkg.
While caffe2 is newer it's not completly backward compatible which motivates this port. Additionnaly Caffe has an opencl branch (this is so far the only Deep Learning Framework with an opencl backend so far) which I'd like to bring to vcpkg through features.
Initially there is no CUDA/OpenCV/Python/Matlab support.

Feedback ?

Looks great to me! can't wait to see it to be merged

@vlj Please see my comments on your patches.

/azp run

/azp run


Writing Django 4.1 support in README

Follow-up on https://github.com/adamchainz/django-perf-rec/pull/473

Ah woops, thanks!


Add google-style docs plugins for Sphinx

https://floq-client.readthedocs.io/en/latest/

The documentation was added in #15 pull request.


UNABLE TO VIEW OUTPUT OF PLSQL CODES

Type: Feature Request
I use VS code for pl/sql. In which Im not able to view the DBMS OUTPUT.
VS Code version: Code 1.87.1 (1e790d77f81672c49be070e04474901747115651, 2024-03-06T00:21:36.258Z)
OS version: Windows_NT x64 10.0.22000
Modes:

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


[SPARK-11590][SQL] use native json_tuple in lateral view

Merged build triggered.

Merged build started.

Test build #45355 has started for PR 9562 at commit 19ec0d3.

Test build #45355 has finished for PR 9562 at commit 19ec0d3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #45360 has started for PR 9562 at commit d3d8c92.

Test build #45360 has finished for PR 9562 at commit d3d8c92.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #45367 has started for PR 9562 at commit 3f6ae5d.

Merged build triggered.

Merged build started.

Test build #45371 has started for PR 9562 at commit a1ed2d0.

Test build #45371 has finished for PR 9562 at commit a1ed2d0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #45367 has finished for PR 9562 at commit 3f6ae5d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #45376 has started for PR 9562 at commit 8fad10f.

Test build #45376 has finished for PR 9562 at commit 8fad10f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

Test build #45498 has started for PR 9562 at commit 2764c29.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/45497/
Test FAILed.

Test build #45498 has finished for PR 9562 at commit 2764c29.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/45498/
Test PASSed.

LGTM. Merging to master and branch 1.6.


Feature/csi 3499 lun verification

please check this on Z+P before merge, since we've seen different paths there in the past. also please compare the performance runtime with develop and report back, to make sure we don't have too much penalty

I checked performance and there is no visible penalty

please check this on Z+P before merge, since we've seen different paths there in the past. also please compare the performance runtime with develop and report back, to make sure we don't have too much penalty

I checked performance and there is no visible penalty

Thanks

please check this on Z+P before merge, since we've seen different paths there in the past. also please compare the performance runtime with develop and report back, to make sure we don't have too much penalty

I checked performance and there is no visible penalty

so are we waiting for Z+P?

only for P

please check this on Z+P before merge, since we've seen different paths there in the past. also please compare the performance runtime with develop and report back, to make sure we don't have too much penalty

I checked performance and there is no visible penalty

so are we waiting for Z+P?

only for P

test with P


socket error

Under Windows 7 system, if the system does not have the sp1 patch installed, specifying WSA_FLAG_NO_HANDLE_INHERIT when creating a socket will return a 10022 error. You need to change the new in socket.rs.
pub fn new(domain: Domain, ty: Type, protocol: Option) -> io::Result {
if cfg!(target_os = "windows") {
let socket = Socket::new_raw(domain, ty, protocol)?;
socket._set_no_inherit(true)?;
set_common_flags(socket)
}else{
let ty = set_common_type(ty);
Socket::new_raw(domain, ty, protocol).and_then(set_common_flags)
}
}

I'm not going to support old Windows systems with 0 updates installed. Sorry, but it's just not worth the effort. Please update to sp1, or any Windows version that is supported by Microsoft.


Viet - Update filterNavbar, Add rules for enabling new MTFI CR, Add Update button route for MTFI Action Required

Description

Types of changes

Checklist

[ ] I have read the CONTRIBUTING doc
[ ] I have checked that unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

CCFRI-1602/CCFRI-2261, CCFRI-2489


[doc] Improve Linux build instructions

When merging please delete the "[skip ci]" from the commit message. We want to trigger a doc build with AppVeyor.

Aha, that's what I get for not reloading. Extra LGTM.


Idea - pipe text files to piper or openedai-speech

as you're writing text files, it wouldn't be a big deal to send those over to a TTS engine and make a mini-podcast for a daily briefing

@ToeiRei - Thanks for the suggestion. I've added the functionality using OpenedAI Speech. If enabled, the script will generate an audio version of the summary and update the summary file with a link to the audio file.


Urgent : Sliding Expiration for the cookie?

I have read some of the old issues and figured that you have left the task to create HTTPOnly cookie for the user.  This is how I'm creating my cookie in the code:
`  CookieOptions options = new CookieOptions();
            options.Expires = DateTime.Now.AddDays(1);
            options.Secure = false; // Should be True for Production
            options.HttpOnly = true;
            options.Path = "/";
            Response.Cookies.Append("access_token", "any value", options);`

No, how do I set the sliding expiration of this cookie? Since this cookie is not created by the .Net framework itself, the settings we have mentioned on Startup file doesn't apply for this cookie. Here is teh setting I have done in the Startup file of my .net core 2.0 application.
`services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie(option =>
        {
            option.AccessDeniedPath = "/api/Account/Login";
            option.ExpireTimeSpan = TimeSpan.FromMinutes(30);
            option.Cookie.Name = "access_token";
            option.LoginPath = "/api/Account/Login";
            option.LogoutPath = "/api/Account/Logout";
            option.SlidingExpiration = true;
            option.Cookie.HttpOnly = true;
            option.Cookie.SameSite = SameSiteMode.None;
            option.TicketDataFormat = new CustomJwtDataFormat(SecurityAlgorithms.HmacSha256, tokenValidationParameters);
        `});

I have set SlidingExpiration to true here but it obviously has no effect on the cookie (containing JWT token) that I have created within my controller.
Can you please help me here?

A "sliding" expiration would need to be an absolute expiration date that continually is updated by the server. I don't know for sure, but my guess is that this is how the AddCookie middleware is doing it under the hood.
In the context of ASP.NET Core 2.0, I would not recommend using this middleware. I've left it up for educational purposes only. If you need to generate JWTs I'd highly recommend OpenIddict.

Did you mean on every server request, change the Expires property of CookieOptions and set the cookie again with the same name?

Yes, something like: https://stackoverflow.com/a/26006746/3191599
If it were me, I wouldn't roll this functionality myself. I'd use the stock AddCookies middleware + OpenIddict.

Ok.. thanks for the quick reply.. I appreciate your help on this


[Bug Report] upload component. Why didn't on-success execute when uploading manually?

Element UI version
2.4.8
OS/Browsers version
windows7/chrome 69.0.3497.100
Vue version
2.5.17
Reproduction Link
https://jsfiddle.net/Rains/mmx38qxw/6513/
Steps to reproduce
填写信息，上传文件文件时
What is Expected?
上传成功时有弹窗提示，失败时有弹窗提示
What is actually happening?
都没有

onSuccess写错地方了。。。。。。

真不小心


ToB afl code fails

I am getting the following error message when trying to run ./run.sh from fuzz directory:
Caused by:
  process didn't exit successfully: `/Users/maksymzavershynskyi/Projects/runtimes/wasmer-rust-example/target/debug/build/afl-5d29022525291718/build-script-build` (exit code: 101)
--- stdout
rm -f afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-as as afl-g++ afl-clang afl-clang++ *.o *~ a.out core core.[1-9][0-9]* *.stackdump test .test test-instr .test-instr0 .test-instr1 qemu_mode/qemu-2.10.0.tar.bz2 afl-qemu-trace
rm -rf out_dir qemu_mode/qemu-2.10.0
/Library/Developer/CommandLineTools/usr/bin/make -C llvm_mode clean
rm -f *.o *.so *~ a.out core core.[1-9][0-9]* test-instr .test-instr0 .test-instr1
rm -f ../afl-clang-fast ../afl-llvm-rt.o ../afl-llvm-rt-32.o ../afl-llvm-rt-64.o ../afl-clang-fast++
/Library/Developer/CommandLineTools/usr/bin/make -C libdislocator clean
rm -f *.o *.so *~ a.out core core.[1-9][0-9]*
rm -f libdislocator.so
/Library/Developer/CommandLineTools/usr/bin/make -C libtokencap clean
rm -f *.o *.so *~ a.out core core.[1-9][0-9]*
rm -f libtokencap.so
[*] Checking for the ability to compile x86 code...
[+] Everything seems to be working, ready to compile.
cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/lib/afl\" -DDOC_PATH=\"/share/doc/afl\" -DBIN_PATH=\"/bin\" afl-gcc.c -o afl-gcc -L/usr/local/opt/llvm/lib
set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done
cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/lib/afl\" -DDOC_PATH=\"/share/doc/afl\" -DBIN_PATH=\"/bin\" afl-fuzz.c -o afl-fuzz -L/usr/local/opt/llvm/lib
cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/lib/afl\" -DDOC_PATH=\"/share/doc/afl\" -DBIN_PATH=\"/bin\" afl-showmap.c -o afl-showmap -L/usr/local/opt/llvm/lib
cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/lib/afl\" -DDOC_PATH=\"/share/doc/afl\" -DBIN_PATH=\"/bin\" afl-tmin.c -o afl-tmin -L/usr/local/opt/llvm/lib
cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/lib/afl\" -DDOC_PATH=\"/share/doc/afl\" -DBIN_PATH=\"/bin\" afl-gotcpu.c -o afl-gotcpu -L/usr/local/opt/llvm/lib
cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/lib/afl\" -DDOC_PATH=\"/share/doc/afl\" -DBIN_PATH=\"/bin\" afl-analyze.c -o afl-analyze -L/usr/local/opt/llvm/lib
cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/lib/afl\" -DDOC_PATH=\"/share/doc/afl\" -DBIN_PATH=\"/bin\" afl-as.c -o afl-as -L/usr/local/opt/llvm/lib
ln -sf afl-as as
[*] Testing the CC wrapper and instrumentation output...
unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/lib/afl\" -DDOC_PATH=\"/share/doc/afl\" -DBIN_PATH=\"/bin\" test-instr.c -o test-instr -L/usr/local/opt/llvm/lib
echo 0 | ./afl-showmap -m none -q -o .test-instr0 ./test-instr
echo 1 | ./afl-showmap -m none -q -o .test-instr1 ./test-instr

Oops, the instrumentation does not seem to be behaving correctly!

Please ping<EMAIL_ADDRESS>to troubleshoot the issue.

Steps to reproduce
Go to fuzz directory, install afl with cargo install afl and run ./run.sh. Observe the error mesage.
Expected behavior
Afl should launch and produce a nice dashboard with metrics.

@nearmax Could you please try upgrading the AFL version used and see if that fixes your problem?
In particular, please try changing this line:
https://github.com/wasm-blockchain/runtimes/blob/9e376d5f0201166ac67606081866a99dbf410ca6/wasmer-afl/fuzz/Cargo.toml#L12
to this one:
afl = "0.8.0"

Thanks! Getting new error message:
 % ./run.sh
This script will perform four afl-fuzz runs against wasmer.  Two will
use the Singlepass backend, and two will use the Cranelift backend.
Two will use afl.rs's fuzz! macro, and two will not.  The configuration
will be displayed in the banner at the top of the screen.  Pressing
ctrl-C will start the next run.

Notice each run's stability.

Press enter to begin.

    Finished dev [unoptimized + debuginfo] target(s) in 0.18s
afl-fuzz++2.64c based on afl by Michal Zalewski and a big online community
[+] afl++ is maintained by Marc "van Hauser" Heuse, Heiko "hexcoder" Eißfeldt, Andrea Fioraldi and Dominik Maier
[+] afl++ is open source, get it at https://github.com/AFLplusplus/AFLplusplus
[+] Power schedules from github.com/mboehme/aflfast
[+] Python Mutator and llvm_mode whitelisting from github.com/choller/afl
[+] afl-tmin fork server patch from github.com/nccgroup/TriforceAFL
[+] MOpt Mutator from github.com/puppet-meteor/MOpt-AFL
[*] Getting to work...
[+] Using exploration-based constant power schedule (EXPLORE, default)
[+] You have 8 CPU cores and 19 runnable tasks (utilization: 238%).
[!] WARNING: System under apparent load, performance may be spotty.

[-] Whoops, your system is configured to forward crash notifications to an
    external crash reporting utility. This will cause issues due to the
    extended delay between the fuzzed binary malfunctioning and this fact
    being relayed to the fuzzer via the standard waitpid() API.

    To avoid having crashes misinterpreted as timeouts, please run the
    following commands:

    SL=/System/Library; PL=com.apple.ReportCrash
    launchctl unload -w ${SL}/LaunchAgents/${PL}.plist
    sudo launchctl unload -w ${SL}/LaunchDaemons/${PL}.Root.plist

[-] PROGRAM ABORT : Crash reporter detected
         Location : check_crash_handling(), src/afl-fuzz-init.c:1494

I think I got that as well, and the suggested command alleviated the problem:
    SL=/System/Library; PL=com.apple.ReportCrash
    launchctl unload -w ${SL}/LaunchAgents/${PL}.plist
    sudo launchctl unload -w ${SL}/LaunchDaemons/${PL}.Root.plist


Set agent strings properly

Currently, agent strings are all over the place. This needs some cleaning up / more consistency.
We want to have something like malloy-client <version> and malloy-server <version>.

Could add it to the config along with #35, have a default and then let the user customise it if they really want

I've been wondering whether there is a scenario where a user might want to have different agent strings for different connections of the same type.
For example, given an HTTP server, would a connection ever need to have a different agent string than other HTTP connections served by the same server?

@0x00002a how busy are you currently? I'd really like to move to the first release ASAP to make maintaining applications consuming this library easier and hopefully also attracting more users & contributors.
Do you feel like giving this a go?

Sure, I'll have a crack at it along with #35 tomorrow


Are there pre-trained weights for direct inference?

Hi,
Due to the recent cvpr DDL, the release of pre-trianed weights will be available after few weeks.
However, since AdpatIR can be trained with one 3090 in one day, you may also train it by yourself.

Hi, Due to the recent cvpr DDL, the release of pre-trianed weights will be available after few weeks. However, since AdpatIR can be trained with one 3090 in one day, you may also train it by yourself.

Thank you for your feedback, looking forward to your release of pre-trianed weights


get the full list of delegators

The list of delegators is limited to 1000 in the script.
This patch allow to retrieve the full list of delegators by using pages.
The query can get a lower amount of delegators per request
N.B: it is a draft PR because not fully tested.

Ah excellent, this is top of my todo list right now. We need to take it a little further - if you have 1,000 delegations then we're gonna throw 1,000 API requests to get the grants at the same time, which does not go well. Will need to batch up the requests into groups of ~50-100 I think using this: https://github.com/eco-stake/restake/blob/master/scripts/autostake.mjs#L62

cc @imperator-co

Ah excellent, this is top of my todo list right now. We need to take it a little further - if you have 1,000 delegations then we're gonna throw 1,000 API requests to get the grants at the same time, which does not go well. Will need to batch up the requests into groups of ~50-100 I think using this: https://github.com/eco-stake/restake/blob/master/scripts/autostake.mjs#L62

You cannot batch the REST requests to know if you are granted and if the rewards are suffisant.
This will burst the REST api endpoint who will reply with an error 429 (Too Many Requests)
But with more than 1000 delegators, you must have your own RPC/REST endpoints.
the Exec tx can be sent in batch ( list of messages )
this will create less stress on the chain and reduce the risk of sequence mismatch.

Thanks again for this @Galadrin , will be resolved in https://github.com/eco-stake/restake/pull/21.
Also added an issue about batched MsgExec, great idea #51

Thanks again for this @Galadrin , will be resolved in https://github.com/eco-stake/restake/pull/21.
Also added an issue about batched MsgExec, great idea #51


setNativeProps is not implemented on web, animating svg properties via reanimated is not possible

Bug
Reanimated.createAnimatedComponent requires .setNativeProps to be implemented to animate attributes like Path.strokeDashoffset
Environment info
Library version: 12.1.0
Steps To Reproduce
Use following code in newest reanimated (2.3.0 currently) and react-native-svg, run on web.
const AnimatedPath = Animated.createAnimatedComponent(Path);
(...)

const progress = useSharedValue(0);
useEffect(() => {
  progress.value = withRepeat(withTiming(1, {duration: 1500, easing: Easing.linear}), -1, true);
}, []);
const animatedProps = useAnimatedProps(() => {
  const offset = interpolate(progress.value, [0, 1], [0, MAX_OFFSET], Extrapolate.CLAMP);
  return {strokeDashoffset: offset};
});

return <AnimatedPath animatedProps={animatedProps} />;

Describe what you expected to happen:
Animate properly, like it does on iOS, Android

Bug
Reanimated.createAnimatedComponent requires .setNativeProps to be implemented to animate attributes like Path.strokeDashoffset
Environment info
Library version: 12.1.0
Steps To Reproduce
Use following code in newest reanimated (2.3.0 currently) and react-native-svg, run on web.
const AnimatedPath = Animated.createAnimatedComponent(Path);
(...)

const progress = useSharedValue(0);
useEffect(() => {
  progress.value = withRepeat(withTiming(1, {duration: 1500, easing: Easing.linear}), -1, true);
}, []);
const animatedProps = useAnimatedProps(() => {
  const offset = interpolate(progress.value, [0, 1], [0, MAX_OFFSET], Extrapolate.CLAMP);
  return {strokeDashoffset: offset};
});

return <AnimatedPath animatedProps={animatedProps} />;

Describe what you expected to happen:
Animate properly, like it does on iOS, Android

this issue seems to still exist

Bug
Reanimated.createAnimatedComponent requires .setNativeProps to be implemented to animate attributes like Path.strokeDashoffset
Environment info
Library version: 12.1.0
Steps To Reproduce
Use following code in newest reanimated (2.3.0 currently) and react-native-svg, run on web.
const AnimatedPath = Animated.createAnimatedComponent(Path);
(...)

const progress = useSharedValue(0);
useEffect(() => {
  progress.value = withRepeat(withTiming(1, {duration: 1500, easing: Easing.linear}), -1, true);
}, []);
const animatedProps = useAnimatedProps(() => {
  const offset = interpolate(progress.value, [0, 1], [0, MAX_OFFSET], Extrapolate.CLAMP);
  return {strokeDashoffset: offset};
});

return <AnimatedPath animatedProps={animatedProps} />;

Describe what you expected to happen:
Animate properly, like it does on iOS, Android

did you find a proper solution?

Unfortunately not.
I created dedicated animations for web, based on css.

Hello @DrRefactor,
Are you still experiencing that issue?
Please provide an example with all environments. It would help us to understand the problem.
Thank you


Update Documentation (Fixed typos).

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver,so make sure to pick the appropriate type. If in doubt feel free to ask :)

@patrick91 Thanks for the opportunity , I have resolved the conflicts and where can I send you email .
Thanks again.

@NinjaCoderDev my email is in my github profile ;)


Fix "undo" always using default board color when database lookup misses

This modifies the pixels column to track a lastColor int. Whenever App.putPixel is called, it stores the current pixel from the board array before overwriting with the new color. This stored value is placed in the lastColor column. This way, when undoing, the correct color is returned even if there's no pixel history.

In which cases is this needed?

Let's say someone has a project that has a lot of red pixels, and the canvases initial background has a spot with red (e.g. sprinkle on the donut canvas). If you were to misplace, then undo on that red background (which has no history in the database), it will turn gray instead of red which isn't actually undoing the mistake. This fixes that. While not a major problem, it is still an annoyance that pops up a lot with the gimmick canvases.


Refresh tabitem content when selection change

Hi, i would like to know if there is a way to execute a command or a method when selected tab item change.
I tried to use tabitem. headertemplate from the sample with no success as the command has to be bind on the tabitem command property
Thanks for your Time.
Simon.

It can be handled by binding CurrentItem or SelectedTab. Those properties will be updated each tab change


fix: add time sleep for auth policy

Description
https://github.ibm.com/GoldenEye/issues/issues/8221

Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 2.12.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


update pip package

Hello,
I'm starting to use your package but it doesn't correspond to the version on pypi, I've cloned the repository and I'm having fun modifying the different files for the moment however can you update the package?
https://pypi.org/project/chatgpt-memory/0.0.1/
Are you going to continue updating it? Or don't you have enough volunteers for maintenance?
I'd like to know this before going any further on my own.
Thank you in advance for your answers.

Hi, thanks a lot for your interest in the project.
Due to time constraints, we are unable to continue development on this repository.
Please check out OpenAI's official retrieval plugin, offering similar functionality and active development: openai/chatgpt-retrieval-plugin


Filter slice: Drop-down list overlapped by neighboring slice below

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.17.3
Expected results
The drop-down list of a filter slice overlays on top of everything, so the available choices are readable.
Actual results
A neighboring slice which is in the way of the drop-down list may cover the list of available choices.

It seems that this behavior is connected to the order in which the slices are added to the dashboard: more recently added slices cover the drop-down lists of the ones that were added earlier.
Steps to reproduce

Have a filter slice which has a drop-down filed that extends the boundaries of the slice.
Move a more recently added slice below the filter slice.
Try selecting from the drop-down list of the filter slice.

The issue is still present in superset 0.17.4.
Is there any understanding as to which change between 0.15.4 and 0.17.3 has led to this impairment?

[I can't believe how often I happen to accidentally choose the Close and comment button…]

In 0.18.2 the issue seems to be gone again. Closing this issue although I do not know which change actually caused it...


Adds timestamp query param to preview urls

Changes

Add ts query param to preview URLs for assets that we host
Adds GCLOUD_TOKEN_CONTENT_BUCKET to the backend env since it gets used to determine if we host an asset
Refactors a few functions to accept db.TokenMedia instead of persist.Media so that the last updated time can get used

I was paranoid about passing made-up parameters to arbitrary third-party hosts earlier, but if the parameters are always being passed to imgix, is there a downside to attaching them to all previews, even if we aren't hosting their media? On one hand, it seems unlikely it'd do anything: if the image is hosted with a third party, updated metadata will probably point to:

a new image URL, or
the same image URL with the same image

But on the other hand, if someone's trying to refresh the metadata, maybe we should bust the cache just in case?

That makes sense! I was thinking that the made-up parameters get forwarded to the hosting server which could reject the request since it doesn't recognize the params, but I was confusing imgix params with the original source params which is the portion that gets signed and URL encoded.


How to create Xcode Project

How can I create Xcode Project for this code Sample?

This project using CMake. CMake generate xcode project by below commands.
$ git clone <URL>
$ cd webrtc-cpp-sample
$ mkdir xcodeprj
$ cd xcodeprj
$ cmake -G Xcode ..

Generator missing path to libraries well. You will fix it.


fix: crash on exit

What does this PR change?
Fixes #116
How to test the changes?
Press the exit button, the client shouldn't crash.
Our Code Review Standards
https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

https://renderer-artifacts.decentraland.org/desktop/index.html?dcl://DESKTOP-BRANCH=fix/on-exit-crash

We'll have to update the package lock pointing to unity-renderer's master commit once that PR has been merged there, before mergingh this one


Bug in all panel dark mode

What version of Unfold are you using?
0.38.0
What version of Django are you using?
Django==5.1.1
What browser are you using?
Chrome Versión 128.0.6613.137
Did you checked changelog/commit history, if the bug is not already fixed?
Si
Did you searched other issues, if the bug is not already fixed?
No
Describe your issue
When installing Django Unfold, it generated this problem that the dark mode is too dark, hard to read

The configuration I have in setting.py is minimal and I do not modify any color.

How can I replicate the issue?

The problem started when I re-downloaded all my dependencies with the latest versions, in this situation, Django==5.1.1, what I could find, when I had this version of django, it gave me this dark mode bug, I went back to django version 5.0.4 and I did not get this bug.

same here
django==5.0.7
django-crispy-forms==2.3  # https://github.com/django-crispy-forms/django-crispy-forms
crispy-bootstrap5==2024.2  # https://github.com/django-crispy-forms/crispy-bootstrap5
django-colorfield==0.11.0
django-unfold==0.39.0
django-admin-sortable2==2.2.2
django-admin-confirm==1.0.0
django-import-export==4.1.1

I'm asking again same question but how can I replicate this bug? Plase try the Formula project locally to check if you are having the issue there. If you are not able to replicate bug in Formula then create a brand new repository with the minimal example which I will use for debugging.

after purge cdn cache work again

I recommend clearing CSS cache after each update.


bug: pr-guardrails - removed files are included in lint files.

Description
          Good to go 😢 @anantakumarghosh please fix pr-guardrails related issue given below:

removed files included in lint files.
Originally posted by @techoneel in https://github.com/wrappid/data-management-module/pull/10#pullrequestreview-1843777533

A scenario is occurring.
Can git diff into specific app or service folder. Changes of other folder are getting included during lint.

Closed as done.


Add support for interpolation options in quantile() and percentile()

Fixes #2607

Oh man. Thanks @jakevdp! :D


Add extra documentation to RemoteBundle#close

Add documentation about the particular expectations of RemoteBundle#close

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run ./gradlew build to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @axelmagn

run java precommit

LGTM


fix(ios): call onLoadStart earlier

Summary
call callback onLoadStart earlier to make it work properly
Motivation
fix #3744
Changes

move callback onLoadStart earlier
don't call onVideoBuffer in handlePlaybackLikelyToKeepUp if value is same as previous

Test plan

[x] Tested Locally
[ ] CI pass

I think this change may also fix: https://github.com/TheWidlarzGroup/react-native-video/issues/3675


Fix for ODEs with no parameters

I have deja vu, didn't we fix this before 😅  ?
@pogudingleb
Anyways, this PR hopefully fixes it for good.
using StructuralIdentifiability
ode = @ODEmodel(
           x1'(t) = x1,
           x2'(t) = x2,
           y(t) = x1 + x2
       )

assess_identifiability(ode)
[ Info: Assessing local identifiability
[ Info: Local identifiability assessed in 0.1328883 seconds
[ Info: Assessing global identifiability
[ Info: Computing IO-equations
┌ Info: Computed in 0.1024635 seconds
│   :ioeq_time = :ioeq_time
└   ioeq_time = 0.1024635
[ Info: No parameters, so Wronskian computation is not needed
ERROR: need at least one indeterminate
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] #29
    @ C:\Users\User\.julia\packages\Nemo\9YO6X\src\flint\FlintTypes.jl:1466
[inlined]
  [3] (::AbstractAlgebra.var"#51#52"{Nemo.var"#29#30"{Vector{Symbol}, Symbol}, AbstractAlgebra.WeakValueDict{Tuple{Vector{Symbol}, Symbol}, Nemo.QQMPolyRing}, Tuple{Vector{Symbol}, Symbol}})()
    @ AbstractAlgebra C:\Users\User\.julia\packages\AbstractAlgebra\kV4qH\src\WeakValueDict.jl:554
...

Weird indeed! I vividly remember fixing this... Maybe I have merged it somewhere else.
Is it intentional that you have x1 as a states (with (t)) and as a parameter (without (t)) in the tests?

Is it intentional that you have x1 as a states (with (t)) and as a parameter (without (t)) in the tests?

No, not really. Though, I think x1 is declared as a state even without (t)?
using StructuralIdentifiability
ode = @ODEmodel(x1'(t) = x1, x2'(t) = x2, y(t) = x1 + x2)
[ Info: Summary of the model:
[ Info: State variables: x1, x2
[ Info: Parameters:
[ Info: Inputs:
[ Info: Outputs: y

Indeed!
I wonder if this is a bug or a feature, looks more like feature...

@sumiya11  Thanks again for fixing this!
I have changed the line states_needed = states_needed || isempty(ode.parameters) to something which occurred to be more intuitive for me. If this looks fine, feel free to merge.


Import document with $ref not able to resolve

relative issue: https://github.com/asyncapi-archived-repos/playground/issues/30
Describe the bug
cannot resolve the relative path of payload $ref
How to Reproduce
asyncapi: 2.0.0
....
channels:
  test:
    subscribe:
      message:
        name: test
        title: test
        contentType: avro/binary
        schemaFormat: application/vnd.apache.avro+json;version=1.9.0
        payload:
          ## This works
          #$ref: "https://raw.githubusercontent.com/Apicurio/apicurio-registry-examples/main/simple-avro-maven/src/main/resources/schemas/greeting.avsc"

          # this does not work...
         $ref: "../../../greeting-schema.avsc"

Expected behavior
can resolve the relative path of payload $ref
Is this feature supported?  $ asyncapi start studio gets error...
Any ideas are welcome, thank you!

I have the same problem trying to load my model which are in another file. The other file is in the same folder of my base asyncapi.yaml file so access should not be a problem.
channels:
  status-changed:
    subscribe:
      operationId: emitStatusChanged
      message:
        $ref: './models.yaml#/components/messages/StatusChanged'

I started the studio with this command:
asyncapi start studio -f asyncapi.yaml
Expected behavior would be to follow the ref, especially if they are easily accessible like being in the same folder.

As far I know asyncapi studio does not support external references yet. There is an open PR but it's from December 22.
Maybe I am wrong...


flutter run: Timeout of 120000 reached waiting for exclusive access to file

Steps to Reproduce

fresh installation of flutter
run flutter doctor and ensure "no issues found" is shown
run fluter run

Target Platform:  Android
Target OS version/browser: Android Pi API 28
Devices: Haven't tried running on an emulator or simulator yet.
Crash report

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run
exception
ProcessException: ProcessException: Process "C:\Users\jaitj\Documents\Summer 2019\flutter\myapp\android\gradlew.bat" exited abnormally:
Exception in thread "main" java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file: C:\Users\jaitj.gradle\wrapper\dists\gradle-4.10.2-all\9fahxiiecdb76a5g3aw9oi8rv\gradle-4.10.2-all.zip
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:61)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Command: C:\Users\jaitj\Documents\Summer 2019\flutter\myapp\android\gradlew.bat -v
#0      runCheckedAsync (package:flutter_tools/src/base/process.dart:259:7)
<asynchronous suspension>
#1      _initializeGradle (package:flutter_tools/src/android/gradle.dart:300:9)
<asynchronous suspension>
#2      _ensureGradle (package:flutter_tools/src/android/gradle.dart:281:37)
<asynchronous suspension>
#3      _readGradleProject (package:flutter_tools/src/android/gradle.dart:192:31)
<asynchronous suspension>
#4      _gradleAppProject (package:flutter_tools/src/android/gradle.dart:112:37)
<asynchronous suspension>
#5      getGradleAppOut (package:flutter_tools/src/android/gradle.dart:106:29)
<asynchronous suspension>
#6      AndroidApk.fromAndroidProject (package:flutter_tools/src/application_package.dart:164:23)
<asynchronous suspension>
#7      ApplicationPackageFactory.getPackageForPlatform (package:flutter_tools/src/application_package.dart:46:32)
<asynchronous suspension>
#8      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:359:56)
<asynchronous suspension>
#9      HotRunner.run (package:flutter_tools/src/run_hot.dart:254:39)
<asynchronous suspension>
#10     RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:472:37)
<asynchronous suspension>
#11     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:490:18)
#12     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#13     _rootRunUnary (dart:async/zone.dart:1132:38)
#14     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#18     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#19     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#20     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#21     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#22     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#23     _rootRunUnary (dart:async/zone.dart:1132:38)
#24     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#25     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#27     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#28     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#29     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#30     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#31     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
#32     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#33     _rootRunUnary (dart:async/zone.dart:1132:38)
#34     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#35     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#36     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#37     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#38     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#39     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:552:7)
#40     _rootRun (dart:async/zone.dart:1124:13)
#41     _CustomZone.run (dart:async/zone.dart:1021:19)
#42     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#43     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#44     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#45     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#46     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#47     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

flutter analyze

Analyzing myapp...
No issues found! (ran in 1.4s)

Flutter doctor

C:\Users\jaitj\Documents\Summer 2019\flutter\myapp>flutter doctor -v
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [Version
    10.0.18362.476], locale en-IN)
    • Flutter version 1.9.1+hotfix.6 at
      C:\src\flutter_windows_v1.9.1+hotfix.6-stable\flutter
    • Framework revision 68587a0916 (9 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\jaitj\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.40.1)
    • VS Code at C:\Users\jaitj\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.6.0

[√] Connected device (1 available)
    • Mi A1 • 7324ca9d0504 • android-arm64 • Android 9 (API 28)

• No issues found!

After a restart flutter run gives me the following output
`>flutter run
Launching lib\main.dart on Mi A1 in debug mode...
Initializing gradle...                                              1.5s
Resolving dependencies...                                          19.5s
FAILURE: Build failed with an exception.

What went wrong:
Could not resolve all files for configuration ':app:_internal_aapt2_binary'.

Could not resolve com.android.tools.build:aapt2:3.2.1-4818971.
Required by:
project :app
Could not resolve com.android.tools.build:aapt2:3.2.1-4818971.
Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom'.
Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom'.
dl.google.com
Could not resolve com.android.tools.build:aapt2:3.2.1-4818971.
Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom'.
Could not GET 'https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom'.
jcenter.bintray.com

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

Get more help at https://help.gradle.org

BUILD FAILED in 16s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        17.1s`

Failure caused by slow network connection, you may need to use a proxy.

Hello @jaitjacob !
Thank you for posting an issue.
I agree with @kassadin, it seems like a network problem. Can you please check whether application will run in other network?

Hey @janmoppel! Thanks for reaching out. So I was running my laptop on my home WiFi. Switched to mobile data now ironically seems to work fine.
Here is some more info if you'd like to see it.

C:\Users\jaitj\Documents\Summer 2019\flutter\myapp>flutter run
Waiting for another flutter command to release the startup lock...
Launching lib\main.dart on Mi A1 in debug mode...
Initializing gradle...                                              2.6s
Resolving dependencies...                                          27.7s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        81.8s
Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...                         6.2s
I/OpenGLRenderer(28842): Initialized EGL, version 1.4
D/OpenGLRenderer(28842): Swap behavior 2
I/Choreographer(28842): Skipped 131 frames!  The application may be doing too much work on its main thread.
D/vndksupport(28842): Loading<EMAIL_ADDRESS>from current namespace instead of sphal namespace.
D/vndksupport(28842): Loading /vendor/lib64/hw/gralloc.msm8953.so from current namespace instead of sphal namespace.
I/OpenGLRenderer(28842): Davey! duration=2266ms; Flags=1, IntendedVsync=172428291375061, Vsync=172430474708307, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=172430479692187, AnimationStart=172430480143124, PerformTraversalsStart=172430480156093, DrawStart=172430492237968, SyncQueued=172430494348384, SyncStart=172430494458489, IssueDrawCommandsStart=172430494732343, SwapBuffers=172430555313801, FrameCompleted=172430558179478, DequeueBufferDuration=3229000, QueueBufferDuration=691000,
Syncing files to device Mi A1...
 3,564ms (!)

�🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on Mi A1 is available at: http://<IP_ADDRESS>:54875/rNxqTu8ysu0=/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".

Hi @jaitjacob
given your last message I feel safe to close this issue,
if you disagree please write in the comments
and I will reopen it.
Thank you


Updates unit tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
224 unchanged lines in 9 files lost coverage.
Overall coverage decreased (-62.2%) to 15.771%

Files with Coverage Reduction
New Missed Lines
%

src/Tempest/Clock/src/ClockInitializer.php
2
0.0%

src/Tempest/Reflection/src/functions.php
4
0.0%

src/Tempest/Reflection/src/HasAttributes.php
10
0.0%

src/Tempest/Reflection/src/FunctionReflector.php
11
0.0%

src/Tempest/Reflection/src/ParameterReflector.php
25
0.0%

src/Tempest/Reflection/src/ClassReflector.php
32
23.81%

src/Tempest/Reflection/src/MethodReflector.php
34
0.0%

src/Tempest/Reflection/src/PropertyReflector.php
48
0.0%

src/Tempest/Reflection/src/TypeReflector.php
58
15.49%

Totals

Change from base Build<PHONE_NUMBER>8:
-62.2%

Covered Lines:
44

Relevant Lines:
279

💛  - Coveralls

Closing in favor of #417


ISSUE: Unexpected error fetching keymaster data: 'node_id'

Using the latest version 0.0.7 but I think the const.py file still contains 0.0.6.
Lock: schlage BE469
It seems that I can set PIN using lovelace UI and the status is connected. PIN also works for the door. However I am not getting any notifications from the door to my mobile app.
Only got one error in the log, maybe related to the notification issue?
Logger: custom_components.keymaster
Source: custom_components/keymaster/helpers.py:58
Integration: keymaster (documentation, issues)
First occurred: 4:18:17 PM (1 occurrences)
Last logged: 4:18:17 PM
Unexpected error fetching keymaster data: 'node_id'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 144, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 132, in _async_update_data
return await self.update_method()
File "/config/custom_components/keymaster/init.py", line 420, in async_update_usercodes
return await self.hass.async_add_executor_job(self.update_usercodes)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/keymaster/init.py", line 435, in update_usercodes
node_id = get_node_id(self.hass, self._lock.lock_entity_id)
File "/config/custom_components/keymaster/helpers.py", line 58, in get_node_id
return state.attributes[ATTR_NODE_ID]
KeyError: 'node_id'
Details from the log file:
2021-01-29 16:34:53 INFO (MainThread) [custom_components.keymaster] Version 0.0.6 is starting, if you have any issues please report them here: https://github.com/FutureTense/keymaster
2021-01-29 16:35:00 DEBUG (MainThread) [custom_components.keymaster] Finished fetching keymaster data in 1.961 seconds
2021-01-29 16:35:05 DEBUG (MainThread) [custom_components.keymaster] Finished fetching keymaster data in 0.002 seconds
2021-01-29 16:35:10 DEBUG (MainThread) [custom_components.keymaster] Finished fetching keymaster data in 0.134 seconds
2021-01-29 16:35:18 ERROR (MainThread) [custom_components.keymaster] Unexpected error fetching keymaster data: 'node_id'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 144, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 132, in _async_update_data
return await self.update_method()
File "/config/custom_components/keymaster/init.py", line 420, in async_update_usercodes
return await self.hass.async_add_executor_job(self.update_usercodes)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/keymaster/init.py", line 435, in update_usercodes
node_id = get_node_id(self.hass, self._lock.lock_entity_id)
File "/config/custom_components/keymaster/helpers.py", line 58, in get_node_id
return state.attributes[ATTR_NODE_ID]
KeyError: 'node_id'

Did you see any additional logs like the following after the error?
2021-01-29 16:35:05 DEBUG (MainThread) [custom_components.keymaster] Finished fetching keymaster data in 0.002 seconds
If so then it's safe to ignore. Did you follow the wiki to set up notifications (https://github.com/FutureTense/keymaster/wiki/Notification-Example-Script)? It doesn't happen automatically since we don't know where you want to target your notification

Did you see any additional logs like the following after the error?
2021-01-29 16:35:05 DEBUG (MainThread) [custom_components.keymaster] Finished fetching keymaster data in 0.002 seconds
If so then it's safe to ignore. Did you follow the wiki to set up notifications (https://github.com/FutureTense/keymaster/wiki/Notification-Example-Script)? It doesn't happen automatically since we don't know where you want to target your notification

Yes there are subsequent logs after which all look normal without errors.
I followed the wiki to have scripts.yaml which contains the following:
frontdoor_manual_notify:
mode: parallel
sequence:
- service: notify.notify
data:
title: "{{ title }}"
message: "{{ message }}"
I also verified the above script is working using the "developer tools" --> services to send notification. My mobile app can receive testing messages.
I see many automations are created like "frontdoor Lock Notifications" "frontdoor Changed code". How to I configure these automation to send notifications?

Yes there are subsequent logs after which all look normal without errors.
I followed the wiki to have scripts.yaml which contains the following:
frontdoor_manual_notify:
mode: parallel
sequence:
- service: notify.notify
data:
title: "{{ title }}"
message: "{{ message }}"
I also verified the above script is working using the "developer tools" --> services to send notification. My mobile app can receive testing messages.
I see many automations are created like "frontdoor Lock Notifications" "frontdoor Changed code". How to I configure these automation to send notifications?

I see many automations are created like "frontdoor Lock Notifications" "frontdoor Changed code". How to I configure these automation to send notifications?

They all get sent to the frontdoor_manual_notify script.
There should also be keymaster events that are fired off as well, you can watch these from the events tab in the dev-tools.

I see many automations are created like "frontdoor Lock Notifications" "frontdoor Changed code". How to I configure these automation to send notifications?

They all get sent to the frontdoor_manual_notify script.
There should also be keymaster events that are fired off as well, you can watch these from the events tab in the dev-tools.

I see many automations are created like "frontdoor Lock Notifications" "frontdoor Changed code". How to I configure these automation to send notifications?

They all get sent to the frontdoor_manual_notify script.
There should also be keymaster events that are fired off as well, you can watch these from the events tab in the dev-tools. You can use these to build notification automations as well.

Thanks for the clarification. I migrated to OpenZWave from the hassio native zwave integration. the error is gone. Everything works now except the lock notification. I had to enable some disabled entities and select them during keymaster configuration
to make it work. My setup is below:

I noticed there is a "frontdoor lock notification" can be turned on in lovelace UI, but it didn't help (still no notification). I even tried turning on the "frontdoor door notification" which relates to the door sensor, surprisingly it DOES send notification when door open/close. Any suggestions?

I see many automations are created like "frontdoor Lock Notifications" "frontdoor Changed code". How to I configure these automation to send notifications?

They all get sent to the frontdoor_manual_notify script.
There should also be keymaster events that are fired off as well, you can watch these from the events tab in the dev-tools. You can use these to build notification automations as well.

Thanks for the clarification. I migrated to OpenZWave from the hassio native zwave integration. the error is gone. Everything works now except the lock notification. I had to enable some disabled entities and select them during keymaster configuration
to make it work. My setup is below:

I noticed there is a "frontdoor lock notification" can be turned on in lovelace UI, but it didn't help (still no notification). I even tried turning on the "frontdoor door notification" which relates to the door sensor, surprisingly it DOES send notification when door open/close. Any suggestions?

Did you enable notifications on individual code slots? I just checked and I think the logic for the User Notification logic is hooked up to the individual code slot notification sensors instead of that one up top. So to get a notification for code slot 1, you turn that one on, code slot 2, etc.
I think we need to rethink the notification system a bit, it's a bit confusing

Did you enable notifications on individual code slots? I just checked and I think the logic for the User Notification logic is hooked up to the individual code slot notification sensors instead of that one up top. So to get a notification for code slot 1, you turn that one on, code slot 2, etc.
I think we need to rethink the notification system a bit, it's a bit confusing

Did you enable notifications on individual code slots? I just checked and I think the logic for the User Notification logic is hooked up to the individual code slot notification sensors instead of that one up top. So to get a notification for code slot 1, you turn that one on, code slot 2, etc.
I think we need to rethink the notification system a bit, it's a bit confusing

Yes it's on for each pin slot. Is it possible to check the log how the notification are fired?

Did you enable notifications on individual code slots? I just checked and I think the logic for the User Notification logic is hooked up to the individual code slot notification sensors instead of that one up top. So to get a notification for code slot 1, you turn that one on, code slot 2, etc.
I think we need to rethink the notification system a bit, it's a bit confusing

Yes it's on for each pin slot. Is it possible to check the log how the notification are fired?

If you enable debug on automations, you should be able to see when the automation triggers and the fact that it should be calling your script.manual_notify script

If you enable debug on automations, you should be able to see when the automation triggers and the fact that it should be calling your script.manual_notify script

what is the state of input_boolean.allow_automation_execution for you? I wonder if we are loading too late now to catch the event that flips that on

what is the state of input_boolean.allow_automation_execution for you? I wonder if we are loading too late now to catch the event that flips that on

Make sure you've created a notify script there's an example in the wiki.

Make sure you've created a notify script there's an example in the wiki.

what is the state of input_boolean.allow_automation_execution for you? I wonder if we are loading too late now to catch the event that flips that on

The state is on. Can you take a look at the following error? It's from my recent logs. I think it's related the the notification not fireing problem.
2021-01-31 14:39:44 DEBUG (MainThread) [custom_components.keymaster] Finished fetching keymaster data in 0.021 seconds
2021-01-31 14:39:46 ERROR (MainThread) [homeassistant.components.automation.frontdoor_lock_notifications] frontdoor Lock Notifications: Error executing script. Unexpected error for call_service at pos 1: Error rendering data template: UndefinedError: 'trigger' is undefined
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 353, in async_render
render_result = compiled.render(kwargs)
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/usr/local/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "

what is the state of input_boolean.allow_automation_execution for you? I wonder if we are loading too late now to catch the event that flips that on

The state is on. Can you take a look at the following error? It's from my recent logs. I think it's related the the notification not fireing problem.
2021-01-31 14:39:44 DEBUG (MainThread) [custom_components.keymaster] Finished fetching keymaster data in 0.021 seconds
2021-01-31 14:39:46 ERROR (MainThread) [homeassistant.components.automation.frontdoor_lock_notifications] frontdoor Lock Notifications: Error executing script. Unexpected error for call_service at pos 1: Error rendering data template: UndefinedError: 'trigger' is undefined
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 353, in async_render
render_result = compiled.render(kwargs)
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/usr/local/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "

can you open the frontdoor_keymaster_common file and find that automation YAML and paste it here?

can you open the frontdoor_keymaster_common file and find that automation YAML and paste it here?

Here you go:
###################  automation:  ####################
automation:

alias: reset_codeslot_frontdoor
trigger:
entity_id: input_boolean.reset_codeslot_frontdoor_1,input_boolean.reset_codeslot_frontdoor_2,input_boolean.reset_codeslot_frontdoor_3,input_boolean.reset_codeslot_frontdoor_4,input_boolean.reset_codeslot_frontdoor_5,input_boolean.reset_codeslot_frontdoor_6,input_boolean.reset_codeslot_frontdoor_7,input_boolean.reset_codeslot_frontdoor_8,input_boolean.reset_codeslot_frontdoor_9,input_boolean.reset_codeslot_frontdoor_10
platform: state
to: 'on'
action:

service: script.frontdoor_reset_codeslot
data_template:
code_slot: "{{ trigger.entity_id.split('_')[-1] }}"

alias: frontdoor Lock Notifications
trigger:
platform: event
event_type: keymaster_lock_state_changed
event_data:
lockname: frontdoor
condition:

condition: state
entity_id: "input_boolean.allow_automation_execution"
state: "on"
action:
service: script.frontdoor_conditional_notify
data_template:
boolean: input_boolean.frontdoor_lock_notifications
title: frontdoor
message: "{{ trigger.event.data.action_text }}"

alias: frontdoor User Notifications
trigger:
platform: event
event_type: keymaster_lock_state_changed
event_data:
lockname: frontdoor
condition:

condition: state
entity_id: "input_boolean.allow_automation_execution"
state: "on"
condition: template
value_template: "{{ trigger.event.data.code_slot > 0 }}"
condition: template
value_template: "{{ is_state('input_boolean.notify_frontdoor_' + trigger.event.data.code_slot | string, 'on') }}"
action:
service: script.frontdoor_manual_notify
data_template:
title: "{{ trigger.event.data.action_text }}"
message: "{{ trigger.event.data.code_slot_name }}"

alias: frontdoor Sensor Close
condition:

condition: state
entity_id: "input_boolean.allow_automation_execution"
state: "on"
trigger:
entity_id: binary_sensor.front_door
platform: state
to: "off"
action:
service: script.frontdoor_conditional_notify
data_template:
boolean: input_boolean.frontdoor_dooraccess_notifications
title: frontdoor
message: "Closed"

alias: frontdoor Sensor Opened
condition:

condition: state
entity_id: "input_boolean.allow_automation_execution"
state: "on"
trigger:
entity_id: binary_sensor.front_door
platform: state
to: "on"
action:
service: script.frontdoor_conditional_notify
data_template:
boolean: input_boolean.frontdoor_dooraccess_notifications
title: frontdoor
message: "Opened"

alias: frontdoor Changed Code
trigger:
entity_id: input_text.frontdoor_pin_1,input_text.frontdoor_pin_2,input_text.frontdoor_pin_3,input_text.frontdoor_pin_4,input_text.frontdoor_pin_5,input_text.frontdoor_pin_6,input_text.frontdoor_pin_7,input_text.frontdoor_pin_8,input_text.frontdoor_pin_9,input_text.frontdoor_pin_10
platform: state
condition:

condition: state
entity_id: "input_boolean.allow_automation_execution"
state: "on"
condition: template
value_template: >-
{{
is_state('input_boolean.frontdoor_enabled_' + trigger.entity_id.split('_')[-1], 'on')
and
(trigger.from_state.state != trigger.to_state.state)
}}
action:
service: persistent_notification.create
data_template:
title: frontdoor LOCK MANAGER
message: >-
{{ 'You changed the PIN for frontdoor code slot ' + trigger.entity_id.split('_')[-1] + '. Please enable it in order to make it active.'}}
service: input_boolean.turn_off
data_template:
entity_id: >-
{{ 'input_boolean.enabled_frontdoor_' + trigger.entity_id.split('_')[-1] }}

alias: frontdoor Reset
condition:

condition: state
entity_id: "input_boolean.allow_automation_execution"
state: "on"
trigger:
entity_id: input_boolean.frontdoor_reset_lock
platform: state
from: "off"
to: "on"
action:
service: script.frontdoor_reset_lock
service: input_boolean.turn_off
entity_id: input_boolean.frontdoor_reset_lock

alias: frontdoor Decrement Access Count
trigger:
platform: event
event_type: keymaster_lock_state_changed
event_data:
lockname: frontdoor
condition:

condition: state
entity_id: "input_boolean.allow_automation_execution"
state: "on"
condition: template
make sure decrementing access entries is enabled
value_template: "{{ is_state('input_boolean.accesslimit_frontdoor_' + trigger.event.data.code_slot | string, 'on') }}"
condition: template
Check for Keypad Unlock code
value_template: "{{ trigger.event.data.code_slot > 0 and trigger.event.data.action_code in (6, 19)}}"
action:
service: input_number.decrement
data_template:
entity_id: "{{ 'input_number.accesscount_frontdoor_' + trigger.event.data.code_slot | string }}"

sorry @johnnyl6 been distracted with other things. Are you on the latest and are you still having issues with notifications? I can't tell why you would be facing problems, I have confirmed with others that notifications are working for them

sorry @johnnyl6 been distracted with other things. Are you on the latest version of keymaster and are you still having issues with notifications? I can't tell why you would be facing problems, I have confirmed with others that notifications are working for them

No worries. The latest version has been working great for me including the notifications. I think this ticket can be closed now. Thanks.👍


Feat: Add plugin options presets api and add a preset for preview

This PR adds a plugin options presets api and adds a default preset for previews (to speed them up)
The default options for previews are:
{
    html: {
      useGatsbyImage: false,
      createStaticFiles: false,
    },
    type: {
      __all: {
        limit: 50,
      },
      Comment: {
        limit: 0,
      },
      Menu: {
        limit: null,
      },
      MenuItem: {
        limit: null,
      },
      User: {
        limit: null,
      },
    },
  }

This turns off static asset processing in html fields, removes all comments, and limits all node types to 50 (with the exception of menus, menu items, and users).

So if it's only pulling say 50 categories, and the page I'm previewing has breadcrumbs or something like:
Home > Category51 > Category52 > Post
Would that be broken because those nodes weren't fetched?
Or would these categories still be fetched when the specific preview was being viewed?
Just trying to think through cases where this will feel like a bug and not a feature.

 It could be a page like a newspaper homepage that's a mix of terms and the posts within those terms and if only 50 terms were fetched but the homepage displays
Category 51

Post of cat 51

Or whatever. . .just want to make sure these things will still work

That's a good point. There's a chance it wont display them, but they can always override the settings to do something like Tag: { limit: null } for example. The benefit here is previews will be massively faster and more reliable by default.

Sounds good. I think it's a good default tradeoff. If we get a lot of bug reports, etc we can re-think the defaults or rethink how we surface the docs to users, etc

I added a test and a message in the terminal explaining that it's set and how to disable it

This is published in<EMAIL_ADDRESS>


ToneMap can cause OutOfMemory exception

Open HowTo Different Color or Material Properties per Instance, enable the ToneMap, disable Auto Exposure and increase the Exposure value. Memory consumption will grow super high and application will die.

Maybe also related: #336


Readonly property are missing

Command:
autorest-beta --use=D:\VSProjects\autorest.python.v3 --add-credentials --payload-flattening-threshold=2 --namespace=azure.cognitiveservices.language.textanalytics --package-name=azure-cognitiveservices-language-textanalytics --no-namespace-folders ---clear-output-folder --output-folder=TextAnalytics/Code --input-file=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/cognitiveservices/data-plane/TextAnalytics/stable/v2.1/TextAnalytics.json --debug
Swagger:
https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/cognitiveservices/data-plane/TextAnalytics/stable/v2.1/TextAnalytics.json
See model LanguageBatchResult, all of them should be readOnly, example of generation in current autorest:
https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/azure/cognitiveservices/language/textanalytics/models/language_batch_result_py3.py

Not sure at this point if it's m4 or Python

fixed, property was being set but the check for whether to display the validation map was failing


Release 1.7.1

We are releasing a patch release 1.7.1 to incorporate the following hotfix:

#8408

Please hold on for a little bit. I would like to take a look into https://github.com/dmlc/xgboost/issues/8416


ContentHandler missing from Version 6.1.1

I tried to create a new app from scratch using Watson Webserver, but NuGet served me version 6.1.1, but unfortunately the ContentHandler that you added to version 6.0.3 is missing from 6.1.1. Consequently, this statement now gives me a compile error:
 _Server.Routes.PreAuthentication.ContentHandler = new ContentRouteHandler(_Server.Routes.PreAuthentication.Content);
I uninstalled 6.1.1 and installed 6.0.3, and it now compiles OK.

Hi @john144 please pardon my oversight, I forgot to commit the code that was in the v6.1.1 NuGet package.  It is now committed and can be found here: https://github.com/dotnet/WatsonWebserver/commit/56d61d719b9e13c8b86bc64c3b6a374702a601c4
ContentRouteHandler is now a property of ContentRouteManager, e.g. Webserver.Routes.PreAuthentication.Content now has an Func<HttpContextBase, Task> that can be overridden.  The default body for this function is the original ContentRouteHandler.  The reason I did this was to clean up configuration of routes and also to allow the HostBuilder extension to work for folks that wanted to map content routes while using that extension.
Please re-open if any issues!


mkdocs setup

Will allow local documentation set up with mkdocs serve --clean
Also fixes a few broken links resulting from the documentation restructure.

Thanks for letting me know @timkpaine , this is still in draft as I figure out these issues, I'll make sure to fix. Cheers!

Closing as stale, we can revisit down the road


Improve TradingCalendar perf with scalar-optimized accesses

When retrieving the open and close for a given session, we only care about the scalar values, so using DataFrame.at instead of DataFrame.loc is significantly faster.
Also improves MinuteResampleSessionBarReader by only retrieving session close when we need just the close, instead of the open and close.

@yankees714 do you have a profiling run that shows the difference here?

@ssanderson With this change it looks like:
In [3]: %%timeit
   ...: nyse_cal.open_and_close_for_session(today)
   ...:
10000 loops, best of 3: 41.6 µs per loop

vs. master:
In [2]: %%timeit
   ...: nyse_cal.open_and_close_for_session(today)
   ...:
1000 loops, best of 3: 274 µs per loop

Coverage decreased (-0.05%) to 87.477% when pulling bd7f121e85f58336d38da012b45cd96b65b6957d on calendar-perf-improvements into bd1b7f263c44a4ef47f3a17381c06753447e28aa on master.

@yankees714 changes look reasonable.  Had a few suggestions for possible further improvements.  I'm a little curious what prompted this change.  Is open_and_close_for_session is a significant bottleneck somewhere?  I've tended not to focus too much on scalar operations because my assumption has been that anyone calling a scalar function enough times to matter should probably be calling a vectorized version instead.

The bottleneck this is aimed at is: https://github.com/quantopian/zipline/pull/1747/files#diff-64eeb1b15a7a2ce1ec06af6c9a2f4b47R524. Seems like we can probably unfold that into a vectorized lookup?

Seems like we can probably unfold that into a vectorized lookup?

Yeah, that function looks like it's doing a ton of manual looping over arrays.  If the goal is to improve perf in _get_resampled, the right fix is to vectorize the implementation, not optimize scalar operations.

I'll still take a 6x improvement on the scalar operation, though.

I'll still take a 6x improvement on the scalar operation, though.

Yeah, no reason to drop these improvements, but I suspect we can get more like 100x on the function that's the actual bottleneck here.