treewide: drop -l$NIX_BUILD_CORES

Passing -l$NIX_BUILD_CORES improperly limits the overall system load.
For a build machine which is configured to run $B builds where each build gets total cores / B cores ($C), passing -l $C to make will improperly limit the load to $C instead of $B * $C.
This effect becomes quite pronounced on machines with 80 cores, with 40 simultaneous builds and a cores limit of 2. On a machine with this configuration, Nix will run 40 builds and make will limit the overall system load to approximately 2. A build machine with this many cores can happily run with a load approaching 80.
A non-solution is to oversubscribe the machine, by picking a larger $C. However, there is no way to divide the number of cores in a way which fairly subdivides the available cores when $B is greater than 1.
There has been exploration of passing a jobserver in to the sandbox, or sharing a jobserver between all the builds. This is one option, but relatively complicated and only supports make. Lots of other software uses its own implementation of -j and doesn't support either -l or the Make jobserver.
For the case of an interactive user machine, the user should limit overall system load using $B, $C, and optionally systemd's cpu/network/io limiting features.
Making this change should significantly improve the utilization of our build farm, and improve the throughput of Hydra.
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

(previously: #174473)

I'm not a fan of this, but OK I hope.  It does solve a real problem with how Hydra.nixos.org builders are set up.
It probably makes things worse for people who want(ed) to combine small and big builds on the same machine "fast", with many cores.  (--max-jobs $(nproc) --cores $(nproc))
After merging this, we could try to rethink some other approach, possibly based on PR https://github.com/NixOS/nixpkgs/pull/184886  Also we might see more real-life feedback in the meantime.

More robust designs for load limiting is probably a good thing to explore. Let's go ahead and merge this once ofborg is green, and if it causes problems we can revert -- no sweat.

If this causes problems, let's consider a revert and see what happens :).

This was pushed with the IMO wrong description about getting system load to value 2, but not worth changing history now.
Anyway, I materialized my ideas about an imperfect solution into PR #192799
(doing better than limiting by load seems hard)

I created an issue https://github.com/NixOS/nix/issues/7091 for getting a longer term solution in nix

My suggestion isn't getting support so far, if I understand it correctly, but note that on NixOS the default nix configuration for the local machine is setting both to $(nproc) and thus the overall limit is quadratic, so the current combination on nixpkgs master seem rather bad to me for large machines.
Details: the default nix.conf will contain
cores = 0
max-jobs = auto

Much of what I do with NixOS involves frequently performing fairly massive rebuilds on my workstation, and this change has made that substantially more unpleasant. I don't know what the solution is but I wanted to chime in to say that this is a significant problem for my personal workflow.

FWIW @edolstra has some work in progress on cgroup support in Nix. This may help with this kind of resource control problem. In the meantime, @ElvishJerricco maybe setting cores and max-jobs to the square root of the number of cores you have, or a little more, is a reasonable compromise?

@lheckemann I do not think that would be a reasonable utilization of my hardware. For instance, one thing I find myself doing often is rebuilding NixOS with a new variation of systemd. Such builds come with long periods where a single derivation could be using all my cores, and long periods where there are many derivations building at the same time. There is no single cores and max-jobs combination that will allow me to fully utilize my hardware for these builds without make -l $N.
Similarly, cgroups would not help, as I understand it. They can't stop make from spawning new processes, and each of those uses memory; enough that yesterday my 64GB desktop OOM'd and killed my builds multiple times (while my desktop was going completely unresponsive). Cgroups could be used to limit the memory usage of a build, but that will result in failures instead of builds simply choosing to use less memory by spawning fewer processes.

I think the current build system with cores and max-jobs is just not smart enough that you can always utilize most of your hardware. Right now you need to optimize for either cores or max-jobs.

We could control make and ninja with a central jobserver as following working proof of concept shows:

https://github.com/NixOS/nixpkgs/pull/143820

@SuperSandro2000 All I can say is that the workloads I'm talking about with nixpkgs did utilize my hardware very well before this change, and now it is not possible to reach a balance. I do not know what the solution is; I just know it's now a lot worse for me.

I found the opposite: previous -l behaviour frequently prevented processes from spawning too aggressively because loadavg as a metric is laggy to report load on the system. One second I had 90 processes running, another i had 8. I have 16-CPU machine and am using --max-jobs 4 --cores 16 to get a reasonable utilisation. Ideally I want 16 parallel running processes, but I can leave with 64 worst case.
I find system end-to-end builds faster without -l.

@trofi I've measured it and it is slightly faster without -l... if it doesn't crash. I get a lot of crashes now though, even with 64GB of RAM.

Yeah, that makes sense. My RAM/core ratio is 8GB/core (+6GB/core of zram just in case). I would guess 4GB/core should be fine for most packages provided /tmp is not taking RAM.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nix-build-ate-my-ram/35752/8

Linking https://github.com/NixOS/nixpkgs/pull/328677 for those subscribed to this.


Is it possible to test without User ID and User Profile permissions ?

Hello,
I have understood from the following issue that, to try this repo and the Shared Anchors, we need to have access to the permissions "User  ID" and "User Profile" from the "Data use checkup" tab.
https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/4#issue-1505710867
We simply want to try this without actually designing a real app, in order to test if it could match our needs. Is there a way to do this without properly asking for it with a Privacy Policy ?
Thank you

From what I understand if you want to use Sharing APIs, you’re required to
use the Oculus Developer hub to pass the API permissions.
Since the app is using User IDs I believe you’ll need to enable that
permission on Oculus Developer hub. I’m not certain/can’t remember whether
User Profile is necessary or not.
On Tue, Feb 14, 2023 at 8:47 AM JulienCros @.***> wrote:

Hello,
I have understood from the following issue that, to try this repo and the
Shared Anchors, we need to have access to the permissions "User ID" and
"User Profile" from the "Data use checkup" tab.
#4 (comment)
https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/4#issue-1505710867
We simply want to try this without actually designing a real app, in order
to test if it could match our needs. Is there a way to do this without
properly asking for it with a Privacy Policy ?
Thank you
—
Reply to this email directly, view it on GitHub
https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/7,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

From what I understand if you want to use Sharing APIs, you’re required to use the Oculus Developer hub to pass the API permissions. Since the app is using User IDs I believe you’ll need to enable that permission on Oculus Developer hub. I’m not certain/can’t remember whether User Profile is necessary or not.
…
On Tue, Feb 14, 2023 at 8:47 AM JulienCros @.> wrote: Hello, I have understood from the following issue that, to try this repo and the Shared Anchors, we need to have access to the permissions "User ID" and "User Profile" from the "Data use checkup" tab. #4 (comment) <#4 (comment)> We simply want to try this without actually designing a real app, in order to test if it could match our needs. Is there a way to do this without properly asking for it with a Privacy Policy ? Thank you — Reply to this email directly, view it on GitHub <#7>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM . You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you for your answer. We are not really familiar with development on Oculus HMDs.
Can't we use Test Users to try this repo without having to go through the Data Use Checkup ?
I have been trying to do so this morning but I keep having the "You are not authenticated to use this app. Shared Spatial Anchors will not work." log when using the app. Which apparently means that it retrieved 0 when looking for the UserID.
Do you know if this may be a normal behaviour ?

I suspect you'll have to do the data use checkup even with test users.
On Wed, Feb 15, 2023 at 3:53 AM JulienCros @.***> wrote:

From what I understand if you want to use Sharing APIs, you’re required to
use the Oculus Developer hub to pass the API permissions. Since the app is
using User IDs I believe you’ll need to enable that permission on Oculus
Developer hub. I’m not certain/can’t remember whether User Profile is
necessary or not.
… <#m_-6996086691582752915_>
On Tue, Feb 14, 2023 at 8:47 AM JulienCros @.> wrote: Hello, I have
understood from the following issue that, to try this repo and the Shared
Anchors, we need to have access to the permissions "User ID" and "User
Profile" from the "Data use checkup" tab. #4
https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/4
(comment) <#4 (comment)
https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/4#issue-1505710867>
We simply want to try this without actually designing a real app, in order
to test if it could match our needs. Is there a way to do this without
properly asking for it with a Privacy Policy ? Thank you — Reply to this
email directly, view it on GitHub <#7
https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/7>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM
https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM
. You are receiving this because you are subscribed to this thread.Message
ID: @.>
Thank you for your answer. We are not really familiar with development on
Oculus HMDs.
Can't we use Test Users to try this repo without having to go through the
Data Use Checkup ?
I have been trying to do so this morning but I keep having the "You are
not authenticated to use this app. Shared Spatial Anchors will not work."
log when using the app. Which apparently means that it retrieved 0 when
looking for the UserID.
Do you know if this may be a normal behaviour ?
—
Reply to this email directly, view it on GitHub
https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/7#issuecomment-1431249967,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADWBSEGFHPVYQUJKAJ2S2VDWXS7UNANCNFSM6AAAAAAU3ZPULM
.
You are receiving this because you commented.Message ID:
@.***>

I suspect you'll have to do the data use checkup even with test users.
…
On Wed, Feb 15, 2023 at 3:53 AM JulienCros @.> wrote: From what I understand if you want to use Sharing APIs, you’re required to use the Oculus Developer hub to pass the API permissions. Since the app is using User IDs I believe you’ll need to enable that permission on Oculus Developer hub. I’m not certain/can’t remember whether User Profile is necessary or not. … <#m_-6996086691582752915_> On Tue, Feb 14, 2023 at 8:47 AM JulienCros @.> wrote: Hello, I have understood from the following issue that, to try this repo and the Shared Anchors, we need to have access to the permissions "User ID" and "User Profile" from the "Data use checkup" tab. #4 <#4> (comment) <#4 (comment) <#4 (comment)>> We simply want to try this without actually designing a real app, in order to test if it could match our needs. Is there a way to do this without properly asking for it with a Privacy Policy ? Thank you — Reply to this email directly, view it on GitHub <#7 <#7>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM . You are receiving this because you are subscribed to this thread.Message ID: @.> Thank you for your answer. We are not really familiar with development on Oculus HMDs. Can't we use Test Users to try this repo without having to go through the Data Use Checkup ? I have been trying to do so this morning but I keep having the "You are not authenticated to use this app. Shared Spatial Anchors will not work." log when using the app. Which apparently means that it retrieved 0 when looking for the UserID. Do you know if this may be a normal behaviour ? — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEGFHPVYQUJKAJ2S2VDWXS7UNANCNFSM6AAAAAAU3ZPULM . You are receiving this because you commented.Message ID: @.**>

Well according to documentation test users should be able to bypass these permissions since we are advised to use them to continue developing while waiting for approval of our data use checkup submission.
But like I said we just had to ask for the checkup and it was accepted instantly and it then the authenfication problem was resolved.
However since this morning the problem returned for no reason. It worked when I left yesterday, and now what was resolved by the Data Use Ckeckup is showing itself again...


Condition "!is_inside_tree()" is true.

ECMAScript Release: 4.1-v0.0.17-alpha-20231003
Current OS: Windows 10 x64
1- When I download and launch Godot, as default there are error messages in every project (even if created new projects):
scene\gui\control.cpp:1999 - Condition "!is_inside_tree()" is true.

2- Furthermore, when I add simple mjs class, I had to edit and save it through Godot Editor. If Iast save made by any other editor like notepad++ or VSCode (even if created script through Godot and not edited in Godot Editor), it produces following errors:
Cannot load script in this thread
Parse source code from file 'res://js/demo.mjs' failed.
Failed loading resource: res://js/demo.mjs. Make sure resources have been imported by opening the project in the editor at least once.

I am not sure if second problem related to first problem, but it is especially problematic if using builder scripts like esbuild, since they produce files automatically. For second problem I have found this:

javascript.cpp reload() function calls get_thread_binder() function from some arbitrary thread (p_id) if mjs script not edited by Godot Editor.
thread_binder_map only have main thread inside it, since thread_binder_map.getptr(p_id) returns null.

I saw these issues in the last version as well. And to be honest TS and esbuild are the way to go.
It's hard for me to fix such issues because I'm not a C++ Developer. I'll try my best to look for a solution.

I fixed the second issue by adding additional checks:
https://github.com/Geequlim/ECMAScript/pull/189


Copy text from allready existing link

Sometimes I allready have a link to a bibleverse, but I want to copy the text into my note.
It would be very nice to select an existing link, and have it automatically fill that into the dialog of the "copy and link Bible verses command"

Hi, I think this should be possible, but I'm not sure when people would use it. It would require you to have a link that is outside of any other text; otherwise, the copied verses would collide with the text around the link. And if you have a link outside of the other text, why not just copy the verses right away with the command?


Require eigen3 component of gz-math

🎉 New feature
Motivated by https://github.com/gazebosim/gz-math/pull/442
Summary
Require and export the eigen3 component of gz-math as a target dependency so that Eigen types may be used in the public API.
Test it
Check that CI passes
Checklist

[X] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[X] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[X] codecheck passed (See contributing)
[X] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

This is more contentious than I thought it would be. I will revisit in the future if the team reaches consensus to support this.


To interpolate or not when downscaling?

For project() there are a variety of methods available.  The default, "bilinear" does bilinear interpolation.  There are other methods that smooth pixels differently. If we don't want to do interpolation, but just change the technical resolution so they can all be plotted together, "near" could be a good option.  Here's some examples with projecting the Liu dataset (0.25 resolution) to the ESA dataset (0.0008888889 resolution).
It's possible that we don't want to deal with figuring out what the "correct" method for interpolation is and we just use "near" for the purpose of aligning pixels across datasets for calculations.
Original:

method = "near"

method = "bilinear"

Eric and I discussed this earlier today, but I just wanted to formally comment here for the record. Because Liu AGB is estimated from inherently coarse passive microwave data, I think it's best to go with option 2 (nearest neighbor) to avoid interpolation of AGB values at ~1ha resolution since microwave can't resolve features at that scale.

It also makes sense to use nearest neighbors for Liu et al. to match methods for the other coarse scale dataset, Menlove & Healey.  Menlove & Healey starts as a vector file of hexagons and just gets rasterized to the same resolution as the ESA product—it isn't clear how you would interpolate that data product from coarse hexagons to fine pixels.


Link tracking issue for interleaved table deprecations

In the 20.2 Deprecations section, the remove interleaved tables tracking issue should be linked. The cross-database references deprecation has the tracking issue linked as an example.

We should also add an explanation for the deprecation. Updating the title and description so we can track that in this issue as well.

We should also add an explanation for the deprecation. Updating the title and description so we can track that in this issue as well.


Added component library https://mudblazor.com

MudBlazor is an awesome new material component library with a wide variety of components. It is different than most who just wrap an existing Javascript component library, in that it is almost exclusively written in Blazor+CSS.

@AdrienTorris please merge. I didn't know my PR became suddenly conflicted by other PRs who inserted in the same line.

I added stars and squashed into single commit.

Stars are going up so fast for us I had to move the line up ;). All squashed into single commit.

