How to draw a leaflet map in an Allotment

I like this tool. In one of my projects it works great. In the other two leaflet maps would have to be placed inside Allotments.
Here an example: https://codesandbox.io/s/affectionate-beaver-8ddjk8?file=/src/App.js
In the example I placed a basic leaflet map inside an Allotment. Unfortunately only parts of the map are drawn:

How could this be achieved?

On more thorough investigation I am getting the impression that this is a react-leaflet or leaflet issue an has nothing to do with allotment. Closing.

So it was my bad. Forgot importing leaflet/dist/leaflet.css


Write Object variants with '\n' between properties

Adds line feeds '\n' after commas for each property in an Object.
This mirroring the format for Dictionary variants in core/variant/variant_parser.cpp lines 2054-2066
Before

After

This makes reading the diff easier.  It will likely help auto-merge conflicts when a different properties in an Object are changed at the same time.
Proposal

Bugsquad edit: Closes https://github.com/godotengine/godot-proposals/issues/9774

Old ui_accept Example
project.godot
ui_accept={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194309,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194310,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":32,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
]
}

New ui_accept Example
project.godot
ui_accept={
"deadzone": 0.5,
"events": [Object(
InputEventKey,
"resource_local_to_scene":false,
"resource_name":"",
"device":0,
"window_id":0,
"alt_pressed":false,
"shift_pressed":false,
"ctrl_pressed":false,
"meta_pressed":false,
"pressed":false,
"keycode":4194309,
"physical_keycode":0,
"key_label":0,
"unicode":0,
"location":0,
"echo":false,
"script":null
), Object(
InputEventKey,
"resource_local_to_scene":false,
"resource_name":"",
"device":0,
"window_id":0,
"alt_pressed":false,
"shift_pressed":false,
"ctrl_pressed":false,
"meta_pressed":false,
"pressed":false,
"keycode":4194310,
"physical_keycode":0,
"key_label":0,
"unicode":0,
"location":0,
"echo":false,
"script":null
), Object(
InputEventKey,
"resource_local_to_scene":false,
"resource_name":"",
"device":0,
"window_id":0,
"alt_pressed":false,
"shift_pressed":false,
"ctrl_pressed":false,
"meta_pressed":false,
"pressed":false,
"keycode":32,
"physical_keycode":0,
"key_label":0,
"unicode":32,
"location":0,
"echo":false,
"script":null
), Object(
InputEventJoypadButton,
"resource_local_to_scene":false,
"resource_name":"",
"device":-1,
"button_index":0,
"pressure":0.0,
"pressed":false,
"script":null
)]
}

You need to change this part of the GDScript tests to compensate for the new newlines:
diff --git a/modules/gdscript/tests/scripts/runtime/features/metatypes.gd b/modules/gdscript/tests/scripts/runtime/features/metatypes.gd
index 6c5df32ffe..8a57127271 100644
--- a/modules/gdscript/tests/scripts/runtime/features/metatypes.gd
+++ b/modules/gdscript/tests/scripts/runtime/features/metatypes.gd
@@ -12,7 +12,7 @@ var test_class := MyClass
 var test_enum := MyEnum

 func check_gdscript_native_class(value: Variant) -> void:
-       print(var_to_str(value).get_slice(",", 0).trim_prefix("Object("))
+       print(var_to_str(value).get_slice(",", 0).trim_prefix("Object(\n"))

 func check_gdscript(value: GDScript) -> void:
        print(value.get_class())

This would also be a good opportunity to add a space between the key and value (i.e. add a space after :).

This would also be a good opportunity to add a space between the key and value (i.e. add a space after :).

Also it matches how Dictionary serializes.
✅ Done :)

I do agree this makes sense but strictly for the InputEvent example I worry it would actually make readability worse.

Readability here is definitely subjective.  Personally I think the readability of diffs is completely unreadable without this change.  It's very hard to find the "location":0 addition when it's all on one line.  But I agree for adds, when the whole line is new, the details are forgettable.
These files however are not written by users.  And they are text files (not binary) so that VCS can see the changes.  Having changes on newlines enables the VCS to make the correct decisions during merges.  That to me is the main reason to accept this proposal.


Fix Footer Typo

This great website has a typo in its footer.
It has the word "CopyRights" instead of "Copyright".
Please assign this to me under the Hacktoberfest label so this site can look even more polished.

This great website has a typo in its footer.
It has the word "CopyRights" instead of "Copyright".
Please assign this to me under the Hacktoberfest label so this site can look even more polished.

Indeed, these minor changes may not significantly enhance the project. If you wish to proceed, you may do so. @marisabrantley


[th/disable-tft-tests] Makefile: disable "deploy_tft_tests" step from "e2e-test" for now

It is currently not working yet. Disable it for now, otherwise the "e2e-test" target will fail.
Note that currently there is a bug in "deploy_tft_tests" target, so currently it is also not called. So this change has little effect. However, it will have effect, when that bug is fixed (and the target starts to fail for real).

/ok-to-test

/override ci/prow/e2e-dpu-operator-tests

/lgtm

/approve

/override all

Can we re-enable this after the bug has been fixed? I would rather have it fail since we need to know that too.

Can we re-enable this after the bug has been fixed?

Yes. The commit message and the PR text suggests to do that (with text like "disable it for NOW", suggesting to re-enable it later).

Can we re-enable this after the bug has been fixed?

hm, or... which bug to you mean? The one from https://github.com/openshift/dpu-operator/pull/160 ?
No, fixing that bug should not mean to re-enable the test.
That test was added and it never worked. It should not have been merged in such state, and it should not be enabled until it starts to properly work. Once that bug is fixed, it should be enabled.


invert chrome:// pages (example: chrome://bookmarks)

It would be good to also have the chrome:// pages invertable.  Right now when I go to chrome://bookmarks Dark Reader has the "Toggle" feature grayed out.

I do not think this is possible since Chrome does not allow plugins to run any code on those pages.

You are right, this pages are protected from extensions.


[CHORE] Clean up tabular input sections on mobile

add media queries etc

needs consistent styling

Same as #250


Is it time to do fork?

Any ideas?

There are already multiple forks. Is there a particular reason for your suggestion?

At all not, link repos and I close issue.

I'm not sure what you're asking. Link what repos?
Is there something keeping you from using this version? Whatever the reason, you can fork Chart.js at any time by simply hitting the "Fork" button in the upper right.

@khusnetdinov @tannerlinsley and I have done a lot of work for v2.0 of Chart.js. Unfortunately, we've both become extremely busy lately. If you're interested, and have the time, feel free to submit PRs to the v2.0-dev branch for any issues that are targeted to the v2.0 milestone.

Thank for clear. Close.


RFP: Static Analysis of Runtime Pallets

RFP: Static Analysis of Runtime Pallets
RFP for developing static analysers for runtime pallets, targeting vulnerabilities like bad origin, unsigned transactions using dataflow techniques.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Cannot Run using provided install guideline

I have been following guideline under this link: https://github.com/berendkleinhaneveld/Registrationshop/blob/master/INSTRUCTIONS.md
However, when I try to run RegistrationShop after all the steps i get this error:
  File "D:\Workspace\MedVis\Project\Registrationshop-master\core\data\DataReader.py", line 8, in <module>     from vtk import vtkImageData ImportError: No module named vtk
I have checked all the env. variable several times.
System: Windows 10,
VTK build with VS2015
Any suggestion what could go wrong?

