Lines and Annotations

I'm trying to plot simple horizontal lines, referencing data stored externally, and via a loop.
As there are no documented drawing tools, so I'm opting to add datapoints to a line series, on demand.
Sample data:
{xe:<PHONE_NUMBER>, xs:<PHONE_NUMBER>, ye: 12835.97409692, ys: 12244}
The code is designed to add one or more line series dependent on the data returned, although in the examples with static code, I can see that the chart line does not cope with missing data for the timeframe resulting in a solid horizontal line, when the data should start and stop in the middle of the chart.
This is the code in question:
` function loadTrendLines() {
                const url = "/api/trendlines/" + symbol.replace("/", "_") + "/" + timeframe;

                $.ajax({
                    type: 'GET',
                    url: url,
                    contentType: 'application/json',
                    dataType: 'json',
                    responseType: 'application/json',

                    success: function (jdata)
                    {
                        console.log(jdata);

                        var i;
                        for (i = 0; i < jdata.TrendLines.length; ++i) {
                            console.log(jdata.TrendLines[i]);

                            var tldata = [];

                            tldata.push({ time: jdata.TrendLines[i].xe, value: jdata.TrendLines[i].ye });
                            tldata.push({ time: jdata.TrendLines[i].xs, value: jdata.TrendLines[i].ue });

                            var lineSeries = chart.addLineSeries({
                                lastValueVisible: false
                            });

                            lineSeries.setData(tldata);

                        }

                    }

                });
            }`

I'm receiving the following error:
Uncaught Error: Value is undefined
at h (lightweight-charts.standalone.production.js:7)
at p (lightweight-charts.standalone.production.js:7)
at t.updateSeriesData (lightweight-charts.standalone.production.js:7)
at t.updateData (lightweight-charts.standalone.production.js:7)
at e.t.update (lightweight-charts.standalone.production.js:7)
at Object.success (HTMLPage1.html?symbol=BINANCE:BTC/USDT&barstoshow=100&timeframe=60&trendlines=1:252)
at c (jquery-3.4.1.min.js:2)
at Object.fireWith [as resolveWith] (jquery-3.4.1.min.js:2)
at l (jquery-3.4.1.min.js:2)
at XMLHttpRequest. (jquery-3.4.1.min.js:2)
If I manually define the xe, xs, ye and ue values, running the same inner loop logic, but placing this outside of the loop, it is successful, however this is not referencing any live data, merely static examples.
Can you please advise on a) whether this workaround should be viable, and b) if there are drawing tools that can be leveraged?

Can you provide repro without requesting data from your server (just with hardcoded values), but with creating chart and adding series?

As there are no documented drawing tools

Yes, we don't have any drawing tools for now and I don't remember that we have any plan to add them.

With static values:
https://jsfiddle.net/jimeney/Lgtrhj52/

Please check your data.

But even if I replace ue => ys it fails.

I have noted the typo, and corrected to ys for completeness on the jsfiddle, but, as you have stated, this still fails

The minimal repro code:
var container = document.createElement('div');
document.body.appendChild(container);

var chart = LightweightCharts.createChart(container);

var areaSeries = chart.addAreaSeries();
var volumeSeries = chart.addHistogramSeries();

volumeSeries.setData([
	{ time: '2019-05-24', value: 23714686.00, color: 'red' },
]);

areaSeries.setData([
	{ time: '2019-05-24', value: 179.66 },
]);

It's a bug. We'll fix it.

I just created issue for that - see #110.

Perfect, I assume I can workaround this by setting a series level colour instead?

It looks like there is another issue with histogram series. I just removed setting color for each item in histogram series and it fails on painting stage...

No problem. I'll sight tight

See https://github.com/tradingview/lightweight-charts/issues/110#issuecomment-510045762.

Nice catch @jimeney, thank you! This is really interesting cases 🙂

No problem. To confirm, I've replaced, in the static example, the histogram with an area series and the results are perfect for my use - I will test this shortly against the dynamic data

The 1.0.1 version is published just now.
https://github.com/tradingview/lightweight-charts/releases/tag/v1.0.1


Update pom.xml to use 5.1.0

Here it is.
I am having trouble logging in to this using https://jasigcas.herokuapp.com/cas - service ticket validation from management app fails because my outbound traffic goes through an SSL proxy (that issues its own cert that java doesn't trust). I have put the proxy's certs in Java's truststore but is CAS management app not using that? I couldn't see in the code where it used internal truststore.jks file.
Also, you do know that the word "jasig" is part of that heroku deployed cas?

Yup. This issue migh be a bit relevant: https://github.com/apereo/cas/issues/2637 I have been reluctant to change it because I didnt want to break people's config, but then heroku sort of change the game a bit as that issue explains. I will proceed to change it soon, as soon as I figure out what Apereo wants to do for demos, if anything, in an official capacity.
The management app should use that store; it has nothing of its own and outbound calls basically launch of the truststore for https calls.
Thanks for the pull, as always.


Tuple validation requires all items

Problem statement
When generating a model with array defining a tuple, the generated validation code requires all items to be present in an instance of the tuple.
But the JSON schema 4 spec states that tuple items are not required.
Environment
swagger version: master
go version: 1.9.1
OS:

The way I see this validation is that:

it should be allowed to be Zero provided the previous tuple property is defined (they cannot be arbitrarily zero: only trailing elements may be omitted)

Any thought?

Did I misunderstood this reading: https://cswr.github.io/JsonSchema/spec/arrays/ ??

Note that the default behaviour of JSON Schema allows us to have fewer items, as long as the
corresponding (sub)schemas are satisfied.

it has to validate as a schema on that same position so they are not optional when there is more than 1
https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
   The value of "items" MUST be either a valid JSON Schema or an array
   of valid JSON Schemas.

   This keyword determines how child instances validate for arrays, and
   does not directly validate the immediate instance itself.

   If "items" is a schema, validation succeeds if all elements in the
   array successfully validate against that schema.

   If "items" is an array of schemas, validation succeeds if each
   element of the instance validates against the schema at the same
   position, if any.

   Omitting this keyword has the same behavior as an empty schema.

if any  is important
In our code, we pass through all P_n_ properties and check they are required.
This means that if, say, the last one is omitted the validation fails.
I understand it is positional, so P_n_ may not be omitted if P_n+1_ is  already there.

it will always need something there whether it's null or something that passes validation, but it can't skip positions. This makes it requred

OK so here are some facts.
Here is a simple schema generating a tuple:
{
  "type": "array",
  "items": [
    {
      "type": "string",
      "enum": [
        "CONST1",
        "CONST2"
      ]
    },
    {
      "type": "string",
      "enum": [
        "CONST3",
        "CONST4"
      ]
    }
  ]
}

Here is the model generated from this schema (attached).
tuple_thing.go.txt

NOTE: The generated code has been slightly modified: the unmarshalling fails on nil pointers.
This is another bug and this story shall also be told...

Here is the sample data to be validated:
Fixture 1: [ "CONST1", "CONST3" ]
Fixture 2: [ "CONST1" ]
Fixture 3: [ "CONST3" ]
Fixture 4: [ "CONST1", "CONST3", "anything" ]
I tested validation with: generated model validator, go-openapi/validate validator, node JS ajv and python jsonschema validator.


ko: 0.10.0 -> 0.11.0

Description of changes

Bump ko to 0.11.0
https://github.com/google/ko/releases/tag/v0.11.0
Things done

Built on platform(s)

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

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

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

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

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

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 164728 run on x86_64-linux 1

1 package built:

ko


Set markup merge to shallow

WHY
Set markup merge to shallow.
WHAT

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

HOW

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new issues or warnings

Fixes https://github.com/imfing/hextra/issues/399.


JSON format issue, especially with larger reports, such as 500MB in size

👓 What did you see?
When I use JSON format to generate results, I encounter the following error.
error logs:
/app/node_modules/@cucumber/cucumber/src/formatter/json_formatter.ts:185
this.log(JSON.stringify(features, null, 2))
^
RangeError: Invalid string length
at JSON.stringify ()
at JsonFormatter.onTestRunFinished (/app/node_modules/@cucumber/cucumber/src/formatter/json_formatter.ts:185:19)
at EventEmitter. (/app/node_modules/@cucumber/cucumber/src/formatter/json_formatter.ts:92:14)
at EventEmitter.emit (node:events:532:35)
at EventEmitter.emit (node:domain:488:12)
at Coordinator.onWorkerProcessClose (/app/node_modules/@cucumber/cucumber/src/runtime/parallel/coordinator.ts:185:29)
at ChildProcess. (/app/node_modules/@cucumber/cucumber/src/runtime/parallel/coordinator.ts:146:12)
at ChildProcess.emit (node:events:520:28)
at ChildProcess.emit (node:domain:488:12)
at maybeClose (node:internal/child_process:1105:16)
✅ What did you expect to see?
Expected to see a JSON report without any formatting issues
📦 Which tool/library version are you using?
node version 18.17.0 or latest
cucumber ts 10.6.0
🔬 How could we reproduce it?
Steps to Reproduce:

In the runner file, use JSON format and add the JSON path to generate the reports.
Include additional screenshots in the test scripts to increase the report size to over 500MB, then observe the json formatter issue after the test is completed.
Observe the following error and the same issue has been logged and closed. reference [https://github.com/cucumber/common/issues/1763]

📚 Any additional context?
No response

The JSON format you are using is not able to write streaming data. So total size of the report will be limited.
We do have a message formatter that does stream the data and writes .ndjson files. Size limitations should be less of a factor here.
Though there are not many tools that can consume this format it yet. Migrating these is a slow proces and will take time. Currently a few of our internal tools do support it:

https://github.com/cucumber/html-formatter
https://github.com/cucumber/junit-xml-formatter
https://github.com/cucumber/testng-xml-formatter

Though worth noting that the html-formatter does not externalize files. So size issues will come back.
So I reckon your options are:

Reduce the size of your reports.
Reques


appshelldemo: notification title needs to be the title of the post or something

before we can fix this flutter_timeline needs to be fixed.


Add nesting support for Menus

[x] This is a v1.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
We should be able to add nested sub-menus to a MenuItem, just like in the official specification or in MUI v0
Current Behavior
Currently nesting is not supported and Menus get really long since every MenuItem has to be shown at the same time.
Examples

https://material.io/design/components/menus.html#
Context
I need a way to group some MenuItems in a Menu of my app so that it doesn't take too much space

I'm closing as a duplicate of #8152.


Linux gpu desktop failed build

System information

OS Platform and Distribution: Linux Ubuntu 18.04
Target: desktop gpu
Bazel version: 4.2.1
Python version: 3.9
GCC/G++ version: gcc-8.4 and 7.5 installations

Linux desktop gpu fails, it seems to be trying to use opencv 2.2 though i have 3.2 installed(possibly incorrectly installed)
python3.9 build.py build --desktop gpu -v
INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running `bazel build -c opt //mediapipe_api:mediapipe_proto_srcs`
TheStarting local Bazel server and connecting to it...
furyLN9
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
INFO: Analyzed target //mediapipe_api:mediapipe_proto_srcs (43 packages loaded, 668 targets configured).
INFO: Found 1 target...
Target //mediapipe_api:mediapipe_proto_srcs up-to-date:
  bazel-bin/mediapipe_api/mediapipe_proto_srcs.zip
INFO: Elapsed time: 5.464s, Critical Path: 0.12s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
DEBUG (build.py): Unarchiving 'bazel-bin/mediapipe_api/mediapipe_proto_srcs.zip' to 'build/Scripts/Protobuf'...
INFO (build.py): Built protobuf sources
INFO (build.py): Downloading protobuf dlls...
DEBUG (build.py): Running `nuget install -o .nuget -Source https://api.nuget.org/v3/index.json`
Feeds used:
  /home/benjamin/.nuget/packages/
  https://api.nuget.org/v3/index.json

All packages listed in /home/benjamin/MediaPipeUnityPlugin/packages.config are already installed.
DEBUG (build.py): Copying '.nuget/Google.Protobuf.3.15.6/lib/netstandard2.0/Google.Protobuf.dll' to 'build/Plugins/Protobuf/Google.Protobuf.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/Google.Protobuf.dll'...
DEBUG (build.py): Copying '.nuget/System.Buffers.4.4.0/lib/netstandard2.0/System.Buffers.dll' to 'build/Plugins/Protobuf/System.Buffers.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Buffers.dll'...
DEBUG (build.py): Copying '.nuget/System.Memory.4.5.3/lib/netstandard2.0/System.Memory.dll' to 'build/Plugins/Protobuf/System.Memory.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Memory.dll'...
DEBUG (build.py): Copying '.nuget/System.Runtime.CompilerServices.Unsafe.4.5.2/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll' to 'build/Plugins/Protobuf/System.Runtime.CompilerServices.Unsafe.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Runtime.CompilerServices.Unsafe.dll'...
INFO (build.py): Downloaded protobuf dlls
INFO (build.py): Building resource files
DEBUG (build.py): Running `bazel build -c opt //mediapipe_api:mediapipe_assets`
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
INFO: Analyzed target //mediapipe_api:mediapipe_assets (18 packages loaded, 49 targets configured).
INFO: Found 1 target...
Target //mediapipe_api:mediapipe_assets up-to-date:
  bazel-bin/mediapipe_api/mediapipe_assets.zip
INFO: Elapsed time: 1.615s, Critical Path: 0.55s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
DEBUG (build.py): Unarchiving 'bazel-bin/mediapipe_api/mediapipe_assets.zip' to 'build/Resources'...
INFO (build.py): Built resource files
INFO (build.py): Building native libraries for Desktop...
DEBUG (build.py): Running `bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 --@opencv//:switch=local //mediapipe_api:mediapipe_desktop`
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
INFO: Build option --copt has changed, discarding analysis cache.
INFO: Analyzed target //mediapipe_api:mediapipe_desktop (127 packages loaded, 8573 targets configured).
INFO: Found 1 target...
INFO: From Compiling mediapipe/calculators/tflite/tflite_inference_calculator.cc:
In file included from external/opencl_headers/CL/cl.h:32:0,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/com_google_mediapipe/mediapipe/util/tflite/tflite_gpu_runner.h:25,
                 from external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_inference_calculator.cc:45:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
 #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
                                                                                ^
INFO: From Compiling mediapipe/calculators/tensor/inference_calculator_gl.cc:
In file included from external/opencl_headers/CL/cl.h:32:0,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/com_google_mediapipe/mediapipe/util/tflite/tflite_gpu_runner.h:25,
                 from external/com_google_mediapipe/mediapipe/calculators/tensor/inference_calculator_gl.cc:27:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
 #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
                                                                                ^
INFO: From Compiling tensorflow/lite/delegates/gpu/api.cc:
In file included from external/opencl_headers/CL/cl.h:32:0,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.cc:16:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
 #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
                                                                                ^
INFO: From Compiling mediapipe/util/tflite/tflite_gpu_runner.cc:
In file included from external/opencl_headers/CL/cl.h:32:0,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/com_google_mediapipe/mediapipe/util/tflite/tflite_gpu_runner.h:25,
                 from external/com_google_mediapipe/mediapipe/util/tflite/tflite_gpu_runner.cc:15:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
 #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
                                                                                ^
ERROR: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/com_google_mediapipe/mediapipe/calculators/tensor/BUILD:632:11: Compiling mediapipe/calculators/tensor/image_to_tensor_converter_gl_buffer.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 68 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
external/com_google_mediapipe/mediapipe/calculators/tensor/image_to_tensor_converter_gl_buffer.cc: In member function 'virtual absl::lts_2020_09_23::StatusOr<mediapipe::Tensor> mediapipe::{anonymous}::GlProcessor::Convert(const mediapipe::Image&, const mediapipe::RotatedRect&, const mediapipe::Size&, float, float)':
external/com_google_mediapipe/mediapipe/calculators/tensor/image_to_tensor_converter_gl_buffer.cc:315:12: error: could not convert 'tensor' from 'mediapipe::Tensor' to 'absl::lts_2020_09_23::StatusOr<mediapipe::Tensor>'
     return tensor;
            ^~~~~~
external/com_google_mediapipe/mediapipe/calculators/tensor/image_to_tensor_converter_gl_buffer.cc: In function 'absl::lts_2020_09_23::StatusOr<std::unique_ptr<mediapipe::ImageToTensorConverter> > mediapipe::CreateImageToGlBufferTensorConverter(mediapipe::CalculatorContext*, bool, mediapipe::BorderMode)':
external/com_google_mediapipe/mediapipe/calculators/tensor/image_to_tensor_converter_gl_buffer.cc:341:10: error: could not convert 'result' from 'std::unique_ptr<mediapipe::{anonymous}::GlProcessor, std::default_delete<mediapipe::{anonymous}::GlProcessor> >' to 'absl::lts_2020_09_23::StatusOr<std::unique_ptr<mediapipe::ImageToTensorConverter> >'
   return result;
          ^~~~~~
Target //mediapipe_api:mediapipe_desktop failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 177.536s, Critical Path: 77.42s
INFO: 1168 processes: 140 internal, 1028 processwrapper-sandbox.

GCC/G++ version: gcc-8.4 and 7.5 installations

This error usually occurs when you're using gcc/g++ 7.x, so I guess you may have installed gcc-8.4 but the default version is still 7.x. (cf. https://github.com/google/mediapipe/issues/1733)
I recommend you use Docker as far as it works (maybe you need to use docker/linux/x86_64/Dockerfile.ubuntu, instead of docker/linux/x86_64/Dockerfile)

I forced 8.4 using update alternaties and got this error instead
ERROR: /home/benjamin/.cache/bazel/_bazel_root/36b3aa3a33b05b5e09f60b01181d39b0/external/XNNPACK/BUILD.bazel:3803:19: Compiling src/f32-vbinary/gen/vdiv-scalar-x2.c failed: undeclared inclusion(s) in rule '@XNNPACK//:scalar_ukernels':
this rule is missing dependency declarations for the following files included by 'src/f32-vbinary/gen/vdiv-scalar-x2.c':
'/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h'
'/usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h'
'/usr/lib/gcc/x86_64-linux-gnu/8/include/stdbool.h'
Target //mediapipe_api:mediapipe_desktop failed to build
Id rather avoid using docker if i can

Run the following command and try again, please.
python build.py clean

Id rather avoid using docker if i can

Can you tell me why?

~/MediaPipeUnityPlugin$ python3 build.py clean
Traceback (most recent call last):
File "build.py", line 392, in
Argument().command().run()
File "build.py", line 360, in init
build_command_parser.add_argument('--resources', action=argparse.BooleanOptionalAction, default=True)
AttributeError: module 'argparse' has no attribute 'BooleanOptionalAction'
WHen running that command

Well, in your case, probably the right command is python3.9 build.py clean.
If you don't mind, can you answer below question as well?

Id rather avoid using docker if i can

Can you tell me why?

Ok after clean it the build completed. I'm avoiding docker because after setting up docker to run a discourse forum years ago without being very knowledgeable about how years ago and then having trouble figuring out how to interact with it and eventually losing all of the data involved due to trusting someone i shouldn't have to run it on as a server.... Well, that stuff mostly isn't relevant to docker, but i'm trying to get across a fairly irrational aversion.
That and i formatted this pc specifically to run mediapipe and am worried if things that ill need to be interacting with while end up locked in docker, and maybe there could be a performance cost by having whatever data being transferred two and from.  Thats the kinda worries i have around it

maybe there could be a performance cost by having whatever data being transferred two and from

You're right that there is a performance cost to using Docker, but it's probably much smaller than you might imagine.
Also, in this project, Docker is only used to build native libraries, and the built libraries are copied to the host machine. That is, there is no overhead at all after the build, such as when you're using UnityEditor.
Even if you make a mistake and lose the data, it will only cause the native libraries to disappear (does not affect your Unity project) and you can just build them again.
Not if you need to build native libraries over and over again, but if you just need to build them once, hitting 3 commands and waiting for it to complete is much more efficient than fighting with errors for hours.
There are similar issues being created on an ongoing basis, and frankly, I don't want to spend my time supporting build issues that wouldn't occur with Docker (however, there are cases where Docker does not work).


ARM Docker Image

it would be cool if Meili would work on my raspberry pi 3 and 4 (arm64).

Hey @HelloEdit,
I saw your messages on Crisp, thank you for your interest in the project. I also read that you wanted to take a little bit of your time to try cross-compile MeiliSearch to ARM, do you think you could make us a pull request when your are done?
I would prefer you cross-compile a raw binary instead of a Docker image containing the binary, this way it would be useful to everyone, bot only Docker users. We can make the Docker image pull the binary at startup, but if you don’t have time we will work on that later on.

I tried with xcargo to build a binary for the aarch64-unknown-linux-gnu platform. but I had a few mistakes and I'm not sure how to deal with them. Well, if you've got any leads, I'll take it!

I will probably look into the run-on-architecture Github Action tool today.
To make sure I don't make a mistake: Raspberry 4 runs on armv7 and Raspberry 3 runs on armv6, so it would be good to have both but armv6 only would be fine for both versions of the Raspberry?

If I don't make mistake, the Raspberry Pi 3 can runs on armv8 only if you have a 64bits OS. So it think armv8 is a good compromise.

So it think armv8 is a good compromise.

I suppose you mean ARMv7. The problem is that I am not sure that MeiliSearch will work correctly on a 32bit arch, but I will try to provide a binary. I am already working on that in #540.

I just saw the sweater request! Thank you very much. Will a docker image be made available soon?

That is not planned but something you can do is to download the binary inside of your own Dockerfile by using the installation script we made, in a preparation step. The current Dockerfile is compiling the engine itself.

Also, for the moment the installation script that you linked only work with amd64 and not with arm64. Are you planning to change that ?

I assigned someone that will work on this later on!
Thank you for pointing this. In the meantime you will be able to direct download the binary from the release page on the next release.

I think another usecase for the arm docker image is we could use it on AWS A1 instance (Graviton). This would provide a great cost-performance ratio for a company, especially after the distributed feature has been implemented.
A bit out of topic, can we have a more highlighted documentation and clarification on how MeiliSearch stores its indexes? In-Memory, or possibility for a persistance storage later on? Thanks

Hey @gnomeria, if I understand correctly AWS A1 instances uses a processor named Graviton which uses Neoverse cores which uses 64 bits addressing? As I read through the Daniel Lemire blog post it seems like programs must be computed for ARMv8.1.
Does this makes sense or am I miss-understanding anything?
If I am right it means that I will need to compile MeiliSearch for ARMv8.1 and ARMv7, just want to be sure. We will also make the installation script support ARM binaries.

To answer your question, MeiliSearch stores its indexes on disk, internally we use LMDB which is a memory mapped key-value store, the one used in LDAP. We will add more information about that in the documentation, noted 😁

Thanks for the clarifications @Kerollmops. Yes I think the general architecture would still be aarch64 but for the ARMv8.1 or other next revisions, I think there's an added instruction set that can be leveraged. I mean compile it with v8.0 would be fine but in v8.1 there's an added atomic add IS:
LDADDA    (Rarg0), Rtmp, Rout
Still unsure what improvements would be made in the case of MeiliSearch. My guess it could improve the LMDB implementation.

Hi @Kerollmops, is it normal that the arm64 build is not available for the latest version?

@HelloEdit,
There currently is a problem in the build that just ended, the ARMv8 build can't be uploaded due to an invalid credential.
I don't understand why as it worked for the two other builds (linux and osx).

It's really weird indeed. Maybe Github support?In any case there is no hurry, thank you for your work ^^

Really odd indeed. if you find out where the problem is coming from, i would love to listen.

Yeah, the simple explanation that I found is the fact that the GITHUB_TOKEN expires after 1h.
The CI for the ARMv8 and ARMv7 takes more than 1h, therefore it is recommended to use a personnal access token.
I have a token from my personal account and re-run the latest release on another tag to trigger the binaries compile and publish script, copy the ARMv8 binary and moved it to the assets of the official v0.10, therefore you will be able to get it.
During the next week we will update the installation script to support ARM architectures.
Note that the ARMv7 doesn't compile due to some 32bit known limitations, I don't think I will look more into that.

@Kerollmops Hello, I would like to inform you that the armv8 build has not been put on the v0.10.1 release page.

The build is always running on the CI and will eventually be available on the v0.10.1 release.
This is a Docker image and you know, Docker is not the fastest interface :)

