[Bug]: NavigationMenu does not dismiss on client-side navigation

Environment
Developement/Production OS: Windows 10 19043.1110
Node version: 16.0.0
Package manager<EMAIL_ADDRESS>Radix Vue version: 1.0.0
Vue version: 3.0.0
Nuxt version: 3.0.0
Nuxt mode: universal
Nuxt target: server
CSS framework<EMAIL_ADDRESS>Client OS: Windows 10 19043.1110
Browser: Chrome 90.0.4430.212

Link to minimal reproduction
https://stackblitz.com/edit/github-dgxpxh-sehsba?file=app.vue
Steps to reproduce
Hover over "Menu", click the menu links, the page changes but menu stays open.
Describe the bug
When using NavigationMenuLink together with NuxtLink according to the documentation the menu does not dismiss when clicking on a link.
Expected behavior
I would expect the menu to dismiss, or at least have an option to do so.
Context & Screenshots (if applicable)
No response

I suspect it is because NuxtLink renders an anchor tag and does a preventDefault on the click event. The NavigationMenuLink then checks if !ev.defaultPrevented and does not dispatch the dismiss event.


Revamp oldest unreviewed PRs

Added in infrastructure to run graphql queries with cynic. After I had basically done the query side of this, I realized that it's kind of a lot of code. Might be easier to just change to graphql-client at some point. But for now this works.
Some further refactoring here could be nice. I didn't realize it at the time, but looking back through it, GithubQuery could really just have a Box<dyn IssuesQuery> and then a REST query just impls IssuesQuery.

@jackh726 yeah, agree that this can be improved later. Going to merge this ... cc @apiraino to be aware and properly test the results for next T-compiler weekly meeting.


chore(main): release 0.0.26

:robot: I have created a release beep boop
0.0.26 (2024-05-17)
Other

migrate from spectrocloud-labs to validator-labs (#371) (25edd27)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/validator-labs/validator-plugin-aws/releases/tag/v0.0.26 :sunflower:


UnsatisfiedLinkError with "/lib64/libc.so.6: version `GLIBC_2.14' not found ".

Hi,
When I use 'zstd-jni' in Suse11Sp3x64 or CentOS7x64 , the error described in the title would be throwed.
Could you fix this problem? Thank you.
Best Regards.

I am facing the same problem:
04-10 16:34:16.646 12096-12096/com.example.hangl E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.hangl, PID: 12096
java.lang.UnsatisfiedLinkError: dlopen failed: library "libc.so.6" not found
at java.lang.Runtime.load(Runtime.java:332)
at java.lang.System.load(System.java:1069)
at com.github.luben.zstd.util.Native.load(Native.java:101)
at com.github.luben.zstd.Zstd.(Zstd.java:12)
at com.example.hangl.zstdtest.ZstdTestActivity.onClick(ZstdTestActivity.java:69)
at android.view.View.performClick(View.java:5212)
at android.view.View$PerformClick.run(View.java:21214)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5628)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:737)
I change some code in Native.java, change the way to open so file as input stream, temp file for System.load() created , but load method throw this exception , I try to use zstd-jni.jar in my android project .

I think it will need separate build for android. Though I have no exposure to the platform.

Thanks a lot, I will build it by myself. But I can't find the jni source(C language) of zstd-jni-1.1.2 , there is no branch of this version. Need your help, thank you.

I would suggest building the tip of the master, it's the 1.1.4 version and there are not API changes.
If you want to build the 1.1.2 version, you can checkout commit 0a820353c143ba9c3903c7eaeda266ad43d85903 - I should to better job with tagging the releases.


Upgrade CI to use latest packages of tf,pyarrow,numpy in 'latest' CI configuration

Also dropped archaic pyarrow 0.17.1 from the CI.

It looks like once this PR is merged, we need to delete unittest (pyarrow-0.17.1) and unittest (py39) in settings, otherwise they will keep showing pending there.


YAML parser for github-actions tries to symbolize strings starting with :

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
github-actions
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
I expect a string ":foo" to be parsed as ":foo", e.g. in the yaml
mykey: :foo

actually saw:
/usr/local/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find': Tried to load unspecified class: Symbol (Psych::DisallowedClass)
Note that I only see this when using docker-dev-shell, in github (under Insights > Dependency graph > Dependabot) I only saw
Header (red):

⚠ Dependabot can't parse your integration.yml
Dependabot failed to update your dependencies because there was an error parsing the integration.yml found at /.github/workflows/workflow.yml.
Dependabot encountered the following error:
Dependabot::DependencyFileNotParseable
Learn more

The "log" below contains no useful information regarding the source of the error, all I get is

updater | INFO Results:
updater | Dependabot encountered '1' error(s) during execution, please check the logs for more details.

Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
name: :foo

👋 thanks for the report.
This looks like a duplicate of https://github.com/dependabot/dependabot-core/issues/5453#issuecomment-1205481750.


implement SpendN, OutputN actions

Suggestion from @hdevalence:

it would be useful to work out how much space saving we could get by having Spend2 and Output2 actions

Similarly for Spend2, Spend4, etc.
Edit: Based on the results below, it makes sense to implement SpendN, OutputN actions where the smallest N is 2. These actions will replace Spend and Output. This makes sense to begin once the Groth16 proofs are implemented.

SpendN
Costs in size per Spend:

1 proof (iirc Groth16 proofs are constant size, and I believe are 3 group elements so let’s say 96 bytes)
1 auth signature = 64 bytes
1 balance commitment = 32 bytes
1 nullifier = 32 bytes
1 rk = 32 bytes
Total cost: 256 bytes for a single Spend

For what follows I assume we share the rk, auth sig, and proof between the N spends.
Cost for a Spend2:

Shared proof, auth signature, and rk: 192 bytes total
2 nullifiers = 64 bytes
2 balance commitments = 64 bytes
Total cost: 320 bytes

So there is a 2(256) - 320 = 192 byte saving using Spend2.
Generalizing, the cost in bytes for a SpendN = 192 + N * (64).
OutputN
Costs per Output:

1 proof, 96 bytes
Note commitment = 32 bytes
Ephemeral public key = 32 bytes
Encrypted note = 168 bytes
Balance commitment =  32 bytes
ovk_wrapped_key = 48 bytes
wrapped_memo_key = 48 bytes
Total cost: 456 bytes

Cost per Output2:

Shared proof, 96 bytes
Rest of stuff is the same, basically a 96 bytes save
Total cost: 816 bytes

So there is a 2(456) - 816 = 96 byte savings using Output2.
General cost in bytes for an OutputN = 96 + 360 * N.

2 balance commitments

Do we need multiple balance commitments? Since the balance commitments can commit to arbitrary value vectors, I think we could have just one per action, committing to the sum of all of the spends and outputs.

ah true! I've updated the calculations above to only use a single balance commitment per ActionN and corrected the size of a Groth16 proof (each proof is two G1 elements (48 bytes compressed), one G2 element (96 bytes compressed), which are 192 bytes in total). Here's a plot showing the savings of ActionN over N actions in bytes:

Savings are better for the spends, for N=16 we get a savings of 4800 bytes for spends, 3360 bytes for outputs.

We should backburner this until after we have fee mechanics, which would inform our choices about what's worth implementing. But it seems likely that we'll get more upside out of SpendN than OutputN, because high-arity spend statements allow more economically sweeping dust value.

We won't be doing this because we're already partway through our proof ceremony.


Add more examples of non password based tokens

I'd like to add one recommendation to the existent "Note" box of the doc in https://docs.microsoft.com/en-us/azure/active-directory/develop/access-tokens#revocation, another example that includes token obtained from an IdP credential where authentication method was other than password. E.g.:
AuthenticationMethod="urn:oasis:names:tc:SAML:2.0:ac:classes:Telephony"
Customer that are in this scenarios and sometimes don't realize that this examples are considered as non-password based tokens, they end up raising support cases because they can't understand the behavior. But as soon as they realize this is an expected behavior for Non-password-based tokens they understand.
This clarification would be really helpful to empower our customers understanding better the flow.

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

ID: 2471c08b-befe-8e1a-df08-f13e116c231e
Version Independent ID: 0d827d33-2906-6352-9398-13863def9354
Content: Microsoft identity platform access tokens - Microsoft identity platform
Content Source: articles/active-directory/develop/access-tokens.md
Service: active-directory
Sub-service: develop
GitHub Login: @hpsin
Microsoft Alias: hirsin

@rusan-css Thanks for your feedback! We will investigate and update as appropriate.

I do believe it would be helpful so that whoever consumes this documentation can have a clear understanding what "non-password based token or cookies" refers to.

@rusan-css @hpsin How's this look? I pulled out the non-password-based bit into it's own H4-headed section as that Note had a lot going on in it (changes are in https://github.com/MicrosoftDocs/azure-docs-pr/pull/130471):

@rusan-css @hpsin I've signed off on https://github.com/MicrosoftDocs/azure-docs-pr/pull/130471 and the change should go live on or about 22 SEP. If you feel this issue has been closed prematurely, please reopen and @ mention me in a comment. Thanks! #please-close

Woah - I thought I'd signed off on it, but I hadn't. :man_shrugging: I just did so - change will be live either this afternoon or tomorrow mid-morning (Pacific time).


Links to Create a New Page or Add a chapter shouldn't be visible unless permissions granted

For Feature Requests
Desired Feature:
For Bug Reports

BookStack Version: Latest from GitHub as of June 5th
PHP Version: PHP 7.0.19-1+deb.sury.org~xenial+2
MySQL Version: 10.0.29-MariaDB-0ubuntu<IP_ADDRESS>

Expected Behavior
When viewing a Chapter, Book or Page as a user without edit permissions, the link to "Create a new page" and "Add a chapter" should not be available.
Clicking them doesn't allow me to do these actions, but they shouldn't be visible if they aren't possible.
Actual Behavior
Create a New Page -or- Add a chapter are visible.

@bensulli Thanks for reporting. Will be fixed in the next release (v0.17, Hopefully released today.)


Big Space on Normalize Step

Normalize output is stored in user folder, if input is a big data set, normalize will swallow all of user space. Think about how to save space or directly remove normalize step.

May be we can do normalize in training step

Duplicated with https://github.com/ShifuML/shifu/issues/120


Add version to module template details and list, add to edit and wizard

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/hold

/retest


The results of my own dataset remain the same

Hello, Thank you for your work and sharing.I prepared my own dataset according to the stpls3d dataset for backbone training, but the class-wise, mIoU, and Acc results remain unchanged in each epoch, only the Offset MAE changes and the semantic loss is minimal. What should I pay attention to modify? Do you have any good suggestions?

Have you solved it?

您好，感谢您的付出和分享。我根据stpls3d数据集准备了自己的数据集进行骨干训练，但class-wise、mIoU、Acc结果在每个epoch中保持不变，只有Offset MAE发生变化，语义损失很小。我应该注意修改什么？您有什么好的建议吗？

Have you solved it?

Hello, Thank you for your work and sharing.I prepared my own dataset according to the stpls3d dataset for backbone training, but the class-wise, mIoU, and Acc results remain unchanged in each epoch, only the Offset MAE changes and the semantic loss is minimal. What should I pay attention to modify? Do you have any good suggestions?

Have you solved it?

Sorry, it's still not resolved.

Could you share the result here? I think the data is configured improperly somewhere.


StackOverflow Documentation for Node.js

I could not find any discussion about this topic on this issue tracker nor in any other issue tracker on the nodejs org for that matter, so I'll post it here (I hope that's ok with everyone) ⭐
StackOverflow announced July 2016 the public beta for their Documentation site. There have already been created a section for Node.js documentation with 32 accepted topics and 67 additional topics requested as per this post.

