Preserve cause-chain of errors propagated from rust -> c++ -> rust

use anyhow::{anyhow, Result};

#[cxx::bridge]
mod ffi {
    extern "C" {
        include!("repro.h");
        fn cthing() -> Result<()>;
    }

    extern "Rust" {
        fn rustthing() -> Result<()>;
    }
}

fn rustthing() -> Result<()> {
    Err(anyhow!("no such file or directory").context("failed to open: /nonexist"))
}

fn main() -> Result<()> {
    ffi::cthing()?;
    Ok(())
}

// repro.cc

void cthing() {
  rustthing();
}

This currently loses the cause chain and only prints:
Error: failed to open: /nonexist

Strongly related to this: in our projects we basically use Result and C++ exceptions to carry strings that are displayed to the user.  I really strongly prefer the anyhow formatter "{:#}" - but it looks like cxx-rs is hardcoded to use the default Display implementation.
Currently the inverse path C++ exception :arrow_right: Rust Result can be customized.
Maybe something as simple as
#[cxx::bridge(namespace = "demo")]
mod ffi {
    const ERROR_FORMAT = "{:#}";
}

Or, just switch to doing that by default?
Or, support a injecting a custom Rust function like
#[cxx::bridge(namespace = "demo")]
mod ffi {
    fn map_err(e: Error) -> String { format!("{:#}", e) }
}

?
(Conceptually this is a separate problem from actually preserving the cause chain, I can file a new issue if you prefer)

Strongly related to this: in our projects we basically use Result and C++ exceptions to carry strings that are displayed to the user.  I really strongly prefer the anyhow formatter "{:#}" - but it looks like cxx-rs is hardcoded to use the default Display implementation.
Currently the inverse path C++ exception :arrow_right: Rust Result can be customized.
Maybe something as simple as
#[cxx::bridge(namespace = "demo")]
mod ffi {
    const ERROR_FORMAT = "{:#}";
}

Or, just switch to doing that by default?
Or, support a injecting a custom Rust function like
#[cxx::bridge(namespace = "demo")]
mod ffi {
    fn map_err(e: Error) -> String { format!("{:#}", e) }
}

?
(Conceptually this is a separate problem from actually preserving the cause chain, I can file a new issue if you prefer)


Error in testing

@Snarendranath Is there any information about the error?

I also encounter error in testing. The testing command is :
python test.py \ --experiment_name my_exp_name \ --test_int 1.0
The error message is as follows:
Traceback (most recent call last):   File "test.py", line 69, in <module>     te_data = data.Celeba('./data', atts, img_size, 1, part='test', shuffle=False, sess=sess, crop=not use_cropped_img)   File "/home/qping/AttGAN-Tensorflow-master/data.py", line 280, in __init__     repeat=repeat)   File "/home/qping/AttGAN-Tensorflow-master/data.py", line 70, in disk_image_batch_dataset     map_func_, num_threads, shuffle, buffer_size, repeat)   File "/home/qping/AttGAN-Tensorflow-master/data.py", line 24, in batch_dataset     dataset = dataset.map(map_func, num_parallel_calls=num_threads)   File "/home/qping/tensorflow/venv/local/lib/python2.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 853, in map     return ParallelMapDataset(self, map_func, num_parallel_calls)   File "/home/qping/tensorflow/venv/local/lib/python2.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 1870, in __init__     super(ParallelMapDataset, self).__init__(input_dataset, map_func)   File "/home/qping/tensorflow/venv/local/lib/python2.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 1839, in __init__     self._map_func.add_to_graph(ops.get_default_graph())   File "/home/qping/tensorflow/venv/local/lib/python2.7/site-packages/tensorflow/python/framework/function.py", line 484, in add_to_graph     self._create_definition_if_needed()   File "/home/qping/tensorflow/venv/local/lib/python2.7/site-packages/tensorflow/python/framework/function.py", line 319, in _create_definition_if_needed     self._create_definition_if_needed_impl()   File "/home/qping/tensorflow/venv/local/lib/python2.7/site-packages/tensorflow/python/framework/function.py", line 336, in _create_definition_if_needed_impl     outputs = self._func(*inputs)   File "/home/qping/tensorflow/venv/local/lib/python2.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 1802, in tf_map_func     ret = map_func(*nested_args)   File "/home/qping/AttGAN-Tensorflow-master/data.py", line 63, in map_func_     return map_func(*parse_func(*args))   File "/home/qping/AttGAN-Tensorflow-master/data.py", line 248, in _map_func     img = tf.image.resize_images(img, [img_size, img_size]) / 127.5 - 1 TypeError: unsupported operand type(s) for /: 'Tensor' and 'float'
I also tried commenting out the from __future__ import division at the head of test.py, but the error persists.
Thank you for your help!

Also, the training and eval worked perfectly fine for me. Only error in testing.

@ChanningPing Have you modified the code? Such error looks really strange.

@ChanningPing Maybe it's because you removed tf.clip_by_value(img, 0, 255). You can print the type of the variable and see what's the difference before and after tf.clip_by_value(img, 0, 255), and employ a type conversion.


Update stable docker versions

Pull requests:

https://github.com/senzing-factory/dockerhub-util/pull/130


Add Books and details to Non-fiction, Comedy and Detective-fiction.

Related Issue
fixes #4554
Description
This PR adds books and their details to Non-fiction, Comedy and Detective-fiction. genre
issue #4554
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist:

[X] I have made this change from my own.
[ ] I have taken help from some online resources.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

change the navbar and footer of these pages . chk https://swapreadsconnect.netlify.app/assets/html/fantasy page . like this page.

@abhi03ruchi done the changes, Please check!

hey @abhi03ruchi done the toggle button changes here!


fix: blockTag requests

Test the fetching with a blockTag that is not "latest", this doesn't seem to be working (example in the tests).
Description of change

Pull-Request Checklist

[ ] Code is up-to-date with the main branch
[ ] This pull request links relevant issues as Fixes #0000
[ ] There are new or updated unit tests validating the change
[ ] Documentation has been updated to reflect this change
[ ] The new commits follow conventions outlined in the conventional commit spec

The bug was coming from here
Ive dropped the ethers-multicall in favor of ethers-multicall-provider


Cache finalReducerKeys.length to optimize perf

In src/combineReducers.js, the finalReducerKeys.length won't change. So to optimize performance, it would be better to cache it.
This is related to #3085.

Thanks, but in v8 at least (probably others) this wont have a performance impact. There is a fast path optimization for .length access on Arrays, so it essentially compiles down to this form anyways.


[WIP] Text processing fixes

What does the pull request do?

Fourth round of text processing fixes
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[x] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes: #8070

You can test this PR using the following package version. 0.10.999-cibuild0020451-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0020463-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0020791-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Is the Dataset available?

Hi,
Thanks for a great paper and for making the code public!
When I run the code "is_cubic_visualize", I get the following error:
[Errno 2] No such file or directory: 'data/train.csv'
I believe this is because the dataset is not uploaded to Github. Is the dataset public available?
Kind regards
Andy

Hi, Andy.
I'm sorry for the very late reply.
Yes, the dataset is available. But we provide it via cloud storage because it is too big to put on GitHub.
The dataset will be automatically downloaded when you run symmetry_prediction.ipynb.
https://github.com/quantumbeam/xrd-symmetry-prediction/blob/main/notebooks/symmetry_prediction.ipynb
You can download it manually if needed. Please refer the cell 3 in the notebook.
I will add a note to the README about how to run the notebooks.
Yuta

Dear Yuta,
That make sense, I overlooked that.
Thank you very much!
Kind regards
Andy
Den 1. maj 2021 kl. 19.26 skrev Yuta Suzuki<EMAIL_ADDRESS>Hi, Andy.
I'm sorry for the very late reply.
Yes, the dataset is available. But we provide it via cloud storage because it is too big to put on GitHub.
The dataset will be automatically downloaded when you run symmetry_prediction.ipynb.
https://github.com/quantumbeam/xrd-symmetry-prediction/blob/main/notebooks/symmetry_prediction.ipynb
You can download it manually if needed. Please refer the cell 3 in the notebook.
I will add a note to the README about how to run the notebooks.
Yuta
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/quantumbeam/xrd-symmetry-prediction/issues/1#issuecomment-830665691, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ2KJGZ44J2VGF27G2FLKX3TLQ2SZANCNFSM4WPR4FQA.


swarmctl does not return in multiple managers environment

When trying to reject a node already in a cluster, swarmctl doesn't return. Similar problem with remove, pause, drain node.
Cluster is set up with docker integration https://github.com/docker/docker/pull/23362.
dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node ls
ID             Name  Membership  Status  Availability  Manager status
--             ----  ----------  ------  ------------  --------------
1awuz66ikj9vd  vm2   ACCEPTED    READY   ACTIVE        REACHABLE *
281iee3xb1z1b  vm3   ACCEPTED    READY   ACTIVE
3t9ft91gotlov  vm4   ACCEPTED    READY   ACTIVE        REACHABLE

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node reject vm3
^C

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node remove vm3
^C

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node pause vm3
^C

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node drain vm3
^C

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock version
./swarmctl github.com/docker/swarmkit 5592f68

dchen@vm2:~$ ~/docker-1.12/docker version
Client:
 Version:      1.12.0-dev
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   f0b540d
 Built:        Wed Jun  8 22:39:33 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0-dev
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   f0b540d
 Built:        Wed Jun  8 22:39:33 2016
 OS/Arch:      linux/amd64

@dongluochen By any chance, is the manager stuck?