Hmm when running on ARMv8, I'm getting some weirdness.
/ # ./meilisearch
sh: ./meilisearch: not found

The file definitely exists, I've confirmed with interactive mode. Anyone else getting this?

Hi @ikaruswill, I suppose that you have tried to create your container with Alpine Linux as a base image. I had the same problem as you and I solved it using a debian base image. I think the problem is that Meilisearch is compiled with libc and not with musl as Alpine wants.
Anyway, you can find Debian for arm64v8 here https://hub.docker.com/r/arm64v8/debian/ (take a look at the slim version if size matters for you).

Yes I did use Alpine Linux, I was attempting to stick as close as possible to the official Dockerfile so I merely swapped out the part which copies the binary from build step.
Thanks for the tip @HelloEdit!

Closing this issue because it is kind of fixed, feel free to comment or open another issue.

My current Dockerfile for Meilisearch with arm64v8 (raspberry pi 3 with Arch) using debian
FROM debian:stable-slim

WORKDIR /usr/local

RUN apt-get update && apt-get install --no-install-recommends -y \
    wget \
    ca-certificates

RUN wget --quiet -O meilisearch https://github.com/meilisearch/MeiliSearch/releases/download/v0.12.0/meilisearch-linux-armv8 \
    && chmod +x meilisearch

ENV MEILI_HTTP_ADDR <IP_ADDRESS>:7700
EXPOSE 7700/tcp

CMD ./meilisearch


Set buffer size in find_interval_in_localpath based on w and k

A problem with current approach to picking intervals for local assembly:

Suppose we have found a path with low coverage over just a base or two
At the moment, if we add no padding, we pull out an interval in the local path which may only contain that base or 2 (or could be longer, as we include the whole of a local node at a time)
If the region of the local path we pull out is smaller than the kmer size, then when we find hits inside the region, there aren’t any
If we happen to have an interval roughly the same size as our kmer size, the only reads we will pick out segments from are the fraction which did overlap the poorly supported region.
SO we need to have some default values for the buffer based on the size of w and k.

The padding size that is used by default now is the denovo kmer size doubled
https://github.com/mbhall88/pandora/blob/6534f73a8f07477c2bae1d381f3badd530f1f181/src/map_main.cpp#L435
As such I feel this issue is resolved. Obviously reopen if you disagree @rmcolq


Add option to annotate fasta headers with Gene_Reoriented

Thanks for creating and maintaining dnaapler! It's running fantastically well. I had a feature request:
Is your feature request related to a problem? Please describe.
I am running dnaapler all ... as the input contains both plasmids and genomes.
dnaapler outputs fasta headers in the format {contig_name} rotated=True. I want to know which gene (dnaA, repA, etc) was used to reorientate which sequence.
Describe the solution you'd like
The information is captured as it's present in *_summary.tsv file. Fingers crossed this isn't a big ask
Describe alternatives you've considered
NA
Additional context
NA
Thanks!

Fixed by v0.5.1 thanks for suggesting this @ammaraziz

Thank you @gbouras13 ! Very helpful


Truncated division (redux)

Cleaner PR for the truncated division type/syntax.
Based on #633, #634 which should be merged first.
Edit: I made a small correction to GCD laws on this PR (last two commits) that should go earlier in the list of PRs. Now included in the separate #643

Codecov Report

Merging #637 into master will increase coverage by 2.48%.
The diff coverage is 83.77%.

@@            Coverage Diff             @@
##           master     #637      +/-   ##
==========================================
+ Coverage   49.42%   51.91%   +2.48%
==========================================
  Files         172      174       +2
  Lines       11090    11460     +370
  Branches     1560     1551       -9
==========================================
+ Hits         5481     5949     +468
+ Misses       5609     5511      -98

Impacted Files
Coverage Δ

...e/shared/src/main/scala/spire/std/bigDecimal.scala
58.73% <ø> (ø)
:white_check_mark:

core/shared/src/main/scala/spire/math/Real.scala
69.1% <ø> (+2.22%)
:white_check_mark:

laws/src/main/scala/spire/laws/GroupLaws.scala
100% <ø> (ø)
:white_check_mark:

.../shared/src/main/scala/spire/math/Polynomial.scala
77.41% <ø> (-0.48%)
:x:

core/shared/src/main/scala/spire/std/double.scala
84% <ø> (ø)
:white_check_mark:

core/shared/src/main/scala/spire/math/Jet.scala
70.58% <ø> (ø)
:white_check_mark:

...e/shared/src/main/scala/spire/math/Algebraic.scala
67.55% <ø> (ø)
:white_check_mark:

...ore/shared/src/main/scala/spire/math/Natural.scala
65.23% <ø> (+8%)
:white_check_mark:

...ore/shared/src/main/scala/spire/math/Complex.scala
46.42% <ø> (+0.79%)
:white_check_mark:

core/shared/src/main/scala/spire/std/float.scala
42.3% <ø> (ø)
:white_check_mark:

... and 56 more

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 8ae7ff0...f029a82. Read the comment docs.

Ready for review.

Closing as it is superceded.


history-channel relocates content

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.11.28
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--ap-mso', u'Comcast_SSO', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'https://play.history.com/shows/the-curse-of-oak-island/season-7/episode-6']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 2.7.17 (CPython) - Linux-5.3.15-200.fc30.x86_64-x86_64-with-fedora-30-Thirty
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4
[debug] Proxy map: {}
[generic] episode-6: Requesting header
WARNING: Falling back on generic information extractor.
[generic] episode-6: Downloading webpage
[generic] episode-6: Extracting information
ERROR: Unsupported URL: https://play.history.com/shows/the-curse-of-oak-island/season-7/episode-6
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3347, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://play.history.com/shows/the-curse-of-oak-island/season-7/episode-6

Description

history,com appears to have changed the location of their content from
'https://www.history.com/shows' to 'https://play.history.com/shows'.
The previous URL worked last week (2019-12-04), but does not work this week (2019-12-12). Upon playing in the browser, I discovered that the URL had changed.

This is probably a duplicate of https://github.com/ytdl-org/youtube-dl/issues/23363 as all of the A&E properties seem to have migrated to a new player this week which breaks the youtube-dl extractor.


Tool/command to combine multiple evaluations into one

If we run them on multiple machines, we want to easily combine them.
TODO
1st iteration

[x] Remove the models-summed.csv and <language>-summed.csv files
[x] Remove all the evaluation CSV parsing logic
[x] Remove all occurrences of model's cost and human-readable name
Reason: we want to move to a more flexible way of handling the evaluation data -> SQL

2nd iteration

[ ] Create a new command eval-dev-quality report (or eval-dev-quality tool report :question: )

The command arguments are:

List of evaluation.csv files
Result path

[ ] Create an evaluation.db where SQLite will store the database

Notes:

it will contain the aggregated records from all evaluation files passed as parameter
it will be stored in <result-path>/evaluation.db

[ ] Load the records from all evaluation.csv files to the database
[ ] Queries

[ ] group by models and generate models-summed.csv
[ ] group by language and generate <language>-summed.csv

Investigation

Prerequisites: SQLite driver

SQLite driver for Go: https://github.com/mattn/go-sqlite3
Installation: go get github.com/mattn/go-sqlite3
Tutorial: https://earthly.dev/blog/golang-sqlite/

Current workarounds:

cat docs/reports/<version>/*/models-summed.csv | sort | uniq for overall scores
cat docs/reports/<version>/*/evaluation.csv | sort | uniq for repository-specific scores

I think eval-dev-quality report is great
if we want to obtain i.e. the real names and costs of the models in the reporting tool we might need to share some parts of the command arguments (i.e. the provider tokens)... though I think openrouter allows to query information without a token so we should be good for now
I think @zimmski mentioned he wanted to use postgres now ... not sure how that would work though cause it seems you would need a running DB for that in the background?


[FLINK-36856][runtime] CollectSinkOperatorFactory batch size and socket timeout config fix

What is the purpose of the change
CollectSinkOperatorFactory is not respecting collect-sink.batch-size.max and collect-sink.socket-timeout configuration but only the default value used. As a result state reading can blow up. In this PR I've changed CollectSinkOperatorFactory to read the mentioned 2 parameters.
Brief change log
CollectSinkOperatorFactory is now reading the mentioned 2 parameters.
Verifying this change
Trivial change + manual with state reading.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Here is the user list discussion: https://lists.apache.org/thread/wm574s7vl739p4kwkcsnffblo4s484vz

cc @Zakelly

I was struggling a lot how to make an automated test but no meaningful idea. If anybody has please share.

Good idea, let me try. When I'm able to add such test it would be better.

It took some time to find the proper place where the test is not blowing up with some exception but added. Unless there are further comments intended to merge it.

LGTM too @gaborgsomogyi, thanks for fixing this!

@flinkbot run azure


Check cloud quotas

We're currently verifying that required node instance types (AWS) and virtual machine sizes (Azure) are available in the target region but we are not proactively verifying that the current subscription actually has a quota high enough to attempt creation of the VMs and even if the quota exists, that the region has enough capacity to create the VMs.
We can probably check against the quota but I'm not sure that we can ensure that the VMs can be created without some kind of reservation, something like this:

[ ] Query the cloud for current quotas for each of the node VM sizes for the target region
[ ] Subtract the resources already in use
[ ] Verify that the quotas are large enough for the cluster

...and while we're at it:

[ ] Ensure that the specified disk tier is compatible with the specified instance size for each node.

This is a nice but advanced feature, so we're going to defer this until later.

I don't thing we'll need to do this after we implement #1616.


Fix regression with deep linking

Issue: #5925
The issue was the iframe did not update when its src was changed as we navigated to the story id.
The reason it sometimes worked depended on whether the preview had set up its channel in time (the event was emitted).
What I did
Ensured the preview's URL changed.
How to test
http://localhost:9011/?selectedKind=UI|Panel&selectedStory=no+panels

We should probably revert this PR and figure out what is wrong with the existing buffer in the postmessage channel

Also we should make it more explicit in the IFrame component that src should not change


some problem happens

when i run the code as your tuturial. i has some problem.can you show me your tensorflow verson  of the project
WARNING:
Traceback (most recent call last):
  File "main.py", line 400, in <module>
    main()
  File "main.py", line 299, in main
    run()
  File "main.py", line 321, in run
    model = create_model(dev = True, preload = False)
  File "main.py", line 371, in create_model
    return model_capsule(dev, preload)
  File "main.py", line 258, in model_capsule
    args.dense_capsule_dim, args.n_channels, 3, dev)
  File "/code/BlurbGenreCollection_Classification/code/networks.py", line 37, in create_model_capsule
    input = inputs, use_static = use_static, voc = vocabulary, lang = language, dev = dev)
  File "/code/BlurbGenreCollection_Classification/code/networks.py", line 238, in pre_embedding
    trainable= trainable)(input)
  File "/home/prozx/anaconda3/lib/python3.6/site-packages/keras/engine/base_layer.py", line 430, in __call__
    self.set_weights(self._initial_weights)
  File "/home/prozx/anaconda3/lib/python3.6/site-packages/keras/engine/base_layer.py", line 1051, in set_weights
    'provided weight shape ' + str(w.shape))
ValueError: Layer weight shape (45, 300) not compatible with provided weight shape (100288, 300)

The requirements.txt has been updated. Unfortunately, the implementation does not yet support a tensorflow version required for CUDA 10 and NVIDIA 20X0 cards. This will be de addressed as soon as possible.


Improve openshift install doc

Is your feature request related to a problem? Please describe.
No
Proposition
The existing doc to install cert-manager on openshift 3.11 could be improved.

As openshift has a concept of project, then create a project oc new-project cert-manager instead of a namespace oc create namespace cert-manager
As v0.12.0 is out, change the version within the doc from v0.12.0-beta.1 to v0.12.0

Environment details (if applicable):

Kubernetes version (e.g. v1.11):
cert-manager version (e.g. v0.12.0):
Install method (e.g. static manifests):

/kind feature

Thanks for the heads up - I've opened https://github.com/cert-manager/website/pull/45 to fix up point (2).
I'm not too familiar with OpenShift, nor what the difference between a project and a namespace is. Is new-project the correct verb for this? Or is there a oc create project command that can be used instead? new-project seems like a new 'magic' subcommand vs create which exists in Kubernetes already 😄

Is new-project the correct verb for this?

After your project is created it will become the default project in your config.

Usage:
  oc new-project NAME [--display-name=DISPLAYNAME] [--description=DESCRIPTION] [flags]

Examples:
  # Create a new project with minimal information
  oc new-project web-team-dev

  # Create a new project with a display name and description
  oc new-project web-team-dev --display-name="Web Team Development" --description="Development project for the web
team."

Or is there a oc create project command that can be used instead?

No. oc create is only used to create resources
oc create -h
Create a resource by filename or stdin

JSON and YAML formats are accepted.

Usage:
  oc create -f FILENAME [flags]

Examples:
  # Create a pod using the data in pod.json.
  oc create -f pod.json

  # Create a pod based on the JSON passed into stdin.
  cat pod.json | oc create -f -

Available Commands:
  clusterresourcequota Create cluster resource quota resource.
  clusterrole          Create a ClusterRole.
  clusterrolebinding   Create a ClusterRoleBinding for a particular ClusterRole
  configmap            Create a configmap from a local file, directory or literal value
  deployment           Create a deployment with the specified name.
  deploymentconfig     Create deployment config with default options that uses a given image.
  identity             Manually create an identity (only needed if automatic creation is disabled).
  imagestream          Create a new empty image stream.
  imagestreamtag       Create a new image stream tag.
  job                  Create a job with the specified name.
  namespace            Create a namespace with the specified name
  poddisruptionbudget  Create a pod disruption budget with the specified name.
  priorityclass        Create a priorityclass with the specified name.
  quota                Create a quota with the specified name.
  role                 Create a role with single rule.
  rolebinding          Create a RoleBinding for a particular Role or ClusterRole
  route                Expose containers externally via secured routes
  secret               Create a secret using specified subcommand
  service              Create a service using specified subcommand.
  serviceaccount       Create a service account with the specified name
  user                 Manually create a user (only needed if automatic creation is disabled).
  useridentitymapping  Manually map an identity to a user.

