[analyzer] incorrect occurrences count of edit.bulkFixes for prefer_const_constructors

The below case contains a single lint, however the dart fix sees it as two fixes.
class C {
  const C();
}
void f() {
  var c = C();
  print(c);
}

This is because AddConst and ReplaceNewWithConst, which are the potential fixes, are both configured for bulk, one of them is offering the fix, the other is not.
details.fixes.occurrences is 2 instead of expected 1.

failing test
  Future<void> test_count() async {
    newAnalysisOptionsYamlFile(testPackageRootPath, '''
linter:
  rules:
    - prefer_const_constructors
''');

    addTestFile('''
class C {
  const C();
}
void f() {
  var c = C();
  print(c);
}
''');

    var details = await _getBulkFixDetails();
    expect(details, hasLength(1));
    assertContains(details,
        path: testFile.path,
        code: LintNames.prefer_const_constructors,
        count: 1);
  }

Thanks for tracking this down! I wasn't aware that List.hashCode isn't based on the hashes of the elements. And I'm probably not alone in that.
Sounds like we need to change the generator so that hashCode is stable. Basically, anywhere that we're passing a list into Object.hash we need to instead pass the elements of the list into Object.hashAll. That should make hashCode consistent with ==.
It turns out that the same is true for Map.hashCode, so two maps with the same entries will not have the same hash code. It would be good to fix that at the same time.

analyzer_plugin and analysis_server were changed. Please note that LSP uses lspHashCode which handles the issue.
PTAL at sdk/250380


TypeError: 'DataContainer' object is not subscriptable

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
I have read the FAQ documentation but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
Everything is normal during the training phase，but during the testing phase, I can’t run and report an error:
TypeError: 'DataContainer' object is not subscriptable
Reproduction

What command or script did you run?

sh test_slurm.sh
#!/usr/bin/env bash

PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \

srun -p pat \
    --job-name=test \
    --gres=gpu:2 \
    --ntasks=2 \
    --ntasks-per-node=2 \
    --cpus-per-task=5 \
    --kill-on-bad-exit=1 \
    python -u test.py \
    ../configs/condlanenet/tusimple/tusimple_small_test.py \
    /mnt/lustre/wangjinsheng/project/lane-detection/conditional-lane-detection/tools/output/small/latest.pth \
    --show \

Did you make any modifications on the code or config? Did you understand what you have modified?

What dataset did you use?
Tusimple

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.

sys.platform: linux
Python: 3.7.11 (default, Jul 27 2021, 14:32:16) [GCC 7.5.0]
CUDA available: False
GCC: gcc (GCC) 5.4.0
PyTorch: 1.6.0
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) oneAPI Math Kernel Library Version 2021.3-Product Build 20210617 for Intel(R) 64 architecture appl
ications
  - Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_
PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPP
ER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits
-Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused
-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=de
precated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-styl
e-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math
-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_A
VX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF
, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0
OpenCV: 4.5.3
MMCV: 0.5.6
MMDetection: 2.0.0+73c2043
MMDetection Compiler: GCC 5.4
MMDetection CUDA Compiler: 10.1

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]   conda
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error trackback here.
(openmm) [wangjinsheng@HOST-10-198-32-69 tools]$ sh test_slurm.sh
[                                                  ] 0/2782, elapsed: 0s, ETA:[                                                  ] 0/2782, elapsed: 0s, ETA:Traceback (most recent call last):
Traceback (most recent call last):
  File "test.py", line 149, in <module>
  File "test.py", line 149, in <module>
    main()
  File "test.py", line 127, in main
    args.show_score_thr)
  File "/mnt/lustre/wangjinsheng/project/lane-detection/conditional-lane-detection/mmdet/apis/test.py", line 28, in single_gpu_test
    main()
  File "test.py", line 127, in main
    args.show_score_thr)
  File "/mnt/lustre/wangjinsheng/project/lane-detection/conditional-lane-detection/mmdet/apis/test.py", line 28, in single_gpu_test
    img_tensor = data['img'][0]
TypeError: 'DataContainer' object is not subscriptable
    img_tensor = data['img'][0]
TypeError: 'DataContainer' object is not subscriptable

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

There may be problems in getitem of your own dataset, you check what data['img] is

Feel free to reopen the issue if there is any question


Validate Apache AGE setup and installation documentation for PG 12

Validate and document any issues with the Apache AGE setup and installation documentation for any OS environment using a version of PG12.
The documentation should be correct and easy to understand. If not, please submit the necessary changes.
It is understood that for some environments the documentation may need specific changes, so please provide addendums for those environments and changes to the installation documentation as well.
For the environments where Apache AGE may not function at all (i.e. unsupported), please note these for review.
Link to setup -
https://age.apache.org/age-manual/master/index.html
NOTE: Currently Apache AGE for PG 12 is an ALPHA release and needs to be checked out from Github.
PG 12 versions 12.0 through and including 12.12
If, for example, you are testing CentOS 7 and PG 12.10 please state, in a comment, that you are testing that specific combination so that others can pick another. Then, when completed, state your results. These comments should be something like what follows.
Validating - CentOS 7 and PG 12.10.
Successful - CentOS 7 and PG 12.10.
Validating - CentOS 7 and PG 12.1.
Failed - CentOS 7 and PG 12.1 - needs blah, blah, and blah.
BTW, note that currently Windows is not supported.

I'm ready to start.


Uwp map fixes

Fixes to the map from this PR on the Xamarin.Forms project: https://github.com/xamarin/Xamarin.Forms/pull/724

Hmm, conflicting changes, Have I screwed this up again. I will revisit

Why you are removing async?

In my application on UWP (I couldnt replicate in the samples) I am getting a Win32 exception. I thought removing the Async may have been the problem.
I basically just merged the changes at that pull request with this project


x/tools/cmd/goimports: too slow

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.6.2 darwin/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/romeo/code/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.6.2/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.6.2/libexec/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"

What did you do?
I've got a repo with a lot of vendored libraries:

$ tree vendor -d -L 2
vendor
├── github.com
│   ├── BurntSushi
│   ├── TheThingsNetwork
│   ├── apex
│   ├── boltdb
│   ├── brocaar
│   ├── dgrijalva
│   ├── eclipse
│   ├── fsnotify
│   ├── golang
│   ├── googollee
│   ├── gorilla
│   ├── hashicorp
│   ├── jacobsa
│   ├── labstack
│   ├── magiconair
│   ├── mattn
│   ├── mitchellh
│   ├── rcrowley
│   ├── robertkrimen
│   ├── smartystreets
│   ├── spf13
│   ├── tj
│   └── valyala
├── golang.org
│   └── x
├── google.golang.org
│   ├── appengine
│   ├── cloud
│   └── grpc
└── gopkg.in
    ├── bsm
    ├── redis.v3
    ├── sourcemap.v1
    └── yaml.v2

35 directories

And now goimports is really slow:
$ time goimports routes/events.go 1>/dev/null
goimports routes/events.go > /dev/null  3.45s user 9.69s system 331% cpu 3.964 total

However if I remove the vendored library and get the dependencies into my $GOPATH:
rm -r vendor
go get

goimports is really fast again:
$ time goimports routes/events.go 1>/dev/null
goimports routes/events.go  1>/dev/null  0.01s user 0.01s system 68% cpu 0.032 total

What did you expect to see?
Same performance on vendored libs and libs in $GOPATH.

What did you see instead?
A large performance difference.

Good timing. I was annoyed by goimports' performance recently and started investigating today during the Gophercon hack day. I have a change on my laptop to make things much faster.
It's doing way more work than necessary.

Can't wait for the CL.

I think it's fast enough to close this now.


Deque initialisation using array similar repeating and count parameter

Implement initialiser of Deque to allow initialisation of Deque elements like available for Array(repeating: 0.0, count: 10).
The repeating parameter shall be setable to any Double for a number of elements as defined in count parameter.
A possible use case is:
private var myTryOfCircularQueue: Deque<Double> = Deque(repeating: 0.0, count: 10)
instead of:
private var myTryOfCircularQueue: Deque<Double> = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]

Belated update: this is already a thing!
https://github.com/apple/swift-collections/blob/main/Sources/DequeModule/Deque%2BCollection.swift#L582
Please reopen if there is an issue with this implementation.


Can't install AI Tools (macOS)

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
1) pull cvat
2) install nuclio
user@MacBook-Pro-Urij cvat % nuctl version Client version: "Label: 1.11.24, Git commit: f2a3900d23b92fd3639dc9cb765044ef53a4fb2b, OS: darwin, Arch: amd64, Go version: go1.19.10"

docker compose up

3) from https://opencv.github.io/cvat/docs/administration/advanced/installation_automatic_annotation/

4) In docker:

but AI Function not show in chat

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

It looks like the models have not been added
image=$(curl https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png --output - | base64 | tr -d '\n')
cat << EOF > /tmp/input.json
{"image": "$image"}
EOF
cat /tmp/input.json | nuctl invoke openvino-omz-public-yolo-v3-tf -c 'application/json'

Logs:
Error - Function not found: openvino-omz-public-yolo-v3-tf @ nuclio
    /nuclio/pkg/nuctl/command/invoke.go:119

Call stack:
Failed to enrich function invocation options
    /nuclio/pkg/nuctl/command/invoke.go:119