The manager seems to lost other nodes at raft level DEBU[4111] vm2: Initiating bulk sync with nodes []. Service create also gets stuck. But node ls, inspect are working.
root@vm2:/# swarmctl -s /var/lib/docker/swarm/control.sock node ls
ID             Name  Membership  Status  Availability  Manager status
--             ----  ----------  ------  ------------  --------------
1awuz66ikj9vd  vm2   ACCEPTED    READY   ACTIVE        REACHABLE *
281iee3xb1z1b  vm3   ACCEPTED    READY   ACTIVE
3t9ft91gotlov  vm4   ACCEPTED    READY   ACTIVE        REACHABLE

@aluzzardi The problem arises when there are 2 managers. They are fine with single manager.

ping @abronan

@dongluochen What if you use 3 managers or more? Can you please output the full debug log of the managers? That would be helpful. Also sending a SIGABRT on the manager that you are querying to see where this blocks with the stack trace.

@abronan I lost the set up. I recreated a 2 manager cluster but it's working now. The suspicious thing is vm2: Initiating bulk sync with nodes []. It looks the membership was broken but it was not reported properly.

@dongluochen thanks for the update.
/cc @jpetazzo I think you ran into the same issue right? Especially the Initiating bulk sync with nodes part. Do you still have a cluster up and running with the issue?

@abronan: I don't know if it's the same issue! I had a task that remained in ACCEPTING for a while, but now (a couple of hours later) it is RUNNING. However I still have a bunch of lines like this in the logs of the Engine:
Jun 09 17:54:16 ip-172-31-19-35 docker[24374]: time="2016-06-09T17:54:16.734937349Z" level=error msg="Bulk sync to node ip-172-31-19-39 timed out"
Jun 09 17:54:16 ip-172-31-19-35 docker[24374]: time="2016-06-09T17:54:16.738491338Z" level=error msg="Bulk sync to node ip-172-31-19-39 timed out"
Jun 09 17:54:47 ip-172-31-19-35 docker[24374]: time="2016-06-09T17:54:47.621241775Z" level=error msg="Bulk sync to node ip-172-31-19-36 timed out"
Jun 09 17:54:48 ip-172-31-19-35 docker[24374]: time="2016-06-09T17:54:48.331440454Z" level=error msg="Bulk sync to node ip-172-31-19-38 timed out"
Jun 09 17:55:15 ip-172-31-19-35 docker[24374]: time="2016-06-09T17:55:15.764598785Z" level=error msg="Bulk sync to node ip-172-31-19-37 timed out"

If you want access to the cluster, ping me on Slack, I can share it for sure.

Close it because I cannot reproduce.


GsUpgrader download stalls

Of course with all of the mucking about that wen into fixing the recently appearing hangs and then the need to include the patch in GsUpgrader ... now I've had a build hang during the download of GsUpgrader ... will wonders never cease!

If the system didn't hang forever, (7 minutes before I kiiled the job) with a 20 second timeout...


Shortcut Keys on corresponding tooltips

 Issue by brianschamel
Tuesday Mar 07, 2017 at 21:28 GMT
Originally opened as https://github.com/CQUI-Org/cqui/issues/376

For example, when hovering above the end turn button, it could read "End Turn (Space)" instead of just "End Turn", and similar for other buttons with hotkeys

 Comment by chaorace
Wednesday Mar 08, 2017 at 16:37 GMT

Alright, if anyone has further suggestions for in-game shortcut keys to be added to their respective tooltips, please say so here. I know of all the tooltips I've added, but I'm sure there's lots of undocumented vanilla shortcut keys as well!


Better dev enviroment

I copy pasted a buch of stuff from beamdev over and removed all the beam specific things.
This adds focusdev start which will start a blaze a running beam network and a lazily build focus.
When this is startet and you just need to try a new focus built I added a focusdev restart which rebuilds focus and attaches it to the already running compose with the new image.
I also removed the CI specific Dockerfile and replaced it with a build arg with a default like in beam.
This also lays the ground work for running actual integration tests in CI.
Also @enola-dkfz you may want to add some logic to focusdev start which populates the blaze with data for better testing.

Thanks! Consider integrating the new distroless containers based on Debian 12, see https://github.com/GoogleContainerTools/distroless


[Query] Synchronous function using then-request ??

I want to write a synchronous function, which return the rest response which it receive from server.
For example:
var request = require('then-request');
function get(address) {                           ------->  address = http://www.google.com
    request('GET', address).done(function (res) {
        console.log(res.getBody());
    });
   console.log("This should be executed after receiving the response from the server");
}

The above function should exit only when it receive response from the server.... In other words: printing of "This should be executed after receiving the response from the server" should be done after receiving the response from server that is after printing res.getBody()
I am not sure about the working of then-request will it provide this feature by default or there is any other way to do this ?

Hello @ForbesLindesay ,
Can you provide your opinion ?

Yes, you can use https://github.com/ForbesLindesay/sync-request - but please don't unless you are sure you meet one of the valid use cases: CLIs, test scripts etc. never use this in production, even if it's just an internal tool/demo project.


Add Audacity to Terra

Merged to: https://github.com/juno-fx/Terra-Official-Plugins/tree/pack-additional-software
Closing.


Update kotlin logo on userguide

Original logo from here: https://kotlinlang.org/docs/kotlin-brand-assets.html
Modified SVG for resizing and also changed color scheme to match existing logo.
Before:

After:

@bot-gradle test BD

OK, I've already triggered the following builds for you:

BuildDistributions build

Rendered page: https://builds.gradle.org/repository/download/Gradle_Master_Check_BuildDistributions/54283746:id/distributions/gradle-7.6-all.zip!/gradle-7.6-20220726212723%2B0000/docs/userguide/userguide.html

@jvandort How about a little simplification of the icon from this:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="85px" height="85px" viewBox="0 0 85 85" version="1.1">
  <defs>
    <linearGradient id="linearGradient-0" gradientUnits="userSpaceOnUse" x1="500.0035" y1="579.1058" x2="-0.096538" y2="1079.2058" gradientTransform="matrix(0.169966,0,0,0.169966,0.0164082,-98.4283)">
      <stop offset="0" style="stop-color:#377078;stop-opacity:1;" />
      <stop offset="1" style="stop-color:#5CD2DF;stop-opacity:1;" />
    </linearGradient>
  </defs>
  <g id="surface1">
    <path style=" stroke:none;fill-rule:nonzero;fill:url(#linearGradient-0);" d="M 80 80 L 5 80 L 5 5 L 80 5 L 40 40 Z M 80 80 " />
  </g>
</svg>

to this:
<svg version="1.1" width="85px" height="85px" viewBox="0 0 85 85" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <linearGradient id="gradient" gradientUnits="userSpaceOnUse" x1="0" y1="85" x2="85" y2="0">
      <stop offset="0" stop-color="#5CD2DF"/>
      <stop offset="1" stop-color="#377078"/>
    </linearGradient>
  </defs>
  <path fill="url(#gradient)" d="M 80 80 L 5 80 L 5 5 L 80 5 L 40 40 Z M 80 80"/>
</svg>

@mahozad Sure, if it renders the same then the simpler the better. Would you mind pushing that change up to this branch, and then I'll kick off a build?

The simplified icon renders the same.
Sorry. It seems I cannot directly push to branches of gradle repository.
A sidenote: The Android logo seems to be outdated too.

Thank you. No problem. Would you mind do it yourself?.

Yes, or couse. Thank you for helping out here

@bot-gradle test BD

OK, I've already triggered the following builds for you:

BuildDistributions build

Rendered output:
https://builds.gradle.org/repository/download/Gradle_Master_Check_BuildDistributions/54332097:id/distributions/gradle-7.6-docs.zip!/gradle-7.6-20220727223946%2B0000/docs/userguide/userguide.html

@bot-gradle test and merge

OK, I've already triggered a build for you.


log os-pid on startup; extend memory statistics

Fixes
N/A
Proposed changes

Log the operating-system PID on startup to help correlate Swish logs with other system logs.
Add current-memory-bytes and maximum-memory-bytes to the statistics we log.

Question

Is it reasonable to call reset-maximum-memory-bytes! at each <statistics> event?

The debug web page update looks good.

Thanks for the reviews!


Accuracy issue with logapprox_d using single precision

Bonjour. I'm re-implementing your functions using vectorclass because my compiler (Visual Studio 2017) doesn't like the log and exp union tricks and refuses to vectorize them. Doing so I've templated the functions so it can be used with SSE, AVX or AVX512 types, and also single or double precision.
The more precise approx_d versions for exp, sin and cos all seem to work with single precision arithmetic, although yielding negligible improvements in accuracy. For log however, the accuracy is way off. I'm using the beginning of the logapprox function for single precision, combined with polynomial of the double precision.
Would you have any insight into why this is happening? My first guess would be floating point error/instability. If that's the case, maybe the order of the polynomial terms could be altered to avoid cancellations or round errors.

What kind of inaccuracy are you observing? Could you show a plot of the absolute error for inputs between 1 and 4 ?
Note that contrarily to exp, sin and cos, the log function is difficult to approximate using polynomials. It may result that the polynomial chosen are rather unstable numerically. Another possible problem lies in the computation addcst + 0.693147180559945309*exp, which basically adds two numbers which are close to being opposite, which is not good for accuracy.
One last comment: my experiments shows that mixing single and double precision computation in vectorized loops is usually not such a good idea, because the instructions that convert between single and double precision tend to be rather slow.

The error is more or less constant for all inputs, approximately 0.54408.
I'm not mixing and converting between single and double precision. I templated the function, but because of the exp, addcst and the union trick I have to handle the two cases separately. I use compile-time mechanisms to switch between the logapprox (s.p.) and logapprox_d (d.p.) tricks depending on the input template type, but using the same polynomial.