Can you post the output of the following commands:
SET vtk_dir
SET pythonpath`

Another thing to check is that there should be something like X:\your\path\to\vkt_dir\bin/release in the output of SET path.

SET vtk_dir
VTK_DIR=D:\Workspace\MedVis\Project\VTK\bin\Release

set pythonpath
PYTHONPATH=D:\Workspace\MedVis\Project\VTK\bin\Release;D:\Workspace\MedVis\Project\VTK\Wrapping\Python\vtk;D:\Workspace\MedVis\Project\VTK\Wrapping\Python

set path
Path=C:\Python27;D:\Workspace\MedVis\Project\VTK\bin\Release;

UPDATE:
I have tried running CMD promt with admin privileges. Now it finds VTK but faild on the next step:
  File "D:\Workspace\MedVis\Project\VTK\Wrapping\Python\vtk\__init__.py", line 60, in <module>     from vtkIOImage import *   File "D:\Workspace\MedVis\Project\VTK\Wrapping\Python\vtk\vtkIOImage.py", line 1, in <module>     from vtkIOImagePython import *

It might be that there is some kind of permission problem. Can you check that a file exists at ..\..\lib\Release\vtkIOImagePython27D-6.1.lib relative to the vtkIOImagePythonInit.cxx file?

No. The file was not there


IDENTIFICATION OF DYNAMICALLY POSITIONED SHIPS paper

I am  MSc student in Control engineering
I have recently came across your quite interesting papers “ IDENTIFICATION OF DYNAMICALLY POSITIONED SHIPS ”  I wonder if there exists any source code or other useful documents . And if so, I appreciate if you kindly let me know how I can have access to them I need those information to be able to validate my method . I need to compare my results to the correct values.

Sorry, no source code. Just the numerical values in the paper.


type expr unknown: *ast.BinaryExpr

try to test some base lib at go
go version go1.13.8 linux/amd64
 ./go2hx github.com/buger/jsonparser
type expr unknown: *ast.BinaryExpr type expr unknown: *ast.BinaryExpr type expr unknown: *ast.BinaryExpr type expr unknown: *ast.CallExpr type expr unknown: *ast.CallExpr src/Parser.hx:28: pkgs amount: 1 Failed to format github_com/buger/Jsonparser.hx: failed to create parser context: failed to make tokens {         msg : UnknownEscapeSequence(\b),          pos : {                 file : code snippet,                  min : 559,                  max : 560         } }

another lib :
 ./go2hx github.com/tidwall/btree
github_com/tidwall/Btree.hx:12: characters 67-68 : Expected expression

Hey Sonygod, thanks so much for showing interest! It's currently still very expirimental and unable to do full library conversions, in most part because go's low level standard library is not finished being written. I'll use these libraries as testcases and attempt to work torwards supporting the spec for these libraries, and keep you updated, thank you! 😃


Fix Travis Build

Trying to build project without envvar.

Coverage increased (+0.04%) to 68.872% when pulling fbe52211e17eb2c135086fe356fbd3fbda91e83a on remove_securitymonkeysettings_from_travis into ef4847e2fd308a7e478feb90ff67856806de5bac on develop.


cherry pick of 5053

Description
Cherry pick of  #5053

Processing this pull request

Merged into branches iso4 in 7c99f59385b1468fb91bb61196bd32da35a01e09


update documentation for gen. columns

Codecov Report

Merging #4924 into master will decrease coverage by -0.1%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master    #4924     +/-   ##
===========================================
- Coverage     82.14%   82.05%   -0.1%
+ Complexity    10684    10673     -11
===========================================
  Files          1294     1294
  Lines         44533    44533
  Branches       5631     5631
===========================================
- Hits          36582    36541     -41
- Misses         5316     5355     +39
- Partials       2635     2637      +2

Impacted Files
Coverage Δ
Complexity Δ

...a/io/crate/exceptions/ContextMissingException.java
81.81% <ø> (-18.19%)
1% <ø> (-1%)

...ate/operation/projectors/SortingTopNProjector.java
82.5% <ø> (-12.5%)
12% <ø> (-2%)

core/src/main/java/io/crate/types/ShortType.java
80.76% <ø> (-11.54%)
16% <ø> (-3%)

...te/executor/transport/SubSelectSymbolReplacer.java
68.88% <ø> (-11.12%)
3% <ø> (ø)

...o/crate/operation/projectors/SortingProjector.java
86.84% <ø> (-7.9%)
11% <ø> (-1%)

...src/main/java/io/crate/jobs/UpsertByIdContext.java
77.5% <ø> (-7.5%)
8% <ø> (ø)

...er/src/main/java/io/crate/sql/tree/AstVisitor.java
27.27% <ø> (-4.96%)
33% <ø> (-6%)

.../distributed/TransportDistributedResultAction.java
77.27% <ø> (-4.55%)
9% <ø> (ø)

...o/crate/planner/node/dql/join/NestedLoopPhase.java
74.69% <ø> (-3.62%)
20% <ø> (-2%)

.../crate/operation/projectors/GroupingProjector.java
84.82% <ø> (-3.45%)
15% <ø> (ø)

... and 21 more

Continue to review full report at Codecov.

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

@dobe can you take a look at it too. I've discussed it with @seut and he is more or less fine with that.

@dobe fixup


Acceleration event incompatible with three-phase or elastic three phase

Find out what is causing the bug. Is it a three-phase problem compatibility issue or is it due to the elastic code or (most likely) it is a three-phase elastic issue.
Potentially, if (as I suspect) it a compatibility issue due to reinitialization of the acceleration event, the code http://basilisk.fr/src/test/fall.c would also suffer from the same bug. ...
For now, just use the reduced gravity approach. The code: https://github.com/Computational-Multiphase-Physics/acceleration_incompatibleWiththree-phase/blob/main/src-local/reduced-three-phase-nonCoalescing.h works.

Figuring out what causes this issue is essential. The fix is already there with https://github.com/Computational-Multiphase-Physics/acceleration_incompatibleWiththree-phase/blob/main/src-local/reduced-three-phase-nonCoalescing.h

Reduced.h is working as expected but when acceleration terms are added directly, gravity is not working correctly.
For adding the acceleration terms, hydrostatic pressure has to develop, and probably using a periodic domain doesn't allow this.
I checked both codes without the periodic domain, it is working fine now. Both of them give exactly the same results. Most likely, this is the reason that things have been working fine for Jiahua's soft sliding case.

Ok. Sounds good. Please push this test to the repo: keep the periodic code as well.
For https://github.com/Computational-Multiphase-Physics/SoftSliding/pull/6: let us use the reduced approach as it is better than the traditional acceleration approach.

for https://github.com/Computational-Multiphase-Physics/SoftSliding/pull/6: in any case, it helps with the gravity driving (earlier we have to use f1[]Bondsin(alpha)...


chore(project): Removed UnicodeExpr as it is no longer supported

Change Summary
mypy command gives the following error and I found https://github.com/python/mypy/pull/13254 and https://github.com/python/mypy/issues/12237 .
So, I removed it.

Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass without significant drop in coverage
[ ] Documentation reflects changes where applicable
[ ] Test snapshots have been updated if applicable

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

Thanks for fixing this!
It looks like UnicodeExpr was actually only used for Python 2 which I had not realised when originally writing the mypy plugin.


Support Python 3

What does this PR do?
This adds python3 support to the rabbitmq check
Motivation
choo choo chuga chuga chuga chuga choooooo chooooo
Review checklist

[x] PR has a meaningful title or PR has the no-changelog label attached
[x] Feature or bugfix has tests
[x] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo
[ ] If PR adds a configuration option, it has been added to the configuration file.

Codecov Report

Merging #2791 into master will increase coverage by 5.52%.
The diff coverage is 95%.

@@            Coverage Diff             @@
##           master    #2791      +/-   ##
==========================================
+ Coverage   84.78%   90.31%   +5.52%
==========================================
  Files         658        8     -650
  Lines       37541      516   -37025
  Branches     4504       79    -4425
==========================================
- Hits        31828      466   -31362
+ Misses       4396       37    -4359
+ Partials     1317       13    -1304


bug: Async issue with IonLoading when unmounted causes it to stay on screen forever

Bug Report
Ionic version:

[x] 4.11.3
Current behavior:
I wish I had a more accurate reproduction scenario, but what's happening is that in my app if I use the back button to move between pages and the page I am moving to causes the loader to appear it will never go away. I really don't think this is particular to the back button but rather to how the loading states in my app interact with it. In my app, I can verify that the loader is correctly rendered with isOpen set to false though.
Expected behavior:
The loader goes away.
Steps to reproduce:
As noted above, this is tricky, but I do know what the problem is, so see below.
Related code:
What's happening is that in createControllerComponent, the componentWillUnmount function is called because the component is being unmounted between the call to create the overlay and its instantiation. After it is instantiated, the code does not check to see if the component has been unmounted before displaying the overlay it created.
Other information:
I will follow up shortly with a PR to address this issue.
Ionic info:

Ionic:

   Ionic CLI       : 5.4.4 (/usr/local/lib/node_modules/ionic)
   Ionic Framework : @ionic/react 4.11.3

Capacitor:

   Capacitor CLI   : 1.3.0
   @capacitor/core : 1.3.0

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v12.12.0 (/usr/local/Cellar/node/12.12.0/bin/node)
   npm    : 6.11.3
   OS     : macOS Catalina

fix released in 4.11.4


Bump gVisor to 20230214.0

Summary
A regular upgrade to keep up with upstream.
Implementation Notes :hammer_and_pick:

N/A.

External Dependencies :four_leaf_clover:

Bumped gVisor to 20230214.0.

Breaking API Changes :warning:

N/A.

The gVisor containerd quick start guide mentions^1 the following lines in the configuration file:
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
  runtime_type = "io.containerd.runc.v2"

We don't have them in our configuration file — should we?

Did you try running it using the quickstart guide?

@anshalshukla Yes, I did, everything works.

@CuriousGeorgiy 1 reviewer at a time, please. @leokondrashov can you do this?
@CuriousGeorgiy I don't know, can you please check if our config is up to date? Please note that vHive has 2 containerd daemons co-running: one for containers and one for MicroVMs (gvisor VMs in this case)

[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
runtime_type = "io.containerd.runc.v2"

@ustiugov > I don't know, can you please check if our config is up to date?
I guess @alexandrinapanfil was following this currently outdated guide when bringing gVisor to vHive:

cat <<EOF | sudo tee /etc/containerd/config.toml
disabled_plugins = ["restart"]
[plugins.linux]
 shim_debug = true
[plugins.cri.containerd.runtimes.runsc]
 runtime_type = "io.containerd.runsc.v1"
EOF

I will try adding the lines from the newer guide.

I tried the PR on two xl170 nodes (master + 1 worker), used multinode setup from quickstart guide, adding the gvisor as runtime to necessary scripts:
# master
git clone --depth=1 https://github.com/vhive-serverless/vhive.git
cd vhive
git remote add CuriousGeorgiy https://github.com/CuriousGeorgiy/vhive.git
git fetch CuriousGeorgiy
git checkout CuriousGeorgiy/gh-683-upgrade-gvisor

mkdir -p /tmp/vhive-logs

./scripts/cloudlab/setup_node.sh gvisor > >(tee -a /tmp/vhive-logs/setup_node.stdout) 2> >(tee -a /tmp/vhive-logs/setup_node.stderr >&2)

sudo screen -dmS containerd bash -c "containerd > >(tee -a /tmp/vhive-logs/containerd.stdout) 2> >(tee -a /tmp/vhive-logs/containerd.stderr >&2)"
./scripts/cluster/create_multinode_cluster.sh gvisor > >(tee -a /tmp/vhive-logs/create_multinode_cluster.stdout) 2> >(tee -a /tmp/vhive-logs/create_multinode_cluster.stderr >&2)

# worker
git clone --depth=1 https://github.com/vhive-serverless/vhive.git
cd vhive
git remote add CuriousGeorgiy https://github.com/CuriousGeorgiy/vhive.git
git fetch CuriousGeorgiy
git checkout CuriousGeorgiy/gh-683-upgrade-gvisor

mkdir -p /tmp/vhive-logs

./scripts/cloudlab/setup_node.sh gvisor > >(tee -a /tmp/vhive-logs/setup_node.stdout) 2> >(tee -a /tmp/vhive-logs/setup_node.stderr >&2)

./scripts/cluster/setup_worker_kubelet.sh gvisor > >(tee -a /tmp/vhive-logs/setup_worker_kubelet.stdout) 2> >(tee -a /tmp/vhive-logs/setup_worker_kubelet.stderr >&2)
sudo screen -dmS containerd bash -c "containerd > >(tee -a /tmp/vhive-logs/containerd.stdout) 2> >(tee -a /tmp/vhive-logs/containerd.stderr >&2)"
sudo PATH=$PATH screen -dmS gvisor bash -c "/usr/local/bin/gvisor-containerd --address /run/gvisor-containerd/gvisor-containerd.sock --config /etc/gvisor-containerd/config.toml > >(tee -a /tmp/vhive-logs/gvisor.stdout) 2> >(tee -a /tmp/vhive-logs/gvisor.stderr >&2)"
source /etc/profile && go build
sudo screen -dmS vhive bash -c "./vhive -sandbox gvisor > >(tee -a /tmp/vhive-logs/vhive.stdout) 2> >(tee -a /tmp/vhive-logs/vhive.stderr >&2)"

sudo kubeadm join #...

In a result, deployment fails Error: Internal error occurred: failed calling webhook "webhook.serving.knative.dev": failed to call webhook: Post "https://webhook.knative-serving.svc:443/defaulting?timeout=10s": dial tcp <IP_ADDRESS>:443: connect: no route to host
Istio pods are 0/1 ready with error in the log StreamAggregatedResources gRPC config stream closed since 580s ago: 14, connection error: desc = "transport: Error while dialing dial tcp: lookup istiod.istio-system.svc on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:46321-><IP_ADDRESS>:53: read: connection refused". Seems that DNS inside cluster doesn't work. Example from here is also fails with timeout https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/.
I'm not sure that it is the issue with update or this thing happened before with gVisor deployment in general.
@CuriousGeorgiy, what initialization process did you use for testing?

@leokondrashov I used a single node setup, i.e., scripts/setup_node.sh gvisor + scripts/cloudlab/start_onenode_vhive_cluster.sh gvisor.

please double check with 2 nodes as well when Georgiyu finishes upgrading the config

@CuriousGeorgiy you should keep yourself as an assignee of the PR but request and re-request a review from Leonid.

I am following the standard clutser setup procedure described in quickstart guide, and I keep get the following errors with gVisor setup (both main branch and my branch).
kubectl logs istio-ingressgateway-f5b59cc7c-n5t47 -n istio-system:
2023-03-02T10:54:33.711303Z	warning	envoy config	StreamAggregatedResources gRPC config stream closed since 274s ago: 14, connection error: desc = "transport: Error while dialing dial tcp: lookup istiod.istio-system.svc on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:37612-><IP_ADDRESS>:53: read: connection refused"
2023-03-02T10:55:07.274865Z	warning	envoy config	StreamAggregatedResources gRPC config stream closed since 308s ago: 14, connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"
2023-03-02T10:55:41.930535Z	warn	ca	ca request failed, starting attempt 1 in 91.816745ms
2023-03-02T10:55:41.930899Z	warning	envoy config	StreamAggregatedResources gRPC config stream closed since 342s ago: 14, connection error: desc = "transport: Error while dialing dial tcp: lookup istiod.istio-system.svc on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:47418-><IP_ADDRESS>:53: read: connection refused"
2023-03-02T10:55:42.023154Z	warn	ca	ca request failed, starting attempt 2 in 199.725679ms
2023-03-02T10:55:42.223780Z	warn	ca	ca request failed, starting attempt 3 in 434.158944ms
2023-03-02T10:55:42.658450Z	warn	ca	ca request failed, starting attempt 4 in 872.79127ms
2023-03-02T10:55:43.531589Z	warn	sds	failed to warm certificate: failed to generate workload certificate: create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup istiod.istio-system.svc on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:47418-><IP_ADDRESS>:53: read: connection refused"

kubectl logs default-domain-8r7ls -n knative-serving:
W0302 10:55:07.376158       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
{"level":"fatal","ts":1677754510.4817615,"logger":"fallback.default-domain","caller":"default-domain/main.go:199","msg":"Error finding gateway address","error":"Internal error occurred: failed calling webhook \"webhook.serving.knative.dev\": failed to call webhook: Post \"https://webhook.knative-serving.svc:443/defaulting?timeout=10s\": dial tcp <IP_ADDRESS>:443: connect: no route to host","stacktrace":"main.main\n\tknative.dev/serving/cmd/default-domain/main.go:199\nruntime.main\n\truntime/proc.go:250"}

containerd and gVisor logs don't contain any error messages.
AFAIC, these are networking errors. Could someone please help me out? @anshalshukla @leokondrashov @ustiugov @shyamjesal

this is most likely not the first problem that occurs in the setup.
Please provide more details on where you run it and describe the exact steps to reproduce. Then, you can ask @anshalshukla for help with logs; he has the most experience.

Please provide more details on where you run it and describe the exact steps to reproduce.

@ustiugov What details are needed?
I already described the exast steps to reproduce:

I am following the standard clutser setup procedure described in quickstart guide, and I keep get the following errors with gVisor setup (both main branch and my branch).

This happens on all of the machines recommended for setting up vHive.

I think that specific nodes that you run it, specific commands (quickstart guide is not a very specific thing, you can provide different arguments to scripts to choose runtime like firecracker, gVisor, or stargz deployment) are needed to reproduce.
Commands that I've provided in one of the previous comments are based on the quickstart guide but differ enough so one can easily miss something while trying to following the guide.

As pointed out by Dmitrii I feel the issue is with the istio installation, specifically ingress-gateway but not sure about any solution

@ustiugov I added the precise steps to reproduce the problems to my comment above.

Two things:
why do you run firecracker-containerd? It's definitely redundant for the gvisor setup
Can you check the output of the setup scripts? Does istio installation succeeds? Any other errors?
Also, it would be better to reproduce this problem on a single node.

@ustiugov

why do you run firecracker-containerd? It's definitely redundant for the gvisor setup
It's a typo, I didn't mean this line.

Can you check the output of the setup scripts? Does istio installation succeeds? Any other errors?

As I mentioned, istio installation does not succeed.

Also, it would be better to reproduce this problem on a single node.

As I mentioned, this problem is reproducible on a single node (both @anshalshukla and @leokondrashov managed to reproduce it).

@CuriousGeorgiy if istio setup fails, this is our target for debugging. please proceed with the steps I mentioned above.

@ustiugov

if istio setup fails, this is our target for debugging.

IMHO, this should be debugged in scope of #557. Since single node setup works, we should focus on debugging gvisor in the scope of this PR.

please proceed with the steps I mentioned above.

What particular steps?

I have analyzed the log difference between the main branch and the PR branch during the following steps:
  main branch:
```console
git clone https://github.com/vhive-serverless/vhive.git
cd vhive
mkdir -p /tmp/vhive-logs
./scripts/cloudlab/setup_node.sh gvisor > >(tee -a /tmp/vhive-logs/setup_node.stdout) 2> >(tee -a /tmp/vhive-logs/setup_node.stderr >&2)
./scripts/cloudlab/start_onenode_vhive_cluster.sh gvisor > >(tee -a /tmp/vhive-logs/start_onenode_vhive_cluster.stdout) 2> >(tee -a /tmp/vhive-logs/start_onenode_vhive_cluster.stderr >&2)
source /etc/profile && pushd ./examples/deployer && go build && popd && ./examples/deployer/deployer
</details>