If you're able to create a PR with any more changes you think need making, please do 😄
Otherwise, as of v0.15 we're also going to support installation through the OpenShift/RedHat OperatorHub, which should significantly improve the installation process for OpenShift users 😄
Hope that helps, and thanks for the initial report!


utilityrate5

how could i get utilityrate5 manual?

code bug : double excess_kwhs_earned_ym and excess_kwhs_earned_ym defined.
the rigtht code maybe:
// added for monthly bill balancing per 12/14/16 meeting
{ SSC_OUTPUT, SSC_MATRIX, "charge_w_sys_ec_gross_ym", "Energy charge with system before credits", "$", "", "Charges by Month", "", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_OUTPUT, SSC_MATRIX, "excess_dollars_applied_ym", "Excess generation $ credit applied", "$", "", "Charges by Month", "", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_OUTPUT, SSC_MATRIX, "excess_dollars_earned_ym", "Excess generation $ credit earned", "$", "", "Charges by Month", "", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_OUTPUT, SSC_MATRIX, "excess_kwhs_applied_ym", "Excess generation kWh credit applied", "kWh", "", "Charges by Month", "", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_OUTPUT, SSC_MATRIX, "excess_kwhs_earned_ym", "Excess generation kWh credit earned", "kWh", "", "Charges by Month", "*", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },

another bug about excess_kwhs_earned_ym ， the right code maybe:
excess_dollars_applied_ym[(i + 1) * 12 + j] = monthly_excess_dollars_applied[j];
excess_dollars_earned_ym[(i + 1) * 12 + j] = monthly_excess_dollars_earned[j];
excess_kwhs_applied_ym[(i + 1) * 12 + j] = monthly_excess_kwhs_applied[j];
excess_kwhs_earned_ym[(i + 1) * 12 + j] = monthly_excess_kwhs_earned[j];

Thank you for the detailed feedback. Issues noted are fixed.


Failing unit test

User-Agent: MSIE 9.0
Timezone: (UTC) Dublin, Edinburgh, Lisbon, London
Failing Test: 31 - Should be mutiple of 30 (was 0)

Hmm, I wonder if IE handles the modulus operator wrong. 0 % 30 should be 0. I'm on a mac, so I can't test it right now, but I'll update the unit test so this false failure shouldn't happen again.
Thanks for reporting!


Add installation instructions for even more Linux distributions

Added Alpine (now with the right command), ALT Linux and Arch AUR to the installation instructions.

Thanks


refreshVersions expect dependencies with a version placeholder _

URL for the warning in the  plugin
TODO: @LouisCAD explains why?

This is not an issue, but normal behavior. If we want to document it, we should put it as documentation in the main repository, and have a way to ensure we have a stable link to it (tagging can work for a readable permalink).
It's important that we keep issues clean so we can focus on actual issues when needed, and can triage them easily.
I'm letting this one open until we have a documentation explaining why we use a version placeholder. I'll probably work on it myself soon, before the 5th of march 2020.

How to solve if this is caused by kotlin-scripting-compiler-embeddable? It's not something I import explicitly.


Recursively get SelectItems from FilterItems when using nested loop join

Fixes MM-1211.
When determining the Carthesian product for a query over multiple tables make sure that when determining which FilterItems are applicable for the query the SelectItems for compound FilterItems are also taken into consideration by recursively inspecting the children of the compound FilterItems.

Sorry for not noticing this PR for so long. Looks good to me!


Use AtomicCell on targets with target_has_atomic less than 64

Closes #141
cc #48
Related: https://github.com/tokio-rs/tokio/pull/1538

CI failure is due to the fact that I enabled the test.

This PR needs another rebase.

This PR should not have changed the behavior on macOS, but this test failed on macOS on CI... But I couldn't reproduce this locally.

Would it be better to name it as something else rather than AtomicU64? Rust atomics are guaranteed to be layout-wise identical to their corresponding integer type, so naming it as AtomicU64 may incorrectly represent that.
Also: std::sync::Mutex is too heavy to protect just an integer. It'd be better to have a spinlock instead.

Would it be better to name it as something else rather than AtomicU64? Rust atomics are guaranteed to be layout-wise identical to their corresponding integer type, so naming it as AtomicU64 may incorrectly represent that.

I don't intend to make these implementations public, so I don't think it's a problem. However, if #355 is merged, we may need to consider this.

Also: std::sync::Mutex is too heavy to protect just an integer. It'd be better to have a spinlock instead.

I agree. And another advantage of this is AtomicU64::new can be const function.

Another thought, would it make sense to do similar thing as crossbeam's AtomicCell which uses a global Mutex instead? This can guarantee layout compatibility with u64, as well as a const new fn.

I like the idea of using AtomicCell<u64> from crossbeam-channel as a cross-platform version of AtomicU64 :)
@taiki-e let's do that?

I think it needs a new release of crossbeam-utils including https://github.com/crossbeam-rs/crossbeam/pull/437. Filed https://github.com/crossbeam-rs/crossbeam/pull/444.

@taiki-e New versions of crossbeam have been published now.

looks like ci failure is https://github.com/async-rs/async-std/pull/286#discussion_r342188128.

@taiki-e Can you try rebasing/merging with the master branch to see if that helps?

Updated. It seems to succeed on the existing targets (linux,macos,windows), but fails on the newly added targets.

Rebasing this is almost trivial (just remove the Cargo.toml changes). It then applies cleanly and makes async-std work on MIPS and other platforms.

Why was this closed? It still does not compile on MIPS.

I found this PR today while trying to cross compile async-std for arm-linux-androideabi (32bit). There's no u64 atomic support on 32bit arm v7 and thus also the here proposed usage of crossbeam::atomic doesn't solve the problem. The proposal to use AtomicUsize from #451 sounds reasonable to me but it got closed with a reference to here. Maybe someone can elaborate on the state? I'm happy to support on this issue (I would have to brew my own solution/hack anyway...)

I found this PR today while trying to cross compile async-std for arm-linux-androideabi (32bit). There's no u64 atomic support on 32bit arm v7 and thus also the here proposed usage of crossbeam::atomic doesn't solve the problem. The proposal to use AtomicUsize from #451 sounds reasonable to me but it got closed with a reference to here. Maybe someone can elaborate on the state? I'm happy to support on this issue (I would have to brew my own solution/hack anyway...)

I thought this PR was going to pass, so I closed it first……

Why was this closed?

Closed because inactive


Add ESLint configuration

Add ESlint configuration:

Add .eslintrc file.
Add ESLint mention on Read Me.

Personally I would remove the full config from the readme —and the others as well— and just reference the files to avoid having to modify things twice in case of any change.


Add memory leak tests

Started this as a part of #231, but haven't had a chance to finish it until now.
Commenting out either
https://github.com/migueldeicaza/SwiftGodot/blob/831e1fefcfaf461554fc5441cfb19df08e485af0/Sources/SwiftGodot/Core/Wrapped.swift#L360
or
https://github.com/migueldeicaza/SwiftGodot/blob/831e1fefcfaf461554fc5441cfb19df08e485af0/Sources/SwiftGodot/Core/Wrapped.swift#L310
triggers the test, so I think it works.

Thank you for these changes!
I love them!


[Enhancement]: UI Fixes Required

As you can see from the below image the text and input fields of contact us form are not properly visible

Also the page is overflowing in horizontal axis

Dark Mode is not applied to the navbar dropdown menu

Image z-index is also not great some times it overlaps the dropdown and sometimes it doesn't which does not give a good feel

Please Assign this issue to me under GSSOC'24.

Correct it up ASAP

I am a GSSoc contributor. I have seen your website Fitbody. Chetan has found the issues and you also assigned them but I think Chetan is not active here so could you please assign it to me?
I would be very glad to work on it So could you please assign it to me ASAP

I am waiting for your reply, Please answer me ASAP @abhay-raj19


Switch to the Zendesk Search API

This PR switches all commands for dma, except category, to using the Zendesk help center search API.

Thanks for the contribution!


Wrong ruleset captalization

Whenever creating a ruleset, its name must always start with a capital letter and therefore the filenames and source code must be renamed to Tau instead of tau, I can PR a fix for that a bit later.

This can be done easily, so i'll do this myself


BTS-933: SmartSearch error handling

Backport of: https://github.com/arangodb/arangodb/pull/16721
EE Companion: https://github.com/arangodb/enterprise/pull/999

Jenkins green except unrelated windows failure AGAIN

Jenkins green except unrelated windows failure

Only unrelated known failure on Windows.


implementing sign in on healthcare app

I noticed that the sign in page doesn't really authenticate.  How would I go about authenticating the skype for business credentials for a user and password?  At the same time how do you get the context of this signed in user such as contact list, their groups, etc?

