error failed to run custom build command for x11 v2.18.2

Expected Behaviour
the example binary should build and display the example sky shader window.
Example & Steps To Reproduce

clone the rust-gpu repo

git clone --recurse-submodules https://github.com/EmbarkStudios/rust-gpu

run the setup.sh

cd rust-gpu/
sh setup.sh

run the cargo run

cargo run --bin example-runner-wgpu --release

The error output follows:
error: failed to run custom build command for `x11 v2.18.2`

Caused by:
  process didn't exit successfully: `/home/davidm/rustplay/rust-gpu/target/release/build/x11-9180afe3ad5749c3/build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-env-changed=X11_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=X11_STATIC
  cargo:rerun-if-env-changed=X11_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"x11\" \"x11 >= <IP_ADDRESS>\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package x11 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `x11.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'x11\', required by \'virtual:world\', not found\nPackage \'x11\', required by \'virtual:world\', not found\n" } }', /home/davidm/.cargo/registry/src/github.com-1ecc6299db9ec823/x11-2.18.2/build.rs:36:67
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

System Info
Fedora Rawhide
uname -a
Linux rawhide2020 5.10.0-0.rc6.20201202git509a15421674.91.fc34.x86_64 #1 SMP Wed Dec 2 16:26:23 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Rust Nightly
rustc -V
rustc 1.50.0-nightly (d9a105fdd 2020-11-23)

spirv-tools
spirv-tools-2020.5-2.20201031.gitf7da527.fc34.x86_64	API and commands for processing SPIR-V modules
spirv-tools-libs-2020.5-2.20201031.gitf7da527.fc34.x86_64	Library files for spirv-tools

spirv-val --version
SPIRV-Tools v2020.6 unknown hash, 2020-11-02T00:00:00
Targets:
  SPIR-V 1.0
  SPIR-V 1.1
  SPIR-V 1.2
  SPIR-V 1.3
  SPIR-V 1.4
  SPIR-V 1.5
  SPIR-V 1.2 (under OpenCL 2.2 Full Profile semantics)
  SPIR-V 1.0 (under Vulkan 1.0 semantics)
  SPIR-V 1.3 (under Vulkan 1.1 semantics)
  SPIR-V 1.4 (under Vulkan 1.1 semantics)
  SPIR-V 1.3 (under WIP WebGPU semantics)

Resolution to above problem
Install remmina and it will install all dependant x11 packages.  Also install libX11-devel for the necessary header files the rust/spir-v compiler will need.
dnf install remmina libX11-devel

I'm confused, are you requesting a fix here? Same with https://github.com/EmbarkStudios/rust-gpu/issues/325 and https://github.com/EmbarkStudios/rust-gpu/issues/326 - it seems like in all three issues, you have already found a resolution and fixed the problem. Could you clarify?

Firstly, I want to say I really appreciate all the effort in rust-gpu.  Thank you so much for that.
The issues raised are for others to try building and running rust-gpu successfully as soon as possible.
In order for that to happen, I believe taking this issue #324 along with the other #325 and #326 and place them in a list of prerequisite packages recommended to install with your favourite package manager apt-get, pacman, or dnf.
  It's not extensive, but it's a start.  If other build errors pop up like this, it's good to note the missing package and put it in here too:
Prerequiste Packages Recommended To Install Before Building Rust-GPU
dnf install gcc-c++ remmina libX11-devel libxkbcommon-x11-devel

Thank you for listening.


Remove period everywhere

What would you like to enhance and why? Is it related to an issue/problem?
Work with dates instead of periods everywhere.
Describe the solution you'd like

convert start and end in contact and testing policies to dates, change documentation accordingly
remove the period column from the states DataFrame (will also save memory)
raise an error instead of a deprecation warning if period is used anywher
change the plotting functions?

Describe alternatives you've considered
We could still keep the period in the states, but I am against it for memory reasons and because they do not add any functionality.

#8 already uses the date.


Utheque: URDF-theque (library of URDFs)

Objective: make it easy to use the well-maintained URDF files without robot_dart (e.g., on a real robot, which does not have assimp, dart, etc.).

We install the URDF files in $PREFIX/share/utheque instead of $PREFIX/share/robot_dart so that it makes more sense to use the same URDF if we do not care about robot_dart (e.g., for controllers)
We can install the URDF even if robot_dart does not compile
There is a small header-only library utheque/utheque.hpp that makes it easy to get a URDF from the library (e.g., in a controller)

TODO: option to deactivate explicitly robot_dart

Please note that I did not try the CMake integration yet.

@jbmouret CMake integration should be working now. I tried on my PC and added a test in the CI. Check also in your Mac. If it works there as well, we should be ready to merge...


Workaround #2

This gets the sample working. And fixes #2

I read here that Gemfile.lock should be included.


RemoveMarkers doesnt work

In my MapReady event (Angular Typescript project) I try to remove all markers before adding a new collection. This doesnt seem to work, the new markers are put on top of the old ones.
//1) Remove old ones
map.removeMarkers();
//1) Add new marker collection
map.addMarkers(markers);

Can you share a repo reproducing this issue?

onMapReady(args) {
var map : MapboxViewApi = args.map;
console.log("Map ready!");
const nativeMapView = args.ios ? args.ios : args.android;
console.log(Mapbox onMapReady for ${args.ios ? "iOS" : "Android"}, native object received: ${nativeMapView});
this._socketIO = SocketIO.connect(Config.server_url, <SocketIO.SocketOptions>{
log: true
});
    this._socketIO.emit("updatecoordinates",
                                    {
                                        'minLat': 51.472874,
                                        'minLong' : 3.520436,
                                        'maxLat' : 53.686143,
                                        'maxLong' : 7.090418
                                    });

    this._socketIO.on("locationdata", function(data) {

            var markers = []
            data.forEach(plane => {
                markers.push(
                    {
                        lat: plane.latitude,
                        lng: plane.longitude,
                        title: plane.callsign,
                        subtitle: plane.origin_country,
                        selected: false,
                        onCalloutTap: function(){console.log("'Test");}
                    });
            });

            map.removeMarkers();
            map.addMarkers(markers);
        }
    );

  }

in the map.removeMarkers() nothing seems to happen.

That's not a repo..
And removeMarkers returns a Promise. Does it work better if you wait for it to resolve before adding markers?

I mean that if you want me to make sense of an issue like this it's very convenient to be able to clone a repo that reproduces it. I don't want your entire project of course.
Btw, the demo app has an example of the remove all feature. Did you try cloning and running it?

Working now on the Promise structure as can be found in the demo. Thanks! I'll post the result.

Cool 👍
Btw I'm not saying there isn't an issue but with 10 million being reported in my repos every day I really need an easy way to recreate them in order to be able to find time to fix any of them.

If the issue was with removeAllMarkers on Android, then this is fixed in 4.1.0.


TodoTemplate README file

We should provide a README.md file for the project template in which we introduce the template, its features, and the way customers can use it.

Done with the Pr #2313.


feat(transformer/class-properties): transform static/instance accessor methods

This PR supports transforming private getter or setter methods, and the output is a little different from Babel's output, For example:
Input:
class Cls {
  #prop = 0;