<details> <summary> PR branch: </summary>
```console
git clone https://github.com/CuriousGeorgiy/vhive.git

cd vhive

mkdir -p /tmp/vhive-logs

git checkout gh-683-upgrade-gvisor

./scripts/cloudlab/setup_node.sh gvisor > >(tee -a /tmp/vhive-logs/setup_node.stdout) 2> >(tee -a /tmp/vhive-logs/setup_node.stderr >&2)

./scripts/cloudlab/start_onenode_vhive_cluster.sh gvisor > >(tee -a /tmp/vhive-logs/start_onenode_vhive_cluster.stdout) 2> >(tee -a /tmp/vhive-logs/start_onenode_vhive_cluster.stderr >&2)

source /etc/profile && pushd ./examples/deployer && go build && popd && ./examples/deployer/deployer

The setup and startup script logs are identical.
The containerd and vHive orchestrator logs on the PR branch have additional log entries, the gVisor logs diverge at the tail.
  containerd PR branch logs:
```console
time="2023-03-10T02:14:27.031554014-07:00" level=info msg="StartContainer for \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\""
time="2023-03-10T02:14:27.148468619-07:00" level=info msg="StartContainer for \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\" returns successfully"
time="2023-03-10T02:15:28.074415426-07:00" level=info msg="StopContainer for \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\" with timeout 300 (s)"
time="2023-03-10T02:15:28.076026423-07:00" level=info msg="Stop container \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\" with signal terminated"
time="2023-03-10T02:15:58.081082392-07:00" level=info msg="StopContainer for \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\" with timeout 300 (s)"
time="2023-03-10T02:15:58.081724337-07:00" level=info msg="Stop container \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\" with signal terminated"
time="2023-03-10T02:15:58.115683927-07:00" level=info msg="shim disconnected" id=d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4
time="2023-03-10T02:15:58.115766496-07:00" level=warning msg="cleaning up after shim disconnected" id=d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4 namespace=k8s.io
time="2023-03-10T02:15:58.115789289-07:00" level=info msg="cleaning up dead shim"
time="2023-03-10T02:15:58.129310162-07:00" level=warning msg="cleanup warnings time=\"2023-03-10T02:15:58-07:00\" level=info msg=\"starting signal loop\" namespace=k8s.io pid=32459 runtime=io.containerd.runc.v2\n"
time="2023-03-10T02:15:58.130505751-07:00" level=info msg="StopContainer for \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\" returns successfully"
time="2023-03-10T02:15:58.185056761-07:00" level=info msg="shim disconnected" id=3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262
time="2023-03-10T02:15:58.185153573-07:00" level=warning msg="cleaning up after shim disconnected" id=3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262 namespace=k8s.io
time="2023-03-10T02:15:58.185178769-07:00" level=info msg="cleaning up dead shim"
time="2023-03-10T02:15:58.200865016-07:00" level=warning msg="cleanup warnings time=\"2023-03-10T02:15:58-07:00\" level=info msg=\"starting signal loop\" namespace=k8s.io pid=32489 runtime=io.containerd.runc.v2\n"
time="2023-03-10T02:15:58.201871987-07:00" level=info msg="StopContainer for \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\" returns successfully"
time="2023-03-10T02:15:58.202904198-07:00" level=info msg="StopPodSandbox for \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\""
time="2023-03-10T02:15:58.203032786-07:00" level=info msg="Container to stop \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\" must be in running or unknown state, current state \"CONTAINER_EXITED\""
time="2023-03-10T02:15:58.203068032-07:00" level=info msg="Container to stop \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\" must be in running or unknown state, current state \"CONTAINER_EXITED\""
time="2023-03-10T02:15:58.297232468-07:00" level=info msg="shim disconnected" id=01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e
time="2023-03-10T02:15:58.297287578-07:00" level=warning msg="cleaning up after shim disconnected" id=01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e namespace=k8s.io
time="2023-03-10T02:15:58.297301377-07:00" level=info msg="cleaning up dead shim"
time="2023-03-10T02:15:58.308435103-07:00" level=warning msg="cleanup warnings time=\"2023-03-10T02:15:58-07:00\" level=info msg=\"starting signal loop\" namespace=k8s.io pid=32528 runtime=io.containerd.runc.v2\n"
time="2023-03-10T02:15:58.517985042-07:00" level=info msg="TearDown network for sandbox \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\" successfully"
time="2023-03-10T02:15:58.518050557-07:00" level=info msg="StopPodSandbox for \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\" returns successfully"
time="2023-03-10T02:15:58.673958466-07:00" level=info msg="RemoveContainer for \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\""
time="2023-03-10T02:15:58.679129051-07:00" level=info msg="RemoveContainer for \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\" returns successfully"
time="2023-03-10T02:15:58.681979391-07:00" level=info msg="RemoveContainer for \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\""
time="2023-03-10T02:15:58.687500857-07:00" level=info msg="RemoveContainer for \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\" returns successfully"
time="2023-03-10T02:15:58.688453451-07:00" level=error msg="ContainerStatus for \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\" failed" error="rpc error: code = NotFound desc = an error occurred when try to find container \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\": not found"
time="2023-03-10T02:15:58.689549044-07:00" level=error msg="ContainerStatus for \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\" failed" error="rpc error: code = NotFound desc = an error occurred when try to find container \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\": not found"
time="2023-03-10T02:15:58.690369091-07:00" level=error msg="ContainerStatus for \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\" failed" error="rpc error: code = NotFound desc = an error occurred when try to find container \"d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4\": not found"
time="2023-03-10T02:15:58.691214088-07:00" level=error msg="ContainerStatus for \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\" failed" error="rpc error: code = NotFound desc = an error occurred when try to find container \"3e766a54c6365c33c6317425a6321dc5f7d13f45c54b8dd9c9dfbf41b1a93262\": not found"
time="2023-03-10T02:16:38.381544370-07:00" level=info msg="StopPodSandbox for \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\""
time="2023-03-10T02:16:38.394076537-07:00" level=info msg="TearDown network for sandbox \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\" successfully"
time="2023-03-10T02:16:38.394129265-07:00" level=info msg="StopPodSandbox for \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\" returns successfully"
time="2023-03-10T02:16:38.395241445-07:00" level=info msg="RemovePodSandbox for \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\""
time="2023-03-10T02:16:38.395330196-07:00" level=info msg="Forcibly stopping sandbox \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\""
time="2023-03-10T02:16:38.442629007-07:00" level=info msg="TearDown network for sandbox \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\" successfully"
time="2023-03-10T02:16:38.447710333-07:00" level=info msg="RemovePodSandbox \"01c5c2568835c2a877993150ebdec21dd8920f36d5a694c12c7dffc2ceeaa23e\" returns successfully"
```

  gVisor main branch logs:
```console
time="2023-03-10T02:03:37.628278567-07:00" level=debug msg="registering ttrpc server"
time="2023-03-10T02:03:37.628379841-07:00" level=debug msg="serving api on socket" socket="[inherited from parent]"
time="2023-03-10T02:03:37.628409199-07:00" level=info msg="starting signal loop" namespace=default path=/run/gvisor-containerd/io.containerd.runtime.v2.task/default/1 pid=31710
time="2023-03-10T02:03:37.631737846-07:00" level=debug msg="Executing: [runsc --root=/run/containerd/runsc/default --log=/run/gvisor-containerd/io.containerd.runtime.v2.task/default/1/log.json --log-format=json create --bundle /run/gvisor-containerd/io.containerd.runtime.v2.task/default/1 --pid-file /run/gvisor-containerd/io.containerd.runtime.v2.task/default/1/init.pid 1]"
```

  gVisor PR branch logs:
```console
time="2023-03-10T02:14:24.306573191-07:00" level=info msg="starting signal loop" namespace=default path=/run/gvisor-containerd/io.containerd.runtime.v2.task/default/1 pid=31401
time="2023-03-10T02:14:24.309960086-07:00" level=error msg="Can't get pod uid" error="no sandbox log path annotation"
```

  vHive orchestrator PR branch logs:
```console
time="2023-03-10T02:15:58-07:00" level=error msg="failed to stop container" error="failed to find a active container with id d1f8136eac10d13a0c78476980cccaeede748072885b02828685983afa61cae4"
time="2023-03-10T02:15:58-07:00" level=error msg="failed to teardown network: plugin type=\"bridge\" name=\"mynet\" failed (delete): netplugin failed with no error message: signal: killed"
time="2023-03-10T02:15:58-07:00" level=error msg="failed to stop container" error="failed to kill task: context canceled"
```

I've revisited comments here and found out that the issue that was blocking the PR is closely resembling the issue solved by #785. I think that this as well might be the issue here, since the problem was not caused by specific runtime, but rather network bridges vHive has created.

@leokondrashov rebased the branch, let's see if the gVisor CRI workflow passes.

@ustiugov this PR does not affect firecracker, so I guess we can ignore the firecracker CRI workflow failure

Does our CI test for multi node setup? I don't think so, so it should be checked manually in addition to tests.

I agree with Georgiy, can merge.

if there going to be issues with the multi-node setup, please raise an issue. Istio failure should not be related to gvisor...


KafkaTrigger Azure Functions Channel is full?

We have a k8s cluster that has 6 KafkaTrigger azure functions listening to 6 partitions. We have a time limit to consume all the messages produced on the topic were listening to.
After a little bit of time, our azure functions log this message:
"Channel ********* / 3 / 107 is full, waiting for the function execution to catch up"
Right now, we can handle about 1k messages / min. This morning we had a peak with about 5k messages / min and at that point our system was overloaded and we were not able to get any message out within our time constraint.
Here's the signature of our azure function:

Our project dependencies:

We're using default configs for our KafkaTriggers.

We tried looking around to find any information about our problem but we can't find anything.

Hi @OlivierTD
For the message, means message is coming but, functions execution is not catching up.  So that you might need to increase the ability to execute the messages. In your case, your code looks working in Single Mode. It worth trying Batch Mode by using KafkaEventData<K, V>[]  then you can consume several messages at a time.
Single Mode/Batch Mode
https://tsuyoshiushio.medium.com/azure-functions-kafka-trigger-performance-tips-concept-and-architecture-ec94a31d8b93
https://github.com/Azure/azure-functions-kafka-extension/blob/dev/src/Microsoft.Azure.WebJobs.Extensions.Kafka/Trigger/FunctionExecutorBase.cs#L129
If it doesn't solve, my recommendation is enabling detail logging. You can configure debug for librdkafka https://github.com/Azure/azure-functions-kafka-extension/issues/209#issuecomment-757386309 then you will see more logs, I believe it helps for diagnose the issue.

Also you can increase the capacity of the Channel if you want. Refer to Channel in here. https://tsuyoshiushio.medium.com/azure-functions-kafka-trigger-performance-tips-concept-and-architecture-ec94a31d8b93

Closing this issue as @TsuyoshiUshio has already answered this

@TsuyoshiUshio  i have set cardinality to MANY but still i am getting below error-
'Channel P27900.settlement_instructions_poc / 2 / 64 is full, waiting for the function execution to catch up'


Add unit tests

Major components such as handling POST requests and database operations should be tested.

Sure, a good place to start is testing the database, i.e. ensuring data can be entered and retrieved as expected. The functions in db_utils.py could each be tested on a temporary db file that is created and populated during testing.
Here's a brief introduction to testing Flask apps in general https://flask.palletsprojects.com/en/1.1.x/testing/

ok thanks


Leaderboard is not auto-refreshing contributors data

Description
The leaderboard is not auto-refreshing the data on the individual contributor's page.
Screenshot

@nihal467 this should be fixed now. The https://github.com/coronasafe/leaderboard-data was not configured properly for vercel deployments. It has now been configured and contributors.ohc.network should now show the daily updated page.


Mute triggers after role sound

Problem
I suspect this is something to sort with amonguscapture but players are muted at the end of the crewmate/impostor splashscreen.
Current behaviour
Player's role can leak with the sound made by the impostor's screen through the player's mic.
Expected behaviour
Mute should trigger at the beginning of the role screen, when role sound is about to be played.

This can be changed with .au settings delays, and is entirely up to user preference. If you have reason to believe that most users would prefer a different delay, then submit a PR with evidence demonstrating so, but otherwise this isn't a bug, but more a subjective preference.


[WIRED] Add WIRED Bridge

Added the following new bridge:

WIRED : Tech news - https://www.wired.com/

It has been tested on my own rss-bridge setup, although not fully up to date.

Thanks for the PR !


adds exception type for email update errors

📦 Pull Request
Adds a new exception type for the error thrown when update email fails.
🗜 Versioning
(Check one!)

[x] Patch: Bug Fix?
[ ] Minor: New Feature?
[ ] Major: Breaking Change?

✅ Fixed Issues
Added an exception type for when update email fails.
🚨 Test instructions
n/a
⚠ Update CHANGELOG.md
yes

:rocket: PR was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:


JavaScript

JavaScript
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

When opening the console you will see that the four topics are listed sequentially along with a suggestion on what to study first


Running cartographer on several simulated gazebo robots

Hey guys,
first of all, thanks for that awesome work! I am working for Fraunhofer, a research institute. In general we deal with intralogistics and mobile robot platforms. In one of our recent research projects we deal with the topics multi-robot slam and semantic mapping. We want to use your cartographer for the 2D-slam part. In a first step I have set up a gazebo simulation with 2 simple simulated robots. Each has a initial start position robot_0 (left one): (x=2, y=0, phi=0°) and robot_1 (right one): (x=5, y=0, phi=180°). In gazebo everything looks quite fine. See the picture for that.

But when I start to look to rviz i get a little confused about what is going on behind the scenes.

As you can see, the odom frames are not at the positions that gazebo says. I don't understand that.
I have created 2 separate lua files, one for robot_0 and one for robot_1. Except of the specific namespace they are basically the same.
`include "map_builder.lua"
include "trajectory_builder.lua"
options = {
map_builder = MAP_BUILDER,
trajectory_builder = TRAJECTORY_BUILDER,
map_frame = "map",
tracking_frame = "robot_0/base_link",
published_frame = "robot_0/odom",
odom_frame = "robot_0/odom",
provide_odom_frame = false,
publish_frame_projected_to_2d = true,
use_odometry = true,
use_nav_sat = false,
use_landmarks = false,
num_laser_scans = 1,
num_multi_echo_laser_scans = 0,
num_subdivisions_per_laser_scan = 1,
num_point_clouds = 0,
lookup_transform_timeout_sec = 0.2,
submap_publish_period_sec = 0.3,
pose_publish_period_sec = 5e-3,
trajectory_publish_period_sec = 30e-3,
rangefinder_sampling_ratio = 1.,
odometry_sampling_ratio = 1.,
fixed_frame_pose_sampling_ratio = 1.,
imu_sampling_ratio = 1.,
landmarks_sampling_ratio = 1.,
}
MAP_BUILDER.use_trajectory_builder_2d = true
MAP_BUILDER.num_background_threads = 4
-- LOCAL SLAM
TRAJECTORY_BUILDER_2D.min_range = 0.1
TRAJECTORY_BUILDER_2D.max_range = 30.
TRAJECTORY_BUILDER_2D.missing_data_ray_length = 5.
TRAJECTORY_BUILDER_2D.use_imu_data = false
TRAJECTORY_BUILDER_2D.use_online_correlative_scan_matching = true
TRAJECTORY_BUILDER_2D.motion_filter.max_angle_radians = math.rad(0.1)
TRAJECTORY_BUILDER_2D.ceres_scan_matcher.translation_weight = 10
TRAJECTORY_BUILDER_2D.ceres_scan_matcher.rotation_weight = 30
TRAJECTORY_BUILDER_2D.ceres_scan_matcher.occupied_space_weight = 2
-- GLOBAL SLAM
POSE_GRAPH.constraint_builder.min_score = 0.55
POSE_GRAPH.constraint_builder.global_localization_min_score = 0.8
POSE_GRAPH.optimize_every_n_nodes = 10
POSE_GRAPH.matcher_translation_weight = 1e5
POSE_GRAPH.matcher_rotation_weight = 0.0001
return options
`
Here is my tf tree, which looks even fine.

But I don't understand the initial positions of the odom frames and in realtion to this the position of the base_link frames which are tracked by cartographer.
Can you help me out?
Thanks in advance

Hello @cblesing!
I am working on a similar project but stuck at this point. Could you solve this problem? If so, can you share your experience?
Thank you!

Closing as inactive

Hi @oprezz  and @cblesing,
How did you guys manage to start SLAM for multiple robots? I am currently stuck at add the second robot to the task. I've tried using "start_trajectory" but that only starts SLAM using the default topics.

Hi Grant!
At the time I used the library, there was an option to to add configfile to the start_trajectory, like this:
rosservice call /start_trajectory "configuration_directory: '/home/${USER}/cartographer_ws/install_isolated/share/cartographer_ros/configuration_files/'
configuration_basename: 'robot2.lua'
use_initial_pose: true
initial_pose:
position: {x: 8.0, y: 18.0, z: 0.0}
orientation: {x: 0.0, y: 0.0, z: 0.0, w: 1.0}
relative_to_trajectory_id: 0"
hope this helps.

Hi @oprezz,
Thanks for your suggestion! I've tried similar things where I call the service with a designated lua configuration file. I was able to successfully start a new trajectory only when there's no active trajectory (i.e. All trajectories have been finished). So this is similar to #1321. My desired setup is to have cartographer start multiple trajectories that subscribe to multiple point cloud and tf topics published from multiple robots.
But when I tried to call the "start_trajectory" service, I couldn't find a way to let Cartographer create another trajectory that subscribes to different topics published from the second robot. Cartographer always subscribes to the remapped topics in the launch file (I have something like this <remap from="points2" to="rb1/reduced_points" />) Two of my robots are publishing point cloud and tf information to different topics (e.g. robot1 publishes to /rb1/pointcloud and robot published to /rb2/pointcloud), and I wanted cartographer to create two trajectories that subscribe to those two different topics.
In the RVIZ screenshot from this issue, it looks like there were two independent cartographer nodes launched because two independent /map topics were present (i.e. robot0/Map and robot1/Map). This isn't the desired behavior since those two robots cannot update the same map.
Do you have a similar setup for your Cartographer or you took a different route?
Thanks a lot for your help!
Grant

I understand your task, I also did something very similar. To use the cartographer with multiple robots, you have to use it with the grpc extension.
Then you start the two robot which generates the sensors data, in different terimanals, with different ROS masters, e.g.:
Terminal 1:
export GAZEBO_MASTER_URI=http://localhost:11312
ROS_MASTER_URI="http://localhost:11311" roslaunch robot_sim_pkg gazebo_robot1.launch
Terminal 2:
export GAZEBO_MASTER_URI=http://localhost:11112
ROS_MASTER_URI="http://localhost:11111" roslaunch robot_sim_pkg gazebo_robot2.launch
After this you can start the two cartographer nodes. One of them will be the cartographer master, the other one publishes its data to this master node.
The master node's launch file is something like this:

     <remap from="scan_1" to="front_scan" />
     <remap from="scan_2" to="rear_scan" />
 <remap from="scan" to="car1/top_scanner" />
 <remap from="odom" to="car1/odom" />

The other client cartographer launch file is something like this:

     <remap from="scan_1" to="front_scan" />
     <remap from="scan_2" to="rear_scan" />
 <remap from="scan" to="car2/top_scanner" />
 <remap from="odom" to="car2/odom" />

The robot1_cloud.lua contains information about the server entrypoint:
include "map_builder_server.lua"
MAP_BUILDER_SERVER.map_builder.use_trajectory_builder_2d = true
MAP_BUILDER_SERVER.server_address = "<IP_ADDRESS>:55555"
return MAP_BUILDER_SERVER
The robot2_cloud.lua defines the connection for the client:
include "map_builder_server.lua"
MAP_BUILDER_SERVER.map_builder.use_trajectory_builder_2d = true
MAP_BUILDER_SERVER.uplink_server_address = "localhost:55555"
return MAP_BUILDER_SERVER
I hope this helps!
Note that I used this pkg more then 1 year ago, and things could have changed.

Thanks a lot for the suggestions! I'll give it a try.

@GrantZheng86 were you able to get this to work?


Allow reverse transformation option for Unlinked Tokens

Originally in GitLab by @Kandashi
Currently only Linked Tokens can have a polymorph/wildshape reversed, which can be very frustrating trying to remember hp/item uses/recharges/initiative for an unlinked token if "offensivley polymorphed" by a PC.
Possibly store the actorData of the original token seperatly from the actorData of the new polymorph form?

I believe this was implemented in #1840


Pattern generates a List of duplicate patterns, if @size is also present.

Generated duplicate patterns:
@NotNull
@Size(max = 70)
@Pattern.List({
@Pattern(regexp = ".{1,70}"),
@Pattern(regexp = ".{1,70}")
})
protected String streetAndNumber;

Could you please check against the new 2.3 version please?
Thanks

I have released yesterday, strangely it took some time to appear but now it is listed on maven central:
https://mvnrepository.com/artifact/com.fillumina/krasa-jaxb-tools/2.3.1

I have just added a test that prove the bug fixed.


fix: Handle nil winid values in feline integration

Attempting to use the feline integration resulted in an error message when winid was nil. This pr contains the following changes:

Applying stylua formatting
Added helper function is_enabled that ensures winid is always a Lua number
Replacing blocks setting the enabled attribute with calls to the new is_enabled helper function.

Let me know if the styling or naming should be tweaked.

thank you! can confirm the fix works :)


Configuration error: Configuration for rule "indent" is invalid: Value "error" must be an enum value.

eslint installed version is 4.2.0
eslint plugin version is 1.2.11
pc is running OSX 10.12.5
I created a local eslint.json file using eslint --init
Now I receive this error when opening vscode:

Configuration for rule "indent" is invalid: Value "error" must be an enum value.

What is the correct format for the config file, if it is not the one generated by eslint itself?

@EthanNYT I can not reproduce this. Can you provide your eslint config file.

@dbaeumer Thank your for responding, updating to ESLint 5.3.0 appears to have solved the issue, please close it.

@dbaeumer Thank your for responding, updating to ESLint 5.3.0 appears to have solved the issue, please close it.

@EthanNYT  Thanks. Closing.


adding non-block activity

I would be curious your feedback on the validity of this approach.  What I am seeing locally is a pretty significant performance improvement.  I am not handling failure scenario yet, that needs to be added.

Ryan,
The active repo for this kind of work us now under github/engineblock


Is there a way to uncenter the body？

Hi, thanks for the widget.
I am wondering if there is any way to uncenter the body

What do you mean by uncenter?

I mean the body of the bottom sheet is always fixed(i.e. vertically centered).  It would be nice to have an option to set the alignment.
I have fixed the problem by wrapping the body with a Container  and set the alignment of the container to Alignment.topCenter so the content is always at the top of the body.

I would be nice, for sure. But I can't see the value of adding it because, as you said, it's easy to 'fix'. The think is that I don't believe that SolidBottomSheet should have the responsibility of positioning child widgets. Also, SolidBottomSheet doesn't know how large will be its child so would be a little confusing maybe aligning it... But I will keep in mind you suggestion and add it in the coming version maybe.
Thanks for your support.


zsh: command not found: graph

I installed graph-cli globally using yarn global add @graphprotocol/graph-cli
but still it gives zsh: command not found: graph.
I am using macOS Monterey.
node v16.14.2
Other global package installation are working fine.
Thank you

Use NVM (node manager) and install graph-cli with npm instead.

Thanks nvm worked for me.

what did you write exactly on nvm command to install Graph CLI?

Was facing the same issue after installing without sudo
This worked. sudo yarn global add @graphprotocol/graph-cli
I am using macOS Monterey.
node v16.17.0

Was facing the same issue after installing without sudo
This worked. sudo yarn global add @graphprotocol/graph-cli
I am using macOS Monterey.
node v16.17.0

@HuangLeFei you may need to close and restart your terminal


Changed DSL to support linking text and natural language style

just read the code

:+1: This looks great, Ben! Can you ping me when you've double-checked that we can remove any, then I'll merge it, bump SetBuilder's version, and publish.


Include study install confirmation code in settings

For our usability study, let's include a confirmation code on the settings page that study participants give to us ensure that they have installed OptMeowt. We can discuss on Monday.

Code for just the text of the code. There's a small issue where users cannot highlight text on the Settings Page which means they won't be able to copy/paste. I will look into solving that or creating a button that will automatically copy the code when clicked.

When the 'Copy Code" button is clicked it will copy the confirmation code onto the user's clipboard.
Code has been merged and I am closing the issue.


Correct capitalisation on dates and heading

I assume this was intending to correct casing for the heading circled in red. But need check that is doesn't effect headings circled in green.

re-raise in #144


error: failed to install component: 'rust-docs-x86_64-unknown-linux-gnu', detected conflict: '"share/doc/rust/html/std/keyword.self.html"'

running like so and getting a warning strait away:
cross build -p frontend --target x86_64-unknown-linux-musl
warning: toolchain '1.51.0-x86_64-unknown-linux-gnu' may not be able to run on this system.
warning: If you meant to build software to target that platform, perhaps try `rustup target add x86_64-unknown-linux-gnu` instead?

after a bit get this error:
error: failed to install component: 'rust-docs-x86_64-unknown-linux-gnu', detected conflict: '"share/doc/rust/html/std/keyword.self.html"'
error: couldn't install toolchain `1.51.0-x86_64-unknown-linux-gnu`
caused by: `"rustup" "toolchain" "add" "1.51.0-x86_64-unknown-linux-gnu"` failed with exit code: Some(1)

which version of rust is being used by cross? do i need to configure a specific version somehow?

The version of Rust cross uses is the one on your host machine. You can use whatever toolchain you wish, for example, using cross +stable build ... or cross +nightly build .... We merely mount cargo into the container, which with all the pre-installed tools, allows you to cross compile. It also auto-adds targets to the Rust toolchain if they're not already present.


Data is Null. This method or property cannot be called on Null values.

I'm setting up the DBA Dash Service Config and I'm getting this error all the time. It will not let me deploy/update database.

Hi, did the database get created on the destination SQL instance?  If the database exists, run this query and let me know what it returns:
IF EXISTS(
	SELECT * FROM sys.extended_properties
	WHERE major_id=OBJECT_ID('DBVersionHistory')
	AND name = 'AppID'
	AND value='74F9FD8A-DF22-4355-9A7A-6E1F4AE712B9'
)
BEGIN
	SELECT TOP(1) Version
	FROM dbo.DBVersionHistory
	ORDER BY DeployDate DESC
END
ELSE IF NOT EXISTS(SELECT *
			FROM sys.objects
			WHERE type NOT IN('S','IT','SQ')
            )
        AND DB_ID()>4
BEGIN
	SELECT '<IP_ADDRESS>' AS Version
END
ELSE
BEGIN
	RAISERROR('Invalid database',11,1)
END

Note: This is a script that is used as a version check.  It helps ensure that the dacpac is deployed either to an empty database or the correct repository database.  I don't think this is the issue but it might help troubleshoot.
Also, can you run this query on your destination connection.  Please use the same account as used for the DB deployment.
SELECT SERVERPROPERTY('EngineEdition'),SERVERPROPERTY('ProductVersion'),DB_NAME(),@@SERVERNAME,SERVERPROPERTY('ComputerNamePhysicalNetBIOS')

I don't need to know the servername - I'm wondering if any of these might return null for some reason.  The version might be useful to know.  Also, can you let me know which version of DBA Dash you are using?
If the database has been created, you might want to try deleting it and allow the service to create it on startup.

Hi,  I might have figured this out.  I can reproduce the error by getting @@SERVERNAME to return a NULL value.  You can check if this returns NULL for your SQL instance by running:
SELECT @@SERVERNAME
or
SELECT* FROM sys.servers WHERE server_id=0
@@SERVERNAME should be returning the name of your SQL instance rather than NULL and the second query should return 1 row.
🔧 If you validate that this is the same problem for your SQL instance, you can fix it by running sp_addserver and restarting the instance:
sp_addserver '<name_of_your_instance>', 'local'

I was able to reproduce this issue in my lab environment by running this command and restarting the SQL instance.
---⚠For lab environment only
sp_dropserver @@SERVERNAME

I'm going to improve the error message to make it clear what the problem is:

I might be able to work around the NULL servername but I don't think the issue is very common.

This is fixed in 3.5.

Thank you so much! I think I got it work. However, I'm curious what this warning means.

@chucklor The warning is there because the function @@SERVERNAME returned NULL.  Usually this returns the name of the SQL instance.  e.g. DB1
If you run SELECT @@SERVERNAME on the SQL instance you should see the problem.
DBA Dash can now handle the NULL value but it will display a warning.  You can ignore it and everything should be OK but it's possible that you will run into problems with other scripts that might expect this function to return the name of the SQL instance.
I'm guessing sp_dropserver was called on this server at some point.  You might need to do this if you rename the server, but you would usually call sp_addserver to replace with the new servername.
To get @@SERVERNAME to return the name of the server you will need to run:
sp_addserver '<name_of_your_instance>', 'local'
The new name will need an instance restart to pick up.

sp_dropserver is also used to remove linked servers - so you might have removed it by accident when removing the linked servers.

Again, thank you for the help. Since I've installed version 3.5, for some reason I'm getting this popup and no longer able to connect to my instance.

I clicked OK on the above popup and then I get this one.

Hi,
Version 0.0 probably indicates an empty repository database.  When the service runs it should deploy create/deploy the database.  Did you create the repository database manually?
There is a Logs folder that you can check.  If the service is started it's possible that it's having issue deploying the dacpac - the service should have database owner access to the repository database.
There ia a quick start guide that might be useful.
Hope this helps,
David

My question now is, how do I add additional SQL Server instances to the DBA Dash? I have followed the quick start you posted above and manually deployed the DBADashDB catalog to DB14. I do see that this DBADashDB database is created on DB14. However, I am not sure if the DBADashService is also needed to run on DB14 or not. Currently this DBADashService account service is not running on DB14.

@DavidWiseman , thank you so much for the help and your patience. You're right. The issue seems to be the permission of the account I used to connect to DB14. I think I got it figured out now. Both instances appeared on the DBA Dash now.

That's great - glad you got it sorted.  Hope you find it useful! 😊


Automate update and download of onesky translation strings via API

At the moment strings to translate are manually uploaded to OneSkyApp in one .json file. Onesky has API which can be used to upload new .json file. With automation of this process we can save human labour and make process faster. Same API can be used to download ready translations to apinf server(s).
https://github.com/onesky/api-documentation-platform/blob/master/README.md
Todo:

[ ] Get familiar with onesky API
[ ] Design update process
[ ] Implement background processes to development servers (scripts perhaps)
[ ] Test process
[ ] Add information about automation in documentation so that community knows about it
[ ] Take into daily use.

Tested onesky API with PHP.

<?php
require "api-library-php5/src/Onesky/Api/Client.php";
use Onesky\Api\Client;
$client = new Client();

$client->setApiKey('o86LWCGE0fnG519NO4Eu9w6iKZGmiznw')->setSecret('xxxxxxxxxxxxxxxxxxx');

// show project meta
$response = $client->projects('show', array('project_id' => 119040));
$response = json_decode($response, true);
print_r($response);

// list files
$response = $client->files('list', array('project_id' => 119040));
$response = json_decode($response, true);
print_r($response);

// upload file, CAN NOT BE JSON!!
// $response = $client->files('upload', array(
//    'project_id'  => 119040,
//    'file'        => 'path/to/i18n.yml',
//    'file_format' => 'YAML',
//    'locale'      => 'en'
// ));

?>

The latter gives output:
Array
(
    [meta] => Array
        (
            [status] => 200
            [record_count] => 1
            [page_count] => 1
            [next_page] =>
            [prev_page] =>
            [first_page] =>
            [last_page] =>
        )

    [data] => Array
        (
            [0] => Array
                (
                    [file_name] => en.i18n.json
                    [string_count] => 1058
                    [last_import] => Array
                        (
                            [id] => 1511055
                            [status] => completed
                        )

                    [uploaded_at] => 2017-01-27T11:42:44+0000
                    [uploaded_at_timestamp] =><PHONE_NUMBER>
                )

        )

)

I did not test upload method.

Most likely use case for export is to pull translation as part of release process.

Related tp #264

Normally tasks are:

Export UI texts from APIKA develop
Import texts to OneSky
Translate missing texts to Finnish
Organize proofreading
Export the Finnish translations from OneSky
make a pull request to APIKA

The above should be automized.

This issue was moved to apinf/platform#2050


Support for StructuredGrid files

This PR adds support for StructuredGrid (*.vts) files as well as their parallel counterparts PStructuredGrid (*.pvts)

Coverage: 94.175% (+0.3%) from 93.846% when pulling dc88e41c3749ec0c17d3ea46c4c5a496a2504f77 on boriskaus:bk-support-vts into 3abe6b8b87bf1e79ec8f34de2158bc20fa5331f2 on trixi-framework:main.

It seems like this PR contains the changes from #17 as well. I will thus wait with a review until #17 is merged into main and main then merged into this PR here. Feel free to ping me once this is ready for review 🙂

I've implemented it all, and it seems to run fine.
I see that you only test on Julia 1.6; perhaps an idea to also add a more recent version of Julia there (I know it should be backwards compatible, but you never know).

Ah, there seems to be an error with at least one of the tests...

Hmm, I had the same error a while ago. It started when I introduced local x,y,z in structuredgrid.jl but seems to trigger an error in a completely different test. I have no idea why that would be.

So this mistake sometimes occurs in CI and sometimes not, even when we cleanup the files altogether. I don't like this at all...

So this mistake sometimes occurs in CI and sometimes not, even when we cleanup the files altogether. I don't like this at all...

Can you try fixing it? It seems to me like a very specific error, not related to floating point truncation.

I have no clue where to start. Seems that the files written to disc sometimes have a different size. Not having a local machine that reproduces this error does not help..

Note that the main branch is also failing with what feels to be a fairly similar problem.

@sloede: Whereas CI is fine now, the error remains weird and occurs when reading compressed data back from a file here:
raw = data_array.vtk_file.appended_data
HeaderType = header_type(data_array.vtk_file)
if is_compressed(data_array)
   # If data is stored compressed, the first four integers of type `header_type` are the header and
   # the fourth value contains the number of bytes to read
   first = data_array.offset + 1
   last = data_array.offset + 4 * sizeof(HeaderType)
   header = Int.(reinterpret(HeaderType, raw[first:last]))
   n_bytes = header[4]

   first = data_array.offset + 4 * sizeof(HeaderType) + 1
   last = first + n_bytes - 1
   uncompressed = transcode(ZlibDecompressor, raw[first:last])
else
   ...
end

in some cases, the length of the raw vector is shorter than last as indicated in the header. The CI failure in the main branch seems to be caused by the same issue.
In my last commit, I simply added an error message when this occurs, but it doesn't cure the cause of it.
Are there perhaps changes in the upstream packages that could cause this?

in some cases, the length of the raw vector is shorter than last as indicated in the header. The CI failure in the main branch seems to be caused by the same issue. In my last commit, I simply added an error message when this occurs, but it doesn't cure the cause of it.

Thanks for investigating the issue. Do you know why the error now disappeared? And did it only occur in cases where the file in question was generated on-the-fly or also in cases where an existing vtk file is used?

Are there perhaps changes in the upstream packages that could cause this?

I believe we had a similar issue before - @andrewwinters5000 do you still remember where and when this occurred? I do not remember what we did back then to resolve it, but I recall that we had a similar issue of files being "truncated" by the zip/unzip mechanism.

in some cases, the length of the raw vector is shorter than last as indicated in the header. The CI failure in the main branch seems to be caused by the same issue. In my last commit, I simply added an error message when this occurs, but it doesn't cure the cause of it.

Thanks for investigating the issue. Do you know why the error now disappeared? And did it only occur in cases where the file in question was generated on-the-fly or also in cases where an existing vtk file is used?

Are there perhaps changes in the upstream packages that could cause this?

I believe we had a similar issue before - @andrewwinters5000 do you still remember where and when this occurred? I do not remember what we did back then to resolve it, but I recall that we had a similar issue of files being "truncated" by the zip/unzip mechanism.

I also vaguely remember some spurious issues like these. If I remember correctly, they had some stochastic part, i.e., they were not triggered every time - maybe depending on the GitHub runners etc.? Some parts may have been specific to Windows or so...

in some cases, the length of the raw vector is shorter than last as indicated in the header. The CI failure in the main branch seems to be caused by the same issue. In my last commit, I simply added an error message when this occurs, but it doesn't cure the cause of it.

Thanks for investigating the issue. Do you know why the error now disappeared?
No, if you look at the various CI's of yesterday, it sometimes appears and sometimes not (on different systems)

And did it only occur in cases where the file in question was generated on-the-fly or also in cases where an existing vtk file is used?
I believe it is only with cases where the file was generated on-the-fly.

Are there perhaps changes in the upstream packages that could cause this?

I believe we had a similar issue before - @andrewwinters5000 do you still remember where and when this occurred? I do not remember what we did back then to resolve it, but I recall that we had a similar issue of files being "truncated" by the zip/unzip mechanism.

OK. Since the error seems to have disappeared, once the last remaining issues are resolved, we can merge this.

so we now have 1 failed CI and 2 that passed, with the only thing that changed being:
@show data_array data_array.vtk_file.xml_file

and removing:
# Start with a clean environment: remove example file directory if it exists
isdir(TEST_EXAMPLES_DIR) && rm(TEST_EXAMPLES_DIR, recursive=true)
mkpath(TEST_EXAMPLES_DIR)

It seems to be rather stochastic and I have no idea where to look.
I guess we can probably merge (and increment the version number) and see if it keeps occurring.

It seems to be rather stochastic and I have no idea where to look.

That's also what I remember from similar issues earlier - it's stochastic and when it fails, it's on Windows.

I guess we can probably merge (and increment the version number) and see if it keeps occurring.

Sounds good to me. Thanks a lot for your contributions!


Request - How about changing the default crossFade setting for fadeEffect?

This is a (multiple allowed):

[ ] bug

[x] enhancement

[x] feature-discussion (RFC)

Swiper Version: 6.4.8

Platform/Target and Browser Versions: macOS, CHROME, ETC.

Live Link or JSFiddle/Codepen or website with isssue: Demo published on CodePen

What you did
I am Japanese. I am writing English using Google Translate. Please forgive me though it may be difficult to understand.
Images with different aspect ratios were used in effect: fade. Inactive slides were supposed to be opacity: 0;, active slides and earlier slides are opacity: 1;, and slides after the active slide are opacity: 0; I was doing it. As a result, images with different aspect ratios overlapped and some of the inactive images were visible.
Expected Behavior
What are the use cases that require the current default ( fadeEffect: {crossFade: false} )? I felt that fadeEffect: {crossFade: true} would be more useful in many cases if possible, so I would like to suggest setting it as the default.
Actual Behavior
Please check the behavior demo published on CodePen.
Thank you for reading to the end.

Sorry, but it can not be set as default because it will break (or can break) existing integrations

Sorry, but it can not be set as default because it will break (or can break) existing integrations

@nolimits4web
Thank you for answering!

@nolimits4web
Thank you for answering!


Bazel incompatible flags

As mentioned in https://github.com/bazelbuild/intellij/issues/517, we run test the repository on Bazel CI. To avoid any breakage, we'd like to make sure issues are fixed in advance. Based on our latest CI run (https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/28#0ce981a8-efbe-481c-8105-72ee6098a934), migration is needed for the following flags:

--incompatible_depset_is_not_iterable
--incompatible_depset_union
--incompatible_disable_deprecated_attr_params
--incompatible_disable_legacy_cc_provider
--incompatible_disallow_legacy_py_provider
--incompatible_merge_genfiles_directory
--incompatible_new_actions_api
--incompatible_use_toolchain_providers_in_java_common

In particular, I plan to flip --incompatible_merge_genfiles_directory very soon.
Let me know if you need any help.

There's some update in the latest commits for --incompatible_merge_genfiles_directory:
https://github.com/bazelbuild/intellij/commit/9251dcac889928902cbdd6b3317ab02a01141819#diff-8825cb09855ccccac6d20911755d4284L45
--incompatible_disable_legacy_cc_provider should be https://github.com/bazelbuild/intellij/issues/527
When would --incompatible_disallow_legacy_py_provider be scheduled for a flip? It sounds like it was introduced in 0.23 (https://github.com/bazelbuild/bazel/issues/7298)
Some updates for --incompatible_depset_union, --incompatible_new_actions_api as well:
https://github.com/bazelbuild/intellij/commit/9251dcac889928902cbdd6b3317ab02a01141819#diff-ce84cc6cc21958f1b5bc7f65e7555c00L34

I sent #538 for --incompatible_disallow_legacy_py_provider. It was introduced in Bazel 0.23 and is scheduled to be flipped in 0.25.

Thanks.
There's still some work to do. Migration is needed for --incompatible_depset_is_not_iterable and --incompatible_disable_deprecated_attr_params.
https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/88#c2fb4d3f-73ab-4881-ab43-85eaf8af2e7d

@jin Do you want to look at --incompatible_depset_is_not_iterable?
For --incompatible_disable_deprecated_attr_params, we'll need to update the dependency on protobuf.


Remote dataset loading fail

Hi,
I am trying to use TorchStudio remote, but there is an error occured.
python3.9/socket.py, line 704, in readinto
return self._sock.recv_into(b)
ConnectionResetError: 104
this comes after the message: Loading Dataset

Hi, can you upload here the log files located in ~/TorchStudio/logs (mac/linux) or %USERPROFILE%/TorchStudio/logs (windows)

@JimOneG Please visit this page to reproduce the error.


Acknowledge draft service updates

Summary
When moving G-Cloud 10 services from drafts to 'published', we generate
a lot of update_service audit events. We have an admin page that
allows CCS to review and acknowledge update_service audit events, but
this is only intended for services which are currently live (i.e. the
framework is open). Service changes from the script which promotes the
drafts, publish-g-cloud-draft-services.py (and
publish-dos-draft-services.py) should not need to be acknowledged by
CCS.
This script will go through and acknowledge all audit events created by
the publishing scripts.

Bunch of flake8 stuff for line length and whitespace


Update telegram-alpha to 3.6-109947,724

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

the app icon is gone!!!

https://rink.hockeyapp.net/feedback/f28e8f5373ecb1dd3a3ab15e03c0fc8c


v2.1.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

2024-02-03T22:45:31.8934629Z ##[error] Manifest Error: Field usage requires verified publishers. [Icons]

(Automated response - build 695.)

I made a new version called V2.1.0


Improve README and Sample Usage

[ ] README is lacking of installing and getting started usage
[ ] README needs tutorial for Cocoapods and Carthage
[ ] cocoapod try might be a nice feature

All these items are welcome.
For item 2, the README had had a quick guide section. It was moved to project wiki. I hope I can write more documents in the wiki. I'm not a good technical writer, specially in english.
I'm OK to bring it back to help developers to take a quick look.
I remember that you have done some works on these items, right?

Can you also add some examples on how to use this XWebView function:
public func loadFileURL(_ url: URL, overlayURLs: [URL]? = nil) -> WKNavigation?


Change deviceID

How do I change deviceId of the devices?

The deviceId is reported in your SYNC response. To report changes in the SYNC metadata from your smart home Action, you need to use the Request Sync API to trigger an update.
Note that if you change the deviceId in a new SYNC, the platform will treat this as as one device being removed and a new device added.

The deviceId is reported in your SYNC response. To report changes in the SYNC metadata from your smart home Action, you need to use the Request Sync API to trigger an update.
Note that if you change the deviceId in a new SYNC, the platform will treat this as as one device being removed and a new device added.

Yes I do aware of it but I want to assign a custom deviceId that writes to the Firestore. When I tried assign a string replacing the doc id, it does nothing.
export async function addDevice(userId: string,
data: ApiClientObjectMap<string | boolean | number>) {
await db.collection('users').doc(userId).collection('devices').doc(data.id as string).set(data)
}

Yes I do aware of it but I want to assign a custom deviceId that writes to the Firestore. When I tried assign a string replacing the doc id, it does nothing.

If you want to set custom parameters when a device is created, you can use the Import JSON device to build a device from a custom SYNC payload (including the id value).
Another option is to create the device type you want in the frontend, and then edit the device data directly in Firestore from the Firebase Console to change values like the device id.

Yes I do aware of it but I want to assign a custom deviceId that writes to the Firestore. When I tried assign a string replacing the doc id, it does nothing.

If you want to set custom parameters when a device is created, you can use the Import JSON device to build a device from a custom SYNC payload (including the id value).
Another option is to create the device type you want in the frontend, and then edit the device data directly in Firestore from the Firebase Console to change values like the device id.

Thank you for the answer given.


Display News Feed photo credits

Info button should toggle visibility:

@aaronschachter The photo credit shouldn't be too long, but we should be prepared for something that spans multiple lines, so the height of that view should be variable.


CI: Figure out how to get reliable monitor output

There's some rather elaborate usage of sleep being proposed in some tests to ensure that:

The monitor is in fact running before executing some test statements
That the monitor has in fact collected all of the notifications resulting from action in the test statements

Refer the PR comment here: https://github.com/cilium/cilium/pull/9210#discussion_r332225891
I think that this is because the initial goal of the monitor gathering was just to quietly gather log output in the background. Now that tests are being built against its output, we should implement blocking versions so that developers can write tests reliably against the monitor without resorting to these tricks.

This is also likely a cause behind the CI flake #9330.

Do we have CI helpers that allow waiting until the monitor output has some expected content? That'd be nice for the second point in the issue description.

What about the filters that we have --related-to=<endpoint ID> + grep and so on? wouldn't that help to get a reliable monitor output?

By "reliable", I mean with respect to timing of (1) startup of the monitor vs (2) running test traffic vs (3) stopping the monitor.

discussed offline


bug(matStartDate,matEndDate): matStartDate & matEndDate in mat-date-range-input are touched and dirty from the beginning

Reproduction
StackBlitz: https://stackblitz.com/edit/angular-qpcqzz?embed=1&file=src/app/date-range-picker-forms-example.html
Steps to reproduce:

Bind [(ngModel)] to matStartDate & matEndDate in mat-date-range-input
Inspect ng-touched, ng-dirty and ng-pristine css classes of matStartDate & matEndDate inputs

Expected Behavior
Controls behind matStartDate & matEndDate must be pristine: true, dirty: false, touched: false at the beginning if
no one interacted with them
Actual Behavior
They are dirty, touched and not pristine
Environment

Angular: 10.0.7
CDK/Material: 10.1.2
Browser(s): Any
Operating System (e.g. Windows, macOS, Ubuntu): Any

I have the same issue, it happens when an initial value is binded to the control, even if you do it like this:
formControl.setValue([ANY VALUE], { emitEvent: false });

I am experiencing this same issue. I have replace the date range picker with two date pickers temporarily.

Any update or recommended work around for this yet?

@shanegilbert I've looked into this a couple of times, but unfortunately have not made any serious progress. I will continue to debug in my spare time, but I am currently juggling a few different unrelated tasks.


Docs

Documentation needs to be updated to v1.0.0.

Readme also needs to be updated

Contributing guide needs to be created


jsforce.Connection is not a constructor

I have copied the code from JSForce and i couldnt even find it working in my developer instance. Could you please help me
I'm getting the following error
"jsforce.Connection is not a constructor"
I have placed the jsforce.js file as a static resource on server. Please help me, thanks in advance!
<apex:page docType="html-5.0" showHeader="false">
<apex:includeScript value="{!URLFOR($Resource.JSforce)}" />

<b onClick="jsforce()">Test</b>
/apex:page

Not sure what happened here. Please check you surely loaded jsforce.js in browser's developer tool console.

I had the same issue when I tries just using the metadata api file, but the problem resolved itself when moved to the all in one library. I wonder if there is a dependency there?

I'm also having this issue when trying to use Metadata.
const mdapi = new Metadata(conn);
Uncaught (in promise) TypeError: jsforce__WEBPACK_IMPORTED_MODULE_11__.Metadata is not a constructor
This is a typescript/webpack project


Newbie question

System Info
I am trying to run this in order to connect it to chat-ui and run it all locally.
I have docker installed but when running the install commands through terminal/command prompt/power shell
I get this error:
'model' is not recognized as an internal or external command,
and
'volume' is not recognized as an internal or external command,
How can I specify it? i tried to put it in a dockerfile but still not working for me.. how can it accept the variables?
what am i missing?
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
not relevant
Expected behavior
Its not a bug its my error

Can you share more specifically exactly what you're doing ?
Seems from the error that you're doing the command quite wrong, the error  'model' is not recognized as an internal or external command, usually means the shell is trying to run those as core command, where normally only the first item of a command should be the core program.
Also you seem to be on Windows, are you running WSL ?
Please paste the entire output of the recommended information that gets suggested when you open an issue.

Can you share more specifically exactly what you're doing ?
Seems from the error that you're doing the command quite wrong, the error  'model' is not recognized as an internal or external command, usually means the shell is trying to run those as core command, where normally only the first item of a command should be the core program.
Also you seem to be on Windows, are you running WSL ?
Please paste the entire output of the recommended information that gets suggested when you open an issue.

I use Windows11, Just opening Powershell/command prompt and writing the install commands, do i need to do it inside a different enviorment?


Fix null overlays NPE in KmlRenderer.removeGroundOverlays method

I signed it

Fixed in https://github.com/googlemaps/android-maps-utils/pull/375


Combine montages in plot_80 tutorial

Need to edit the plot_80 tutorial so that channels across all montages are combined when making plots.
Currently, montages A and B are plotted separately. Wish to combine montages since they each have unique channels.

all looks good to me, go ahead and merge when ready


BetterPrivacy has been removed

According to https://addons.mozilla.org/en/firefox/addon/betterprivacy/ the add-on has been removed from AMO. Therefore, a Beta or WebExtension isn't available.

Ah its a cached value. Removing this from the site.


Unable to configure client - 1.0.0.beta.2

Describe the bug
I was unable to configure the client using the same interface the documentation suggests
`block in configure': undefined method `application_key=' for #<DatadogAPIClient::V1::Configuration:0x00007ff3ec0f28e0> (NoMethodError)