Thanks for adding mudblazor @AdrienTorris  ! Thus this PR is not needed any more.


unit test: iot_ble_data_transfer.h API (cmock + unity)

unit test: iot_ble_data_transfer.h (cmock + unity)
Description

unit test for iot_ble_data_transfer.h API
100% line coverage
100% branch coverage
Related to this pull request: https://github.com/aws/amazon-freertos/pull/1720
*Also include a slight update in iot_ble_data_transfer.c to avoid NULL deref that is exercised by the test code
Checklist:

[x] I have tested my changes. No regression in existing tests.
[x] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks

Evidently my IDEs 'rebase' doesn't work as I expected, as indicated by the numerous history rewrites/merges above...but ye old command line, never fails me!
Also note how the Windows tests all pass now despite no code changes from me. i.e. either I was collateraled by some tangent issue, or there was a rebase issue.  CBMC failed because it couldn't start itself. Build check failed because of a permissions issue one the machine that tested it.
Going to close this and reopen in a different PR to reduce the commits so it's easier for review.


freetype-sys: fix bindgen FT_Err enums

Since (unknown version), freetype-sys fails to build.
I'm on Fedora rawhide. Tested the changes locally and it works well.

I suspect the FT_ERRORDEF stuffs are no longer necessary with .prepend_enum_name(false), but I don't have time to verify it right now, so merge it as is.


shell completion argument is power-shell not powershell

should be:
rye self completion -s power-shell
not:
rye self completion -s powershell
This can be verified via the help:
rye self completion --help

