can't install php versions

this seems broken. When I try to install a version of php, I get this 404 errors

which version you were trying to install?

===> phpbrew will now build 5.2.12
===> Loading and resolving variants...
===> Downloading from http://www.php.net/get/php-5.2.12.tar.bz2/from/this/mirror
[==================================================================] 184.00/184.                                  00B 100%
Redirecting to http://php.net/get/php-5.2.12.tar.bz2/from/this/mirror
The requested URL returned error: 404

done - phpbrew install http://museum.php.net/php5/php-5.2.17.tar.bz2 sorry

So you have to include the actual URL in the command now?
Because phpbrew install [version#] does not work for any version.
also, lookup-prefix is not recognized either?
Jon Clawson
<EMAIL_ADDRESS>317-572-8491
Florian Narr wrote:

done - phpbrew install http://museum.php.net/php5/php-5.2.17.tar.bz2 sorry
—
Reply to this email directly or view it on GitHub
https://github.com/phpbrew/phpbrew/issues/490#issuecomment-95171892.

after I run this command, it fails to configure.
Jon Clawson
<EMAIL_ADDRESS>317-572-8491
Florian Narr wrote:

done - phpbrew install http://museum.php.net/php5/php-5.2.17.tar.bz2 sorry
—
Reply to this email directly or view it on GitHub
https://github.com/phpbrew/phpbrew/issues/490#issuecomment-95171892.

i am using a debian linux and have installed the newest openssl version and
this is a problem for old php versions. have a look at the log file of
phpbrew - i have had to change the openssl c file and forced the openssl3
usage.
cgfix<EMAIL_ADDRESS>schrieb am Mi., 22. Apr. 2015 um 19:05 Uhr:

after I run this command, it fails to configure.
Jon Clawson
<EMAIL_ADDRESS>317-572-8491
Florian Narr wrote:

done - phpbrew install http://museum.php.net/php5/php-5.2.17.tar.bz2
sorry
—
Reply to this email directly or view it on GitHub
https://github.com/phpbrew/phpbrew/issues/490#issuecomment-95171892.

—
Reply to this email directly or view it on GitHub
https://github.com/phpbrew/phpbrew/issues/490#issuecomment-95265261.


Strange blinking between active and inactive states

When switching between windows, something strange happens with a terminal window sometimes, see gif (I am doing nothing while recording):

(the window title bar toggles between active and inactive states while the window remains inactive, as can be seen by its transparency)
This seems to happen sometimes when I switch from the terminal window to another window.
I use JWM v2.4.2, and sakura 3.8.5 as a terminal.

It looks like your terminal is setting the urgency hint, which causes JWM to flash the window. I think sometimes terminals do this when they would otherwise use the bell, but don't have focus. You might be able to disable it in the terminal, though you can also disable it with the "noturgent" window group option.

Thank you, that was indeed the problem!


Improvement - ability to add multidomain

There needs to be a simple ability to add more than one domain on one docker. Currently, the setup is manual and quite painful, especially with acme letsencrypt setup.
There are at least 2 use cases that are quite common:

A misspelt domains redirects and multiple extensions (e.g. co.nz and .nz for NZ).
Multisite with 2 domains (e.g google.co.uk and google.gr)

Something like:
ee site create google.com --alternative_url=gogle.com,gooogle.com

Hey @pojke, We already have an issue for it here so I'll be closing this issue. Also, we even have open pull requests for it(You can check it on the issue). So you can expect this feature to land soon in EE ;)


mulitple API gateways resources in CloudFormation

Description:
When trying to launch more than 1 API gateway with R53 records, only the R53 record of the first API gateway resource will be transformed and the other will be ignored. Nested stack resolves the issue by having 1 API with R53 records per template.
Steps to reproduce the issue:

create a serverless template with 2 API gateways each has one R53 record
when deploying it, the transformation shows one R53 record only of the first API
using nested stacks, each stack has one API gateway transformed correctly with the R53 record created for it

Observed result:
when deploying it, the transformation shows one R53 record only of the first API
Expected result:
2 R53 records should be exist in the template

Closing in favor of #1539, thank you for bringing this up!


[FLOC-1824] Get the local instance ID by comparing IP server addresses

Fixes https://clusterhq.atlassian.net/browse/FLOC-1824
The interesting build results are in the expected_failures section and not listed below. Here's a direct link:

http://build.clusterhq.com/builders/flocker%2Ffunctional%2Frackspace%2Fcentos-7%2Fstorage-driver/builds/1

Thanks.  Looks good.  Please address inline comments (including your own :smile: ) and then merge.

I addressed the comments and forced a new build on my (unmerged) pistoncloud buildslave:
http://<IP_ADDRESS>/builders/flocker%2Ffunctional%2Fpistoncloud%2Fcentos-7%2Fstorage-driver/builds/6
I'll merge tomorrow if all goes well.


FIX: Remove the clipboard isolation env variable in the kernel_converter script

Remove the clipboard isolation env variable if present.
Setting the env variable "ANS_USE_ISOLATED_CLIPBOARD" prevents the converter from working.

IMO we shouldn't change the user's environment variable to make something work. What we could do is log a warning / error to notify the user instead right ? This way, he'll be able to know the impact of such environment variable on the workflow and deactivate it if needed.

We set env variables on multiple occasions to make PyAEDT work. We don't change the global system environment variables. We are going to change only the variables of that specific python session where the script is run. In fact, restoring it is an extra precaution, that possibly makes a difference only if the script is used in a larger program. But your suggestion made me realize that what I did will not solve the problem. Since this code is an extension, it is executed from an existing AEDT session, opened manually by the user, under the current system environment variables. So, changing the variable like I did, is too late. I will follow your suggestion, but for a different reason ;)

Glad to have asked then haha


Fix path to errors.

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

Project coverage is 92.00%. Comparing base (23e06f3) to head (2739e92).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #346   +/-   ##
=======================================
  Coverage   92.00%   92.00%
=======================================
  Files          52       52
  Lines        3789     3789
  Branches      352      352
=======================================
  Hits         3486     3486
  Misses        302      302
  Partials        1        1

Flag
Coverage Δ

unittests
92.00% <100.00%> (ø)

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.


TypeError: arg.hasOwnProperty is not a function

When used together with Express.js and when passing res.locals as the template context which uses handlebars-layouts, the following error happens:
TypeError: arg.hasOwnProperty is not a function
    at mixin ([snip]/node_modules/handlebars-layouts/index.js:72:12)

As can be seen from the code, hasOwnProperty is expected to be a function in the objects:
if (arg.hasOwnProperty(key)) {
	target[key] = arg[key];
}

But this is not the case with Express.js:
// express/lib/middleware/init.js
res.locals = res.locals || Object.create(null);

Where the prototype of the res.locals is not Object.

What is the value of arg at that point?

Value is res.locals from Express.js, I sent a PR for the change required and added tests for it.


feat(cc): add Entry Control command class

My attempt to add support for Entry Control command class.
Tested it with my Ring Keypad and everything I tested works.
In this pull request there is still nothing that handle the Notification message but I figured it is better to submit this first and then work on that.

Cool - I'll review tomorrow

Just a heads up: We've discovered yesterday that the "notification" event needs some rework. I think the way forward is to use it as a base for all CCs that send more complex notifications like this one.
I'm going to hold off on merging until we've decided how the revamped event should look like, in order not to introduce additional breaks when we ultimately change the event signature.

Do you want me to remove the event sending part and land the rest?

How useful is the CC is without that?

I forgot that I develop this on the master branch. I think this restores it.

@WizKid,
More on the 1st Gen Ring keypad.
I'm coming across reports that state, their is a proprietary pairing process and some mention that it enforces S2.
Mine is being delivered today (EU).

I'm confused with your success in using it without the official hub, and the articles I'm reading.
I will be testing my device with your branch (which has all the inner workings I believe?)

@marcus-j-davies Yes Indicator works for me. These are the values I been able to find https://gist.github.com/WizKid/baa467cb0a3424b401f411832c4d0cee

I've rebased this PR onto the dev-branch for 7.0.0 and made it compatible. The changes are now in https://github.com/zwave-js/node-zwave-js/pull/1838 - thanks for your work so far!


Grid rowStriping does not reset across grouping levels

Our row striping styling keys off of ag-grid's ag-row-odd class, which is applied in a "flat" manner to grid rows, irrespective of nesting levels due to grouping.
In particular, this causes tree grids to be styled so that the first leaf row in a given group might sometimes have the base grid background and sometimes have the shaded alt bg.
This in turn can interact with treeStyling on parent rows to look pretty weird in derivative (but not super-rare) cases where you have groups of one child. Depending on the overall grouping level, you can have cases where sometimes that leaf child is shaded and sometimes not, and it's confusing.
Need to work out a better approach to shading with and without the tree styles, also taking into account non-tree grouping (full width and other custom ag). Would suggest we first try to reason that out / write it down so we have a spec, then see what an implementation would look like and if it's feasible enough to act on.

Petra and I (with a short consult with John H) took a look at a couple of approaches but all seem to be problematic in one way or another.

Purely CSS approach. Idea was that instead of using ag-grids even/odd classes we could identify the first leaf row in a group by targeting .ag-row class (without the group row class) as a child of a group row and use :nth-child(even). However, it appears that these row don't have a parent child relationship in the DOM

Con't to try to target the leaves specifically using rowClassFn in the JS to apply custom classes. Trouble here is when examining the row it is not easy (impossible?) to tell if the child is a proper leaf. IE A row might not have children but still be at a group row level, in which case we don't want to apply these custom leaf striping classes to it.

Use rowClassFn to stripe groups individually. It has been theorized that we can use the group's childIndex to reset striping under the deepest level parent node. I did not look closely at this so unsure how exactly that would work.

JH said there is some concern with 2 or 3 because if the data/shape changes it could cause the entire grid to need to be rerendered.


Add CodeCov Badge to Readme

CodeCov Badge includes TravisCI Build Status and Code Coverage Badge

[Current coverage][cc-pull] is 65.57%

Merging [#7][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #7   diff @@
==========================================
  Files             3          3
  Lines            61         61
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits             40         40
  Misses           21         21
  Partials          0          0

Powered by Codecov. Last updated by [fadd691...279e7e2][cc-compare]
[cc-base-branch]: https://codecov.io/gh/scootdev/scoot/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/scootdev/scoot/compare/fadd691f1306f7e42970c42b8e9be946bfe8d05e...279e7e23bf88b25753789e64cd6022b2f7078be3
[cc-pull]: https://codecov.io/gh/scootdev/scoot/pull/7?src=pr


Cmake - error path

After installing Cmake and trying to build the driver, the program refers to a non-existent user's folder. Not all Rasprry Pi users connect with the name pi...

I apologize, I didn’t understand it myself...(((


Add Croatian

Added plural-form=7 and 3 plural forms

Looks much better! I recommend you to take a look into the English file and check the missing strings since I don't see many of them. if you can help us to fill the gaps I'd really appreciate it. Also I don't know if you know other languages or translations that you can assist us filling in those gaps. Let me know if so

Close this pull and see #1986


Home address results in controller not showing up

I am probably not doing this right, but where do I see the home address "exactly as it is in the Rachio setup"?  I typed what I see on the iOS App (just street number and name) and that results in my controller not showing up, so I am guessing there's a discrepancy with the way the controller is storing my home address.

Check for an extra space at the end or a period.
The log file will show you what addresses are being compared, you should see one of these two examples in your log when you restart the plugin.
Matched
[1/3/2022, 6:28:21 AM] [Rachio-Dev] Found Location: id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx address=123 Main St geo={ latitude: xx,xxxxxx, longitude: -yyy,yyyyyy}
[1/3/2022, 6:28:21 AM] [Rachio-Dev] Found Location: device id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx address
[1/3/2022, 6:28:21 AM] [Rachio-Dev] Adding controller Rachio-E0BB3F found at the configured location: 123 Main St
No match
[1/3/2022, 6:33:41 AM] [Rachio-Dev] Found Location: id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx address address=123 Main St geo={ latitude: xx,xxxxxx, longitude: -yyy,yyyyyy}
[1/3/2022, 6:33:41 AM] [Rachio-Dev] Found Location: device id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx  address
[1/3/2022, 6:33:41 AM] [Rachio-Dev] Skipping controller Rachio-E0BB3F at 123 Main St, not found at the configured location: 123 Main St.
Have you tried to edit from the web app  https://app.rach.io instead of the IOS app?

Thank you!  That did it.  There was an extra space...teaches me to copy/paste vs. typing a simple address...


Update readme for connection string of localhost user

Thanks @CengizGumus35 for your suggestion but we don't want to promote unsecured configurations on the README.md. I understand however the instructions were confusing for a local dev experience. I will clarify  README.md instructions and add a  link to the appropriate documentation.


typeahead: 2 highlighting bugs fixed

Earlier mid word parts matching with the search query were also
highlighted (made bold), but since actual matching for showing search
suggestions is based on prefix matching, this highlighting logic is
now made to be in sync with the search suggestions matching logic.

make_query_highlighter called highlight_with_escaping_and_regex
once for each word in the phrase, due to which only 1 word searches
could be highlighted. For example searching for two wo resulted
in no highlighting at all in two words.
One call per word in the phrase was also redundant since the called
function can handle a multi word query. So now the entire phrase is
passed to the called function just once.
Follow up to https://github.com/zulip/zulip/pull/22307#discussion_r947261493
Screenshots and screen captures:
Note the mid word os are not highlighted:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[x] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@Riken-Shah could you please review this one? Thanks!

This PR has been reviewed by @Riken-Shah , and I played with it as well. @timabbott over to you!

Sorry for the very slow review on this; I finally found the time to swap the surrounding code into my head and confirm this looks good; added a . to the end of one commit message and marked to merge once CI passes. Thanks @N-Shar-ma!
(Though it would be a nice follow-up to add a test for the second commit so we don't accidentally regress it in the future, but only if it doesn't require a bunch of extra test setup work to do).

@timabbott Here's the follow up: #26810


Double Apple Developer invoices

Eg. 06/03 and 08/06

Add script to list all charges that need to be removed

list over all charges with creation date > 05/012/2017 which have as amount 121. store in dictionary with key customer id, value list of charges
check if there was a previous paid charge for every charge. If so, it has to be canceled.


Microsoft.Xrm.Sdk.Client.RealmInfo class missing

I'm porting code to dotnet 6.0 from the older .net framework libraries and can't find the RealmInfo class. Can you recommend an alternative to using this class?

Only types we have made available in Microsoft.Xrm.Sdk namespace are included as part of the dataverse serviceclient.
Realminfo is part of our core sdk. It should not be accessed directly.
Can I ask why your trying to access it? And what your trying to do?

I've attached the code where it's used. Unfortunately the developer who wrote this has just gone on leave so I can't give any background to why this is required. I do know it was written 4 years ago.
It's probably well overdue for a rewrite, so we'll look at alternatives in the new year.
private const string RealmServicePage = "https://login.microsoftonline.com/GetUserRealm.srf";

internal static RealmInfo GetRealmServiceResponse(string userName)
{
    var request = (HttpWebRequest)HttpWebRequest.Create(new Uri($"{RealmServicePage}"));
    request.ContentType = "application/x-www-form-urlencoded";
    request.Method = "POST";

    var body = $"handler=1&login={HtmlEncodeString(userName)}&xml=1";
    byte[] byteArray = Encoding.UTF8.GetBytes(body);

    using (Stream stream = request.GetRequestStream())
    {
        stream.Write(byteArray, 0, byteArray.Length);
    }

    using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
    {
        if (response != null && response.StatusCode == HttpStatusCode.OK)
        {
            using (Stream responseStream = response.GetResponseStream())
            {
                using (XmlReader reader = XmlReader.Create(responseStream))
                {
                    var serialiser = new XmlSerializer(typeof(RealmInfo));
                    return (RealmInfo)serialiser.Deserialize(reader);
                }
            }
        }
    }

    return null;
}

Ah.  That code is based on a sample from v5.   It will no longer work post April of next year for online.
Good time to rewrite for using either the dataverse serviceclient or the crm serviceclient


How to ignore parameters not whitelisted or not specified in a schema?

Hi. I'm using this API for the first time. Very interesting.
I'm struggling to find a way to only whitelist the query parameters specified in the schema. Is there a way yo do it?
More specifically, is there a way to filter out query params that are not in the schema?
smth like:
// This should pass
// GET /myapi?allowedParam=1
req.sanitizeQuery().whitelist(['allowedParam']);
console.log(req.query); // {allowedParam : 1 }

// Unspecified param should be filtered out
// GET /myapi?allowedParam=1&disallowedParam=2
req.sanitizeQuery().whitelist(['allowedParam']);
console.log(req.query); // {allowedParam : 1 }

Thank you for your help.

This seems to be the same as #168, so I'll close here in favor of that issue.
Thanks for using express-validator!


Failed to run hand_tracking_gpu and face_detection_gpu on Nvidia Jetson Nano: core dumped

After update the library path from "lib/x86_64-linux-gnu/..." to "lib/aarch64-linux-gnu/..." in the file third_party/opencv_linux.BUILD, the examples hand_tracking_gpu and face_detection_gpu are built successfully with following commands:
bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu
bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 mediapipe/examples/desktop/face_detection:face_detection_gpu
but when these 2 examples are run on Jetson Nano with following commands, core dumped error happen:
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_gpu --calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_desktop_live_gpu.pbtxt
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/face_detection/face_detection_gpu   --calculator_graph_config_file=mediapipe/graphs/face_detection/face_detection_mobile_gpu.pbtxt
The outputs of hand_tracking_gpu are:
I20201120 13:46:59.447275   654 demo_run_graph_main_gpu.cc:51] Get calculator graph config contents: # MediaPipe graph that performs multi-hand tracking with TensorFlow Lite on GPU.
Used in the examples in
mediapipe/examples/android/src/java/com/mediapipe/apps/handtrackinggpu.
GPU image. (GpuBuffer)
input_stream: "input_video"
GPU image. (GpuBuffer)
output_stream: "output_video"
Collection of detected/predicted hands, each represented as a list of
landmarks. (std::vector)
output_stream: "hand_landmarks"
Generates side packet cotaining max number of hands to detect/track.
node {
calculator: "ConstantSidePacketCalculator"
output_side_packet: "PACKET:num_hands"
node_options: {
[type.googleapis.com/mediapipe.ConstantSidePacketCalculatorOptions]: {
packet { int_value: 2 }
}
}
}
Detects/tracks hand landmarks.
node {
calculator: "HandLandmarkTrackingGpu"
input_stream: "IMAGE:input_video"
input_side_packet: "NUM_HANDS:num_hands"
output_stream: "LANDMARKS:hand_landmarks"
output_stream: "HANDEDNESS:handedness"
output_stream: "PALM_DETECTIONS:palm_detections"
output_stream: "HAND_ROIS_FROM_LANDMARKS:hand_rects_from_landmarks"
output_stream: "HAND_ROIS_FROM_PALM_DETECTIONS:hand_rects_from_palm_detections"
}
Subgraph that renders annotations and overlays them on top of the input
images (see hand_renderer_gpu.pbtxt).
node {
calculator: "HandRendererSubgraph"
input_stream: "IMAGE:input_video"
input_stream: "DETECTIONS:palm_detections"
input_stream: "LANDMARKS:hand_landmarks"
input_stream: "HANDEDNESS:handedness"
input_stream: "NORM_RECTS:0:hand_rects_from_palm_detections"
input_stream: "NORM_RECTS:1:hand_rects_from_landmarks"
output_stream: "IMAGE:output_video"
}
I20201120 13:46:59.449458   654 demo_run_graph_main_gpu.cc:57] Initialize the calculator graph.
I20201120 13:46:59.459513   654 demo_run_graph_main_gpu.cc:61] Initialize the GPU.
I20201120 13:46:59.485337   654 gl_context_egl.cc:158] Successfully initialized EGL. Major : 1 Minor: 5
I20201120 13:46:59.528771   660 gl_context.cc:324] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 32.4.3)
I20201120 13:46:59.529000   654 demo_run_graph_main_gpu.cc:67] Initialize the camera or load the video.
I20201120 13:47:00.270992   654 demo_run_graph_main_gpu.cc:88] Start running the calculator graph.
I20201120 13:47:00.273991   654 demo_run_graph_main_gpu.cc:93] Start grabbing and processing frames.
INFO: Created TensorFlow Lite delegate for GPU.
I20201120 13:47:01.172703   654 demo_run_graph_main_gpu.cc:175] Shutting down.

