Setup of platform pioneer is taking over 10 seconds.

Home Assistant release with the issue:
0.86.0 and higher
Last working Home Assistant release (if known):
i cant remember, thing has bee there forever
Operating environment (Hass.io/Docker/Windows/etc.):
Virt Env. on ubuntu
Component/platform:
pioneer
Description of problem:
Keep getting error: Setup of platform pioneer is taking over 10 seconds.
when device is off.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
############################################
##             Pioneer VSX-922            ##
############################################
###### MEDIA PLAYERS -----------------------
media_player:
  - platform: pioneer
    host: <IP_ADDRESS>
    name: vsx922

###### SENSORS -----------------------------
sensor:
  - platform: template
    sensors:
      vsx992:
        friendly_name: Pioneer VSX-922
        value_template: "{% if is_state('device_tracker.vsx922', 'home') %}Connected{% else %}Offline{% endif %}"
        icon_template: "{% if is_state('device_tracker.vsx922', 'home') %} mdi:surround-sound-5-1{% else %}mdi:lan-disconnect{% endif %}"

Traceback (if applicable):
There is not traceback

Additional information:
The media_player_vsx922 (pioneer) works like it should i think this error is false positive cause the pioneer is actually off when im getting this error

i have the same problem for a few weeks or maybe months.

The media_player_vsx922 (pioneer) works like it should
Does it indeed?
I have a VSX924 that works with HA (with the same 10 seconds startup warning) - but only for a few days at max, then it freezes so not even physical buttons on the amp can be used, so I have to unplug it from the mains. Sometimes it freezes within a few hours only...
But if I do not enable Pioneer support in HA, and use the Android app or the Pioneer binding in OpenHab then no problem whatsoever, so it is clearly an issue with this HA driver.
Checking the source code, I see it constantly opens and closes a new telnet connection, polls the amp every few seconds, so this is the only explanation I can think of: that many connects/disconnects break something in the telnet server of the amp (Android app or the OpenHab binding does not do this, those remain connected!)
Maybe this is a bug only with VSX924, I cannot tell - but this constant connecting/disconnecting is not a good idea in any case, so this Pioneer platform should be rewritten to async mode with a single connection (and then even display content of the amp can be passed to HA with that approach. That is not possible with the current polling method)

This has been happening for me since I got started with HA many moons ago. It is because the telnet commands timeout. It is not network connection related.
I check if my Pioneer gets setup on HA start and restart HA if it doesn't to let it attempt to setup the next restart. Not much else you can do.

Well, you can easily change that part in the code that creates this timeout in the update function.
This is where it fires 60 queries to the amp for each input's name in a loop from 1 to 60 - while in fact only 25 of those numbers might be valid (according to the Pioneer doc: 00, 01, 02, 04, 05, 06, 12, 13, 15, 17, 19, 20, 21, 22, 23, 24, 25, 26, 31, 33, 34, 38, 41, 44, 45)
So you can simply change that loop to go through this list, and most likely that timeout is eliminated (or don't even query but hardcode default names and let user rename inputs in configuration.yaml, as some other devices do, like Onkyo.
But that still leaves my main problem unaffected, and this polling mode would break the telnet server of the VSX924 amp in a few days, so my goal is to rewrite the whole thing as async, with a single connect.

Feel free to try my version of Pioneer platform.
It fits my needs nicely, not only eliminating that long startup loop (by checking only possible valid input names), but mostly in a much more reliable amp, that does not freeze soon.
By creating this as a telnet-listener, it was also possible to mirror the display content of the amp, so it now appears in the media player title. I also created services for switching between pre-stored radio stations, A-B speakers, and a function for dimming the display so automation for movie-watching can also include that.

Hi realthk, any way to change the HDMI output 1/2/1+2/none?

Hi realthk, any way to change the HDMI output - 1/2/1+2/none?

Sure, it has a telnet command:

I'll include that soon as a HA service call.

Awesome, thanks!

OK, I've uploaded a version with HDMI output select feature. Cannot really try on mine because of the HDZONE setting (as it is mentioned above in the Pioneer telnet command doc), but it probably should work.

Thanks realthk. Works just fine!! I've wanted to be able to do this for over 12 months.

Glad to hear it! :)


Fixes regexes to accept multipart git repository address.

https://github.com/opencv/cvat/issues/1651

Adjusted regexes to cover multipart repositories.
Motivation and context

https://github.com/opencv/cvat/issues/1651
How has this been tested?

Using reproduction steps from the issue description.
Used single part and multipart addresses in SSH form and HTTPS.
Checklist