Thanks! However we fixed the serialized representation itself on main (https://github.com/astral-sh/rye/pull/1125) so powershell is now correct (as of next release).

Thanks @charliermarsh.

I'll try to do a release soon so we don't have this discrepancy sitting around.

Yes, this impacts the getting started / first impression experience for new
users.


Updated Apple Pay icon

What are you trying to accomplish with this PR?
The previous SVG icon did not match Apple's official EPS logo download.  The official icon is slightly taller and has a slightly thicker type and stroke.
Additionally, the previous version of the icon used unusual combinations of masks and paths that were problematic if you applied CSS fills to the path.
https://github.com/Shopify/slate/issues/353
Checklist
For contributors:

[ ] I have updated the docs to reflect these changes, if applicable.

For maintainers:

[ ] I have :tophat:'d these changes.

Thanks @jonathanmoore!


az confcom acipolicygenerate doesnt work for some images.

Describe the bug
The az confcom acigeneratepolicy command is not able to pull the image properly.
Related command
az confcom acipolicygenerate
Errors
Pulling and hashing images...:   0%|     | 0/2 [00:00<?, ?percent/s]
Cannot get layer hashes
Pulling and hashing images...:  50%|▌| 1/2 [00:35<00:35, 35.59s/perc
Issue script & Debug output

This is an image showing my output.
Expected behavior
The expected behaviour is for the command to return with the base64 signature that can be used as the ccepolicy for the arm template.
Environment Summary
azure-cli                         2.51.0
core                              2.51.0
telemetry                          1.1.0
Extensions:
confcom                           0.2.15
containerapp                      0.3.36
Dependencies:
msal                            1.24.0b1
azure-mgmt-resource             23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/tanaybaswa/.azure/cliextensions'
Python (Linux) 3.10.10 (main, Jul 27 2023, 07:10:25) [GCC 11.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

@SethHollandsworth, could you please take a look at this issue?

Hi @tanaybaswa, could you please provide more information on how big the image in the ARM template is and how much memory the machine running the az CLI has? I've seen this happen before where the machine runs out of memory while creating layer hashes, so the process gets killed. thanks!
The other time I saw this, increasing the memory on the VM running the az CLI fixed the issue. I'll work on making the error messaging clearer for this scenario.


Editable display of contacts

Background
My coworkers and I are all logged into Live Share using our corporate Office 365 credentials, which means we appear in Live Share as [employee<EMAIL_ADDRESS> Our corporate-mandated employee IDs are long numbers that yield no clue to the person's name.  The email addresses we use for communication are aliases for these uninformative addresses, and Live Share is displaying the uninformative one.
The Feature
Please allow me to change the display of my contacts in Live Share.  The context menu for a contact currently has "Invite by email" and "Remove"; I am suggesting adding a "Rename".    Ideally I would be able to replace the displayed text, but still see the email address on mouseover.  Back-up idea: allow me to add a tag to the end of the display.
Stretch Goal
Automatically display our names and contact images from our Office 365 accounts.

Thanks for reaching out. Your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

@fubaduba this sounds like a nice feature request.

We’re not able to prioritize this issue over the other higher-impact issues we receive every week, based on the votes and comments from others in the community and our understanding of the issue. However, rest assured that we love your input. If you feel it deserves to stay open, then clarify your use case and contact us to let us know how severe it’s for you.


fix get_pos_red to restrict to one side of the uv-plane

This PR makes a small change to get_pos_red that restricts the baselines to one side of the uv-plane. The old method arbitrarily selected redundant baselines that were on either side of the uv-plane. This fix decreases the FFT runtime by a factor of ~2 for the full HERA array with outriggers.

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

Project coverage is 95.93%. Comparing base (c61ffbf) to head (47b4b2f).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   95.65%   95.93%   +0.28%
==========================================
  Files           4        4
  Lines         115      123       +8
  Branches       31       33       +2
==========================================
+ Hits          110      118       +8
  Misses          3        3
  Partials        2        2

Flag
Coverage Δ

unittests
95.93% <100.00%> (+0.28%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Import should be a participant in the merit order

Using as 'marginal cost' the price of imported electricity.
Currently, import is the 'last resort' option if not enough local production capacity is available. It would be much more realistic if import would occur based on cost/price instead.
@antw can you make an estimate of how difficult/time consuming this change would be?

This has been pushed:

ETEngine: import-price branch
ETSource: import-price branch
ETModel: import-price branch

I added "Imported electricity" to the merit order table just to ensure that it was working correctly, but have not added it to any other table or chart. There may be others which need to be updated such as "Merit order capacities and marginal costs"; if not, I'll submit pull requests for the three branches.

Great work @antw !

There may be others which need to be updated such as "Merit order capacities and marginal costs"

That is the only one that I can think of really. No problem to add that later IMO.

I believe that this is fixed.


Add support for multiple hidden layers in NeuralNet

This PR adds support for multiple hidden layers in NeuralNet. However, this breaks some documentation among other things.

Hey @niilohlin, thank you so much for your pull request! The project is much more organized, easier to read, and now more hidden layers can be added thanks to you. I appreciate it! I ran the NeuralNetworkSpec and there was an error with the input layer of a neural network. The issue was that the bias wasn't included so no additional neuron was created (only the ones specified by the user). Here is the fix:
var temporaryWeightsIn: [Float] = []
        var listOfNeurons: [Neuron] = []
        _numberOfNeuronsInLayer = numberOfNeuronsInLayer + 1 // Added Bias

        for var i in 0..<(numberOfNeuronsInLayer + 1) { // Added Bias

            var neuron = Neuron()

I'll merge your pull request and make the changes that are needed including some documentation.
Regards,
Guled


Simplify appearance color handling

I think the current appearance-based color handling is good, since it's a dynamic approach that is easy to override to change how a keyboard looks.
However, I think it's too much at the moment. We first have a KeyboardColor enum that refers to embedded color assets, then Color extensions that refers to the keyboard colors, then KeyboardAction extensions that specify the standard color and text/image for an action, given a certain context, then a KeyboardAppearance that mixes it all together.
While I think that it's nice to separate, I would love to find an easier way to inject a custom style/theme, without having to subclass the appearance. I use a KeyboardTheme in my own apps, and a theme-specific appearance, but I'm thinking of making that the default setup in the appearance class, where an injected theme takes care of the colors. That would make it easier to customize and preview system keyboards, since the same appearance could then provide different color sets.

I have looked into this and we DO need the adaptive appearance in order to keep the system buttons adaptive. It's also a LOT easier to create a custom appearance than injecting a certain style everywhere.
However, I have added a bunch of context-agnostic views that just use the various styles that do exist. That lets us eat the cake while still have it.


Name not being saved to .brackets.json

As said in adobe/brackets#10538 my installation doesn't seem to save the project name in the (projects) .brackets.json file. The project name as well as the color are saved perfectly fine though, after multiple restarts the name wasn't forgotten once.
Could there be an issue with the project sitting on a network share? I've had multiple issues with network shares already so it wouldn't suprise me (I cannot stay away from network share though even if I wanted).
I don't know if it was badly formulated, but I did mean the project related json file, not the overall settings json file in %appdata%

Oh right, I had forgotten about .brackets.json files.
There are two levels of preferences as stated here:

Scope of preferences

User-global preferences - your default settings. To edit, choose Debug > Open Preferences File.
Project-level preferences - override any number of preferences on a project-specific basis. Create a > * .brackets.json file in the root of your project.

By default this extension does save the values to the user global preferences (the brackets.json in %APPDATA%) by default, but if the key is already in .brackets.json, it will save it there.
The format is following:
"petetnt.brackets-name-a-project.namedProjects": {
        "C:/Users/Pete/AppData/Roaming/Brackets/extensions/user/petetnt.brackets-name-a-project/": {
            "_parentPath": "C:/Users/Pete/AppData/Roaming/Brackets/extensions/user/petetnt.brackets-name-a-project/",
            "_name": "petetnt.brackets-name-a-project",
            "name": "Name A Project Extension",
            "bgColor": "blue"
        }
}

I could add another pref so you could force the extension to save the preferences to .brackets.json by default by setting the scope to user if that's beneficial, not sure what happens if the file isn't there though so that needs investigating.

Ah right I could have had that idea myself...
I just copied it into the project file and deleted it from the global, worked perfectly fine :D
A default option would be nice though :) make it a checkbox/radio button/confirmation to choose from, so it could be chosen on a project by project basis.

Added this functionality in v0.0.4, thanks for your contribution :+1:

It still stores the full path though :( it makes it hard to be portable unfortunately. I see that the path is also used as the main object property name or however you'd call it, but can't that be left out in the project settings?
I don't know how the code exactly works but is the path necessary?
Wouldn't something like this suffice?
"petetnt.brackets-name-a-project.namedProjects": {
        "_name": "petetnt.brackets-name-a-project",
        "name": "Name A Project Extension",
        "bgColor": "blue"
    }

Oh right, you are correct about the path not needed for the project level one. It's required for the recent projects list and the user global one though. I'll file another issue and try to fix that later today!

Awesome! Thank you :)


DDL changes: #113, #114 and #117

This PR also contains the changes from PR #115, which I'll withdraw.

Thanks Hanna. Sorry for the delay it's taking a little while to test


Update Render logo and add pricing

This PR updates the logo for Render and adds pricing information for deploying a web service.

cc @jph00

Thanks @anurag :) Maybe it would be worth creating a new topic in the v3 course category to let people know about this?


Camera/Microphone permission not asking? Expo SDK 44

Bug description:
The webview is not asking for camera/microphone permission. The source url which is a video visit page has getusermedia() function but still not asking for permissions hence it is stuck in a loading screen. But if I try to reload the url it is asking for permission on iOS but not for android
To Reproduce:
const [url, setUrl] = useState(props.route.params.url);

const handleWebViewNavigationStateChange = (url: string = '') => {
    if (
      (url && url.includes(PORTAL_DASHBOARD_URL)) ||
      url === PORTAL_DASHBOARD_URL
    ) {
      setUrl(LOGOUT_URL); //ToDo: Remove if not needed
      navigation.navigate('VirtualVisit');
    }
    if (url.includes(PORTAL_VIDEO_URL)) {
      setUrl(url);
    }
  };

 <WebView
     ref={webViewRef}
     source={{uri: url}}
     javaScriptEnabled={true}
     onLoadEnd={(syntheticEvent: WebViewEvent) => {
        const {nativeEvent} = syntheticEvent;
         if (url.includes(CUSTOM_URL)) {
           if (nativeEvent.loading == false && reloadCount <= 1) {
            webViewRef.current?.reload();
              setCount(reloadCount + 1);
             }
           }
          setLoaded(!nativeEvent.loading);
          }}
     onNavigationStateChange={(navigationState: WebViewNavigation) => {
            handleWebViewNavigationStateChange(navigationState?.url);
          }}
     onLoadProgress={(event: WebViewEvent) =>
            handleWebViewNavigationStateChange(event?.nativeEvent?.url)
          }
     allowsInlineMediaPlayback={true}
     mediaPlaybackRequiresUserAction={false}
     originWhitelist={['*']}
     userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
     onError={(e) => console.log('error: ', e)}
 />

Expected behavior:
It should ask for permission normally without any workaround like reloading the url.
Environment:

OS: Android/iOS
OS version: both running latest OS
react-native version: ^0.64.3 (Expo managed workflow Expo version: 44)
react-native-webview version: 11.15.0

@vinayn-mend I tried out a website that asks for microphone/camera permission upon entering website and it seems to work without reloading the page. I asks for permission from expo upon entering website.
I think the problem is the logic is either in reload() or handleWebViewNavigationStateChange() or handleWebViewNavigationStateChange() as the permission asking worked fine without them.
Maybe since the page loaded and reloaded again to ask for permission, there might be an issue with onLoadEnd() logic because it reloadeda after loading.

@HyunseungLee-Travis I have updated my question with what's happening inside handleWebViewNavigationStateChange() .
What I'm doing is before navigating to the webview screen, I'm asking for camera/mic permission using expo-permissions/expo-av on click of a Connect button and then navigating to a screen where it loads this webview.
Could you please provide a code snippet of how you asked for permission and all? Also can you provide the website you've tried out ? That would be really helpful

I used browser's built in getUserMedia() api.
It might not be what you wanted, but using getUserMedia() works.
Since it's a webview, I find it more easier to ask for permission in the browser rather than use the code in Expo or React Native.
Browser
navigator.mediaDevices.getUserMedia({
    video: {
        facingMode: 'environment',
        width: { ideal: 4096 },
        height: { ideal: 2160 },
    },
})
.then((s) => { //Do something with video })
.catch((e) => {
    console.log(e) // Log errors
});

One thing I don't understand is why would you want to use a camera in React Native code and then navigate to website? If you want to do anything with videos, shouldn't you be trying to code the video component in website and then asking for permission in website rather than Expo?
I might not have understood your itentions of using camera.
I prefer this way if I want to use the cameras.

@HyunseungLee-Travis Well I thought it's required to allow camera/mic permission in order to access it.
Yes, here also the browser's built in api is used. And I'm getting the permission request alert but only for iOS. And that too after doing the reload programmatically like I've shown above. But for Android, it's not even asking for any permission after reload and the website is going to an else case page where it shows the user that

Any update on this ? I was able to open the website on Chrome mobile browser and it is asking for camera/mic permission properly. If it is working properly on a browser, what'll be the reason it is not working inside a webview ?  @HyunseungLee-Travis

Same for me . We are building a Video conferencing in react and using the component is mobile with react native webview. The camera and mic works on iOS smoothly. But on some android devices I'm not able to toggle between Back Cam and front Cam and on some android devices, the camera itself is freezing. This was the sample URL we used for gUM
https://simpl.info/getusermedia/sources/

Could you find a solution? @ratz6 @vinayn-mend


Databroker test cases

Added test cases for classes :
Changed classes :

Can one of the admins verify this patch?

ok to test


[1.12.2] Not enough avaiable sound slots for Immersive Vehicles (Formerly known as MTS)

Mod Version:
<IP_ADDRESS>
Forge Version:
1.12.2-forge1.12.2-<IP_ADDRESS>47
Link to client log:
(pastebin said that I exceed the limit of 512 KB per paste, so here's a mediafire link https://www.mediafire.com/file/lxeht5xv8991vau/latest.log/file)
Description:
Basically Dynamic Surroundings takes all sound slots so Immersive Vehicles cannot use them. I think it can be solved by changing something in the config, but I don't know what. Here's a screenshot of the problem: https://i.imgur.com/vAIseZV.png
Edit: grammar error

I don't do MediaFire.  The link to the png does not work.  Which sound slots are you referring to?  By default MC has 28 normal sounds and 4 streaming.  DS patches MC so that it increases the number of channels to 255 total, with 8 reserved for streaming.  You can change these settings by:
B:"Autoconfigure Channels"=false
I:"Number Streaming Channels"=<set to 8+ but not too many>
I:"Number Normal Channels"=<255 - Number of Streaming Channels>

I don't do MediaFire. The link to the png does not work. Which sound slots are you referring to? By default MC has 28 normal sounds and 4 streaming. DS patches MC so that it increases the number of channels to 255 total, with 8 reserved for streaming. You can change these settings by:
B:"Autoconfigure Channels"=false
I:"Number Streaming Channels"=<set to 8+ but not too many>
I:"Number Normal Channels"=<255 - Number of Streaming Channels>

I don't know, it doesn't say what sound slot specifically, anyways the png link works but you need to copy and paste it on your search bar, about the log, I don't know any other websites where I can paste something like 2 MBs of log. If you have Discord I can send you there, my username and discriminator are LavaHoleD#1065

I got lucky and did not get spammed with bad advertising when using the MediaFire link.  From what it looks like DS for some reason is not being called to configure the sound channels.  I would expect to see something like the following in the log:
[18:12:41] [Client thread/INFO] [dsurround]: Sound channels: 207 normal, 16 streaming (total avail: 223)
[18:12:41] [Client thread/INFO] [dsurround]: Stream buffers: 3 x 32768
[18:12:45] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem...
[18:12:45] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL

I do not see the dsurround trace.  Is this pack available online somewhere?

I got lucky and did not get spammed with bad advertising when using the MediaFire link. From what it looks like DS for some reason is not being called to configure the sound channels. I would expect to see something like the following in the log:
[18:12:41] [Client thread/INFO] [dsurround]: Sound channels: 207 normal, 16 streaming (total avail: 223)
[18:12:41] [Client thread/INFO] [dsurround]: Stream buffers: 3 x 32768
[18:12:45] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem...
[18:12:45] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL

I do not see the dsurround trace. Is this pack available online somewhere?

I did not upload yet this update, I was testing the new mods (including Dsurround) on barebonespack, if you want I can make an unlisted pack with these stuff.
Anyways I disabled auto configure because I thinked it could maybe solve the issue


Add tgs dockerfile to image builds in Docker Hub

In Docker hub - https://hub.docker.com/r/42wim/matterbridge/tags
There is no tgs standard docker build referencing the tgs.docker file
Could you add that?

Could you extend on this?
Not sure, I understand what you mean

i am also looking for this. i dont see any version of the docker image with the lottie depend needed for the tgs conversion on docker hub. and i would rather not build the container myself.


seems to ignore karma.conf logLevel setting

With karma.conf logLevel set to config.LOG_WARN, LOG_DEBUG level messages are output to my console (e.g. console.log statements).

We are using the same functions to log the messages as the built in reporters in karma. So no console.log() statements anywhere. Which messages do you mean?

Sorry I meant console.log statements in my code - the code being tested. This is for an Angular app and we override Angular's $log methods with console.log methods because Angular $log swallows up the file names reported in Chrome DevTools console output. Anyway, it seems if we put the following in karma.conf the "issue" goes away:
    captureConsole: false
}```

I guess **karma-spec-reporter**, which we were using previously, was doing this in code based on logLevel, so basically this was all a poor assumption by me.

Thanks!

No problem. And you are right, karma-spec-reporter is overriding the function onBrowserLog() and checks for the current log level of karma. We are using the original onBrowserLog() function of karma, which does not check the log level. If this really is an issue for you, maybe the karma repository is the right place to open an issue.


Add share button

Naive implementation for share option. It includes a share icon button at the top bar, and clicking on it triggers a default send text intent, which contains the basic information from a session (I'm not sure if the details description should be shared - it can be too long - but for now it is included). You can send it to any "text" receiving app (WhatsApp, e-mail, etc).
The current implementation only works with Android, and it is a simple function interacting with the Android context.
Fixes #303

Share Button
Share Bottom-Sheet
Shared Content

Uhhh, sorry for the formatting noise. If needed, I can fix it tomorrow. 🙃


Can you provide a seek method?

Checklist

[X] I made sure that the issue I am raising doesn't already exist

Use case / Problem
I want to fast forward while playing audio
Proposal / Solution
Can you provide a seek method?
Example Code

Example Code
void main() {
}

Affected platforms
iOS
Platform details
No response
Audio Files/URLs/Sources
No response
Mockups
No response
Related issues / more information
No response
Working on PR
no way

https://github.com/bluefireteam/audioplayers/blob/main/getting_started.md#seek

I made a mistake.


feat: support progressPercentage in hive thrift response

Fixes pinterest/querybook#552
Just added a check if progressPercentage is reported by thrift response. If yes, Hive Client uses it to calculate percentage. It falls back on original method of calculating based on map/reduce progress. Added unit tests.

Thanks for contributing! added some minor comments


packages.microsoft.com outage (including dotnet packages)

Hello,
.NET Team is aware of an issue with packages.microsoft.com where several repositories seem to be broken.
Our teams are actively looking into this and will keep this issue updated.
Update: This is a total outage with packages.microsoft.com and our upstream team is trying to recover all regions one by one.

The issue has been reported to the packages.microsoft.com team and we are actively working with them.

We are hearing that the west-us region should be back up but other regions are still failing.

Would this error exhibit as
Failed to connect to packages.microsoft.com port 443: Connection timed out

☝ this is the error I'm facing.
"several repositories seem to be broken" might imply that it's not the same?

Update: This is a total outage with packages.microsoft.com and the team is recovering the regions one by one.

@matt-richardson ... you are (sadly) affected by this outage. That error messages matches.

Update: packages.microsoft.com team are driving towards a 5:30 PM (PST) ETA. As per them, West US is recovered and now they are in the process of recovering East US now

Update:
•	West US region and East US region are recovered completely now
•	All regions have at least 1 Mirror back up. Hence PMC should work now with degraded performance.

Hello,
We have the final update from packages.microsoft.com team. All the mirrors should be up with full capacity now.

Thanks for updates @rbhanda . Confirming we are back with full capacity worldwide.

Closing as this is now resolved.

Hello,
is it normal to get data dripping in at only 104 kByte/sec when trying to download .NET Core SDK 3.1 on ubuntu?

Service Unavailable
Our services aren't available right now
We're working to restore all services as soon as possible. Please check back soon.
20240609T153853Z-r1556b9bb4cjhw6gvb66prztbn0000000df0000000005cbg

Seems it is down again:
Err:8 https://packages.microsoft.com/repos/code stable InRelease                                                                                Cannot initiate the connection to packages.microsoft.com:443 (2620:1ec:bdf::64). - connect (101: Network is unreachable) Cannot initiate the connection to packages.microsoft.com:443 (2620:1ec:46::64). - connect (101: Network is unreachable) Could not connect to packages.microsoft.com:443 (<IP_ADDRESS>), connection timed out Could not connect to packages.microsoft.com:443 (<IP_ADDRESS>), connection timed out


Printing the result comment to stdout instead of posting it

There is nixpkgs-review post-result, but it requires a GitHub access token, and I’m not really comfortable giving nixpkgs-review access to one. If nixpkgs-review could print the comment that it would post, I would happily paste it into the comment box in my browser and post it manually.

The results are stored in report.md if that helps, but it does make some sense to have  print-result command and --print-result flag

I think we would only need --print-result-md flag as we the other command could be also just cat report.md instead.

opened #312 to implement --print-result, I named it without  -md to be more consistent with --post-result


Pino-noir logs the whole req object

We are using<EMAIL_ADDRESS><EMAIL_ADDRESS>and the newest pino-noir. We have following log structure (showing only important properties):
{
  "req": {
    "headers": {
      "x-forwarded-for": "<IP_ADDRESS>",
      "authorization": "Basic foobar=="
    }
  },
  "res": {
    "statusCode": 200
  }
}

We want to redact the values in the authorization and x-forwarded-for headers:
const noir = pinoNoir(['req.headers.authorization', 'req.headers.x-forwarded-for'], '[redacted]')

app.use(pinoLogger({
    name: 'logger',
    serializers: noir
}))

This, however creates HUUUGE logs, it basically does a JSON.stringify on the req object (about 500 lines of output per log). What am I missing here? Is it due to the old restify version?

I updated to the newest restify version now, and the problem persists, it logs the whole request object with all its internal properties

the api of pino-noir could probably be improved but you need pass in the standard request serializer to the serializers option
var restify = require('restify')
var noir = require('pino-noir')
var app = restify.createServer({name: 'app'})
app.use(require('restify-pino-logger')({
  serializers: noir({
    req: pino.stdSerializers.req,
  }, ['key', 'path.to.key', 'check.*', 'also[*]'])
}))


Further improve Vue type declarations for canonical usage

This pull request supersedes #5887 .
Key improvements:

More backward compatible via generic default
Props type inference

@ktsn @kaorun343 @DanielRosenwasser Your reviews or suggestions are welcome!

This section provides more background for other reviewers/readers.
Vue + TS users currently need helper library like vue-component-class to provide alternative API for TypeScript. Alternative API uses code pattern that TypeScript recognizes, but it splits Vue community.
Thankfully, TypeScript introduces ThisType which can greatly improve Vue's canonical API. This PR introduces ThisType to Vue's official typing.
More importantly, this  improvement also benefits JavaScript users! VSCode users or Vue-language-server users exploits TypeScript compiler to provide editor services for JavaScript. Thus the typing improvement can help JavaScript completion more intelligent.
Goal:

Provide good enough completions for both JS users and new TS users (if they use canonical API).
Don't break existing TS libraries or projects. Or, make breaking minimal.

Non Goal:

This PR won't provide 100% typing precision or use case coverage. Such typing would be too prohibitive for both maintainers and users to reason.
Checking errors in JS isn't kept in mind. So changing existing JS to TS will cause errors.

Known limitations:

new Vue() wouldn't return a type with props type. This is caused by compiler limitations.
Props typing uses a hacky trick.

@HerringtonDarkholme thanks for taking this over! At this moment, I think we also need to have a clear list of potential actions required for existing TS+Vue users once we ship this in 2.5. Will it be simply upgrading TS/vuex/vue-router to latest at the same time, or would it require code changes for specific features?

@yyx990803  Thanks for the quick response!
I have tried with vue-class-component, vuex and vue-router. The result is rather positive.
All three projects can trivially be upgraded, compatible with the new typing. See the detailed diff below.
Though not seamless, the upgrade usually requires only import styles changing, from import * as Vue from 'vue' to import Vue from 'vue'. The only one exception I have countered is using Vue as namespace. Vue.ComponentOption needs to be changed to import {ComponentOption} from "vue", then directly using the import.
We might still break some advanced usage. But generally, for both terminal users and library authors, updating import style is probably the only thing they need to upgrade. If they have already turned on allowSyntheticDefaultImport option, like we have suggested in the doc, Vue2.5 probably will be a seamless upgrade.
Advanced usages still needs case by case discussion, if we can find any.

Detailed diff:
class-component:
@ declarations.ts:1 @
-import Vue from 'vue'
+import Vue, { ComponentOptions } from 'vue'

@ declarations.ts:9 @ export type DecoratedClass = VueClass & {
-  __decorators__?: ((options: Vue.ComponentOptions<Vue>) => void)[]
+  __decorators__?: ((options: ComponentOptions<Vue>) => void)[]

vuex, all changes are importing style. I just list the changed file.
@ helpers.d.ts:1 @
@ index.d.ts:1 @
@ helpers.ts:1 @
@ index.ts:1 @
@ vue.ts:1 @
@ vue.d.ts:5 @

vue-router. All changes are importing style. One change seems to fix a bug not found before :) @ktsn
@ index.ts:1 @
-import Vue = require("vue");
+import Vue from "vue";

@ index.ts:164 @ router.go(-1);
-const Components: ComponentOptions<Vue> | typeof Vue = router.getMatchedComponents();
+const Components: (ComponentOptions<Vue> | typeof Vue)[] = router.getMatchedComponents();

@ vue.d.ts:5 @
-import Vue = require("vue");
+import Vue from "vue";

One change seems to fix a bug not found before

Yeah, it was because of updating TypeScript version. (and the previous code seems invalid)
This improvement is really great! It looks to be compatible in the most of use cases that I can think and also solves props type inference that is one of the most challenging topic of Vue typings 😄
I need a bit more time to take a look into this. Will try it on this weekend 🙂

I realized weird behavior when I include props, render option in Vue.extend.
Vue.extend({

  props: {
    bar: {
      type: String
    }
  },

  methods: {
    foo() {}
  },

  mounted () {
    this.foo()
  },

  render (h) {
    const a = this.bar

    // if including `[a]`, `this.foo()` in `mounted` failed to type check
    return h('canvas', {}, [a])
  }
})

@ktsn Thanks for review!
The last example is, sadly, that ThisType is very easy to trigger cyclic dependency, as listed in the known issue.
The fix is also easy, manually annotate the return type of render will fix this.

@HerringtonDarkholme
Oh, that's sad 😢
Maybe, we should suggest users to always write type annotations in the docs.

I just summarize required actions for migration.

Rewrite import statement to default import import Vue from 'vue'
Rewrite namespace usage to named import (e.g. Vue.ComponentOptions to just ComponentOptions)
Change namespace Vue to interface VueConstructor when module augmentation.
ThisType of computed, watch, render and lifecycle hooks will need manual type annotations if the users annotate their component options with as ComponentOptions<Something>.

I guess, the most users can migrate to the new typings by just rewriting import statement. The 2nd/3rd things may need for some plugin developers (or someone well understanding Vue typings). The users that manually annotate their component options need to do the 4th thing but I guess the most of TS+Vue users use class style API (like vue-class-component), so it would ba a few cases.

@ktsn
I'm a little confused,  with this type desecration improvement,  TypeScript compiler could understand the code below ( almost understand )?
I mean it can understand foo method and bar property?
Vue.extend({

  props: {
    bar: {
      type: String
    }
  },

  methods: {
    foo() {}
  },

  mounted () {
    this.foo()
  },

  render (h) {
    const a = this.bar

    // if including `[a]`, `this.foo()` in `mounted` failed to type check
    return h('canvas', {}, [a])
  }
})

Do be careful to test out the case with the call signatures; I realize now that Array and RegExp has both construct and call signatures.

wa jue ji jishu na jia qiang

@HerringtonDarkholme are you on slack? Can you give an email address so I can invite you to the team slack? (maybe via Twitter DM)

I drafted a blog post regarding the 2.5 TS upgrade, feedback needed!
https://medium.com/the-vue-point/upcoming-typescript-changes-in-vue-2-5-e9bd7e2ecf08
/cc @HerringtonDarkholme @DanielRosenwasser @ktsn @octref

@yyx990803, looks good, two typos:

"Daniel Rosenwasser from the TypeScript started" --> missing word?
"in anyway; per semver" --> any way

@robert-claypool thanks, fixed.

@yyx990803  I'm already on slack!

I will try to give some deeper feedback later, but

"So that we" doesn't flow will into the items listed
The features we added that enabled this support were chiefly in 2.1 to 2.3.

@yyx990803 @HerringtonDarkholme @DanielRosenwasser any changes to Vue typings due to TS 2.6 release?

@eshimischi if you're having any specific problems with the type declarations given TypeScript 2.6, I'd suggest you file a separate issue.


possible bug when selecting source

Describe the issue
Since last update when I attempt to change source to a specific source via a template I get the following error.
"Failed to call service media_player/select_source. coroutine raised StopIteration"
when changing source via the eversolo media player control it works fine.
Reproduction steps

Create a template card similar to below:

content: Mediaplayer music
entity: media_player.eversolo
icon: mdi:music
icon_color:
tap_action:
action: call-service
data:
source: Internal Player
service: media_player.select_source
target:
entity_id: media_player.eversolo
type: template

click button
error  is observerd "Failed to call service media_player/select_source. coroutine raised StopIteration"

That's interesting! The last update changed the select source a bit because it now loads the source options from the device instead of hardcoding them.
I'll try recreate the issue and investigate.

First an explanation why the error was thrown:
In the select_source method, it looks for the given source in the source dictionary. In version 0.3, I changed this so it's created from the Eversolo response. This means that it's now language specific. It looks like this:
{
    "XMOS": "Interner Player",
    "BT": "Bluetooth-Eingang",
    "USB": "USB-C-Eingang",
    "SPDIF": "Optischer Eingang",
    "RCA": "Koaxialer Eingang"
}

The select_source method used the next method to look for the given source value in the dictionary. If it doesn't find it, it will throw a StopIteration exception. For some reason it can't find the source that you have given. However, I didn't find any bug in the implementation.
I don't like that a service called from a template stops working with a hardcoded source if you change the language of the Eversolo device. Because of this, I introduced the following changes in Version 0.3.2:

select_source both accepts the key or the value from the dictionary shown above. This means that in my example you could call it with source XMOS or Interner Player.

select_source now raises a ValueError instead of a StopIteration when the source is not found.

Looking forward to your feedback!
Chris

Thanks Chris
It works now  I also realise that I was using “Internal Player” which was
working before  but it should now be “Internal player” for the EN version
so therefore was case sensitive.
I think Eversolo are actually inconsistent in the naming but we can’t do
anything about that.
I think you can close the issue.
On Sun, 17 Dec 2023 at 8:11 pm, Christian Horn @.***>
wrote:

First an explanation why the error was thrown:
In the select_source method, it looks for the given source in the source
dictionary. In version 0.3, I changed this so it's created from the
Eversolo response. This means that it's now language specific. It looks
like this:
{
"XMOS": "Interner Player",
"BT": "Bluetooth-Eingang",
"USB": "USB-C-Eingang",
"SPDIF": "Optischer Eingang",
"RCA": "Koaxialer Eingang"
}
The select_source method used the next method to look for the given
source value in the dictionary. If it doesn't find it, it will throw a
StopIteration exception. For some reason it can't find the source that
you have given. However, I didn't find any bug in the implementation.
I don't like that a service called from a template stops working with a
hardcoded source if you change the language of the Eversolo device. Because
of this, I introduced the following changes in Version 0.3.2:

select_source both accepts the key or the value from the dictionary
shown above. This means that in my example you could call it with source
XMOS or Interner Player.
image.png (view on web)
https://github.com/hchris1/Eversolo/assets/34690225/8d0f6346-a44a-4bbe-89a9-f3a3465e5e26
image.png (view on web)
https://github.com/hchris1/Eversolo/assets/34690225/7f2c0304-74c1-46f9-aca7-e07723999a24
select_source now raises a ValueError instead of a StopIteration
when the source is not found.

Looking forward to your feedback!
Chris
—
Reply to this email directly, view it on GitHub
https://github.com/hchris1/Eversolo/issues/27#issuecomment-1859081258,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMB3GFK4PUXTNCGZ53OECLDYJ2ZMBAVCNFSM6AAAAABAX4KOJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGA4DCMRVHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Set minimum boost version to 1.84.0

This commit introduces some code to use a boost API: boost::uuids::to_chars, which is available since boost 1.77.0 (see boost commit). So I'm proposing to change the minimum version to 1.77.0. And I note 1.84.0 is velox's default installed version now, let's directly set the minimum version to 1.84.0.
Post related PR:
https://github.com/facebookincubator/velox/pull/8679

@czentgr, @majetideepak, @kgpai, could you take a review? Thanks!

@PHILO-HE we will need 1.84.0 for some of the Presto functions we are implementing. We can move up to Meta's internal version without any issues I guess.

@PHILO-HE we will need 1.84.0 for some of the Presto functions we are implementing. We can move up to Meta's internal version without any issues I guess.

@majetideepak, I just changed to use 1.84.0 as the minimum version. Let's wait for @kgpai to confirm. Thanks!

Friendly ping @kgpai, could you take a look? Thanks!

Hi @PHILO-HE , there is some work going on with scheduled fuzzer jobs and CI right now, I am waiting for us to fix breakages and things to settle before adding this to the mix (E.g : https://github.com/facebookincubator/velox/pull/8734/files) . Can you give me a couple of days after we land the above to validate these changes ?
cc: @czentgr @majetideepak

Hi @PHILO-HE , there is some work going on with scheduled fuzzer jobs and CI right now, I am waiting for us to fix breakages and things to settle before adding this to the mix (E.g : https://github.com/facebookincubator/velox/pull/8734/files) . Can you give me a couple of days after we land the above to validate these changes ?
cc: @czentgr @majetideepak

@kgpai, I see. Please take your time. Thanks!

Hi @PHILO-HE , there is some work going on with scheduled fuzzer jobs and CI right now, I am waiting for us to fix breakages and things to settle before adding this to the mix (E.g : https://github.com/facebookincubator/velox/pull/8734/files) . Can you give me a couple of days after we land the above to validate these changes ?

Hi @kgpai, do you have any update? Thanks!

Hi @PHILO-HE , We use 1.77 internally and moving to 1.84 would be a much larger change if we have to update to 1.84 internally (as you can imaging many teams might be potentially affected). If you only need to use features in 1.77 however can we just set the minimum required to 1.77 ?

Hi @PHILO-HE , We use 1.77 internally and moving to 1.84 would be a much larger change if we have to update to 1.84 internally (as you can imaging many teams might be potentially affected). If you only need to use features in 1.77 however can we just set the minimum required to 1.77 ?

Hi @kgpai, thanks for your suggestion! Yes, the minimum version can be 1.77 for now. I just updated the pr. Please take a look again. Thanks!


Cache Eviction Based On Memory Pressure

Cache Eviction Based on memory  pressure

I think the question is how to decide size for the memory cache is it should be object size and if yes what are the best practices to fetch managed object size.
Cache Size

Hello @Gaurav-Puri101187 ... Please use the This page button+form at the bottom of the topic, as it will add metadata for issue tracking and automatically ping the author of the topic.

Can you create an issue from the doc page? That will connect the doc to the issue. Go to the bottom of the page and select This page .


Normal implementation

This is, once again a completely standard solution like your other PR (https://github.com/NLDev/Hacktoberfest-2020-FizzBuzz/pull/674) which I've already closed. It even features the very same code and just adds yet another normal solution in PHP.
Since you did not check out the ReadMe before contributing, as I suggested in your other PR, I will label your PR as spam.
Please refrain from making another attempt at creating a PR without reading the ReadMe first.
Please be aware that too many invalid PR's can result in a disqualification from hacktoberfest


Kafkajs socket factory support or proxy config in a fresh usage

We use a corporate proxy to hit the confluent kafka from the kubernetes hosted application. To amend the proxy in the kafkajs used application, socketFactory has been used as per this documentation - https://kafka.js.org/docs/configuration#custom-socket-factory.
I see the confluent kafka javascript support says that the socket factory is no longed supported. Is there any aleternative provided for amending the proxy details to make the kafka call go through for kafkajs migration or for the fresh usage?
Looking for an advise on this. Any help would be much appreciated, thanks!

Hey - at the moment, this isn't supported. There are no plans in the near future to add a workaround for this. There are some suggestions here  about how to work around similar issues but it requires changing some broker-side configurations.


go-tcp-transport and go-peerstream is incompatible for go-libp2p-transport version

go-peerstream depend on  go-libp2p-transport  @ version 2.2.8
go-tcp-transport depend on  go-libp2p-transport  @ version 3.0.0
but go-libp2p-transport  @ version 3.0.0 and go-libp2p-transport  @ version 2.2.8 is incompatible

Unfortunately, we're in the process of pulling through some changes to how transports work. Currently, I recommend you use:

The hotfix/1.2.3 branch of go-tcp-transport (version 1.2.3).
Version 2.2.8 of go-libp2p-transport.

If you use gx to manage deps, this should "just work".

Thanks, It`s working now.


RN.Linking.openURL does not pre-populate SMS message body

This is re-opened bug from https://github.com/facebook/react-native/issues/23992. The same behaviour, but on Motorola g(6) play, android 9. It works or second test device with android 8 (honor).
React Native version:
  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
      Memory: 1.41 GB / 32.00 GB
      Shell: 3.2.57
    Binaries:
      Node: 10.15.3
      npm: 6.4.1
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
      Android SDK:
        API Levels: 23, 25, 26, 28
        Build Tools: 27.0.3, 28.0.3
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.10 => 0.59.10

Steps To Reproduce

Linking.openUrl(sms:${phone}?sms_body=${body});

Describe what you expected to happen:
It should pre populate SMS body content.
Investigation:
Quick look for Linking library and I saw it uses "ACTION_VIEW" intent for each intent. It might be the case, since android doc says it should be one of: ACTION_SENDTO, ACTION_SEND or ACTION_SEND_MULTIPLE. Manually triggered intent from adb with ACTION_SENDTO works as expected. Maybe it was different for older android version and that why it sometimes works and sometimes doesn't.

Been working on this same issue seems to not pre-populate via Google Messenger. It only worked when I specified the phone number.

Don't listen the bot, update to v 0.60 is not that trivial if you use custom libraries. But from this version you can use sendIntent directly from Linking library, and this should work as expected: https://facebook.github.io/react-native/docs/linking#sendintent (not tested). For iOS keep sms link:
sms:phoneNumber&body=message

Still happening in RN v0.60.4

Still happening in RN v0.60.4

Use sendIntent for android with
ACTION_SENDTO
and
sms_body
as extra param. It should work as expected.
https://developer.android.com/guide/components/intents-common#SendMessage

Hi @pawlowskim,
Thanks for your help.
I don't seem to get it to work. Lost in how to send all the params to the Linking.sendIntent.
sms: phone-number
sms_body: message
Could you help me here?.

Try this (not tested)
Linking.sendIntent("ACTION_SENDTO", [{key:"sms_body", value:"message"}]);

You can also try without "ACTION" prefix, idk what is the implementation of it under the hood. Guys could provide at least one example for usage and it would be clear.

Try to open link Linking.openUrl('sms:0971234567&body=Test') and get

Linking open not exact message but just list of messages.
React native version 0.61.0-rc.0

you can use Linking.openUrl(smsto:${phone}?sms_body=${body}) instead of Linking.openUrl(sms:${phone}?sms_body=${body})

try this : sms://${number}/${Platform.OS === 'ios' ? '&' : '?'}body=${encodeURIComponent(body)}


Prevent onboarded autofill metric overfiring if called multiple times quickly

Task/Issue URL: https://app.asana.com/0/608920331025315/1207360368013215/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4563  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CDRussell and the rest of your teammates on  Graphite


Datastreams for zeek should be inside the logs-* naming

Hi
I just discovered this great repository. I personally think that when using datastreams the naming convention should be logs-zeek-default. This would follow our datastream recommendations  for type-dataset-namespace.
By placing the index with starting logs it will show up automatically within the logs stream and the security pages and all other sorts of places within Kibana.

Thanks!
I looked this over and don't understand what I'm losing if I don't name data streams this way, but I think I'd have to remove functionality from zeek2es to match this naming convention.
The way I'm naming things is pretty important to how I'm processing things down the line for my research.  I have the index/datastream names this way so Zeek formats can change over time, which happens a lot in my research.  If I put all conn logs in logs-zeek-conn I won't be able to change the mapping for two different conn logs with different formats.

This functionality should exist already if you use the -d and -i switches to put it in your logs-zeek-conn data stream.

I clarified the -i option in the readme and the zeek2es help screen with -h.

Here is a new script to automate what I talked about above:  https://github.com/corelight/zeek2es/blob/working/process_logs.sh

TIL you can make a data stream by naming a regular index log-zeek-conn-something!  I did not know that was possible!  So for that instance, you don't even need the -d option.  Just use -i log-zeek-conn or whatever you want to call your data stream with that log-zeek prefix.

I added another helper script and some documentation:  https://github.com/corelight/zeek2es/tree/working#helperscripts  These should do what you describe above.

Since the newest updates addressed this issue, I'm closing it now.  Please reopen if you think I missed the mark.  Thanks!


Fix/content group cards accessibility

Related Ticket(s)
#1383
Description
I've added role and aria-labelledby attributes to the cards, so they are better understood by screen readers.
Changelog
New

added role and aria-labelledby

Changed

SCSS import order

I'd love to understand the issue this is solving more. Where is the requirement coming from? Is it coming from WCAG, 508, or IBM A11y? Can we get a link to the documentation where it's documented. If this is a requirement we should share the documentation so we can all learn from this for the future.
I'm pushing back here a little because I'm not familiar with this requirement, and can't find it anywhere for block links. A quick test I did for VoiceOver on MacOs it works as I'm understanding it is supposed to work. We're using basic and semantic HTML5 here which should be accessible defining roles and labels and such.


Adapter for handling structural-based versioning

Adds an adapter for easily dealing with the API versioning types.
see doc.go for details on how this is intended to be used.
Review sequence:

Read doc.go
visit.go, visit_test.go -- these should be easily understood (will likely split this into its own PR)
fill.go is just a helper for testing
copy.go is the main machinery.
obj.go is what people will end up using.

/assign @spencerhance

lgtm


Copy Update to the CF page

Changed the text from talking about the vote to now talk about the accumulation and link to the explorer page for the community fund.
https://deploy-preview-95--objective-shirley-ebcd0c.netlify.com/projects/community-fund

Should we already start including some mention to the consensus parameters here?

@aguycalled i think updating this content with the consensus parameters is part of the bigger update we will do when we start the team swarming on the community fund project next week. This was just a quick win to remove the information about the soft fork vote and link to the accumulation view.


Mention the “updating from” version in the pull request

@greenkeeperio feature request: can you mention the previous version in the PR? eg, "updating handlebars from 3.0.2 to 4.0.5" :)

— https://twitter.com/rstacruz/status/668273828838027264

:+1:

wanted this feature too

I'm happy to tell you that we've just rolled out the new Greenkeeper that is based on GitHub integrations.
With the new Greenkeeper this issue is resolved and you can try it out today: https://github.com/integration/greenkeeper
Installing the integration will automatically enable Greenkeeper for all repos that you can grant access for, and that have a package.json file present.
Please be aware that this is currently in its early phase. Before installing it we recommend disabling the old Greenkeeper.
Thanks for your feedback.
We'd love to hear what you think about the new Greenkeeer as well.
Best,
Stephan


[bug] meshes does not load when switch layers when perspective layer is maximised

as of b1f546c
steps to reproduce:
0/ go to /, select human multi level, change template space to big brain
1/ maximise perspective view
2/ add coritical layer
expected behaviour: cortical layer mesh loads
actual behaviour: cortical layer mesh does not load

fixed by #732


The VS Code Server with Remote SSH extension or Code Server experiences a memory leak

Does this issue occur when all extensions are disabled?: No

VS Code Version: In VSCode with Remote SSH extension , Or  Code Server
OS Version: Connecting Windows to the Linux Server

Phenomenon
The VS Code Server with Remote SSH extension or Code Server experiences a memory leak issue
https://github.com/microsoft/vscode/blob/921f7ca0fc92817f6ab30ecc93850870cd0bd414/src/vs/base/parts/ipc/node/ipc.net.ts#L646 ，
The length of the array '_recordedInflateBytes' only grows over time and is not released unless the entry process is closed.
The snapshot information is as follows:

 PersistentProtocol  <- src\vs\base\parts\ipc\common\ipc.net.ts
  _socket: WebSocketNodeSocket ->
    _flowManager:WebSocketFlowManager ->
      _zlibInflateStream: ZlibInflateStream ->
        _recordedInflateBytes: VSBuffer[] -> The length of the array only grows with time  (65411 items in heapsnap shot)

Steps to Reproduce:

In VSCode version 1.94.2 with Remote SSH extension ,

disable the 'Use Exec server' option to switch the VSCode server to a WebSocket connection type to reproduce the issue.

Wait for one week and check the entry process.

Code Server.

Wait for one week and check the entry process.

Thought：
The recording of inflated bytes results in a memory leak. The Recording inflated bytes is not necessary if the socket will not be sent to ExtensionHost process. The solution is to disable sending the socket to the ExtensionHost process and as a result, the need to write inflated bytes is eliminated. A named pipe can be used to communicate with the ExtensionHost instead of sending a socket.
https://github.com/microsoft/vscode/blob/389bf6c37fb5c3e177abe762656ea8728c2cc3a4/src/vs/server/node/extensionHostConnection.ts#L128
the “_canSendSocket” property is always true for non-Windows platforms. The named pipe is only used on Windows. Are there any problems or concerns?

@alexdima this is used here,
https://github.com/microsoft/vscode/blob/d0e75f4674bd2a7c281b401f79a9151889a048e6/src/vs/server/node/extensionHostConnection.ts#L93
it seems like the intention should be we stop recording inflated bytes after creating the message (and then _sendSocketToExtensionHost), what do you think?

What version was this introduced in? We do all our development in dev containers and this makes vscode unusable.


Problem with AppbarLayout

Hi,
I'm using Suggestions. I put the Floatingsearchview inside AppbarLayout:
    <android.support.design.widget.AppBarLayout android:id="@+id/appbar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto">
        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="@dimen/toolbar_size"
            android:background="?attr/colorPrimary"
<EMAIL_ADDRESS><EMAIL_ADDRESS>/>
        <com.arlib.floatingsearchview.FloatingSearchView
            android:id="@+id/searchbar"
            android:layout_width="match_parent"
            android:layout_height="@dimen/searchbar_size"
            app:floatingSearch_dimBackground="false"
            app:floatingSearch_menu="@menu/menu_searchbar"
            app:floatingSearch_searchBarMarginLeft="10dp"
            app:floatingSearch_searchBarMarginTop="5dp"
            app:floatingSearch_searchBarMarginRight="10dp"
            app:floatingSearch_suggestionsListAnimDuration="250"
            app:floatingSearch_showSearchKey="true"
            app:floatingSearch_leftActionMode="showSearch"
            app:floatingSearch_close_search_on_keyboard_dismiss="true"
            />
    </android.support.design.widget.AppBarLayout>

But i have this error, suggestions are overlapped

How i can solve it?
I tryed bringToFront() in onFocus() but still can't solve it.
¿Any idea of how i can solve it?

Hi,
As stated in the README:

Add a FloatingSearchView to your view hierarchy, and make sure that it takes up the full width and height of the screen

This library can only work if it overlays your entire screen, or at least the space where you want the suggestions to appear.
Regards,
Ari


fix: add .ico to isStaticPath to prevent large 404 responses

What is it?

[x] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos
[ ] Infra

Description

When viewing any file in Chrome I noticed that it always makes a request for favicon.ico and saw that it was a 255kb pretty 404 page. I think it makes sense to include .ico as a file to regard as static.

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have ran pnpm change and documented my changes
[x] I have made corresponding changes to the Qwik docs
[x] Added new tests to cover the fix / functionality

@intellix you still marked it minor instead of patch. Anyway I edited it, no problem, just remember for next time.


Navigation between complex page is extremely slow

I'm using Ionic2, I noticed that navigating between complex pages or opening complex page is very slow, Are there solutions for this problem?

Hello! Thank you for opening an issue with us! As this seems like more of a support question I will urge that you ask this question on our forum or on our slack channel.
You may need to provide some code for people to look at. There are multiple reasons navigation could be slow between pages. Some that I have personally run into in my own apps include: slow data fetching, fetching too much data, trying to do complex data manipulation with a large data set, binding too much data at one time. There are ways to fix each of these, but how you do that is highly dependent on what you are doing in the first place.
Thanks for using Ionic!


twitcasting and account login

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
USA
Description
I cannot download a video that requires has a user login requirement on the archive, even though I'm passing in the correct user/password. It works for other videos in the channel, but not the one that requires an account to view.
Verbose log
.\yt-dlp.exe https://twitcasting.tv/cordelia_yurica/movie/720415482 --ffmpeg-location "C:\Users\Joshua\Downloads\ffmpeg-4.3.1-full_build\bin" -o "%(uploader)s/%(title)s.%(ext)s" --write-thumbnail --username $USERNAME--password $PASSWORD --verbose -U
[debug] Command-line config: ['https://twitcasting.tv/cordelia_yurica/movie/720415482', '--ffmpeg-location', 'C:\\Users\\Joshua\\Downloads\\ffmpeg-4.3.1-full_build\\bin', '-o', '%(uploader)s/%(title)s.%(ext)s', '--write-thumbnail', '--username', 'PRIVATE', '--password', 'PRIVATE', '--verbose', '-U']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19042-SP0
[debug] exe versions: ffmpeg 4.3.1-full_build-www.gyan.dev, ffprobe 4.3.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)
[debug] [TwitCasting] Extracting URL: https://twitcasting.tv/cordelia_yurica/movie/720415482
[TwitCasting] 720415482: Downloading webpage
[TwitCasting] 720415482: Downloading live info
ERROR: [TwitCasting] 720415482: Failed to get m3u8 playlist; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
  File "yt_dlp\extractor\common.py", line 612, in extract
  File "yt_dlp\extractor\twitcasting.py", line 144, in _real_extract

That did work, by using  --cookies-from-browser chrome. It's still odd that the user/pass didn't work, though. I'm ok closing this as my need is met, even though the main issue might be an issue, up to you. Thanks for the help!

user+pass support needs to be added for each site and is not implemented for twitcasting


Could not open the database

Hi.
I use a Samsung Galaxy Tab S7 with your APK.
The installation was without any problem and the program start correctly.
I have Jellyfin in a Windows 10 and could connect from this tablet and play movies, open books and comics, etc. So the firewall was correctly config.
But when i try to connect with your app, i have this message "Please wait while we fetch content from the database" and after a lot of time, 5 minites or so, appears  a message (in red) on the screen:
Error: NoSuchMethodError: The getter 'data' was called on null.
Receiver: null
Tried calling: data
Then i check Jellyfin log and saw this:
[2023-05-23 23:15:25.677 +02:00] [INF] [70] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for "XXXXXXXX" has succeeded.
[2023-05-23 23:15:25.678 +02:00] [INF] [70] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user "XXXXXXXX": 2/0
[2023-05-23 23:15:25.686 +02:00] [INF] [70] Emby.Server.Implementations.Session.SessionManager: Reissuing access token: "697c1d75f6d64f029d61fd8603db4ffc"
[2023-05-23 23:24:16.421 +02:00] [WRN] [70] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://<IP_ADDRESS>:8096/Users/9db5e6d910f44080a3a86ed302fe37ab/Items?startIndex=0&recursive=true&sortOrder=Ascending&parentId=db210ad90190f39eb5bb39a021bf5c7e&fields=PrimaryImageAspectRatio&fields=SortName&fields=Path&fields=ChildCount&fields=MediaSourceCount&fields=Tags&fields=Overview&fields=ParentId&sortBy=IsFolder&sortBy=SortName&imageTypeLimit=1&enableTotalRecordCount=true&enableImages=true" to "<IP_ADDRESS>" in 0:08:50.3469716 with Status Code 200

Hi,
I would love to help but I would need a bit more information.
Please provide the version code of your jellyfin + any additional details.
If you are using a reverse proxy, please say which one and what modifications you've made from the original configuration. also, could you perhaps provide a couple screenshots of what your library looks like. Have you tried reloading the app or any other troubleshooting steps? If so, what?
Thanks, Kara

Hi Kara.
I'm using Jellyfin version 10.8.9 under Windows 10 Pro 22H2.
The instalation is in the C: drive with the database/cache/config/logs/etc in D: drive.
Mi internal network is <IP_ADDRESS>/24 without reverse proxy. So i couldn't connect from internet.
I tried to connect from my table (<IP_ADDRESS>) to the server (<IP_ADDRESS>) and also from other phones (all samsung's).
I also tried to disabled the windows firewall, but the same problem.

Hi, I just had a thought as to why this may be happening.
Can you open up developer tools on your web browser, navigate to the network tab, filter by XHR (that makes it easier to find) find the one labeled "Views", go to the response tab and then send the response here?
it should look something like this:
{
	"Items": [
		{
			"Name": "Books",
			"ServerId": "19ec2541bb5a40638c8992fa75d05871",
			"Id": "4e985111ed7f570b595204d82adb02f3",
			"Etag": "f822e6a6f77c121bc82155611f041a48",
			"DateCreated": "2022-07-17T13:29:49.0123392Z",
			"CanDelete": false,
			"CanDownload": false,
			"SortName": "books",
			"ExternalUrls": [],
			"Path": "/var/lib/jellyfin/root/default/Books",
			"EnableMediaSourceDisplay": true,
			"ChannelId": null,
			"Taglines": [],
			"Genres": [],
			"PlayAccess": "Full",
			"RemoteTrailers": [],
			"ProviderIds": {},
			"IsFolder": true,
			"ParentId": "e9d5075a555c1cbc394eec4cef295274",
			"Type": "CollectionFolder",
			"People": [],
			"Studios": [],
			"GenreItems": [],
			"LocalTrailerCount": 0,
			"UserData": {
				"PlaybackPositionTicks": 0,
				"PlayCount": 0,
				"IsFavorite": false,
				"Played": false,
				"Key": "4e985111-ed7f-570b-5952-04d82adb02f3"
			},
			"ChildCount": 3,
			"SpecialFeatureCount": 0,
			"DisplayPreferencesId": "4e985111ed7f570b595204d82adb02f3",
			"Tags": [],
			"PrimaryImageAspectRatio": 1.7777777777777777,
			"CollectionType": "books",
			"ImageTags": {
				"Primary": "795595144c6d560070a0be4b296721b8"
			},
			"BackdropImageTags": [],
			"ImageBlurHashes": {
				"Primary": {
					"795595144c6d560070a0be4b296721b8": "WDD8,%ITVXjFwJbJaMOFM{bbsloy8wx[-;WpS4Rji^axtRs:WXWB"
				}
			},
			"LocationType": "FileSystem",
			"LockedFields": [],
			"LockData": false
		},
		{
			"Name": "Collections",
			"ServerId": "19ec2541bb5a40638c8992fa75d05871",
			"Id": "9d7ad6afe9afa2dab1a2f6e00ad28fa6",
			"Etag": "bfca5a5af2f91615d26a1ae58bdaf9f5",
			"DateCreated": "2022-07-17T01:12:22.4038962Z",
			"CanDelete": false,
			"CanDownload": false,
			"SortName": "collections",
			"ExternalUrls": [],
			"Path": "/var/lib/jellyfin/root/default/Collections",
			"EnableMediaSourceDisplay": true,
			"ChannelId": null,
			"Taglines": [],
			"Genres": [],
			"PlayAccess": "Full",
			"RemoteTrailers": [],
			"ProviderIds": {},
			"IsFolder": true,
			"ParentId": "e9d5075a555c1cbc394eec4cef295274",
			"Type": "CollectionFolder",
			"People": [],
			"Studios": [],
			"GenreItems": [],
			"LocalTrailerCount": 0,
			"UserData": {
				"PlaybackPositionTicks": 0,
				"PlayCount": 0,
				"IsFavorite": false,
				"Played": false,
				"Key": "9d7ad6af-e9af-a2da-b1a2-f6e00ad28fa6"
			},
			"ChildCount": 9,
			"SpecialFeatureCount": 0,
			"DisplayPreferencesId": "9d7ad6afe9afa2dab1a2f6e00ad28fa6",
			"Tags": [],
			"PrimaryImageAspectRatio": 1.7777777777777777,
			"CollectionType": "boxsets",
			"ImageTags": {
				"Primary": "023903cb0280641e8ce701a70be04c04"
			},
			"BackdropImageTags": [],
			"ImageBlurHashes": {
				"Primary": {
					"023903cb0280641e8ce701a70be04c04": "WDAmh?kC4.V[9FkC~Wa#M{WBM{bH4nWB%Mj[%LWBRjWBs:a|xaay"
				}
			},
			"LocationType": "FileSystem",
			"LockedFields": [],
			"LockData": false
		},
		{
			"Name": "Comics",
			"ServerId": "19ec2541bb5a40638c8992fa75d05871",
			"Id": "2912d51b5fccd138129c54cce1e8bbc6",
			"Etag": "c5b1cf39604178ffe74760de48bc5da9",
			"DateCreated": "2022-08-11T16:12:34.9332958Z",
			"CanDelete": false,
			"CanDownload": false,
			"SortName": "comics",
			"ExternalUrls": [],
			"Path": "/var/lib/jellyfin/root/default/Comics",
			"EnableMediaSourceDisplay": true,
			"ChannelId": null,
			"Taglines": [],
			"Genres": [],
			"PlayAccess": "Full",
			"RemoteTrailers": [],
			"ProviderIds": {},
			"IsFolder": true,
			"ParentId": "e9d5075a555c1cbc394eec4cef295274",
			"Type": "CollectionFolder",
			"People": [],
			"Studios": [],
			"GenreItems": [],
			"LocalTrailerCount": 0,
			"UserData": {
				"PlaybackPositionTicks": 0,
				"PlayCount": 0,
				"IsFavorite": false,
				"Played": false,
				"Key": "2912d51b-5fcc-d138-129c-54cce1e8bbc6"
			},
			"ChildCount": 7,
			"SpecialFeatureCount": 0,
			"DisplayPreferencesId": "2912d51b5fccd138129c54cce1e8bbc6",
			"Tags": [],
			"PrimaryImageAspectRatio": 1.7777777777777777,
			"CollectionType": "books",
			"ImageTags": {
				"Primary": "fc9e033446996c42ef2c70af5f0d9f42"
			},
			"BackdropImageTags": [],
			"ImageBlurHashes": {
				"Primary": {
					"fc9e033446996c42ef2c70af5f0d9f42": "W9AJ+kW;01M~IX9vBos.IWo3r@xZ4njF^+JARkxZ-mjFR,bvW;WB"
				}
			},
			"LocationType": "FileSystem",
			"LockedFields": [],
			"LockData": false
		},
		{
			"Name": "Movies",
			"ServerId": "19ec2541bb5a40638c8992fa75d05871",
			"Id": "f137a2dd21bbc1b99aa5c0f6bf02a805",
			"Etag": "a193e186913e5036e1eaa1b0e38a658d",
			"DateCreated": "2022-07-11T19:11:43.3758795Z",
			"CanDelete": false,
			"CanDownload": false,
			"SortName": "movies",
			"ExternalUrls": [],
			"Path": "/var/lib/jellyfin/root/default/Movies",
			"EnableMediaSourceDisplay": true,
			"ChannelId": null,
			"Taglines": [],
			"Genres": [],
			"PlayAccess": "Full",
			"RemoteTrailers": [],
			"ProviderIds": {},
			"IsFolder": true,
			"ParentId": "e9d5075a555c1cbc394eec4cef295274",
			"Type": "CollectionFolder",
			"People": [],
			"Studios": [],
			"GenreItems": [],
			"LocalTrailerCount": 0,
			"UserData": {
				"PlaybackPositionTicks": 0,
				"PlayCount": 0,
				"IsFavorite": false,
				"Played": false,
				"Key": "f137a2dd-21bb-c1b9-9aa5-c0f6bf02a805"
			},
			"ChildCount": 7,
			"SpecialFeatureCount": 0,
			"DisplayPreferencesId": "f137a2dd21bbc1b99aa5c0f6bf02a805",
			"Tags": [],
			"PrimaryImageAspectRatio": 1.7777777777777777,
			"CollectionType": "movies",
			"ImageTags": {
				"Primary": "620acdc2d618481e1278aecbc289133f"
			},
			"BackdropImageTags": [],
			"ImageBlurHashes": {
				"Primary": {
					"620acdc2d618481e1278aecbc289133f": "W9A^Ue4:00xsxtWY9H%gofV@RjWY9GM{?bs;kCj?ozM_t7ozofe-"
				}
			},
			"LocationType": "FileSystem",
			"LockedFields": [],
			"LockData": false
		},
		{
			"Name": "Shows",
			"ServerId": "19ec2541bb5a40638c8992fa75d05871",
			"Id": "a656b907eb3a73532e40e44b968d0225",
			"Etag": "8f2902934483ebc0c5b98d97551bbf41",
			"DateCreated": "2022-07-11T19:10:52.2682766Z",
			"CanDelete": false,
			"CanDownload": false,
			"SortName": "shows",
			"ExternalUrls": [],
			"Path": "/var/lib/jellyfin/root/default/Shows",
			"EnableMediaSourceDisplay": true,
			"ChannelId": null,
			"Taglines": [],
			"Genres": [],
			"PlayAccess": "Full",
			"RemoteTrailers": [],
			"ProviderIds": {},
			"IsFolder": true,
			"ParentId": "e9d5075a555c1cbc394eec4cef295274",
			"Type": "CollectionFolder",
			"People": [],
			"Studios": [],
			"GenreItems": [],
			"LocalTrailerCount": 0,
			"UserData": {
				"PlaybackPositionTicks": 0,
				"PlayCount": 0,
				"IsFavorite": false,
				"Played": false,
				"Key": "a656b907-eb3a-7353-2e40-e44b968d0225"
			},
			"ChildCount": 3,
			"SpecialFeatureCount": 0,
			"DisplayPreferencesId": "a656b907eb3a73532e40e44b968d0225",
			"Tags": [],
			"PrimaryImageAspectRatio": 1.7777777777777777,
			"CollectionType": "tvshows",
			"ImageTags": {
				"Primary": "e82e574a6b5786a8e40bcf2c51725368"
			},
			"BackdropImageTags": [],
			"ImageBlurHashes": {
				"Primary": {
					"e82e574a6b5786a8e40bcf2c51725368": "WC8g$[V?9ZRPxuw]jEjEW=V@xaoL4Toz-;ozRiWXI=X9smt7WAj@"
				}
			},
			"LocationType": "FileSystem",
			"LockedFields": [],
			"LockData": false
		}
	],
	"TotalRecordCount": 5,
	"StartIndex": 0
}

I think this is what you want.
response.txt

Hi, sorry for the problem. I think i have now.
response.txt

Hi, sorry for the so late reply. Is it working in the latest update?

Closing due to inactivity