GPU buffer. (GpuBuffer)
input_stream: "input_video"
Output image with rendered results.  It passes through
the very first incoming image unaltered, and waits for downstream nodes
(calculators and subgraphs) in the graph to finish their tasks before it
passes through another image. All images that come in while waiting are
dropped, limiting the number of in-flight images in most part of the graph to
1. This prevents the downstream nodes from queuing up incoming images and data
excessively, which leads to increased latency and memory usage, unwanted in
real-time mobile applications. It also eliminates unnecessarily computation,
e.g., the output produced by a node may get dropped downstream if the
subsequent nodes are still busy processing previous inputs.
node {
calculator: "FlowLimiterCalculator"
input_stream: "input_video"
input_stream: "FINISHED:output_video"
input_stream_info: {
tag_index: "FINISHED"
back_edge: true
}
output_stream: "throttled_input_video"
}
Subgraph that detects faces.
node {
calculator: "FaceDetectionFrontGpu"
input_stream: "IMAGE:throttled_input_video"
output_stream: "DETECTIONS:face_detections"
}
Converts the detections to drawing primitives for annotation overlay.
node {
calculator: "DetectionsToRenderDataCalculator"
input_stream: "DETECTIONS:face_detections"
output_stream: "RENDER_DATA:render_data"
node_options: {
[type.googleapis.com/mediapipe.DetectionsToRenderDataCalculatorOptions] {
thickness: 4.0
color { r: 255 g: 0 b: 0 }
}
}
}
Draws annotations and overlays them on top of the input images.
node {
calculator: "AnnotationOverlayCalculator"
input_stream: "IMAGE_GPU:throttled_input_video"
input_stream: "render_data"
output_stream: "IMAGE_GPU:output_video"
}
I20201120 13:48:13.273288   759 demo_run_graph_main_gpu.cc:57] Initialize the calculator graph.
I20201120 13:48:13.275235   759 demo_run_graph_main_gpu.cc:61] Initialize the GPU.
I20201120 13:48:13.299504   759 gl_context_egl.cc:158] Successfully initialized EGL. Major : 1 Minor: 5
I20201120 13:48:13.343075   765 gl_context.cc:324] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 32.4.3)
I20201120 13:48:13.343400   759 demo_run_graph_main_gpu.cc:67] Initialize the camera or load the video.
I20201120 13:48:14.090574   759 demo_run_graph_main_gpu.cc:88] Start running the calculator graph.
I20201120 13:48:14.090939   759 demo_run_graph_main_gpu.cc:93] Start grabbing and processing frames.
INFO: Created TensorFlow Lite delegate for GPU.
ERROR: Following operations are not supported by GPU delegate:
DEQUANTIZE:
164 operations will run on the GPU, and the remaining 0 operations will run on the CPU.
I20201120 13:48:14.989559   759 demo_run_graph_main_gpu.cc:175] Shutting down.
Segmentation fault (core dumped)
What problem happens when the 2 examples are built?
BTW, unfortunately, I could not find core dump file from the directory $HOME/mediapipe, and bazel-bin/mediapipe/examples/desktop/hand_tracking, bazel-bin/mediapipe/examples/desktop/face_detection.