I have not seen your code, but if the error is constant for all inputs, then this is probably a matter of changing the value of addcst accordingly. You probably failed computing the right value for it.


Set mydaodashboard.eth as domain name

Can you explain more about what this means?
What ETH address would you like mydaodashboard.eth to resolve to?
Do you mean for the mydaodashboard DAO, or for something else?

Until it is hosted via IPFS, it should resolve to mydaodashboard.com


add debug arg to parser for disk zap

Resolves https://tracker.ceph.com/issues/22871.
Signed-off-by: Ryan Leimenstoll<EMAIL_ADDRESS>

Can one of the admins verify this patch?

This looks great. Thanks for fixing this! Would you mind prepending the ticket like described here
https://github.com/ceph/ceph-deploy/blob/master/CONTRIBUTING.rst#commits

Great! And yes, my bad I missed that. Fixed the commit in this branch to use the ticket convention.


Webviews are not clickable in insiders.vscode.dev

Steps to Reproduce:

open a PR in insiders.vscode.dev or open a Notebook and run some cells
try to interact with the webview or output

I can't click on anything inside.
I only have these extensions activated:

What browser and OS?

Edge Dev, macOS... can't seem to repro anymore. A restart fixed it. It felt like this happened after the 1.76 release

If this happens again, please try inspecting the iframe area first to make sure there is no invisible element on top of it
If it still isn't working, try disabling the sleeping tabs feature in Edge. I wonder if that could be putting the iframe to sleep and then failing to revive it

I have same issue. I added a webview next to the explorer view, and the webview cannot be clickable. I have inspect the dom Elements, and there is no elements on top of it.

same to me. on Chrome 111.0.5563.64 , macOS.  restart  browser may help and there is no invisible element on top of it

Even cannot use chrome's inspect tool to inspect the webview element:

By the way, when the problem occurs, after the browser is completely exited and then reopen it, there is a certain probability to solve the problem. @mjbvz

this may happen when vscode itself on one domain (like https://www.a.com) but extension's  iframe on another domain( both extension and webview,  like https://www.b.com). @mjbvz


Added Manacher's Algorithm

Fixes issue:

Changes:

Inside the string algorithm folder added the new string algorithm named Manacher's Algorithm in the cpp language.

Done with the updates please merge the PR. And do let me know if any changes needed.

yes added the readme in the respective folder of manacher's algo.


Add Textures Unlimited

This is today's "StarMod". #6046 currently includes a bundled copy, so we should probably resolve this one before that gets merged.
Permission from author:

https://forum.kerbalspaceprogram.com/index.php?/topic/167450-131-textures-unlimited-pbr-shader-texture-and-model-api-11-11-17/&do=findComment&comment=3224004

@shadowmage45, this isn't going to index anything yet because CKAN skips GitHub pre-releases. Do you anticipate a long testing period before a full release?

Might be a few weeks before I untick the pre-release box.  Still some fairly bad outstanding issues that need to get cleaned up.
Will be at least one more week, possibly two, depending on if I can get people to cooperate and give me the information needed to debug some of the stuff.

#rebuild

#rebuild


Add default handler

In order to integrate to yarpc-java, I need a default handle which can take whatever requests that doesn't have corresponding endpoint.

lgtm


fix(validators): add optional displayName to ComponentTreeNode [ALT-780]

Purpose
Adds an optional displayName field to the ComponentTreeNode type.

We can use this field to allow custom names to be set for each component instance on the canvas or layer.

Reviewer
For a cleaner diff, use the 'Hide whitespace' option in the diff settings on the File Changes tab.

I would say this PR/commit shouldn't be a fix but a feat.

I would say this PR/commit shouldn't be a fix but a feat.

Agree on this


AKS dashboard permissions

I am getting permission errors when I access my cluster dashboard. I created a managed cluster through aks.
Kubernetes version: 1.17.0
kubectl version: 1.17.2
Relevant documentation:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-dashboard
I can access the dashboard with a token obtained from the script below:
#!/bin/bash
SECRET_NAME=$(kubectl get secrets -n kube-system | grep ^kubernetes-dashboard-token | cut -f1 -d ' ')
TOKEN=$(kubectl describe secret -n kube-system $SECRET_NAME | grep -E '^token' | cut -f2 -d':' | tr -d " ")

echo $TOKEN

When I login into the dashboard in the top right corner I get error notifications, mostly of the form "cannot list resource".
Following the guide I linked to above I tried running:
kubectl create clusterrolebinding kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard

But I get the following error:
Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "kubernetes-dashboard" already exists

I haven't modified anything related to the dashboard in my cluster.
Here is my clusterrolebinding for kubernetes-dashboard
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"rbac.authorization.k8s.io/v1","kind":"ClusterRoleBinding","metadata":{"annotations":{},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile","k8s-app":"kubernetes-dashboard"},"name":"kubernetes-dashboard"},"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"kubernetes-dashboard-minimal"},"subjects":[{"kind":"ServiceAccount","name":"kubernetes-dashboard","namespace":"kubernetes-dashboard"}]}
  creationTimestamp: "2020-02-07T20:46:13Z"
  labels:
    addonmanager.kubernetes.io/mode: Reconcile
    k8s-app: kubernetes-dashboard
  name: kubernetes-dashboard
  resourceVersion: "414"
  selfLink: /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/kubernetes-dashboard
  uid: ed1ac789-9edc-44dd-ac43-ee0913adae09
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: kubernetes-dashboard-minimal
subjects:
- kind: ServiceAccount
  name: kubernetes-dashboard
  namespace: kubernetes-dashboard

I tried to manually edit this but made no progress. I'm going to rebuild the cluster soon anyways so if all else fails I'll try to delete and create the rolebindings.

Can you let us know the version of kubectl and azure cli, which you used.

az version:
{
  "azure-cli": "2.0.81",
  "azure-cli-command-modules-nspkg": "2.0.3",
  "azure-cli-core": "2.0.81",
  "azure-cli-nspkg": "3.0.4",
  "azure-cli-telemetry": "1.0.4",
  "extensions": {}
}

kubectl version (I deleted the cluster already since it was costing money, I plan to make another one this week):
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.2", GitCommit:"59603c6e503c87169aea6106f57b9f242f64df89", GitTreeState:"archive", BuildDate:"2020-01-25T21:52:51Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}