Documentation is community-curated, example-focused developer documentation, based on the principles of Stack Overflow.

I am wondering where the Docs WG stands regarding StackOverflow Documentation for Node.js? Obviously this can never be a replacement for the official docs on nodejs.org/docs, but it could be a very nice addition if there were some coordinated effort behind it. What do you think?

Also, this StackOverflow comment on an older meta post about documentation.

@mikeal brought it up recently. I've lost track of the issue that happened in though.
cc @nodejs/documentation

I don't mind undertaking maintaining this, I'm an active SO user and a docs WG member.
The problem is that I'll only have time to deal with this in November.

I can help with this too. We did bring this up on the Slack chat as well.

How should we deal with documentation efforts specific for user land modules?
For example, I see this for grunt
Grunt seems like it could be its own big topic itself.

Closing as this repository is dormant and likely to be archived soon. If this is still an issue, feel free to open it as an issue on the main node repository.


Does no update 403

Redmine

Environment:
  Redmine version                5.0.5.stable
  Ruby version                   3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]
  Rails version                  <IP_ADDRESS>
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Classic
SCM:
  Git                            2.34.1
  Filesystem
Redmine plugins:
  redmine_agile                  1.6.5
  redmine_budgets                1.0.4
  redmine_checklists             3.1.22
  redmine_cms                    1.2.4
  redmine_contacts               4.3.7
  redmine_drive                  1.2.0
  redmine_favorite_projects      2.1.3
  redmine_finance                2.1.8
  redmine_issue_dynamic_edit     0.9.1
  redmine_people                 1.6.3
  redmine_products               2.2.0
  redmine_questions              1.0.4
  redmine_resources              2.0.0
  redmine_theme_changer          0.6.0
  redmine_zenedit                2.0.5

I have the same problem, here's some more verbose console output:

+1

Open redmine api

Last commit f4f2862 may resolve the issue by disabling JSON Redmine API call
(Do not hesitate to be as descriptive as possible (and constructive comments too) to help maintainers. PR are also open)

Look at your JS console you may see :

[!CAUTION]
Uncaught ReferenceError: nu is not defined

16519bb fix this issue (do not hesitate to check your JS console when having issue 👍)

(do not hesitate to check your JS console when having issue 👍)

Yes, of course, sorry, missed that this time.
Finally, I see this plugin working on our site. Thank You very much, I appreciate Your work!


Update upgrades.md

Add consideration for the current 'Rancher Setup' AWS Marketplace offering, which uses the deployment name of 'rancher-setup'.

It looks like this was resolved but not published yet.  The change looks good - thank you.

@kevinayres before we merge, do you know if the PR changes also relate to v2.6 or earlier?

I decided to merge anyway, since the information probably pertains more heavily to 2.7 than to earlier versions, as it is the latest

Apologies - the current 'Rancher Setup' AWS Marketplace offering is 2.6. It will be replaced with a new MP listing of 2.7.5> and hopefully have the correct deployment name. We'll update both the rancher docs and the Getting Started Guide again after the new listing comes out and we find out what deployment name is uses.

@kevinayres No problem. I'll just sync the relevant 2.6 pages


FileStreamResult should be renamed to StreamResult

There's nothing File* about it /cc @rynowak

We need to (briefly) consider legacy. I believe @Eilon was saying the other day that names of action result classes rarely show up in user code.

Yeah the type names we don't super care about. It's the helper factory methods on Controller that matter a lot.

That is to say: we can rename the types all we want. But breaking the helper methods on Controller is bad.

@davidfowl, spoke to @Eilon and decided not to do this. We can return the stream directly from an action and StreamFormatter will take care of it.


chore(types): types for extended webdriver functions

This really belonged in https://github.com/angular/protractor/pull/3998 but I guess we all make mistakes

this LGTM.
In a follow-up - this would be a GREAT place in the code to have a comment about why on earth we're doing what we're doing.

@juliemr will do that in another PR


Detect ingressmosaik plugin

If that plugin is found, warn people to disable it.

Last comment about this was in 2021, it should be safe to ignore this issue.


Update test-utils to use refs correctly

Update test-utils according to the new way of using refs: https://reactjs.org/docs/refs-and-the-dom.html

Thanks!


BBR backup exception rule

Error message:
Error attempting to run backup for job s3-versioned-blobstore-backup-restorer on backup_restore/XXX: failed to retrieve versions; bucket 'droplets' has null VerionIds - exit code 1
During at the first time migration for our group, Blobstore wasn't on versioning, but was later on versioning, so there were few droplet without verionIds. Therefore, during the backup for versioning, BBR will find some exception that has VerionIds = null value.
Is it possible for BBR be able to identify the VersionIds=null and skip those droplet and continue to backup the rest?

Thank you @alamages


Fixed bug with checkboxes

Just to make sure we're on the same page:

I should merge PR #278 before testing this one
I can close PR #281 and PR #282  because this PR contains all the changes from these
is that correct?

Let me know once you're done with changes, so I can have a closer look.

I updated this dev server to include your changes, and I set up a couple of test questionnaires: http://iogt-django-dev.idems.international/en/sections/questionnaire-testing/
Later today I'll update the issues to check off the things that work now and add some other problems I noticed, and merge this PR.


[Ludown] Updating prebuilt entity support map by locale

Fixes #1007

removed dangling bad folder + file from code base - de/test1.lu
Updated pre built entity types support map based on luis docs.

Testing

Configuration only change. No new tests were added.

Pull Request Test Coverage Report for Build 2446

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.643%

Totals

Change from base Build 2395:
0.0%

Covered Lines:
4001

Relevant Lines:
5685

💛  - Coveralls

Same error of #1007 appears also for it-it locale.


How to pass data / callbacks to a custom edge?

Heya, thanks for the library.
I want to have a more complicated menu appearing, if the the user hovers over a custom edge.
Maybe there is already a good way, how to achieve this. I didn't find one. I have the following ideas how it could look like:
Idea 1
For nodes there is a generic data attribute to pass information. It's used for a callback in an example. For edges there is no such attribute. So one could add data to the edge options
Idea 2
label of an edge is defined as string. If it could be any react component, that could also be a solution.

Hey @andys8
thanks for your ideas.
Idea 1:
Could you implement a custom edge and then look up the data with the help of the edge id?
Idea2:
Right now the EdgeText is rendered as a SVG text and rect element. Maybe it would be better/ more flexible/ easier to implement to if we would implement this as a div overlay. But then we would need a wrapper so that one bring a custom label component and receive the necessary information.. I think if you want to display a special custom label it's better to go with a custom edge.

Regarding idea 1: What do you have in mind? If you have the edge id upfront and lookup the data (or create a callback), how would you then pass it and display it in the custom edge? Do you have an example?

Could you wrap your flow with a context provider and then receive the data inside your custom edge with the help of a context consumer? But anyway I think you are right and it would be good to add a generic data option for edges too. This would make it easier to implement custom edges with a more complex behaviour.

Nice! Thank you, @moklick

@andys8 it's released in 4.7.0. Let me know if it works for you!

Working nicely


slash open search bar in Firefox

Issue summary
When you press / it opens the search bar in Firefox
Expected behavior
It should enter the slash and keep focus in the terminal
Actual behavior
It opens the search bar
Steps to reproduce

Open any demo in Firefox
Type /

Browser and OS
Firefox

Retesting this seems invalid.


Low resolution Brown Dwarf grid tutorial and animated gif

We should make a tutorial showing how to apply the interactive dashboards to low resolution spectra.  We had previously focused on high-resolution applications, but many practitioners think at low resolution, especially for ultracool dwarfs, where high resolution had historically been difficult to obtain.
Here is a demo of the new Sonora-Bobcat ultracool dwarf dashboard illuminating some satisfying morphology as you move sliders for temperature, surface gravity, and metallicity.
This dashboard may be of-interest to folks at BDNYC (and elsewhere)  @kelle @jfaherty17 👀
https://user-images.githubusercontent.com/860227/170093805-722e454c-9dd3-4660-8bbd-4efb069924e4.mov

This looks super cool!  It seems more like an interactive "widget" to me, rather than a "dashboard". Is there more that I'm not seeing?

Designed to be used in Jupyter Notebooks, yes?

(so happy to see you using specutils!!)

One of the conceivable extensions would be to show an instananeous view of which grid point is selected, perhaps color-coded with some goodness-of-fit metric.  That change would make the tool more like a human-in-the-loop data-fitting dashboard.  Some folks have requested a feature like that, but there's no currently plan to implement it, mostly because it's hard to visualize the grid over all of its ~4 or 5 dimensions.  A corner plot could work, but is bulky.  In such a view the 2D projections would show dots for each available grid point, sliced from the larger say 5D grid.
Yes, it only works in Jupyter notebooks right now, and it runs Python callbacks behind the scenes, so it's not clear how to get it onto a website.


Android compile problems

I am trying to compile the sdk for Android from a windows machine to use with UE4, but I keep getting this error about my compiler not working. I have tried passing the android.toolchain.cmake file from the NDK but that has not helped. I have also tried NDK r18b and it produces the same type of error. Any help would be great!
What platform/OS are you using?
Windows 10
Targeting Android
Which version of the SDK?
1.7.218
What compiler are you using? what version?
Clang
What are your CMake arguments?
-G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="s3;core;cognito-identity;sqs" -DTARGET_ARCH=ANDROID -DNDK_DIR=H:\NVPACK\android-ndk-r15c\
Can you provide a TRACE level log? (sanitize any sensitive information)
-- Building AWS libraries as shared objects
-- Android ABI: none specified, defaulting to armeabi-v7a
-- Android toolchain unspecified, defaulting to clang
-- Android std lib: c++_shared
-- Android API level: android-21
-- Building project version: 1.7.218
-- Check for working C compiler: H:/android-ndk-r19c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
CMake Error: Generator: execution of make failed. Make command was: nmake /nologo cmTC_8da4c\fast &&
-- Check for working C compiler: H:/android-ndk-r19c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"H:/android-ndk-r19c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe"