To Reproduce
run the following script - This assumes the dependencies and OS outlined below
    DatadogAPIClient::V1.configure do |config|
      config.api_key         = "the-api-key"
      config.application_key = "the-application-key"
    end

Expected behavior
The library gets configured and can be used
Environment and Versions (please complete the following information):

Mac OS  Catalina 10.15.7
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19]
datadog_api_client (1.0.0.beta.2)

Hello,
Sorry for not checking this earlier. There was a small window where the documentation was more recent than the release, the doc applied to beta-3. Upgrading to the latest version should work, let us know if it doesn't. Thanks.


[PIO-172] Add document for upgrading to 0.14.0

ref #466
This is a guide which explains how to migrate current indexes by reindexing.

I'll merge it. Any obejection?

One question, for these documentation changes, we will have another PR to merge these changes to livedoc branch?

Since this document is for the next release, merging to only master would be enough for now. We should merge master to livedoc as a part of the release operation of 0.14.0.

This pull request has been merged at commit https://github.com/apache/predictionio/commit/4fe28b9b06521e52ed2e3c70d41a15df605dc660
However, because I pushed it to git-wip-us.apache.org/repos/asf/predictionio.git with the wrong pull request ID on the comment, this PR was not been closed automatically.
I'll close this manually.


Reopening or migrating rescripts?