The cpu version are built and run as expected.

Hello,
It might be the same issue as #1311
Can you try the steps proposed there?

Yes, this is the same issue as #1311, it is resolved with the guideline from #1311.


Adding LOR extension for CDN custom domain enable/disable https endpoint

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[x] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[x] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@PhoenixHe-msft  could you  help with the SDK Automation failure

/azp run

@jianyexi Anything  need to do to make this PR merged?

@jianyexi Jianye Xi FTE Anything need to do to make this PR merged?

Could you provide the S360 work item link ?

I don't have that link, but got approved by @ShirleyJ27.

I don't have that link, but got approved by @ShirleyJ27 Shirley Jiang FTE.

Seems the S360 KPI only reports the latest two api versions, but current PR is fixing more api versions.

@jianyexi At least I can confirm that the 2019-04-15 is also a LRO.

@jianyexi

/azp run

I will merge it once the CI passed

@ShirleyJ27 could you please submit a SDK release request for this change, especially for the Go SDK?


Occasional multiple detected controllers when no external controllers attached

Device:
Aya Neo Air Pro (5825u)
OS
Chimera OS 35
Bug Description:
After multiple suspend-resume cycles, gamepadui sometimes detects multiple instances of the built-in controller. This is not consistent, it only sporadically happens.
These leads to doubling of inputs in certain menus, such as in the Crankshaft TDP menu, etc.
Workaround / temp fix
System reboot or restart steam client

Photos:

Does this issue still occur if you disable steam input for the controller?

Does this issue still occur if you disable steam input for the controller?

I'll try this next time I encounter the issue. This issue hasn't really been much of an issue for me, since the games I play are single player and ignore the 2nd controller.


secret reconciler: allow for propagation to multiple secrets

Description of your changes

Allows for the secret reconciler to propagate a single from secret's data to multiple to secrets per https://github.com/crossplaneio/crossplane/pull/1101#discussion_r354505820.
TODO:

[x] Handle cumulative errors in secret reconciler more elegantly
[x] Add secret reconciler unit tests that check for multiple error handling

Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[x] Updated any relevant documentation, examples, or release notes.
[x] Updated the RBAC permissions in clusterrole.yaml to include any new types.

It's not immediately clear to me what such a solution would look like.

One option may be to have each propagation controller use its own set of annotation keys. This way the controller is still concerned with a 1:1 secret propagation pattern.
As part of this PR we'll also need to consider how these annotations are set. Currently the annotations are added by the PropagateConnection method, and we have no concept of annotations being removed.
https://github.com/crossplaneio/crossplane-runtime/blob/e02208e/pkg/resource/api.go#L92

One option may be to have each propagation controller use its own set of annotation keys. This way the controller is still concerned with a 1:1 secret propagation pattern.

I'm not sure this solves our problem because that single controller could (and likely would) still be propagating a single secret to multiple namespaces. For instance, there will be one of these types of controllers for GKECluster and the reason for this PR is that a single GKECluster connection secret is desired to be propagated to multiple namespaces.

I'm not sure this solves our problem

Ah, you're right. I forgot that we needed this one to many pattern for multiple KubernetesTarget resources pointing to one GKECluster, not just because we might need to propagate a secret to a KubernetesTarget and a KubernetesCluster.


Redis renewExpiration  ttl problem

Expected behavior
Allways renew the ttl key .
Actual behavior
after looses a lock and try to aquire it again, sometimes the renewal feature doesn't work as it supposed
Steps to reproduce or test case
To reproduce it I had to use debug stop the execution before this call

with redis client remove the key.
Then release the flow.

if the key does'nt exists the renewal doesn't fire for this specific key, and it's everything ok
So my code aquire this lock again since it's not the owner, and everything seems to work except that it doesn't renew the ttl key lock because of this

In my point of view if you add
cancelExpirationRenewal(threadId)
when the renewal fails , it solves the problem

Redis version
6.0.5
Redisson version
3.16.0
Redisson configuration
default config.

This bug also bit us - we're using permanent Redisson Locks to determine a "primary" instance within all service instances -> The instance who is able to aquire & hold the lock will be the "primary" instance.
During a Redis Upgrade the TTL of the locks expired during failover and therefore the renewal failed.
Without this MR those locks will now NEVER be renewed for the lifetime of the instance - this causes problems because suddenly multiple instances are able to aquire the lock (& immediatley loose it again) - causing a really unexpected inconsistency in the system.

I've experienced a similar problem to what @Aqu1nt describes after a failover in a Redis sentinel setup.

Fixed in https://github.com/redisson/redisson/pull/3716


Accessibility (WCAG level A) HTML 5 Validation error in meta tag on layout page

Go to http://validator.w3.org/ and validate the page http://nuget.org/

Result:  There will be a single HTML validation error, caused by our use of a non-standard value in the http-equiv attribute of the following meta element:
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

Expected:  Since a well-formed page with a doctype will render in standards mode anyway, this entire element is superfluous.  We should get rid of it.

We have a new gallery design.


BUG: site not loading on github pages

Describe the bug
the site isn't loading in the browser using the github page link.
Screenshots

Desktop (please complete the following information):

OS: ubuntu 20.04
Browser: Chrome

@honeybhardwaj Thanks for reporting. Can you please attach the developer tools > console screenshot to check the errors.

@honeybhardwaj It looks like the url is incorrect.
Try the below link
https://sadanandpai.github.io/sorting-visualizer/dist/

yeah its working great work !!! what all tech you used??

Please go through the readme file. I have mentioned everything.
https://github.com/sadanandpai/sorting-visualizer/blob/main/README.md


Add debug output

This PR adds a debug output with the debug module. Run DEBUG=hypercore_protocol npm test to see it in action.
@mafintosh If you could, look through the PR and add any more events or information that you think would help with debugging.

@mafintosh updated to use the debug module, ready for you to take a pass

👍 👍 👍

Looks good. We can always tweak the output as we use it.

4.7.0


Got npm audit warning, please fix.

I get the following warning for the unflatten package:
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ unflatten                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ No patch available                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ unflatten                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ unflatten                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1329                            │
└───────────────┴──────────────────────────────────────────────────────────────┘

As I don't use prototype extension but calling unflatten directly that makes no problem for me. Is it possible to make a new major version which fixes it?

Commented on the PR, I will look into it further.

Commented on the PR, I will look into it further.

As my own package got problems with npm audit because of this package I had to switch to another library.
It looks as if this will not be fixed in the near future, here.

any recommendations for alternatives?

I will check in on this, apologies.
On Wed, Sep 15, 2021 at 2:43 AM Karl Adler @.***> wrote:

any recommendations for alternatives?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/vigour-io/unflatten/issues/3#issuecomment-919744255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKMLO5SHKWUDNA647GEPB3UCA57PANCNFSM4SUSVYNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Actually I forgot, somehow vigour-io stole this repo from me. As such it is
on them to resolve.
On Wed, Sep 15, 2021 at 6:30 AM Michael Hernandez <
@.***> wrote:

I will check in on this, apologies.
On Wed, Sep 15, 2021 at 2:43 AM Karl Adler @.***>
wrote:

any recommendations for alternatives?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/vigour-io/unflatten/issues/3#issuecomment-919744255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKMLO5SHKWUDNA647GEPB3UCA57PANCNFSM4SUSVYNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Tree anarchy options a bit confusing

These options specifically:

The main Tree Anarchy option is about being able to place trees anywhere, then immediately below there's options for hiding/deleting trees... which is the opposite of the purpose of tree anarchy?
Would these options be better expressed as a drop-down, something like:
Trees under buildings/networks should: [drop down menu]

And the menu items would be:

remain visible
be hidden
get bulldozed

I'm assuming here that user want's consistent effect if they are using anarchy - eg. they want same thing for all trees.

That's an option to keep trees hidden on load, which is different than "Hide tree" Delete tree" when overlap occurs

Imagine you were on a shopping site buying coffee and the web form looked like:
(o) I'd like some coffee please
    ( ) Don't send me any coffee, but only if I selected the option above
    When I order coffee: [ Don't send it to me | Throw it in the bin ]

Like, is there a case where you want tree anarchy on (to show trees even if they are under networks/buildings) but at the same time have that option not take effect (ie. hide/delete trees if they are under networks/buildings)?

I need to rephrase that description. This option exists if you have Prop Anarchy installed too. There's a slight chance (race condition) that if you selected hide tree on load, props will also be hidden too, and obviously you would not want this with props since a lot of detailers (myself included) would hate my props to become hidden when I've spent 8 hours placing them on a road or building


Feature/issue 933

This implements ga4gh/dockstore#933
There is now a bootstrap info style button at the top left corner above the heading where clicking on it will redirect to the old UI (dropdown would block top right).  This is present depending on the build environment.  There are several things done to achieve this.

dockstore.model.ts was heavily modified and does not need changes per environment (dev, qa, prod)
environment.ts and environment.prod.ts is now utilized (prod for production, the former for development)
environment.qa.ts has been added and is used for Travis testing

For development, only environment.ts should be modified and is ignored but git.  See .travis.yml for how to run in different environments.
Also, I can't spell "fill" apparently.

Codecov Report

Merging #90 into develop will increase coverage by 0.02%.
The diff coverage is 93.33%.

@@             Coverage Diff             @@
##           develop      #90      +/-   ##
===========================================
+ Coverage     72.3%   72.32%   +0.02%
===========================================
  Files           82       83       +1
  Lines         1914     1919       +5
  Branches       238      238
===========================================
+ Hits          1384     1388       +4
- Misses         379      380       +1
  Partials       151      151

Impacted Files
Coverage Δ

src/environments/environment.ts
100% <ø> (ø)

src/app/shared/dockstore.model.ts
100% <100%> (ø)
:arrow_up:

src/app/home/home.component.ts
83.33% <80%> (-1.29%)
:arrow_down:

Continue to review full report at Codecov.

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


[feature request] Use clip paths to clip the shape when generating coordinates

Sweet project! Thanks for building & sharing it!
Clip paths are useful for specifying certain sections of an svg to be seen/hidden. It would be neat for the coordinator to generate coordinates for clipped paths (hide the coordinates not in the clip-path).
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath
EX:
I've got a personal project which uses clip paths, and it would be cool to run it through coordinator: https://anemy.github.io/concentric/#/

Cool! I will look into this. Good idea


Update init config to accommodate upstream changes

This removes the tag arguments to the register functions to accommodate a change to gym that was made in December (https://github.com/openai/gym/pull/1626)

#83 makes merging dev-1.1 essentially hopeless. Let's reset and target dev-1.2 instead.


Issues with test_clip

  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/Users/aaronmeurer/Documents/array-api-tests/array_api_tests/test_operators_and_elementwise_functions.py", line 1043, in test_clip
    |     assert out_val == expected, (
    | AssertionError: out[()]=0.0 but should be 4.0311033624323596e-209 [clip()]
    |   x[()]=0.0, min[()]=4.0311033624323596e-209, max[()]=1.0
    | assert 0.0 == 4.0311033624323596e-209
    | Falsifying example: test_clip(
    |     x=Array(0., dtype=array_api_strict.float32),
    |     data=data(...),
    | )
    | Draw 1 (min.shape, max.shape): ((), ())
    | Draw 2 (min): Array(4.03110336e-209, dtype=array_api_strict.float64)
    | Draw 3 (max): Array(1., dtype=array_api_strict.float32)
    | Draw 4 (kwargs): {'min': Array(4.03110336e-209, dtype=array_api_strict.float64),
    |  'max': Array(1., dtype=array_api_strict.float32)}
    | Explanation:
    |     These lines were always and only run by failing examples:
    |         /Users/aaronmeurer/Documents/array-api-strict/array_api_strict/_array_object.py:113
    |         /Users/aaronmeurer/Documents/array-api-tests/array_api_tests/test_operators_and_elementwise_functions.py:1046
    |         /Users/aaronmeurer/miniconda3/envs/array-apis/lib/python3.12/site-packages/numpy/core/arrayprint.py:1590
    +---------------- 2 ----------------
    | Traceback (most recent call last):
    |   File "/Users/aaronmeurer/Documents/array-api-tests/array_api_tests/test_operators_and_elementwise_functions.py", line 952, in test_clip
    |     assume(min is None or max is None or not xp.any(xp.asarray(min) > xp.asarray(max)))
    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/Users/aaronmeurer/Documents/array-api-strict/array_api_strict/_array_object.py", line 641, in __gt__
    |     other = self._check_allowed_dtypes(other, "real numeric", "__gt__")
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/Users/aaronmeurer/Documents/array-api-strict/array_api_strict/_array_object.py", line 179, in _check_allowed_dtypes
    |     res_dtype = _result_type(self.dtype, other.dtype)
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/Users/aaronmeurer/Documents/array-api-strict/array_api_strict/_dtypes.py", line 217, in _result_type
    |     raise TypeError(f"{type1} and {type2} cannot be type promoted together")
    | TypeError: array_api_strict.int64 and array_api_strict.uint64 cannot be type promoted together
    | Falsifying example: test_clip(
    |     x=Array(0, dtype=array_api_strict.uint64),
    |     data=data(...),
    | )
    | Draw 1 (min.shape, max.shape): ((), ())
    | Draw 2 (min): 0
    | Draw 3 (max):<PHONE_NUMBER>854775808
    | Explanation:
    |     These lines were always and only run by failing examples:
    |         /Users/aaronmeurer/Documents/array-api-strict/array_api_strict/_dtypes.py:217
    +------------------------------------

The first thing is kind of a flaw in the standard decision to make x not promote. It means you don't actually have min <= x <= max when min or max are float64 and x is float32. The example here is an underflow but it can happen with virtually any sort of rounding. See https://github.com/numpy/numpy/issues/24976
The second is an annoying corner case in the standard, where apparently you can't compare uint64 and int64 (or at least the strict library doesn't allow it). I wonder if there's a helper function already somewhere in the test suite that makes this easier.

Actually for the comparison, we should avoid using Python integers that are larger than the bounds of x.dtype as the input. We should also probably avoid allowing int64 and uint64, even though there technically isn't a promotion, since libraries won't be able to do the proper comparisons we need for the test (it looks like the standard might be changed to not require this https://github.com/data-apis/array-api/issues/819).

The issues with test_clip should be mostly ironed out now.


Next JS Conf 2020 - Help

Hey Developers,
Could you explain to me how to add the exact style like the one shown here. Would be nice if anyone could help me on adding the rainbow color effect shown on the NextJS conf 2020 demo.
Thank You

Hey! You can inspect the CSS on the page to see the rainbow gradient used 😄


skip-qmi-snapshot doc fix

code example update for the ebs-snapshot filter (skip-ami-snapshots)

@kapilt
do you want me to include example policy to show action delete code
currently, it shows
          - name: delete-stale-snapshots
            resource: ebs-snapshots
            filters:
              - type: age
                days: 28
                op: ge
            actions:
              - delete

do we have to modify this to
          actions:
            - type: delete

and how this changes in case of false scenario??
actions:
- type: delete
- type: skip-ami-snapshot
value: false
usual expectation is action only acts on the filtered results, but ebs delete seems to be independent in case of false scenario (unless we explicitly says it seems to ignore ami snapshots) ??.. correct me if I am wrong


Change connection_target to two independent parameters

Instead of pid@instance, users now need to specify two parameters:
--target_instance (instance ID or name)
--target_process (process path or name)
Input on how to make this testable (except with an E2E test) appreciated...

Regarding testing: You could theoretically test the ConnectionTargetDialog using QtTest. It can press buttons and so on and it runs fine on the CI (under Linux where offscreen rendering is supported). But that means you need to mock the dependencies. And that requires at least creating an interface class for ProcessClient and for ServiceDeployManager.

That's what I wanted to avoid, because it'll require a lot of mocking... I was trying to find opportunities to test parts of this without mocking, but I didn't really find any that wouldn't make the rest of the implementation weird.


installation: api_apps application registering

Signed-off-by: Leonardo Rossi<EMAIL_ADDRESS>

Why do we need to register the application on the API app again?
In B2SHARE we do it ourselves in out setup.py here and here.
Do we want this to be the default behavior?


Allow to install updated open-vm-tools rpm packages

Is your feature request related to a problem? Please describe.
This RFE would allow the customer to upgrade open-vm-tools used in VMware platforms. This is needed since customers need up to date versions of open-vm-tools that are not available in the default images.
Describe the solution you'd like
Install the rpm before the image is built so on boot the VE is already using the updated version.

Reviewed with engineering and concluded this is out of scope for the Image Generator based on BIG-IP's architecture / implementation as specific open-vm-tools patching is required.


Add generic list sorting feature

The UI requires a feature to sort and filter lists. I think this maybe on searches. It'd make sense to come up with generic search and sort that we can hook into the REST api.

This should be on all list requests (GET on resources, not a separate search operation), fields that are filterable/searchable will be dependent on the type being requested.

Closing now - sorting is fixed #32.


Projects page vs Add a Project page - URLs very similar

The list of all projects, or "PROJECTS" page has a url of "/projects".
The add a new project, or "CREATE PROJECT" page has a url of "/projects/".
This seems weird to me.

The url should be '/projects/create'


Add OpenStaticAnalyzer tool info

Add OpenStaticAnalyzer tool info which can be found at https://github.com/sed-inf-u-szeged/OpenStaticAnalyzer

[x] I have not changed the README.md directly.

Thanks for the contribution @m-zakeri. The pricing field should be a valid URL pointing to a pricing/plans page. This is commonly used for SAAS tools and does not apply here, so I removed it. 😉 Other than that looks good.


Typo fix for artifacthub.io changed type name

Also, in this change have updated helm chart version

This pull request updates the helm chart version from 0.8.21 to 0.8.22 and fixes a typo in the change log for artifacthub.io. The change log now correctly states that the type name was changed. The diff shows that the only file changed is the Chart.yaml file in the charts/applicationset directory. The changes include updating the version number and adding a new change log entry. The pull request looks good and can be merged.


ValueError: could not convert string to float

Traceback (most recent call last):
  File "B:\Github\stable-diffusion-webui-latest\modules\extra_networks.py", line 104, in activate
    extra_network.activate(p, extra_network_args)
  File "B:\Github\stable-diffusion-webui-latest\extensions-builtin\Lora\extra_networks_lora.py", line 25, in activate
    te_multiplier = float(params.positional[1]) if len(params.positional) > 1 else 1.0
ValueError: could not convert string to float:0.0<EMAIL_ADDRESS>
The LORA part of my prompt is <lora:Piercing01:0.0<EMAIL_ADDRESS>I cannot figure out what is wrong with the prompt that is causing this error. Any ideas or tips? I've tried with the 'Plot the LoRA weight in all steps' box checked and unchecked, and I've read the wiki page too.

Are you sure the extension is enabled? That error message is coming from the default network handler, not the loractl extension. The default handler can't parse non-numbers (such as those with the @ sign).
What version of the webui are you using, and are you using any other extensions which modify LoRA behavior?

Getting the same error. Mine was related to the composable-lora extension.  Even though the extension is disabled.
Deleting the extension fixed the issue.

Came here to say I have the same issue.
I don't have any other extension/script beside this and Regional Prompter (which is off).

I think I figure out the issue.
You have a class LoraCtlNetwork defined in lora_ctl_network.py
And also
script_callbacks.on_before_ui(before_ui)
which will register LoraCtlNetwork under the name "lora", intentionally replacing the original "lora".
However, because the original lora is also defined using the same on_before_ui callback, in some people it may load later, causing your "lora" to be loaded before the original lora has been loaded.
I may be able to raise a proper PR later on, but from my testing, the short-term solution is to edit lora_ctl_network.py
Changing the bottom of this file:
script_callbacks.on_before_ui(before_ui)

to
script_callbacks.on_model_loaded(before_ui)

solves the issue for me.

Great catch. I'll make that change now.

fb499ddd5ca55fbcf40413c2115206dcf20424ed should fix it up. Please let me know if the issue recurs.


Datetime based users sorting

fixes #585
Changes proposed in this Pull Request

added data-sort to <td> tag, which will sort users by datetime for last-seen and last-login

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6886

Relevant Lines:
9889

💛  - Coveralls

Great. One thing: Actually, the user.html page has a table that is not sortable (only one user shown), so I'd suggest not adding this in that template.

okay, I'll update it.


cassandra: rename created_at to created_on

Coverage remained the same at 80.005% when pulling 355a4673f891cd9fd0fd72149e2d94f3ff52b211 on iksaif:master into 9d162d00b6149a52818ed54edae40367543e3f4c on criteo:master.


Plugin Default Behavior Update

{"json":\{"exec_id":"","node":"","ns":"-development","routine":"worker-13","src":"handler.go:216","tasktype":"spark","wf":"***.SparkTasksWorkflow"}
,"level":"warning","msg":"No plugin found for Handler-type [spark], defaulting to [container]","ts":"2019-11-11T21:09:36Z"}
Defaulting Spark to container doesn't make sense and ideally we should fail cleanly at Propeller level  and expose it to users instead of executing it as a container task and leading to an unknown/weird container failures. I think this also applies to other tasks like Hive/Sidecar.

I do not agree with this bug, the idea of task types is that we want to allow users define arbitrary client side task types (show them up in the UI) but the behavior of these tasks should be to actually run in a container.
But, I do agree with one part, that we should have better messaging when we defaulted the task type. Maybe for task execution events, we can show the TaskType of the task and the ExecutionTaskType?

@EngHabu, wdyt?

I agree the real bug is the seemingly transparent/implicit behavior of the system.
I like the idea of showing/exposing the plugin ID somewhere.
We also, separately, talked about pinning plugins/plugin versions in the workflow closure and somehow deal with forced upgrades/ plugin changes... might be worth opening that discussion in the same veins...

That is interesting, but should we close this issue and open a more appropriate issue?


上下文超限导致第二次使用/commit提交没有成功

第一次/commit是成功的，但第二次使用/commit.zh想要生成中文提交信息时，报错了。

Discussing with Runjin, we decided that if an error is expected, it should be presented as a normal description given to the user, along with tips on how to avoid such errors. Only errors that are not anticipated and for which we do not know how to improve should be returned to the user in error form.


Unable to connect at first time

I just downloaded this app and done with the authentication process, and now github status is error.

Bug Report Dump (Auto-generated)

Version 1.27.2<PHONE_NUMBER>)
Device: iPhone 6 Plus (iOS 12.4.9)
TestFlight: false

Looks like github has breaking changes in their api responses recently. I’ll have a look these days.
Sent with GitHawk


Feature/track memory leaks

Hello,
I wrote an trackForMemoryLeaks Helper Function in the XCTestCases to track potential memory leaks.
Thank you for the review.

That's an interesting approach, thanks. I also have some automated memory management tests in Nuke using Allocations – it works even for deeply nested objects.


"sample_frequency" is a misleading name for the number of values in a signal

Hi, since v0.1.23 the getSampleFrequency method has changed the value it returns from the actual sample rate (aka the number of samples per second) to the number of samples in the signal.
This is also documented in code. I don't know the reason why it changed but there probably was a legit reason.
Now when I used the library I stumbled upon this and tracked down the value coming from getSampleFrequency to this line: https://github.com/holgern/pyedflib/blob/master/pyedflib/_extensions/_pyedflib.pyx#L358 which says:
            return <double>self.hdr.signalparam[channel].smp_in_datarecord

So the actual C edflib interface calls this not sample frequency but smp_in_datarecord, which is a much more appropriate name IMO. I really struggled with my code and thought: Well I know I have a sample rate of 500 Hz in my data, but now the file says it is 5000 (my signals are 10 seconds), am I producing the wrong files? (sidenote, I only read BDF files with pyedflib, I'm not writing them with this lib)
This confusion IMO comes solely from the name. I'm happy to calculate the frequency (or rate or however you would like to call it) myself, but I'm 100% sure that someone else later in the code will see my calculation and say "hey there is this getSampleFrequency method provided out of the box, let's use this".
What do you think about changing the name of the attribute altogether and removing any ambiguities?

I just found Py-EDFLib, which seems to be doing the old calculation (e.g. seeing frequency of a number occurence per time interval): https://gitlab.com/Teuniz/EDFlib-Python/-/blob/master/src/EDFlib/edfreader.py#L509

I stumbled upon this issue as I fell for the same problem after an update to 0.1.23
I think @gregmuellegger 's point is valid. I looked it up in the official spec (which I luckily never had to bother with so far) and there this attribute in the header is called nr of samples in each data record too.
IMO getSampleFrequency now does not anymore do what its name advertises.

This is related to #121 and #117
I totally understand the confusion about the two terms, and I agree that it should be made clearer. In my opinion, sample frequency is colloquially understood as samples per second, and should also in pyedflib be treated as such. We need to think about how to implement this without making breaking changes again.
I think
getSampleFrequency should return sample frequencies
getSamplesPerRecord should return the "sample rate"
Additionally, these changes need to be acurately reflected when writing new files that have a record length of !=1second. I'll think about this and come up with a solution.
@holgern what are your thoughts on this?

My two cents:
In my library, I did the calculation to give the conventional use of sample frequency
def samplefrequency(self, channel):
        return (<double>self.hdr.signalparam[channel].smp_in_datarecord / self.hdr.datarecord_duration) * EDFLIB_TIME_DIMENSION

@cleemesser yes, that is also how we will calculate once #159 is reviewed and merged

Thank you @skjerns for taking time and effort to fix this. 👏


Test sprite refuses to display.

A simple 1-tile sprite was programmed to display after the START button was pressed on the Start option in the main menu, which initializes gameplay(). However, the sprite does not display, and there seem to occur VDP VRAM corruptions. Sometimes visible on-screen, other times only visible in a debugger.

Sprite rendering is fixed now. Closed.


Check block ordering isn't an issue for implementation loading

I.e. getting a key error here:
778             for i, x in enumerate([x.name for x in wiring.domain_blocks]):

--> 779                 spaces_mapping[x].append(i)

Issue is localized to when using a wiring instead of a block it appears


require('unicode-x.x.x/categories') not works

It seems that unicode-x.x.x/categories/index.js has been removed from the packages and require('unicode-x.x.x/categories') is unavailable since 0.5.0.
Is this an intentional change? Are there any replacement for this feature? (I just want to iterate through all characters in Unicode and get the corresponding categories)

Whoops, seems like it was removed recently: https://github.com/mathiasbynens/unicode-8.0.0/commit/13e0e939c476519afb94066af95619737da11b90#diff-16249c9230c551eb7f9c5111bb5c5a66 (output diff)
A recent commit to https://github.com/mathiasbynens/node-unicode-data/commits/master must be the culprit. I can take a look after the weekend. For now you can use an older version of unicode-8.0.0.

Thanks for the fix!


null bug in delete-deployment task

When attempting to run the delete-deployment task with DELETE_ALL_DEPLOYMENTS set to true, and if your environment doesn't have any deployments, you run into a null error:
++ jq -r '.Tables[].Rows[].name'
jq: error (at <stdin>:7): Cannot iterate over null (null)

Which appears to be coming from this line of code.
I don't know if this ever worked, or if a recent change to the bosh CLI made it break recently.
Here is a fuller log of our task output:
+ '[' true = true ']'
+ bosh_delete_all_deployments
+ local deployments
++ bosh deployments --json
++ jq -r '.Tables[].Rows[].name'
jq: error (at <stdin>:7): Cannot iterate over null (null)
+ deployments=

@bruce-ricard I've not been able to reproduce this locally, and we haven't seen this error thus far in any of our pipelines.
The next time this occurs, could you please hijack the container and comment here the (sanitized) output of bosh deployments --json 🙏 .


Add slight effects to make the UX a little more smooth.

We should add transition effects when thew UI changes:

When transitioning between pages (should be less than 0.3 seconds)
when adding rows in any list
when removing rows from any list
when clicking on a list tile to go to the list page

We cannot delete an item yet, a new ticket will be created


Protection from deleting work

Is your feature request related to a problem? Please describe.
Pressing the delete button on a document removes it and undo does not bring it back. That makes it very easy to lose work.
Describe the solution you'd like
At least a confirmation dialog if I really want to delete the document.

Agree, this would be useful!

This is actually a bug of the undo function, which should also cover the deletion of documents. It already allows to undo/redo other changes in the corpus graph such as creating documents and sub-corpora.

Fixed by #435


When playing and scrubbing the time handle runs away from the cursor

This is a frustrating user experience... while scrubbing the time handle should probably never leave the cursor regardless of the playback state.  See the following video implementations for reference:

www.youtube.com
www.html5video.org
www.hulu.com

@rubikzube Is this still an issue?

Unsure. I haven't used mediaelement in about five years now. If no one else has chimed in, it's probably best to close this
Sent from my pocket leash

On Oct 4, 2016, at 8:51 PM, Rafael Miranda<EMAIL_ADDRESS>wrote:
@rubikzube Is this still an issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for your response. We'll close this issue and we can always reopen it if appears in the future.Thanks!


Further health metrics

I have created two further metrics to complement status_is_green:

status_is_yellow
status_is_red

I also implemented a gauge metric 'status' to provide a 0, 1 or 2 on cluster state. (0=green, 1=yellow, 2=red)
Primarily I wanted this to be able to determine cluster health by querying a single metric.

@neiljbrookes @dominikschulz: are you still interested in this patch? This would be useful to my team, and we'd be happy to address comments from code review if that would help get this merged.

@jmcarp Feel free to open another PR with these issues fixed and we'll merge it. I don't really like duplicating the metrics for the cluster status, but right now we don't have time for a major cleanup.


[Feature Request] Support for testnet3 and tpub addresses

In order to support testing with actual transactions, support for testnet3 would be extremely valuable. Especially when we are in a high fee environment such as the one we are currently experiencing. This would facilitate testing various setups, doing live demos, and trying other wallet configurations (e.g. blinded xpubs).

Good idea. This will be supported in the next release.


Python: revert back to 0.4.0, 0.4.2 has error on TextMemorySkill, improve AOA…

…I experience
Motivation and Context
I use the python notebook for trainings and the latest commit introduces some errors
Description
This PR is exclusively created to improve the Python sample notebooks. The last commit upgraded to v0.4.2 but v0.4.2 throws a pydantic error whenever TextMemorySkill() is called. something about the new data model used in the new version so reverting back. Also there are several places where the deployment name in Azure openai service is hardcoded when the deployment variable can easily be used instead. Also added more changes to improve the experience when using Azure openai service
Contribution Checklist

[x ] The code builds clean without any errors or warnings
[x ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x ] All unit tests pass, and I have added new tests where possible
[x ] I didn't break anyone :smile:

@mosabami please get latest code or reference the 0.4.3.dev0 package. It contains the fix for the TextMemorySkill pydantic error.

@mosabami going forward, let’s please file an issue instead of attempting to revert several changes in a PR. We can address the problems in the filed issue and determine if a revert is needed. Thank you!

@moonbox3 looks like the notebooks were updated to use 0.4.3 after i began working on this PR on Friday. fair enough. i will close this PR and raise a new one with the other changes i made


Can a single org have more than one represented variant

Migrated from GitLab: https://gitlab.com/meltano/hub/-/issues/213
Originally created by @aaronsteers on 2022-03-11 17:28:32

Wanted to log this question as related to the new tap-gitlab port. I created the new port as a fresh branch under the MeltanoLabs GitHub project. I'm not sure if I'll be able to 100% match the prior behavior and at the same time, the tap can be "working" well for newer user cases.
The ideal delivery mechanism is probably to get reasonable amount of backwards compatibility but not 100%, and then publish as a variant name like meltanolabs-2 or similar. This would be a break from our current naming though, since the variant names today are expected to be exactly the same as the org name in GitHub or GitLab.
@tayloramurphy - Thoughts on this?

View 5 previous comments from the original issue on GitLab


Upgrade to the latest version of use-wallet.

https://twitter.com/NFDomains/status/1673836625602699269

Should be good to go

FYI, Wallet connect v2 and Exudus don't work yet

wallet connect v2 don't work yet? Wsan't the announcement today that they now do?

It should work. I just have to figure out how to initialize it. Details

I'll have another pass soon. Hopefully it just works.

Probably okay for now since WalletConnect on app.testnet.nf.domains
isn't working yet. I'm working on getting a providerId from WalletConnect. We'll see how it goes.

I think the best bet here would be to go to the wallet connect v2 docs and work on a connects solution outside of txnslabs, then backtrack to what is missing. Note that in the dapp, txnslab-use-wallet is only used to connect the wallet and get the address. It also sets localstorage keys we will need in reach to use stdlib.connectAccount({addr})

May add back legacy wallets MyAlgo and possibly Algosigner

Nah, you should keep them out. No reason to add them at this point since they are both abandoned projects.


porscheconnectapi not working anymore.

Hi,
It's seems that something has changed in Porsche server side.
The API is not working anymore now.
Any idea ?
Thanks.

Hi,
I just tried and it seems to be working for me.
Any error message? Try to run the cli with the debug flag.

I tried your python example:
python3.9 ./test.py
VIN: WP0ZZZY1ZMSAXXXXX Model: Taycan Turbo S Year: 2021
Traceback (most recent call last):
File "/tmp/./test.py", line 21, in
loop.run_until_complete(vehicles())
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/tmp/./test.py", line 16, in vehicles
print(f"Battery at {data['carControlData']['batteryLevel']['value']}%")
KeyError: 'carControlData'
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0xb5e9d7d8>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0xb554d238>, 4812048.479046023)]', '[(<aiohttp.client_proto.ResponseHandler object at 0xb5e2a9e8>, 4812048.819188623)]', '[(<aiohttp.client_proto.ResponseHandler object at 0xb5e01778>, 4812048.882643585)]', '[(<aiohttp.client_proto.ResponseHandler object at 0xb5ea8ef8>, 4812049.87320261)]']
connector: <aiohttp.connector.TCPConnector object at 0xb5e9d7f0>
Also, here is the result with porschecli:
/usr/local/bin/porschecli -e "MYEMAIL" -p "MYPASSWD" overview -v "WP0ZZZY1ZMSAXXXXX"
{
"vin": "WP0ZZZY1ZMSAXXXXX",
"oilLevel": null,
"fuelLevel": null,
"batteryLevel": null,
"remainingRanges": {
"conventionalRange": null,
"electricalRange": null
},
"mileage": null,
"parkingLight": "INVALID",
"parkingLightStatus": null,
"parkingBreak": "INVALID",
"parkingBreakStatus": null,
"doors": {
"frontLeft": "INVALID",
"frontRight": "INVALID",
"backLeft": "INVALID",
"backRight": "INVALID",
"frontTrunk": "INVALID",
"backTrunk": "INVALID",
"overallLockStatus": "CLOSED_LOCKED"
},
"serviceIntervals": {
"oilService": null,
"inspection": null
},
"tires": {
"frontLeft": {
"currentPressure": null,
"optimalPressure": null,
"differencePressure": null,
"tirePressureDifferenceStatus": "UNKNOWN"
},
"frontRight": {
"currentPressure": null,
"optimalPressure": null,
"differencePressure": null,
"tirePressureDifferenceStatus": "UNKNOWN"
},
"backLeft": {
"currentPressure": null,
"optimalPressure": null,
"differencePressure": null,
"tirePressureDifferenceStatus": "UNKNOWN"
},
"backRight": {
"currentPressure": null,
"optimalPressure": null,
"differencePressure": null,
"tirePressureDifferenceStatus": "UNKNOWN"
}
},
"windows": {
"frontLeft": "INVALID",
"frontRight": "INVALID",
"backLeft": "INVALID",
"backRight": "INVALID",
"roof": "INVALID",
"maintenanceHatch": "INVALID",
"sunroof": {
"status": "INVALID",
"positionInPercent": null
}
},
"parkingTime": null,
"overallOpenStatus": "CLOSED"
}
I have no more information about batteryLevel and remainingRanges.electricalRange.distance

Can you check that you have the permissions required? Is it possible that your Porsche Connect service hasn't been renewed?
I have pushed a small update to let you check permission using the CLI:
./cli.py permisssions --all

python3.9 ./cli.py permissions -a
{
"userIsActive": true,
"userRoleStatus": "ENABLED"
}

So I don't know why but it is working today.
I think it was a server side problem.
So you can close this ticket.
Thanks
Regards.


Test suite

We should setup a simple test suite. Mostly focused on config testing, I would guess:

CI Server that runs tests on multiple OSes: osx/linux/windows
Tox for multiple Python versions

Did a little research on CI options. Looks like Travis supports osx and linux and is free for OSS. Appveyor supports Windows and is also free for OSS.  Seems not uncommon to run both to get coverage on Windows, OSX, Linux (e.g., that seems to be what cookiecutter does).

e385aff019adf68802d68af56fb9d97c26148b32 Adds basic test support

Closing as vague and outdated.


feat: add css.isModuleFile config used to customize xxx.module.xxx rule

Description

Hi, this is just a small feature. In some projects, there may be no.module.less or.module. CSS rules to use the CSS module, so to solve this problem, you can add a function configuration in the configuration item. It gets complicated without this configuration (I'm not sure if there's an easy way to fix this?).
The configuration will look like this:
export default defineConfig({
  css: {
    isModuleFile: (arg) => {
	  const { id } = arg;
	  const cssLangs = `\\.(css|less)($|\\?)`;
	  const isModuleRE = new RegExp(cssLangs);
	  return isModuleRE.test(id);
    }
  }
});

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Thanks for the PR, this feature was already requested before, and Evan said that this is not something we are likely to add in the near future. The more configuration points, it is more difficult for Vite to be maintained and evolve. I think the best is to rename the files, or use a plugin (there is https://github.com/Summer-andy/vite-plugin-transform-css-modules (this one uses babel for parsing so it may be a bit heavy)


Remove & in phpdoc

Some tools like phpstan/phpdoc-parser doesn't support @param int &$consumed syntax.
By removing the &, it would allow phpstan to better understand stubs provided by phpstorm.
Also it's useless as the & is already present in the native signature and it's not in the standard either: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/param.html
Ref: https://github.com/phpstan/phpstan/issues/5636#issuecomment-920858119

I dig this a bit and found why the &'s are there.
They was added a year ago: https://github.com/JetBrains/phpstorm-stubs/pull/892. While working on this, a PR to support & in PHPDocs was created & accepted: https://github.com/phpDocumentor/ReflectionDocBlock/pull/254 so, technically, PHPDocs are supporting this.
I would appreciate if @voku could comment here describing why the &$ syntax in PHPDocs isn't "useless". Unfortunately I can't recall any of these usages right now.

For the record, I added the &$ syntax to the phpstan/parser https://github.com/phpstan/phpdoc-parser/pull/83 so I don't know if this PR is still necessary (it should at least not be needed for phpstan).

Thanks for the update. We'll leave our stubs unchanged then.


[Enchancement] VoiceActivity

Is your feature request related to a problem? Please describe.
No, Is it possible to use ur plugin on vencord ? and if yes, how I can use it ?

No, as far as I'm aware, it is not possible to use a BD plugin like VoiceActivity on Vencord. Porting my plugins to other client mods is something that's been requested before and that I do have on my radar for the future, but it would require a significant amount of a work, which I currently don't really have time for. I'll close this issue for now, but I'll keep you updated if I or anyone else does decide to port VoiceActivity to Vencord.


mypy: Use Python 3 type syntax in several files.

This is the last PR of multiline-function mypy Python 3 syntax.

Merged!  Thanks @rht


ng build --aot=true

HI ,
Thanks for this wonderfull theme.
i had a issue while bilding with aot
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/var/www/html/APPH/material-dashboard-angular/src'
./src/main.ts 4:0-74
multi ./src/main.ts

angular/cli: 1.0.0
node: 8.9.4
os: linux x64
angular/common: 4.4.6
angular/compiler: 4.4.6
angular/core: 4.4.6
angular/forms: 4.4.6
angular/http: 4.4.6
angular/platform-browser: 4.4.6
angular/platform-browser-dynamic: 4.4.6
angular/router: 4.4.6
angular/cli: 1.0.0
angular/compiler-cli: 4.4.6
node -v
v8.9.4
npm -v
5.8.0
ubuntu 64bit os
Thanks
Vignesh

Hi, @vignesh007vicky. You need to update the dependencies for angular and @angular/cli.
Best,
Ciprian


NullBooleanField will also fix earlier migrations

Python Version
3.9.4
Django Version
3.2.6
Package Version
1.3.2
Description
I wrote my code in earlier times using NullBooleanField, then recently I updated to 3.2 and already made the changes to the fields, also adding a new version. The code is IMHO "fixed".
Now I've added the django-upgrade check and it's trying to rewrite my earlier migrations. I guess it is not intended this way or should at least be documented.
How would you handle such a case? Some might argue that a Django version bump is a good point to reset migrations...

I did think about this, but it seems fine to to rewrite past migrations, in this case and for JSONField. The two definitions should give the exact same definition in the database. Did you encounter any issue, or did you just find it weird that migrations are edited?

Some might argue that a Django version bump is a good point to reset migrations...

If by “reset” you mean “delete them then run makemigrations”, I am strongly against that. It’s too risky for missing some small RunSQL operation your code relies on. I only ever squash.

In case it helps, I avoid this problem by excluding migrations with:
django-upgrade --target-version 3.2 `find . -name "*.py" -type f -not -regex ".*/migrations/.*"`

Did you encounter any issue, or did you just find it weird that migrations are edited?

I found it weird, because it is fixed later on and feels like not respecting the history. But indeed I went through the process, tried it with data and did not encounter any issue.

If by “reset” you mean “delete them then run makemigrations”, I am strongly against that. It’s too risky for missing some small RunSQL operation your code relies on. I only ever squash.

I've used that unprecised definition to indeed not choose between both options! But indeed, I shall rather squash them.
Thanks @browniebroke, but I am using the pre-commit hook and also running it on all files as part of my CI, so it won't apply to me.
One option might be to add the possibility to exclude migrations files (which would also make it faster, although it is fast!), but at the end, it's find for me to edit also early migrations, as django is fine with it. You may close the issue @adamchainz , and/or add a small note to the docs about it...


Add a small SLEW rate for SSRC X500 frame ESC control

It has been observed that With higher frequency control loop the ESCs start behaving badly if PWM pulse width changes too rapidly. Take the motors moment of inertia into account and just restrict the change

I'll wait on this until the same thing is tested on T-motor as well, so we can merge those at the same

It turned out that this fix is not needed after all. The issue was root caused elsewhere, and needs a code fix.


Selfhosted docker-compose method failed.

failed to create network docker-compose_default: Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network
hello, I try selfhost with docker compose
as my system already have prowlarr and nginx proxy manager
so below is my docker-compose and .env
HOST_URL="https://mediafusion.mydomain.duckdns.org"
MONGO_URI="mongodb://mongodb:27017/mediafusion"
REDIS_URL="redis://redis:6379"
PROWLARR_URL="http://<IP_ADDRESS>:9696"
PROWLARR_API_KEY=66fab75acab44fb0a29fecc88c42c89f2
PROWLARR_IMMEDIATE_MAX_PROCESS=5
PROWLARR_IMMEDIATE_MAX_PROCESS_TIME=15
PROWLARR_SEARCH_INTERVAL_HOUR="24"
IS_SCRAP_FROM_TORRENTIO="true"
ENABLE_RATE_LIMIT="false"
ENABLE_TAMILMV_SEARCH_SCRAPER="false"
version: '3.8'
services:
  mediafusion:
    image: mhdzumair/mediafusion:v3.7.4
    ports:
      - "8899:80"
    env_file:
      - .env
    depends_on:
      - mongodb
      - redis
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost/health"]
      interval: 1m
      timeout: 10s
      retries: 5
      start_period: 10s
  mongodb:
    image: mongo:4.4.6
    volumes:
      - mongo-data:/data/db
    ports:
      - "27017:27017"

  redis:
    image: redis:latest
    ports:
      - "6379:6379"

  dramatiq-worker:
    image: mhdzumair/mediafusion:v3.7.4
    command: ["pipenv", "run", "dramatiq-gevent", "api.task"]
    env_file:
      - .env
    depends_on:
      - mongodb

  scraper:
    image: mhdzumair/mediafusion:v3.7.4
    command: ["pipenv", "run", "python", "-m", "api.scheduler"]
    env_file:
      - .env
    depends_on:
      - mongodb

volumes:
  mongo-data:

Its issue with your docker usable network ips, Try with following solutions

Remove Unused Networks

# To list all networks:
docker network ls

# To remove a network:
docker network rm [NETWORK_ID]

Try to Restart Docker
Cleanup Docker System

docker system prune

Manually Specify a Subnet

version: '3.8'
services:
  mediafusion:
    image: mhdzumair/mediafusion:v3.7.4
    ports:
      - "8899:80"
    env_file:
      - .env
    depends_on:
      - mongodb
      - redis
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost/health"]
      interval: 1m
      timeout: 10s
      retries: 5
      start_period: 10s
    networks:
      - mediafusion_network

  mongodb:
    image: mongo:4.4.6
    volumes:
      - mongo-data:/data/db
    ports:
      - "27017:27017"
    networks:
      - mediafusion_network

  redis:
    image: redis:latest
    ports:
      - "6379:6379"
    networks:
      - mediafusion_network

  dramatiq-worker:
    image: mhdzumair/mediafusion:v3.7.4
    command: ["pipenv", "run", "dramatiq-gevent", "api.task"]
    env_file:
      - .env
    depends_on:
      - mongodb
    networks:
      - mediafusion_network

  scraper:
    image: mhdzumair/mediafusion:v3.7.4
    command: ["pipenv", "run", "python", "-m", "api.scheduler"]
    env_file:
      - .env
    depends_on:
      - mongodb
    networks:
      - mediafusion_network

volumes:
  mongo-data:

networks:
  mediafusion_network:
    driver: bridge
    ipam:
      driver: default
      config:
        - subnet: "<IP_ADDRESS>/16"

Hello, Tq so much for your reply. I managed install the docker compose but 3 container  stopped.
[docker-compose-dramatiq-worker-1]
[docker-compose-mediafusion-1]
[docker-compose-scraper-1]
The error msg from logs is
  File "<frozen runpy>", line 112, in _get_module_details
  File "/mediafusion/api/__init__.py", line 6, in <module>
    from db.config import settings
  File "/mediafusion/db/config.py", line 38, in <module>
    settings = Settings()
               ^^^^^^^^^^
  File "/root/.local/share/virtualenvs/mediafusion-ZmKbvzsi/lib/python3.11/site-packages/pydantic_settings/main.py", line 84, in __init__
    super().__init__(
  File "/root/.local/share/virtualenvs/mediafusion-ZmKbvzsi/lib/python3.11/site-packages/pydantic/main.py", line 171, in __init__
    self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings
secret_key
  Field required [type=missing, input_value={'mongo_uri': 'mongodb://...ble_rate_limit': 'true'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.6/v/missing

Please read the documentation for env configuration again. You missed to set the secret key.

Yup, it can already!! Just ask this addons is based on prowlarr izzit? So I need delete prowlarr indexer less for more efficient. So it no scraper data when idle? or just scraper prowlarr/torrentio when request.
Thanks for your kind help!! 👍

It successful installed on stremio using nginx proxy manager(https). But when I clicked on movies It no come out.
Belows is the logs files.
[docker-compose-dramatiq-worker-1]
[2024-03-15 02:07:09,997] [PID 9] [Thread-4] [dramatiq.worker.ConsumerThread(default.DQ)] [INFO] Restarting consumer in 3.00 seconds.
[2024-03-15 02:07:09,997] [PID 9] [Thread-4] [dramatiq.worker.ConsumerThread(default.DQ)] [CRITICAL] Consumer encountered a connection error: Error -2 connecting to redis:6379. Name or service not known.
[2024-03-15 02:07:12,967] [PID 10] [Thread-4] [dramatiq.worker.ConsumerThread(default.DQ)] [INFO] Restarting consumer in 3.00 seconds.
[2024-03-15 02:07:12,951] [PID 10] [Thread-3] [dramatiq.worker.ConsumerThread(default)] [INFO] Restarting consumer in 3.00 seconds.
[2024-03-15 02:07:12,967] [PID 10] [Thread-4] [dramatiq.worker.ConsumerThread(default.DQ)] [CRITICAL] Consumer encountered a connection error: Error -2 connecting to redis:6379. Name or service not known.
[2024-03-15 02:07:13,005] [PID 9] [Thread-4] [dramatiq.worker.ConsumerThread(default.DQ)] [CRITICAL] Consumer encountered a connection error: Error -2 connecting to redis:6379. Name or service not known.

[docker-compose-mediafusion-1]
  File "/mediafusion/db/crud.py", line 132, in get_cached_torrent_streams
    cached_data = await redis.get(cache_key)
  File "/root/.local/share/virtualenvs/mediafusion-ZmKbvzsi/lib/python3.11/site-packages/redis/asyncio/client.py", line 605, in execute_command
    conn = self.connection or await pool.get_connection(command_name, **options)
  File "/root/.local/share/virtualenvs/mediafusion-ZmKbvzsi/lib/python3.11/site-packages/redis/asyncio/connection.py", line 1076, in get_connection
  File "/root/.local/share/virtualenvs/mediafusion-ZmKbvzsi/lib/python3.11/site-packages/redis/asyncio/connection.py", line 1109, in ensure_connection
    await connection.connect()
  File "/root/.local/share/virtualenvs/mediafusion-ZmKbvzsi/lib/python3.11/site-packages/redis/asyncio/connection.py", line 282, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error -2 connecting to redis:6379. -2.

Finally I get it running well, the redis I set is incorrect.
WARNING::15-Mar-24 08:52:57 - Timeout exceeded for operation: scrap_movies_streams_from_prowlarr ('tt6723592', 'Tenet', 2020). Skipping.
INFO::15-Mar-24 08:52:48 - Found 205 streams for Tenet (2020) with IMDb ID
INFO::15-Mar-24 08:52:53 - Created movies stream 63ffcbdde3602b20453f320aae3f5c41340e0adc for tt6723592
INFO::15-Mar-24 08:52:53 - Created movies stream bf301d0ab6cd523f3dde9253da57b807376f7d15 for tt6723592

It stated my container mediafusion unhealthy due to this
``
/root/.local/share/virtualenvs/mediafusion-ZmKbvzsi/src/cinemagoer/imdb/utils.py:990: SyntaxWarning: "is" with a literal. Did you mean "=="?
if beginTag is "":
Anyhow it can function now.

Btw It can scraper torrentio? I have set to true, but how I know it working?

It stated my container mediafusion unhealthy due to this

No the log message you mention is not an error, its a warning in one of the library im using. You can discarded it.

Btw It can scraper torrentio? I have set to true, but how I know it working?

If you setup the config and url correctly, the scraper should work. Its only scrap the movie/series you click on the stremio. To validate whether its working, you can open any movie/series and then wait to return the streams data. It will show the streams and source as Torrentio/KingtCrowler based on the url you're configured.

Just ask this addons is based on prowlarr izzit? So I need delete prowlarr indexer less for more efficient. So it no scraper data when idle? or just scraper prowlarr/torrentio when request.

Mediafusion has several scrapers: prowlarr and torrenito scrapers are scrape based on the movie/series you're clicking in stremio.  tamilblaster, tamilmv scraping scripts, mhtvworld, mhdtvsports, formula scrapy spiders are scheduler based scraping. You can see the more details on configurations doc. https://github.com/mhdzumair/MediaFusion/blob/main/docs/configuration.md#mediafusion-environment-configuration-guide

Stunner addons, with a lot of debrid services intergrade, I tested on PikPak it run very well.
Again, thanks for amazing addons.

Closing as done


Notifications Will Not Stay In Action Center

Even if "Show notifications in action center" is check to yes, the notifications disappear once in there.

Same. Dont use the feature but same thing.


add more streaminfo related api for Go extension

Title: add more streaminfo related api for Go extension
Description:
i think some useful data like downstreamLocalAddress, upstreamHost and so on in Lua extension should be also included in Go extension.

cc @doujiang24 WDYT? if this is reasonable, can i try to submit a PR, thanks.

yeah, thanks.

type StreamInfo interface {
	GetRouteName() string
	FilterChainName() string
	// Protocol return the request's protocol.
	Protocol() (string, bool)
	// ResponseCode return the response code.
	ResponseCode() (uint32, bool)
	// ResponseCodeDetails return the response code details.
	ResponseCodeDetails() (string, bool)
	// AttemptCount return the number of times the request was attempted upstream.
	AttemptCount() uint32
	// DownstreamLocalAddress return the downstream local address.
	DownstreamLocalAddress() (string bool)
}

here is the interface for DownstreamLocalAddress, PTAL, thanks @doujiang24

It's fine to me for the single API, but we'd better propose a more complete design, so that we can consider them in a consistent way.
yep, it's not an easy work. we only expose a few APIs now, since they are simple.
One thing I was thinking about is, do we need to align the API style like the C++ does?
My answer is, we do not need to keep strict align with the C++ APIs, but it's better to be similar to them, if possible.

Do you mean we should propose a more complete design for all streaminfo related api?

yes.

And the StreamInfo interface now is not similar to C++ APIs?

nope, the current implementation is very similar to C++ APIs.

And what I want to do is to add more useful APIs to Go extension to make it more feature-rich, since I'm familiar with lua and wasm-related apis before, thanks.

Okay, I think the Go APIs similar to Lua APIs is a proper choice too.

thanks, so can i complete the DownstreamLocalAddress first?

sure, welcome.

Hi @doujiang24 , i think getCurrentTimeMilliseconds api both in Lua and WASM may be also useful to Go extension, WDYT? And if we add getCurrentTimeMilliseconds, it may not an api in StreamInfo, but a general api which should be in FilterCallbacks?

I'm not sure it's a proper API. Usually people can get time by time package in Go code easily.

I'm not sure it's a proper API. Usually people can get time by time package in Go code easily.

yeah, thanks.

https://github.com/envoyproxy/envoy/blob/b896b6dfc266e6a16f7106da2f17f437db1d7f5c/contrib/golang/filters/http/source/go/pkg/http/type.go#L216
Hi, it seems that Trailer related APIs are not all done yet, could i try to pick it up? @doujiang24

@StarryVae sure, thanks and welcome!


Add group_id offer attribute

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #5   +/-   ##
=======================================
  Coverage       100%   100%
- Complexity      228    232    +4
=======================================
  Files            16     17    +1
  Lines           672    643   -29
=======================================
- Hits            672    643   -29

Impacted Files
Coverage Δ
Complexity Δ

src/Model/Offer/OfferSimple.php
100% <ø> (ø)
8 <0> (ø)
:arrow_down:

src/Model/Offer/OfferCustom.php
100% <ø> (ø)
10 <0> (ø)
:arrow_down:

src/Model/Offer/OfferGroupTrait.php
100% <100%> (ø)
2 <2> (?)

src/Generator.php
100% <100%> (ø)
46 <0> (+2)
:arrow_up:

src/Model/Offer/AbstractOffer.php
100% <0%> (ø)
39% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

@gennadyx Thanks for PR. Have a nice day.


PDS4 Information Model Release <IP_ADDRESS>

Automated tagging of repo for nominal release of sub-model for PDS4 Release <IP_ADDRESS>

@sarabond FYI, it looks like one of your test cases is invalid: https://github.com/pds-data-dictionaries/ldd-ml/actions/runs/9196258130/job/25293949420#step:4:513
I tested this locally and am seeing a similar issue.


Input field error option

How can i implement the 'error' option from the Input component ?
On the documentation it simply says:
Give an error node to display under the field.
I tried setting a string as it is stated and the problem i get is that the error is shown all the time, how can i control its behaviour ( hide/ show), validate, etc ?

You need to store the error outside of the Input component either in a parent component's state, redux or some other option. If there is an error - either because the parent said there was or you determine there is via a helper method and the current input value, pass the error, otherwise pass null.

I wrote a sample code.
http://codepen.io/masakij/pen/rWQXyy/

great thx, will check it out!


Update install-kubectl.md since apt-key is deprecated now

Since apt-key is deprecated, I changed the install instructions over to store the key under /usr/share/keyrings/ via gpg.

/approve

/retest

Hey @tengqm can you please leave an /ok-to-test so that I can retrigger the tests. They seem to have failed due to an unrelated reason: Build exceeded maximum allowed runtime

/ok-to-test
doesn't work on the website project,
you have to manually commit an empty commit to retrigger the test.

Hello @krsche,
it seems that the tests have failed again. Can you please create another empty commit to retrigger the tests?
Benedikt

Hopefully it works this time :)

/lgtm
/approve


Common headers server side

Hi, really enjoying exploring the lib!
I was wondering if there is any way to add in common response headers to the server?
E.g adding in CORS headers at the moment looks like it needs a header schema needs to be added to each response and then instantiated in each handler.
I though this could be achieved by creating an afterHandler extension but I'm not too sure how to modify the response object.

Oh, I see now the extensions give you access to the Response object directly!
Nvm 😅

I'd be keen to help out with some PRs if you have a task list 👍

Awesome. Unfortunately, it is now pretty much a matter of experimentation and testing and I don't have an item list with a clear DoD. On the other hand, it might be worth to create an issue with at least high level ideas and plans and maybe some nice tasks will pop out of it. I'll try to prepare it 👍.


Integrated Ability for Players to Skip Tutorial

Can you leave a description of what you changed?
Thanks

Yes, I finished backlog item 1 which means that 2 major files were changes. The file responsible for players sending in their vote to skip the tutorial, and the file in the host component which is responsible for keeping track of the votes and displaying to users how many players voted to skip

I just took a look at the logic and MDN docs. I realize that we can still get desired behavior even with that simply comparison so I adjusted it