  get #accessor() {
    return this.#prop;
  }
  set #accessor(v) {
    console.log(arguments);
    this.#prop = v;
  }

  constructor() {
    console.log(this.#accessor)
    [this.#accessor] = [1];
  }
}

Babel's output:
var _prop = new WeakMap();
var _Cls_brand = new WeakSet();
class Cls {
  constructor() {
    babelHelpers.classPrivateMethodInitSpec(this, _Cls_brand);
    babelHelpers.classPrivateFieldInitSpec(this, _prop, 0);
    console.log(babelHelpers.classPrivateGetter(_Cls_brand, this, _get_accessor));
    [babelHelpers.classPrivateGetter(_Cls_brand, this, _get_accessor)] = [1];
  }
}
function _get_accessor(_this) {
  return babelHelpers.classPrivateFieldGet(_prop, _this);
}
function _set_accessor(_this2, v) {
  var _arguments = [].slice.call(arguments, 1);
  console.log(_arguments);
  babelHelpers.classPrivateFieldSet(_prop, _this2, v);
}

Oxc's output:
var _prop = new WeakMap();
var _Cls_brand = new WeakSet();
class Cls {
        constructor() {
                babelHelpers.classPrivateMethodInitSpec(this, _Cls_brand);
                babelHelpers.classPrivateFieldInitSpec(this, _prop, 0);
                console.log(_get_accessor.call(babelHelpers.assertClassBrand(_Cls_brand, this)));
                [babelHelpers.toSetter(_set_accessor.bind(babelHelpers.assertClassBrand(_Cls_brand, this)), [])._] = [1];
        }
}
function _get_accessor() {
        return babelHelpers.classPrivateFieldGet2(_prop, this);
}
function _set_accessor(v) {
        console.log(arguments);
        babelHelpers.classPrivateFieldSet2(_prop, this, v);
}

Main difference
// Babel
+ console.log(babelHelpers.classPrivateGetter(_Cls_brand, this, _get_accessor));
+ [babelHelpers.classPrivateGetter(_Cls_brand, this, _get_accessor)] = [1];

+ function _get_accessor(_this) {
+   return babelHelpers.classPrivateFieldGet(_prop, _this);
+ }

+ function _set_accessor(_this2, v) {
+   var _arguments = [].slice.call(arguments, 1);
+   console.log(_arguments);
+   babelHelpers.classPrivateFieldSet(_prop, _this2, v);
+ }

// Oxc
-  console.log(_get_accessor.call(babelHelpers.assertClassBrand(_Cls_brand, this)));- -
-  [babelHelpers.toSetter(_set_accessor.bind(babelHelpers.assertClassBrand(_Cls_brand, this)), [])._] = [1];

- function _get_accessor() {
-   return babelHelpers.classPrivateFieldGet2(_prop, this);
- }

- function _set_accessor(v) {
-   console.log(arguments);
-   babelHelpers.classPrivateFieldSet2(_prop, this, v);
- }

From the main differences, we can see that Babel handles getter and setter methods using classPrivateGetter and classPrivateSetter helper functions, which causes all use this and arguments needs to rewrite to use a temp var instead in getter and setter methods. This is unnecessary and is not an efficient transformation for us.
Instead, I adapt binding a this instead of passing in this, this way we don't need to rewrite anything. We can't control the helper library for now, so I just transformed the AST to bind this, in the future, we can create a helper function to do the same thing.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#8132  👈 (View in Graphite)
#8117
#8116
#8106
#8105
#8104
#8103
#8102
#8100
#8099
#8098
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

0-merge - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

This PR has changed most of the code before this PR and did a lot of work in this PR because transforming private methods is complicated, It's hard to split this PR into many small PRs.

Plus, all of the override tests related to private getter/setter methods transformation diverge with Babel


[Feature] CodeIgniter 4 integration

I love the snazzy Laravel and Symfony integrations I see in the docs (https://docs.sentry.io/platforms/php/). Any chance we could get an official integration for CodeIgniter 4? It has a cURL client and exception handling already so it should be a straightforward integration, and I would be glad to contribute to a repo that started this project.

Hi @MGatner, this would be a great chance to become an OSS maintainer 😉
I don't believe there are any plans for an official integration, but as you can see in the README many have contributed 3rd party integrations for their favorite platform building on this SDK.
You could take a look at the integrations on how they utilize the PHP SDK and only build a bridge with the platform to not duplicate the error handling and/or rebuild the many options.
We would be really happy if you have an integration published to add it to the README!

Thanks! Might be a bit but I will hold onto this to do. I use Stripe in all my production projects so it would save some performance having a tighter integration.

Awesome! Please open up a PR to the README when you have it published so we can link others looking for this to your integration 💪


[INTEL MKL]  Enabling tf_cuda_cc_test to execute in CPU only builds also.

Currently, tests using tf_cuda_cc_test do not run in CPU only builds (ex. when using MKL), unless the test is invoked manually with full test name (i.e //tensorflow/core/grappler/optimizers:remapper_test)
Changed tf_gpu_cc_test to always execute the test in CPU only builds also.
This change exposed a bug that caused two tests -  CAPI.LibraryLoadFunctions and TestApiDef.TestCreateApiDef to fail in //tensorflow/c:c_api_test. Fix for the test is also included in this PR.

Oops. Just realized this is not a grappler PR. Un-requesting review from @ezhulenev then. Sorry!

It is intentional to have tf_gpu_cc_test to only run on GPUs.
Is there any tests you see that should run on both cpu and GPU?
We should change them instead.

It is intentional to have tf_gpu_cc_test to only run on GPUs.
Is there any tests you see that should run on both cpu and GPU?
We should change them instead.

@gunan  thanks.  //tensorflow/core/grappler/optimizers:remapper_test is an example of a test the needs to run on CPU and GPU.  I had a PR (now closed)  https://github.com/tensorflow/tensorflow/pull/38464 @ezhulenev  pointed out that changing the call will skip GPU tests.
From the code for tf_gpu_cc_test we see that it executes on CPU and GPU, but CPU part gets triggered only when the full name //tensorflow/core/grappler/optimizers:remapper_test is given and is not invoked when we use  wild cards //tensorflow/core/grappler/..  or //tensorflow/core/..  because of the manual tag.
AFAIK  a different call  tf_cuda_only_cc_test  has to be used to run test on GPUs only.

argh, you are right.
In that case, we may accept this change. However ,I expect the migration of this change a painful, and particularly long one. We will need to test this globally internally, which may take up to a week.
@penpornk do you know who may be able to import this change manually, with a global presubmit?

@gunan I can do that. :)

@penpornk ran the tests, and all looks in order.
We can merge this PR.

@penpornk ran the tests, and all looks in order.
We can merge this PR.

Thanks @gunan  and @penpornk


Update SelectRoot-2015-05-17.ckan to use _min and _max

I can't imagine this breaking in 1.0.4, so merging with thanks!


Proposal: use OpenAPI to describe the routes

This project currently use a custom YAML format to describe the routes.
It would be nice if it uses as a base for this YAML config file, the OpenAPI format.
Some possible benefits for this move:

Developer familiarity: developers already know OpenAPI format
Tooling: we can generate auto-docs from it.

Here how the first example endpoint can be represented.
paths:
  /hello-world:
    get:
      ## Your new mockResponse attribute
      mockResponse:
        status: 200
        headers:
          Content-Type: application/json
        body: >
        {
          "hello": "Hello, World!"
        }
      ## Other OpenAPI v3 attributes, that may be used to check if the request is valid
      ## or just use to show an autodoc webpage.
      tags:
        - hello
        - world
      parameters:
        - name: username
          in: path
          description: Username of the user to send hello
          required: false
          schema:
            type: string

Pending tasks:

[ ] Check if mockResponse is a name allowed to extension in openAPI spec

Future work:

Allow situations where openapi-spec.yaml already exists, and we just want to add mock to this spec. In OpenAPI, each operation can have a unique OperationID. We can use it and provide an extra file, operationId->mock.yaml, allowing to generate mocks to a existing openapi spec.

I will use x-mockResponse for now
https://swagger.io/specification/#specificationExtensions


OIPA-2248

-fix "0.00" Values Not Output In CSV

:tada: This PR is included in version 5.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


About Kitematic should also show docker version, docker-machine version, and virtualbox version

Current docker version is v1.7.1 but the current Kitematic ships v1.7.  It would be easier to debug incompatibility issues if version numbers for all components were shown in one place.

@cclauss Thanks for this feature request. This is definitely useful.

Please take a look at this PR and provide feedback
https://github.com/kitematic/kitematic/pull/843

Merged


enh: add TFP dependency tightening of TF-base

Checklist

[x] Ran python show_diff.py and posted the output as part of the PR.
[x] Modifications are bound by python -c "import time; print(f'{time.time():.0f}000')"

Differences (updated)
noarch::tensorflow-probability-0.12.1-pyhd8ed1ab_0.tar.bz2
-    "tensorflow-base >=2,<3"
+    "tensorflow-base >=2.4,<2.5"
noarch::tensorflow-probability-0.12.2-pyhd8ed1ab_0.tar.bz2
-    "tensorflow-base >=2,<3"
+    "tensorflow-base >=2.4,<2.5"
noarch::tensorflow-probability-0.12.2-pyhd8ed1ab_1.tar.bz2
-    "tensorflow-base >=2,<3"
+    "tensorflow-base >=2.4,<2.5"
noarch::tensorflow-probability-0.13.0-pyhd8ed1ab_0.tar.bz2
-    "tensorflow-base >=2,<3"
+    "tensorflow-base >=2.5,<2.6"
noarch::tensorflow-probability-0.14.0-pyhd8ed1ab_0.tar.bz2
-    "tensorflow-base >=2,<3"
+    "tensorflow-base >=2.6,<2.7",
+    "jax >=0.2.20,<0.3.0"
noarch::tensorflow-probability-0.14.1-pyhd8ed1ab_0.tar.bz2
-    "tensorflow-base >=2,<3"
+    "tensorflow-base >=2.6,<2.7",
+    "jax >=0.2.21,<0.3.0"
noarch::tensorflow-probability-0.15.0-pyhd8ed1ab_0.tar.bz2
-    "tensorflow-base >=2,<3"
+    "tensorflow-base >=2.7,<2.8",
+    "jax >=0.2.21,<0.3.0"
noarch::tensorflow-probability-0.17.0-pyhd8ed1ab_0.tar.bz2
-    "jax ~=0.3.0",
+    "jax >=0.3.13,<0.4.0",
-    "tensorflow-base >=2.8,<2.9"
+    "tensorflow-base >=2.9,<2.10"
noarch::tensorflow-probability-0.17.0-pyhd8ed1ab_1.tar.bz2
-    "jax ~=0.3.0",
+    "jax >=0.3.13,<0.4.0",
-    "tensorflow-base >=2.9.1,<2.10"
+    "tensorflow-base >=2.9,<2.10"
noarch::tensorflow-probability-0.5.0-py_1.tar.bz2
-    "tensorflow >=1.11.0"
+    "tensorflow-base >=1.11.0,<2"
noarch::tensorflow-probability-0.6.0-py_1.tar.bz2
-    "six >=1.10.0"
+    "six >=1.10.0",
+    "tensorflow-base >=1.13.1,<2"
noarch::tensorflow-probability-0.7-py_0.tar.bz2
-    "six >=1.10.0"
+    "six >=1.10.0",
+    "tensorflow-base >=1.13.1,<2"
noarch::tensorflow-probability-0.7-py_1.tar.bz2
-    "six >=1.10.0"
+    "six >=1.10.0",
+    "tensorflow-base >=1.13.1,<2"
noarch::tensorflow-probability-0.7-py_2.tar.bz2
-    "tensorflow-base >=1.14.0"
+    "tensorflow-base >=1.13.1,<2"
noarch::tensorflow-probability-0.7-py_3.tar.bz2
-    "tensorflow-base >=1.14.0"
+    "tensorflow-base >=1.13.1,<2"
noarch::tensorflow-probability-0.8.0-py_0.tar.bz2
-    "tensorflow-base >=1.14.0"
+    "tensorflow-base >=1.15,<2.1"
Downloading: https://conda.anaconda.org/conda-forge/linux-64/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/linux-64/repodata.json.bz2
linux-64::tensorflow-probability-0.5.0-py27_0.tar.bz2
-  "constrains": [
-    "python_abi * *_cp27mu"
-  ],
-    "tensorflow >=1.11.0"
+    "tensorflow-base >=1.11.0,<2"
-  "version": "0.5.0"
+  "version": "0.5.0",
+  "constrains": [
+    "python_abi * *_cp27mu"
+  ]
linux-64::tensorflow-probability-0.5.0-py36_0.tar.bz2
-  "constrains": [
-    "python_abi * *_cp36m"
-  ],
-    "tensorflow >=1.11.0"
+    "tensorflow-base >=1.11.0,<2"
-  "version": "0.5.0"
+  "version": "0.5.0",
+  "constrains": [
+    "python_abi * *_cp36m"
+  ]

please undo unrelated formatting changes.


Added support for MidiCo LRC and improved robustness of Enhanced LRC

Added support for MidiCo LRC and improved robustness of Enhanced LRC

In my next release (this weekend) I'll at least get a BOM fix (that will still allow use of non-UTF8 .lrc files).
Hopefully will also get the MidiCo lrc support added, but want to make sure it does something sane for duets, ideally setting them to different styles, but at least keeping the lines consistent instead of interleaving them.
I'll leave this open until those updates are complete, whether or not they use some of this code.


Web page is showing markdown instead of HTML

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

ID: 0377d6ea-d3ca-628e-ba62-1b25e90449bb
Version Independent ID: 281e9377-7c98-7163-31e2-995423d3217e
Content: Compositor.CreateEffectFactory Method (Windows.UI.Composition) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.UI.Composition/Compositor.xml
Product: uwp
Technology: winrt-reference
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

This issue has been fixed. Thanks for reporting it.


Step 2 UI with tests. Closes #12.

Short recap

Sample of user data on top of the page
forms for editing fields properties
restrictions on concepts
navigating between steps
tested
restructured tests dir a little bit.

Details

Tests are ok https://travis-ci.org/openspending/os-import
html/css are quite simple
columns forms area width is limited by CSS to demonstrate horizontal scrolling.

Deployed this branch to heroku http://os-import.herokuapp.com/

@gvidon
I've done a code review now. I'm going to list some specific things related to the feature here, and open a separate issue for issues of design and architecture.

If I go straight to the route for step 2 /map I get some errors in the console, and I'm not directed instead to step one (ie: there is no management of the user flow)
If I enter data and then reload the page, I lose everything I added (there is no local persistence of data entered - this is really important in a multi-step user flow)
Step 2 changes are not persisted at all (even without a reload as above) - I can change "description", "data type", and "concept" for any field, then move back to step 1, and then move back again to step 2, and my changes are gone
Probably related to above, when I look at the data package object in the console, the mapping object is empty, even when I have added concepts etc. in the UI (see screenshot below)
There is no validation on user actions on both the "data type" and "concept" selectors. For example:

I can easily set a column that has a string like "Australia" in it to be data type integer
I can easily set a column that has a string like "Australia" in it to be concept Date/Time

The mock UI described in the issue for step 2 shows data and the controls in a delineated table that is left aligned, and there is some vertical and horizontal consistency. The task here was not to implement "design", but still, what is implemented is very hard to read as things do not line up horizontally, there are no lines to delineate cells, etc.
Likewise, the mock UI in the issue has a clear separator with he word "description". This makes it easy to distinguish between the data and the controls - please do implement the same
The UI has a horizontal scroll for the data/controls layout even when it does not need one (3 columns)
The issue asks for "Unit tests for discrete logic (eg: updating mapping etc)", in addition to functional tests. As far as I see, all tests user zombie to perform functional tests via the UI layer, but I am really looking to see how the core logic is tested without the UI layer. The ability to unit test logic helps me see that there is clear separation between the view layer and the logic layer of the app.

@pwalsh

I didn't work on persistent state of user data after page reload, though I agree it should be helpful. Data just passed from one step to another. I would like to move it into distinct task, to keep tasks smaller. And should be it done before we implement auth in this app?
html is just for example, I put no efforts on it, as I thought it will be seriously refined later. Will adjust rows height.
there are couple tests cases which test methods of mapping views — https://github.com/openspending/os-import/blob/feature/step-2-manually-correct/tests/mapper.js#L119. They are written with zombie, as there are some problems running backbone views with backbone-base extension outside browser environment. We will have much more unit tests after I move data package methods into model during this tasks https://github.com/openspending/os-import/issues/27

@pwalsh so, regarding to what I have written above I would just fix html, move persistent state into another task and proceed with #27.
After data package methods are incapsulated into single point and tested I would move into fixes of Step 1 and Step 2.

@gvidon
I made two points above about state:

reload page
back and forth between step 1 and step 2

I can accept that reload page is a different task, as it requires using local storage, but the other point is really a bug (see my other point about nothing being put into the mapping property of the DP) in this implementation and I'm not moving it to a different task.
Likewise, with the unit tests: we have a real problem if we can't test logic without a browser! I've made various notes about this at #30 . Any extension we use that forces such patterns on the code should be avoided.

Short recap with TODO

[ ] Show message when user opens /map directly
[ ] do not reset Step 2 when user comes back to Step 1, changes nothing and then returns to Step 2
[ ] validate concept to correspond to column data type
[ ] arrange form rows/labels height
[ ] remove columns list width limitation

There is no validation on user actions on both the "data type" and "concept" selectors. For example:

I can easily set a column that has a string like "Australia" in it to be data type integer

@pwalsh does that mean that we have to disallow user changing column types? Or what's the rule/algorithm on possible options in column types selector?
In my opinion restricting options in column types selectors will require type prediction, which is already done in jts-infer. Probably the good idea would be to allow user select column type if only jts-infer didn't have good enough prediction.
From what I learned we should just

allow only String/Date/Time/Datetime columns as Date / Time concept
allow only integer columns as Amount concept

@gvidon remember, the infer method is based on those type-casting functions. It should be easy to take a sample value for each time the user changes, and just cast that value.

@pwalsh yes, I know that infer method does type casting. Do you mean that it can return set of possible types for each column? And we should let user change column type if only infer didn't cast single type?


python setup.py egg_info" failed with error

when i use pip install yotta；but it can not install

Collecting project_generator<0.9.0,>=0.8.0 (from valinor<1.0,>=0.0.0->yotta)
Using cached https://files.pythonhosted.org/packages/b4/bb/91ad20d17485d01829453767323dd2d13b325a0c7154bf5f8f375cbaac1e/project_generator-0.8.16.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/rc/78dl9vfd3fd0ppwjl0zjlph00000gn/T/pip-install-gq_hc0/project-generator/setup.py", line 18, in
from pip.req import parse_requirements
ImportError: No module named req
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/rc/78dl9vfd3fd0ppwjl0zjlph00000gn/T/pip-install-gq_hc0/project-generator/
allans-MacBook-Air:pxt allan$

This was reported earlier. Pip 10 update broke some modules, this is the case. Please install project generator 0.9.11.  That will fix the issue.

By default, via valinor, you get version 0.8.x. We might want to update that to resolve this

Duplicate #835, please refer to the original one. I published the fix
This can be closed

ok thank you


Tag 0.7.0 is gone?

Hello,
Some maintainers of the Nix ecosystem noticed that the 0.7.0 tag is no longer available. We have a few requests and concerns regarding this:

Could you please provide some insight into why the 0.7.0 tag was deleted?
Would it be possible to tag a new 0.7.1 version?

Version 0.7.0 is necessary for us to build duckduckgo-search, and its absence is causing significant issues for our build process. Tags are crucial for our distribution as they directly impact the build and stability of our packages. Deleting tags can lead to substantial problems for downstream distributions like ours that depend on specific versions for consistency and reproducibility.
Understanding the reasons behind this change would be very helpful. Additionally, we kindly request that you avoid deleting tags in the future if possible. Maintaining these tags ensures that all downstream distributions can reliably build and depend on your project without unexpected breakages.
Thank you!

0.7.0 has never been released, the latest version is 0.7.0b4, which is a pre-release beta version. AFAIK, The DDGoSearch package now depends on pyreqwest-impersonate, not curl-cffi any more.

Thank you very much for your quick answer, going to update all of that in nix during the day.


Gradle Sample header-only-library

I have a question / suggestion regarding the the header-only-library sample:
My understanding: a header only library has just headers - no .cpp source files.
Applying the plugin of the current sample on a header only library will result that as an build output a static library is produced as well as a dummy cpp source file is compiled (if I understand the sample correctly both steps are a workaround).
Other libraries that consume this header only library will add the static library to their link options (no harm but this doesn't seem clean to me).
I have the following suggestion, here just in Kotlin Script Syntax:
plugins {
    `cpp-library`
}

library {
    linkage.set(listOf(Linkage.STATIC))
}

components.withType<CppStaticLibrary>().configureEach {
    val outgoingArtifacts = linkElements.get().outgoing
    outgoingArtifacts.artifacts.removeIf {
        it.file == linkFile.get().asFile
    }
}

tasks.withType<CreateStaticLibrary>().configureEach {
    enabled = false
}

tasks.withType<CppCompile>().configureEach {
    enabled = false
}

I'm happy to contribute a PR to the native-samples repo if this suggestion finds support.
I tested the suggestion with consuming projects (using project path as well as published dependencies) building works.
The benefits:

no dummy source necessary
time saved: no compile, no creation of static library
consuming libraries do not list a (useless?) static library in their linker options

I'd love feedback on my suggestion or reasons why the sample for header-only-library produces a static library.

You are right the implementation of that sample is a workaround. Removing the artifact from the outgoing artifact could be a better workaround. Usually, we avoid removing elements once added to a collection in Gradle as some action may have already been triggered which could have created more objects and expect the elements to be present. However, I think in this case you could remove it. You could try a PR in this repository.

Alternatively, we can look into adding a header-only-library to the Nokee plugins. Feel free to open an issue over there and we can talk about your use case, expected UX from the DSL's perspective and compatibility with other plugins.

thank you @lacasseio  for this really quick feedback!
I opened a PR in the native-samples repository. I think for the header-only-library plugin the scope is relatively small.
Thanks for pointing me to Nokee plugins, there are other tasks (publishing/exporting of compiler / linker args) that require a more complex plugin for this I'll consider opening an issue there.

There are several use cases that I saw with header-only library. Some of which are packing multiple headers into a single header (sort-of like compiling the headers together), distribution/publishing, testing. Some header libraries are mostly header except for some features where a precompiled library can be used. It could mirror the feature/capability from the Java plugin. As long as the sample provides the features you need, then it should be alright.


Ease mandibular bridge model creation

Switch off the snapping so you can create the points on empty space

Algorithm idea:
Contain the head in a minimal cylinder, then use its surface as a path to connect both sawBoxes


improve error message when after condition failed, yet we fail to describe the element properly...

given element.shouldNot(exist)
and config timeout is 4s
when element still exist after 4s
and should start to fail...
and we start to build error message, and start to "print element"
and here, actually element disappears from DOM, and we fail to print it...
then we have an error message like:
Element should not exist {By.id: com.ivia:id/submit}
Element: 'StaleElementReferenceException: The element 'By.id: com.ivia:id/submit' does not exist in DOM anymore'

but probably we should have something like:
Element should not exist {By.id: com.ivia:id/submit}
Element: ups, we failed to print an element becuase of: 'StaleElementReferenceException: The element 'By.id: com.ivia:id/submit' does not exist in DOM anymore'

"ups, we failed to print an element becuase of:" can be changed to something more adequate... ;)

Fixed by https://github.com/selenide/selenide/pull/1239


Crash in ShaderWarmUp.execute()

Steps to Reproduce

Start a new project (even the default one) and run it

Logs

E/flutter ( 8575): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Exception: operation failed
E/flutter ( 8575): null

From flutter analyze
Analyzing prova...
No issues found! (ran in 2.3s)

From flutter doctor -v
[✓] Flutter (Channel beta, v1.4.9-hotfix.1, on Mac OS X 10.14.3 18D109, locale it-IT)
    • Flutter version 1.4.9-hotfix.1 at /Users/Giovanni/development/flutter
    • Framework revision 88fa7ea403 (9 days ago), 2019-04-11 14:01:46 -0700
    • Engine revision 4737fc5cd8
    • Dart version 2.2.1 (build 2.2.1-dev.4.0 None)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Library/Java/Extensions/android/library/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Library/Java/Extensions/android/library/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[!] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Community Edition (version 2019.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 34.0.4
    • Dart plugin version 191.6183.88

[✓] VS Code (version 1.33.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.24.0

[✓] Connected device (1 available)
    • Samsung Galaxy S8, 7 0 0, API 24, 1440x2960 • <IP_ADDRESS>:5555 • android-x86 • Android 7.0 (API 24)

(I'm using IntelliJ as IDE, so the Android Studio issues are not a big deal)
The project seems to work just fine regardless, but it's a bit annoying to have this error popping out at the beginning.

Is this problem solved?
I am facing same problem

Is this problem solved?
I am facing same problem

Same here, after use restat app on vs code on mac osx.

Same issue with VisualStudio on Windows 10
Here is the error log output:
Launching lib\main.dart on SM G9350 in debug mode...
Built build\app\outputs\apk\debug\app-debug.apk.
E/flutter ( 3282): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Exception: operation failed
E/flutter ( 3282): #0      ShaderWarmUp.execute
E/flutter ( 3282): <asynchronous suspension>
E/flutter ( 3282): #1      PaintingBinding.initInstances
E/flutter ( 3282): #2      SemanticsBinding.initInstances
E/flutter ( 3282): #3      RendererBinding.initInstances
E/flutter ( 3282): #4      WidgetsBinding.initInstances
E/flutter ( 3282): #5      new BindingBase
E/flutter ( 3282): #6      new _WidgetsFlutterBinding&BindingBase&GestureBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 3282): #7      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 3282): #8      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 3282): #9      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 3282): #10     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 3282): #11     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 3282): #12     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 3282): #13     new WidgetsFlutterBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 3282): #14     WidgetsFlutterBinding.ensureInitialized
E/flutter ( 3282): #15     runApp
E/flutter ( 3282): #16     main
E/flutter ( 3282): #17     _runMainZoned.<anonymous closure>.<anonymous closure>  (dart:ui/hooks.dart:229:25)
E/flutter ( 3282): #18     _rootRun  (dart:async/zone.dart:1124:13)
E/flutter ( 3282): #19     _CustomZone.run  (dart:async/zone.dart:1021:19)
E/flutter ( 3282): #20     _runZoned  (dart:async/zone.dart:1516:10)
E/flutter ( 3282): #21     runZoned  (dart:async/zone.dart:1500:12)
E/flutter ( 3282): #22     _runMainZoned.<anonymous closure>  (dart:ui/hooks.dart:221:5)
E/flutter ( 3282): #23     _startIsolate.<anonymous closure>  (dart:isolate-patch/isolate_patch.dart:305:19)
E/flutter ( 3282): #24     _RawReceivePortImpl._handleMessage  (dart:isolate-patch/isolate_patch.dart:172:12)
E/flutter ( 3282):
Reloaded 1 of 468 libraries in 485ms.

and it occurs at initialisation of the flutter app (at this line of code):
void main() => runApp(new MyApp());

Same issue here. But it was occured in production app on the user device. I have no idea to reproduce.
The logs:
1 #0 ShaderWarmUp.execute (package:flutter/src/painting/shader_warm_up.dart:90)
2 <asynchronous suspension>
3 #1 PaintingBinding.initInstances (package:flutter/src/painting/binding.dart:25)
4 #2 SemanticsBinding.initInstances (package:flutter/src/semantics/binding.dart:22)
5 #3 RendererBinding.initInstances (package:flutter/src/rendering/binding.dart:29)
6 #4 WidgetsBinding.initInstances (package:flutter/src/widgets/binding.dart:252)
7 #5 new BindingBase. (package:flutter/src/foundation/binding.dart:56)
8 #6 new _WidgetsFlutterBinding&BindingBase&GestureBinding. (package:flutter/src/widgets/binding.dart:0)
9 #7 new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding. (package:flutter/src/widgets/binding.dart:0)
10 #8 new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding. (package:flutter/src/widgets/binding.dart:0)
11 #9 new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding. (package:flutter/src/widgets/binding.dart:0)
12 #10 new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding. (package:flutter/src/widgets/binding.dart:0)
13 #11 new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding. (package:flutter/src/widgets/binding.dart:0)
14 #12 new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding. (package:flutter/src/widgets/binding.dart:0)
15 #13 new WidgetsFlutterBinding. (package:flutter/src/widgets/binding.dart:0)
16 #14 WidgetsFlutterBinding.ensureInitialized (package:flutter/src/widgets/binding.dart:1053)
17 #15 main.<anonymous closure>
18 #18 _runZoned (dart:async/zone.dart:1516)
19 #19 runZoned (dart:async/zone.dart:1500)
20 #20 main (package:peppersoup/main.dart:17)
21 #21 _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:229)
22 #24 _runZoned (dart:async/zone.dart:1516)
23 #25 runZoned (dart:async/zone.dart:1500)
24 #26 _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:221)
25 #27 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305)
26 #28 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172)

Device: google Pixel 2, Android 5.1.1
Flutter version is 1.9.1+hotfix.4

I'm running into this, with the current build.  The following trivial app crashes as reported earlier. It displays what's expected.
CC @liyuqian
import 'package:flutter/material.dart';

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    const String logoAsset = 'images/logo.png';
    return Scaffold(
     Padding(
        padding: EdgeInsets.all(64),
        child: Image.asset(logoAsset),
      ),
    );
  }
}

void main() {
  runApp(MaterialApp(home: Home()));
}

The pubspec.yaml contains
flutter:
  assets:
    - images/logo.png

And images/logo.png is from pixabay

E/flutter ( 4605): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Exception: operation failed
E/flutter ( 4605): #0      ShaderWarmUp.execute (package:flutter/src/painting/shader_warm_up.dart:90:5)
E/flutter ( 4605): <asynchronous suspension>
E/flutter ( 4605): #1      PaintingBinding.initInstances (package:flutter/src/painting/binding.dart:25:20)
E/flutter ( 4605): #2      SemanticsBinding.initInstances (package:flutter/src/semantics/binding.dart:22:11)
E/flutter ( 4605): #3      RendererBinding.initInstances (package:flutter/src/rendering/binding.dart:29:11)
E/flutter ( 4605): #4      WidgetsBinding.initInstances (package:flutter/src/widgets/binding.dart:253:11)
E/flutter ( 4605): #5      new BindingBase (package:flutter/src/foundation/binding.dart:56:5)
E/flutter ( 4605): #6      new _WidgetsFlutterBinding&BindingBase&GestureBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4605): #7      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4605): #8      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4605): #9      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4605): #10     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4605): #11     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4605): #12     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4605): #13     new WidgetsFlutterBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4605): #14     WidgetsFlutterBinding.ensureInitialized (package:flutter/src/widgets/binding.dart:1083:7)
E/flutter ( 4605): #15     runApp (package:flutter/src/widgets/binding.dart:868:25)
E/flutter ( 4605): #16     main (package:test_issue/main.dart:24:3)
E/flutter ( 4605): #17     _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:239:25)
E/flutter ( 4605): #18     _rootRun (dart:async/zone.dart:1124:13)
E/flutter ( 4605): #19     _CustomZone.run (dart:async/zone.dart:1021:19)
E/flutter ( 4605): #20     _runZoned (dart:async/zone.dart:1516:10)
E/flutter ( 4605): #21     runZoned (dart:async/zone.dart:1500:12)
E/flutter ( 4605): #22     _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:231:5)
E/flutter ( 4605): #23     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:19)
E/flutter ( 4605): #24     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
E/flutter ( 4605):
Syncing files to device Pixel 2...
 7,678ms (!)

I'm running the app on an Android device
 flutter doctor -v
[✓] Flutter (Channel master, v1.10.16-pre.114, on Linux, locale en_US.UTF-8)
    • Flutter version 1.10.16-pre.114 at /usr/local/google/home/hansmuller/github/flutter
    • Framework revision 20169f0d2f (79 minutes ago), 2019-11-11 12:08:17 -0500
    • Engine revision eec36a8d4f
    • Dart version 2.7.0
...

[✓] Connected device (1 available)
    • Pixel 2 • FA79D1A03597 • android-arm64 • Android 10 (API 29)

Thank @jason-simmons for voluntarily taking a look into this!

This regressed due to https://github.com/flutter/engine/commit/2dcfaaeb5d3caee2bf7488e90abadf0456f43922
@cyanglaz

Thank you @jason-simmons for the quick fix! @cyanglaz : do you think it's possible to come up with a unit test that would fail before Jason's fix, and pass after that? It would be nice to have such a test to guard future regressions like this one.

Still facing this issue with Flutter 1.12.13+hotfix.8 and Dart 2.7.0
Any updates?
D/FlutterActivity( 4873): Using the launch theme as normal theme.
D/FlutterActivityAndFragmentDelegate( 4873): Setting up FlutterEngine.
D/FlutterActivityAndFragmentDelegate( 4873): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
D/FlutterActivityAndFragmentDelegate( 4873): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView( 4873): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@b686a8c
D/FlutterActivityAndFragmentDelegate( 4873): Executing Dart entrypoint: main, and sending initial route: /
E/flutter ( 4873): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Exception: operation failed
E/flutter ( 4873): #0      ShaderWarmUp.execute (package:flutter/src/painting/shader_warm_up.dart:90:5)
E/flutter ( 4873): <asynchronous suspension>
E/flutter ( 4873): #1      PaintingBinding.initInstances (package:flutter/src/painting/binding.dart:25:20)
E/flutter ( 4873): #2      SemanticsBinding.initInstances (package:flutter/src/semantics/binding.dart:22:11)
E/flutter ( 4873): #3      RendererBinding.initInstances (package:flutter/src/rendering/binding.dart:29:11)
E/flutter ( 4873): #4      WidgetsBinding.initInstances (package:flutter/src/widgets/binding.dart:253:11)
E/flutter ( 4873): #5      new BindingBase (package:flutter/src/foundation/binding.dart:56:5)
E/flutter ( 4873): #6      new _WidgetsFlutterBinding&BindingBase&GestureBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4873): #7      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4873): #8      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4873): #9      new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4873): #10     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4873): #11     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4873): #12     new _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4873): #13     new WidgetsFlutterBinding (package:flutter/src/widgets/binding.dart)
E/flutter ( 4873): #14     WidgetsFlutterBinding.ensureInitialized (package:flutter/src/widgets/binding.dart:1083:7)
E/flutter ( 4873): #15     runApp (package:flutter/src/widgets/binding.dart:868:25)
E/flutter ( 4873): #16     main (package:my_bootstrap/main.dart:3:16)
E/flutter ( 4873): #17     _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:239:25)
E/flutter ( 4873): #18     _rootRun (dart:async/zone.dart:1126:13)
E/flutter ( 4873): #19     _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter ( 4873): #20     _runZoned (dart:async/zone.dart:1518:10)
E/flutter ( 4873): #21     runZoned (dart:async/zone.dart:1502:12)
E/flutter ( 4873): #22     _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:231:5)
E/flutter ( 4873): #23     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:307:19)
E/flutter ( 4873): #24     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 4873):

@DIGITALSQUAD : this issue should have been fixed by https://github.com/flutter/engine/pull/13785 and https://github.com/flutter/engine/pull/13812. Maybe it's a new issue. Can you please share the detailed steps to reproduce this error? For example, output of flutter doctor -v, the device/emulator you used, and a minimal Flutter app would be helpful.

@liyuqian thanks for your reply.
The emulator(Google Pixel 2) is predefined device on Genymotion.
flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.6 18G95, locale ja-JP)
    • Flutter version 1.12.13+hotfix.8 at /Developer/flutter
    • Framework revision 0b8abb4724 (2 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/tahara_satoshi/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /Users/tahara_satoshi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B53
    • CocoaPods version 1.8.0

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.0

[✓] Connected device (1 available)
    • Google Pixel 2 • <IP_ADDRESS>:5555 • android-x86 • Android 9 (API 28)

• No issues found!

@DIGITALSQUAD : Genymotion reminds me of https://github.com/flutter/flutter/issues/39828. Can you please try running on a qemu_system-x86_64 emulator (from Android studio)?

@liyuqian You're right. Works fine on qemu_system-x86_64 emulator. Thanks a lot.


Option to specifiy if query in Workspace Symbol request applies to name(default) or name and containerName

See https://github.com/sourcegraph/go-langserver/issues/150#issuecomment-279758788
Currently, the Workspace Symbol request is expected to return symbol definitions in the workspace. As in the query should match the name field of the symbol info (that is my understanding, though the documentation is not explicit about this, can we get this confirmed?)
As mentioned in the comment linked above, it can be useful for the query to be applied to the "containerName" as well.
Can we have another param in the request call to specify if we care to match the query only to the name or containerName as well?
Editors can then either choose or let users make the choice

Current behaviour in PHP for example is to just match the fully qualified symbol name, which contains containerName, name and more.

The UI (and user) might become overwhelmed by the number of results when including the container name. Also: The UI doesn't seem to have good way to present the tree structure of the results, which makes it harder to scan the results when including the container name.

As a user when typing in java.util. I expect to have ArrayList among others as suggestion (where containerName is java.util). If the query only applied to name, I would get zero results. This example can be adapted for many languages

Good point, but would you expect the class members to be shown in the results too?

Yes. If I type MyClass:: in PHP I want to see all methods.

And if you have typed just My? There might be many classes with even more members with that prefix. Maybe only once you've chosen a particular class you also want to see the methods?

I agree that we should not differentiate this in the API but rather let the server interpret the name since the server knows how containers are interpreted and how namespace are separated. So java.util.List* should show all List* classes in the java.util package.


how to change the parallel pmesh to a serial mesh on the cpu 0

Dear sir:
I want to change the pmesh to a serial mesh on the root cpu only. which function can resolve this.
Regards.

I am not sure what exactly you mean here, but ParMesh inherits from Mesh, so a ParMesh is already a mesh.
If you want to change e.g. the node coordinate of the mesh (only on MPI rank 0?!) you can do that directly by modifying the nodes GridFunction. If you want to change the topology and still have a valid parallel mesh, I am afraid that is not possible.
Hope this helps,
Tzanio


dokku config with $ symbols

I tried to set an env variable with a dollar symbol, but dokku is not setting it correctly.
root@app:~# dokku config:set app SECRET_PASSWORD="}9c$NcjV/(pAsct3hRgA"
-----> Setting config vars
       SECRET_PASSWORD: }9c/(pAsct3hRgA
-----> Restarting app secret
-----> Releasing secret ...
-----> Deploying secret ...
-----> Running pre-flight checks
       CHECKS file not found in container: running simple container check...
-----> Waiting for 35 seconds ...

Any idea how to set such an env variable?

Did you try with single quotes?

Worked, Thank you very much!


Display the full version in the web UI

At the moment, only the major and minor versions (x.x) are displayed next to the logo in the web UI.
It would be usefull to have the full version (x.x.x) and help avoid version/upgrade mistakes.

Added in 2.4.13 as well as a /api/version endpoint


update encrypted credentials for Travis script

remote: Invalid username or password.
fatal: Authentication failed for<EMAIL_ADDRESS>The command "GH_USER=LoyolaChicagoCS GH_REPO=coursedescriptions "./gh-pages.sh"" exited with 128.

I took care of this by provisioning new tokens.


Parent path does not show as active

<Route path="/">
  <Route path="widgets" component={WidgetList} />
  <Route path="widgets/:widgetId" component={Widget} foo="bar"/>
</Route>

Currently, if I want to read foo="bar", I can't do this.props.route.bar because path="/" is active, instead of path="widgets/:widgetId".
I would have to do this.props.routes[1].bar.
Any suggestions on identifying the actual active path / route? Thanks!

I wouldn't use props on your Routes. Have a specialized route component for each of your Routes and put whatever data you need inside of those.

What if my parent route is used as a navbar, and I want the navbar to
change based on the current active path?
On Thu, Jun 30, 2016 at 12:04 AM Tim Dorr<EMAIL_ADDRESS>wrote:

I wouldn't use props on your Routes. Have a specialized route component
for each of your Routes and put whatever data you need inside of those.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/react-router/issues/3586#issuecomment-229404132,
or mute the thread
https://github.com/notifications/unsubscribe/ABnmZD6Arc38OvDGw-MVbZigbDJeG4Elks5qQpdvgaJpZM4JA_UW
.

this.context.router.isActive() or activeClassName on <Link>.


CMake FetchContent?

Hey, I have few components via FetchContent, net in inaccessible during build, So do we any option available for handle this?

Does cmake provide a way to extract this information? Does it provide a way to override the location from where it gets them?
I don't know enough cmake, I'm just asking general questions to know whether it would be easy/possible to support this feature.


Bleu scores are above 1.0

I tested on the IWSLT'15 English-Vietnamese data to start learning how to use NMT.
Everything worked fine with a few minor tweaks*, but I am seeing BLEU scores above 1.0 both in training and testing,
Are you using a specific definition of BLEU that I am not aware of, or did I miss something else?
Example output from training:
b'\tstep 11500 lr 1 step-time 0.23s wps 23.68K ppl 35.14 gN 3.22 bleu 5.89, Tue Jun 12 15:05:05 2018'
b'\tstep 11600 lr 1 step-time 0.17s wps 32.61K ppl 34.39 gN 3.17 bleu 5.89, Tue Jun 12 15:05:23 2018'
b'\tstep 11700 lr 1 step-time 0.17s wps 33.26K ppl 34.75 gN 3.14 bleu 5.89, Tue Jun 12 15:05:40 2018'
b'\tstep 11800 lr 1 step-time 0.17s wps 33.13K ppl 34.20 gN 3.06 bleu 5.89, Tue Jun 12 15:05:57 2018'
b'\tstep 11900 lr 1 step-time 0.17s wps 33.21K ppl 34.71 gN 3.12 bleu 5.89, Tue Jun 12 15:06:14 2018'
b'\tstep 12000 lr 1 step-time 0.17s wps 32.61K ppl 34.82 gN 3.16 bleu 5.89, Tue Jun 12 15:06:31 2018'
Example output from testing:
b'\tbleu test: 4.7'
b'\tsaving hparams to tmp/nmt_model\hparams'
Thanks.
*on Windows, the following lines of code in misc_utils.py do not work (L63-67):
out_s = s.encode("utf-8")
if not isinstance(out_s, str):
out_s = out_s.decode("utf-8")
print(out_s, end="", file=sys.stdout)
I changed them to:
if isinstance(out_s, str):
out_s = out_s.encode("utf-8")
print(out_s, end="", file=sys.stdout)
which solved the issue, and seemed more portable
** the notation "from .packagename import" and "from ..packagename import" seems to be IDE specific

@ymrabet
maybe you should put the hparams !

Thanks @mommi84 !
I wasn't expecting it to be that low, so maybe @hpulfc is right, I just ran it as is for that first test.


Failed to create reference line from routin error

System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): 20.04
Apollo installed from (source or binary): source
Apollo version (3.5, 5.0, 5.5, 6.0): master
Output of apollo.sh config if on master branch:

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
I am going to create a new map and apply it to Apollo for autonomous driving.
When trying to put a map through DreamView and control the vehicle. A problem occurs in the Planning modules.
I'll attach a picture of the error.

Supporting materials (screenshots, command lines, code/script snippets):

Except for the first failure, the next two succeeded. But you paste the successful log?
You can use modules/tools/routing/debug_route.py to debug the routing on your map. It’s usually a map problem!
Hope this helps you!


Difficulty understanding AccelSim-Ramulator interactions.

Hi,
I am having some difficulty understanding how different components fit together (AccelSim, Ramulator). In particular, about Ramulator is handing GPU traces.
Let's consider an example in which the split ratio is 50-50 (i.e. half the data is processed on the GPU cores and half in memory). I understand that AccelSim generates GPU traces i.e. when and what operation is performed on memory. Is this for 50% of the data, ignoring the other half?
The other half is fed to Ramulator. I can see that Ramulator is equipped to handle PIM memory commands such as GWrite etc. What GPU commands has the DRAM controller been modified to accept? How/when are these GPU memory commands generated (and is there a file I can easily click on and see them)?
Lastly, how are AccelSim and Ramulator running in parallel? I can imagine Ramulator is not capable of modelling computational overhead, just the time for various memory operations. AccelSim may be able to handle compute overhead but can not handle the memory overhead caused by PIM memory commands(??). How is a system that has both PIM and GPU commands simulated?
I will appreciate some clarity on these higher level flows.

Hi,
Firstly, the open version of Ramulator is not integrated into Accel-Sim. When we replaced the Accel-Sim memory controller with Ramulator, the runtime showed quite different trends for GPUs compared to the original Accel-Sim. To avoid discrepancies between runtimes, we should tune parameters in Ramulator. So, the open version of Ramulator accepts only PIM commands, and Accel-Sim accepts only regular memory commands to match performance with the original one.
We assumed the underlying architecture strictly split the memory controller (channel) for GPU and PIM. The only interaction between the GPU and PIM memory channels is to send input data from GPU channels to PIM channels. When we used the integrated simulator (Accel-Sim + Ramulator), the runtime overhead is less than 0.3% (Refer to "Contention at memory controller" paragraph in Section 7 of our paper). More complex use cases entail interleaved handling of GPU and PIM traces at fine-grained (e.g., command) level, but this would require a more complex system architecture than ours.
Next, we generate a PIM trace at the compile time using the TVM BYOC interface by inspecting input tensor and weight shapes. We annotate node information, which node is for GPU or PIM, at the ONNX graph level and propagate the information in Relay IR down to the BYOC interface. We catch and annotate parallel execution information at the ONNX graph level, too. So, in GraphExecutor, we use this information to decide which nodes should be executed in parallel. The open version executes two traces (GPU and Ramulator) in the Accel-Sim and Ramulator respectively.
Thank you for your interest in our work.


feat: Add experimental Python Poetry support

Fixes Issue #4995 partially
Description of Change
This adds experimental Poetry support. Poetry is a Python dependency manager which is gaining traction. This PR is part of fixing #4995
Have test cases been added to cover the new functionality?
yes

@jeremylong I synced with master, should pass now. Please approve the workflows.

thank you for the PR!


Implementation parsing of all Transaction types

Currently, neon-js is only able to parse the most heavily used transaction types. We want to achieve full transaction support so we are able to present any transaction in a proper JSON format.

Hi @snowypowers ,
Can I work on this task?
It seems to me that there are still 5 transactions type to parse. Correct?

Transaction Type
Parsing Status

MinerTransaction
Open

IssueTransaction
Open

ClaimTransaction
Done

EnrollmentTransaction
Open

RegisterTransaction
Open

ContractTransaction
Done

StateTransaction
Done

PublishTransaction
Open

InvocationTransaction
Done

sure. Do try to open individual PRs for each type so its easier to review.

@snowypowers ,
Enrollment, Register and and Publish  transactions are marked as obsolete. Do you still want to parse them?
https://github.com/neo-project/neo/blob/master/neo/Network/P2P/Payloads/EnrollmentTransaction.cs#L13
https://github.com/neo-project/neo/blob/master/neo/Network/P2P/Payloads/RegisterTransaction.cs
https://github.com/neo-project/neo/blob/master/neo/Network/P2P/Payloads/PublishTransaction.cs

yes. Even when deprecated, the transactions still exist on the blockchain, we just should not send in any new ones. Currently, neon-js will throw an error when encountering such transactions. We should have the ability to at least deserialize and view the transaction.

All task completed. @snowypowers , we can close this issue.


bshaffer oauth2 v1.8

Would it be possible to update bshaffer to 1.8, there is a bugfix in there which gives otherwise a lot of headache: https://github.com/bshaffer/oauth2-server-php/pull/491

I've submitted a PR for token revoke support. https://github.com/zfcampus/zf-oauth2/pull/122
It'll be reviewed and hopefully merged after ZendCon.
Julien.

Le 15 oct. 2015 à 08:19, Michal-sk<EMAIL_ADDRESS>a écrit :
Would it be possible to update bshaffer to 1.8, there is a bugfix in there which gives otherwise a lot of headache: bshaffer/oauth2-server-php#491
—
Reply to this email directly or view it on GitHub.

Ok great, im just not completly sure that fix is already merged into 1.8

@Michal-sk you can just run "composer update" and it will pull to the latest 1.* bshaffer lib.

Fixed with #122


Error "Object reference not set to an instance of an object" when loading a file or image

Hi! create a simple robot that answers questions, integrates with Qna and it works fine, but I get an error "Object reference not set to an instance of an object." when I attach an image, file, among others. How can I validate that the user when entering a file gives me information that the user can only enter text, or else how can I remove the button (icon) to attach files. Beforehand thank you very much.
Version 2.1.1 Bot Framework Composer
Bot created in bot framework with templates in C#

Operating system
Windows

The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repos are the preferred platform for submitting bug fixes and feature requests.

How can I validate that the user when entering a file gives me information that the user can only enter text

I think you have lots of options here. You can set a condition on the trigger:
=not(exists(turn.activity.attachments))
Although I do not know how that would affect things being done on the Unknown trigger. I would probably avoid doing that. (I guess it would depend on if you had other triggers to handle attachments or what you want to do in unknown. But it would be fine for any other triggers).
You could also set an if/else branch and check on that same condition:

or else how can I remove the button (icon) to attach files. Beforehand thank you very much.

This depends on the Channel that is being used. For WebChat, this is easily accomplished, please see here. For Teams, ensure that supportsFiles is set to false in the .manifest file.


Add redirect for tutorial

Added a redirect so that when you go to https://www.apollographql.com/docs/android/tutorial, the first page of the tutorial loads (rather than the 404 you get at the moment). This also helps us avoid giving out hard links to the first page of the tutorial so that if that URL ever changes in the future it can get redirected easily.

You can confirm via the deploy preview that the redirect works: https://deploy-preview-2898--apollo-android-docs.netlify.app/docs/android/tutorial

You can confirm via the deploy preview that the redirect works: https://deploy-preview-2898--apollo-android-docs.netlify.app/docs/android/tutorial


Kotlin Notebook: %use timefold-solver

From https://blog.jetbrains.com/kotlin/2023/07/introducing-kotlin-notebook/#notebook-dependencies

Remembering and locating Maven coordinates can be a cumbersome task. To simplify this process, we’ve introduced a smarter and more convenient method for loading popular libraries. Simply use the %use magic command followed by the name of one or several libraries.

So, in a Kotlin Notebook, this should just work:
%use timefold-solver

How to implement:
https://github.com/Kotlin/kotlin-jupyter/blob/master/docs/libraries.md

This issue can wait. First we need to see actual uptake of Kotlin Notebooks before we put this on the roadmap.
Either we push it to the long term backlog or close it for now.

Too little uptake to prioritize. The default version approach works well enough. Closing this for now.


Add Next Button

Summary
Can you plz add next Button for watching series and also can you add the eng dub link appear 1st for anime watching
Please confirm the following

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

Can you plz add next Button for watching series

Where do you want it (in the player? in the season page? in the tv show page? ....)

Can you plz add next Button for watching series

Where do you want it (in the player? in the season page? in the tv show page? ....)

If you ask me, I would prefer it to be in the player, even if at the end of the episode the next one starts automatically.

Okay will see what I can do, but I'm not sure I could...

Okay will see what I can do, but I'm not sure I could...
Thanks I hope you will add next Button in the player

Can you plz add next Button for watching series

Where do you want it (in the player? in the season page? in the tv show page? ....)

If you ask me, I would prefer it to be in the player, even if at the end of the episode the next one starts automatically.

Isn't works automatic, again play same episode


deploying a new 3bot (gold) results in error

3bot name: botcomet
user 3bot id: weynandkuijpers.3bot
net: testnet
error message:
An error encountered while trying to fetch certifcates information from crt.sh. Please try again later.. Use the refresh button on the upper right to restart 3Bot creation

Testing if deployment works no - but the name botcomet seems not to work anymore - has been registered while 3bot did not deploy

For specific node deployment only 11 nodes available while testnet has 30 nodes on the network.....

Testing if deployment works no - but the name botcomet seems not to work anymore - has been registered while 3bot did not deploy

We can't delete identities from the explorer: https://github.com/threefoldtech/js-sdk/issues/1820

For specific node deployment only 11 nodes available while testnet has 30 nodes on the network.....

Selection algorithm does not include every node on testnet.
this is based on search criteria for a node to be suitable for deployment or not @m-motawea can add more info on that

New 3bot deploys.


Document - How to use Dapr for building microservices

Help us make content visible
Item can be searched with keyword like - Dapr, building microservices, develop microservices, micr

Describe the new article

It would of great reference for those users who wants to learn about Dapr.
This can be included as a seperate section under https://docs.microsoft.com/en-us/dotnet/architecture/microservices/architect-microservice-container-applications/
It should describe the following aspects :

What is Dapr ?
Different available patterns of deploying microservices in K8s (Local or Cloud).
Usage of SideCar pattern and it's architecture
How it can be used with microservices ? - Can be described with reference application eShopOnContainers

CC: @nishanil

Tracking it internally so closing this issue as of now.


[INFO] isConnected() does not appear to reflect the current connection state

We have an introspection loop that sends an heartbeat if the robot is connected. We used the isConnected method to determine wether or not the connection was alive, but, in one of our tests, we shut down the Flexiv controller and our program continued to send the heartbeat. (isConnected() still returned true) Is that intended behavior? If yes, how do I check if the RDK is actually connected to the robot.
Edit: We also tried reconnecting using the connect() method then priniting robot state. Usually, the states would vary slightly, especially joint position and forces, but after we turn the controller off and on as a reconnection test, the state stayperfectly identical. This leads us to believe that calling connect() to reconnect to the controller once it is back online does not actually re-establishes the connection.
We are using the python RDK.

@skyrimax This issue no longer exists in the just-released v1.4, please give it a try.


EU868 Join Accept issue and ADR issue.

EU868 ADR function issue in Helium Platform.

Server gave two types of Join Accept message: one type is 17 bytes and another is 33 bytes. Below are the log of these two types.

17 bytes Join Accept example:
Join accept
{
"category": "join_accept",
"description": "Join accept from AppEUI: A840410000000100 DevEUI: A84041xxxxxxxx",
"device_id": "7fc0xxxxxxxxxxxxxxxxxxxxxxxxxad",
"device_name": "LHT65N-xxxxxx-TEST",
"id": "d0e85497-60bd-437c-bb79-d91ee58eb6de",
"inserted_at": "2022-08-31T12:04:45",
"organization_id": "9xxxxxxxxxxxxxxxxxxx62f",
"reported_at": "1661947485021",
"reported_at_naive": "2022-08-31T12:04:45",
"router_uuid": "64xxxxxxxxxxxxxxxxxxxxxx7338",
"sub_category": "undefined",
"updated_at": "2022-08-31T12:04:45",
"payload": "IAlOapbeECe/tzqaxRgoy30=",
"payload_size": 17,
"port": 0
}
33 bytes Join Accept example:

We don’t know in what case Server will send which type of Join Accept. We see both cases happen in the same devices by resetting the device.
The case of 17 bytes Join Accept doesn’t include the CFList (Channel Frequency List) for EU86, If a sensor gets this Join Accept, the sensor will only have the default 3 channels for EU868 and miss the 5 optional frequencies, which is defined by LoRaWAN Server. We can see all uplink packets only cover 3 frequencies (868.1, 868.3, and 868.5MHz)
If a sensor gets a 33 bytes Join Accept, the sensor will get the CFList and work at 8 frequencies.

For the 17 bytes Join Accept case. Server tried to send an LINK_ADR_REQ with channel mask 0xFF (which Means 8 channels). According to LoRaWAN protocol v1.0.2 and v1.0.3.
End Device will discard this LINK_ADR_REQ MAC command and send a LinkADRAns, Because the Channel Mask ACK Bit = 0 or End Node DR not match ADR_REQ, Server considers the LinkADRAns fail and keep sending LINK_ADR_REQ.

For the 33-bytes Join Accept, there is no issue for ADR.

Enable CF-List and it is fixed.

Glad you were able to solve your problem with that Option.
Sorry it was mislabeled as US915 only. We moved the CF-List functionality into a lib didn't update our wording when the lib was updated to support more regions.


[Feature] Prevent prompt token tooltips from showing up on hover

Is this feature related to existing issues?
No response
What feature do you want or what suggestions do you have?
Currently when you hover a prompt token with this extension the toolbar to adjust weight or add it to favourites immediately shows up and blocks any tokens that are underneath it. Can this be changed to only show up if I click and select that token?
Are there any similar competitors that can be referenced?
No response
Additional information
No response

The current functionality is to edit keywords with a single mouse click, and double-clicking disables/enables the keywords.
I am considering using the right mouse button click to expand the keyword operation panel, so the mouse hover to expand feature needs to be removed. This change may affect the current user habits.
Therefore, it is necessary to develop a feature that allows setting mouse button behavior.
It may take some time to support this feature.

The feature has been developed and completed. Set it up like this.

Thank you! This was what I was looking for. :)
One thing: is it possible to keep the extend panel active when clicking to adjust weight? I click on it once and it disappears.

Fixed.

Much appreciated!


add ZhipuAI integration

ZhipuAI is a large model focusing on Chinese cognition

ZhipuAi Official website https://open.bigmodel.cn/

@langchain4j Hi, Please review it when you have time.

Hi @1402564807, thanks a lot for your contribution! Due to a lack of time and a lot of code in your PR I will be able to review this only in 2 weeks. Thanks for understanding!

@1402564807 thank you, great job! I count on you maintaining this module 😉

Thanks, I will try my best


Train error

An error occurred during training Can you show your dataset tree directory? Thank you (the following is my structure according to the document)
---CornerNet-Lite
------data
----------coco
---------------images
---------------------trainval2014
---------------------------------train2014.zip
---------------------minival2014
---------------------------------val2014.zip
---------------------testdev2017
---------------------------------test2017.zip
run python train.py CornerNet_Saccade --workers=1
File "train.py", line 55, in prefetch_data
data, ind = sample_data(system_config, db, ind, data_aug=data_aug)
File "/test/CornerNet-Lite/core/sample/init.py", line 5, in data_sampling_func
return globals()[sys_configs.sampling_function](sys_configs, db, k_ind, data_aug, debug)
File "/test/CornerNet-Lite/core/sample/cornernet_saccade.py", line 169, in cornernet_saccade
border = [0, image.shape[0], 0, image.shape[1]]
AttributeError: 'NoneType' object has no attribute 'shape'
Process Process-1:
Traceback (most recent call last):
File "/opt/conda/envs/CornerNet_Lite/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/opt/conda/envs/CornerNet_Lite/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "train.py", line 59, in prefetch_data
raise e
File "train.py", line 55, in prefetch_data
data, ind = sample_data(system_config, db, ind, data_aug=data_aug)
File "/test/CornerNet-Lite/core/sample/init.py", line 5, in data_sampling_func
return globals()[sys_configs.sampling_function](sys_configs, db, k_ind, data_aug, debug)
File "/test/CornerNet-Lite/core/sample/cornernet_saccade.py", line 169, in cornernet_saccade
border = [0, image.shape[0], 0, image.shape[1]]
AttributeError: 'NoneType' object has no attribute 'shape'
setting learning rate to: 0.00025
training start...
start prefetching data...
shuffling indices...
Traceback (most recent call last):
File "train.py", line 55, in prefetch_data
data, ind = sample_data(system_config, db, ind, data_aug=data_aug)
File "/test/CornerNet-Lite/core/sample/init.py", line 5, in data_sampling_func
return globals()[sys_configs.sampling_function](sys_configs, db, k_ind, data_aug, debug)
File "/test/CornerNet-Lite/core/sample/cornernet_saccade.py", line 169, in cornernet_saccade
border = [0, image.shape[0], 0, image.shape[1]]
AttributeError: 'NoneType' object has no attribute 'shape'
Process Process-2:
Traceback (most recent call last):
File "/opt/conda/envs/CornerNet_Lite/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/opt/conda/envs/CornerNet_Lite/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "train.py", line 59, in prefetch_data
raise e
File "train.py", line 55, in prefetch_data
data, ind = sample_data(system_config, db, ind, data_aug=data_aug)
File "/test/CornerNet-Lite/core/sample/init.py", line 5, in data_sampling_func
return globals()[sys_configs.sampling_function](sys_configs, db, k_ind, data_aug, debug)
File "/test/CornerNet-Lite/core/sample/cornernet_saccade.py", line 169, in cornernet_saccade
border = [0, image.shape[0], 0, image.shape[1]]
AttributeError: 'NoneType' object has no attribute 'shape'

Not *.zip but *.jpg. And you also need create a folder named annotations which should contains instance_train/val{}.json for your training and testing.

Not *.zip but *.jpg. And you also need create a folder  in the coco dir named annotations which should contains instance_train/val{}.json for your training and testing.

Not *.zip but *.jpg. And you also need create a folder named annotations which should contains instance_train/val{}.json for your training and testing in the coco dir.

the following is my structure according to the document
+CornerNet-Lite
+data
+coco
+images
+trainval2014
+ *.jpg
+minival2014
+ *.jpg
+testdev2017
+ *.jpg
+annotations
-instances_trainval2014.json
-instances_minival2014.json
-instances_testdev2017.json
but I met the same problem.

i met the same issue,how to solve it? thanks

The reason why you meet this issue is that your model can't read the image successful. So carefully check the xxx.py in core/dbs. The original repo has no bug with that problem and I also successfully train the CornerNet-Lite on my own dataset. The only drawback is that the training speed is so slow :<

i met the same issue,how to solve it? thanks

do you hava solve it? i met the same issue.my structure is like yours.

do you hava solve it?

I had the same problem, and found the workaround of it.

trainval2014 <- jpgs from  train2014.zip  +  val2014.zip
minival2014 <- jpgs from  val2014.zip
testdev2017  <- jpgs from test2017.zip

Hi all, I met the same problem here. I only modified the gpu number and the rest of the codes are not touched.
It seems that the code is combining wrong pairs of directory and image image. For example, combining test directory with val image name, resulting in a wrong image file path.

I need help.I also meet this problem. Trying all the suggestions above,I can not get the true. ''NoneType' object has no attribute 'shape'' is being here whatever i do.


DRY style css

Description
You need refactor css file. click
Find repeating code and place to one class to reuse in all our web-page.
For instance

We use one font for all web-page, but you repeat this part of code in each class.
solution:

create independent class for font (and use it in all html file)
declare font for all component in page (tags: html, body, div, etc...)

need be attention, body property need declare above all component

Additional Info

DRY - Don't repeat yourself (a principle of software development), read about DRY in google or watch videio on YouTube
Read more about repeating code in google or watch video about this subject

Class выше тэга body ?

text-align: center  повторяется 4 раза

Цвет повторяется 4 раза


Input Map Deleted by Migration

Godot version
4.0.2.stable
System information
Windows 10
Issue description
Input Map values I had added and set were unset when I migrated to version 4.0.2.  Notably only keyboard mappings reset changed to "(Unset)" while mouse mappings remained.  Both "Key" and "Physical key" get reset, can reproduce test manually.
Steps to reproduce
Migrate project from 3.4.4-stable to 4.0.2-stable.
Minimal reproduction project
N/A -- Steps are creating project in 3.4.4 and adding function to input map and assigning key/physical key (both are unset), then running "Convert Full Project" to begin editting in 4.0.2.

I have the same issue. Godot 3.5.2 -> 4.0.2.
Thought this was just left out.

That's weird, because this was implemented by @Maran23 in https://github.com/godotengine/godot/pull/71753. There must be a bug in the conversion logic.

Yes, can confirm that. I just had a look and the conversion looks good, just for some reason the keycode is lost somehow?

Ok, the issue is very weird.
When converting the project using the executable file, e.g. Godot 4.0.2, all keycodes are set to 0, see also above.
But if you actually use the console command --convert-3to4, everything looks good and when starting the project all keys are there and fine.
Interestingly Godot asked me if I want to convert the project, although I did already via the --convert-3to4 command.
So: Conversion still works, but something is breaking the keycodes after? it. Something that does not run when using the --convert-3to4 command.


pluralize germplasm search request field GermplasmGenus to GermplasmGenera

Describes a " List of Genus names to identify germplasm". Plural Genera would fit better!
Related to #176

You are technically correct ... however I don't like this change because it makes things unnecessarily more confusing. I did a quick, informal poll around the office here and no one immediately knew what I meant by "germplasm genera". Also, #176 is about having consistency between the Germplasm Object and the Germplasm Search Request Object. "Genera" is technically the plural form, but this makes it less clear that "Genera" is linked to "Genus" in the Germplasm Object.
I am rejecting this change. If anyone feels strongly that this change needs to occur, please reach out to me.


Consider EIP-2612 permit() LP token support

Making sure all LP tokens support EIP-2612 can make LPs lives easier and save on gas by cutting out approval tx's, and make Saddle LP tokens more useful across the ecosystem

Duplicate of https://github.com/saddle-finance/tickets/issues/57

We're doing this with a few new tokens (tBTCv2, others) and should have an audited base contract  if you guys want it


Deneb why is diff between Vega and Vega-Lite?

good day
I've add Country, City and a measure CityQnty = distinctcount (City) to [Value] area of Deneb visual

When I choose Vega-Lite template [simple bar chart] and match 2 fields: Country and CityQnty I've got a perfect chart
When I choose Vega template [simple bar chart] and match 2 fields: Country and CityQnty I've got a strange chart where all bars = 1

Why It is so?
Thank you very much!

Hi there, and thanks for your issue. Please note that if you are looking for help with producing a visual, I do not have the capacity to offer free support. A number of resources where the community can potentially assist you are provided on Deneb's support page.
If you're reporting a bug, please ensure that you provide more details to help us replicate your problem or provide details such as a screenshot of video that can help us to understand. The information provided is perhaps not detailed enough, as for example, I just did a quick test with a column and measure in a workbook I have open (Location & Mean Temperature) and I get something that I'd expect, e.g.:

Looks like the Vega template sorts bars in descending order and the Vega-Lite template doesn't, but the bars are definitely correct for the measure.
This could be due to your dataset in either visual not being the same, as you should get the same results otherwise in terms of how your dataset looks to Deneb.
You can get a better idea of this by comparing both visuals by turning them into a core table visual and seeing how they are laid out. If they differ, you could possibly check to see if you're using implicit measures with a different aggregation, or one of your visuals may be being filtered by another one, resulting in one distinct value. Either way, it is hard to tell without clear, reproducible information from our end.
If you have ruled these issues out and still believe there is an issue, please provide some detailed steps to reproduce, with appropriate screenshots (or short video), and/or a copy of your workbook that reproduces the issue and myself or someone else can perhaps take a look and advise further (or fix if we find anything wrong). Note that if you wish to upload a .pbix here, please give it a .zip extension as GitHub only allows certain types of file extensions.
Many thanks,
Daniel

Thanks for the additional detail - I see the issue now.
The issue is down to the fact that you have more rows in your dataset than the template needs and Veg and Vega-Lite will encode them differently (due to them being different languages).
For example, the bar chart template needs one category field and one measure. You have added two category fields to your visual (Country and City). Power BI will create additional rows for the combination of these values, and if they are not catered for in your specification (e.g. encoded to a different attribute such as color), then the resulting chart may not display as you expect it to. The Vega-Lite chart in your workbook hints at this as well, e.g.:

The artefacts on each bar are the result of each row, rather than a consolidated bar as you might expect - Vega-Lite will stack marks if no encoding is supplied, so it's sort of what you're expecting (but not quite).
For the Vega situation, nothing is handled on your behalf, and you have to be more explicit. This is the nature of the language.
I have duplicated your visual and turned it into a table to illustrate the underlying data, and then repeated the process on the right, but removing the redundant City column. You can see that the chart is as expected, e.g.:

Hopefully the tables help to illustrate the issue, particularly seeing how Power BI groups and totals implicit measures. This is exactly how the data is supplied to Deneb, so this can be a good way of debugging the 'shape' of your data.
Read here to further understand row context in Deneb, but in short, don't add more fields than you need for a specific type of chart, or you will get unpredictable results like in this situation.
If you have further questions along these lines, I'd recommend following up on the places linked on Deneb's support page, particularly the Power BI Community forums if your questions are Deneb-specific. On any of these sites there is a larger pool of people who may be able to assist you more quickly than I can (as I develop and maintain Deneb in my free time and am not always able to provide support in a timely manner).
I hope this information is useful for you, and I wish you good luck on your visualisation journey. We've all been there, and it does get better with practice :)


Implements artificial light

Implements artificial light, like torchs and lamps using almost the same logic as natural light
Closes #33

I need to add more tests to see how natural and artificial lights interacts.

Added a failing tests when removing artificial light. Gonna fix it next.


Add an option to uglify

Hi,
I'm using babili-webpack-plugin, not webpack.optimize.UglifyJsPlugin to minify my JS (because babili supports ES6 left untranspiled by babel-preset-env). Could we add an option to turn minification on?

Okay, that makes sense. See my review :-)