@harrysolovay so sorry to message you here but I couldn't do it on the Rescripts repo.
I've been using this in production since it was built, and it has always been the simplest and most effective CRA tool. It's the only one that seems to use plain vanilla JS and the KISS method.
In any case, every other library seems to have come and gone and this is the only one that works for me on CRA v5. Would you consider reopening it and/or transferring it? I'd be happy to take over development as I'm using it in production for https://bookclubs.com.
Thank you for considering it!
Sincerely,
Ian Campbell (@YPCrumble)

Hi @YPCrumble, thank you for the kind words about Rescripts. Unfortunately––given the amount of time that has passed since writing Rescripts (~4 years)––I can't vouch for its ongoing stability (hence why Rescripts is archived).
Regarding transferring it––I'd rather not; many projects still depend on Rescripts and I feel that it would be unkind to existing users for me to transfer ownership.
In the future, please don't open issues in this repo. If you need to get in touch, please message me directly on Twitter.
And again, thank you for the kind words about Rescripts. I'm thrilled to hear that it was/is useful to you.


paginator  isn't a known property of 'mdt-dynamic-table'

I have implemented material-dynamic-table in a "table-material" component  to reuse it at different places in my project.
I am able to display a table with pagination (default + custom pagination with internal paginator).
However when I reload my datas in my current page I loose the pagination.
So I've tried to input the "paginator" property to , in a first time, set an external paginator (with  MatPaginator) , then to hide the internal paginator passing null.
Both cases failed with the same error  :