The problem is partially solved.
There were 2 problems. The first one is related to "shopt -s globstar"
The solution was taken from https://apple.stackexchange.com/questions/291287/globstar-invalid-shell-option-name-on-macos-even-with-bash-4-x
Second problem with "func_rel_path="$(realpath --relative-to="$SCRIPT_DIR" "$(dirname "$func_root"))""
A similar issue was addressed in "https://github.com/mirage335-colossus/ubiquitous_bash/issues/1"
Solution: Specify the required path directly in the script code
But at the moment there is an error:
`> [internal] load metadata for docker.io/library/cvat.openvino.base:latest:
Dockerfile:30
28 |     RUN mo --input_model=/root/dextr.onnx --model_name=dextr --output_dir=/root
29 |
30 | >>> FROM cvat.openvino.base
31 |
32 |     COPY --from=build --chown=root:root /root/dextr.xml /root/dextr.bin /opt/nuclio/
ERROR: failed to solve: cvat.openvino.base: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
`

add --platform=linux/amd64 to local Dockerfile and docker find it.  But it looks like it won’t work for Mac M3

M1/M2/M3 cpus are not supported by us.
CVAT itself is only python and JS code, but with many 3rdparty dependencies. And the problem with these CPUs are in 3rdparty dependencies.


Fix ReplicationChecker unit tests

Fix https://github.com/Alluxio/alluxio/issues/14760

Merging this so the unit tests don't keep breaking for more days.

alluxio-bot, merge this please


Compose support

Does this library have Compose support? If this is supported, can you share a sample code block?

Since this lib hasn't been updated since compose was released, there's no native compose support.
However, you can use a AndroidView-Bridge

@MarcelReiter thanks for your reply. I used it with AndroidView.


Sockets: > 1 order magnitude slowdown when splitting message into two parts

Overview
I have some serialization code that supports various communication channels and formats. It is a relatively chatty protocol, that sends lots of fairly small messages.
When sending messages as byte data, all messages are preceded by a 32 bit int describing the length, and then that many bytes are consumed. Input bytes are handled by a MessageGrouper which produces its own stream of bytes that are just the fully formed messages.
These length bytes and message bytes are written through back to back but independent writes to the socket/stdio sink. Note that in stdio mode though these are actually grouped and we get only one list of bytes on the other end in practice (not the case for sockets, they come separately).
This performs relatively similar across all the supported channels (send ports, stdio) except for sockets, where it is significantly slower (~100x).
Note that this behaves the same in AOT or JIT modes.
Repro steps
See https://github.com/dart-lang/sdk/blob/main/pkg/_fe_analyzer_shared/benchmark/macros/serialization_benchmark.dart - you can just execute this benchmark (note the json version sometimes crashes which is a separate issue, feel free to comment out the json serialization mode from the loop at the top).
When digging into this, I discovered that by combining the length bytes and message bytes into a single call to Socket.add, the regression goes away and it is fast again.
I did that by modifying here and here to look like:
        final bytesBuilder = BytesBuilder(copy: false);
        _writeLength(result, bytesBuilder);
        bytesBuilder.add(result);
        client.add(bytesBuilder.takeBytes());

And modifying _writeLength to take a BytesBuilder.
(you also have to do similar updates to the client code which is just a big string block at the bottom and kind of a pain, but doing just half will speed it up by half).
Cpu profile
I have some cpu profiles with and without the optimization, if you ping me directly I can send them (not sure what info is contained so don't want to post them here). But the general trend is that just everything is much slower. As an example, we spend 693ms just inside the Uint8List constructor - where the optimized benchmark runs in its entirety in under 100ms.
It seems like we are possibly being cpu starved or something, I am really not sure where to begin with debugging this.

/cc @brianquinlan

Note that this is showing up in real world usage of this protocol which is why I started testing it - so the benchmark is representing real behavior I am seeing. However, when I tried to create a small repro, I was not able to trigger the same behavior.

Another thing I noticed here - even after grouping the messages together,  if I change the code in this example macro to be a series of awaits instead, it is about 5x faster than the current Future.wait version. I believe this is triggering some sort of similar behavior where increased chatter in a short period of time is causing an exponential slowdown.
This really makes me think this is related to the underlying Socket code in some way and not my own serialization code.

Another observation, using setOption(SocketOption.tcpNoDelay, true) also totally resolves the issue in my case (and allows me to use Future.wait again).

I believe this is simply that my use case is this use case is the absolute worst scenario for Nagles algorithm (which is what tpcNoDelay disables). We always want packets to send immediately regardless of size.
In the case where we were constantly sending new packets back to back, it kept delaying the actual sending of any of that data to have a more efficient (larger) packet.
The fact that this could actually cause a regression of 2 orders of magnitude is quite impressive though!
@brianquinlan do you think I should just close this? Should we consider disabling this option by default when connecting to localhost?

Could you keep this open a while longer? I'm not looking at this right now but it might be that we can add some documentation somewhere to help others from getting hit by this.

In particular, it might make sense to point out that the IOSink methods on Socket may not immediately send their data depending unless setOption(SocketOption.tcpNoDelay, true).

FWIW Golang's networking stack disables Nagle's algorithm by default on TCP connections. We should probably consider if we just want to do the same.

That would be interesting. The problem would be that it would probably shake a big part of the ecosystem i.e. some code would get faster and other code would get slower.

cc @bkonyi @jacob314 @elliette I wonder if we are disabling this for the VM service? We should try doing that if not - although I am not sure if we have a good way of measuring the effects.

There isn't a really good place to document this. I guess that I'll just put it in each relevant class description.

I added some documentation pointing to [SocketOption.tcpNoDelay]. Please reopen the issue if you think that we can do more.

I think that is fine, while a "better" default might be nice, there are potential implications, and it isn't obvious exactly when that default should change etc. Just having the docs there likely would have helped me a lot.


Install also make if not installed

What this PR does / why we need it:
Fixes issue that install-distro-packages.sh checks for make but
never installs it.

/ok-to-test

/lgtm


Rubocop fails by default on generated gem

Default gemspec (and other) templates are using double quotes extensively.
It works, but it leads to the following ugliness when using rubocop:

Does it really have to be the case?
The first problem there is that generated template does not pass rubocop checks by default. Why wouldn't it? It's a bug to me. This one can be fixed either by changing the templates to be inline with the default settings or by adding a custom rubocop file that would explicitly set some changes to the defaults.
The second problem is that I want to be able to choose the quotes to use. I used to like double quotes. Now I like single quotes. Tomorrow - double quotes again. Someone else might not - at the same time. It's ok, since it's just a template, and I'm still able to change thing to be the way I want them to be. But really takes time. Adding an option would fix that.
Anyway, I'm mostly disturbed by taking manual actions for rubocop to work (let's try to fix that here), and those above are just possible ways on how to look on the problem. So, what do you think?

Why not just run rubocop -a or use Ore?

Closing because the generated files conform to Bundler's own style guide.


Towards rmf-web's first tagged release

Outline
This ticket details and tracks the progress towards the first tagged release of rmf-web, which will support

Ubuntu 24.04
ROS 2 Jazzy Jalisco
Open-RMF release-jazzy-240617 onwards

In general, this release will attempt to address issues regarding outdated dependencies, ease of extensibility, new features with Open-RMF and UX. Admittedly not all features are well documented at the moment, and some newer UI features would benefit from tooltips on the frontend dashboard rather than written documentation. We will attempt to address these concerns in minor releases if they are absent in the first release.
Current state of branches

main - supports ROS 2 Jazzy, with mostly up-to-date dependencies, but missing newest features that were developed for live deployments
deploy/hammer-humble - live deployment branch, supports ROS 2 Humble, with the newest set of features and bug fixes, but with outdated dependencies. Features implemented for deployments were kept to this branch instead of main due to their customized nature where introducing it upstream will incur difficulties in maintenance as well as documentation.
koonpeng/hammer-jazzy-base - base branch where all the dependency updates, feature refactoring and porting, documentation and testing improvements, as well as cleanups and deprecations will happen.

The progress checklist below will target koonpeng/hammer-jazzy-base, and when ready, it will be labeled as the new main branch, while the original main branch will be set up as legacy/main for legacy uses. This move will incur changes in git history and therefore any users on the legacy main branch will no longer be able to pull, and will require a fresh clone of the repository.
As rmf-web is a monorepo all the packages will be tagged as the same version to best ensure compatibility from source or docker image releases.
Notable changes

Tasks

Various bug fixes and improved testing for task scheduling system.
Task warning time, https://github.com/open-rmf/rmf-web/pull/953, to warn users that the task is expected to be completed later then the defined task warning time.
Removal of task start time and task file upload in task form, use task scheduling system instead.
Refactor of task type implementation, to better support database migrations and extension of new task types, https://github.com/open-rmf/rmf-web/pull/925.
Usage of task booking labels, which allow information encoded from a task creation form to propagate to task state updates. This is useful for displaying custom information onto the task queue table, e.g. pickup, destination/dropoff, task warning time, etc.

Robots

Robot decommissioning system, https://github.com/open-rmf/rmf-web/pull/920, https://github.com/open-rmf/rmf-web/pull/941.

Doors and lifts

Map centering on door or lift when row is selected in System Overview, https://github.com/open-rmf/rmf-web/pull/851.
Door and lift summaries when row is selected in System Overview, https://github.com/open-rmf/rmf-web/pull/849.

Map

Removal and cleanup of all uses of leaflet since migration to react-three-fiber, https://github.com/open-rmf/rmf-web/pull/968.
Re-center (full view) map button, https://github.com/open-rmf/rmf-web/pull/837.

UI and UX

Removal of support for different color themes.
Dashboard configurable help link, issue link, as well as attribution texts.
Dashboard configurable admin or custom tabs, https://github.com/open-rmf/rmf-web/pull/969.

Delivery alert system (deprecated), use generic alerts instead.
Generic alerts system, replacing previously implemented robot or task specific alerts, https://github.com/open-rmf/rmf-web/pull/948. Other systems in the ecosystem is then able to trigger alerts on the frontend dashboard, requesting for user responses, for example a fleet adapter alerting users that the robot is obstructed, or requesting for a user response when the robot detects a wrong cart.
Resetting of fire-alarm triggers, https://github.com/open-rmf/rmf-web/pull/934, informing fleet adapters that it is safe to resume robot operations.
Robot Interaction Object (RIO), https://github.com/open-rmf/rmf-web/pull/960, which allows the API server and database to accommodate other entities within the ecosystem, e.g. Smart Carts, workcells, etc, by saving their states and allow for queries via REST, making it easier for user to implement their own frontend components for other entities.
Mutex group manual release, https://github.com/open-rmf/rmf-web/pull/933, supporting https://github.com/open-rmf/rmf_ros2/pull/339. This allows users to manually release a mutex group lock held by a robot, allowing other robots waiting for the same mutex group to lock the mutex and be allowed to move.
Dashboard configurable parameters

Default map zoom levels when page is loaded, to view larger or smaller maps, https://github.com/open-rmf/rmf-web/pull/756.
Default zoom-in levels when centering on a robot, door or lift, https://github.com/open-rmf/rmf-web/pull/756.
Default map level to display when a user logs in, https://github.com/open-rmf/rmf-web/pull/831.
Scale of imported robot icons to ensure it is accurate when rendered on the map, https://github.com/open-rmf/rmf-web/pull/856.
Supported task forms as well as renaming of tasks, https://github.com/open-rmf/rmf-web/pull/925.

API server configurable parameters

Time zone at which the scheduling system operates in, https://github.com/open-rmf/rmf-web/pull/896.

General bug fixes and optimizations that have been validated in production.

Progress checklist

[x] https://github.com/open-rmf/rmf-web/pull/970, documentation updates
[x] https://github.com/open-rmf/rmf-web/pull/975, minor dependency updates
[x] https://github.com/open-rmf/rmf-web/pull/973, port generic alerts
[x] https://github.com/open-rmf/rmf-web/pull/973, port RIO
[x] https://github.com/open-rmf/rmf-web/pull/969, reinstate admin and custom tabs, while making them configurable
[x] add mutex group micro-app as a default app
[x] https://github.com/open-rmf/rmf-web/pull/976, reinstate all admin-only actions for normal users
[x] https://github.com/open-rmf/rmf-web/pull/977, Migrate build system to vite
[x] https://github.com/open-rmf/rmf-web/pull/980, update package versions

Tickets resolved along the way

https://github.com/open-rmf/rmf-web/issues/952
https://github.com/open-rmf/rmf-web/issues/639
https://github.com/open-rmf/rmf-web/issues/822

After release

https://github.com/open-rmf/rmf_demos/pull/256#pullrequestreview-2206647043
https://github.com/osrf/ros2multirobotbook/pull/110
update deployment template

0.1.0 released


Error when connecting LabVIEW gRPC client to C# server

Description
Timeout error when trying to connect LabVIEW gRPC client to C# gRPC Server.
Encountered this problem when attempting to use the LabVIEW client to simulate TestStand operations by connecting to a C# server.  This issue was first seen when trying to connect to the C# server provided in https://github.com/ni/grpc-teststand-api.  I discovered that the problem persists even with a basic C# greeter gRPC service.
Steps to Reproduce

Create a C# greeter service based on the tutorial from https://learn.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-8.0&tabs=visual-studio.
Create a LabVIEW client using the proto file generated from step1.
Build a sample gRPC client VI.
Run the service.
Connect LabVIEW greeter client using the address shown in the terminal and Run VI.

Expected Result
Greeter response string concatenated with 'Hello' as prefix to client message input.
"Hello " + Client Message
Actual Result

Version
LabVIEW - 2023 Q3
Images

AB#2832543

I don't think you want to specify the protocol in the server address just hostname:port

Thanks j-medland.  That works for simple greeter service.  But with the C# project for teststand services we're still seeing the error -1014 but with a different error message.

Double check there isn't an http proxy configured on your network. If there is one, you might need to bypass the proxy for your grpc server.

Hi Jason, Thanks for the comment.
Checked now and found that the proxy server is not configured already.  So the previous attempts were also executed by bypassing the proxy server.

If you‘re using https you need to provide the public part of a certificate (.crt). During creation of the C# project there was a popup that asked you to accept the user signed developer certificate. This certificate as a file should be used to create the client.

FWIW, I have successfully connected LV clients to a server written in C# (ASP.NET Core) so this is likely a network/setup issue and not a general issue with grpc-labview. Error -1014 corresponds to the UNAVAILABLE gRPC status code. From my experience, that error code happens if the server isn't running on that port, there is a proxy/firewall preventing connection to that machine, you are using the wrong scheme in the URL (http vs https), or there is something else in the server configuration that is causing the connection to get rejected. Usually console logging on the server can help diagnose some of this.

Hi Jason, Thanks for the reply.  We were able to connect the LV client to the C# GRPC server for a sample greeter service.  It works fine and the message were passed as expected.
May I know whether you tried connecting to the GRPC server given at grpc-teststand-api.  We also tried this case by providing the certificate files to the client and still got no luck.  All these tests were done by disabling the firewalls.

I don't have any experience with that gRPC API/server so it's difficult to say what might be going wrong. Are you able to connect to the server from the C# client provided in that repo? You might want to open an issue under that repo and seek help from others that are more familiar with the server. My best guess at this point is the server defaults to a secure connection by default, and you haven't configured the server for non-secure connections. Either that or the client connection requires other metadata to successfully connect. If you look at the way grpc channels are created in that repo, you'll see that all insecure communication appends a "connection-id" header to the request. Unfortunately, grpc-labview doesn't currently expose a way to attach http headers to RPC calls so you are kind of out of luck if that is a requirement. Either that, or you will have to try secure connections. Again, I would seek guidance from a maintainer of that repo.

I have a issue raised in the other repo as well(https://github.com/ni/grpc-teststand-api/issues/19) and already tried the cases of creating a non-secure connection, firewalls, different ports etc.  But the http headers weren't working.  Is it actually required to use the http/https for the address field in grpc-labview for this use case?

I'm not certain what validation the underlying grpc libraries will perform if you supply http/https as part of the server address. However, it's not required. From the grpc-labview perspective, whether you get a secure or insecure connection is determined by the certificatePath string passed to Create Client.vi. You can see the code here.


Support new snakemake keywords prefix and default_target

Hi! Thanks for the great project; snakefmt is much appreciated.
Recently two new keywords have been added to snakemake: prefix (in module blocks) and default_target (in rules). This pull request adds support to snakefmt for both. I have also included both in test. All tests pass, and I have also tested this with success on a more involved snakefile I personally work with.
This also closes #130.
Let me know if any improvements are changes are needed or wished for before merging.

Hi @koen-vg , thanks for your contribution :) This looks good! By default we merge into dev and then push new versions to master.
I'm just a bit surprised that all tests passed for you, as our current snakemake dependency version fails 'grammar completeness' tests. So I recommend we merge this in dev and I then push an update of snakemake dep. version to latest. I checked all tests/lints pass from there.
@mbhall88 happy to merge?

@mbhall88 after your review we either wait for @koen-vg to push that snakemake update commit here, or we merge to dev and do it ourselves

Right, I did have to update to the latest version of snakemake, 6.15, but seem to have forgotten to document that. I'll try to push the snakemake update, that would be to the poetry.lock file?

Alright I have to admit I'm not super familiar with poetry; the latest commit is what I got after updating the snakemake version in pyproject.toml and then running poetry update; hopefully that was the intention.

All looks good. @koen-vg could you please add your changes to the CHANGELOG as well?

Thanks @koen-vg ! so I've just done two things:

Fixed CHANGELOG conflict in this PR on dev branch
Modified your poetry update commit, because you ran poetry update but I would rather we do poetry update snakemake only here (after, as you did, modifying the pyproject.toml snakemake version). I know poetry is not so easy at first (https://python-poetry.org/docs/basic-usage/#specifying-dependencies).  For me, no need to update all dependencies, if they ain't broke, let's not change them :-) @mbhall88 thoughts?

@koen-vg  I've pushed your changes plus those two points above to dev. You are still author of the fixing and changelog commits. @mbhall88 i would suggest we close this pull request since I've merged the material into dev, if you agree.

That all sounds very good. Thanks for making it easy to contribute to this project!

For me, no need to update all dependencies, if they ain't broke, let's not change them :-) @mbhall88 thoughts?

Fine by me. This does remind me though, black is now stable so we will need to update that dependency soon. But agree with just updating snakemake here

@koen-vg I've pushed your changes plus those two points above to dev. You are still author of the fixing and changelog commits. @mbhall88 i would suggest we close this pull request since I've merged the material into dev, if you agree.

Ok. Normally I would prefer you push to this PR and we solve conflicts here, but it's done now. So yes, closing this makes sense.

For future ref- not sure how I could have pushed a change that removed one of the commits (updating all dependencies), i.e. rewriting history, to the from branch?

Ah didn't realise you had removed a commit. Ignore me.


Python 3.6 support

Hi
when I tried to use get_jobs() i got
File "/home/roxane/Cbien/venvs/auth/lib/python3.6/site-packages/rq_scheduler/scheduler.py", line 251, in get_jobs
    job_id = job_id.decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'

I use python3.6, and it seems you don't support it, is it planned ?

Hi CBienRoxane,
This particular code will only break if your Redis connection object has decode_responses set to True. As a workaround, make sure that your connection object wasn't created with decode_respones=True passed in.


ScrollBar with isAlwaysShown:true does not dynamicly update

Steps to Reproduce

create ScrollView /SingleChildScrollView
wrap with ScrollBar with isAlwaysShown:true
update the ScrollView so that it will not have any children (which will cause the scroll bar to jump to the middle)

Code Sample below,
run the flutter app on browser and click on : "click me for bug"
Expected results: Functional List View
Actual results: Scroll Bar moving away

Code sample
import 'package:flutter/material.dart';
void main() {
  runApp(MyApp());
}
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Bug',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Bug'),
    );
  }
}
class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final sc = ScrollController();
  var max = 50;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          children: [
            Expanded(
              child: Scrollbar(
                controller: sc,
                isAlwaysShown:true,
                child: SingleChildScrollView(
                  controller: sc,
                  child: Column(
                    children: (max > 0 ? [
                      ListTile(
                        onTap: () => setState(() {
                          this.max = 0;
                        }),
                        title: Text("click me for bug"),
                      )
                    ] : <Widget>[]) +
                        [for (var i = 1; i <= max; i++) i].map((e) => ListTile(title: (Text(e.toString())))).toList(),
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

Logs
```
[   +2 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:62141/devtools/browser/a03b93f7-6b2c-46b2-a1ac-7194e3de07a3
[+1529 ms] DwdsInjector: Received request for entrypoint at http://localhost:62116/main_module.bootstrap.js
[   +5 ms] MetadataProvider: Loading debug metadata...
[  +11 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +6 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:62116/main_module.bootstrap.js
[+3390 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[ +130 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:62163/137v2rHjHrw=/ws
[  +31 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:62163/137v2rHjHrw=/ws
[  +11 ms] Debug service listening on ws://<IP_ADDRESS>:62163/137v2rHjHrw=/ws
[        ] 💪 Running with sound null safety 💪
[   +4 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".

Analyzing bug...
No issues found! (ran in 2.5s)

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

✓] Flutter (Channel unknown, 2.2.3, on macOS 11.3.1 20E241 darwin-x64, locale en-IL)
• Flutter version 2.2.3 at /Users/ozadari/Installs/flutter
• Framework revision f4abaa0735 (5 months ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/ozadari/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (version 2020.3)
• Android Studio at /Users/ozadari/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
• IntelliJ at /Users/ozadari/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.61.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.55

</details>

<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them dire

Uploading Screen Recording 2021-11-25 at 15.54.19.mov…

ctly on GitHub.
      Beware that video file size is limited to 10MB.
-->

https://user-images.githubusercontent.com/7621449/143454429-6dc5ae4f-c4af-48d8-934e-a12265476b9d.mov
This bug has multiple variants. The scroll view will bug differently if the new state is empty, shorter or lengthier than the previous state
Thanks 🙏

Hi @ozadari, thank you for filing this issue. I tested this on the latest master and stable channel and it is not reproducible.
Can you upgrade to the latest stable flutter channel and test again? If the issue persists, please provide your updated flutter doctor -v.

output
https://user-images.githubusercontent.com/92717368/143545453-06972bff-74f4-4daf-96b2-6e6eab2bcc19.mov

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.5.3 at /Users/flo/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (6 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/flo/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

[✓] Connected device (6 available)
    • SM G975U (mobile)                  • R58M95MA95E                          • android-arm64  • Android 11 (API 30)
    • Android SDK built for x86 (mobile) • emulator-5554                        • android-x86    • Android 10 (API 29) (emulator)
    • Android SDK built for x86 (mobile) • emulator-5556                        • android-x86    • Android 8.0.0 (API 26)
      (emulator)
    • iPhone 13 (mobile)                 • EF1251D3-C9C4-475E-9F91-58CD010FDA48 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)                    • macos                                • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)                       • chrome                               • web-javascript • Google Chrome 93.0.4577.63

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.6.0-12.0.pre.837, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.6.0-12.0.pre.837 at /Users/flo/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 341e771b12 (8 hours ago), 2021-11-24 19:33:04 -0500
    • Engine revision e99aba6a38
    • Dart version 2.16.0 (build 2.16.0-46.0.dev)
    • DevTools version 2.8.0

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/flo/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

[✓] Connected device (6 available)
    • SM G975U (mobile)                  • R58M95MA95E                          • android-arm64  • Android 11 (API 30)
    • Android SDK built for x86 (mobile) • emulator-5554                        • android-x86    • Android 10 (API 29) (emulator)
    • Android SDK built for x86 (mobile) • emulator-5556                        • android-x86    • Android 8.0.0 (API 26) (emulator)
    • iPhone 13 (mobile)                 • EF1251D3-C9C4-475E-9F91-58CD010FDA48 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)                    • macos                                • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)                       • chrome                               • web-javascript • Google Chrome 93.0.4577.63

! Doctor found issues in 1 category.

Thank you

@mamuseferha
This bug is indeed solved in stable & latest. 😄
can be closed, thanks


paperless: hardcoding ADMIN_{USER,PASSWORD} doesn't seem to work

Describe the bug
I just want to use Paperless and I'm having a heck of a time even getting the web ui to work.
config
{ config, pkgs, ... }:

{
  config = {
    networking.firewall.allowedTCPPorts = [ config.services.paperless.port ];
    services.paperless = {
      enable = true;
      address = "<IP_ADDRESS>";
      port = 58080;
      extraConfig = {
        # PAPERLESS_AUTO_LOGIN_USERNAME = "admin";
        PAPERLESS_ADMIN_USER = "cole";
        PAPERLESS_ADMIN_PASSWORD = "cole";
      };
    };
    systemd.services.paperless-scheduler.after = [ "var-lib-paperless.mount" ];
    systemd.services.paperless-consumer.after = [ "var-lib-paperless.mount" ];
    systemd.services.paperless-web.after = [ "var-lib-paperless.mount" ];
  };
}

Yet, I can't login to the web ui with "cole" / "cole".
Filed upstream as well: https://github.com/paperless-ngx/paperless-ngx/issues/4010
This is current nixos-unstable w/ paperless-ngx-1.17.0

Indeed, it appears that the module only auto creates the super user if passwordFile option is used:
https://github.com/NixOS/nixpkgs/blob/2c5cd54460ec4460a31c4ce125f355142e6b3f7c/nixos/modules/services/misc/paperless.nix#L267-L277
This is probably appropriate to encourage a more secure usage of paperless, but maybe there's a bit of guidance that could be better offered in documentation.

This is a feature of their dockerfile which is not documented at all but we can change the condition to more closely match upstream.

#367545


Legacy REP faucet and migration page

Clubhouse Story
Submitter checklist

[X] Test covering functionality added/fixed in
Check the linked story includes the following:

[X] Steps to reproduce
[X] Screenshot (If applicable)

Reviewer Checklist

[ ] Test/lint pass
[ ] Post merge, story marked complete

client.js?3ac5:183 [HMR] bundle has 6 warnings
client.js?3ac5:184 ./src/modules/reporting/components/reporting-dispute-progress/reporting-dispute-progress.jsx
12:30-63 "export 'calculateTentativeStakePercentage' was not found in 'modules/reporting/helpers/progress-calculations'
 @ ./src/modules/reporting/components/reporting-dispute-progress/reporting-dispute-progress.jsx
 @ ./src/modules/reporting/components/reporting-dispute-form/reporting-dispute-form.jsx
 @ ./src/modules/reporting/components/reporting-dispute/reporting-dispute.jsx
 @ ./src/modules/reporting/containers/reporting-dispute.js
 @ ./src/modules/routes/constants/components.js
 @ ./src/modules/routes/components/routes/routes.jsx
 @ ./src/modules/app/components/app/app.jsx
 @ ./src/modules/app/containers/app.js
 @ ./src/main.jsx
 @ multi react-hot-loader/patch webpack-hot-middleware/client ./src/main
./src/modules/app/components/app/app.jsx
227:15-33 "export 'ACCOUNT_LEGACY_REP' was not found in 'modules/routes/constants/views'
 @ ./src/modules/app/components/app/app.jsx
 @ ./src/modules/app/containers/app.js
 @ ./src/main.jsx
 @ multi react-hot-loader/patch webpack-hot-middleware/client ./src/main
./src/modules/account/components/account-view/account-view.jsx
31:65-83 "export 'ACCOUNT_LEGACY_REP' was not found in 'modules/routes/constants/views'
 @ ./src/modules/account/components/account-view/account-view.jsx
 @ ./src/modules/routes/constants/components.js
 @ ./src/modules/routes/components/routes/routes.jsx
 @ ./src/modules/app/components/app/app.jsx
 @ ./src/modules/app/containers/app.js
 @ ./src/main.jsx
 @ multi react-hot-loader/patch webpack-hot-middleware/client ./src/main
./src/modules/app/components/inner-nav/account-inner-nav.jsx
41:51-69 "export 'ACCOUNT_LEGACY_REP' was not found in 'modules/routes/constants/views'
 @ ./src/modules/app/components/inner-nav/account-inner-nav.jsx
 @ ./src/modules/app/components/app/app.jsx
 @ ./src/modules/app/containers/app.js
 @ ./src/main.jsx
 @ multi react-hot-loader/patch webpack-hot-middleware/client ./src/main
./src/modules/app/components/inner-nav/account-inner-nav.jsx
43:20-38 "export 'ACCOUNT_LEGACY_REP' was not found in 'modules/routes/constants/views'
 @ ./src/modules/app/components/inner-nav/account-inner-nav.jsx
 @ ./src/modules/app/components/app/app.jsx
 @ ./src/modules/app/containers/app.js
 @ ./src/main.jsx
 @ multi react-hot-loader/patch webpack-hot-middleware/client ./src/main
./src/modules/app/components/app/app.jsx
69:553-571 "export 'ACCOUNT_LEGACY_REP' was not found in 'modules/routes/constants/views'
 @ ./src/modules/app/components/app/app.jsx
 @ ./src/modules/app/containers/app.js
 @ ./src/main.jsx
 @ multi react-hot-loader/patch webpack-hot-middleware/client ./src/main

NM. Freaking webpack.


Correct handling of pytest.raises context manager

If the context manager is used it will display output of no expected,actual results and will give a test status of failed (code 0).

The bug has been fixed in version 0.1.5


DOCS: porting micropython to esp32 board

Instructions

https://docs.micropython.org/en/latest/esp32/tutorial/intro.html
mp binary / flash instructions: https://micropython.org/download/GENERIC_S2/

ESP32_GENERIC-SPIRAM-20231005-v1.21.0.bin.zip


Add function to return form value types

@parndt could you release the 4.0.0 version after this merge and release the 3.0.1 version based on the https://github.com/refinery/refinerycms-settings/tree/3-0-stable branch ?
Thanks @veger and @parndt !

@parndt Could you release the gems?

@parndt Did you forget to release 3.0.1 ? :)

@bricesanchez nope, I had a couple of local issues and have rescheduled that job.

ok


Configure page messed up

Slack Plugin simply inserts its configuration options somewhere in the middle of the top section of the Jenkins Configure page.
There is no visible separator at the end of its section, making it quite difficult to find out which options belong to the plugin and which don't.

Hello, I don't actively develop the slack plugin.  I only maintain pull requests and releases.  I'm aware of this UI problem but this is the first issue raised about it.  Contributions are welcome to fix this!

I'm going to try take this one on in the next couple of days. If you're still keeping an eye on this, you're talking about the job configuration page, right? Not the global configuration, which seems to be okay.

I believe it is the job configuration page.  There's also an effort to group the configuration with the post build step in PR #79 which I think looks promising for a nice clean-up.

Unfortunately did not get very far on this, but I think #79 looks like a promising way to resolve this issue as well.

resolved as part of https://github.com/jenkinsci/slack-plugin/pull/79


pip install triton failure

Getting an error doing a pip install triton
Python version is: 3.10.3
Error Message:
ERROR: Could not find a version that satisfies the requirement triton (from versions: none)
ERROR: No matching distribution found for triton

Platform: Mac OS 10.15.7
I also tried on Python 3.9.x and got a similar behavior.

Probably because the current triton only supports x86_64

See: https://github.com/openai/triton?tab=readme-ov-file#compatibility

Thank you. I am on i386 (32 bit Intel) so that explains it. I'll close the issue


Add a pre-commit hook for clang format

@KingOfBrian or @ateliercw This is a pre-commit hook for running clang format.
I adapted it from: https://gist.github.com/wangkuiyi/7379a242f0d4089eaa75 and added the ability to switch auto-applying the format on/off.

Hey Nick, this looks good. It appears to manage the index well. The only thing I don't love is it encourages white-space-only commits. I think it would be nice to:
A) Make sure everything's added to the index (which I think it is)
B) Run Clang Format
All OK? Commit, else
C) Run Clang format on the files changed in the index
D) Fail the commit
E) Tell them to commit the changes, or commit with --no-verify
At this point, the index still holds what they were trying to commit, and their local directory holds the clang format changes. The only difference is that the commit didn't go through.
I get that this is definitely up for debate, and this looks good, so we can commit it, but thought I'd see if that sparks any thoughts first.

Little more testing -- and I think this is actually how it works.  So merging!


RSA/ECB/OAEPPadding decryption with HSM private key breaking changes for 1.7

BC 1.46
Java 17
In BC 1.46 to decrypt data from RSA/ECB/OAEPPadding using private key from hsm was going with
KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA", "BC");
generator.initialize(new RSAKeyGenParameterSpec("2048", BigInteger.valueOf(1)))
rsaKey2048 = generator.generateKeyPair();
//decrypt with private key from hsm
Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", "SunPKCS11-cknfast0");
cipher.init(Cipher.DECRYPT_MODE, privatePK11Key);
decryptedWithPadding = cipher.doFinal(data);
// resolve paddingresolve padding
cipher.init(Cipher.DECRYPT_MODE, rsaKey2048.getPrivate());
decrypted = cipher.doFinal(decryptedWithPadding );

BC 1.70
Java 17
in BC 1.70 this already not working
I need to change 2d line to:
generator.initialize("2048");
in resolve padding part it give an exception
Caused by: org.bouncycastle.jcajce.provider.util.BadBlockException: unable to decrypt block
	at org.bouncycastle.jcajce.provider.asymmetric.rsa.CipherSpi.getOutput(Unknown Source) ~[bcprov-jdk15on-1.70.jar:1.70.0]
	at org.bouncycastle.jcajce.provider.asymmetric.rsa.CipherSpi.engineDoFinal(Unknown Source) ~[bcprov-jdk15on-1.70.jar:1.70.0]
	at javax.crypto.Cipher.doFinal(Cipher.java:2207) ~[?:?]
	at com.globalblue.cryptoservice.busines.service.decryption.rsa.RsaDecryption.decryptRsaByteDataOaepOld(RsaDecryption.java:96) ~[classes/:?]
	... 73 more
Caused by: org.bouncycastle.crypto.InvalidCipherTextException: data wrong
	at org.bouncycastle.crypto.encodings.OAEPEncoding.decodeBlock(Unknown Source) ~[bcprov-jdk15on-1.70.jar:1.70.0]
	at org.bouncycastle.crypto.encodings.OAEPEncoding.processBlock(Unknown Source) ~[bcprov-jdk15on-1.70.jar:1.70.0]
	at org.bouncycastle.jcajce.provider.asymmetric.rsa.CipherSpi.getOutput(Unknown Source) ~[bcprov-jdk15on-1.70.jar:1.70.0]
	at org.bouncycastle.jcajce.provider.asymmetric.rsa.CipherSpi.engineDoFinal(Unknown Source) ~[bcprov-jdk15on-1.70.jar:1.70.0]
	at javax.crypto.Cipher.doFinal(Cipher.java:2207) ~[?:?]

How now code need to be changed to support oaep?

Two things. First, the PKCS#11 side is not using OAEPPadding. It's PKCS1.5. The code appears to be using 2 independent keys to decrypt some cipher text, it would never have worked with 1.46.

Thanks :) but it was working for us years :)
But I found the solution, I just copy and adjust org.bouncycastle.crypto.encodings.OAEPEncoding class for my case.


An error occurred trying to install this update: v0.58.0

Microsoft PowerToys version
0.57.2
Running as admin

[ ] Yes

Area(s) with issue?
Installer
Steps to reproduce
Have tried twice to install the update, and twice it has failed with the same error message.
As a company policy, we are not allowed run applications as a local admin user, but I do have a separate Admin account that I can use to install/repair/uninstall software. I have installed previous PowerToys updates in this manner before and have not hit this issue.

Why can't PowerToys be installed and operate from my User Profile alone and if processes are required to run as Administrator, then PowerToys should be a high integrity application where the OS allows these actions without resorting to the user being prompted to run as Administrator.
https://docs.microsoft.com/en-us/windows/security/identity-protection/user-account-control/how-user-account-control-works
A "high" integrity application is one that performs tasks that modify system data, such as a disk partitioning application, while a "low" integrity application is one that performs tasks that could potentially compromise the operating system, such as a Web browser. Apps with lower integrity levels cannot modify data in applications with higher integrity levels. When a standard user attempts to run an app that requires an administrator access token, UAC requires that the user provide valid administrator credentials.
✔ Expected Behavior
This installer to perform the update without failing.
❌ Actual Behavior
An error occurred trying to install this update: v0.58.0
Other Software
To numerous to mention but I don't feel that this is a conflict with another installed application.

It's possible this has something to do with something other than the admin requirement. Are you able to ubgrade it manually by downloading from https://github.com/microsoft/PowerToys/releases/tag/v0.58.0 ? /needinfo

Downloaded v.0.58.0 installed and that also failed showing the following error dialog.

Log file contents:
[2C90:6C68][2022-06-01T18:43:59]i001: Burn v<IP_ADDRESS>16, Windows v10.0 (Build 18362: Service Pack 0), path: C:\Users\nbelham\AppData\Local\Temp{4C0F2B1C-821F-4EE7-80C4-3CA99DC53236}.cr\PowerToysSetup-0.58.0-x64.exe
[2C90:6C68][2022-06-01T18:43:59]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles64Folder]PowerToys'
[2C90:6C68][2022-06-01T18:43:59]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys'
[2C90:6C68][2022-06-01T18:43:59]i000: Initializing version variable 'DetectedPowerToysVersion' to value '<IP_ADDRESS>'
[2C90:6C68][2022-06-01T18:43:59]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.58.0'
[2C90:6C68][2022-06-01T18:43:59]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[2C90:6C68][2022-06-01T18:43:59]i009: Command Line: '-burn.clean.room=C:\Users\nbelham\Downloads\PowerToysSetup-0.58.0-x64.exe -burn.filehandle.attached=652 -burn.filehandle.self=660'
[2C90:6C68][2022-06-01T18:43:59]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\nbelham\Downloads\PowerToysSetup-0.58.0-x64.exe'
[2C90:6C68][2022-06-01T18:43:59]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\nbelham\Downloads'
[2C90:6C68][2022-06-01T18:43:59]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\nbelham\AppData\Local\Temp\powertoys-bootstrapper-msi-0.58.0_20220601184359.log'
[2C90:6C68][2022-06-01T18:43:59]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) x64'
[2C90:6C68][2022-06-01T18:43:59]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[2C90:40B0][2022-06-01T18:43:59]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[2C90:40B0][2022-06-01T18:43:59]i000: Setting version variable 'WixBundleFileVersion' to value '<IP_ADDRESS>'
[2C90:6C68][2022-06-01T18:43:59]i100: Detect begin, 4 packages
[2C90:6C68][2022-06-01T18:43:59]i000: Setting version variable 'DetectedPowerToysVersion' to value '<IP_ADDRESS>'
[2C90:6C68][2022-06-01T18:43:59]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '18362'
[2C90:6C68][2022-06-01T18:43:59]i000: Setting numeric variable 'HasDotnet604' to value 1
[2C90:6C68][2022-06-01T18:43:59]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[2C90:6C68][2022-06-01T18:43:59]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[2C90:6C68][2022-06-01T18:43:59]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1
[2C90:6C68][2022-06-01T18:43:59]i102: Detected related bundle: {02c826f6-ff1b-4faf-b3c7-57a0e1cd8153}, type: Upgrade, scope: PerMachine, version: <IP_ADDRESS>, operation: MajorUpgrade
[2C90:6C68][2022-06-01T18:43:59]i052: Condition 'HasDotnet604' evaluates to true.
[2C90:6C68][2022-06-01T18:43:59]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true.
[2C90:6C68][2022-06-01T18:43:59]i103: Detected related package: {504D817D-2ED1-4914-84D5-510D314AAD40}, scope: PerMachine, version: <IP_ADDRESS>, language: 0 operation: MajorUpgrade
[2C90:6C68][2022-06-01T18:43:59]i103: Detected related package: {504D817D-2ED1-4914-84D5-510D314AAD40}, scope: PerMachine, version: <IP_ADDRESS>, language: 0 operation: MajorUpgrade
[2C90:6C68][2022-06-01T18:43:59]i101: Detected package: DotnetRuntime6, state: Present, cached: None
[2C90:6C68][2022-06-01T18:43:59]i101: Detected package: WebView2, state: Present, cached: None
[2C90:6C68][2022-06-01T18:43:59]i101: Detected package: WinAppSDK101, state: Absent, cached: None
[2C90:6C68][2022-06-01T18:43:59]i101: Detected package: PowerToysSetup_0.58.0_x64.msi, state: Absent, cached: Complete
[2C90:6C68][2022-06-01T18:43:59]i052: Condition 'TargetPowerToysVersion >= DetectedPowerToysVersion OR WixBundleInstalled' evaluates to true.
[2C90:6C68][2022-06-01T18:43:59]i052: Condition 'DetectedWindowsBuildNumber >= 18362 OR WixBundleInstalled' evaluates to true.
[2C90:6C68][2022-06-01T18:43:59]i199: Detect complete, result: 0x0
[2C90:40B0][2022-06-01T18:44:04]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[2C90:6C68][2022-06-01T18:44:04]i200: Plan begin, 4 packages, action: Install
[2C90:6C68][2022-06-01T18:44:04]w321: Skipping dependency registration on package with no dependency providers: DotnetRuntime6
[2C90:6C68][2022-06-01T18:44:04]w321: Skipping dependency registration on package with no dependency providers: WebView2
[2C90:6C68][2022-06-01T18:44:04]w321: Skipping dependency registration on package with no dependency providers: WinAppSDK101
[2C90:6C68][2022-06-01T18:44:04]i000: Setting string variable 'WixBundleLog_WinAppSDK101' to value 'C:\Users\nbelham\AppData\Local\Temp\powertoys-bootstrapper-msi-0.58.0_20220601184359_000_WinAppSDK101.log'
[2C90:6C68][2022-06-01T18:44:04]i000: Setting string variable 'WixBundleRollbackLog_PowerToysSetup_0.58.0_x64.msi' to value 'C:\Users\nbelham\AppData\Local\Temp\powertoys-bootstrapper-msi-0.58.0_20220601184359_001_PowerToysSetup_0.58.0_x64.msi_rollback.log'
[2C90:6C68][2022-06-01T18:44:04]i000: Setting string variable 'WixBundleLog_PowerToysSetup_0.58.0_x64.msi' to value 'C:\Users\nbelham\AppData\Local\Temp\powertoys-bootstrapper-msi-0.58.0_20220601184359_001_PowerToysSetup_0.58.0_x64.msi.log'
[2C90:6C68][2022-06-01T18:44:04]i201: Planned package: DotnetRuntime6, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2C90:6C68][2022-06-01T18:44:04]i201: Planned package: WebView2, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2C90:6C68][2022-06-01T18:44:04]i201: Planned package: WinAppSDK101, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[2C90:6C68][2022-06-01T18:44:04]i201: Planned package: PowerToysSetup_0.58.0_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[2C90:6C68][2022-06-01T18:44:04]i207: Planned related bundle: {02c826f6-ff1b-4faf-b3c7-57a0e1cd8153}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[2C90:6C68][2022-06-01T18:44:04]i299: Plan complete, result: 0x0
[2C90:6C68][2022-06-01T18:44:04]i300: Apply begin
[2C90:6C68][2022-06-01T18:44:04]i010: Launching elevated engine process.
[2C90:6C68][2022-06-01T18:44:28]i011: Launched elevated engine process.
[2C90:6C68][2022-06-01T18:44:28]i012: Connected to elevated engine.
[348C:71C0][2022-06-01T18:44:28]i358: Pausing automatic updates.
[348C:71C0][2022-06-01T18:44:28]i359: Paused automatic updates.
[348C:71C0][2022-06-01T18:44:28]i360: Creating a system restore point.
[348C:71C0][2022-06-01T18:44:28]i361: Created a system restore point.
[348C:71C0][2022-06-01T18:44:28]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, options: 0x7, disable resume: No
[348C:71C0][2022-06-01T18:44:28]i000: Caching bundle from: 'C:\Users\nbelham\AppData\Local\Temp{4F98CE55-F3AE-46AC-A052-DCF13E5590D1}.be\PowerToysSetup-0.58.0-x64.exe' to: 'C:\ProgramData\Package Cache{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}\PowerToysSetup-0.58.0-x64.exe'
[348C:71C0][2022-06-01T18:44:28]i320: Registering bundle dependency provider: {7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, version: <IP_ADDRESS>
[348C:71C0][2022-06-01T18:44:28]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, resume: Active, restart initiated: No, disable resume: No
[2C90:5B44][2022-06-01T18:44:28]w343: Prompt for source of package: WinAppSDK101, payload: WinAppSDK101, path: C:\Users\nbelham\Downloads\WindowsAppRuntimeInstall.exe
[2C90:5B44][2022-06-01T18:44:28]i338: Acquiring package: WinAppSDK101, payload: WinAppSDK101, download from: https://aka.ms/windowsappsdk/1.0/1.0.3/windowsappruntimeinstall-1.0.3-x64.exe
[348C:4FF4][2022-06-01T18:44:43]i305: Verified acquired payload: WinAppSDK101 at path: C:\ProgramData\Package Cache.unverified\WinAppSDK101, moving to: C:\ProgramData\Package Cache\1269BB136655325EF6D66A018269BDAB3921E56B\WindowsAppRuntimeInstall.exe.
[348C:4FF4][2022-06-01T18:44:44]i304: Verified existing payload: PowerToysSetup_0.58.0_x64.msi at path: C:\ProgramData\Package Cache{C5616D86-7D4E-460E-B673-B6BB68159B17}v0.58.0\PowerToysSetup-0.58.0-x64.msi.
[348C:71C0][2022-06-01T18:44:44]i301: Applying execute package: WinAppSDK101, action: Install, path: C:\ProgramData\Package Cache\1269BB136655325EF6D66A018269BDAB3921E56B\WindowsAppRuntimeInstall.exe, arguments: '"C:\ProgramData\Package Cache\1269BB136655325EF6D66A018269BDAB3921E56B\WindowsAppRuntimeInstall.exe"'
[348C:71C0][2022-06-01T18:44:48]e000: Error 0x80073d19: Process returned error: 0x80073d19
[348C:71C0][2022-06-01T18:44:48]e000: Error 0x80073d19: Failed to execute EXE package.
[2C90:6C68][2022-06-01T18:44:48]e000: Error 0x80073d19: Failed to configure per-machine EXE package.
[2C90:6C68][2022-06-01T18:44:48]i319: Applied execute package: WinAppSDK101, result: 0x80073d19, restart: None
[2C90:6C68][2022-06-01T18:44:48]e000: Error 0x80073d19: Failed to execute EXE package.
[348C:71C0][2022-06-01T18:44:48]i351: Removing cached package: WinAppSDK101, from path: C:\ProgramData\Package Cache\1269BB136655325EF6D66A018269BDAB3921E56B
[348C:71C0][2022-06-01T18:44:49]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, resume: None, restart: None, disable resume: No
[348C:71C0][2022-06-01T18:44:49]i330: Removed bundle dependency provider: {7f0d7424-d132-4aaf-baa9-5d7d436f0feb}
[348C:71C0][2022-06-01T18:44:49]i352: Removing cached bundle: {7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, from path: C:\ProgramData\Package Cache{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}
[348C:71C0][2022-06-01T18:44:49]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, resume: None, restart initiated: No, disable resume: No
[2C90:6C68][2022-06-01T18:44:49]i399: Apply complete, result: 0x80073d19, restart: None, ba requested restart:  No

/dup #18021
We're no longer installing the windows app sdk as of the PowerToys 0.59 release. Could you please try the new version?


Add support for Trino

This is a:

[ ] bug fix PR with no breaking changes
[x] new functionality

Link to Issue
Closes #375
Checklist

[x] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[ ] Snowflake
[ ] Databricks
[ ] DuckDB
[x] Trino

[x] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)

I've added integration tests to CircleCI. Please add below environment variables relevant for your Starburst Galaxy instance (AFAIK you have one) so that the tests can run on it.
TRINO_TEST_HOST, TRINO_TEST_USER, TRINO_TEST_PASS, TRINO_TEST_PORT, TRINO_TEST_CATALOG_NAME

Thanks @damian3031 !
I am testing it locally right now and we will add the Starburst credentials for CI/CD!
Based on my initial testing (using a Snowflake catalog) there are some issues (which might required updates to dbt-trino):

if a table has a description, it is added to the DDL but I then get the error TrinoUserError(type=USER_ERROR, name=NOT_SUPPORTED, message="This connector does not support creating tables with table comment", query_id=abcd)

is it possible to disable the comment part of the DDL? it doesn't seem to be based on the code I saw in dbt-trino

I am also getting some errors This connector does not support creating views which seems consistent with this issue.

Based on the observations above:

what catalog type would you recommend to avoid those errors? (or which one did you test with for now)
should we test the package for different catalog types?
we might need to add some info in the README to mention that some catalog types will work with Trino but not all

@b-per creating views is supported in object storage connectors such as Hive, Delta Lake, and Apache Iceberg.
I tested it on the Iceberg connector, and the tests passed.
I think it would be fair to test it specifically against Iceberg connector and mention it in the README.

We'll do a new release of the package on the dbt Hub in just a beat so that it is accessible to users.


Links in header still clickable on mobile even when header is collapsed.

To see this bug -

Visit http://danielmoore.us on Chrome.
Open the developer console (Ctrl + Shift + I) and click the phone icon in the top left to enter responsive mode. Choose a phone like "IPhone X".
Click directly below "Daniel Moore" at the top of the page. An invisible link will be clicked!

(The same issue is visible at http://wild-flame.github.io/jekyll-simple )
I'm not sure how to fix this myself. Would really appreciate help.

I also have this problem and would like to know a solution

@jakegrxz
I know it's been a while, but you just have to copy and paste a few lines in layout.scss  so it looks like below -
  .site-nav {

    /* flex box */
    display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
    display: -moz-box; /* Firefox 17- */
    display: -webkit-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
    display: -moz-flex; /* Firefox 18+ */
    display: -ms-flexbox; /* IE 10 */
    display: flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */// Import partials from `sass_dir` (defaults to `_sass`)

    opacity: 0;
    height: 0;
    display: none;
    -webkit-transition: all .4s;
    transition: all .4s;

    -webkit-justify-content: center;
    justify-content:center;

    @include media-query($on-laptop) {
      border-top:1px solid #ddd;
      border-bottom:1px solid #ddd;
    }
  }

  #menu-toggle:checked+.site-nav {
        /* flex box */
    display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
    display: -moz-box; /* Firefox 17- */
    display: -webkit-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
    display: -moz-flex; /* Firefox 18+ */
    display: -ms-flexbox; /* IE 10 */
    display: flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */// Import partials from `sass_dir` (defaults to `_sass`)

    opacity: 1;
    height: auto;
    margin-bottom:-25px;
  }


[bug] Not detected for metamask and two metamask entries

Link to minimal reproducible example
https://stackblitz.com/edit/vitejs-vite-mo4qzs?file=.env
Summary
Please see the example.

List of related npm package versions
"@web3modal/ethers5": "4.1.1",

my PR to fix it.
https://github.com/WalletConnect/web3modal/pull/2062


2.4.0: cmake fails to find f3d

Describe the bug
This CMakeLists.txt file fails to find f3d:
[yuri@yv /usr/ports/graphics/py-f3d/x]$ cat CMakeLists.txt
cmake_minimum_required(VERSION 3.21)

project(x)

find_package(f3d REQUIRED COMPONENTS library)
[yuri@yv /usr/ports/graphics/py-f3d/x]$ cmake .
-- The C compiler identification is Clang 17.0.6
-- The CXX compiler identification is Clang 17.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:5 (find_package):
  Found package configuration file:

    /usr/local/lib/cmake/f3d/f3dConfig.cmake

  but it set f3d_FOUND to FALSE so package "f3d" is considered to be NOT
  FOUND.

-- Configuring incomplete, errors occurred!

To Reproduce
See above.
System Information:

OS: FreeBSD 14.0
clang-17

F3D Information
Paste the content of f3d --version:
$ f3d --version
F3D 2.3.1

F3D - A fast and minimalist 3D viewer
Version: 2.3.1.
Build date: 2024-04-04 05:24:09.
Build system: FreeBSD 64-bits.
Compiler: Clang 17.0.6.
External rendering module: OFF.
Raytracing module: OFF.
VTK version: 9.2.6.
Copyright (C) 2019-2021 Kitware SAS.
Copyright (C) 2021-2024 Michael Migliore, Mathieu Westphal.
License BSD-3-Clause.
By Michael Migliore, Mathieu Westphal and Joachim Pouderoux.

Can you explain what you did to fix this ?


[AutoPR containerservice/resource-manager] Adding customerAdminGroupId to OSA cluster swagger spec

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5491

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4760


The e_sqlite3.dll will be deleted when running wpf project.

I use the sqlite-net in wpf platform, when I compile the project, the e_sqlite3.dll will be copy to the x86 folder and x64 folder in output directory, but when I running, the e_sqlite3.dll will be delete sometimes. I don't know why this happens, and it doesn't have to happen.
I use the .net framework is 4.7.2, Nuget reference is PackageReference.
The sqlite-net version is 1.6.292.


fix: numbers and emails not being populated

related to issue #45

and just to clarify module version 0.2.2 doesn't work for you as well? that was before this change https://github.com/rt2zz/react-native-contacts/commit/4e9c0f9cd8516e657cc3861110ca305e48ef212e

nah it doesnt


gphotos-sync: add recommended package

Motivation for this change
Add missing recommended package https://github.com/gilesknap/gphotos-sync#introduction:

the comparison code uses an external tool 'ffprobe'. It will run without it but will not be able to extract metadata from video files and revert to relying on Google Photos meta data and file modified date (this is a much less reliable way to match video files, but the results should be OK if the backup folder was originally created using gphotos-sync).

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Nice, thanks! Did you test the extra functionality?

No, I was setting it up and saw that ffprobe is recommended, I'm still waiting for google to approve my application to get API access.

It's unfortunate they require approval now. I think when I did it a couple years ago it didn't require any manual steps.
I was just wondering if it would correctly pick up the binary from PATH without any extra work.
Anyway, the change looks good to me but I can't merge myself.


StaggeredMotion: Dynamic styles not supported

It doesn't look like it's possible to change the amount of styles fed to a StaggeredMotion component.
I modified the demo to grow the array of items when enter is clicked but StaggeredMotion is ignoring any additional items.

That's expected. Only TransitionMotion supports diffing.

Ok great to know, thanks :)

Np. Closing this. But does it cause any inconvenience?

No, I can easily convert to TransitionMotion


LwM2M: Replace pathstrings from the APIs

Description
Many of the LwM2M APIs use pathstrings to denote the path to objects and resources.
This is very inefficient way as the paths are generating more and more strings to the binary.
Also the paths are usually just converted to lwm2m_obj_path in the beginning of a function, so there is little to no benefit of even having these strings altogether.
Solution
Change the APIs so that they don't anymore contain any pathstrings and all the paths should use the lwm2m_obj_path.
This would reduce the memory footprint of using the LwM2M -library.
Sidenote
This would be quite heavy refactoring to the current APIs and would require lots of changes. Currently the LwM2M library is noted to be unstable in the Zephyr and would mean that APIs can be changed without deprecation warnings.
I would like to have comments about the schedule and should we actually use deprecation warnings before changing APIs?

No objections from my side. Given that the LwM2M API has not been declared stable yet, I'm ok with skipping the deprecation part.

I also think this would be a good change.
We can replace all macros like
LWM2M_PATH(MY_OBJ_ID, 0, RESOURCE)

with the new macro that fills the object
LWM2M_OBJ(MY_OBJ_ID, 0, RESOURCE);

And it is possible to use that macro to fill the structure in place and pass as a paramter:
lwm2m_notify_observer_path(&LWM2M_OBJ(MY_OBJ, inst_id, RESOURCE));

So, this should not be too destructive change for any developers. After all, hard coded strings have been a bad example anyway.

I would also love to see that change.
Would also help address https://github.com/zephyrproject-rtos/zephyr/issues/53676

Created PR: https://github.com/zephyrproject-rtos/zephyr/pull/53771 to fix this issue.


Question: Jupyterhub examples

I'd really like to use cli2gui in a Jupyterhub project but I'm not sure if you're supporting that environment. I see that "web" is one of the GUI toolkits that's supported but perhaps that doesn't mean using Jupyterhub?
I've got a freshly built TLJH docker image from today's main head of https://github.com/jupyterhub/the-littlest-jupyterhub and have installed cli2gui by running "./pip install cli2gui" from within the /opt/tljh/user/bin directory of the running tljh docker instance. I've copied the contents of https://github.com/FHPythonUtils/Cli2Gui/blob/master/tests/argparse/test_10.py into a jupyterlab notebook cell (and commented out the top few file pathing stuff since cli2gui is already installed) . Upon running the cell, I get a tkinter error which suggests it's not detecting the Jupyter environment. The error is "TclError: no display name and no $DISPLAY environment variable." which makes a lot of sense since I'm not running this as a desktop app.
I'm hoping to get clarification that I can use your project within a Jupyter environment and if so, some pointers on how to get a working example.
I've found that this approach works well for detecting if a script is running under jupyter or not : https://stackoverflow.com/questions/15411967/how-can-i-check-if-code-is-executed-in-the-ipython-notebook

Honestly I've not played around with Jupyterhub before so I'm not sure. If you want to use the web flavour of pysimplegui then you need to install the extra and pass gui=pysimpleguiweb in the cli2gui decorator function
Also do you mind dropping full stack traces when you can just so I can see what part of cli2gui falls over (might be indicative of a bug for instance)


currentURL is not a function

Getting TypeError: currentURL is not a function when Auto-update URL options (if this is checked will get the error on window load) and Auto-update data link URL are checked.

Should be fixed after commit https://github.com/Glitchii/embedbuilder/commit/1850a588369fe2b01176c86d1b93eb1aba2b36d2


Deprecation warning when extending deprecated configuration

This use case was missed when the different deprecation warnings on this
topic were introduced. The main problematic use case is that with the
Groovy DSL, the extendsFrom can result in a silent configuration
creation ... which will be quite different from the one removed.

@bot-gradle test QF

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

@bot-gradle test QF

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

@bot-gradle test QF

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

@bot-gradle test QF

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

@bot-gradle test QF

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test QF

Giving up on this, it will end up causing more noise than its limited value.


Fix watch() function

Fix watch() function
Add castor task to build phar

@pyrech thanks for the review 👍🏼 I fixed the code


Add a note about JS comparison operators

I would like to close all three of these tickets, because I believe they are based on a misunderstanding of the < operator, and I'd like to address this with a note in the documentation instead:

#1768
#1834
#2042

The note would be somewhere at the bottom of the page, with a link to the MDN entry on the comparison operators. Reference entries on functions like _.sortBy and _.sortedIndex would reference to this note.
@jashkenas do you agree?

I agree! I don’t think that sorting NaN or undefined are an important problem to "fix" — you should never be sorting them.


connect ECONNREFUSED <IP_ADDRESS>:8529

Expected Behavior
run OTnode in testnet network
Actual Behavior
Steps to Reproduce the Problem
2019-03-07T07:44:59.895Z - error - Please make sure Arango server is up and running
{ Error: connect ECONNREFUSED <IP_ADDRESS>:8529
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1174:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 8529,
response: undefined }
2019-03-07T07:44:59.898Z - info - Notifying Bugsnag of exception...
Specifications

Version:
Platform:

This was happening to me as well, however (for me, at least) this was caused by running docker via "sudo".
To get this to work you need to run as root, so "sudo su" to move to root, then run your commands from there.
I'd recommend you:
sudo su
docker container rm otnode
docker run -it --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v /root/.origintrail_noderc:/ot-node/.origintrail_noderc quay.io/origintrail/otnode-mariner:release_mariner

Note the "docker run" command above has an absolute path, not the "~/.origintrail_noderc" path which I think is what was breaking it when run via sudo.
Also, your screenshot exposes your management wallet, your operational wallet, your houston password and your public IP address. I would highly recommend you destroy the wallet and change your identity so these items are redacted correctly. DO NOT RUN THE NODE WITH THE CURRENT DETAILS.

This was happening to me as well, however (for me, at least) this was caused by running docker via "sudo".
To get this to work you need to run as root, so "sudo su" to move to root, then run your commands from there.
I'd recommend you:
sudo su
docker container rm otnode
docker run -it --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v /root/.origintrail_noderc:/ot-node/.origintrail_noderc quay.io/origintrail/otnode-mariner:release_mariner

Note the "docker run" command above has an absolute path, not the "~/.origintrail_noderc" path which I think is what was breaking it when run via sudo.
Also, your screenshot exposes your wallet address, your houston password and your public IP address. I would highly recommend you destroy the wallet and change your identity so these items are redacted correctly.

This issue is being closed as inactive due to the date of the last activity on it. If you believe this is still a problem, please create a new issue and confirm that it is reproducible in the current ot-node release version.
We are working towards closing open issues that meet specific criteria and ask you to create a new one for those that that are truly bugs in current release. We'll be monitoring those issues so that they are properly managed.
Thank you,
OriginTrail Team


Rework config

@niftyhack Can I help you somehow?

@christianknell PR was a mistake, I closed it.


MDB_Transaction Error when trying to work with WLS

I'm trying to get the OSMExpress CommandLine Tool to work with Windows. As there is no release for windows yet I followed the manual build instructions to build the project in the Windows Linux Subsystem (Ubuntu). The commands do run successfully but the resulting osmx executable isn't found by the system for some reason. I tried setting it as a path variable and it seems to work but when trying to execute osmx expand new_york_county.osm.pbf new_york_county.osmx I get the following database error:

Hi, thanks for giving this a shot on a new platform! The matches the description encountered here: https://github.com/Venemo/node-lmdb/issues/161 although we're not using that nodejs wrapper - seems to indicate a problem in WSL that causes LMDB to not work correctly.
Would you be able to investigate how to build the project for Windows directly?

Thanks for the quick answer!
Unfortunately, I have never worked with CMake before and not really familiar with it. I tried building it directly in Windows, but there are some required libraries like Zlib, OpenSSL, Swig, ... that are missing on my system. I installed them and set some missing Path Variables but I can't get it too work nonetheless. I guess I need to get a little more familiar with CMake first.

I don't have a good sense on what package management Windows developers are using now - last time I did something similar I was using Chocolatey. Do any other windows users want to weigh in on the best way for this to work?


TypeError: Cannot read property 'children' of undefined

TypeError: Cannot read property 'children' of undefined
at rp.then (/home/auto/program/scrapers.js:92:78)
at tryCatcher (/home/auto/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/auto/node_modules/bluebird/js/release/promise.js:517:31)
at Promise._settlePromise (/home/auto/node_modules/bluebird/js/release/promise.js:574:18)
at Promise._settlePromise0 (/home/auto/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/home/auto/node_modules/bluebird/js/release/promise.js:699:18)
at _drainQueueStep (/home/auto/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/home/auto/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/home/auto/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues (/home/auto/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5)
Any fix for this?

Hi! The NewsBot is currently not being maintained as I'm currently serving in the defence forces. This error is caused by the scrapers not being updated though. The structure of newsposts seems to change every once in a while, and the scrapers need to be updatef accordingly. All you'd need to change is the scraper's logic to match the new structures of news posts.


Chore/bump runtime

I think line 4 in packages/enmeshed-runtime-bridge/lib/src/events/transport/relationship_decomposed_by_self_event.dart needs to be adjusted, as well.

@Milena-Czierlinski naaah, i dont want to create a class for that.

This is not the place where everything went wrong.

But wouldn't e.g. Object be more correct than String?

Object is too imprecise

everything is an Object in dart:
void main(List<String> args) {
 Object x = 1;

  print(x);
}

I think line 4 in packages/enmeshed-runtime-bridge/lib/src/events/transport/relationship_decomposed_by_self_event.dart needs to be adjusted, as well.

I came to the same conclusion as Milena, when comparing this event with the OwnSharedAttributeSucceededEvent. In the corresponding file, we have the declarations   final LocalAttributeDTO predecessor and final LocalAttributeDTO successor. So maybe we need to adjust line 4 in packages/enmeshed-runtime-bridge/lib/src/events/transport/relationship_decomposed_by_self_event.dart to final String relationshipId.

@britsta nice, that was the issue!


Connect your app to the notification hub, Step 5.

"Add the Azure Messaging package. In the Solution view, right-click the project and select Add > Add NuGet Packages. Search for Xamarin.Azure.NotificationHubs.iOS and add the package to your project."
Detail: this must only be added to the iOS project or otherwise, an error message of "Invalid package" will appear.

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

ID: 45afd17d-e909-ccd9-01c3-f746bdf406a2
Version Independent ID: d2c8cc69-5a37-4c73-d48b-9c058cf4595e
Content: Send push notifications to Xamarin using Azure Notification Hubs
Content Source: articles/notification-hubs/xamarin-notification-hubs-ios-push-notification-apns-get-started.md
Service: notification-hubs
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@azav Thanks for the feedback. We shall evaluate and update the document as appropriate.

Apologies for the delay! Thanks again for your feedback.
Xamarin.Azure.NotificationHubs.iOS is the official package:
https://www.nuget.org/packages/Xamarin.Azure.NotificationHubs.iOS/

We have separate tutorials for both the platforms.

Please checkout Updating component references to NuGet for more details.
We will close this for now (with other threads on the same doc), please let us know if you have any further questions.


Roll engine 3a357afc0372..508146f0defb (1 commits)

git@github.com:flutter/engine.git/compare/3a357afc0372...508146f0defb
git log 3a357afc0372..508146f0defb --no-merges --oneline
2019-10-17<EMAIL_ADDRESS>Add a task runner for the Win32 embedding (flutter/engine#13043)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


Failed to build on MacOS

Even I updated to 0.17.2 I still can not run my app. here is the message. It failed to build both on iOS and Android
Launching lib/main.dart on JKM LX1 in debug mode...
e: /Users/amin/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.17.2/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt: (181, 52): Expecting a parameter declaration
e: /Users/amin/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.17.2/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt: (231, 38): Expecting an argument
e: /Users/amin/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.17.2/android/src/main/kotlin/xyz/luan/audioplayers/ByteDataSource.kt: (8, 37): Expecting a parameter declaration
e: /Users/amin/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.17.2/android/src/main/kotlin/xyz/luan/audioplayers/WrappedMediaPlayer.kt: (10, 39): Expecting a parameter declaration
e: /Users/amin/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.17.2/android/src/main/kotlin/xyz/luan/audioplayers/WrappedSoundPool.kt: (168, 32): Expecting a parameter declaration
e: /Users/amin/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.17.2/android/src/main/kotlin/xyz/luan/audioplayers/WrappedSoundPool.kt: (205, 26): Expecting an argument
e: /Users/amin/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.17.2/android/src/main/kotlin/xyz/luan/audioplayers/WrappedSoundPool.kt: (46, 77): Type inference failed. Expected type mismatch: inferred type is List<???> but MutableList<WrappedSoundPool> was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':audioplayers:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 20s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        22.0s
Exception: Gradle task assembleDebug failed with exit code 1

Just updated my Kotlin version in build.gradle where:
buildscript{
ext.kotlin_version = '1.4.21'
...
}
and the error is gone

Just updated my Kotlin version in build.gradle where:
buildscript{
ext.kotlin_version = '1.4.21'
...
}
and the error is gone


Bug in optimised align code

I'm pretty sure there was a bug in the array access for the optimal align sequence code, this fixes it.

Hi, you are right, the code is wrong. However, please rebase to the current master and squash the PR to a single commit. I will merge it then, I think this is pretty serious bug.


/articles: suggestions that haven't been accepted are displayed on the site

Seems pretty high priority since currently randos can add stuff to the site by making suggestions in the Docs.
Example: https://aisafety.info/questions/6713/I’d-like-to-get-deeper-into-the-AI-alignment-literature.-Where-should-I-look

This is a known bug that also affected the previous site. It comes from the way that we parse Google Docs and is not an easy fix, so we won't fix it for now.


Check command should perform more verifications for doc builds

Currently, the fern check command only validates the structural integrity (i.e. is this valid YAML) of the documentation configuration file if present.
This means that valid YML, but invalid configuration, e.g. non-existent files, currently pass both check and generate:
  - section: Generators
    contents:
      - page: foo
        path: ./asdadsad/dsadsa

Which also gets published:

Obviously this file does not exist, and I'd expect an error either at check or generate time, but not at runtime.

@kafkas is this something you could look into?

Sure, will take a look.

fern check now checks for existence of the file + validates markdown


Getting  Library parse error in Flow

I converted the type definition file in yFiles diagramming library and converted it to .js with ProbablyFlowTyped. On runnning flow, i get: Library parse error in the 'export interface' lines. How to resolve this?

This project is a WIP and doesn't work yet.


[ISSUE #26] Add, delete, modify, and search the basic tables of Topic, Group, GroupMember, and Operation. Minor changes to the table structure

Please resolve conflicts.

I have received it and will revise and submit it again as soon as possible
周zx
@.***
原始邮件
发件人："Pil0tXia"< @.*** >;
发件时间：2024/1/29 21:38
收件人："apache/eventmesh-dashboard"< @.*** >;
抄送人："zzx"< @.*** >;"State change"< @.*** >;
主题：Re: [apache/eventmesh-dashboard] [ISSUE #26] Add, delete, modify, andsearch the basic tables of Topic, Group, GroupMember, and Operation. Minorchanges to the table structure (PR #27)
Please resolve conflicts.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>


Documenting verification of the blockchain proof

This is a dup of #8187, which includes details. Closing.