Kubectl was connected to the cluster already. I used the following command to connect, as per the guide (https://docs.microsoft.com/en-ca/azure/aks/tutorial-kubernetes-deploy-cluster):
az aks get-credentials --resource-group myResourceGroup --name myAKSCluster

Thanks for the details. Did you run the command get-credentials before creating the binding?
az aks get-credentials --resource-group --name
Did you get a chance to take a look at this issue #46893?

I ran get-credentials right after I initialized the cluster through the Azure dashboard. I didn't create any bindings myself that would be related to the cluster dashboard. I attempted to modify the rolebinding related to the dashboard manually but couldn't.
I took a look at #46893 but I don't think it's relevant in this case, I don't get any stack traces dumped when I run the commands. Just to clarify I did manage to login to the dashboard but I couldn't see anything due permission errors. I think this is mainly a rbac issue with the documentation lagging behind the defaults in kubernetes 1.17.0 .

Could you confirm you you have enabled RBAC with Azure AD ?
Also, please provide the following output
kubectl describe clusterrolebinding kubernetes-dashboard

Since you have RBAC enabled, by default the dashboard won't have any access.
We would need to verify the content of the clusterRoleBindings
kubectl describe clusterrolebinding kubernetes-dashboard
to ensure that you have the right settings.

Is there any update?

We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.

something urgent came up, I'll provide the information you requested soon

Same here, getting "already exists" after trying to add the binding.
Followed the documentation.
PS C:\test\k8s\aks> kubectl create clusterrolebinding kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard
>>
Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "kubernetes-dashboard" already exists

@Karishma-Tiwari-MSFT I am experiencing this issue on any version of AKS above 1.15.
The error message reported in notifications on the dashboard is
deployments.apps is forbidden: User "clusterUser" cannot list resource "deployments" in API group "apps" in the namespace "default"

Furthermore, kubectl describe clusterrolebinding kubernetes-dashboard describes the following rolebindings
Name:         kubernetes-dashboard
Labels:       <none>
Annotations:  <none>
Role:
  Kind:  ClusterRole
  Name:  cluster-admin
Subjects:
  Kind            Name                  Namespace
  ----            ----                  ---------
  ServiceAccount  kubernetes-dashboard  kube-system

How do I determine the role given to clusterUser, because a proper role does clearly exist.


Stateful writer improvements [7925]

While checking #1062, I discovered that we could save some CPU usage with the changes on this PR. Note that it does not fix the issue, but I saw some improvement.

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Windows gave stderr: fatal: reference is not a tree: 9c2c071f1733d8fa0afe19bf73560d36af2476d1, due to #859 being merge just before build started, relaunching:

Windows

Build status:

Linux
Mac
Windows


Glass upright readme

Glass upright example readme

Did you mean to close?

Did you mean to close?

Yes I opened a new one as this contain some duplicated commits


Beautify  the README with badges and  heading centered

Is your feature request related to a problem? Please describe.
I would like to beautify the readme file with badges and making the header center and improving little which gives it a stunning look since readme file is the thing people see first and notice
Describe the solution you'd like
I would like to beautify the readme file with badges and making the header center and improving little
Describe alternatives you've considered
I am already experienced in making the readme file look nice
Additional context

@harsh-9in
Kindly assign me this issue

go ahead :+1:

hey @harsh-9in please assign me this issue, I have already made it and ready to push.

hey @harsh-9in please assign me this issue, I have already made it and ready to push.

hey @harsh-9in please assign me this issue, I have already made it and ready to push.

@Rishikeshrajrxl
First go read the rules of DWOC ,

the issue is assigned is to the person who create the issue
you can't push , don't violate the rules @Rishikeshrajrxl

hey @harsh-9in please assign me this issue, I have already made it and ready to push.

@Rishikeshrajrxl
First go read the rules of DWOC ,

the issue is assigned is to the person who create the issue
you can't push , don't violate the rules @Rishikeshrajrxl

hey @harsh-9in please assign me this issue, I have already made it and ready to push.

@Rishikeshrajrxl
First go read the rules of DWOC ,

the issue is assigned to the person who opens the issue
you can't push, don't violate the rules @Rishikeshrajrxl

@akrish4  I am not pushing any code without being assigned, so please stay calm.

hey @harsh-9in please assign me this issue, I have already made it and ready to push.

@Rishikeshrajrxl
First go read the rules of DWOC ,

the issue is assigned to the person who opens the issue
you can't push, don't violate the rules @Rishikeshrajrxl

@akrish4  I am not pushing any code without being assigned, so please stay calm.

Calm down buddies as this was assigned to @akrish4 so his pr will be considered, @Rishikeshrajrxl plz try another issue which is not assigned.

Calm down buddies as this was assigned to @akrish4 so his pr will be considered, @Rishikeshrajrxl plz try another issue which is not assigned.


Cloudfront blocking websocket

No messages are getting through (in prod).

Initial setup messages get through, but payments aren't being detected.

WS_AUTH_KEY was missing in the config.


End-to-end Auto Mesh Gen - Iteration 01

This iteration will focus on creating the first end-to-end 3D mesh and organization of the first paper.
Minimum Viable Product:
River Mesh

[x] To be able to convert RiverMapper outputs into quadrangular/triangular meshes that keep the connectivity

Ocean Mesh

[x] To use predefined ocean meshes

FloodPlain Mesh

[x] To OCSMesh generated floodplain mesh

Mesh Merging and Refinement

[x] The final mesh must be free of errors (can be open on SMS without raising any warning)

Vertical Grid

[ ] Use some vertical grid generator (either from pyschism or we implement it new on OCSMesh)

Testing - VIMS

[ ] This mesh is validated against COOPS stations. No expectation for high skill for now.

Publications

[x] Submit AGU abstract
[ ] Put together the first draft of the Ocean Modeling paper

Nice To Have:
Vertical Grid

[ ] To use LSC2
[ ] To update the PySCHISM to take variable parameters

Ocean Mesh

[ ] To create functions for identifying island/eddy/non-eddy regime areas

Testing - VIMS

[ ] To run and test the mesh for different storms and variables other than just tides.

The latest OCSMesh PR includes functions that will be needed to complete this Iteration, including:
clip_elements_by_index #based on previous river-in-mesh code from Soorosh
cleanup_skewed_el #based on elements internal angles, removes both tria and quad
cleanup_concave_quads
quadrangulate_rivermapper_arcs #based on RiverMapper diagnostic arcs


docs: Update build instructions

I've been working on updating the whole README.md and also, the changes are suggested are not aligned with how the builds should be usually done, specifically CHECK_DEPENDENCIES_UPDATED=false.
The PR is appreciated but it's not viable in it's current form. I'll make sure to update it, as the one who manages the build system, when I have the time to finish the draft.
If anyone is interested in the draft, it's over at this branch.
It's still incomplete and likely to change, but it if I recall correctly, it is now sufficiently up-to-date until, excluding, the "Managing contracts" section.


do keyword does not appear in auto-complete list

All the rest of the keywords look good, but do is missing.

Closing as this is from language-purescript, copied to linked issue

@dkoontz should be there now!

Thanks!


GH-3135 : Adding new ListenerContainerRegistry.getListenerContainersMatchingId(Predicate) for easier usage.

Resolves #3135

I've updated the author list and added documentation for the new feature in whats-new.adoc and kafkalistener-lifecycle.adoc.
I noticed there seems to be limited documentation on KafkaListenerEndpointRegistry, particularly methods like getListenerContainers() and getListenerContainer(String). I can
address this in a future PR to enhance docs further. WDYT, @artembilan?

Sure! You can add those couple sentences just in this PR. We have a release on Monday, so it will be reviewed immediately .
Thanks

Added some more doc as discussed 👍🏼 cc. @artembilan


Pub build hangs during CI build, local is fine

My CI build keeps hanging during pub build.
Strange thing is that build completes on my local dev with same dart/angular versions
When running the command on CI server with --verbose the following message gets repeated endlessly:
FINE: [Fine from BuilderTransformer: Instance of 'TemplatePlaceholderBuilder' on angular_router|primary]:
    | Not yet complete after 20.0s, waiting on input(s) angular|lib/angular.dart, angular|lib/src/core/linker/component_resolver.dart
FINE: [Fine from BuilderTransformer: Instance of 'TemplatePlaceholderBuilder' on angular_forms|primary]:
    | Not yet complete after 20.0s, waiting on input(s) angular|lib/angular.dart, angular|lib/src/facade/lang.dart
FINE: [Fine from BuilderTransformer: Instance of 'TemplatePlaceholderBuilder' on app|primary]:
    | Not yet complete after 20.0s, waiting on input(s) angular|lib/angular.dart, angular_forms|lib/angular_forms.dart, angular|lib/core.dart, angular|lib/security.dart, angular_router|lib/angular_router.dart
FINE: [Fine from BuilderTransformer: Instance of 'LibraryBuilder' on angular|primary]:
    | Not yet complete after 20.0s

I'm using the following pubspec
name: app

environment:
  sdk: '>=1.24.0 <2.0.0'

dependencies:
  angular: ^4.0.0
  angular_router: ^1.0.2
  angular_forms: ^1.0.0
  dartson:
    git: https://github.com/daniel-v/dartson.git
dev_dependencies:
  browser: ^0.10.0
  dart_to_js_script_rewriter: ^1.0.1
transformers:
- dartson
- angular:
    entry_points:
    - web/index.dart
- dart_to_js_script_rewriter
web:
  compiler:
    debug: dartdevc

I'm seeing other topics that seem closely related (#626 / #594)

I also struggled with this.
After numerous attempts and days of failure I finally found the solution for this in my setup.
I had a lot of dart files in my "web" directory, also components for angular. Pub build hang until I moved most of the dart files into "lib." Maybe you can try that?
After the build was running again , pub showed me errors again. I see that you also use dartson. This and it's annotations @Entity and @Property caused errors so I removed it and I'm moving to the built_value package now.


Callback throwing an exception when inside pattern matching.

First of all, I apologize if this is not the right place to create such issue.
The problem I'm facing is that I have a class that contains a callback, and pattern matching seems to have a problem with said callback. I get the following exception whenever I try to use it: _TypeError (type '(Sorting) => String' is not a subtype of type '((Enum) => String)?' in type cast)
For context, this is what I'm doing. Note that Filter is an empty class, just for typing purposes.
class RadioFilter<T extends Enum> extends Filter {
  const RadioFilter({
    required this.options,
    required this.selectedOption,
    required this.optionDisplayNameBuilder,
  });

  final List<T> options;
  final T selectedOption;

  // The callback in question.
  final String Function(T option)? optionDisplayNameBuilder;

  @override
  List<Object?> get props => [options, selectedOption];
 }

enum Sorting {
  favorites,
  views,
  random;
}

extension CapitalizeX on Enum {
  String capitalize() => name.substring(0, 1).toUpperCase() + name.substring(1);
}

The UI:
// This is the content of a BottomSheet.
class _VisibleStyleWidget extends StatefulWidget {
  const _VisibleStyleWidget();

  @override
  State<_VisibleStyleWidget> createState() => _VisibleStyleWidgetState();
}

class _VisibleStyleWidgetState extends State<_VisibleStyleWidget> {
  final filters = <Filter>[
    const FilterHeader(
      name: "Sorting",
      description: "Method of sorting results",
    ),
    RadioFilter(
      options: Sorting.values,
      selectedOption: Sorting.favorites,
      // Filters may require different logic in order to print the options in a pretty format.
      optionDisplayNameBuilder: (Sorting option) => option.capitalize(),
    ),
  ];

  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisSize: MainAxisSize.min,
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [for (final filter in filters) _buildFilter(filter)],
    );
  }

  Widget _buildFilter(Filter filter) {
    return switch (filter) {
      FilterHeader() => ...
      FilterSeparator() => ...
      FilterNote() => ...

      // Here is the error.
      RadioFilter(
        :final options,
        :final selectedOption,
        // If we unpack the callback, the exception happens on this line.
        // Otherwise, it happens below when calling `filter.optionDisplayNameBuilder`
        :final optionDisplayNameBuilder
      ) =>
        Padding(
          padding: const EdgeInsets.symmetric(horizontal: 16),
          child: Wrap(
            spacing: 8,
            runSpacing: 8,
            children: [
              for (final option in options)
                FilterChip(
                  label: Text(optionDisplayNameBuilder?.call(option) ?? option.name),
                  selected: option == selectedOption,
                  onSelected: (value) {},
                )
            ],
          ),
        ),
    };
  }
}

Considering that Sorting is an Enum, I don't understand why we get a TypeError. Also, everything works if we move the code inside the class, like so:
class RadioFilter<T extends Enum> extends Filter {
  const RadioFilter({
    required this.options,
    required this.selectedOption,
    required this.optionDisplayNameBuilder,
  });

  final List<T> options;
  final T selectedOption;

  final String Function(T option)? optionDisplayNameBuilder;

  @override
  List<Object?> get props => [options, selectedOption];