Hi Ahmad,
The SDK does not support authenticated scenarios.
It currently only supports Anonymous Meeting Join.
We plan to add this in future releases, but there is no date for it yet.
Thanks
Rahul
From: Ahmad<EMAIL_ADDRESS>Sent: Sunday, June 19, 2016 1:19 PM
To: OfficeDev/skype-android-app-sdk-samples<EMAIL_ADDRESS>Subject: [OfficeDev/skype-android-app-sdk-samples] implementing sign in on healthcare app (#6)
I noticed that the sign in page doesn't really authenticate. How would I go about authenticating the skype for business credentials for a user and password?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/skype-android-app-sdk-samples/issues/6, or mute the threadhttps://github.com/notifications/unsubscribe/AG-MfKWutBXbs0cj6b3QEx6-FDEw-wVsks5qNaQkgaJpZM4I5Pcv.

ok thanks for the information!


[BUG] Failed to render manifest when creating VM

Describe the bug

When creating VM, it reports the error below.
Failed to render launch manifest: Failed to locate network attachment definition default/management Network

VMI YAML file
apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
  annotations:
    harvesterhci.io/diskNames: '["cw-disk-0-y2olc"]'
    harvesterhci.io/sshNames: '[]'
    kubevirt.io/latest-observed-api-version: v1
    kubevirt.io/storage-observed-api-version: v1alpha3
  creationTimestamp: "2021-04-25T07:51:28Z"
  finalizers:
  - foregroundDeleteVirtualMachine
  - wrangler.cattle.io/VMIController.UnsetOwnerOfDataVolumes
  generation: 3
  labels:
    harvesterhci.io/creator: harvester
    harvesterhci.io/vmName: cw
  managedFields:
  - apiVersion: kubevirt.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers: {}
    manager: harvester
    operation: Update
    time: "2021-04-25T07:51:28Z"
  - apiVersion: kubevirt.io/v1alpha3
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:harvesterhci.io/diskNames: {}
          f:harvesterhci.io/sshNames: {}
          f:kubevirt.io/latest-observed-api-version: {}
          f:kubevirt.io/storage-observed-api-version: {}
        f:labels:
          .: {}
          f:harvesterhci.io/creator: {}
          f:harvesterhci.io/vmName: {}
        f:ownerReferences: {}
      f:spec:
        .: {}
        f:domain:
          .: {}
          f:cpu:
            .: {}
            f:cores: {}
            f:sockets: {}
            f:threads: {}
          f:devices:
            .: {}
            f:disks: {}
            f:inputs: {}
            f:interfaces: {}
          f:firmware:
            .: {}
            f:uuid: {}
          f:machine:
            .: {}
            f:type: {}
          f:resources:
            .: {}
            f:requests:
              .: {}
              f:memory: {}
        f:evictionStrategy: {}
        f:hostname: {}
        f:networks: {}
        f:volumes: {}
      f:status:
        .: {}
        f:conditions: {}
        f:guestOSInfo: {}
        f:phase: {}
    manager: virt-controller
    operation: Update
    time: "2021-04-25T07:51:28Z"
  name: cw
  namespace: default
  ownerReferences:
  - apiVersion: kubevirt.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: VirtualMachine
    name: cw
    uid: 667b49b5-2422-421f-bbce-5fdf9b316381
  resourceVersion: "199352"
  uid: 85a9021c-d8fa-4339-82ee-a5a12ff94e95
spec:
  domain:
    cpu:
      cores: 1
      sockets: 1
      threads: 1
    devices:
      disks:
      - disk:
          bus: virtio
        name: disk-0
      inputs:
      - bus: usb
        name: tablet
        type: tablet
      interfaces:
      - bridge: {}
        model: virtio
        name: nic-1
      - bridge: {}
        model: virtio
        name: nic-2
    features:
      acpi:
        enabled: true
    firmware:
      uuid: 30a24d1d-3726-550d-8946-3439adf54304
    machine:
      type: q35
    resources:
      requests:
        cpu: 100m
        memory: 1Gi
  evictionStrategy: LiveMigrate
  hostname: cw
  networks:
  - multus:
      networkName: vlan1
    name: nic-1
  - multus:
      networkName: management Network
    name: nic-2
  volumes:
  - dataVolume:
      name: cw-disk-0-y2olc
    name: disk-0
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2021-04-25T07:51:28Z"
    message: 'failed to render launch manifest: Failed to locate network attachment definition default/management Network'
    reason: FailedPvcNotFound
    status: "False"
    type: Synchronized
  - lastProbeTime: null
    lastTransitionTime: null
    message: 'failed to render launch manifest: Failed to locate network attachment definition default/management Network'
    reason: Unschedulable
    status: "False"
    type: PodScheduled
  guestOSInfo: {}
  phase: Pending

To Reproduce
Steps to reproduce the behavior:
Create VM normally and set the network configuration like that

Expected behavior

Log

Environment:

Harvester ISO version:  master-64e4d950-head
Installation Mode: ISO
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Dell PowerEdge R630

Additional context
Add any other context about the problem here.

validated on master-head


This should have a package in nixpkgs!

So it's easier for people to find, discover, and install :)

👍

ping @Mic92 to get this merge.


System menu is top for swarm and second for kubernetes

Version: v1.0.0-rc3
Steps to Reproduce:

Create a swarm and kubernetes environments

Results: Notice the System menu for swarm is top level and it's second level for kubernetes
Expected: Have it be same level for both

Fixed in dev2 or so with header redesign

Version - master 6/13
Verified fixed


Script changes outside Godot not recognized by editor scene or tool script.

Version - 787be50f
Earlier there was an issue where scripts weren't be refreshed until a hard reset https://github.com/godotengine/godot/issues/21956
Resolved by https://github.com/godotengine/godot/pull/22069, thanks to @scayze.  X)
However, there appears to be another issue.  The things in the edited scene related to script changes aren't recognized, and there seems to be also some issues with tool script, but much harder to verify, since other things can mess up tool scripts just as easily.
For example, editing the name of this export var in this example below.
GDScript editor correctly reloads.

Inspector doesn't acknowledge until restart.

Can confirm, exported vars are not updated in the property editor on external script change.

Thanks for verifying.  X)

just bumping this cuz i still have this issue in feb 2019

Related: #20250

Duplicate of #17044.


env error:Could not build wheels for mamba_ssm, which is required to install pyproject.toml-based projects**

docker search anaconda3
docker pull continuumio/anaconda3
docker run -it -d --name tsldev  -p 6888:8888 -p 6822:22 -p 6006:6006 -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all --gpus all -v D:\aidev:/aidev continuumio/anaconda3 /bin/bash
docker exec -it tsldev bash
conda create -n tsldev python=3.8
conda activate tsldev
conda deactivate
conda env remove --n tsldev

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple einops
when install mamba_ssm
pip install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple einops mamba_ssm
occur a error,see below
ERROR: Could not build wheels for mamba_ssm, which is required to install pyproject.toml-based projects

It seems that using mamba_ssm currently only supports Linux systems and cannot be used temporarily under Windows. First, you need to check if the system environment is Linux

I run it on the docker of debian os in window 11

全局检索mamba，把mamba : mamba模型注释，把导入语句中的mamba删除即可

torch版本升高就行

pip3 install mamba_ssm 可以装上

You'd better create a new conda environment without docker and configure a correct mirror of PyPI. Maybe the official mirror of PyPI works.  Then you will know what the problem is.
# delete the tuna mirror
pip install -r requirements.txt

Hi, many thanks for your discussion. mamba_ssm is not platform-friendly. Thus, we have removed the default usage of Mamba in the latest commit: https://github.com/thuml/Time-Series-Library/commit/2d734a17045419cde6bfe7fc0e7fe99d8ce8d940
If you have some problems about installing mamba_ssm, I think their official repo provides sufficient instructions: https://github.com/mamba-org/mamba


Windows command lines

I try to launch Tabula command within CMD but doessn't work:
C:\java -jar tabula. Jar -p all -a 123.123,.... -o output.txt file.pdf
Answer is:
-p does not exist

Get rid of the space in "tabula. Jar" and make it lowercase, -- it needs to
be "tabula.jar"
Jeremy B. Merrill
Sent from my mobile device
On Wed, Nov 20, 2019, 5:14 AM deltaromeo974<EMAIL_ADDRESS>wrote:

I try to launch Tabula command within CMD but doessn't work:
C:\java -jar tabula. Jar -p all -a 123.123,.... -o output.txt file.pdf
Answer is:
-p does not exist
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tabulapdf/tabula/issues/1075?email_source=notifications&email_token=AAEF3GWNVZ2OSSFPEILJG6LQUUEYZA5CNFSM4JPQK6N2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2VTYAQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEF3GS72HKLAQW75WTOJ4TQUUEYZANCNFSM4JPQK6NQ
.


Reset-SnipeitAssetOwner -notes parameter not working

Context

Assets check in successfully, but notes are not displayed.
Your Environment

SnipeitPS Module version used: 1.10.211
Operating System and PowerShell version: Windows 10, 5.1.19041.1320
Snipe It version: v4.6.13** build 3985

Steps to Reproduce (for bugs)

Only two parameters used, -id and -notes (Reset-SnipeitAssetOwner -id 1 -notes 'example notes')
Using -note instead of -notes has no affect. Assets are still checked in successfully (without notes)

It's notes parameter that should be note like in snipe it api docs

This is fixed in master now. Powershell gallery should update in few minutes.


Version <IP_ADDRESS>3 supported?

Hi
is the new version from veeam supported by this panel?

Yes, there are no changes to the API in VBO 4a (<IP_ADDRESS>3) and VBO 4b (<IP_ADDRESS>6).

ok thanks!


chore(JNA): update JNA to 5.6.0,  remove com.sun.jna from jopenvr.jar

Contains
Updating JNA
Removing embeded jna from jopenvr.jar
Fixes #4151
Fixes #4146
How to test

Check what VR works :D (Seems, It is not works many time...)
Check Terasology that works on Liberica 11 on Clean Windows (default libraries only)

Outstanding before merging

Jopenvr have jna 3.5 :p (i see it in sourcecodes)
I don't think major versions too harmful