table-material.component.html ( Trying to hide )
   <mdt-dynamic-table [columns]="columns" [dataSource]="dataSource"  [paginator]="nullVariable"></mdt-dynamic-table>
with  public nullVariable = null in table-material.component.ts
It just looks that 'paginator' input doesn't work.
(Angular 7.1.2;
material-dynamic-table v1.1.2)
Thanks for this project very very useful.

I have double checked with stackblitz and it does work as expected, maybe you didn't do npm install and it still is using the old version even though package.json have new version referenced?
Also as a hint you can just have  [paginator]="null", no need for nullVariable.


Aragorn's role in the map - ideas

I have been looking through a timeline that attempts to puts all of Tolkien's stories in order. http://lotrproject.com/timeline/
I also saw that Aragorn (Thorongil) took  "a small Gondor squadron of ships, [and] led an assault on the long-standing rebel province of Umbar in 2980, burning many of the Corsairs' ships and personally slaying their lord during the battle on the Havens. After the victory at Umbar, "Thorongil" left the field and, to the dismay of his men, went east."
"Later in 2980, he visited Lórien, and there once again met Arwen. He gave her the heirloom of his House, the Ring of Barahir, and, on the hill of Cerin Amroth, Arwen pledged her hand to him in marriage, renouncing her elvish lineage and accepting the Gift of Men: death."
"Before the events of The Lord of the Rings properly take place, Aragorn also traveled through the Dwarven mines of Moria, to Harad, where (in his own words) "the stars are strange." Tolkien does not specify when these travels occurred nor does he indicate what happens when Aragorn visits."
http://lotr.wikia.com/wiki/Aragorn_II_Elessar