is not able to compile a simple test program.
It fails with the following output:
Change Dir: H:/awscpp/android/sdk_build/.deps/CMakeFiles/CMakeTmp

Run Build Command(s):nmake /nologo cmTC_8da4c\fast && The system cannot find the file specified
Generator: execution of make failed. Make command was: nmake /nologo cmTC_8da4c\fast &&

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:7 (project)
-- Configuring incomplete, errors occurred!
See also "H:/awscpp/android/sdk_build/.deps/CMakeFiles/CMakeOutput.log".
See also "H:/awscpp/android/sdk_build/.deps/CMakeFiles/CMakeError.log".
CMake Error at CMakeLists.txt:227 (message):
Failed to configure third-party libraries.
-- Configuring incomplete, errors occurred!

Hi @DanielSanchez97, I'm not able to reproduce this error, but it sounds like a problem with cmake and the ndk more than a problem with the sdk.
We have documentation here on how to use the sdk on android that might help you:
If you're using Visual Studio though:

Make sure you have python, git and patch in your environment variables (patch is usually next to git "Git\usr\bin")
Install the Android NDK. I installed the NDK through Android Studio, which means the ndk would by default be somewhere like : Users\Name\AppData\Local\Android\Sdk\ndk\[version]
*Run the cmake command on the visual Studio Developer Command Prompt  (Tools->Command Line -> Developer Command Prompt):

cmake .. -G "NMake Makefiles" -DTARGET_ARCH=ANDROID -DBUILD_ONLY="s3;core;cognito-identity;sqs" -DNDK_DIR="ndk-location"
cmake --build . --target CURL
cmake --build .
cmake --build . --target install

Hope this helps

Looks like it was an issue with visual studio, so I uninstalled and then reinstalled and it works now! Thanks! @KaibaLopez


RO-3080 Update master dependencies