  Widget buildChips(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.symmetric(horizontal: 16),
      child: Wrap(
        spacing: 8,
        runSpacing: 8,
        children: [
          for (final option in options)
            FilterChip(
              label: Text(optionDisplayNameBuilder?.call(option) ?? option.name),
              selected: option == selectedOption,
              onSelected: (_) {},
            ),
        ],
      ),
    );
  }
}

Then, in the UI, we call the method instead:
Widget _buildFilter(Filter filter) {
    return switch (filter) {
      FilterHeader() =>...
      FilterSeparator() => ...
      FilterNote() => ...

      // This works as expected.
      RadioFilter() => filter.buildChips(context),
    };
  }

I am rather new to Dart (and Flutter), so this may be intended rather than a bug. But, in my opinion, the callback should work like it does when called inside the RadioFilter class.

This is a getter where the class type-variable occurs contravariantly. That's generally unsafe. You're allowed to write it, but you really, really have to be careful when using it.

I don't quite understand this. Are you saying that I should be more careful with writing callbacks with generics like this?
final String Function(T option)? optionDisplayNameBuilder;

Because I do it quite a lot. Or maybe the problem is the way I'm using it? As I said, I'm still quite new to Dart (and programming in general), I haven't got around all the dos and don'ts yet.

In this case, a RadioFilter is effectively up-cast to RadioFilter. It's optionDisplayNameBuilder has type String Function(Sorting), but is read by a location which expects a String Function(Enum), which `String Function(Sorting) is not!.

Giving that the exception was a TypeError, I assumed that was most likely the problem. However, since Sorting is an Enum, shouldn't this work rather than throwing an error?

That's where contravariant comes in.
Function types are contravariant in their argument types, which means that if A is  a subtype of B, A <: B, then
C Function(A) is a supertype of C Function(B).
It has to be that way for the types to be sound.
So a String Function(Sorting) is not a valid value where a String Function(Enum) is expected, because the latter must be able to accept any Enum value as argument, and the former is not able to do that.

I get it now, thanks for your time.


how to use Multimap object with REST call?

Hi,
I created Multimap like this:
Multimap<String, Multimap<String, Multimap<String, String>>> htUser = LinkedListMultimap.create();
My inspection shows the value of this htUser as :
{Engineering=[{Computer Engineering=[{Non-tenure-track research faculty=[Visiting Associate Professor]}]}], Science=[{Physics=[{Tenured/tenure-track faculty=[Professor]}]}, {Physics=[{Tenured/tenure-track faculty=[Distinguished Professor]}]}]}
But, when I try to return the value to REST call using AJAX, it returns just :
[{"positions":{"empty":false}}]
Have you face this issue? how to fix this to bind the Multimap object using REST call?

Hey @Milstein, I commented here, let me know if that helps.

Closing, lack of response


replaced styling properties with level, changed condition for launch

LGTM, Fix merge conflicts and I'll merge.

Fixed


Add English translation

Add English "translation" for the entities states.

Thanks for all the improvements, i just released a new beta release with your changes! Nice work!


Totals do not show up on tooltips for stacked line charts

When viewing a stacked line chart in Caravel, the totals do not show up in the tooltips.
Chart: https://panoramix.d.musta.ch/caravel/dashboard/meta/
Caravel version
https://panoramix.d.musta.ch/
Expected results
Tooltips should show up for all points in time
Actual results

Steps to reproduce

This was due to y_axis_format set to d while avg wau could be a float number. solved by switching y_axis_format


PrefixAllGlobals: improve error message clarity

When people run the sniffs without the -s option, the messages for some of the errors in this sniff were not specific enough as the "PrefixAllGlobals" part would not be seen.
I considered adjusting the error message template ERROR_MSG, however, this would cause more confusion as, for instance, namespace declarations will always be in the global namespace.
So, I've opted to adjust select error messages instead.
Issue identified by @justintadlock in https://github.com/WPTRT/WPThemeReview/issues/200#issuecomment-464789010

Just checking, is this waiting for something ?


Update or remove transformation stylesheets before release

From andrew.hankinson on August 08, 2012 12:27:00
Currently the musicxml2mei.xsl and mei2mup.xsl stylesheets are kept in trunk (trunk/tools), but they produce non-MEI2012 MEI. We should consider a couple possible actions:

Update them to produce MEI 2012
and/or
Move them to the incubator

I'm tagging this as a bug for the MEI 2012 release.
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=102

From<EMAIL_ADDRESS>on August 08, 2012 10:42:17
I was thinking that we just wouldn't include these in the tag and download package we create for MEI 2012. There's no way these are going to be updated in time for the release, which by the way should happen this week.

From andrew.hankinson on August 08, 2012 11:53:13
Since the tag will just reflect the state of trunk at a given point in time, we should move them out before we tag it.

From<EMAIL_ADDRESS>on August 09, 2012 05:00:30
I was under the impression that a tag is a copy of the trunk and as such could be edited after it was created.
Since I'm using the oXygen SVN client and I don't see any way to create a tag there anyway, would it work better if I manually copied only the stuff to be kept to \tags\MEI_release_2012?

From andrew.hankinson on August 09, 2012 09:18:39
Not really. A tag is a snapshot of the trunk at a given point of time. So when we dub it "Sir Release of 2012", we tag it, which is just a pointer to revision XXX. Creating a tag isn't copying it into the tag folder in SVN.
The most important thing is that tags should never ever be edited. Bugfixes or new releases should always get their own tag. This is because you don't want to be re-doing and merging the same changes all over your tree. If you start committing to a tag, it becomes a branch which needs to be re-merged elsewhere.
I have a few changes I would like to suggest for using SVN in MEI, but I can introduce those elsewhere. For now, though, I think we need to get /trunk in the state we want it in before we tag it.

From andrew.hankinson on September 10, 2012 11:14:05
This has been done. Closing.
Status: Fixed

From<EMAIL_ADDRESS>on August 21, 2014 12:34:41
This issue was closed by revision r1236 .

From<EMAIL_ADDRESS>on August 21, 2014 12:37:02
Closed in error, reopened
Status: New

I believe this one should in fact be closed.


unable to connect with localhost

I am getting this error and kernel is always restarting.
(::1) 15.17ms referer=http://localhost:8889/notebooks/Untitled.ipynb?kernel_name=postgres
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3: Error while finding spec for 'postgres_kernel.__main__' (<class 'ImportError'>: No module named 'version'); 'postgres_kernel' is a package and cannot be directly executed

I suspect this is specific to python 3. I didn't test python3 while developing.
I'll try and take a look at this when I have time, but it's not a project I'm very active on. Anyone reading this is welcome to take a stab at it.
ps, sorry about the slow response, I was somehow not getting notifications of these issues.

Tested and working with localhost, python3 in version 0.2.1


Fakeit client instead of global/package vars/seed

I'd like be able to create a "fakeit" client object that could be instantiated
Example usage:
// parameter is the seed
f := gofakeit.New(0)
f.Name()

It is safe/expected to call gofakeit.Seed(?) many times? What happens?

gofakeit currently is globally seeded. Cant seed per instance.

Do you have a specific situation your trying to accomplish?

Not have a global seed is what I'm trying to solve at least as an alternative, so that individual tests can manage the seed how they wish. Sometimes I want a static seed, other times I might want something dynamic.

Also this was a feature request. By closing this are you not interested in supporting this feature, even if someone submits a PR?

If you want a static seed just run gofakeit.Seed(a number you want) and that will give you consistent value. You can see i do this in the source code for all the tests examples

@ghostsquad

Not have a global seed is what I'm trying to solve at least as an alternative, so that individual tests can manage the seed how they wish. Sometimes I want a static seed, other times I might want something dynamic.

@brianvoe

If you want a static seed just run gofakeit.Seed(a number you want) and that will give you consistent value. You can see i do this in the source code for all the tests examples

right, so I want to configure it differently possibly by different tests

Then set the seed to whatever you want. If you have an idea for a pr im open to looking at it but i cant guarantee it will be merged in


[QUESTION] Deep Population with Schema

Hi
I have next models
@Schema()
export class ReviewSchema {
    @Ref(UserModel)
    user: Ref<UserModel>;

    @Property()
    comment: string;

    @Property()
    rating: number;
}

@Model({name: 'Product'})
export class Product {
    @Property()
    title: string;

    @Property()
    reviews: ReviewSchema[];
}

So all reviews will be saved under Product doc instead of having a different collection in database
Is it possible to populate user while doing query for Product.
I tried it in different ways, but it seems like it doesn't work

Hello @IARKI,
I think you’ve missed to use @PropertyType decorator on reviews.
´´´typescript
@Model({name: 'Product'})
export class Product {
@Property()
title: string;
@PropertyType(ReviewSchema)
reviews: ReviewSchema[];

}
´´´

Thanks. It worked.


Synthesized Items Not Being Given

Synthesized 3 keyblades in the shop and only got one

When I got Simba from Synthesis, he never appeared in the Links menu. The only way I could use him was on Shortcuts since he was available from the Customize Menu.

The issue of certain Links/ Magic appearing in only the Links menu might be a separate issue.
Also, if they synthesized the same keyblade 3 times, that could be why they only received 1 of them...

This should be addressed by the most recent website update to not have Links in Synthesis shop.


Logging cleanup

Use package level loggers instead of global logger, providing more control over each package's log settings
Use ipfs/go-log, mainly for the ability to control log settings for multiple loggers from env vars or code
Prevent test cache from making tests not re-run

You can configure loggers more precisely with this, for example, setting the overall level to info but carmirror package to debug.
export GOLOG_LOG_LEVEL="info,carmirror=debug"

I'll also add .With calls for scoped logging.


fix(CX-2992): adjust top padding on SWA flow + status bar style

Description
This PR resolves CX-2992
This PR does two things:

Adjust the top padding inside the SWA flow to not contain the white top anymore

Before
After

Adjust status bar style

Before
After

https://user-images.githubusercontent.com/11945712/194268448-d998eaa1-9b33-4fcf-8e26-df0a57f560a1.mov

Note: Since the 2 commits in this PR do different things, there is no need to squash this, better merge it instead.
PR Checklist

[x] I tested my changes on iOS / Android.
[x] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.
[ ] I have prefixed changes that need to be tested during a release QA with [NEEDS EXTERNAL QA] on the changelog.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Set status bar to light inside the SWA flow - mounir
fix white top padding inside SWA flow - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

What's wrong with those secrets 😄


Azure Single Sign On SAML protocol

Hi
We are planning to use Azure Single Sign on SAML protocol for our Application.
The NameID policy we are using is below:

Issue: When a requested sign-on completes successfully, Azure AD posts a response to our application and we verify the AD provided response and extract username from NameID and check if user with username in response present in our Database.
But In our case response processing was successful. But As username is in encrypted format we are not able to check if user with username is present in our database.
below is sample response with NameID format persistent: where username is provided against nameID attribute and is encrypted.

Uz2Pqz1X7pxe4XLWxV9KJQ+n59d573SepSAkuYKSde8=

below is sample response with NameID format transient: Here the username is same that we enter in Azure AD login page.

portaladmin

Can you please suggest how we can solve this issue.
Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@mohitmeshram Thanks for the comment.We are actively looking into it and will update you soon.

@mohitmeshram, The NameID is not encrypted in this case, but its converted to a pairwise value, because the format which is used to request for the NameID is Persistent in your case.
The details can be here: https://docs.microsoft.com/en-us/azure/active-directory/develop/single-sign-on-saml-protocol#nameidpolicy
The NameIDPolicy element, which requests a particular name ID format, is optional in AuthnRequest elements sent to Azure Active Directory.
You need to check if there are any NameID Policy created which i believe is going to the IDP (Azure AD in this case) with the nameid-format as Persistent.
To fix this issue, you need to either sent the nameid-format as emailAddress or unspecified
Do let us know if this helps or if there are any more queries around this.

@mohitmeshram, I wanted to touch base with you to check if the above response helped or there are still any more queries around this. if there are any more queries, please do share the same with us so that we can help you further.

@mohitmeshram, We are closing this thread for now. In case any further help is needed on this please feel free to reopen this thread.


Creating Solr core fails

Hello guys,
I'm using the latest (as of 15 March) build of D4D. Two problems with Solr.

When executing docker-compose exec solr solr-create-core my-core drupal8 from the folder with docker-compose.yml file I get this error
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"create-core\": executable file not found in $PATH"

After logging in to the container and executing /opt/docker-solr/scripts/solr-create my-core drupal8 get this:

Port 8983 is already being used by another process (pid: 1)
Please choose a different port using the -p option.

Any advice? Thanks!

See actions usages from README https://github.com/wodby/solr, drupal-solr image inherits from it. The core will be created with search_api_solr module configs.

Thanks Chingis, I will try and post the results here. Just curious why it didn't work for the first time..

Alright, this command worked me like a charm
docker exec -ti [id] make core=mycore -f /usr/local/bin/actions.mk
Closing


Mode switching issues

Knowing that the root level of the message contains some important info, I've been playing with that and noticed some odd behaviors with the mode.
It seems that after I've just deployed a revision in Node Red, the output nodes default to "brightness" mode and don't return the state of the light accurately. For example if I set a bulb to a color using the LIFX app, say a red that translates to HSV [30, 100, 75] and then deploy a revision, the initial message from an output node doesn't seem to know that the bulb is displaying a color. It outputs the V value correctly, but leaves H and S at 0, even though that's not what the light is showing.
It might be related, but if I send a payload to the input node that's just "on" or "off" while the actual bulb is displaying a color, it works properly. If the bulb was set using a Kelvin value in the LIFX app, though, an "on" resets the Kelvin to 2500. This only seems to be an issue when the output node shows the "brightness" mode. If I've sent a message that has made it change to the "Color" mode, the "on" command works as expected.
Both seem tied to the fact that the node knows perfectly well when the mode changes within Node Red, but they don't seem to know when the mode has changed via the LIFX app or the bulb has been modified by any app outside of Node Red. It's all fine if the new values fall within the node's current mode, but it gets weird if that mode is changed.
I'm not sure if my description makes sense, but can you replicate this kind of thing or do you think it might it be something about my usage?

Yes is see where the problem is, I have begun to remove the mode flag because it doesn't make sense for the Lifx lights because they can control temperature and color independently. Testing the app I see that when switching from temperature to color mode the temperature value of the light is kept, the app only sets the saturation to zero when going to temperature mode
The plan is allow control of temperature and color independent, to emulate the app behavior you need to manually set saturation to zero when setting temperature, but then it's up to the user to control it. I still need to add some capability information for each light

Hmmm I have no idea whats happening, but I looked over the changes and noticed some timing issues which I pushed out an fix for.
This behavior shouldn't depend on which model it it, one limitation of the solution is that everything is wiped on deploy which means that it will need to query each light for information, I only have two lights in my setup so I probably don't get the same problem.

Think I found the problem, the initialization check in the setReachable function was wrong. I hacked together an simple node-lifx emulator so i could simulate large amount of lights with different state

It have been something in my config. I cleared out and rebuilt my flows and I can get Node Red to launch again, but the flickering status indicators are back. It also seems as though commands sent to the bulbs are having some trouble. Not all of them seem to go through and the ones that do are delayed by several seconds when that wasn't an issue before.
I'm also seeing it tending to report to an "on" status at 0% brightness frequently, if that helps point to the cause.

Hmmm it shouldn't crash there, I have pushed out another version that where I added more error checking and cleanup the initialization. I noticed two problems, first the initial reachable state was incorrect set if the light was in the off state, poll interval was hardcoded to 500ms.

Those fixes seem to have worked, as the status detection is back to working properly for me!
The only issue I'm still seeing is related to the color/kelvin thing. If the bulb is already displaying based on kelvin and the node gives a kelvin command, it works properly. If the bulb is displaying a color, though, a kelvin command usually makes no change. A couple of times when issuing a kelvin command to a bulb showing a color, I've had it lighten the color to a 0 or 1% saturation without changing the hue or brightness.
Looks like you've almost got it nailed, though!

This is the expected behavior, the temperature color is independent of the light color, if you toggle between 3000 and 6000 kelvin you should notice that the color change even though you have set an color. This is because the lifx light can control the color temperature independent from the rgb color.
When selecting an temperature in the app it automatically sets the saturation to zero, I was thinking of doing the same but I though it would be nice to let the user choose.

Ah, okay. I see what you mean. Because of the approach in the LIFX app and in other LIFX nodes I've used I hadn't thought of it working that way. It's only a couple of additions lines of code, though, so that seems easy enough.
Thanks again for being open to feedback on the code--I sincerely appreciate your sharing this and I'll be looking forward to trying to implement this in my setup!


Private orgs no longer showing lock icons

Hiya 👋
I noticed this morning that private orgs no longer showed the lock icon on them. There was also a relevant error message saying that publicOrgs.map is not a function. After some digging, it seems as though the response from GitHub's API changed a bit(?), and some of the keys in the response aren't iterable.

I have a PR incoming with a suggested fix 😄

I can confirm this issue:

It is because the API itself returns an array, which is because of recent change now spread to an object in #2185. Resulting in using the map function on an object instead of the previous array.


Incomplete SW group operations may be worthwhile

This is to be left as a todo for the future.
There seems to be a big gap in constraints & density of complete vs incomplete group operations, as well as operations on affine vs projective.
Ideally, if permitted by completeness and soundness, incomplete + affine can lead to fewer constraints & lower density.
However, it seems to require certain efforts to investigate whether the soundness holds, and to what extent. And completeness would be a separate issue that the application needs to handle. Especially, the application needs to have some sort of "reject sampling" so that it can retry proving until it avoids the incompleteness barriers.

This issue shows that maybe one can do this without exceptions inside the circuit: https://github.com/zcash/zcash/issues/3924
So the idea would be to convert to affine form, check for exceptional cases in the scalar,  perform scalar multiplications via the foregoing algorithm, and to then convert back to projective form.

In particular these portions seem relevant: *

Double and add: https://github.com/ebfull/halo/blob/d9d341f19b1122f975c2fc7c583490a830a9020a/src/gadgets/ecc.rs#L1327
Scalar multiply: https://github.com/ebfull/halo/blob/d9d341f19b1122f975c2fc7c583490a830a9020a/src/gadgets/ecc.rs#L1490

For the record, based on a measurement, our current implementation has roughly 12 constraints and 71 non-zeros per addition.

The solution with exceptions may have 11 constraints, as follows:

Convert each of the two points to their affine forms => getting x/z and y/z, 2 * 2 = 4 constraints. This check also rules out the infinity points.
Check the exceptional case; so, it requires that x1 does not equal x2, 1 constraint
The foregoing algorithm, 6 constraints

So the saving is not significant.

If the projective form is unused, but we only use the affine form, then maybe we can have fewer constraints, I assume:

Check x1 does not equal x2 requires 1 constraint => this is because the addition formula will fail for doubling.
The foregoing algorithm, 6 constraints.

Given that the affine form is likely to behave very differently from the complete form, it seems better to have a separate trait for it (so, not CurveVar). Any idea on the traits and implementations?

The solution ~with~ without exceptions may have 11 constraints, as follows:
* Convert each of the two points to their affine forms => getting x/z and y/z, 2 * 2 = 4 constraints. This check also rules out the infinity points.