we may be able to work something in, I was contemplating trying to get another eastern faction build in if possible, angmar

I have a map that would work for Umbar too if you are interested.

I have added him in for part of a quest line already in the upcoming release.  I think we will leave it at that for now unless you had other ideas?

Aragorn/Strider now has a proper role in the new quest line, unless some minor ones are thought up, going to close this out.


Docs: New logo

Using Oruga logo and Bulma logo "draw" a new logo to publish in the Readme and in the official docs.

How about this logo?

@chamindujs Mmm, no 😐

@jtommy Do you want them to be separated?

@chamindujs your base idea is not bad because Bulma "wears" Oruga but probably it's too mixed.
You might try something similar or given that the final stage of Oruga (caterpillar) is a butterfly you might design a butterfly with Bulma logo and colors, what do you think ? 😉

I agree with @jtommy also Bulma logo could be used as wings 🦋 Anyway thank you for your interest and effort @chamindujs do you think it's possible for you to make something related to butterflies?

On it!

How about this one guys?

@chamindujs it's no mandatory to use Oruga logo, you can use part of it or don't use it but the final result should be a butterfly with Bulma logo/colors.

@chamindujs I really love wings! yes Oruga logo is not mandatory, anyway it would be great to unroll it and use as body (I've shared a sketch below). I suggest to use the main Bulma color for wings and body, and use svgs (Oruga logo svg and Bulma svg logo bulma-vector-logo-78C6997676-seeklogo.com.zip) as source. What about?

@rubjo we've chosen the third logo as the official one! Just a little improvement if possible: we'd like to have the left wing equal to the right one, mirrored. Feel free to open a new PR and remove the other logos.


Make the tip message of destroy the same as the one for deployment?

great, thank you @swaroopar.


feat: enables 'edge' as a possible runtime for API routes, prevents rendering pages on stable edge runtime

Bug

[ ] Related issues linked using fixes #number
[ ] Integration tests added
[ ] Errors have a helpful link attached, see contributing.md

Feature

[ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
[ ] Related issues linked using fixes #number
[ ] e2e tests added
[ ] Documentation added
[ ] Telemetry added. In case of a feature if it's used or not.
[ ] Errors have a helpful link attached, see contributing.md

Documentation / Examples

[ ] Make sure the linting passes by running pnpm build && pnpm lint
[ ] The "examples guidelines" are followed from our contributing doc

This is the wrong packport branch.


DBZ-683 Snapshot supports storing only whitelisted tables setting

https://issues.jboss.org/browse/DBZ-683

@jpechane, could you rebase this? There are some conflicts due to the parser removal.

@jpechane, there's a test failure; I suppose caused by concurrent related PR being merged in the meantime?

@gunnarmorling Rebased, rebased, rebased, pushed and finally passing :-)

Ok, excellent!


Updated get_manta_sv doesn't work for remote users

This issue is caused by a new path for the manta merges. These new merges need to be synced by the accompanying snakefile in order to fix this.
> all_svs = get_manta_sv()
[1] "missing:  /Users/rmorin/gambl_results/gambl/manta-2.3/merges/manta.genome--grch37.bedpe"
Error: '/Users/rmorin/gambl_results/gambl/manta-2.3/merges/manta.genome--grch37.bedpe' does not exist.

Kostia will close this once he has pushed the updated snakefile from my closed branch.


M2optimized

End-user friendly description of the problem this fixes or functionality that this introduces

[ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

Link of any specific issues this addresses

No. Unintentional.


Bug: trajectory builder options of empty trimmed trajectories are serialized

How to reproduce:

run pure localization
finish pure localization trajectory (should get trimmed, i.e. pose graph size of this trajectory == 0)
serialize state

Let X be the number of frozen trajectories, Y the number of active localization trajectories and Z the total number of trajectories that have ever been active. All numbers at the time of serialization.
If we then load the state we get the error:

load state --> Check failed: pose_graph_proto.trajectory_size() == all_builder_options_proto.options_with_sensor_ids_size() (X+Y vs. Z)

This means that at least the options for an empty, finished trajectory were still lying around at serialization time.

It seems like this check was removed by 73d18e5fc54bfa4e, is this still happening on current map?
If yes, this is of course a bug because you should be able to Save/Load.

Didn't check that yet. Can you assign this issue to me so I have it in my list? Thanks

@MichaelGrupp Hopefully #1214 should fix this. Can you give it another shot?

Works, but the deletion breaks a check in cartographer_ros. Luckily I'm working on integrating the trajectory state there ;)
Here's the PR, it's published a bit earlier than planned now because of this bug but it's ready from my side.

PR: https://github.com/googlecartographer/cartographer_ros/pull/910


Handle case when ajax response has no "content-type" header

See https://tools.ietf.org/html/rfc7231#section-<IP_ADDRESS>
Also:

https://stackoverflow.com/questions/21029351/what-content-type-
should-a-204-no-response-use
https://stackoverflow.com/questions/29784398/should-content-type-
header-be-present-when-the-message-body-is-empty

Coverage remained the same at 100.0% when pulling 3c5820cd2780d622562829225af65cc2232c1d04 on filip-savic:204-status-response-without-content-type-header into 4ce5296e71bd4f9d3c72c86f842e3e0a46ee7052 on dbrekalo:master.