Closed in #206.


Support routing in IoTHub

Add new commands for CRUD of Endpoints and Routes in IoTHub.
Add "Test" commands for route.
Update integration test.
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

Please rebase your change on latest dev so that we can review the changes. At this point, there are too many noises from the merged code from dev.


El 383 call cfe once

Link to the Jira ticket
Move the calls to CFE out of the individual handlers and into the /estimates_controller
Remove the CFE calls from the specs
Question: Is this the best way to do this? Any suggestions on refactoring? Or preferred alternatives?
Also where would tests for these sit? I am assuming in spec/controllers/estimates_controller_spec.rb but wasn't sure spec/requests was more appropriate.
Still to do: Add tests for the moved methods.
Checklist
Before you ask people to review this PR:
Tests and rubocop should be passing
Github should not be reporting conflicts; you should have recently run git rebase main.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

Ok, some broad opinions from me:
I'm not sure having so much logic in the controller is the right approach. I probably set a bad precedent by lazily stuffing the 'create applicant' logic into the EstimatesController. I think we're sliding towards the "fat controller" anti-pattern. The issue is that controllers are these very complicated objects that are closely tied to Rails-y, HTTP-y stuff. There are lots of 'secrets' in a controller - words you can't use because oops they overwrite some magic method or variable inherited from ApplicationController. Also I can't test them in isolation because I have no idea how to instantiate a controller instance.
So it would be safer, I think, to syphon all the CFE logic off into its own place, like a Service object, and that way the controller (or anything else), can call CfeService.call(estimate). That way it's reusable, testable in isolation, and easy to extract into its own gem or whatever if we ever want to.
It might be overkill, but you could even do what Apply does, and have a service object for each CFE endpoint. The CFE Submission Manager then iterates through each of them (they're packed into a ServiceSet array) and just fires them one by one. That way we can test each one in isolation if we need to.


More elegant way of finding the SNI

Searching for the double zero byte and then doing a regex is quite hack-ish.
Though it works safely, I'd still like a more "official" way.

I forked your repo and rewrote most of index.php
https://github.com/jornane/sni/blob/1d252b5b4f37f45749048eddc7d88723900618da/index.js

Hey @jornane, awesome work! :gem:
sni was one of my first modules, which I'm not really proud of in hindsight. Haha.
I added you as a collaborator for this repo. What's your npm handle, so I can add you there as well? :)

I registered for an npm account now, username is the same as my GitHub username.

Closed by #3.


Updates example apps

Coverage decreased (-0.04%) to 87.865% when pulling a5877cefe565493c692eec33021e50edbebd2712 on feature/demo-prep into b30ce7b0e1b1192a1f49eeece765860bd5f0a127 on master.

Coverage decreased (-0.04%) to 87.865% when pulling 04eb446e53d01aa13c08a7fa12540977221e0e30 on feature/demo-prep into b30ce7b0e1b1192a1f49eeece765860bd5f0a127 on master.

Coverage decreased (-0.04%) to 87.865% when pulling 56ce4423a8eb2ce28dbcb0aaef6bc01b04b0e1b8 on feature/demo-prep into b30ce7b0e1b1192a1f49eeece765860bd5f0a127 on master.

Coverage decreased (-0.04%) to 87.865% when pulling 7771f0aff89181f5a9d5f8d50941bba64c89b0dd on feature/demo-prep into b30ce7b0e1b1192a1f49eeece765860bd5f0a127 on master.

Coverage decreased (-0.04%) to 87.865% when pulling 7771f0aff89181f5a9d5f8d50941bba64c89b0dd on feature/demo-prep into b30ce7b0e1b1192a1f49eeece765860bd5f0a127 on master.


worm - freeze upon collecting 8th point

No longer happens in openfpga-varvara 0.0.3 with latest worm.rom


Remove benchmark code in GPU test.

We have dedicated benchmark code for it now.

Before we merge this PR, we should migrate the code to https://github.com/dmlc/xgboost-bench.

@hcho3 The bench code removed is not really useful.  We have gbm-bench for dealing with GPU benchmark.  It's also duplicated with tests/benchmark in XGBoost's source tree.

I will try to upstream some more code to xgboost-bench later.  They should be more realistic than the one removed in this PR.

Although I'm not sure why are we splitting up the benchmark from main repo.

@trivialfis I adopted @RAMitchell's suggestion in https://github.com/dmlc/xgboost/pull/5126#issuecomment-566254927: benchmark should be hosted in a separate repository that is neutrally-hosted.

@trivialfis I opened a new discussion thread: https://github.com/dmlc/xgboost/issues/5142

Lets look to phase out tests/benchmark as well. These are more like convenience scripts used by a few individuals than a properly documented benchmark.


Rename SOMAArrayReader to SOMAArray

Split-off from https://github.com/single-cell-data/TileDB-SOMA/issues/1240

Implemented by #1283.


Wrong GitHub link in README

### Getting the project
...
$ go get -u github.com/ardanlabs/gotraining

Should be
### Getting the project
...
$ go get -u github.com/ardanlabs/service

ugh :(

Fixed by f7de8df