For Windows testing, we want a confirmation that this fixes #4151. So you need a Windows system that reproduces the "can't find dependent libraries" error seen there.
I'm not sure what the best way to get that environment is; any Windows installation that's been around for a while may have had MSVC redistributables installed by any number of things.
Maybe it would be easiest to use a VM for that? Performance in a VM may not be great but we don't need to actually play the game to validate this. Getting to the main menu is probably enough. Maybe make a default Simple game and make sure you can see the world for a second if you're feeling thorough.
Would these VMs work for that? https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/
if so, testers wouldn't even need to be running Windows themselves, just have bandwidth and disk space.

Yeah, virtual machine is great.
Another way. Check dependencies for extracted dlls.

we can use one of these windows VM. their setup for dev environment and are valid for like a month: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/ you can just download a new one if it goes bad.


[material-ui][docs] codemods require certain version of nodejs otherwise fails with "Unexpected token ."

Related page
https://mui.com/material-ui/migration/migration-v4/#run-codemods
Kind of issue
Missing information
Issue description
I've spen the last hour trying to run codemods but getting "Unexpected token .".
Eventually through trial and error I tried running older codemods and one of them told me that I need at least nodejs v12 (I was on v10). Sure enough after updating (I went to v20) the latest codemods get past the error.
Context
Migrating from mui 4 to 5
Search keywords: codemod unexpected token

Thanks for the report. We have a section on supported browser and node version: https://mui.com/material-ui/migration/migration-v4/#supported-browsers-and-node-versions. Do you think we should move this to another section to make it clearer?

Somehow I missed that section when doing my migration. That's on me, I guess. It could be command line tools checked for this themselves when executed, though


[BUG] Generated Link is without https

The automatic generated link is without https

this should be with https

I assume you have it behind a reverse proxy?

I assume you have it behind a reverse proxy?

Yes sure.

I have updated the app to respect "X-Forwarded-Proto" header if it's behind a reverse proxy that is set up to forward it. In app support for HTTPS certs will take more time.

I have updated the app to respect "X-Forwarded-Proto" header if it's behind a reverse proxy that is set up to forward it. In app support for HTTPS certs will take more time.

Thank you.


try the default siad path if it cannot be located on load

This PR makes the loadingscreen a bit smarter, it will now try the default siad path (Sia/siad) if the path loaded from config.json does not exist. This solves an issue where users who rename Sia-UI.app on Mac are prompted to relocate siad.

LGTM


Expose "published" date and display on top

I was in discussion about tech blog (especially about web technologies) and how first thing people look for is "When was this article published?"
I think we should expose published date & place it on top, like just under a title line.
This will let those searching for resources to have better judgement if the information is stale or not.

Can I work on this?


chore(egen): restructuring from template & corrections from guidelines

This PR includes the following updates:

Restructures the sections according to the template. Updates the Colab related markdown and cells accordingly.
Reduces the usage of future tense.
Adds the collapsed license comment.
removes IS_TESTING parameter in cleaning up section.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

/gcbrun

/gcbrun

/gcbrun


NonNull vs *const in Repr

This is a question more than a bug report, but just asking in case it reveals something more useful...

Repr's 1st field is a *const ().
HeapBuffer's 1st field is a ptr::NonNull<u8>.
StaticStr's 1st field is a ptr::NonNull<u8>.

HeapBuffer and StaticStr are both transmuted to Repr.
Is there a benefit to HeapBuffer and StaticStr using NonNull<u8> rather than *const? Does it matter that a value with a niche is transmuted to one without?
Second smaller question: Why *const () in Repr instead of *const u8? Only place which accesses this field seems to be as_slice, where it's immediately cast to *const u8. Probably it makes no difference to codegen, but I'm wondering if there's a subtlety I'm missing.

IMO it's probably because the inline repr, where the first character can be \0.

Sorry if my question was confused. I understand that Repr's 1st field must be *const not NonNull, because 0 is a valid bit pattern for the first 8 bytes of Repr (e.g. 0-length inline string).
My question was really: Does it matter that HeapBuffer and StaticStr's use of NonNull doesn't match with Repr, which they get transmuted to?

My question was really: Does it matter that HeapBuffer and StaticStr's use of NonNull doesn't match with Repr, which they get transmuted to?

Hmmm yeah it gets ignored currently, but I guess maybe in the future it can be changed to take advantage of that?
For example, we can represent empty inline string using ['\0', 1, ..., LENGTH_MASK] so that the first const ()* will never be null, thus enable using NonNull<()> instead.

Nice idea. That would deal with the empty string case.
But there is still one weird case where 0 is valid bit pattern for all of 1st 8 bytes: CompactString::new("\0\0\0\0\0\0\0\0"). I think that rules out using NonNull in Repr.
So question is then: Should HeapBuffer and StaticStr's first field be changed to *const () to match Repr? Or is it OK that they don't match?
And is there a reason why *const () not *const u8?

But there is still one weird case where 0 is valid bit pattern for all of 1st 8 bytes: CompactString::new("\0\0\0\0\0\0\0\0"). I think that rules out using NonNull in Repr.

Maybe we should treat \0\0 as a special case?
If a string only consists of null bytes , then treat it as empty string?

But there is still one weird case where 0 is valid bit pattern for all of 1st 8 bytes: CompactString::new("\0\0\0\0\0\0\0\0"). I think that rules out using NonNull in Repr.

Bingo!

And is there a reason why *const () not *const u8?

No particular reason, Repr was crafted very carefully to get the compiler to emit optimal ASM and we use the pointer as the first element, as opposed to a usize, so tools like miri can check provenance.

Should HeapBuffer and StaticStr's first field be changed to *const () to match Repr? Or is it OK that they don't match?

AFAIU it's okay that they don't match, and HeapBuffers and StaticStrs pointers should be NonNull so semantically that seemed like the best choice

AFAIU it's okay that they don't match, and HeapBuffers and StaticStrs pointers should be NonNull so semantically that seemed like the best choice

Thanks for coming back.

This reminds me of a problem: with arm CHERI, size of pointer is 128 bits instead of 64 bits, containing an extra tag for the heap allocation.
It looks like we might have to update this crate to support arm CHERI @ParkMyCar

I've opened a separate issue #378 for that point NobodyXu.


[MM-13975] Add Terms of Service and Privacy Policy Links

Summary
This PR adds links for the Terms of Service and Privacy Policy onto the About page. The links are pulled from the server config.json, and the links will only show if they exist in the config.
Related PR for webapp: https://github.com/mattermost/mattermost-webapp/pull/2352
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/10242
https://mattermost.atlassian.net/browse/MM-13975
Checklist

[x] Has UI changes
[x] Includes text changes and localization file updates

Device Information
This PR was tested on: iPhone X, iOS 12.1
Screenshots

@hmhealey Thanks for the review, I'll make the changes within the next couple of days.

Thanks for making those changes! Looks good


Python path in packaged electron app

Hi,
Not sure if anyone can help with this as it may not be a bug, and what we're doing isn't exactly vanilla electron development.
Our electron app contains some Python scripts which we're calling from node using the python-shell module. It all works really well in dev mode (npm start) but fails in the packaged app. The reason seems to be that in dev mode, the Python path (sys.path in python) is pointing to the installed v3.6 Python path. In app mode, the path reverts to the default Apple Python install (v2.7) and so our modules won't load.
Does anyone know why the packaged path ends up being different to the dev path ?  I realise this is a bit of an oddball request as very few electron apps package up python, but if any obvious culprits/workarounds spring to mind, I'd be really grateful.
PS - It's pretty much impossible to avoid having more than one version of Python on a Mac as 2.7 comes with the OS, and is used by the OS. If you need a more modern version, you have to install it in parallel, but most installs will change the default path to the latest.
Many thanks
Ian

For future reference, support questions are better off at one of the community sites, as there are more people looking at those sites than this issue tracker.
Regarding your question, I would suggest doing something like creating a virtualenv that your Electron app operates in, so that you can avoid system-installed Python conflicts. (Questions about virtualenv itself are off-topic for this issue tracker, though.)

Thanks - I'd tried that. I'll pursue the community sites approach though.


Remove sparse protocol cargo config

We should remove changes made by https://github.com/FuelLabs/fuels-rs/issues/886 once Rust 1.70.0 is out and the sparse protocol becomes the default.

CI autodetects sparse-protocol compatible rust versions and enables the feature. No need for config.


:truck: Chore: Rename BaseClient TevmNode

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

#1370  👈
main

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

Join @roninjin10 and the rest of your teammates on  Graphite


Mixin Conflict Helper

CurseForge link
https://www.curseforge.com/minecraft/mc-mods/mixin-conflict-helper I guess
CurseForge Mod Distribution
Allowed
Modrinth link
https://modrinth.com/mod/mixin-conflict-helper
Source/other link
https://github.com/isXander/MixinConflictHelper
What it does
Throws an user-readable message when the user uses two mods that conflict with each other
Why should it be in the modpack
Would help a lot of users debug their mod selection, seems so essential that it should be in loader (but neither Fabric or Quilt was interested :cry: )
Why shouldn't it be in the modpack
Unavailable, untested, unsure how it acts with mods that define incompatibility in manifest, presumably it wouldn't help on any mods that are currently on the modpack itself
Categories
New feature, Fixes a bug/makes another mod work
Additional details
No response

Might be useful to know behaviour on MacOS is untested, swing GUIs are known to be pretty broken there and will need testing.

I tested it on an M1 Mac (with ManyMC) and it crashed :
latest.log

Unrelated to MacOS

I got it to launch, but when I put Cull Less Leaves and More Culling together, the game crashes without the gui
latest.log

Ok, thank you for your help!