[x] I submit my changes into the develop branch
- [ ] I have added description of my changes into CHANGELOG file
- [ ] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
- [ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
- [ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 5509

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.686%

Totals

Change from base Build 5502:
0.0%

Covered Lines:
10895

Relevant Lines:
16180

💛  - Coveralls

@nmanovic, LGTM.


Sticky scroll: show hints on hover and add the possibility to use the editor context menu

Feature proposed by @lramos15

Don't remember exactly what this issue is about unfortunately. Will close in the meantime, until I remember.

wtf hahahaha

i remenber this

Well if you remember you would be so kind as to tell me then. We are going through cleaning season and closing issues or fixing them.

we can show the hover on the editor

if we can show this hover while the mouse is in Sticky scroll

Right thanks. I will reopen this issue thank you.

Note for self: will require probably adding a new hit test for sticky scroll in the file mouseTarget.ts in order to determine what range is hovered on, to enable sticky scroll hovering.


Add simple method transport investment

Pull request details
Describe the changes made in this pull request
List of related issues or pull requests
Closes #792
Collaboration confirmation
As a contributor I confirm

[x] I read and followed the instructions in README.dev.md
[x] The documentation is up to date with the changes introduced in this Pull Request (or NA)
[x] Tests are passing
[x] Lint is passing

@abelsiqueira thanks for the review! I updated accordingly to my understanding. Does it now do what you meant?


Add handbook homepage cards

Add quick links to the homepage of the handbook for some of the most frequently used handbook pages.

Hi @marekweb, @madisongclark
Cc @TrevorHoughton, @devoncoords
Please see
https://github.com/sourcegraph/handbook/commit/9b527ba2369b3a6fd137d518a3f4dd0f45a5842b#r103192087
when your time permits.
Take care, and thank you!

To fix the link, I created a pull request at https://github.com/sourcegraph/handbook/pull/6368


add jai-pr.md file

Hi GSSoc team,
I raised this pr but there was some confusion to the admin at the time when I rised a issue for this.
And, I really spent a considerable amount of time on this.
It was linked to a level 2 issue, and it would be great if you can merge it.
@MastanSayyad
https://github.com/Avdhesh-Varshney/Jarvis/pull/194

it has closed by the PA


Sticky scroll lines are clipped

Testing #177642
Not sure how I got there but I had focus on sticky scroll and scrolled inside the file

I have not seen this issue since. I will close this issue optimistically. Feel free to reopen it, if you see it again


feat(config): add partial types for each config option

As mentioned in #427, I added all of the partial config definitions to config/types_partial. I didn't create a Partial pair for very few of them (e.g. blink.cmp.KeymapConfig) because all of their fields are already optional.
If you want me to change something (split this into multiple files / remove fields' comments / etc. ), let me know.
Edit: these are the types after be3e9cf435588b3ff4de7abcb04ec90c812f1871

fyi: a simple way to make a partial of a type is by doing:
---@class foo.partial: foo,{}

@folke Thank you! I had no idea you could do it like that, I'll update it.

Thank you!


popup modal dialog: escape should behave the same as clicking the cross => close and return focus to calling site

To reproduce: try with the "delete book" dialog.

Related issue: https://github.com/readium/readium-desktop/issues/304

Let's close this issue, in favour of this better-described one:
https://github.com/readium/readium-desktop/issues/455


Fix kms

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Fixed, and also included a fix for the warnings regarding node12 deprecation for actions/checkout@v2.


'Usabilla.frameworknot available fromReactNativeUsabilla/Frameworks

I'm able to compile my iOS project with usabilla implemented, however I cannot complete the step around:
'Drag and drop the Usabilla.framework from ReactNativeUsabilla/Frameworks and check the code sign on copy
as the framework is not available in my list:

I'm having the same problem. How did you solve it @kbanashek?


Best way to rotate all document's  page?

Hi, whats the best way to rotate all page in a pdf document?

Hello @facku! See the following APIs:

PDFDocument.getPages
PDFPage.setRotation


fix: [58092]: Update back-up-and-restore-helm.md

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description
The original document didn't capture the whole namespace backup/restore process. Also it didn't have troubleshoot steps. This PR aims to fix the gap.

Please describe your changes: Update backup/restore process
Jira/GitHub Issue numbers (if any): https://harness.atlassian.net/browse/PL-58092
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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

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


Add PeerConnection renegotiate tests

These will pass in WASM, but fail in Go for now. Later we will work on
making these tests pass as we implement re-negotiation
Relates to #207

Codecov Report

Merging #837 into master will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #837      +/-   ##
==========================================
+ Coverage   76.76%   76.95%   +0.18%
==========================================
  Files          60       60
  Lines        4257     4257
==========================================
+ Hits         3268     3276       +8
+ Misses        716      709       -7
+ Partials      273      272       -1

Impacted Files
Coverage Δ

dtlstransport.go
75.56% <0%> (-1.14%)
:arrow_down:

peerconnection.go
73.41% <0%> (+0.36%)
:arrow_up:

signalingstate.go
97.53% <0%> (+2.46%)
:arrow_up:

stats.go
82.05% <0%> (+5.12%)
:arrow_up:

pkg/rtcerr/errors.go
20% <0%> (+10%)
: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 d8b7905...4c4416f. Read the comment docs.


⚠ Bofrost.be has degraded performance

In 1e38a6a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1905 ms

Resolved: Bofrost.be performance has improved in 2299810.


(FACT-1088) Update acceptance to validate Lucid

CLA signed by all contributors.

@MikaelSmith indeed- uname -p returns unknown, same as a few Debian versions. I'll update to break that out for Lucid.


Add TransitStop data contract to route response

Bing REST services provide data about route transit stops, but actual data contracts lack of this info.

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

Thanks for making the changes to enhance the toolkit


Updated Step 3: Grant access to other applications

Updated Step 3: Grant access to other applications reflect current interface

@tylerkelly13 : Thanks for your contribution! The author, @barbkess, has been notified to review your proposed change.

@tylerkelly13 : Thanks for submitting this.  I'm approving it.
#sign-off


[Feature Request]: Remove need for tf.function in TF ModelHandler

What would you like to happen?
Right now, to use the Tensorflow model handler you need to take in a string tf.example. To support models that don't do this and take in something like a numpy array of floats, we currently recommend adding a tf.function (see https://github.com/apache/beam/blob/c36077a96a4691ca9000c8b243847ac6c7f82a74/examples/notebooks/beam-ml/run_inference_tensorflow.ipynb). We should automatically support this use case, and ideally do so more generally.
Issue Priority
Priority: 2
Issue Component
Component: run-inference

Completed by #25366


What's the format of exported Key?

I have couple of questions, couldn't add a label as question to this. Please update the label as a question. It would be great if someone can share their thoughts on the following:

Is the Private key which is being mounted on FlexVolume  Base64 encoded or encoded by any other algorithm or it's just in the plain text without any encoding?

Is there a way to fetch public and private key separately?(not in a single file as we get with secret)

Thanks

Hi @bhardwahnitish19 Thanks for reporting this.
We are deprecating this solution in favor of https://github.com/Azure/secrets-store-csi-driver-provider-azure as flexvol is deprecating in K8s upstream.
With the secrets store csi driver Azure provider PR and this PR in the csi driver, this should address your issue.  we will ping you as soon as all the changes are ready to be consumed or you could also build from source.

Hi @ritazh
Thanks for the update. It would be great if you can share some details about will the new solution provide a way to fetch public and private key separately? I assume that should work with new solution if we can get certs and keys in plain text. Please correct me if I am wrong.
Thanks

FYI - Mount volume always fails if I choose keys in flex volume. It fails specifically for the certificate that I have generated by CLI. Steps to generate Cert:

Created a CSR (where keyproperties.exportable is true)
Got this CSR to signed by a third party CA
Merged the generated public key/cert in Key Vault.

Not sure if I am missing something.


Image Track parsing Support

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.3.8
Please ask your question
Want to confirm if Shaka Player is currently capable of parsing all types of Thumbnail Tracks? After going through https://developer.bitmovin.com/playback/docs/thumbnail-preview-support#compatibility

Is player able to parse HLS/DASH Thumbnail Tracks in WebVTT format? I couldn't check as I wasn't able to get any samples for both HLS and DASH.
What about HLS Image Media Playlist? For this as well I wasn't able to get a valid working sample.
Not sure about BIF but I do have an implementation, However is there any plan for supoprting BIF as well even though it is Roku specific. If yes, In what ways, As much as I'm aware it can only be added via external source none of DASH/HLS supports direct implementation. Kindly confirm.

Shaka currently supports:

Internal DASH thumbnails. Using DASH-IF IOP Image Adaptation Set
Internal HLS thumbnails. Using HLS Image Media Playlist
External WebVTT with images/sprites (only for VoD)

Hello @avelad Can you confirm one thing, Are there any plans to bring support for BIF Image Track format?
Ref: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/bif-file-creation.md
If not I'll continue completing my custom implementation for BIF support for https://github.com/WINOFFRG/limeplay
otherwise integrate in shaka before.

There are not plans from us. But we are open to review PRs


Add SSL peer certificate support to HTTP server

Description:
Adds support for requiring SSL peer certificate from users connecting to the web frontend.
This can be an additional protection layer on top of the api_password HTTP basic authentication. Another use-case could be to only allow connections from Cloudflare servers as described here in case you use Cloudflare to provide SSL certificate for the Home Assistant web frontend.
Pull request in home-assistant.github.io with documentation: home-assistant/home-assistant.github.io#5566
Example entry for configuration.yaml:
http:
  ssl_peer_certificate: /etc/ssl/origin-pull-ca.pem

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

Hi @kepten,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

@balloob is there anything else to do on my part with this PR?

Thanks!


How to send a key to a background window

Is this possible?
Note that the window needs to stay in the background. I don't want to set the focus for a split second and then unfocus.

I would do that with PostMessage then. I don't think it works with interception, since it only simulates Keyboard input in Kernel Space

See this example


Integer overflow when running tf.linalg.diag

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
2.13.0
Custom code
Yes
OS platform and distribution
PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
Mobile device
No response
Python version
3.10.12 (main, Jun 11 2023, 05:26:28)
Bazel version
No response
GCC/compiler version
[GCC 11.4.0]
CUDA/cuDNN version
[nvidia-cudnn-cu11==<IP_ADDRESS>, cudatoolkit=11.8.0](nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Wed_Sep_21_10:33:58_PDT_2022 Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0)
GPU model and memory
T4
Current behavior?
Due to the large list of elements
Standalone code to reproduce the issue
import tensorflow as tf
import os
import numpy as np
try:
  diagonal_0_0_0 = []
  diagonal_0_0_1_0 = True
  diagonal_0_0_1_1 = 1122
  diagonal_0_0_1 = [diagonal_0_0_1_0,diagonal_0_0_1_1,]
  diagonal_0_0 = [diagonal_0_0_0,diagonal_0_0_1,]
  diagonal_0_1_0_0 = 1211
  diagonal_0_1_0_1 = 1212
  diagonal_0_1_0 = [diagonal_0_1_0_0,diagonal_0_1_0_1,]
  diagonal_0_1_1_0 = 1221
  diagonal_0_1_1_1 = 1222
  diagonal_0_1_1 = [diagonal_0_1_1_0,diagonal_0_1_1_1,]
  diagonal_0_1 = [diagonal_0_1_0,diagonal_0_1_1,]
  diagonal_0 = [diagonal_0_0,diagonal_0_1,]
  diagonal_1_0_0_0 = True
  diagonal_1_0_0_1 = ""
  diagonal_1_0_0 = [diagonal_1_0_0_0,diagonal_1_0_0_1,]
  diagonal_1_0_1_0 = 2121
  diagonal_1_0_1_1 = 2122
  diagonal_1_0_1 = [diagonal_1_0_1_0,diagonal_1_0_1_1,]
  diagonal_1_0 = [diagonal_1_0_0,diagonal_1_0_1,]
  diagonal_1_1_0_0 = 2211
  diagonal_1_1_0_1 = 2212
  diagonal_1_1_0 = [diagonal_1_1_0_0,diagonal_1_1_0_1,]
  diagonal_1_1_1_0 = 30.0
  diagonal_1_1_1_1 = 2222
  diagonal_1_1_1 = [diagonal_1_1_1_0,diagonal_1_1_1_1,]
  diagonal_1_1 = [diagonal_1_1_0,diagonal_1_1_1,]
  diagonal_1 = [diagonal_1_0,diagonal_1_1,]
  diagonal = [diagonal_0,diagonal_1,]
  name = "None"
  k =<PHONE_NUMBER>
  padding_value = 0
  align = "RIGHT_LEFT"
  out = tf.linalg.diag(diagonal=diagonal,name=name,k=k,padding_value=padding_value,align=align,)
except Exception as e:
  print("Error:"+str(e))

### Relevant log output

```shell
Error:{{function_node __wrapped__MatrixDiagV3_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying<PHONE_NUMBER>8 with<PHONE_NUMBER>, result: -1
	 [[{{node MatrixDiagV3}}]] [Op:MatrixDiagV3]

Hi @dmc1778 ,
The reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists 2.13v and nightly for reference.

@dmc1778 ,
Please refer to the responses of Developer team related to the exception raised https://github.com/tensorflow/tensorflow/issues/61630#issuecomment-1685333019 and https://github.com/tensorflow/tensorflow/issues/61629#issuecomment-1686504422 stating it as intended behaviour.
The Op tries to allocate the memory for the inputs and outputs before performing computations and it fails. The same error returned to python and its adding more details to error log.
As requested please read SECURITY.md to disclose these types of issues


Update README to remove redundant installation instructions

And reference the new docs web site.

Some extra files were accidentally added to this PR.  Trying to cancel it.


Add chatgpt3-prompt-zh extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi 👋
Did you see this extension before making this, it seems quite similar to yours 😊
I'm closing this for now, feel free to enhance the current if there is some features missing


加密算法部分

打扰到您了，请问加密算法是否采用的是AES算法呢？如果是用的AES，可是AES算法应该不是同态的吧。

Dear @zhaozhao626,
Thank you for your interest in our paper! No, we are not using AES to encrypt. In other words, to encrypt plaintext x, we are not computing c = AES(x). Instead, we are computing c = (x + AES(some_seed)) mod some_big_number, where the exact meaning of this formula can be referred to the arXiv paper. Hope this can help you!


Calling box_score gives you an error if it's the top of an inning for a live game

When I try to call mlb.box_score(some_game_id) when it is the top of an inning of an ongoing game, I get get the following eror: ValueError: invalid literal for int() with base 10: ''. When it is the bottom of an inning everything is fine. Will look into a solution.
Edit: If a team scores during the top of an inning it begins to work.
Full traceback:
 Traceback (most recent call last):   File "C:\Users\andre\AppData\Local\Programs\Python\Python35\lib\site-packages\mlbgame\game.py", line 270, in __init__     'home': int(data[x]['home']), ValueError: invalid literal for int() with base 10: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):   File "main.py", line 73, in <module>     main()   File "main.py", line 67, in main     real_time_game()   File "main.py", line 57, in real_time_game     innings_list = mlb.box_score(game_id).__dict__["innings"] # Get list of innings. Each inning is a dict e.g. {'inning': 1, 'home': 1, 'away': 0}   File "C:\Users\andre\AppData\Local\Programs\Python\Python35\lib\site-packages\mlbgame\__init__.py", line 192, in box_score     obj = mlbgame.game.GameBoxScore(data)   File "C:\Users\andre\AppData\Local\Programs\Python\Python35\lib\site-packages\mlbgame\game.py", line 279, in __init__     'away': int(data[x]['away']) ValueError: invalid literal for int() with base 10: ''

@panzarino I made a pull request with changes that should resolve the issue


clientv3: rename comparison from CreatedRevision to CreateRevision

To match protobuf naming

lgtm. defer to @xiang90 ?

LGTM


OpenDocument format

This PR brings support for the Opendocument format (.odt files), thanks to the odfpy package.

[x] Markdown writer
[x] ipymd => ODF writer
[x] test ODFDocument(doc=existing_doc)
[x] ODF reader (ODFDocument.tree())
[x] ODF to Markdown converter
[x] Code prompt manager
[x] Configurable prompts
[x] Detect code cells in ODF using prompts
[x] ODF => ipymd reader
[x] in ODFDocument, handle extra spaces with text:s
[x] test_odf_reader
[x] Rename core/core and utils/utils

Closes #24. Closes #29.

Wow -- this is amazing, @rossant!  The stuff you're doing is amazingly powerful.

Coverage increased (+6.06%) to 88.85% when pulling ca3a310949c5296d61001b07f36261bdaa9aa2b4 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+6.94%) to 89.72% when pulling 6f6e322a1416e1165295aee54b97139bc95e2650 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.14%) to 89.92% when pulling ac588dec5544ec5761e90a212fd9714b7101c881 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.07%) to 89.85% when pulling 5e0265ce037d45fdef8d2ae13e55cf608dcbfa28 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.06%) to 89.84% when pulling efb0e8161004427a38fc201b191f9ff2ff587531 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.06%) to 89.84% when pulling 87576a7add29f399707dd27e8a3059431c11c7d2 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.09%) to 89.87% when pulling 22571ce22f7228649e8494f78f416e89b710579b on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.09%) to 89.87% when pulling 22571ce22f7228649e8494f78f416e89b710579b on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.38%) to 90.16% when pulling 1d756cfad91011baf34ed937b72019c1e7ba7281 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.3%) to 90.08% when pulling e8b3d5dfb6e34d36230fe0d81b74519a4158d969 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

Coverage increased (+7.3%) to 90.08% when pulling e8b3d5dfb6e34d36230fe0d81b74519a4158d969 on odf into ccaf7894c6870cecb6a8e6a4027a011aa212873a on master.

don't you feel it's a bit late @coveralls ?

Thanks @odewahn ! This is indeed powerful: having two-ways conversion routines means that editors could edit a document in OpenOffice or Word while I get a diffable Markdown that is also executable in the notebook...


Bidirectional conversion between typst values and json/yaml/toml...

Description
As for now, the typst compiler is able to load a variety of text based file formats into (nested) typst values. This is a great achievement. I would prefer to generalize this in order to:

load not only from files, but also from strings
stringify typst values back into json/yaml/toml...

Use Case
1.) Loading from string: Would allow for manual parsing of hybrid file formats.
2.) Stringification can be later used as means of communication with other processing tools, via e.g.

tracing outputs,
parameter to external http or process calls, or
writing to files

I've experimented a little with another feature request, including the conversion from a typst value to &[u8]
see #1629 and https://github.com/Beiri22/typst/tree/writeyaml


Suddenly Mopidy configuration error with PiDi and st7789

Hi everyone,
I have encountered an issue when using the st7789 display on my pirate-audio board in Mopidy: This used to work some weeks (months) ago when I set up the system from scratch but now (after some update?) the screen remains blank (but back-lighted) and Mopidy refuses to start PiDy because it seems not to like the configuration anymore:

INFO     [MainThread] mopidy.__main__ Disabled extensions: pidi
WARNING  [MainThread] mopidy.__main__ Found pidi configuration errors. The extension has been automatically disabled:
WARNING  [MainThread] mopidy.__main__   pidi/display must be one of 'file', not st7789.

pidi-display-st7789 is installed, of course. Any ideas?
Cheers, Kryophilos

I get this as part of my warning set. I'm also just getting a blank screen.
sudo mopidyctl local scan
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf local scan" as user mopidy
INFO     [MainThread] mopidy.main Starting Mopidy 3.4.2
WARNING  [MainThread] mopidy_pidi Error loading display plugin DisplayST7789 = pidi_display_st7789:DisplayST7789: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
INFO     [MainThread] mopidy.config Loading config from builtin defaults
INFO     [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
INFO     [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
INFO     [MainThread] mopidy.config Loading config from command line options
WARNING  [MainThread] mopidy.config Ignoring config section 'mpd' because no matching extension was found
WARNING  [MainThread] mopidy.config Ignoring config section 'spotify' because no matching extension was found
INFO     [MainThread] mopidy.main Enabled extensions: iris, file, softwaremixer, raspberry-gpio, stream, m3u, http
INFO     [MainThread] mopidy.main Disabled extensions: pidi, local
WARNING  [MainThread] mopidy.main Found local configuration errors. The extension has been automatically disabled:
WARNING  [MainThread] mopidy.main   local/media_dir must be set.
WARNING  [MainThread] mopidy.main Found pidi configuration errors. The extension has been automatically disabled:
WARNING  [MainThread] mopidy.main   pidi/display must be one of 'file', not st7789.
WARNING  [MainThread] mopidy.main Please fix the extension configuration errors or disable the extensions to silence these messages.
ERROR    [MainThread] mopidy.main Unable to run command provided by disabled extension local

yeah getting the same error whereas I did not a month ago.
`Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config" as user mopidy
WARNING  [MainThread] mopidy_pidi Error loading display plugin DisplayST7789 = pidi_display_st7789:DisplayST7789: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
WARNING  [MainThread] mopidy.config Ignoring config section 'mpd' because no matching extension was found
WARNING  [MainThread] mopidy.config Ignoring config section 'spotify' because no matching extension was found
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false
[logging]
verbosity = 0
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = false
config_file =
[audio]
mixer = software
mixer_volume = 40
output = alsasink device=hw:sndrpihifiberry
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[raspberry-gpio]
enabled = true
bcm0 =
bcm1 =
bcm2 =
bcm3 =
bcm4 =
bcm5 = play_pause,active_low,250,
bcm6 = volume_down,active_low,250,
bcm7 =
bcm8 =
bcm9 =
bcm10 =
bcm11 =
bcm12 =
bcm13 =
bcm14 =
bcm15 =
bcm16 = next,active_low,250,
bcm17 =
bcm18 =
bcm19 =
bcm20 = volume_up,active_low,250,
bcm21 =
bcm22 =
bcm23 =
bcm24 = volume_up,active_low,250,
bcm25 =
bcm26 =
bcm27 =
[pidi]
enabled = false  ; Extension disabled due to config errors.
display =   ; Must be one of 'file', not st7789.
rotation = 90
idle_timeout = 0
[local]
enabled = true
max_search_results = 100
media_dir = /media/NAS
scan_timeout = 3000
scan_flush_threshold = 100
scan_follow_symlinks = false
included_file_extensions =
excluded_file_extensions =
.ini
.cue
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
directories =
Albums                  local:directory?type=album
Artists                 local:directory?type=artist
Composers               local:directory?type=artist&role=composer
Genres                  local:directory?type=genre
Performers              local:directory?type=artist&role=performer
Release Years           local:directory?type=date&format=%25Y
Tracks                  local:directory?type=track
Last Week's Updates     local:directory?max-age=604800
Last Month's Updates    local:directory?max-age=2592000
timeout = 10
use_artist_sortname = false
album_art_files =
*.jpg
*.jpeg
*.png
[iris]
enabled = true
country = NZ
locale = en_NZ
verify_certificates = true
snapcast_enabled = true
snapcast_host = localhost
snapcast_port = 1780
snapcast_ssl = false
snapcast_stream = Default
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
genius_authorization_url = https://jamesbarnsley.co.nz/iris/auth_genius.php
data_dir = $XDG_DATA_DIR/iris
[file]
enabled = true
media_dirs =
/media/NAS
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000
[http]
enabled = true
hostname = <IP_ADDRESS>
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy
[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =
[softwaremixer]
enabled = true
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000
`

Not quite sure what's going on with numpy here but a quick Google for that error suggests it might be a missing dependency.
If numpy is installed via "pip" then it wont pull in "apt" managed dependencies, you could try:
sudo apt install libopenblas-dev

Not quite sure what's going on with numpy here but a quick Google for that error suggests it might be a missing dependency.
If numpy is installed via "pip" then it wont pull in "apt" managed dependencies, you could try:
sudo apt install libopenblas-dev

I found this too and I think this is what fixed it for me.

Yeah, looks like the screen works now, but still generates debug errors
sudo mopidyctl -vvvv
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf -vvvv" as user mopidy
INFO     [MainThread] mopidy.__main__ Starting Mopidy 3.4.2
DEBUG    [MainThread] mopidy.ext Loading entry point: raspberry-gpio = mopidy_raspberry_gpio:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-Raspberry-GPIO 1.0.4
DEBUG    [MainThread] mopidy.ext Loading entry point: pidi = mopidy_pidi:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-PiDi 1.0.4
DEBUG    [MainThread] mopidy.ext Loading entry point: local = mopidy_local:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-Local 3.2.1
DEBUG    [MainThread] mopidy.ext Loading entry point: iris = mopidy_iris:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-Iris 3.69.3
DEBUG    [MainThread] mopidy.ext Loading entry point: file = mopidy.file:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-File 3.4.2
DEBUG    [MainThread] mopidy.ext Loading entry point: http = mopidy.http:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-HTTP 3.4.2
DEBUG    [MainThread] mopidy.ext Loading entry point: m3u = mopidy.m3u:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-M3U 3.4.2
DEBUG    [MainThread] mopidy.ext Loading entry point: softwaremixer = mopidy.softwaremixer:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-SoftwareMixer 3.4.2
DEBUG    [MainThread] mopidy.ext Loading entry point: stream = mopidy.stream:Extension
DEBUG    [MainThread] mopidy.ext Loaded extension: Mopidy-Stream 3.4.2
DEBUG    [MainThread] mopidy.ext Discovered extensions: raspberry-gpio, pidi, local, iris, file, http, m3u, softwaremixer, stream
DEBUG    [MainThread] mopidy.config.keyring Fetching passwords from your keyring failed. Any passwords stored in the keyring will not be available. (dbus not installed)
INFO     [MainThread] mopidy.config Loading config from builtin defaults
INFO     [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
INFO     [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
INFO     [MainThread] mopidy.config Loading config from command line options
WARNING  [MainThread] mopidy.config Ignoring config section 'spotify' because no matching extension was found
WARNING  [MainThread] mopidy.config Ignoring config section 'mpd' because no matching extension was found
DEBUG    [MainThread] mopidy.ext Validating extension: raspberry-gpio
DEBUG    [MainThread] mopidy.ext Validating extension: pidi
DEBUG    [MainThread] mopidy.ext Validating extension: local
DEBUG    [MainThread] mopidy.ext Validating extension: iris
DEBUG    [MainThread] mopidy.ext Validating extension: file
DEBUG    [MainThread] mopidy.ext Validating extension: http
DEBUG    [MainThread] mopidy.ext Validating extension: m3u
DEBUG    [MainThread] mopidy.ext Validating extension: softwaremixer
DEBUG    [MainThread] mopidy.ext Validating extension: stream
INFO     [MainThread] mopidy.__main__ Enabled extensions: stream, file, softwaremixer, pidi, local, m3u, raspberry-gpio, http, iris
INFO     [MainThread] mopidy.__main__ Disabled extensions: none
DEBUG    [MainThread] mopidy.commands Available Mopidy mixers: SoftwareMixer
INFO     [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
DEBUG    [MainThread] pykka Registered SoftwareMixer (urn:uuid:738e456f-7e5a-4ba7-acae-0bb38c751e7e)
DEBUG    [MainThread] pykka Starting SoftwareMixer (urn:uuid:738e456f-7e5a-4ba7-acae-0bb38c751e7e)
INFO     [MainThread] mopidy.commands Mixer volume set to 40
INFO     [MainThread] mopidy.commands Starting Mopidy audio
DEBUG    [MainThread] pykka Registered Audio (urn:uuid:a614ad08-9641-4b69-98ff-187ca3f43fdd)
DEBUG    [MainThread] pykka Starting Audio (urn:uuid:a614ad08-9641-4b69-98ff-187ca3f43fdd)
INFO     [MainThread] mopidy.commands Starting Mopidy backends: LocalBackend, FileBackend, M3UBackend, StreamBackend
DEBUG    [MainThread] pykka Registered LocalBackend (urn:uuid:ce399647-cb39-42bb-890d-c90a7f053b7a)
DEBUG    [MainThread] pykka Starting LocalBackend (urn:uuid:ce399647-cb39-42bb-890d-c90a7f053b7a)
TRACE    [MainThread] mopidy.internal.timer LocalBackend took 27ms
DEBUG    [MainThread] pykka Registered FileBackend (urn:uuid:c964b2ea-8b6d-46f8-9c06-53f67925bbd3)
DEBUG    [MainThread] pykka Starting FileBackend (urn:uuid:c964b2ea-8b6d-46f8-9c06-53f67925bbd3)
INFO     [Audio-2] mopidy.audio.actor Audio output set to "alsasink device=hw:sndrpihifiberry"
TRACE    [MainThread] mopidy.internal.timer FileBackend took 21ms
DEBUG    [MainThread] pykka Registered M3UBackend (urn:uuid:ec5cc417-d5ee-49da-ace4-e5ad1dff42df)
DEBUG    [MainThread] pykka Starting M3UBackend (urn:uuid:ec5cc417-d5ee-49da-ace4-e5ad1dff42df)
TRACE    [MainThread] mopidy.internal.timer M3UBackend took 8ms
DEBUG    [SoftwareMixer-1] mopidy.mixer Mixer event: volume_changed(volume=40)
DEBUG    [SoftwareMixer-1] mopidy.listener Sending volume_changed to MixerListener: {'volume': 40}
DEBUG    [MainThread] pykka Registered StreamBackend (urn:uuid:e68f31dd-2ffe-4552-89ae-aa561e3d9a63)
DEBUG    [MainThread] pykka Starting StreamBackend (urn:uuid:e68f31dd-2ffe-4552-89ae-aa561e3d9a63)
TRACE    [MainThread] mopidy.internal.timer StreamBackend took 39ms
INFO     [MainThread] mopidy.commands Starting Mopidy core
DEBUG    [MainThread] pykka Registered Core (urn:uuid:d2bbde19-53c3-4912-84f6-5127b1de464c)
DEBUG    [MainThread] pykka Starting Core (urn:uuid:d2bbde19-53c3-4912-84f6-5127b1de464c)
INFO     [MainThread] mopidy.commands Starting Mopidy frontends: RaspberryGPIOFrontend, PiDiFrontend, IrisFrontend, HttpFrontend
DEBUG    [MainThread] pykka Registered RaspberryGPIOFrontend (urn:uuid:394b42a4-21e5-444c-aab5-e2fe23787b4a)
DEBUG    [MainThread] pykka Starting RaspberryGPIOFrontend (urn:uuid:394b42a4-21e5-444c-aab5-e2fe23787b4a)
TRACE    [MainThread] mopidy.internal.timer RaspberryGPIOFrontend took 8ms
DEBUG    [MainThread] pykka Registered PiDiFrontend (urn:uuid:a8fdf8d9-3605-4141-b966-5c10a33f5e74)
DEBUG    [MainThread] pykka Starting PiDiFrontend (urn:uuid:a8fdf8d9-3605-4141-b966-5c10a33f5e74)
TRACE    [MainThread] mopidy.internal.timer PiDiFrontend took 3ms
DEBUG    [MainThread] pykka Registered IrisFrontend (urn:uuid:aa543cca-29c0-416d-9ce6-c513ba56f547)
DEBUG    [MainThread] pykka Starting IrisFrontend (urn:uuid:aa543cca-29c0-416d-9ce6-c513ba56f547)
DEBUG    [PiDiFrontend-9] musicbrainzngs set user-agent to python-pidi: A cover art daemon./1.0.4 python-musicbrainzngs/0.7.1 ( https://github.com/pimoroni/mopidy-pidi )
INFO     [IrisFrontend-10] mopidy_iris.core Starting Iris 3.69.3
TRACE    [MainThread] mopidy.internal.timer IrisFrontend took 9ms
DEBUG    [MainThread] mopidy.http.actor Starting HTTP server
ERROR    [MainThread] mopidy.commands Frontend (HttpFrontend) initialization error: HTTP server startup failed: [Errno 98] Address already in use
INFO     [MainThread] mopidy.commands Starting GLib mainloop
DEBUG    [PiDiFrontend-9] PIL.PngImagePlugin STREAM b'IHDR' 16 13
DEBUG    [PiDiFrontend-9] PIL.PngImagePlugin STREAM b'tEXt' 41 25
DEBUG    [PiDiFrontend-9] PIL.PngImagePlugin STREAM b'iTXt' 78 902
DEBUG    [PiDiFrontend-9] PIL.PngImagePlugin STREAM b'IDAT' 992 3819
DEBUG    [PiDiFrontend-9] PIL.PngImagePlugin STREAM b'IHDR' 16 13
DEBUG    [PiDiFrontend-9] PIL.PngImagePlugin STREAM b'tEXt' 41 25
DEBUG    [PiDiFrontend-9] PIL.PngImagePlugin STREAM b'iTXt' 78 902
DEBUG    [PiDiFrontend-9] PIL.PngImagePlugin STREAM b'IDAT' 992 4210
ERROR    [PiDiFrontend-9] pykka Unhandled exception in PiDiFrontend (urn:uuid:a8fdf8d9-3605-4141-b966-5c10a33f5e74):
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 186, in _actor_loop
    self.on_start()
  File "/usr/local/lib/python3.9/dist-packages/mopidy_pidi/frontend.py", line 38, in on_start
    self.display = PiDi(self.config)
  File "/usr/local/lib/python3.9/dist-packages/mopidy_pidi/frontend.py", line 180, in __init__
    self._display = self.display_class(self.display_config)
  File "/usr/local/lib/python3.9/dist-packages/pidi_display_st7789/__init__.py", line 15, in __init__
    self._st7789 = ST7789(
  File "/usr/local/lib/python3.9/dist-packages/st7789/__init__.py", line 154, in __init__
    self._dc = gpiodevice.get_pin(dc, "st7789-dc", OUTL)
  File "/usr/local/lib/python3.9/dist-packages/gpiodevice/__init__.py", line 163, in get_pin
    lines = chip.request_lines(consumer=f"{consumer}-{label}", config={line_offset: settings})
  File "/usr/local/lib/python3.9/dist-packages/gpiod/chip.py", line 316, in request_lines
    req_internal = self._chip.request_lines(line_cfg, consumer, event_buffer_size)
OSError: [Errno 16] Device or resource busy
DEBUG    [PiDiFrontend-9] pykka Unregistered PiDiFrontend (urn:uuid:a8fdf8d9-3605-4141-b966-5c10a33f5e74)


Adding Link to Environment Page for "Actions / Permission Statement Secrets Environments"

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-an-environment
What part(s) of the article would you like to see updated?
The Environment option visibility in the settings depends on the repository visibility and product subscription. In order to help users understand why the option might not be visible, a link to the "Using Environments for Deployment" page would help to identify the reason.
Additional information
No response

@aatmmr Thank you for opening an issue and linking it to your PR! ✨


README: Update Screenshots and Badges in ZH

close #7986

@techknowlogick i use one old pic: ![Pull Request View](https://image.ibb.co/e02dSb/6.png) so there is no empty table feald ... if you like you can make a new one / upload this to dl.gitea.io too ?

Codecov Report

Merging #8813 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8813   +/-   ##
=======================================
  Coverage   41.27%   41.27%
=======================================
  Files         542      542
  Lines       69715    69715
=======================================
  Hits        28774    28774
  Misses      37258    37258
  Partials     3683     3683

Impacted Files
Coverage Δ

modules/sync/unique_queue.go
78.57% <0%> (-10.72%)
:arrow_down:

models/gpg_key.go
55.59% <0%> (+0.55%)
: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 7971b05...c02d90d. Read the comment docs.

I guess it's OK to hotlink Github for this...
https://raw.githubusercontent.com/go-gitea/gitea/master/public/img/gitea-192.png


Customizable folder icons

What's the Problem?
missing option for costumizing folder icons
Solution/Idea
Hi, thanks for your great file explorer! I hope MS will develope something like that or hire you int he future :) Unfortunately I miss an option to costumize my folder icons. If you could add this feature in the future, I'd love it! :)
LG
Alternatives
no, really but idk
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.19042.1237
Windows Version
Windows 10 Home 20H2 19042.1237
Additional comment
No response

Thanks a lot for the feedback. Custom icons is something we're looking into -> #1015


How is fleet telemetry enabled on a vehicle?

How is fleet telemetry enabled on a particular vehicle for a particular third party app?
Is there a step that the driver/owner needs to perform?
Does it build upon the Third Party App permission mechanism?
At what point is the third party client_config.json installed and activated on the vehicle?
We still haven't supplied our client_config.json to Tesla as there are no instructions as per #41.
Thanks!

instructions to enable fleet telemetry are present here https://developer.tesla.com/docs/fleet-api#fleet-telemetry


[Tour of Beam] [Task] Save user code for anonymous user

What needs to happen?
Need to save user code for anonymous users in ToB frontend
Issue Priority
Priority: 3
Components:
tour-of-beam

.take-issue


Fail tests test_fft.TestFFT on Ubuntu 20.04

Hello,
I'm starting to use bifrost and I'm happily starting with the tutorials.
However, just out of curiosity, to check my install, I run make test.
Many passed but FAILED (failures=3, skipped=4)
FAIL: test_c2r_1D (test_fft.TestFFT)
Traceback (most recent call last):
File "/home/cedric/tmp/bifrost/test/test_fft.py", line 206, in test_c2r_1D
self.run_test_c2r(self.shape1D, [0])
File "/home/cedric/tmp/bifrost/test/test_fft.py", line 148, in run_test_c2r
self.run_test_c2r_impl(shape, axes)
File "/home/cedric/tmp/bifrost/test/test_fft.py", line 141, in run_test_c2r_impl
compare(odata.copy('system'), known_result)
File "/home/cedric/tmp/bifrost/test/test_fft.py", line 51, in compare
np.testing.assert_allclose(result, gold, rtol=RTOL, atol=MTOL * absmean)
File "/home/cedric/anaconda3/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/home/cedric/anaconda3/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 842, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=0.1, atol=0.00462357
Mismatched elements: 1 / 16777216 (5.96e-06%)
Max absolute difference: 0.01639435
Max relative difference: 1.93911746
FAIL: test_c2r_2D (test_fft.TestFFT)
AssertionError:
Not equal to tolerance rtol=0.1, atol=0.00231149
Mismatched elements: 4186048 / 4194304 (99.8%)
Max absolute difference:<PHONE_NUMBER>2237
Max relative difference: 39550830.05759069
FAIL: test_c2r_3D (test_fft.TestFFT)
AssertionError:
Not equal to tolerance rtol=0.1, atol=0.00163087
Mismatched elements: 2080441 / 2097152 (99.2%)
Max absolute difference: 88917.37869481
Max relative difference: 6823521.1182115
This was tested on Ubuntu 20.04.4 LTS with Python 3.8.8.
Tell me if I can help.
Regards,
Cedric

Hi Cedric, thanks for the report. We have sometimes seen failures such as these that are dependent on GPU card and architecture settings. Can you provide details about your GPU hardware (output of nvidia-smi for example) and the output of ./configure (or the config.log file)?

Thanks for the quick feed back.
| NVIDIA-SMI 515.43.04    Driver Version: 515.43.04    CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro T2000        On   | 00000000:01:00.0 Off |                  N/A |
| N/A   40C    P0    17W /  N/A |     10MiB /  4096MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

configure_stdout.txt
config.log
I hope this helps.

It's just these 3 failures? They're all using complex-to-real transforms (which I failed to notice when looking at it on my phone this morning), and there is a known issue with C2R in cufft on certain cards and/or certain CUDA versions, so I guess we're hitting it here. I'll gather together some possibly-related info we've stumbled across… hope we can find a work-around for this one, but Jayce will know more.

#164 mentions C2R issue along with a bunch of other things
That ticket also mentions similar problem in arrayfire project
NVIDIA release notes for 11.1 mentions a "known issue" for C2R that presumably continues into the future
A stackoverflow that (maybe) mentions something similar
The line in configure.ac where we issue a warning about C2R behavior, but seems like we flagged it on 11.[0-6] and you are 11.7.

Yes, just these 3 failures.  I guess my install is mostly fine then and that I can play with the tutorials.
Thanks for your feedback.


Pulling hair out on App Review

I am beyond frustrated with Facebook. I had working server code that managed the tokens for V1 that stopped working. OK, so we updated the code and have it working fine with test users, and got the token refresh working. We updated Instafeed to V2. So far so good. So we're trying to use something besides test users and need to go through an App Review. Facebook's comments on why they keep rejecting our "app" are next to worthless. I eventually got the user_profile privilege approved, but they keep rejecting user_media privilege (the part I assume Instafeed.js uses) with "We cannot find a valid use case for this privilege".  Is Instafeed.js considered an invalid use case? Do I not need user_media?
Everything works fine in development mode. But the minute I make it "live" with only the user_profile permission approved I cannot generate a token.

Sorry to hear that, @keithstone97 - but issues with app review are out of scope for Instafeed.js. You'll probably find better information on the Facebook dev support forums.


Does it support local videos

DOES IT SUPPORT LOCL VIDEOS

of course

How , I am actually giving the path and the path is not loaded , please can you explain me.

This library use android.media.MediaPlayer to play video, it support local video.
Local path will parse to Uri, you can try some other way to represent the path of video.

I am getting paths in string and there only one Method where I can pass the uri or string of the path
.setup I don't see any method that ask for the uri

develop branch , fm.jiecao.jcvideoplayer_lib.JCMediaManager  line 48
mediaPlayer.setDataSource(context, Uri.parse(url), mapHeadData);
Your string will parse to uri

Thanks for it , whereas the media player  so coconfusing and I am actually decrypting videos and after the completion of the decryption I have to run the video controls are like jammed and don't run.

I cann't help you with decrypting videos, if you use persistence as your good friend, you will make it.

now tell me how can i add the mediaManager to the videoView

VideoView is not inflexible.


adding handling of nested dict for actions

A possible solution for #187

A new function make_hashable(obj) was added to convert objects into hashable versions.
The actions() function was updated to use make_hashable(obj).
A loop was added to iterate over "actions" in zyte_api_meta. This allows to convert immutable frozenset objects into mutable dict objects within the "actions" of zyte_api_meta.

This needs a new test, adding a "selector": {"type": "css", "value": "button#openDescription"} item to the action in the existing one may be enough.

Test failures are unrelated to this change., but the provider job failure is relevant.

Sorry.. forgot to add # type: ignore[attr-defined] comment when using cls.__metadata__[0]
Done in https://github.com/scrapy-plugins/scrapy-zyte-api/commit/cba02bb7c1524b74ddf1b1f329c9b4b07ff9190b


[FRE-620] Add White Whale And More Astroport Swap Venues To Route Display

This PR
Updates route display by:

Adding white whale swap venues on migaloo, chihuahua, and terra, using the white whale logo for the logo
Adds injective and sei astroport swap venues, using the astroport logo for the logo
Changes the terra astroport logo from luna logo to astroport logo (to standardize across all astroport swap venues)

Does the api have these data by any chance? But for now looks lgtm to me ✅

@grikomsn the dev api does: https://api-docs.skip.money/v0.1.0-dev/reference/getvenues

the dev api does: https://api-docs.skip.money/v0.1.0-dev/reference/getvenues

But not including image URLs, right @NotJeremyLiu?

@grikomsn right, sorry, mis-read your message. Check my "EDIT 1:"


Logo change crashes admin

Describe the bug
Logo change crashes admin
To Reproduce

Open https://safe-transaction.mainnet.staging.gnosisdev.com/admin/contracts/contract/0x40A2aCCbd92BCA938b02010E17A5b8929b49130D/change/?_changelist_filters=q%3DMultiSendCallOnly
Change logo to this file:

Hit "save"
wait
wait longer ;)
-> Black screen (time out?) or 502
Also: Logo didn't change

Expected behavior
Logo is updated without issue.

Same issue when trying to add the logo here: https://safe-transaction.mainnet.staging.gnosisdev.com/admin/contracts/contract/0xCFbFaC74C26F8647cBDb8c5caf80BB5b32E43134/change/

This issue also exists when creating a new known address. Currently it's not possible to create them with a logo.

I'll go ahead and create them without a logo for the time being.


Add Python 3.9 and Python 3.10 to the CI test job

Currently, we're only testing against python3.8 in .github/workflows/ci.yml. The goal of this issue is to add python3.9 and python3.10 to make sure that we're compatible with later versions of Python.

@cragwolfe
I made the changes in ci.yml file. But I am unable to push the code. I am getting this error:

Also I made a small change in html.py and pushed that code for the purpose of testing and it was successfully pushed.


Enable connected ports, configure connectors and LLDP

The use of connectors varies between SR OS variants, it is convenient if vrnetlab configures them and enables the ports with LLDP

Hi @jbemmel
I would propose we make this an opt-out feature. There are use cases where users want to have a node with a +/- clean config, with ports not configured at all, as this might be the task they test/use.
So I think the easy opt-out way would be skip ports/breakout config if a certain env var is present. For example CLAB_CONFIG_SROS_PORTS=false.

Sure, we can add that


SPPermission not able to check for permissions

When calling the function hasPermission() the console shows this error
Fatal error: SPPermission - Camera not import. See Readme: https://github.com/ivanvorobei/SPPermission
I am aware of the situation with the permissions and Apple's new policy. But I am using Carthage and in SPPermission Readme doesn't say that I have to do anything extra. Is there any way to solve this issue?

I am try update Carthage and now it will be work.
If not work, please, write me.

Also see updated Readme about configuration file.

It works now. Amazing! didn't know you can create hooks like that Thanks x1000

@davidvpe no problem) Thanks for issue!

@davidvpe for now with Carthage asset problem, you can test?

I have added your project Manually and I am getting this error.
Please can you help me ?

@KrLikeblue see example project. You need add configuration

Hello, I have added configuration file
But still getting error

@KrLikeblue you set configuration in project settings? Maybe not.

In project settings ???? I did not understand. Can you post some photo ?
I added configuration file by going into File -> New -> File ->Configuration Setting File.
Let me know if I am missing something

@KrLikeblue

Awesome Man....!!! Solved it...
But why it is required ?? can you please explain.. I am new to this
By the way. Thank you very much...
Thanks

Due to Apple's new policy regarding permission access you need to specifically define what kind of permissions you want to access using subspecs.

Apple check which permissions you trying request and can reject app. Need use submodules.

Not working with SPM

Not working with SPM

@ajjumehra true, still

@ajjumehra true, still


Register tests directory for rails stats

What are you trying to accomplish?
After the introduction of PR #2081, the tests directory was missing in rails stats.

@javierav thanks for writing up a PR here, but I'm confused: are you saying that previously rails stats would include tests for components? I don't remember that ever being the case.

No, sorry for the confusion. What I meant was that the previous PR adds the "app/components" folder to rails stats but it forgot to add the "test/components" folder if it exists, which is what this PR does.

@javierav got it. I'm hesitant to add test/components if it wasn't there before. I believe rails stats is meant to report on the contents of app. Have you seen it report on other test-related objects?

@joelhawksley sure! For example already exists in Rails 6.0 or RSpec
This is the output for a Rails 7.2 empty app:
+----------------------+--------+--------+---------+---------+-----+-------+
| Name                 |  Lines |    LOC | Classes | Methods | M/C | LOC/M |
+----------------------+--------+--------+---------+---------+-----+-------+
| Controllers          |      4 |      3 |       1 |       0 |   0 |     0 |
| Helpers              |      2 |      2 |       0 |       0 |   0 |     0 |
| Jobs                 |      7 |      2 |       1 |       0 |   0 |     0 |
| Models               |      3 |      3 |       1 |       0 |   0 |     0 |
| Mailers              |      4 |      4 |       1 |       0 |   0 |     0 |
| Channels             |      8 |      8 |       2 |       0 |   0 |     0 |
| Views                |     85 |     55 |       0 |       1 |   0 |    53 |
| Stylesheets          |     15 |     15 |       0 |       0 |   0 |     0 |
| JavaScript           |     23 |     16 |       0 |       0 |   0 |     0 |
| Libraries            |      0 |      0 |       0 |       0 |   0 |     0 |
| Controller tests     |      0 |      0 |       0 |       0 |   0 |     0 |
| Helper tests         |      0 |      0 |       0 |       0 |   0 |     0 |
| Model tests          |      0 |      0 |       0 |       0 |   0 |     0 |
| Mailer tests         |      0 |      0 |       0 |       0 |   0 |     0 |
| Channel tests        |     13 |      5 |       1 |       0 |   0 |     0 |
| Integration tests    |      0 |      0 |       0 |       0 |   0 |     0 |
| System tests         |      0 |      0 |       0 |       0 |   0 |     0 |
+----------------------+--------+--------+---------+---------+-----+-------+
| Total                |    164 |    113 |       7 |       1 |   0 |   111 |
+----------------------+--------+--------+---------+---------+-----+-------+
  Code LOC: 108     Test LOC: 5     Code to Test Ratio: 1:0.0

@joelhawksley Yes, initially the test/components path is hardcoded because there is no such thing as ViewComponent::Base.view_component_path for tests.
In this case, we just need to check if the project is using Rails default tests (minitest) to add the test/components path, since if the project is using RSpec, RSpec itself will be in charge of adding its paths to the stats here
Unfortunately, Rails only adds a series of initial directories to the stats, and test/components is not among them.


Pract.03: Add 07-08 , 10 | Bogomil Pankov

Bogomil Pankov
SI 4 6MI0600428

Task 7 - The code is working. I have changed the last two lines of the code because a construction of the type if (condition) return true; else return false is pointless. You can just write return condition.
Task 8 - Nice job.
Task 10 - The logic is incorrect.


Add availability checks for UniformTypeIdentifiers

Since the framework is not available for platforms other than macOS.

Thanks for the patch!


Can't get memray to output with AGGREGATED_ALLOCATIONS

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
In my case of long running application, I never see anything written to output bin file
From the description, I understand that allocation records are written to bin file when heap memory high water mark is crossed. Maybe in my case, high water mark is not being reached. Is there a way to set the high water mark?
Memray Version
latest
Python Version
3.11
Operating System
Linux
Anything else?
No response

From the description, I understand that allocation records are written to bin file when heap memory high water mark is crossed.

No, that's not correct. The AGGREGATED_ALLOCATIONS mode holds all of the statistics in memory while the profiled application runs, and only writes to the file when tracking ends. The docs explain this caveat:

Also, note that if the process is killed before tracking ends (for instance, by the Linux OOM killer), then the process will die before it finishes calculating its statistics, and so no useful information is ever written to the capture file. With the default file format, the capture file is usually still usable even if the process crashes or is killed, but with the aggregated file format it is not.

Either you need your long-running application to end, or you need to exit the with block if you're using the Tracker API.

Either you need your long-running application to end, or you need to exit the with block if you're using the Tracker API.

Thank you. This got it working.


Allow getFieldValue to return object

Hi,
Is it possible to not cast getFieldValue to a string? When working with structured text you always get back an object.
https://github.com/voorhoede/datocms-plugin-computed-fields/blob/3ea2c96956f752c509a8d63a5a5898bca7593903/src/lib/getFieldValue.ts#L4
Are you open for a PR for this?
Thanks

Hi @JanStevens what would be the usecase for this? As in why would you not cast the value it to a string?

For example generating a hidden string field from a structured text field to be used as excerpt in a modular block.
When using modular blocks and they are collapsed dato will generate the title field based on following logic

first string field
first structure field

This can cause issues when you have a structure text field and later in the same block a string field which less meaningful content when collapsed.


soc: intel_adsp: cavs: add simple imr functionality

Add simple imr mechanism to load the image from rom instead of doing cold boot. Basically we are only setting a flag for the boot to load existing image from imr area.

@andyross wrote:

Is this just a noop? It enables the soft/IMR boot functionality but just jumps to the normal OS startup?

No, this does enable significantly faster boot as the authenticated FW image already in IMR can be used for booth (imr_restore_vector is set). This does not restore state, but allows for much faster boot.

@andyross tried to address most of your comments... I'm trying to move cavs (tgl) in sof side to use the same platform file/files as ace variants, so that we would use as much as possible the same code and variation would be in dt. Just noticed then that I'm missing the IMR thing from power.c.
If you look at the ace/power.c variant, you see it has like 2 implementations of IMR behind ifdefs: one "simple" and the other "with steroids". In cavs sof we only used the "simple" version, which only loads the authenticated image from IMR, saving some cycles between the linux driver and sof. When using sof in linux, for example in simple streaming use case, you don't too much notice this other than dmesg telling you sof is loading from IMR or not. The benefits are perhaps more noticeable when stressing the system heavily (starting/stopping multiple streams etc).
I could not find any documentation of the unused layout struct members, so I'm basically just blindly copying those over from sof side.

I could not find any documentation of the unused layout struct members, so I'm basically just blindly copying those over from sof side.

Then please add in the comments a clear git reference pointing at where they came from.

rebased.


unable to install after update

Hi,
after updating (and even now when git cloning 0.1.4 tag), i'm getting this error after clone, edit of config.json and running npm install:
root@vpsXXXXX:/home/wojciech/transit-arrivals-widget# npm install transit-arrivals-widget --unsafe-perm --allow-root -g
npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q<EMAIL_ADDRESS>/root/.npm/_cacache/tmp/git-clone-f290504d/.git
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-f290504d/.git'
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-10-16T19_30_05_191Z-debug.log

Please help. When trying to git clone and then npm install as normal user, im getting errors as normal user has access to node v8.10.0 only and other errors popup like: Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/transit-arrivals-widget

Try the version 1.0.1 that I just released and see if that solves the issue.

I just tried and now getting:
root@srv1:/opt/transit-arrivals-widget# npm install transit-arrivals-widget --unsafe-perm --allow-root -g
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated<EMAIL_ADDRESS>This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 127
npm ERR! path /root/.nvm/versions/node/v16.11.1/lib/node_modules/transit-arrivals-widget/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! sh: node-pre-gyp: command not found

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-10-17T21_01_21_525Z-debug.log
root@srv1:/opt/transit-arrivals-widget# transit-arrivals-widget
transit-arrivals-widget: command not found

using:
nvm 0.39.0
npm 8.1.0
node v16.11.1

Thanks for trying this.
The sqlite3 library in use relies on an older version of node-pre-gyp which hasn't added support for node 16 yet. I'll release a new version once all of these dependencies get updates.
The issue could actually be the version of npm - I see other people mentioning issues with npm > 6, so trying node 16 with npm 6 may work.

OK, will translate.
Does this string need to be moved to template too ?
"To" - in the listing of upcoming arrivals, next to route number, before trip headsign ?
It is still not-stable for me, as sometimes, there's no arrivals presented for a trip that is correct (i.e. I can see it in other gtfs-rt consuming apps) but here, i need to refresh whole page to see the result.
The only issue I can see in console is (this displays in polish, so translating it to english):
Color expected but found "#null". Error processing values for 'background-color'. Declaration abandoned.
Color expected but found "#null". Error processing value for "color". Declaration abandoned.


/boot/config.txt related questions for Raspberry Pi

Excuse me for not following the bug report template, this is not a bug report. I've had various questions related to Raspberry Pi specific details and I couldn't find documentation about them, even the wiki seemed outdated / wrong. I've asked these questions at discourse but got no comments so I hope it's OK that I'll just use this platform in order to talk with the maintainers by mentioning them.
Anyway, here are the questions I lack answers to (I'm quoting most of it from the thread):
I'm trying to setup my Raspberry Pi 3B+ with NixOS along with specific Raspberry Pi targeted hardware. According to the manufacturer, I just need to add the following lines to my /boot/config.txt:
dtoverlay=allo-piano-dac-plus-pcm512x-audio,glb_mclk

I've successfully made sure this line works with the hardware on an Arch Linux installation.
As for the NixOS setup, I have several questions:

It seems boot.loader.raspberryPi.firmwareConfig is responsible for editing /boot/config.txt, yet I don't see any change in it when I change this option's value. Is it normal? Should I update it manually?
Do I have to worry that the kernel I use (pkgs.linuxPackages_latest) doesn't support this hardware? Can / should I switch to pkgs.linuxPackages_rpi?
Apparently, that hardware's manufacturer assumes I'm using a Raspberry Pi with a device tree overlays compatible Linux distribution. I'll split this question into 4:

On my Arch Linux SD, I can see all of the 'overlays' .dtb files in /boot/overlays/ partition. Why don't they appear in the NixOS SD?
Should I consider not using uboot at all? I understand it means my system upgrades won't be atomic if there's only 1 image configured for boot at any given time. I ask because I'm not sure but it seems that (at least in the past) device tree overlays are / were not supported with uboot. That post is old and there seems to be evidence (credit) that it does support this feature. Maybe NixOS just doesn't take advantage of that?
I've tried setting boot.loader.raspberryPi.uboot.enable to false (although it's supposed to be the default value) and nixos-rebuild switch but it had no effect.
Assuming device tree overlays are indeed supported by U-boot, do I just need to get these .dtb files and put them in /boot/overlays/ and it will just work? Could / should there be a better way to do that in a more pragmatic way?

Here's a link to some of the discussion I've had with @samueldr and @itorres on parts of these issues but it was offtopic.
According to GitHub, the following is a list of some of the contributors of raspbarrypi.nix (those I managed to match a username on discourse as well):

@edolstra
@viric
@wizeman
@matthewbauer
@Ericson2314
@joachifm

I have tried using overlays on a RPI3 but did not succeed so far on aarch64. My understanding is that the overlay feature, as it works flawlessly in raspian or arch, is only supported by the 32bit raspberrypi Linux kernel right now. I tried to compile a new device tree (with dtc) on aarch64 by including/merging the required overlays but this just left me with a kernel that didn't boot. I would be awesome to have that feature in NixOS at some point.

I've been working on this recently, and added a NixOS module to build a complete device-tree including any overlays specified. On 19.09, you can do options like the following:
hardware.deviceTree = {
  enable = true;
  base = pkgs.deviceTree.raspberryPiDtbs;
  overlays = [ "${pkgs.deviceTree.raspberryPiOverlays}/w1-gpio.dtbo" ];
};

I think you also need to use boot.kernelPackages = linuxPackages_rpi, as the mainline kernel is not compatible with the RPi foundation device tree files, and the overlays are not compatible with the mainline device tree files.
There is still ongoing work in #67989 to add more advanced overlay configuration, as the current version does not support parameters for the overlay, and some overlays don't apply with the dtc compiler, but require the dtmerge tool from the RPi foundation.
Let me know if there's anything you're missing!

Seems wonderfully interesting! Looks very promising..
It kind of surprised though that the changes of your PR seem pretty simple - you've only made the options a bit more concise and improved the expression of pkgs.deviceTree.raspberryPiOverlays right? Besides the parameters, is hardware still not working? Or are you waiting for upstream's changes which fixed https://github.com/raspberrypi/linux/issues/3198 to be released?
I'm excited someone with deeper understanding then mine has joined the discussion..
I understand the answer to my 2nd question is pkgs.linuxPackages_rpi. But what about the famous /boot/config.txt? With your changes, am I supposed to expect nixos-rebuild rewriting /boot/config.txt with the paths to my requested device tree files in somewhere in /nix/store/?

To answer your specific questions:

You should see changes to config.txt when you edit boot.loader.raspberryPi.firmwareConfig. Do you have boot.loader.raspberryPi.enable and/or boot.loader.raspberryPi.uboot.enable set?

The mainline kernel includes device-tree files for the raspberry pi. The rpi kernel includes device-tree files and also overlays for popular attachment hardware. Unfortunately, the overlays don't work with the mainline device-tree files, and the rpi device-tree files don't work with the mainline kernel. So if you want to use overlays, you probably need linuxPackages_rpi.

Answers to your individual parts.

The NixOS module that builds /boot does not copy overlays
U-boot does support overlays, but NixOS doesn't have a convenient way to configure loading them. Its possible to do manually, but a bit fiddly. I initially worked on this, but think I've found a better solution since (see below).
I'm not sure why this isn't having an effect.
Nope, u-boot doesn't know how to read config.txt, so it won't just work I'm afraid. If you switch to the raspberry pi loader then it should work, but I have only used u-boot so can't confirm this.

The Raspbian boot process handles overlays as follows:

Load base .dtb
Get list of overlays from config.txt
Apply those overlays at boot-time to construct an in-memory device tree
Pass the in-memory device tree to the kernel

U-boot only does step 1 and 4. Like I said above it could be configured to the rest, but I think the following solution is better. What the hardware.deviceTree configuration does is to assemble at build-time a .dtb that already contains all the overlays you specified. So at boot time, the loader gets the .dtb as usual and doesn't have to worry about any overlays, because they have already been applied. This has the advantage that if your overlay doesn't apply cleanly to the .dtb you'll find out at build-time instead of getting a non-booting pi.
Currently, in 19.09, we use the dtc tool to apply the configured overlays, but this has a few limitations I mentioned in my previous comment. The PR adds two things:

Option to use dtmerge tool instead of dtc for applying overlays to a device tree
Option to set overlay parameters when using dtmerge

I can confirm that in 19.09, for my config at least,  boot.loader.raspberryPi.firmwareConfig is not writing config.txt on any of the Pi 3's.

The mainline kernel includes device-tree files for the raspberry pi. The rpi kernel includes device-tree files and also overlays for popular attachment hardware. Unfortunately, the overlays don't work with the mainline device-tree files, and the rpi device-tree files don't work with the mainline kernel. So if you want to use overlays, you probably need linuxPackages_rpi.

I guess this is due to https://github.com/raspberrypi/firmware/issues/550 which was open back when I've opened this issue. It surprised me to see @domenkozar commented there as well, I guess I'll track https://github.com/NixOS/nixpkgs/issues/53124 in the meantime and hopefully get a clearer understanding on the status of this..
BTW, does NixOS' aarch64 image release supposed to support this hardware features? Or should I build for my self an ARMv7I image?

[ ... ]
U-boot only does step 1 and 4. Like I said above it could be configured to the rest, but I think the following solution is better.
[ ... ]
Currently, in 19.09, we use the dtc tool to apply the configured overlays, but this has a few limitations I mentioned in my previous comment. The PR adds two things:

Option to use dtmerge tool instead of dtc for applying overlays to a device tree
Option to set overlay parameters when using dtmerge

I see now... This is certainly the Nix way of doing applying such changes to the system. But I'm still somewhat confused.

You should see changes to config.txt when you edit boot.loader.raspberryPi.firmwareConfig. Do you have boot.loader.raspberryPi.enable and/or boot.loader.raspberryPi.uboot.enable set?

I don't have an updated SD card with NixOS set up in it at the moment, but back then with 19.03 I haven't seen any changes in config.txt and I've had boot.loader.raspberryPi.enable and boot.loader.raspberryPi.uboot.enable set to true. @craigem though, has confirmed that config.txt isn't changing when doing now as well.

I've tried setting boot.loader.raspberryPi.uboot.enable to false (although it's supposed to be the default value) and nixos-rebuild switch but it had no effect.

I'm not sure why this isn't having an effect.

Assuming device tree overlays are indeed supported by U-boot, do I just need to get these .dtb files and put them in /boot/overlays/ and it will just work? Could / should there be a better way to do that in a more pragmatic way?

Nope, u-boot doesn't know how to read config.txt, so it won't just work I'm afraid. If you switch to the raspberry pi loader then it should work, but I have only used u-boot so can't confirm this.

Oh right so U-Boot in NixOS doesn't read config.txt, but I'm still supposed to see changes to it if I have boot.loader.raspberryPi.enable and boot.loader.raspberryPi.uboot.enable set? Seems contradicting / misleading / confusing...
Perhaps Nixpkgs should raise an error if any of these contradicting options are in use? I'm not sure precisely what are the contradictions but I strongly feel there are. I think putting everything in configuration.nix should be the ultimate goal / the ultimate Nix way of changing configuration, but I expect to see certain changes somewhere, when I edit it and rebuild my system.
If Nixpkgs' kernel / NixOS modules haven't yet reached the ultimate goal of having it all configured in configuration.nix, I think we should in the meantime advice users to use config.txt and have a bootloader / make U-Boot read it - as upstream intended and as other distributions do..

I think this might have changed with the 19.09 SD image - previous versions had partition 1 mounted at /boot, and partition 2 mounted at /, whereas the new SD image has a by default unmounted partition 1, and all of the boot files in /boot as a normal folder on partition 2. Presumably, this change was made because nixos kernels were filling up partition 1, now they live on the much larger partition 2.
config.txt was (and it seems still is) written into /boot, the problem is if you have built the system this is just the /boot folder on partition 2, which the raspberry pi firmware doesn't read. All of my systems had previously been based on 18.09, with updates bringing them up to 19.09 but now that I am running a freshly installed system I am seeing this issue too.
I've just run into this, I'm not sure my explanation is 100% correct but it would fit the symptoms so far. I'll try and investigate this.

I can also reproduce this issue on my Raspberry Pi 3 and NixOS 19.09. The content of config.txt remains unchanged, and I have to modify it directly.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/raspberry-pi-4-add-i2c-to-device-tree/7380/2

The questions here are not answered in the current docs.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/raspberry-pi-3-documentation/11426/1

Pinging: Is the current best practice to write a hardware.deviceTree overlay? As people have noted here, this works when doing a mount and editing config.txt on reboot, but I'd love to have this as a "first boot" feature.

For device-tree overlays, yes, see the Raspberry Pi 4 examples:

https://github.com/NixOS/nixos-hardware/tree/master/raspberry-pi/4

See also the discussions in the PRs leading to those changes for more details.


Cannot update properties of ActiveNode models with custom writers

I find that I am unable to update a property from an ActiveMode model when I include a custom writer. Take this for a reduced example from my models:
class Person

  property :first_name, type: String

  def first_name=(first_name)
    super(first_name.to_s.gsub(/[\b\v\s+]/, '').capitalize.match(NAME_REGEX))
  end

end

When I create a new object from scratch with lowercase full name, it always works fine. The lower case name formats to uppercase, validates, and is stored properly.
When I go to update the object, the updated object will not save. I have tried everything from test models, the rails controller, irb/rails c. Immediately I get a response that the attribute is updated, but when I query the database I notice that it is not updated.
Let's say we have that in a @vendor instance variable. At any stage of the vendors#update controller method when I run puts @vendor.first_name, it will return the new first_name. However, it does not actually save.
I can even run:
@vendor.update_attributes(first_name: "Ralph")
@vendor.save
@vendor.first_name # returns "Ralph"

Then when I query the database... the model still has the previous name. Not "Ralph"!
My hunch here is that when I overwrite :property first_name with a my own method, something is being overwritten that was included with Neo4j.rb in ActiveNode.
So then how is possible to work with custom writers to set up and validate my properties in Neo4j?

Ah, so I'm guessing that the problem is that the call to property is defining the writer in the Person model itself, not in the super class. I'm not sure what your call to super is doing, as my assumption would be that there is no super first_name method for your class.
Off hand, I'd try aliasing the original method to something else so that it isn't overwritten, allowing you to call it in the new method. I.e.
class Person

  property :first_name, type: String

  alias_method :original_first_name=, :first_name=

  def first_name=(first_name)
    original_first_name = first_name.to_s.gsub(/[\b\v\s+]/, '').capitalize.match(NAME_REGEX)
  end

end

I've never actually tried using an alias with a setter, so I'm not sure if there's anything special to it.
Assuming this works, I don't think this is a Neo4jrb issue, but rather just the way Ruby works.


AttributeError: 'RealEnv' object has no attribute '_physics'

Hi,
Thanks for the excellent work!
I collected some demonstrations with ALOHA (real platform) and run the act/imitate_episodes.py program. When I evaluated the trained checkpoint with args --eval --onscreen_render, I got the error AttributeError: 'RealEnv' object has no attribute '_physics'.
Can you give me some suggestions about how to fix it?

You should not include the --onscreen_render file! That is for sim envs.
Thanks,
Tony


add class for arrows when reached edge

I needed custom styling for arrows when scrolling tabs reached edge so I made this changes.

Other than the things I commented on, this looks good. If you can take care of those things, I can merge this in.
Thanks for contributing!


REQUEST: add option to keep 2 Channel DTS /AC3 audio tracks

as tile i would like to make a request for "add option to keep 2 Channel DTS/AC3 audio tracks", when adding AAC 2 channel track for MKV to MP4

Agreed. I find stereo AC3/DTS to sound better on home theater systems than stereo AAC, but need the AAC for compatibility reasons.

I was able to keep all DTS/AC3 tracks with settings below in autoProcess.ini, seems to always put the aac first even without ios-first-track-only = True set. These settings will copy over video stream and any DTS/AC3 no matter how many channels and make a aac 2 channel in first and DTS/AC3 in second, if there is a aac 5.1 audio it will convert aac 5.1 to ac3 5.1(6) channel.
output_extension = mp4
output_format = mp4
video-codec = h264,x264
ios-audio = True
ios-first-track-only =
audio-codec = ac3,dca,dts,truehd
max-audio-channels = 5.1

Hi there Erik, not sure what that max-audio-channels settings is, but it definitely doesnt work.
2016-05-08 11:15:05 - readSettings - ERROR - Invalid number of audio channels specified.
Traceback (most recent call last):
File "/usr/local/sickbeard_mp4_automator/readSettings.py", line 293, in init
self.maxchannels = int(self.maxchannels)
ValueError: invalid literal for int() with base 10: '5.1'

It's to cap the maximum channels. E.g. DTS-MA release has 7.1 Sound = 7+1 > 8 channels.
Likewise 5.1 = 6, so you put 6 as max channel ( 5.1 aim the setting will bug as it's not an integer, as ur error shows)


Can "Paste as clean text" have an option to always remove formatting?

Description of the new feature / enhancement
I'd like "Paste as clean text" to have an option that always removes formatting.
IE, instead of needing to use "win-control-v" to paste clean text, the utility will always remove formatting from the clipboard.
(And optionally, "win-control-v" would paste with the formatting intact)
Scenario when this would be used?
Pretty much any time I copy and paste. I generally always need to strip formatting; and generally I wish formatting was always stripped from the clipboard.
Supporting information
No response

Can't you just change the shortcut to the standard ctrl-v?

Try it, I dare you!
(Doing that completely breaks paste.)

Yeah, for setting it to Control-V, there's a fix waiting to go in already, but this won't be in until next release: https://github.com/microsoft/PowerToys/pull/24448


Are there additional diagnostics for dead-lettering that we can log?

We occasionally get customer-reported incidents that indicate that a message has been dead-lettered, yet we show no indication that the message was handled by Functions. We should work with the SB SDK team to see if there are additional diagnostic events we can listen for and log so we can better track these scenarios down.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.4915865,Service Bus:0.122046225,Azure.Core:0.11038962'

This issue is centered around a version of the extensions package using the legacy Service Bus client library.   Since this time, the package has been updated to make use of the current generation Service Bus library.   To date, there have not been reports of this behavior with the new package, closing this out.


Create pattern for carousel

Description
TBD.
Tasks
### Checklist
- [ ] Density (HD, MD, LD, TD)
- [ ] Mode (Light, Dark)

### Deliverables
- [ ] Characteristics spec
- [ ] Interactions spec, where necessary
- [ ] In Code & Figma (Component + Guide)
- [ ] Supporting site documentation

Carousels are bad patterns - I don't think this is something that we should define or build, as doing so puts a design system approval on a fundamentally flawed UX.

Bump to Q3, need more tech consideration before publish examples

Assume it depends on Deck layout  #2448


Saulparedes/kata lsg release2

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
This pull request is for a version upgrade of the LSG release to v2405.9.2, involving updates to dependencies and version numbers in the project.
Important changes:

Added cloud-hypervisor-cvm to core and updated to 38.0.72
Updated cloud-hypervisor-cvm SPEC to make it match cloud-hypervisor as much as possible
Update cloud-hypervisor-cvm SPEC to install where normal clh used to install and made it conflict with clh. We now only rely on cloud-hypervisor-cvm for kata(-cc)
Updated kata-containers-cc softlinks in SPEC to use same cloud-hypervisor binary for both vanilla and snp config
Upgraded other relevant LSG bits
Upgraded kata(-cc) to new version compatible with latest cloud-hypervisor-cvm

Change Log

cloud-hypervisor-cvm
cloud-hypervisor
kata-containers-cc
kata-containers
kernel-mshv
kernel-uvm

Does this affect the toolchain?

NO
Test Methodology

buddy-build (ensuring packages build): https://dev.azure.com/mariner-org/mariner/_build/results?buildId=578368&view=results
dev-image build(ensuring image builds with new packages): https://dev.azure.com/mariner-org/mariner/_build/results?buildId=578389&view=results
test (ensuring image performs as expected): https://dev.azure.com/mariner-org/mariner/_build/results?buildId=578425&view=ms.vss-test-web.build-test-results-tab + https://dev.azure.com/mariner-org/mariner/_build/results?buildId=578771&view=ms.vss-test-web.build-test-results-tab

Buddybuild: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=578368&view=results

PTAL at feedback in original PR https://github.com/microsoft/azurelinux/pull/9161/files#diff-e030ce8ff9f0cb3e493e5851321344b2377eb88823ea616c08b55fe6f3f56955

3.0 PR https://github.com/microsoft/azurelinux/pull/9313


Don't rely on distutils init importing spawn

/shrug
Looks like this one is broken- if you wanna resubmit it just lemme know @Brian-Williams


test failure: ispd18_sample

Log: https://people.freebsd.org/~yuri/openroad-drt-results.tgz
rev. d1c7001
OS: FreeBSD 13

This testcase is still failing in rev. 5bc179959

I spun up a gcloud machine (freebsd-12-1) and can reproduce the issue.

I just reran tests on FreeBSD 13 yesterday with the current code - there are several other failuers as well.

There is no plan for OR to support FreeBSD.  We welcome patches but can't spend the resources to track down issues.


3.0.2 doesn't work with bilibili version

I have a bilibili account. Surprisingly, If I run unlockfps_nc.exe with my bilibili version of GI, it shows the official login form.

Same Problem on bilibili Server on using .net core version fps_unlocker

I‘ve got totally same situation. It just opened an mihoyo version login ui but not my bilibili login ui.

Will be fixed

should be fixed


Expand Reference History

Context
As a... candidate
I need to... know what has happened to my reference request
So that... so I can follow up with my referee or when contacting support.

Changes proposed in this pull request

Add a ReferenceHistory model. Wraps a single reference instance and returns a history of relevant events derived from the audit log.
Use this model's output in ReferenceHistoryComponent.

Guidance to review

Per-commit recommended.
Can be tested in the review app by adding a reference and clicking various actions (request, remind, cancel, etc).
The current implementation of the reference history isn't particularly efficient (multiple iterations across the audit array with a single call to all_events). I think this is fine given the low number of audits we're typically dealing with per reference, and the fact that a non-optimised implementation is probably easier to follow. WDYT?

Link to Trello card

https://trello.com/c/JAWa9Xzt
Things to check

[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] New environment variables have been added to the Azure config

Looking at Min Blanda’s application on the review app, and it’s not showing the initial reference request in the history:

Looking at Min Blanda’s application on the review app, and it’s not showing the initial reference request in the history:

As discussed on Slack, this is caused by how we're creating references in the test data generation. We create them in a single step in the feedback_requested state. This means we don't generate the audit history required to show the request sent event. Not something you'd see in normal use of the system.
I've raised a PR to fix: https://github.com/DFE-Digital/apply-for-teacher-training/pull/3226


esp32s2: add simple boot support

Summary
The Simple Boot feature for Espressif chips is a method of booting that doesn't depend on a 2nd stage bootloader. It is intended to provide a minimal and straight-forward way of booting, and also simplify the building.
This PR also removes the Legacy Boot compatibility configuration for ESP32-S2 and removes deprecated code.
It also makes this bootloader configuration as default for ESP32-S2 targets and removes the need for running 'make bootloader' command for it.
Impact
ESP32-S2 targets and bootloader.
Testing
Internal CI testing

@tmedicci @eren-terzioglu @fdcavalcanti @xiaoxiang781216 PTAL

@almir-okato is it possible to have this support for ESP32 was well or only ESP32-Sx ?

I'm fixing the last errors pointed by the CI.

CI fixed.

@almir-okato is it possible to have this support for ESP32 was well or only ESP32-Sx ?

I'm working on that.
It is already implemented for Espressif RISC-V chips also.


Set maxUnavailable to 1 for registry deployment

Address issue: https://github.com/rancher/rancher/issues/20664
Problem:
Registry pod stuck in AttchVolumeFailed status on upgrade. Deadlock happens where the new pod waits the old pod to dettach the volume, and the old one waits for the new one to be ready.
Solution:
Set maxUnavailable to 1, so that the old pod can be released before the new pod is ready.

LGTM.


TypeError when running dacsspace

Describe the bug
When running dacsspace I get this error:
TypeError: _StoreAction.__init__() got an unexpected keyword argument 'typ'
To Reproduce
Steps to reproduce the behavior:

dacsspace test.csv
See error TypeError: _StoreAction.__init__() got an unexpected keyword argument 'typ'

Expected behavior
The script to run :)
Additional context
Found this article, seems like it's argparse messing things up?

Typo in line 17 of command_line.py

Addressed the typo but still getting this error:
Amys-Air:DACSspace aberish$ dacsspace test.csv Traceback (most recent call last):   File "/Library/Frameworks/Python.framework/Versions/3.10/bin/dacsspace", line 8, in <module>     sys.exit(main())   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dacsspace/command_line.py", line 14, in main     parser.add_argument(   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/argparse.py", line 1422, in add_argument     action = action_class(**kwargs) TypeError: _StoreAction.__init__() got an unexpected keyword argument 'typ'