This change is the result of running gating/update_dependencies/*
See update_dependencies in https://rpc-openstack.atlassian.net/wiki/spaces/RE/pages/19005457/RE+for+Projects for more details.
Issue: RO-3080

Apply do not merge label while I work out https://rpc-openstack.atlassian.net/browse/RO-3239 which will require updates to the submodule for artifact building. It'd be a waste to generate a bunch of PR's until the solution for that is implemented.


Implement dialog layer

This fixes at least three known issues:

Dialog not being clamped to viewport
Dialog not showing when telon is faded out
Dialog size being affected by zoom, obviously

I updated the demo as well, but it still looks ugly. I believe someone should take a look at it separately, like put some time into making all the positionings and alignments and such ok.
At least the demo shows that dialog size is not affected by zoom anymore, and that's the important part.
No documentation updates are required because the dialog_layer is in the game*tscn files. You break them, your fault.

We have discussed this architecture many times and although the demo looks horrible, these changes make our Iron Sky games visibly better. Therefore I'm going to be a d*ck (quack!) and merge this immediately. Potential bug fixes should not stall the PR process on something that was decided months ago.


Add tv intrecept to readme

Add the feature added in https://github.com/pymc-labs/pymc-marketing/pull/628 to the README

📚 Documentation preview 📚: https://pymc-marketing--661.org.readthedocs.build/en/661/

Add here too?
https://www.pymc-marketing.io/en/stable/guide/mmm/comparison.html

Add here too? https://www.pymc-marketing.io/en/stable/guide/mmm/comparison.html

Added ✅  :)


[Bug] You exceeded your current quota, please check your plan and billing details. How to solve the problem

{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}

meet the same problem today。how 2 solve it？

account no money


TextToImage Generation Failed

GPU: NVIDIA GeForce GTX 1650
VRAM: 8 GB
CPU arch: x86/x64
OS: Windows 10
Python: 3.9
Branch: main

I want to implement the function of textToImage through dream.py, but I get this result；

Is it because this GPU is not supported?Can someone help with the answer?

Can you try starting dream.py with the option --full_precision ? The green image is a bug that appears on some video cards when running in half precision.

After debugging, it was found that my local folder: ”.cache\huggingface\hub\models--openai--clip-vit-large-patch14 “was missing in the folder: added_tokens.json.I created this file although it is empty.
Then another problem arose.

As an owner of GTX 1660 Ti with 6 GB of VRAM could propose following solution:
(as found in the end of #526)
Option one:

Use latest development branch which automatically select precision or manually set precision=float32
As you have 8GB VRAM you should be fine
Use latest development branch and manually set precision=float16
2.1 If you get a green image - download latest cudnn binaries from NVIDIA site, and replace them in folder
conda\envs\ldm\Lib\site-packages\torch\lib
2.2 If you get now black image - place line
torch.backends.cudnn.benchmark = True
after model init code

If you could give some feedback it would help to implement it in more nice manner...


[TASK] Manual connection has the wrong name on the wrong side

Estimated story points: 3
Description

If I connect to an other user manually I want to see his name and not my own.

Acceptance criteria

After manual connect I see the name of the connected peer.

time: 3h


Minor improvements

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (37741e2) to head (2585f30).
Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #458   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          109       109
  Lines         2771      2771
  Branches       168       168
=========================================
  Hits          2771      2771

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Analysis Server Crash on RegExp with r'' String

Causes a crash.
static final _removePrecedingComma1R = new RegExp(r'\(\s*,');

Version information

IDEA IU-171.4073.35
1.25.0-dev.7.0
IU-171.4073.35, JRE 1.8.0_112-release-736-b16x64 JetBrains s.r.o, OS Linux(amd64) v4.4.0-83-generic unknown, screens 1920x1080, 1920x1080

I am not able to reproduce this behavior on bleeding edge on my Mac, so it's possible that this has been fixed. 1.25.0-dev.9.0 is now available. Could you confirm whether this is still a problem on the latest dev release?

This is the internal build, so I don't have an option of trying the latest until it lands.

The latest landed yesterday (but probably after I asked you to try it).

I'm going to assume this was fixed. Please re-open if that's not the case.


[Feature Request] Weather change?

This probably goes against what this mod is originally intended to do, but is it possible to change the weather on the client side?

https://modrinth.com/mod/clienttime

This feature is now also part of TimeChanger since the 1.19.4 version :)

Oh I see that's why its closed. I thought you had gave up on this issue.


Dump iOS

No problem with UnityFramework, but can’t dump Non-UnityFramework "default binaries".

I apologize but I don't get the problem - I don't have a iOS device... could you elaborate? What are Non-UnityFramework "default binaries"?

There is 2 types of unity games ,first type default binary (usually named something like the game name) and the other one is UnityFramework with is located in UnityFramework.framework folder

Ok, now I got it.
I perform that check here: https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/master/src/il2cpp/base.ts#L139
But it looks like it fails, e.g. line 140 returns undefined instead of the "Non-UnityFramework default binary", so it thinks there's UnityFramework.
Is the "Non-UnityFramework default binary" available when the process is created?
Would you spawn the app with the following script?
console.log(Module.findExportByName(null, "il2cpp_init")):

spawning the app with this script did nothing (just stuck), but write the script to the console return null.
console.log(Module.findExportByName(null, "il2cpp_init"));
null

Well, it looks like that binary is loaded dynamically. I don't check for this possibility because I don't know what the binary name would be.
Just to be sure, does it work when attaching? E.g. let the game load, then attach to it.

<let the game load, then attach to it.>
tbh i dont know how to do this

https://summit-labs.frida.ninja/frida-tool-reference/frida

No, script still not working, anyway thinks for trying, i will be here if you want me to test anything.

script still not working

Hmm, that's odd... Are you sure that's a Il2Cpp game / has il2cpp exports?

What's the game name/id/link to store?

https://apps.apple.com/us/app/forward-assault/id1191037021

Closing as out of scope: that application does not expose Il2Cpp exports somehow, so there's no way I can make it compatible with frida-il2cpp-bridge.


illegal start of expression         Layout.Alignment newAlignment = switch (alignment)

My react native app version is 0.68, after installing the package I get this error on build:
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/Users/gabriel/Desktop/proyectos/woo/node_modules/@charmy.tech/react-native-stroke-text/android/src/main/java/com/stroketext/StrokeTextView.java:172: error: illegal start of expression
        Layout.Alignment newAlignment = switch (alignment) {
                                        ^
/Users/gabriel/Desktop/proyectos/woo/node_modules/@charmy.tech/react-native-stroke-text/android/src/main/java/com/stroketext/StrokeTextView.java:173: error: : expected
            case "left" -> Layout.Alignment.ALIGN_NORMAL;
                       ^
/Users/gabriel/Desktop/proyectos/woo/node_modules/@charmy.tech/react-native-stroke-text/android/src/main/java/com/stroketext/StrokeTextView.java:173: error: illegal start of expression
            case "left" -> Layout.Alignment.ALIGN_NORMAL;

Hi,
I fixed the issue, upgrade to v1.1.1


[Documentation][ newHadoopRDD not a member of SparkContext

Following the documentation section about the Apache Spark support
I have noticed the following when defining the context to read data from Elasticsearch :
val esRDD = sc.newHadoopRDD(conf, classOf[EsInputFormat[Text, MapWritable]],
                              classOf[Text], classOf[MapWritable]))

Beside the extra parenthesis by the end, newHadoopRDD is not a member of SparkContext. So how do we define the RDD using the new Hadoop API.
Thanks! :)

It is sc.newAPIHadoopRDD(...) - I have submitted a PR for updating the doc

Ok thanks! Then we should close the issue once the PR has been accepted

@eliasah can close this now I think :)


Download Content of BLOBs

What is the suggested way to download the content of a BLOB to a local drive?
Most of the functions in CU419 are set to INTERNAL (for whatever reason).
Would it be possible to allow the following procedures as External ?
BLOBImport
BLOBImportWithFilter
BLOBExport
BLOBExportWithEncoding

We are using DownloadFromStream
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods/devenv-downloadfromstream-method-file
Regards

That is what we are doing right now as well.
But in CU419 File Management, there are additional functions which are very useful, such as "GetToFilterText" to define the required filter string. These are "Internal",
So we end up with code duplication if we use the basic functions provided by the development environment - which we could prevent as soon as those functions are defined as EXTERNAL.

We shall not be making these functions as External as these are related to client file import and export functionality and will only work on OnPrem.

BLOBImportWithFilter is now externally available on the latest BC insider image, why not make BLOBImport external too? @StanislawStempin


Portainer 2.11.1 Docker-Compose YAML Syntax Error

Hello,
When copying the docker-compase.yml into Portainer stacks the below error is presented.
There is an error in the yaml syntax: YAMLSemanticError: Map keys must be unique; "<<" is repeated

Maybe it uses an older version of Docker Compose that doesn't support anchors? In that case, you should be able to just replace the anchor variables with the definitions on the top of the file. Let me know how that works out for you.

What version of docker compose is recommended for this project?


Home Section need some Improvement

Home Section looks like wired in terms of UI i think it need some improvement. Hey @FuryACE007 @vinitvijal @ng169 @akashgreninja @rashi2911 assign me this so that I will improve the Home section.

Assigning @9520prashant
Could you please show a proposed UI for the Home Screen? We can move forward from there.

I would like to work on this issue under GSSOC'23. I would appreciate if the issue is assigned to me.

Assigning @9520prashant
Could you please show a proposed UI for the Home Screen? We can move forward from there.

Yes I working on it will share soon

@peb-peb  hello sir,
I'm a beginner so unable to find new issues pls assign me some issues

@Amankumarharsh I'll add some beginner-friendly issues soon! Be on a lookout for them.

@Amankumarharsh @shramanpaul Yes Please have some patience.

hey @peb-peb I faced issue in order to set-up this project locally can you help me to solve this issue

Hey @peb-peb I have made this Design for Home Section. Kindly Check It.
Home Section Design

hey @peb-peb I faced issue in order to set-up this project locally can you help me to solve this issue

Hey @9520prashant , please pull the repo properly, has there will be many PR and we will be merging it also, may be it might be becos of that. Try forking the repo again ,by deleting the existing one. If u r still facing any issue in setting , please let us know:)

@9520prashant , I'm not able to see anything in the link which u have provided. I mean there is blank section. It would be better if u add a screenshot of it, so that I can review it easily!!
Thank you.

Hey I haven't create any PR yet
On Mon, 22 May, 2023, 9:36 AM Akshatha R, @.***> wrote:

hey @peb-peb https://github.com/peb-peb I faced issue in order to
set-up this project locally can you help me to solve this issue
[image: Screenshot (227)]
https://user-images.githubusercontent.com/99237795/239704799-d104bd60-4b3c-4a79-928f-565d7dd6230a.png
Hey @9520prashant https://github.com/9520prashant , please pull the
repo properly, has there will be many PR and we will be merging it also,
may be it might be becos of that. Try forking the repo again ,by deleting
the existing one. If u r still facing any issue in setting , please let us
know:)
—
Reply to this email directly, view it on GitHub
https://github.com/OSCode-Community/OSCodeCommunitySite/issues/47#issuecomment-1556491437,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXVD7I6QYFLFZ37HKFNAO5LXHLQ3BANCNFSM6AAAAAAYIZCXJ4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @akshathar-navada sorry for that I have attached the Screen Shot please will let me know if it is ok.

Hey @akshathar-navada I tried but still I am facing this issue again and again. How can i deal with that issue.


Anchor point for multiple 3d assets

Hi - is there any way we could have a specified 0,0,0 for multiple geometry?

Hi @N-partiicle - The uploads to Cesium ion are per scene, so the global origin is used as the origin for all the assets.
When using multiple objects, there is no way to specify each origin individually as this option is limited by the Cesium ion API and the tiling pipelines which process the data.
If you have multiple geometries in a scene, the best option would be to export those into separate scenes and set them at local origins before uploading.
Cesium ion does provide a way for you to geolocate the assets. That way you can reposition the assets once uploaded, if needed, individually. If the assets are uploaded as a group, you can relocate the group, but not the individual assets.

Thanks Shehzan,
We have had a go with embedding geolocation into the models, and we are uploading as a group (we don’t need individual asset control within those groups).
Our issue relates to what Cesium considers the 0,0 point of these models (or groups of assets).
Our models are regularly changing (buildings change size, change extent), so when we bring them into Cesium, the centre of gravity or the 0,0 can be quite different, meaning the model position needs to be adjusted. We can potentially work around this at the model end – but in an ideal situation we could specify the 0,0 of the model– that we expect to land on the geo coordinates, within the Cesium export.
From: Shehzan @.>
Sent: Tuesday, 24 May 2022 1:54 AM
To: @.>
Cc: Nano @.>; @.>
Subject: [EXT] Re: [CesiumGS/cesium-ion-3ds-max-plugin] Anchor point for multiple 3d assets (Issue #58)
External email: Please exercise caution
Hi @N-partiiclehttps://github.com/N-partiicle - The uploads to Cesium ion are per scene, so the global origin is used as the origin for all the assets.
When using multiple objects, there is no way to specify each origin individually as this option is limited by the Cesium ion API and the tiling pipelines which process the data.
If you have multiple geometries in a scene, the best option would be to export those into separate scenes and set them at local origins before uploading.
Cesium ion does provide a way for you to geolocate the assets. That way you can reposition the assets once uploaded, if needed, individually. If the assets are uploaded as a group, you can relocate the group, but not the individual assets.
—
Reply to this email directly, view it on GitHubhttps://github.com/CesiumGS/cesium-ion-3ds-max-plugin/issues/58#issuecomment-1134851753, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUJSMX2O2CCPYLFQJF7Q5B3VLOS4LANCNFSM5WUS2ZMQ.
You are receiving this because you were mentioned.Message ID: @.***>

@N-partiicle The origin representation is the other way around - Cesium doesn't transform the models within a scene and change the origin in any way, but rather the origin of the model is where the longitude / latitude / height point to. So if you were using the Cesium ion tools to adjust the location, that location points to the origin of the 3D model.

Thanks Shehzan,
I’m CCing Anna and Tianyi on this from our team. This is correct, the origin of the model is set within the modelling software – but that origin changes depending on the extent, size and even height of the model. (our models change extent, height , size all the time as we edit the forms). We were hoping there might be a way to include a specified origin  in the Cesium plugin that transforms to the lat, long, height set in Cesium….otherwise our shifting origin (coming through from the model) – keeps making the model shift in Cesium each time we do a new import – it maybe too difficult – but it would be very useful, otherwise we are having to constantly ‘jiggle’ the new models into place. Many thanks
Nano
From: Shehzan Mohammed @.>
Sent: Thursday, 26 May 2022 2:07 PM
To: CesiumGS/cesium-ion-3ds-max-plugin @.>
Cc: Nano Langenheim @.>; Mention @.>
Subject: [EXT] Re: [CesiumGS/cesium-ion-3ds-max-plugin] Anchor point for multiple 3d assets (Issue #58)
https://github.com/N-partiicle
External email: Please exercise caution

@N-partiicle The origin representation is the other way around - Cesium doesn't transform the models within a scene and change the origin in any way, but rather the origin of the model is where the longitude / latitude / height point to. So if you were using the Cesium ion tools to adjust the location, that location points to the origin of the 3D model.
—
Reply to this email directly, view it on GitHubhttps://github.com/CesiumGS/cesium-ion-3ds-max-plugin/issues/58#issuecomment-1138130687, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUJSMX4A5MNE5WUX4TXVCYDVL32FTANCNFSM5WUS2ZMQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

I'm not completely sure about the model's latitude-longitude not pointing to the origin of the model, but I digress. If you know the offset between the Latitude-Longitude and the origin, and that offset varies, there is currently no way to provide that information directly to Cesium ion. The only information ion can ingest is where the origin should be positioned using lat/lon.
If the offset is known, the there are two possibilities to consider:

You can apply the offset manually within 3ds Max before uploading it to ion. Either via a script, or what you are currently doing manually.
This plugin is open source. You are free to modify the plugin under the Apache 2.0 license to be able to include an offset process before the upload.

Thanks Shehzan,
We are looking into option 1. With a script. Your note isn’t really a digression. The models origin should be 0,0,0 but I think what is happening is that the models origin is being ‘seen’ as it’s centroid (just the centre point of all the geometry in the scene – which of course changes when the geometry changes).  I was hoping the exporter would be able to look at the 0,0,0 defined within the program rather than the arbitrary (calculated but ever changing) centre of the geometry(ies) – but, as you say we can look at this within the scripting environment of the program….(just would be lovely if it could be handled in the plugin. Thanks for all your help.
From: Shehzan Mohammed @.>
Sent: Saturday, 28 May 2022 1:26 AM
To: CesiumGS/cesium-ion-3ds-max-plugin @.>
Cc: Nano Langenheim @.>; Mention @.>
Subject: [EXT] Re: [CesiumGS/cesium-ion-3ds-max-plugin] Anchor point for multiple 3d assets (Issue #58)
External email: Please exercise caution

I'm not completely sure about the model's latitude-longitude not pointing to the origin of the model, but I digress. If you know the offset between the Latitude-Longitude and the origin, and that offset varies, there is currently no way to provide that information directly to Cesium ion. The only information ion can ingest is where the origin should be positioned using lat/lon.
If the offset is known, the there are two possibilities to consider:

You can apply the offset manually within 3ds Max before uploading it to ion. Either via a script, or what you are currently doing manually.
This plugin is open source. You are free to modify the plugin under the Apache 2.0 license to be able to include an offset process before the upload.

—
Reply to this email directly, view it on GitHubhttps://github.com/CesiumGS/cesium-ion-3ds-max-plugin/issues/58#issuecomment-1139722167, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUJSMX64MRSV3IALSI5DWIDVMDSQTANCNFSM5WUS2ZMQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


[GHSA-g4mx-q9vg-27p4] urllib3's request body not stripped after redirect from 303 status changes request method to GET

Updates

Affected products

Comments
https://hacked36.github.io/Telebirr-webapp/

Hi there @ranjit-git and @sethmlarson! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

@Hacked36 Has been spamming our team's notifications with these PRs, can some action be taken to stop these?

Hi there @ranjit-git and @sethmlarson! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


Progress circle should use fixed-width digit font

Expected behavior
During "Starting Docker VM", the progress is visualized in a circle. When the percentage changes from 60 to 61, the percentage character should stay in place, to avoid any flickering appearance. Same for the 6, which also didn't change.
Actual behavior
The whole string %d%% is centered, therefore the 6 and the % each jump by a few pixels. This makes the screen more nervous than necessary.
Workaround (for developers)
If using a font with fixed-width digits is not possible, it would help to draw each digit individually in this case, reserving the maximum necessary width for each digit.

@rillig Thanks for the issue and your attention to detail - Is this something you'd consider opening a PR for?

Yes, I definitely and intentionally considered opening a PR for this.
Kitematic has a minimalistic UI, in which each non-white pixel has its purpose. Therefore, when some of these pixels flicker, they make me look at them, only to discover that nothing essential has changed. Whether the progress is at 60% or at 61% doesn't really matter, nevertheless some more pixels changed their color.
This contradicts the quiet and unobtrusive style and design that Kitematic is using.

Hey @rillig, are you still working on this? If not, I'd like to work on this issue for my first PR.

Hi @shandheap, I have never "worked" on this. I just reported it in the hope that it would be fixed someday.


[Bug] use Mpegts.js with "enableWorker: true"，some error uncaught in worker.

环境：
"mpegts.js": "^1.7.3",
“Chrome/116.0.5845.228”
"webpack": "^5.81.0"
问题描述：
如果 mpegts.js 开启enableWorker，webpack开启默认的压缩混淆；则会出现bug（关闭minimize则没问题）
optimization: {
    minimize: true,
    minimizer: ['...', new CssMinimizerPlugin()],
},

压缩混淆后的worker代码
a0a2e36f-6843-455a-9a33-3ba0b57daa92.json

@BanShan-Alec
I have tested the official build (which means build by hitting npm run build inside mpegts.js directory) and it works well under the minimized release build with enableWorker: true.


Implement Prettier checking on GitHub workflow

It should be there, because eslint is checking for it and we are running eslint on every workflow run.
https://github.com/pterodactyl-installer/pis-bot/blob/91bdb0879977e91d0651b6c6df5cbce3b3d26bc2/.eslintrc.json#L16

Sorry, missed that. Seems to work just fine! Closing.


API calls for asset use workspace iso of workspaceId which is the standard

Need to patch this at some point.

Fixed in PR #411


Plex switches between "idle" and "playing" constantly

Home Assistant release with the issue:
0.95 and upwards
Last working Home Assistant release (if known):
0.94.x
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Plex Media Server <IP_ADDRESS>1 on Docker, Plex app on Nvidia Shield
Both containers are running in network_mode: host
Component/platform:
https://www.home-assistant.io/components/media_player.plex/
Description of problem:
Very similar to https://github.com/home-assistant/home-assistant/issues/13705, same symptoms.
After playing a movie on Plex, the state of the component in HA switches in less than a second from idle to playing, and back to idle.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
media_player:
  - platform: plex
    remove_unavailable_clients: false
    client_remove_interval: 600
    scan_interval: 5

plex.conf:
{
    "myPlexIp:myPlexPort": {
        "ssl": true,
        "token": "myPlexToken",
        "verify": true
    }
}

Traceback (if applicable):
2019-07-12 22:40:10 DEBUG (MainThread) [homeassistant.components.plex.media_player] Shield Android TV client detected, disabling mute controls: media_player.shield_android_tv
2019-07-12 22:40:11 DEBUG (SyncWorker_5) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android
2019-07-12 22:40:11 DEBUG (MainThread) [homeassistant.components.plex.media_player] Shield Android TV client detected, disabling mute controls: media_player.shield_android_tv
2019-07-12 22:40:21 DEBUG (SyncWorker_8) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android
2019-07-12 22:40:21 DEBUG (MainThread) [homeassistant.components.plex.media_player] Shield Android TV client detected, disabling mute controls: media_player.shield_android_tv
2019-07-12 22:40:22 DEBUG (SyncWorker_5) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android
2019-07-12 22:40:22 DEBUG (MainThread) [homeassistant.components.plex.media_player] Shield Android TV client detected, disabling mute controls: media_player.shield_android_tv
2019-07-12 22:40:31 DEBUG (MainThread) [homeassistant.components.discovery] Already discovered service plex_mediaserver {'name': 'my_server_name', 'host': '<IP_ADDRESS>', 'port': '32400', 'urlbase': 'https://<IP_ADDRESS>:32400'}.
2019-07-12 22:40:32 DEBUG (SyncWorker_1) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android
2019-07-12 22:40:32 DEBUG (SyncWorker_0) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android
2019-07-12 22:40:32 DEBUG (MainThread) [homeassistant.components.plex.media_player] Shield Android TV client detected, disabling mute controls: media_player.shield_android_tv
2019-07-12 22:40:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.shield_android_tv, old_state=<state media_player.shield_android_tv=idle; volume_level=1, is_volume_muted=False, media_position=2984, media_position_updated_at=2019-07-12T22:31:59.015518+02:00, app_name=, media_content_rating=None, session_username=my_nickname, media_library_name=, friendly_name=Plex SHIELD Android TV, supported_features=20789 @ 2019-07-12T22:32:49.019376+02:00>, new_state=<state media_player.shield_android_tv=playing; volume_level=1, is_volume_muted=False, media_position=2984, media_position_updated_at=2019-07-12T22:31:59.015518+02:00, app_name=, media_content_rating=None, session_username=my_nickname, media_library_name=, friendly_name=Plex SHIELD Android TV, supported_features=20789 @ 2019-07-12T22:40:32.040652+02:00>>
2019-07-12 22:40:32 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.139849101517600] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=media_player.shield_android_tv, old_state=<state media_player.shield_android_tv=idle; volume_level=1, is_volume_muted=False, media_position=2984, media_position_updated_at=2019-07-12T22:31:59.015518+02:00, app_name=, media_content_rating=None, session_username=my_nickname, media_library_name=, friendly_name=Plex SHIELD Android TV, supported_features=20789 @ 2019-07-12T22:32:49.019376+02:00>, new_state=<state media_player.shield_android_tv=playing; volume_level=1, is_volume_muted=False, media_position=2984, media_position_updated_at=2019-07-12T22:31:59.015518+02:00, app_name=, media_content_rating=None, session_username=my_nickname, media_library_name=, friendly_name=Plex SHIELD Android TV, supported_features=20789 @ 2019-07-12T22:40:32.040652+02:00>>}
2019-07-12 22:40:32 DEBUG (MainThread) [homeassistant.components.plex.media_player] Shield Android TV client detected, disabling mute controls: media_player.shield_android_tv
2019-07-12 22:40:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.shield_android_tv, old_state=<state media_player.shield_android_tv=playing; volume_level=1, is_volume_muted=False, media_position=2984, media_position_updated_at=2019-07-12T22:31:59.015518+02:00, app_name=, media_content_rating=None, session_username=my_nickname, media_library_name=, friendly_name=Plex SHIELD Android TV, supported_features=20789 @ 2019-07-12T22:40:32.040652+02:00>, new_state=<state media_player.shield_android_tv=idle; volume_level=1, is_volume_muted=False, media_position=2984, media_position_updated_at=2019-07-12T22:31:59.015518+02:00, app_name=, media_content_rating=None, session_username=my_nickname, media_library_name=, friendly_name=Plex SHIELD Android TV, supported_features=20789 @ 2019-07-12T22:40:32.055642+02:00>>
2019-07-12 22:40:32 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.139849101517600] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=media_player.shield_android_tv, old_state=<state media_player.shield_android_tv=playing; volume_level=1, is_volume_muted=False, media_position=2984, media_position_updated_at=2019-07-12T22:31:59.015518+02:00, app_name=, media_content_rating=None, session_username=my_nickname, media_library_name=, friendly_name=Plex SHIELD Android TV, supported_features=20789 @ 2019-07-12T22:40:32.040652+02:00>, new_state=<state media_player.shield_android_tv=idle; volume_level=1, is_volume_muted=False, media_position=2984, media_position_updated_at=2019-07-12T22:31:59.015518+02:00, app_name=, media_content_rating=None, session_username=my_nickname, media_library_name=, friendly_name=Plex SHIELD Android TV, supported_features=20789 @ 2019-07-12T22:40:32.055642+02:00>>}
2019-07-12 22:40:43 DEBUG (SyncWorker_2) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android
2019-07-12 22:40:43 DEBUG (SyncWorker_8) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android
2019-07-12 22:40:43 DEBUG (MainThread) [homeassistant.components.plex.media_player] Shield Android TV client detected, disabling mute controls: media_player.shield_android_tv
2019-07-12 22:40:43 DEBUG (MainThread) [homeassistant.components.plex.media_player] Shield Android TV client detected, disabling mute controls: media_player.shield_android_tv
2019-07-12 22:40:53 DEBUG (SyncWorker_5) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android
2019-07-12 22:40:53 DEBUG (SyncWorker_4) [homeassistant.components.plex.media_player] Refreshing device: bf98629dde81e51f-com-plexapp-android

Use logging  as info
And use GET_PROPERTIES to get current state of app when playing Plex
This can help u understand the state.

Hi @Wohlraj,
Do you have the nvidia shield incidentally on a different subnet than your HASS? This was what was causing the issue for me in issue #13705

Hi @Wohlraj,
Do you have the nvidia shield incidentally on a different subnet than your HASS? This was what was causing the issue for me in issue #13705

No, they are in the same subnet. Plus, this happens only with HA >=0.95.

Use logging as info
And use GET_PROPERTIES to get current state of app when playing Plex
This can help u understand the state.

I'm not sure why, but my installation says that androidtv.adb_command service does not exist, therefore I can't run GET_PROPERTIES.

Fixed my initial report - had inverted last version working and first version impacted.
Could anyone help me get this adb command working?

The androidtv.adb_command service is specific to the Android TV integration. He's using the Plex integration, so this is not relevant.

This happens for me as well. I'm running HASS on Docker and I'm using a Raspberry Pi running OpenPHT. It's pretty annoying because it changes my lights every time it happens. Here is a picture of the state changes.
Here is the two minutes of my OpenPHT logs leading up that:
15:37:08 T:547432165696   DEBUG: DoWork - took 106 ms to load special://masterprofile/Thumbnails/7/7316b9d9.jpg
15:37:16 T:547825320256   DEBUG: CPlexGlobalTimer::Process firing callback serverDataLoader - spent 0 in queue
15:37:16 T:547825320256   DEBUG: CPlexGlobalTimer::Process waiting 28944 milliseconds for manualServerManager...
15:37:16 T:546636058944   DEBUG: CPlexGlobalTimer::SetTimeout adding timeout: serverDataLoader at pos 1 [30000]
15:37:23 T:546131931456   DEBUG: DoWork - took 101 ms to load special://masterprofile/Thumbnails/6/6f07bb9f.jpg
15:37:35 T:548011823104   DEBUG: PlexFile::GetHeaderList Set Client-Profile-Extra: add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=*&audioCodec=dca,ac3)
15:37:35 T:547423777088   DEBUG: CPlexDirectory::GetDirectory plexserver://REMOVED/library/sections/3/arts?sort=random&X-Plex-Container-Size=50&X-Plex-Container-Start=0
15:37:35 T:547423777088   DEBUG: CPlexFile::BuildHTTPURL translated 'plexserver://REMOVED/library/sections/3/arts?sort=random&X-Plex-Container-Size=50&X-Plex-Container-Start=0' to 'https://192-168-1-3.REMOVED.plex.direct:32400/library/sections/3/arts?sort=random&X-Plex-Container-Size=50&X-Plex-Container-Start=0&X-Plex-Token=SECRETSTUFF'
15:37:35 T:547423777088   DEBUG: CurlFile::Open(0x4e3e218) https://192-168-1-3.REMOVED.plex.direct:32400/library/sections/3/arts?sort=random&X-Plex-Container-Size=50&X-Plex-Container-Start=0&X-Plex-Token=SECRETSTUFF
15:37:35 T:547423777088    INFO: easy_aquire - Created session to https://192-168-1-3.REMOVED.plex.direct
15:37:36 T:547423777088   DEBUG: CPlexDirectory::GetDirectory::Timing took 0.320000 seconds to download XML document
15:37:36 T:547423777088   DEBUG: CPlexDirectoryCache Adding an entry to cache : plexserver://REMOVED/library/sections/3/arts?sort=random&X-Plex-Container-Size=50&X-Plex-Container-Start=0, with Hash D0B2605B709BF105
15:37:36 T:547423777088   DEBUG: CPlexDirectory::GetDirectory::Timing returning a directory after total 0.343000 seconds with 50 items with content
15:37:39 T:546090144064   DEBUG: DoWork - took 128 ms to load special://masterprofile/Thumbnails/5/599549a3.jpg
15:37:45 T:547825320256   DEBUG: CPlexGlobalTimer::Process firing callback manualServerManager - spent 0 in queue
15:37:45 T:547825320256   DEBUG: CPlexGlobalTimer::Process waiting 1055 milliseconds for serverDataLoader...
15:37:45 T:546131931456   DEBUG: CPlexGlobalTimer::SetTimeout adding timeout: manualServerManager at pos 2 [60000]
15:37:46 T:547825320256   DEBUG: Previous line repeats 1 times.
15:37:46 T:547825320256   DEBUG: CPlexGlobalTimer::Process firing callback serverDataLoader - spent 0 in queue
15:37:46 T:547825320256   DEBUG: CPlexGlobalTimer::Process waiting 4236 milliseconds for networkServiceBrowser...
15:37:46 T:546131931456   DEBUG: CPlexServerDataLoader::OnTimeout refreshing data for ScottFlix
15:37:46 T:546131931456   DEBUG: PlexFile::GetHeaderList Set Client-Profile-Extra: add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=*&audioCodec=dca,ac3)
15:37:46 T:546131931456   DEBUG: CPlexGlobalTimer::SetTimeout adding timeout: serverDataLoader at pos 1 [30000]
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory plexserver://REMOVED/library/sections
15:37:46 T:546073366848   DEBUG: CPlexFile::BuildHTTPURL translated 'plexserver://REMOVED/library/sections' to 'https://192-168-1-3.REMOVED.plex.direct:32400/library/sections?X-Plex-Token=SECRETSTUFF'
15:37:46 T:546073366848   DEBUG: CurlFile::Open(0x7f2000abc8) https://192-168-1-3.REMOVED.plex.direct:32400/library/sections?X-Plex-Token=SECRETSTUFF
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing took 0.005000 seconds to download XML document
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing returning a directory after total 0.007000 seconds with 2 items with content movies
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory plexserver://REMOVED/playlists/all
15:37:46 T:546073366848   DEBUG: CPlexFile::BuildHTTPURL translated 'plexserver://REMOVED/playlists/all' to 'https://192-168-1-3.REMOVED.plex.direct:32400/playlists/all?X-Plex-Token=SECRETSTUFF'
15:37:46 T:546073366848   DEBUG: CurlFile::Open(0x7f2000abc8) https://192-168-1-3.REMOVED.plex.direct:32400/playlists/all?X-Plex-Token=SECRETSTUFF
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing took 0.005000 seconds to download XML document
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing returning a directory after total 0.005000 seconds with 0 items with content empty
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory plexserver://REMOVED/library/sections/1/prefs
15:37:46 T:546073366848   DEBUG: CPlexFile::BuildHTTPURL translated 'plexserver://REMOVED/library/sections/1/prefs' to 'https://192-168-1-3.REMOVED.plex.direct:32400/library/sections/1/prefs?X-Plex-Token=SECRETSTUFF'
15:37:46 T:546073366848   DEBUG: CurlFile::Open(0x7f2000abc8) https://192-168-1-3.REMOVED.plex.direct:32400/library/sections/1/prefs?X-Plex-Token=SECRETSTUFF
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing took 0.004000 seconds to download XML document
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing returning a directory after total 0.004000 seconds with 4 items with content
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory plexserver://REMOVED/library/sections/3/prefs
15:37:46 T:546073366848   DEBUG: CPlexFile::BuildHTTPURL translated 'plexserver://REMOVED/library/sections/3/prefs' to 'https://192-168-1-3.REMOVED.plex.direct:32400/library/sections/3/prefs?X-Plex-Token=SECRETSTUFF'
15:37:46 T:546073366848   DEBUG: CurlFile::Open(0x7f2000abc8) https://192-168-1-3.REMOVED.plex.direct:32400/library/sections/3/prefs?X-Plex-Token=SECRETSTUFF
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing took 0.004000 seconds to download XML document
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing returning a directory after total 0.005000 seconds with 5 items with content
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory plexserver://REMOVED/channels/all
15:37:46 T:546073366848   DEBUG: CPlexFile::BuildHTTPURL translated 'plexserver://REMOVED/channels/all' to 'https://192-168-1-3.REMOVED.plex.direct:32400/channels/all?X-Plex-Token=SECRETSTUFF'
15:37:46 T:546073366848   DEBUG: CurlFile::Open(0x7f2000abc8) https://192-168-1-3.REMOVED.plex.direct:32400/channels/all?X-Plex-Token=SECRETSTUFF
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing took 0.003000 seconds to download XML document
15:37:46 T:546073366848   DEBUG: CPlexDirectory::GetDirectory::Timing returning a directory after total 0.004000 seconds with 1 items with content channel
15:37:46 T:548011823104   DEBUG: CGUIWindowHome::UpdateSections
15:37:46 T:548011823104   DEBUG: CGUIWindowHome::RefreshSectionsForServer refreshing section plexserver://REMOVED/library/sections/1 because it belongs to server REMOVED
15:37:46 T:548011823104   DEBUG: CGUIWindowHome::RefreshSectionsForServer refreshing section plexserver://REMOVED/library/sections/3 because it belongs to server REMOVED
15:37:46 T:548011823104   DEBUG: CGUIWindowSharedContent::OnMessage got loaded signal for non owned server. reloading.
15:37:50 T:547825320256   DEBUG: CPlexGlobalTimer::Process firing callback networkServiceBrowser - spent 0 in queue
15:37:50 T:547825320256   DEBUG: CPlexGlobalTimer::Process waiting 25769 milliseconds for serverDataLoader...
15:37:50 T:546090144064   DEBUG: CPlexNetworkServiceBrowser::OnTimeout reporting 1 discovered servers
15:37:50 T:546090144064   DEBUG: CPlexServerManager::MergeServer Merged ScottFlix with 1 connection, now we have 2 total connections.
15:37:50 T:546090144064   DEBUG: CPlexServerManager::UpdateReachability Updating reachability (force=NO)
15:37:50 T:546090144064   DEBUG: CPlexGlobalTimer::RemoveTimeout want to remove networkServiceBrowser
15:37:50 T:546090144064   DEBUG: CPlexGlobaltimer::RemoveTimeout idx is -1 for networkServiceBrowser
15:37:50 T:546090144064   DEBUG: CPlexGlobalTimer::SetTimeout adding timeout: networkServiceBrowser at pos 2 [300000]
15:37:50 T:548011823104    INFO: CPlexServerCacheDatabase::clearTables
15:38:10 T:547423777088   DEBUG: DoWork - took 114 ms to load special://masterprofile/Thumbnails/2/2c208e3a.jpg
15:38:16 T:547825320256   DEBUG: CPlexGlobalTimer::Process firing callback serverDataLoader - spent 0 in queue
15:38:16 T:547825320256   DEBUG: CPlexGlobalTimer::Process waiting 28940 milliseconds for manualServerManager...
15:38:16 T:546636058944   DEBUG: CPlexGlobalTimer::SetTimeout adding timeout: serverDataLoader at pos 1 [30000]
15:38:16 T:548011823104    INFO: CheckIdle - Closing session to https://192-168-1-3.REMOVED.plex.direct (easy=0x7f600328d0, multi=0x7f60122040)
15:38:45 T:547825320256   DEBUG: CPlexGlobalTimer::Process firing callback manualServerManager - spent 0 in queue
15:38:45 T:547825320256   DEBUG: CPlexGlobalTimer::Process waiting 1059 milliseconds for serverDataLoader...
15:38:45 T:546618061120   DEBUG: CPlexGlobalTimer::SetTimeout adding timeout: manualServerManager at pos 1 [60000]
15:38:46 T:547825320256   DEBUG: Previous line repeats 1 times.
15:38:46 T:547825320256   DEBUG: CPlexGlobalTimer::Process firing callback serverDataLoader - spent 0 in queue
15:38:46 T:547825320256   DEBUG: CPlexGlobalTimer::Process waiting 58941 milliseconds for manualServerManager...
15:38:46 T:546081755456   DEBUG: CPlexGlobalTimer::SetTimeout adding timeout: serverDataLoader at pos 0 [30000]
15:38:46 T:547825320256   DEBUG: CPlexGlobalTimer::Process waiting 29998 milliseconds for serverDataLoader...

Can anyone that experienced this problem please try with 0.101? The Plex update mechanism was overhauled and hopefully should be faster and more reliable.

Looks good indeed with 0.101.
Using new configuration.yaml since my initial report:
plex:
  token: !secret plex_token

And no plex.conf anymore.


Sidebar-right

Build a sidebar on the right-handside to modify the graphs setting with parameters e.g.

node colors
node size
general config

(as shown in demo of the react-d3-graph)

Streamlit does not support and will not support right-sidebar in the future.


Add SSCustomPullToRefresh library.

Project URL

Category

Description

Why it should be included to awesome-ios (mandatory)
Checklist

[ ] Has 50 GitHub stargazers or more
[ ] Only one project/change is in this pull request
[ ] Isn't an archived project
[ ] Has more than one contributor
[ ] Has unit tests, integration tests or UI tests
[ ] Addition in chronological order (bottom of category)
[ ] Supports iOS 9 / tvOS 10 or later
[ ] Supports Swift 4 or later
[ ] Has a commit from less than 2 years ago
[ ] Has a clear README in English

@mobile-simformsolutions We cannot merge your PR yet until you fill all of the contribution guideline requirements. Feel free to open PR once it is ready.
Please check our CONTRIBUTION GUIDELINES


(Core) Avoid Read suffix in schemas split by visibility

Use "read" visibility as the "canonical" visibility instead of the artificial "all" visibility. This ends up reading nicer when you see post taking a PetCreate and get returning a Pet vs. post taking a Pet and get returning a PetRead, etc.
Canonical visibility is now configurable and the default is changed to "none" since that ends up being more useful when you're not splitting types as evidenced by the metadata emitter sample output improvement. And the OpenAPI emitters now opt in to using "read".
Contributes to #1518

@nguerrera Before merging, can you create an uptake PR for typespec-azure?


Tearing on update test failed

Hi, @dai-shi
This is not an issue, but I see some strange behavior.
I'm testing my libs (external stores with useSyncExternalStore and batching via Promise.resolve()). I didn't see any tearing - all counters the same while test, but test failed.
If I notify subscribers synchronously - test will be succeed. If I change store value in microtask (at the same moment when I notify subscribers) - test will be succeed.
Should I trust test results or my eyes?

Hi, thanks for using the tool.
In general, do not fully trust the tool.
That said, if you stably see the failed test result, I would assume you can reproduce it with your hands and eyes.


SAM-3061: Optimize the instructor notification code

If validUsers should be a unique group of users, then it should be a HashSet and not a List?

It should. But it doesn't in this case as the list of users comes from a Set to begin with:  Set<String> siteUsersHasRole = site.getUsersHasRole(azGroup.getMaintainRole());


⚠ Bofrost.be has degraded performance

In 3361ff7, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2038 ms

Resolved: Bofrost.be performance has improved in 3b469c1 after 6 minutes.


Try storybook component testing

and fix a state bug in geocode
https://storybook.js.org/blog/component-testing/
this lint error doesn't happen locally...

this lint error doesn't happen locally...

Do we need to add a npm run build step to the lint job?


runner: Add support for Vulkan/WebGPU on Linux + Add headless option

LGTM, can you add the -H/--headless option in the README.md file as well plz


Closing and re-opening the new character sheet always shows the Details tab rather than the most recent one

I can work on this.


Add support for Google Gemini

Is your feature request related to a problem? Please describe.
I'm currently working on a project using Gemini, and if this library supported Gemini that would've been great. Will likely be building my own instructor-esque solution to get structured output.
Describe the solution you'd like
Adding support for Gemini.

If you intend to build something instructor esqu, would love a contribution if you're willing.

Definitely willing to work on this. Unfortunately, it appears that at least as of now most forms of Gemini lacks any API parameters like OpenAI's response_format. Gemini 1.5 Pro, though, (which is luckily the model I will be using) does offer a JSON formatted response. I'll look into that and hopefully contribute.

Yeah, I think what might need to happen is to find something that goes from PyDantic or JSON schema to Gemini's RPC model. which is a bit of a pain and why we avoided it so far. It might make sense to just have a ask for Jason mode in Gemini.

could this work with litellm or is it another type of an integration issue?

From my (very limited) knowledge of LiteLLM, their completions don't seem to support structured output?
I did end up making a hasty structured output solution for Gemini 1.5 Pro with the Gemini REST API (because their Python SDK unfortunately does not support JSON outputs fsr) for a Hackathon. Will look into cleaning it up and applying it to this repo for a PR if using the REST API is fine @jxnl.


Update dependencies

Built on top of https://github.com/fortanix/rust-mbedtls/pull/72 and includes updated dependencies.

Resolves #5

Hi, has this PR gone stale? If so, why?
I tested it on my machine and it worked (famous last words, I know, but it seems to be a common occurrence).
Are there changes needed?

@bsdinis most likely yes, I believe this PR and several others are trying to do the same thing. :(

Close this PR since long time no update.
Deps update will be soon done with part of release of using mbedtls 3.X


Cache-control headers aren't set for v2 api

What did you do?
curl -s -v localhost:9093/api/v2/silences 1>/dev/null
What did you expect to see?
The same headers as /api/v1:
jsimpso@kif:~$ curl -s -v localhost:9093/api/v1/silences 1>/dev/null
*   Trying <IP_ADDRESS>:9093...
* Connected to localhost (<IP_ADDRESS>) port 9093 (#0)
> GET /api/v1/silences HTTP/1.1
> Host: localhost:9093
> User-Agent: curl/7.85.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Access-Control-Allow-Headers: Accept, Authorization, Content-Type, Origin
< Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: Date
< Cache-Control: no-cache, no-store, must-revalidate
< Content-Type: application/json
< Date: Thu, 15 Dec 2022 03:04:06 GMT
< Content-Length: 30
<
{ [30 bytes data]

What did you see instead? Under which circumstances?
jsimpso@kif:~$ curl -s -v localhost:9093/api/v2/silences 1>/dev/null
*   Trying <IP_ADDRESS>:9093...
* Connected to localhost (<IP_ADDRESS>) port 9093 (#0)
> GET /api/v2/silences HTTP/1.1
> Host: localhost:9093
> User-Agent: curl/7.85.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json
< Vary: Origin
< Date: Thu, 15 Dec 2022 03:04:11 GMT
< Content-Length: 3
<
{ [3 bytes data]
* Connection #0 to host localhost left intact

Environment

System information:
Linux 5.19.0-76051900-generic x86_64

Alertmanager version:
alertmanager, version 0.24.0 (branch: main, revision: f484b17fa3c583ed1b2c8bbcec20ba1db2aa5f11)

@simonpasquier,
Can I fix this in v2?

The CORS headers appears to be missing too.

Ah, maybe https://github.com/prometheus/alertmanager/issues/3165 ?

Hi, I opened a PR for this: https://github.com/prometheus/alertmanager/pull/3195
My PR only adds the Cache-Control header, and does not touch the CORS headers, per:
https://github.com/prometheus/alertmanager/issues/3165#issuecomment-1366401641


How to get corresponding point coordinates from registration results?

Hi, I have applied affine registration to get the warped image.
`   import SimpleITK as sitk
elastixImageFilter = sitk.ElastixImageFilter()
elastixImageFilter.LogToConsoleOff()
elastixImageFilter.SetFixedImage(sitk.ReadImage(fixed_filename))
elastixImageFilter.SetMovingImage(sitk.ReadImage(moving_filename))
para = sitk.GetDefaultParameterMap("affine")
para["WriteResultImage"] = ["false"]
elastixImageFilter.SetParameterMap(para)
elastixImageFilter.Execute()

result_img = elastixImageFilter.GetResultImage()`

But I do not know how to get get corresponding point coordinates.
That is, for (x0,y0,z0) in fixed image, (x1,y1,z1) in moving image, I want to find the corresponding point in the warped image.
I am not sure if SimpleITK has any kind of this  function.
Thank you.

You appear to be using SimpleElastix and not SimpleITK. Please ask the question on their GitHub issues,


What is "node CIDR range" exactly?

Please see the image below. In the document it talks about "node CIDR range"; but there is no reference elsewhere about what exactly "node CIDR range" means, and what is the best way to configure NSG for that.

EDIT: I want to clarify that I know what CIDR range is, but I don't know how to figure out what is the "node CIDR range". I can't see any reference to it specifically. Is it the same as, for example, service CIDR range below?

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

ID: 37ba0343-7e43-6e2e-e564-5d3a0f523a75
Version Independent ID: 0ba581a1-3e4a-27b4-c667-4a9b969a3ade
Content: Configure Azure CNI networking in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/configure-azure-cni.md
Service: container-service
GitHub Login: @zr-msft
Microsoft Alias: zarhoads

@geukhan
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@zr-msft
Can you please check and add your comments on this doc update request as applicable.

Thanks for the feedback.
Node CIDR range in this context, refers to the virtual network subnet (which contains your subnet address space) that was specified when creating the AKS cluster with CNI. You can also use kubectl get nodes -o wide to check the IP addresses of your nodes.
#please-close


login logo error

login page logo broken
after login instead the dashbord it goes to the logo directory (if you switch the logo for a custom one)

Here too, after the login change it redirects to the url of the logo.png

please refer to after login bug #324


feat: responsive nav

This is a minimal implementation of a responsive nav as part of #871
We can go fancier in the future, but this is a minimal change to behave reasonably on small screens.

On small screens, the navbar has a horizontal scroll, so you can swipe across to see the other nav items.

Switched to desktop and noticed that on my linux box there is a strange "gap" that was not present before:

v2.1.1
this PR

@lidel wat is that bar. Can you inspect it and give me any more info? I don't see it on Firefox or Chrome on mac.

I can't reproduce it either (macOS).

Yup, adding the class overflow-x-hidden-l fixes that.
I was able to reproduce that on a mac applying this settings (General):

And a wild pokemon appears:

Desktop

Mobile

@lidel the last commit from @fsdiogo should fix the scrollbar on linux, can you eyeball!


Wrap an exception raised by a codec by a specific exception

We currently simply throw the exception raised by codec implementation as-is.  However, it makes distinguishing other business logic exceptions from the codec exceptions.  For example, HttpMessageDecoder raises an IllegalArgumentException when decoding fails.  We should:

define CodecException, EncoderException, DecoderException
make the exception types under the codec packages extend them
modify all current codec impls to wrap non-CodecExceptions properly

Really makes sense..


Review font size

The size of the title and text in the modals does not appear consistent with the prototype. The proportion should be: title 24px and body text 18px. (check the prototype)

aligned here 488da60f7ccfc986079420a0a5596d088714121d
@RosaliaGaleano what about the Button text size? I've found 20px, is it good for you?

Ok


Hac 2.3.1 tbpatch not listing RP05 and with potential workaround.

After installing 2.3.1 and I intended to proceed Thunderbolt Patcher. The GUI listed only 3 I2C items with no RP05 item. I've tried resetting nvram, hard reset, reinstalling 2.3.1 or 2.3 and thunderbolt driver(RP05) does not load. The CLI tbpatch compiled through source code also does not list any RP05 devices.
in HAC 2.3 or 2.3.1, I've tried connect another thunderbolt device (a MacBook Air) when the MacBook Air recognises the nuc as a Thunderbolt PC and in system information/IORegistryExplorer, the thunderbolt/RP05 does not load. As well as the GUI & CLI tbpatch.
I suspect that in 2.3.1 the installer disabled thunderbolt force power to get ready for thunderbolt native patch. However disabling thunderbolt force power also made thunderbolt to sleep preventing patcher from seeing it.
However when I tried connecting a MacBook Air to wake thunderbolt up from cold boot but failed.
Potential Workaround:
In HAC 2.2, the Thunderbolt driver loads successfully. I installed HAC 2.2 then tbpatch tools recognised RP05. The IORegistryExplorer&system information loaded correct RP05 layout/information about thunderbolt bus.
The process of dumping the firmware and patching successfully worked.
After that installing HAC 2.3.1 worked.
BTW How do I recognise if it is Native or Legacy in IORegistryExplorer without looking at the installing process?
Configuration

HaC Mini version [e.g: 2.0]: 2.3.1
OSX version [e.g: 10.14.6]: 10.15
NUC model [e.g: NUC8i7HNK]: NUC8I7HNK
Boot SSD model and protocol [e.g: Samsung EVO 860 1TB, SATA]: Samsung EVO 970 1TB
Second SSD model and protocol (if installed) [e.g: HP EX920 1TB, NVMe]:
First DIMM model [e.g: Patriot DDR4-2666 16GB]: Crucial 8GB 2400
Second DIMM model (if installed): Crucial 8GB 2400
Display port(s) used [e.g: USB-C, mini DP]: HDMI
Display resolution(s) [e.g: 4K, 5K]: 1080p
Any TB3 devices: MacBook Air
Any USB devices: mouse, keyboard

May I ask why you’re looking for an RP05 device? The one you should be looking for is in I2C2 with the name AppleHPMDevice@70. It should be automatically selected when you launch the patcher.

May I ask why you’re looking for an RP05 device? The one you should be looking for is in I2C2 with the name AppleHPMDevice@70. It should be automatically selected when you launch the patcher.

Before using the patcher I was looking for which device to patch cause there's 3 AppleHPMDevice devices.
I cannot patch neither AppleHPMDevice, a dialog pops up and says error. As well as in the Patcher project readme.md it says using tbpatch CLI tool to patch RP05 device.
That's why I was looking for a way to get the RP05 devices.

The readme was an example. You do not need RP05 and it’s not expected you have RP05 until after patching. File a ticket in the other project with your error log.


vmsdk: fix Rust dependency and some workflow issue

Mainly 2 changes:

Point the dependency of Rust sample to cc-trusted-api.
Avoid intererence among different jobs by separate dirs.

Please @hairongchen review this. Thanks!


properly shutdown and free cutorch on exit

This makes sure no leaking memory on shutting down the lua state, when using threads, or embedding cutorch in an external C++ process.
Fixes https://github.com/torch/cutorch/issues/280
Without patch:
Memory usage before intialization of threads [free memory], [total memory]
11942445056<PHONE_NUMBER>8
Memory usage after intialization of threads [free memory], [total memory]
11900502016<PHONE_NUMBER>8
Memory usage after termination of threads [free memory], [total memory]
11942445056<PHONE_NUMBER>8
With patch:
Memory usage before intialization of threads [free memory], [total memory]
11924619264<PHONE_NUMBER>8
Memory usage after intialization of threads [free memory], [total memory]
11829182464<PHONE_NUMBER>8
Memory usage after termination of threads [free memory], [total memory]
11829182464<PHONE_NUMBER>8

Looks great!
FWIW: Here's a little stress test I wrote earlier today that is very effective in making your GPU memory blow up.
local xlua = require 'xlua'
local threads = require 'threads'
local numtests = 10000
for n = 1,numtests do
   local workers = threads.Threads(10, function() require 'cutorch' end)
   workers:synchronize()
   workers:terminate()
   collectgarbage()
   xlua.progress(n, numtests)
end

ran your test, nvidia-smi shows no leaking anymore.

Woohoo! :)

@dominikgrewe added comments in the code now.

Thanks! Looks good to me


Add function to get the actual clock frequency in the SPI (and other communucations) API.

I've been fiddling a lot with SPI lately, and I understand that the spi-max-frequency (or the frequency defined in the spi_config frequency member) is the maximum frequency that can be used by an SPI device, but the actual frequency that will be used can be MUCH lower than that. I think this is driver specific, and there is no clear rule for it. But for instance, I've seen the actual speed can be half the spi-max-frequency field. This makes sense I guess because of the prescallers being powers of 2.
Unfortunately, there is no feedback to know the actual used frequency. I only know it can be halved because I used a logic analyzer and an oscilloscope. But there are cases where not being able to reach a minimum frequency would prevent the application from being effective. For example if it's necessary to read high frequency data from an external ADC and a minimum sample rate is required.
Since the driver is responsible for setting the frequency lower than spi-max-frequency, one would assume that it would be aware of the actual frequency used.
So wouldn't we be good to have a extra API function to read the actual frequency?
Alternatively, maybe the driver could also update the spi_config frequency  member to the correct value, but I guess it's easier to forget implementing that in a driver than a given function.
This would also make debugging easier than with oscilloscope, even though it's always better to confirm as there can be other clock configuration issues up stream.
I'm mentioning SPI because that is what I am using now, but I think it's also valid for other communication interfaces.

I also encountered issues because I did not consider the potentially large clock frequency difference.
I thought about maybe allow/require either spi-max-frequency or spi-exact-frequency, but I am not sure I like the increased code complexity.
I also considered a log warning if the actual clock does not match spi-max-frequency.

I don't think a log warning would be good because it would almost always hit. The set of possible frequencies is usually pretty small compared to the configuration of spi-max-frequency which can be any integer from 1 to several MHz value. The actual frequency depends on the source clock configuration and how some register that will often configure a prescaler. The name spi-max-frequency makes a lot of sense in that regard.
I think a way to be able to read the actual frequency, and maybe clearly indicating in the documentation that spi-max-frequency and the the member frequency of spi_config are only aspirational, would be good.

I think a way to be able to read the actual frequency [...]

How would you use this function / what is your use case for reading it programmatically?
My suggestions is based on the LED strip SPI driver, which needs a precise clock since the bit time needs to be known. However the usage of SPI in that driver is probably bit abnormal.
But the spi-max-frequency might seem to have cause some confusion there.
E.g. nucleo_h743zi uses a pll1_q_ck as base clock which runs at 480 MHz. The SPI clock will then be 3.75 MHz (480 MHz / 128 prescaler), and not 4 MHz.
nucleo_h743zi.overlay:
&arduino_spi {
	led_strip: ws2812@0 {
...
		spi-max-frequency = <DT_FREQ_M(4)>;
....
        };
};


fix graphplot compat so we can register

I added updated GraphPlot and also updated other packages and that somehow broke some pyimports...trying this more methodically on this branch

grr why isn't the CI triggering


discovery.yml is sometimes downloaded multiple times per CLI command or UI request

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2186
Originally created by @DouweM on 2020-07-20 20:35:33

PluginDiscoveryService's caching leaves something to be desired.

View 1 previous comment from the original issue on GitLab


A way to keep some secret variables for Objstore in safe

Related discussion: #500(comment)
Merged PR #500 , we have used yaml file related the configuration of object store instead of some flags and env variables. If Thanos is integrated in Kubernetes, the yaml file as configmap will not be in secret. In safe, we should still give a way to setup some variables in secret such as the secret key for S3 in Kubernetes or any other infrastructure system.
/cc @bwplotka @xjewer

Yup, the envars might be the solution here, not yet sure how to nicecly embed this int code to make it clear what envvars are supported etc.

@jojohappy You were interested how adding pass YAML by content fixes this issue. Basically for kubernetes it is as easy now as:
  - args:
        - sidecar
        - --http-address=<IP_ADDRESS>:19190
        - --grpc-address=<IP_ADDRESS>:19090
        - --cluster.address=<IP_ADDRESS>:19390
        - |
          --objstore.config=type: S3
          config:
            bucket: thanos-alpha
            endpoint: <endpoint>
            access-key: $(S3_ACCESS_KEY)
            secret-key: $(S3_SECRET_KEY)
            [other fields]
        - --log.level=debug
       [.. other flags]
    env:
        - name: S3_ACCESS_KEY
          valueFrom:
            secretKeyRef:
              key: accessKey
              name: <secret name>
        - name: S3_SECRET_KEY
          valueFrom:
            secretKeyRef:
              key: secretKey
              name: <secret name>

We need to add this to docs and examples though


Failed to start API Mock endpoint TypeErrorFailed to start API Mock endpoint TypeError

Describe the bug
I'm new to aws amplify so than I was trying an official tutorial. When I ran a mock api as described in a section titled "Connect API and database to the app" in that document, it failed to start. Since a terminal shows only the error message, I cannot find the cause of this error.
Amplify CLI Version

amplify version:  4.27.0

To Reproduce
Do the steps written in the tutorial document.
npx create-react-app example-tutorial --typescript
cd example-tutorial
yarn start
amplify init
yarn add aws-amplify @aws-amplify/ui-react
amplify add api # GraphQL / Single object with fields
amplify push
amplify mock api

Expected behavior
Mock server will start at locally.
Screenshots

Desktop (please complete the following information):

Java version: 11 or 14 or 8 (installed via sdkman)
macOS Catalina 10.15.1
node version: v12.16.3

Hi @mike-neck I was unable to repro this issue following the steps you listed. Did you do anything else in the project that you didn't list above?

Here is all logs. I did nothing other than listed above.
https://gist.github.com/mike-neck/4bbe642a629273976b69149277988813

It seems this regular expression does not match openjdk-14(14.0.0). Is this related to this issue?
https://github.com/aws-amplify/amplify-cli/blob/06b822189c6c3f59788e496c7bc61fa1b4e21b3c/packages/amplify-util-mock/src/utils/index.ts#L30-L33
java -version outputs from openjdk 14.0.0
$ java --version
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8
openjdk 14 2020-03-17
OpenJDK Runtime Environment (build 14+36-1461)
OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

The code, which verifies Java version, is trying to get value from null string when user configures _JAVA_OPTIONS environmental variable or is using openjdk 14.0.0(which does not return "14.0.0" but returns "14" as version string). I think the cause of this issue is here.
https://github.com/aws-amplify/amplify-cli/blob/06b822189c6c3f59788e496c7bc61fa1b4e21b3c/packages/amplify-util-mock/src/utils/index.ts#L35-L37
I think this condition should be like listed bellow.
  if (version == null && !semver.satisfies(version[0], minJavaVersion)) {
    context.print.warning(`Update java to 8+`);
  }

I Created PR #5120 .


get_available_FIELD_transitions doesn't seem to work anymore...

...at least on Django 1.11.
From a glance this is what might be wrong:
FSMMeta.add_transition adds Transition objects into the the transitions attribute of the FSMMeta object.
The get_available_FIELD_transitions method seems to get transitions directly from the field's transitions attribute (FSMMeta.field.transitions).
Maybe there was some magic supposed to happen, which broke in Django 1.11. Or it is simply broken, I can't really tell.

Can't reproduce https://github.com/kmmbvnr/django-fsm/blob/master/django_fsm/tests/test_basic_transitions.py#L147


Frequent disconnects and re-connects 0.1.17

Experiencing frequent disconnect and re-connects.
This was working flawlessly on my previous Hass.IO installation on a RPi 3B+. After upgrading to an RPi 4 moving my configs over, I am now noticing these disconnects all the time.
From the logs:
[error] [alexa-home-conf:3ef149fd.bd6116] Error: connect ECONNREFUSED <IP_ADDRESS>:8883

Ignore the connection refused error it's will use the fallback port in 5 seconds.
The repeated disconnect/reconnect is because you have multiple instances using the same credentials. This is not allowed, you can only have 1.
You have either

2 separate Node-RED instances.
multiple copies of the config node in the same Node-RED instance.

Node-RED will show you all the config nodes by clicking on the top right menu and selecting "Configuration nodes".
If this used to work on a different instance make sure you delete the config node from the old instance as well as all the device nodes.

I had this exact issue, although I could not find any logs thanks for sharing the fix @hardillb