Are you sure it didn't appear in the background?

With the new mod?

@Sheep7798 new version! https://github.com/isXander/MixinConflictHelper/actions/runs/2678121669 send logs!

Logs :
latest.log

you have given me the wrong log then. what you described is not there and the log says v1.0.2 when the version is v1.1.0

however in that case, I believe this build will have fixed the issue.
https://github.com/isXander/MixinConflictHelper/actions/runs/2678596158
@Sheep7798

It works now !!!

Weird that the buttons are backwards on MacOS.

still on hold?


Mzremove componenet

Here is create a family on single page

@mziccardi thanks!! let's finally get this creating family sh*t done!

YEAH!


Release notes for Exit retry handler earlier if context is done

Release notes for PR https://github.com/microsoft/kiota-http-go/pull/72

I'm referring to this, which we already forgot a couple of times arguably.
https://github.com/microsoft/kiota-http-go/blob/488975500f5bf8dd5e86301adf34004c1fe1933b/user_agent_handler.go#L45


[Feature Request] ECM重构

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
使用groovy重构ecm实现
Additional context
No response

ErrorSource更新


Center text in event cards

"Hackathon by the Sea: Girls Edition" looks off due to the left-aligned centering.

Closed by #27


Set a timeout if script hangs

Sometimes router_stats.py could hang. This prevent next calls to script to be effective

Have you determined on which line the execution hangs?

not yet, I think that it froze in one of the read_until function of Telnetlib when the host was not reachable. This function has an optional timeout parameter so it will be pretty easy to fix.


Add tmp dir to the .npmignore.

Disclaimer: I do not use the package, this was found during automated npm packages downloading.
Your current package size is 107 MiB packed, 622 MiB unpacked. 621 MiB of that are inside the tmp dir. I think that this probably got packed to the release by mistake.
Btw: you also packed your .idea dir to the release.

Very similar to https://github.com/srsgores/ember-accessible-icon/issues/2

Common issue: https://github.com/emberjs/ember.js/issues/11316

@ChALkeR sounds like maybe Ember needs to add tmp to the default .npmignore that is generated?

@rwwagner90 Because that's a common problem, I already filed an issue on emberjs itself.
You can propose your methods of fixing it there. I do not use emberjs myself, so I don't know.
But if the package, the initial structure, or the '.npmignoreis generated by theemberjsitself, then adding such directories to the default.npmignore` should fix the issue for the new packages IMO.

Moved common issue: https://github.com/ember-cli/ember-cli/issues/4199

@ChALkeR sounds like maybe Ember needs to add tmp to the default .npmignore that is generated?

it is, this project was likely just create after that was added

I added it to .npmignore, so I'll close this.


Generate report: Top 10 populated cities in a continent

City Report
A city report requires the following columns:
Name.
Country.
District.
Population.


Update PS task sample. (not ready to merge)

I've updated the sample. I still need to test, but I wanted to go ahead and get early feedback.
I bumped the min version to 95 since thats the first onprem update when both handlers are supported on Windows.

Looks good


Figma Design Kit

Feature request 🚀

[ ] I will create Pull Request
[x] It's just a suggestion

Expected

a Figma Design Kit For Developer to design a geist-ui based system.

Examples

Element UI Figma Kit：https://www.figma.com/community/file/1074978830391353170

Programme (Optional)
Others (Optional)

No additional design kit will be created and maintained in the short term, within the long-term plan, but a deadline cannot be promised.


light and dark mode toggle button added.

closes #81

@nepalivai Kindly provide h video to showcase the changes.

https://github.com/singodiyashubham87/ScrapeIt/assets/108126089/e594c3aa-447f-4721-a467-7f286df21368

Merge conflicts

@nepalivai Okay!


Hangs on"Connecting to kernel"

Problem Description
After returning from 3 weeks without my laptop, my spyder suddenly did not connect to the kernel anymore . I did not change any configuration and it did work back in April.
I've made a fresh install of Anaconda (3.7 2019.03 x86_64) but the problem persists. I'm using Windows 10.
The problem seems to be that the jupyter qtconsole leaves behind a dead kernel. Any idea how to fix it?
What steps reproduce the problem?

Install newest Anaconda3 with the installer
Open spyder
Console panel hangs with "Connecting to kernel"

Internal console shows kernel died
Solutions tried

reset spyder spyder --reset
turned off all Firewalls and AVs
upgraded spyder to 3.3.4 (via conda)
update spyder to beta 4.0.1b (via conda)
reinstalled conda 5.10 (py3.6), which definitely did work
ipython console from cmd runs fine
jupyter qtconsole hands with "kernel died, restarting", no restart is happening

no luck
Paste Traceback/Error Below (if applicable)

WARNING:traitlets:kernel died: 18.00057578086853

Versions

Spyder version:  3.3.3
Python version: 3.7
Qt version: 5.9.6
PyQt version: 1.7  / Q5 5.9.2
Operating System name/version: Win10

Dependencies
IPython >=4.0     :  7.4.0 (OK)
cython >=0.21     :  0.29.6 (OK)
jedi >=0.9.0      :  0.13.3 (OK)
matplotlib >=2.0.0:  3.0.3 (OK)
nbconvert >=4.0   :  5.4.1 (OK)
numpy >=1.7       :  1.16.2 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pyflakes >=0.6.0  :  2.1.1 (OK)
pygments >=2.0    :  2.3.1 (OK)
pylint >=0.25     :  2.3.1 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
rope >=0.9.4      :  0.12.0 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
sympy >=0.7.3     :  1.3 (OK)```

reinstalled conda 5.10 (py3.6), which definitely did work

I don't understand this. Did you mean Qt 5.10?

jupyter qtconsole hands with "kernel died, restarting", no restart is happening

Please post the errors displayed in the system terminal (cmd.exe) you used to start qtconsole.

I don't understand this. Did you mean Qt 5.10?

No,, I meant installing anaconda3 5.1.0. This by the way did solve my problem after all, to revert to this version with python 3.6.

Please post the errors displayed in the system terminal (cmd.exe) you used to start qtconsole.

Same as the spyder internal console:
WARNING:traitlets:kernel died: 18.00057578086853

Sorry but without a concrete error message we can't help you.

Okay. As I can work with Anaconda 5.1.0 and Python 3.6, I'll just wait and hope it will be solved in the future releases automagically :)


Create or update uplink sets through logical interconnect groups

Scenario/Intent
Mimic the GUI in creating the uplink sets through the LIG
Environment Details

Puppet module for HPE OneView Version: 2.2.0

Steps to Reproduce
Try to create it, currently puppet module only supports adding the uplink sets
Expected Result
should be able to pass in all the configs for the uplink set and create it/update it through the lig
Actual Result
Currently not supported

Thanks for opening up the issue for me.
Adding my trace of the LIG creation that works via the Oneview gui.
REST-call-LIG-with-uplinks-post.txt


[review] add compatibility matrix page

from http://lists.boost.org/Archives/boost/2017/04/234167.php

closed via 94c7278297e8be9663c26749c3f278a9a9831bca


Support "dev mode" from npm run serve

If no credentials file is found, setup a DAOContainer that uses the local
snapshot.

Codecov Report

Merging #116 into master will decrease coverage by 0.69%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #116     +/-   ##
=========================================
- Coverage   61.82%   61.12%   -0.7%
=========================================
  Files          36       36
  Lines        1755     1775     +20
  Branches      134      134
=========================================
  Hits         1085     1085
- Misses        670      690     +20

Impacted Files
Coverage Δ

lib/datastore/datastore_container.es6.js
14.08% <ø> (+0.38%)
:arrow_up:

lib/dao_container.es6.js
4.34% <0%> (-95.66%)
: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 31906f6...6421613. Read the comment docs.


problem with collapsing in Expandable

Hey,
ive manage to set the expandable adapter, and it animates nicely when expanding, but it doesn't animate when collapsing on the way up.
Another issue - is there a way to scroll down while expanding an item ? the problem is the click is handled within the adapter, and scrolling a recycler view should be handled from Activity/fragment, but it's not possible to catch both events right ?

@noam2 you can still attach a normal mOnClickListener to the adapter and listen for the event when a user expanded (so clicked on the parent) item. And youc an then do whatever is necessary

ok thanks. and what about the collapsing issue ?

@noam2 well do you collapse using the correct thread? what and how do you do it? You can check the sample app, there it works (for example for the IconGrid sample)

i just used the same sample, defined slide down animator like you did. didn't understand what icongrid is

That's the activity visible int he Sample app: https://github.com/mikepenz/FastAdapter/blob/develop/app/src/main/java/com/mikepenz/fastadapter/app/IconGridActivity.java
containing a collapse open / close animation

@mikepenz yeah did the same thing. tell me, how to add an expandable item ? couldn't use add or notifydatachange. when i add it just adds it alone without expanadablity

@noam2 you mean you want to notify if a sub item is added?
https://github.com/mikepenz/FastAdapter/blob/develop/library-core/src/main/java/com/mikepenz/fastadapter/FastAdapter.java#L1817

Closing for now. Please report back


allow legacy domain to call XMLRPC for load testing

not sure if this would have worked, and can do it in VCL since it's temporary anyway.


[Bug] Send Custom Token Issues

As the users I can send custom token (but the transaction is failed) when do following steps:

Choose send button in Home
Choose custom token Asset in Send form (Eg: Ghost)
Click send
The deploy can review and the app records the transactions.

Later, the transaction's status is Failed.

On the other hand, I cannot send custom token when do following steps

Choose custom token in Home
Click send button
When click send, it informs the error message

I suggest the app should handle one way that inform the "Unsupported Deploy" whatever the cases to send custom token.

#48