* Check the exceptional case; so, it requires that x1 does not equal x2, 1 constraint

* The foregoing algorithm, 6 constraints

So the saving is not significant.

I think the idea would be to use the exceptional-addition inside scalar multiplication, where it seems we can do an edge-case once check at the beginning.

By the way, another option for some curves with a cofactor is to convert to an alternate form (eg: edwards), and to perform the scalar arithmetic there, and to then convert back to short weierstrass form.

In particular these portions seem relevant: *

Double and add: https://github.com/ebfull/halo/blob/d9d341f19b1122f975c2fc7c583490a830a9020a/src/gadgets/ecc.rs#L1327
Scalar multiply: https://github.com/ebfull/halo/blob/d9d341f19b1122f975c2fc7c583490a830a9020a/src/gadgets/ecc.rs#L1762

Is there an API to call scalar multiplications over an EdwardsVar as in the second link?
Or are the callers expected to do a double-then-add approaches?

@zhenfeizhang The current library implements group elements on Edward curves as ProjectiveCurve and AffineCurve, so they can use the corresponding interfaces: https://github.com/arkworks-rs/algebra/blob/master/ec/src/models/twisted_edwards_extended.rs
And the ProjectiveCurve interface has mul: https://github.com/arkworks-rs/algebra/blob/master/ec/src/lib.rs#L209, which can be used for scalar mult.

see also this paper which reduces the number of muls compared to [ELM02].

I guess there was some misunderstanding. I am wondering about group muls over Vars rather than ProjectiveCurve or AffineCurve. Is there an API for this? Or should the caller to it themselfs?
looking at the code here:
https://github.com/arkworks-rs/crypto-primitives/blob/ce5cc89011b394eb006987a24088947d5099d641/src/commitment/pedersen/constraints.rs#L77
it seems that there isn't an API -- the caller needs to decomposite the scalars and then do the scalar mul.
Is this a fair understanding?

@zhenfeizhang I look up the curve's interface, does this one work for you? https://github.com/arkworks-rs/succinct_r1cs/blob/0164f52ae0109c6e0a89c75fc9abc66c4ec0c5dc/r1cs-std/src/groups/mod.rs#L91

LOL. This is likely a private repo :-) I don't have access

Sorry, wrong link. This one: https://github.com/arkworks-rs/r1cs-std/blob/636f93a3e5fea8f2165f725f2edded544159a978/src/groups/mod.rs#L91

Yes. Thanks!

So, this is implemented now, but without the optimizations from https://github.com/zcash/zcash/issues/3924


Update Dockerfile with same labels as Dockerfile.control-plane

What this PR does / why we need it:
Because we include the control-plane-operator in the hypershift-operator image, we normally use that image when testing hypershift locally. The hypershift-operator image should have the same labels as the control plane operator one. This commit adds the most recent label to the hypershift-operator image.
Checklist

[x] Subject and description added to both, commit and PR.

Supersedes #1789

/retest-required

/retest-required


Add Vanta, DoIt, ProsperOps, nOps, Drata, Usage AI, Prisma Cloud, Vectra, Turbot, Sumo Logic, Mackerel, Canonical, Archera, Flexera AWS account IDs

The ProsperOps and UsageAI AWS accounts are accessible to anyone, after login with a free account (screenshots below)

I have verified all the sources. This PR is good to merge.


Integration test using Jaeger

Like discussed in #146 here comes the integration test for asserting the order and hierarchy of all spans generated by the plugin.
Merging this test first and then the change proposed in the issue is nice as this test would clearly document the changes made to the generated spans.
ktlint should be passing already. Feel free to suggest/make structural changes so that the code fits the style of the rest of the project.
I'm interested to hear what you think 😃

@felixscheinost Not sure if you have any other tests using Jaeger in flight, but just in case I wanted to give you a heads up that I split out some of the common functionality into a parent test class JaegerIntegrationTestCase to try to make it a bit faster when writing additional test cases. And feel free to move anything additional you want into that parent class and/or change it any other ways that you think are valuable.
Thanks again for writing this test case! :)

Cool! I'm happy that you like it :)
No, I just plan to modify the current OpenTelemetryBuildPluginSpansIntegrationTest. But that will only affect the assertLines at the end so it should be pretty easy to rebase.


Update rustdoc meeting timezone

It seems we are de facto using Paris time, so we might as well update
the official timing. Note that European daylight saving almost always
matches American daylight saving, except for March (at least that's the
only exception for the next year).
cc @GuillaumeGomez

I tested this on my calendar, and it appeared to work correctly.

Thanks! Sorry for the confusion. ^^'


Add docker image and publishing rules for weaver

This makes a distribution via docker that could help try out existing weaver on semantic convention registry.  I'm not certain we'd consider this a "primary" way of consuming weaver, but for intermediate tasks and experimenting with attribute registry generation, this could help unblock us.
Posting as a draft for thoughts.

@jsuereth Thanks !


How to verify list item from DropDown List by Codeceptjs

Hi everyone,
Please help me via the case to verify all item value from a specific DropDown list as real user see on the Browser.
I've tried the code:
Step1: I.click("dropdowlistLocator");
==> then dropdown list open to list all items
Step2: I.see("dropdowlistLocator","textForVerify") //
==> but dropdownlist always off & not show the list as Step1. So, I can't get the test via the code above
Please help me via the case. If you have any the way to get real item from dropdown list, please let me know about that.
Thanks,

Have you tried using I.waitForText instead of I.see? With what you provided I'd guess that your dropdown may have some kind of delay (maybe some fancy transition, maybe waiting for some request in the background) and I.see expectation is just executed before dropdown is actually visible. Especially if you're using Nightmare as backend it's quite common case.
If this won't help then please provide more info about your use case like codecept config, what backend are you using etc. :)

Thank jploskonka for your suggestion, it works well for me now


[cleanup] [broker] remove useless note.

Motivation
These notes are introduced by https://github.com/apache/pulsar/pull/9490, and the related code has been removed. We have better remove these remaining notes in case of confusion.
Modifications
Remove notes.
Verifying this change

[x] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/thetumbled/pulsar/pull/46

PTAL, thanks. @congbobo184 @liangyepianzhou


Issue adding brach of a branch to a repository

I am in the process of creating a .git from an existing TFS and everything was working as expected until I tried to use 'init-branch' to add one of the branches to the .git. The error received was 'No root changeset found :(' ... upon further investigation I found out that the branch in question was, in fact, a  branch of a branch. I was able to dump the development root trunk. I was able to add the numbered branch '1.20.2' to the .git file. but when I tried to add the branch '1.20.2-AD', a client specific branch, which is a branch off of '1.20.2', I ran into the above error.
Does anyone know how to add a branch of a branch to the .git?

There where a lot of changes made in git-tfs, so this needs to be retested with the latest version if it is still an issue.
As we are trying to clean up old/stale issues and this issue hasn't seen any updates (or progress with pull requests) in quite a while, I will close the issue. In case further information is provided, we can revisit that and reopen the issue.


Not possible to publish description in POM.XML

I use Gradle 4.5 and digital.wup:android-maven-publish:3.3.0
When I add description, it  doesn't work. (It worked earlier, when we didn't use digital.wup plugin).
publishing {
    publications {
        mavenCustom(MavenPublication) {
            groupId 'com.our.lib'
            artifactId calculateArtifact(project)
            artifact sourceJar
            version libVersion

            from components.android
            pom.withXml {
                asNode().appendNode('description', "Built on commit: ")
            }
        }
    }
}

In resulting pom.xmls there is no description :-(

I can't reproduce this. It writes description tag at the end of pom file.

It was mistake.
Our project is complicated and misconfigured. I added  "pom.withXml" in the wrong place. Sorry.
You may close the issue.

Thanks for the feedback. I close the issue.


[ci][1/n] Rebuild Docker images if necessary

This sets us up to rebuild Docker images and uses them in later stages in the same build. This is not yet enabled (see the commented out code in DockerBuild.groovy.j2. If the build is running on main, then the images are uploaded to Docker Hub automatically once the run is complete. To avoid landing a complicated infra PR all at once this mostly adds the scaffolding and a follow up PR will: 1. upload images to tlcpack instead of tlcpackstaging 2. dynamically determine the docker image to use based on the latest hash 3. always rebuild docker images if an updated one hasn't been uploaded
cc @Mousius @areusch

@Mousius I've re-worked this PR a bit, I'm weary about landing it all at once since it can potentially have a big impact on CI times. In a follow up PR I'll enable the docker image rebuilds based on the Docker Hub hashes behind a flag in Jenkins so we can turn it off if we need to, but this one is ready to go now

@tvm-bot rerun

@tvm-bot rerun

I also manually triggered CI to re-run as the bot didn't seem to be doing it?

the bot is broken but fixes are in flight, we're looking into better ways to test these kinds of things before deploying (e.g. the merge functionality also isn't working due to some auth errors I haven't been able to sort out yet)

Nice work @driazati, looking forward to seeing this fully functional 😸


Support Lumen 7 + php 7.4

Fixes #
Changes proposed in this pull request:

See https://github.com/digiaonline/lumen-chained-exception-handler/pull/8


Source Generator doesn't work anymore with .NET 6.0.200 SDK

Describe the Bug
I have latest 6.0.200 SDK installed from dotnet/installer repository. Note this version is not yet available to be installed from MS web site. So this issue might not be reproducible when this SDK version will be officially released on stable channel, if they fix something before.
Steps to Reproduce

Install 6.0.200 SDK from dotnet/installer repository
dotnet new console
Reference <PackageReference Include="ThisAssembly.Constants" Version="1.0.9" />
Add simple constant to be generated <Constant Include="Foo.Bar" Value="Baz" />
dotnet build

Expected Behavior
It works, constant is generated.
Exception with Stack Trace
maxkatz6@mak-kat-mb thisassembly-test % dotnet build
Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /Users/maxkatz6/repos/thisassembly-test/thisassembly-test.csproj (in 290 ms).
CSC : error CS2001: Source file '/Users/maxkatz6/repos/thisassembly-test/Foo.Bar' could not be found. [/Users/maxkatz6/repos/thisassembly-test/thisassembly-test.csproj]

Build FAILED.

CSC : error CS2001: Source file '/Users/maxkatz6/repos/thisassembly-test/Foo.Bar' could not be found. [/Users/maxkatz6/repos/thisassembly-test/thisassembly-test.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:02.79

Version Info
ThisAssembly.Constants version 1.0.9
.NET SDK version 6.0.200:
maxkatz6@mak-kat-mb thisassembly-test % dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.200
 Commit:    f13c273745

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  11.6
 OS Platform: Darwin
 RID:         osx.11.0-x64
 Base Path:   /usr/local/share/dotnet/sdk/6.0.200/

Host (useful for support):
  Version: 6.0.1
  Commit:  3a25a7f1cc

.NET SDKs installed:
  3.1.416 [/usr/local/share/dotnet/sdk]
  6.0.200 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.21 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.22 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.21 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.22 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Additional Info
Bin log:
msbuild.binlog.zip

Also can confirm that it works as expected with installing 6.0.102 SDK and specifying it in global.json:
{
    "sdk": {
      "version": "6.0.102"
    }
}

maxkatz6@mak-kat-mb thisassembly-test % dotnet build

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.102

Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /Users/maxkatz6/repos/thisassembly-test/thisassembly-test.csproj (in 267 ms).
  thisassembly-test -> /Users/maxkatz6/repos/thisassembly-test/bin/Debug/net6.0/thisassembly-test.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:03.28

Sadly this issue is reproducible with stable release of this SDK. At least on mac.

Even worse, this isn't even specific to ThisAssembly. I get the same errors with xunit:
CSC : error CS2001: Source file '/home/runner/work/ThisAssembly/ThisAssembly/src/ThisAssembly.Tests/.xunit.runner.visualstudio.dotnetcore.testadapter' could not be found. [/home/runner/work/ThisAssembly/ThisAssembly/src/ThisAssembly.Tests/ThisAssembly.Tests.csproj]
CSC : error CS2001: Source file '/home/runner/work/ThisAssembly/ThisAssembly/src/ThisAssembly.Tests/.xunit.runner.reporters.netcoreapp10' could not be found. [/home/runner/work/ThisAssembly/ThisAssembly/src/ThisAssembly.Tests/ThisAssembly.Tests.csproj]
CSC : error CS2001: Source file '/home/runner/work/ThisAssembly/ThisAssembly/src/ThisAssembly.Tests/.xunit.runner.utility.netcoreapp10' could not be found.

I can confirm it works when using 6.0.103. 6.0.200 did not work, as well as 6.0.201.

We made a change in 6.0.200 that compares the contents of additional files to see if they have changed. This is part of the work to enable an in-server cache for VBCSCompiler which should make command line builds that use generators faster.
Unfortunately we didn't consider the case where the additional files didn't exist (or were binary which caused a different exception) so we backed the change out (https://github.com/dotnet/roslyn/pull/59776) and things should be working in 6.03xx previews again. We'll ensure we consider these scenarios in the future.
That being said, this is sort of abusing AdditionalFiles as a way of getting metadata into the generator. That's a scenario I don't think can be achieved today without doing this, but I'll open an issue to track coming up with a better API for this.

@chsienki thanks for the information!
I guess I can close this issue after 6.0.300 released.

I have the feeling it resumed working with SDK 6.0.202 / .NET 6.0.4

Yes, I believe things are working again now. Please do reopen if that's not the case.


All 4 Outdoor Nebra miners dead

Hi I just received 4 outdoor miners yesterday 17/07/21 (Batch 2) here in the UK.
It appears none of them are powering up at all. Even after connecting them via ethernet my router is not picking them as even a connection type.

I have the antennas connected
I have checked the inside and all parts and components are plugged in, nothing is loose.
I have connected all 4 via PoE ethernet to my router
I have tested all cables with a cable tester all cables working
I have swapped all cables with other cables
I have restarted router
I have pressed the red button for 15 seconds on onto devices to reconfigure bluetooth - that didn't work.
I have take out the ethernet and have connected via DC mains 1.5v via the motherboard on the inside of the miner again theres no power even after pressing the red button.
Theres no light anywhere across all 4 devices on or inside the motherboard.
I have left all 4 plugged in for over 4 hours. No sign of life no bluetooth update or configurations showing.

As I mentioned earlier, before I even start to configure these devices my router should pick up some form of connection I.e. a wire has been plugged into Lan 1 or Lan 2 etc it should at least indicate to me something is connected - but no.
Unfortunately nothing appears to work.
Am I missing something or doing something wrong? Surely all 4 devices cant be defective?
You're help would be much appreciated.

What are you using for PoE injector? It's almost impossible they are faulty as they are tested as working out of the factory.
FYI for powering by DC Jack you have to change the jumper near the Ethernet Jack to the other setting

Hi Aaron
Yes I think I am doing something wrong.
I have simply plugged in an ethernet cable into the device and the other end into the router. Not using any injectors, presumably that's how it works? Or am I required to do something else?
I then took out the ethernet cable and inserted the 1.5v DC. Where is the jumper I need to change? I'm familiar with primary and slave drive jumpers presumably it's similar?
See attached photo.

I see the JP1 (1-2-3) JP3 (1-2) JP4 (1-2-3)
JP1 is on 1 and 2
JP3 is on 1 and 2
JP4 is on 2
I'd be interested to know how to get PoE working with the ethernet cable.
Thank you.

@Kayz86 yep you need a PoE injector.
Something like TP link tlpoe 150s or 160s.
Or you could get a multi port switch like TP link tlsf1005p V2

The jumper to change for DC / PoE power is this one...

1-2 for PoE
2 to 3 for DC

Lord help me man. Spent 6 months planning and I'm missing a poe injector!!!? Somebody shoot me now!
I have CCTV plug and play poe I assumed it's the same, clearly not.
Thanks Aaron you may delete this thread.

Take a look here also https://helium.nebra.com/handy-guides/poe-explained
And let us know if this doesn't fix the issue and you still need more assistance 👍


Release 0.2.1 - Pre-Validation

QA Status:

[x] Windows
[x] MacOS
[x] Android
[x] iOS

Merge pending on a successful scale up to 200 simulated players.

Test was successful. Good to merge ✔


Simplified prow job definitions, changed to use home-brewed gotests image increased lint timeout

/ok-to-test

/approve

/lgtm


Exception while ticking a block

I'm having an issue that is occurring around 10 - 15 minutes apart. When 5 players are on it spits out a crash report message in console and this is what I get.
SpongeForge: 1.8.9-1763-3.1.0-BETA-1170
Forge: 1.8.9-<IP_ADDRESS>3
Crash Report:
http://paste.ubuntu.com/15219203/
Any help?

Can you try removing Pixelmon, and seeing if you still get this?

Error with Pixelmon.


⚠ St. Lawrence Global Observatory CKAN has degraded performance

In c9f1127, St. Lawrence Global Observatory CKAN (https://catalogue.ogsl.ca/en/) experienced degraded performance:

HTTP code: 200
Response time: 23673 ms

Resolved: St. Lawrence Global Observatory CKAN performance has improved in 9564c3c after 4 minutes.


[BUG] Extension Host debug adapter won't load extension's source maps

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

VS Code Version: 1.93.1
OS Version: Arch Linux

Steps to Reproduce:

Clone https://github.com/Kotlin-Language-Server/vscode-kotlin/
Switch to branch tcp-attach
run npm install && npm run vscode:prepublish
Try to launch Extension debug configuration
See source-maps fail to load

The repo includes tsconfig and webpack.config both configured to emit regular source maps. launch.json has sourceMaps: true and does not have any filtering forout.
Despite all this source maps are not loaded! This sounds like a bug with vscode extension host debug adapter

Your build tool is producing sourcemaps with invalid paths. I would just remove the sourceRoot you specified in your tsconfig, cwd in your launch.json and the devtoolModuleFilenameTemplate in your webpack config. The defaults are fine and I would not change them unless you have a reason to.

cwd is still required though. It does not work without cwd. Now vscode loads source maps and binds breakpoints. Although, source maps has mappings for names, vscode does not use them:

Breakpoints hits are not reliable: breakpoint in activate function is hit only one of ten times approximately

debugger statements are not hit either


feat(amplify-cli-core): add feature flag for dart null safety support

Description of changes

Add a feature flag to allow the developer to choose if he wants to enable null safety for Dart modelgen.
[Todo]: change the CLI dependency on codegen to a tagged version once the tagged release for codegen happens that includes the corresponding changes. Link to codegen PR

Issue #, if available

No docs modified as this a tagged preview release
Checklist

[x] PR description included
[x] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@phani-srikar Shouldn't this go to a feature branch for a tagged release, instead of master?

Codecov Report

Merging #7516 (79b47e3) into master (bef6d9c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7516   +/-   ##
=======================================
  Coverage   52.79%   52.79%
=======================================
  Files         523      523
  Lines       26148    26148
  Branches     5113     5113
=======================================
  Hits        13804    13804
  Misses      11375    11375
  Partials      969      969

Impacted Files
Coverage Δ

...amplify-cli-core/src/feature-flags/featureFlags.ts
83.10% <ø> (ø)

Continue to review full report at Codecov.

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