Initial doc

This is a good first start, and admirably thorough! However, we actually want it to be a little less thorough; it's intended to be a quick reference for users; for that reason, there's no need for a lot of explanation. Try modeling it after something like: https://github.com/CCI-MOC/esi/blob/master/docs/usage.md


Add release process script and documentation

RELEASING.md documents the current release process for releasing major,
minor, patch/revision and release candidate (rc) releases.
release.py automates the process of releasing patch and release
candidate (excluding rc1) releases. It depends on pandoc, rpc-differ and
the python module sh.
In general, the following should be run to complete a release:
./release.py --github-token YOUR_TOKEN --tag TAG --commit COMMIT

For a complete help message:
./release.py --help

When testing, be sure to override the repo URLs, e.g.:
./release.py --github-token YOUR_TOKEN --tag TAG --commit COMMIT \
    --repo-url<EMAIL_ADDRESS>\
    --docs-repo-url<EMAIL_ADDRESS>
Some basic unit testing has been added and can be run with tox.
Connected https://github.com/rcbops/u-suk-dev/issues/535

:eyes: Preview

Your content preview is now ready. :bow:

If you want to double-check your formatting, check the preview.

:mag_right: Preview

:eyes: Preview

HULK PREVIEW

:eyes: Preview

If you want to double-check your formatting, check the preview.

If you want to double-check your formatting, check the preview.

I'm reviewing this now. I'll let you know if I have any questions!

As a note, the following release.py script won't work when comparing two tags that have the same OpenStack-Ansible SHA. This might be hurtful for anyone who might be, for example, using release.py to release a patch version that hasn't had it's OpenStack-Ansible SHA bumped(which might not be the case most of the time, but it can still happen, no?).
This is actually not a problem with release.py, but with rpc-differ. In my testing, I ran the below command and it resulted in an error thrown by rpc-differ.
./release.py --github-token xxxxxxx --tag r13.1.1 --commit 10acaba8bb823831d6de4e6a5bf67123712ca9f7 --repo-url<EMAIL_ADDRESS>--docs-repo-url<EMAIL_ADDRESS>
And the error:
Exception: The commit range 2c2cfbb1924ccb15e3a35fc4ccf7181c0fcf3bf4..2c2cfbb1924ccb15e3a35fc4ccf7181c0fcf3bf4 is invalid for /home/alex/.osa-differ/openstack-ansible.You may need to use the --update option to fetch the latest updates to the git repositories stored on your local computer.

For now I suppose we can use github to list the new RPCO commits if we ever do an encounter a release that doesn't have a new OSA SHA.

:+1: looks great!

@b3rnard0 who do you think would be a good second review for this PR?

I'm going to have to revert my :+1: for now. It looks like the current version of rpc-differ is using a stale invocation of the method get_projects.
Although the documentation looks good, release.py will not be usable for anyone using the latest version of rpc-differ
More on the issue here:
https://github.com/major/rpc_differ/issues/3

osa_differ has been fixed upstream, so this should be good to merge now.
:+1:

Any reason release.py is not documented in RELEASING.md?

@alextricity25 why exactly are you referring to rpc-differ but then you changed your thumbs down to a thumbs up because of the osa_differ? What is the difference between the two?

@mattt416: Good point. It would be better to have release.py documented in there. I'll see what I can do tomorrow about adding that in.
@cloader89: I meant to say rpc_differ on my previous comment. rpc_differe import osa_differ and uses it's methods. One of the method signatures changed in osa_differ, so the method invocation needed to be changed in rpc_differ. See https://github.com/major/rpc_differ/pull/4 for more info.

@alextricity25 sounds good, it looks good other than that.

If you want to double-check your formatting, check the preview.

Not tested this in depth, but as the script has limited scope I think we can deal w/ any issues on a case by case basis.


[SPARK - 3298][SQL][WIP] registerAsTable/registerTempTable overwrites old tables @akhilthatipamula

The contribution is my original work and I license the work to the project under the project's open source license.

Can one of the admins verify this patch?


viewer.scene.globe.pick do not pick Cesium3DTileset's tile

var handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas);
handler.setInputAction((movement) => {
// var pickedPrimitive = viewer.scene.pick(movement.position);
var ray = viewer.scene.camera.getPickRay(movement.position);
var cartesian = viewer.scene.globe.pick(ray, viewer.scene);
if (cartesian) {
viewer.entities.add({
id: nombre.toFixed(2),
position: cartesian,
point : {
pixelSize : 10,
color : Cesium.Color.YELLOW
}
});
} else {
alert('Globe was not picked');
}
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);

I want to use the code to get the intersection of a ray and a Cesium3DTileset. But get the intersection of the ray and the background tarrein. How can i get what i want?

Sorry, I was wondering if this is bug.
I need to use a ray to test intersetion, because pickPosition only support windowPosition.And sometimes the ray do not set from window. How can i compute the intersection points of a ray with 3d tileset?

@dminor112 we are currently working on that exact feature. Stay tuned!
https://github.com/AnalyticalGraphicsInc/cesium/issues/6080 will add support for picking from a ray.

Which release will support this feature? We are very looking forward to it. Thank you.

It's probably too soon for 1.48, but I would guess around 1.49.


User Story: As a user, I want the VolumeGauge to track my VOLUME of trade using an Exponential Moving Average

User Story: As a user, I want the VolumeGauge to track my VOLUME of trade using an Exponential Moving Average
Acceptance Requirements

Upgrade from LWMA to EMA
Increase the duration period from 7 days to 30 days
Identify method to reduce the number of blockchain reads from 30 to 1 - 3.

Completed.

Completed.


Add support for drafts

From now, when you run jekyll serve --drafts, your RSS feeds will also contain also drafts posts.
The same behavior is in Jekyll Sitemap.

What's the point of supporting drafts for a local feed?

I think this is useful in the deployment process. It's more convenient to create drafts than real posts to test different things.
When I enable --drafts options, I expect:

in the index I will see posts from the _drafts and _posts folders
sitemap will contain links to all these posts
feed will contain the latest (according to the limit) posts including _drafts folder

At present, this behavior is inconsistent. Index is ok, sitemap is ok.
RSS feed behaves non-intuitively.

That's what I meant. I wanted to use what Jekyll already has.
And I was surprised that it doesn't work as expected.

@jekyll: merge +minor

@torrocus released in [0.15.0](https://github.com/jekyll/jekyll-feed/releases/tag/v0.15.0 :shipit:


[IntervalCollection] change returns an interval at the unchanged position

Describe the bug
IntervalCollection.change returns an interval which has the position prior to the change. This is unexpected and makes the API harder to use, as it is necessary to call getIntervalById to get the updated interval.
To Reproduce
Steps to reproduce the behavior:

call IntervalCollection.change with a new position
check the position of the returned interval. It will not match the new position.

Expected behavior
The returned interval should have the new position.

fixed in #10724.


docs(count): document count api changes

Fixes NODE-1529

@daprahamian do you think we should fully deprecate count? This would provide further opportunity to inform about the alternatives, and force users to look at the documentation

@mbroadst I am okay with fully deprecating count. Would you like me to incorporate it in to this PR?

@daprahamian yes please


Add refresh button to the emulator for transcript files or file watcher

Feature ask - Add refresh button to the emulator for transcript files or file watcher
You have to close down transcript view in the emulator to "refresh" the view of the transcript.

Related to #557

Addressed in #660


Jetski updates

Description
Added KubeletConfig as part of post-install tasks.
Increased hostPrefix to allow higher pod densities by default.
Updated docs to show how to use new task tags.
Type of change
Please select the appropriate options:

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] This change is a documentation update

Testing
Tested with various installs in ScaleLab cloud27 and cloud19.
Test Configuration:

Versions: OCP 4.12, 4.13
Hardware: r650s

Checklist

[x] I have performed a self-review of my own code
[x] If a change is adding a feature, it should require a change to the README.md and the review should catch this.
[x] If the change is a fix, it should have an issue. The review should make sure the comments state the issue (not just the number) and it should use the keywords that will close the issue on merge.
[x] A change should not be merged unless it passes CI or there is a comment/update saying what testing was passed.
[x] PRs should not be merged unless positively reviewed.

Some lingering changes from previous cloud27. Tested again with cloud19 today. Would like to go ahead and merge back to main.


[Feature Req] Alt + Tab visual separation by screens

Description of the new feature / enhancement
When you have more than one screen, and for example you have 2 programs in one screen, and other 2 programs in another screen, to have a visual separation, like a darker zone of each screen in the background, of them when pressing Alt + Tab, instead have all merged.
Also would be nice to have this view in all screens, and highlight the "zone" corresponding to the current screen.
Scenario when this would be used?
When using more than one screen is useful, because you can identify what windows you have opened in each screen. And sometimes you are working in the main screen and when you press Alt + Tab you only want change to the window of the active screen. It has no sense to choose a window of the second screen if you have the focus on the main screen.
Supporting information
No response

related to #13154. Closing as /dup. But will link it there as this is a different proposals to solve the same problem


[Bug]: Long table names result in a hard-to-read dialog buttons and overlap in Table Output transform

Apache Hop version?
2.7
Java version?
openjdk 11.0.19 2023-04-18 LTS OpenJDK Runtime Environment Microsoft-7621296 (build 11.0.19+7-LTS) OpenJDK 64-Bit Server VM Microsoft-7621296 (build 11.0.19+7-LTS, mixed mode)
Operating system
Windows
What happened?
Long table names result in a hard-to-read dialog buttons and overlap in Table Output transform.
Example table name: Octopus.spla_usage_customer_customersServersSoftware

Issue Priority
Priority: 3
Issue Component
Component: Hop Gui

It looks like the latest build (Nov. 15 of Hop 2.7) fixes this issue.


Docker - Add ARM Support

Would be great so I could run it on my m1 mac. And my other m1 mac running Linux. And my Raspberry Pi running ARM

Hi-
Webrcade uses WebAssembly and is not bound to a specific processor architecture. Can you please provide a bit more detail?

Sounds good, thanks!

So, it looks like Docker Hub doesn't support an ARM-based automated build (not sure why).
Probably the best option would be to have the Docker images built in Git and then published to Docker. This is something I will look at when I get a spare minute.
In the mean time, have you tried building the image on ARM? (checked out the repo and performed a build).
Thanks.

Successfully built 548144ca293b
Successfully tagged webrcade:latest

Nice!
Ok, well, I need to figure out a way to do the builds as part of GitHub vs. relying on Docker Hub's automated builds.
Also, you can export that image and then import it on other systems (you don't have to perform the build again on each system).
Thanks again for testing all that out!

Hi, I'm trying to build an ARM image for my M1 Mac Mini, but it's throwing an error while building. I have never built an image for docker before and I'm relatively inexperienced with docker so I might be missing something here:
#0 143.1 Installed to /webrcade/node_modules/node-sass/vendor/linux-arm64-72/binding.node
#0 143.7 npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/webpack-dev-server/node_modules/fsevents):
#0 143.7 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#0 143.7 npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/watchpack-chokidar2/node_modules/fsevents):
#0 143.7 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#0 143.7 npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
#0 143.7 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#0 143.7
#0 143.7 +<EMAIL_ADDRESS>#0 143.7 added 2054 packages from 780 contributors and audited 2057 packages in 66.767s
#0 143.7 found 63 vulnerabilities (2 low, 14 moderate, 27 high, 20 critical)
#0 143.7   run npm audit fix to fix them, or npm audit for details
#0 143.7 --2022-08-06 09:06:19--  https://webrcade.github.io/webrcade-utils/createdats.js
#0 143.7 Resolving webrcade.github.io (webrcade.github.io)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
#0 143.7 Connecting to webrcade.github.io (webrcade.github.io)|<IP_ADDRESS>|:443... connected.
#0 143.8 HTTP request sent, awaiting response... 200 OK
#0 143.9 Length: 15989 (16K) [application/javascript]
#0 143.9 Saving to: 'STDOUT'
#0 143.9
#0 143.9      0K .......... .....                                      100% 8.69M=0.002s
#0 143.9
#0 143.9 2022-08-06 09:06:19 (8.69 MB/s) - written to stdout [15989/15989]
#0 143.9
#0 143.9 internal/modules/cjs/loader.js:800
#0 143.9     throw err;
#0 143.9     ^
#0 143.9
#0 143.9 Error: Cannot find module './roms-fbneo.json'
#0 143.9 Require stack:
#0 143.9 - /webrcade/public/createdats.js
#0 143.9     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
#0 143.9     at Function.Module._load (internal/modules/cjs/loader.js:690:27)
#0 143.9     at Module.require (internal/modules/cjs/loader.js:852:19)
#0 143.9     at require (internal/modules/cjs/helpers.js:74:18)
#0 143.9     at Object. (/webrcade/public/createdats.js:4:15)
#0 143.9     at Module._compile (internal/modules/cjs/loader.js:959:30)
#0 143.9     at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
#0 143.9     at Module.load (internal/modules/cjs/loader.js:815:32)
#0 143.9     at Function.Module._load (internal/modules/cjs/loader.js:727:14)
#0 143.9     at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) {
#0 143.9   code: 'MODULE_NOT_FOUND',
#0 143.9   requireStack: [ '/webrcade/public/createdats.js' ]
#0 143.9 }
#0 143.9 Unable to execute create dats.
#0 143.9 Exiting.
Dockerfile:34
32 |     COPY docker/config.json /webrcade-app-common/src/conf/
33 |
34 | >>> RUN cd /webrcade && ./dist.sh
35 |     RUN wget -O - https://webrcade.github.io/webrcade-utils/cors.php > /webrcade/dist/out/cors.php
36 |     RUN cd /webrcade && ./dist-package.sh
error: failed to solve: process "/bin/sh -c cd /webrcade && ./dist.sh" did not complete successfully: exit code: 1
Any help would be appreciated. Thanks!

are you on macos or on asahilinux?

MacOS. Tried building it with a Ubuntu VM but the same error occurred.

Can u post the entire log chain of commands and upload it to https://pastebot.rmdir.de/ ?

Sorry, posted the output using the link you provided. Thanks for your help!

It seems like it is missing steps. Did you clone or download the latest code on main?
https://github.com/webrcade/webrcade/archive/refs/heads/master.zip

Thanks for your reply. I thought I downloaded everything i needed, but apparently I didn't. Used your link and the build was successful. Thank you!
Now I just need to figure out where it stored the image. Do you have an idea? Sorry for the noob questions.

If you do the following, it will be in the local registry:
docker build -t webrcade .
Then you can run it:
docker run -d --name=webrcade webrcade:latest
You can also add extra options like (volume mounting, ports, etc.):
docker run -d --name=webrcade  -v /home/webrcade/data:/data --restart unless-stopped webrcade:latest
You can also export the image and subsequently load it on other systems.

This worked perfectly, thank you!
And great application by the way!

Great to hear! And, thanks, really appreciate it!

Hi! Just wanted to give you a little nudge here on the multiarch front - have a look at https://github.com/rcarmo/github-actions-multiarch-docker for a sample flow. There have been some changes to GitHub Actions, but this approach can be tested locally on a Linux machine as well.

Ah, nice! Thanks @rcarmo.
This looks straight-forward and is exactly what I was looking for. At first glance, I didn't see version tagging supported, do you happen to know if this is only LATEST? I am guessing I can modify it to apply to most tags as well (versus just pushes to main, etc.).

This is now available on Docker Hub (part of release 0.1.1).


[python-package] remove unused imports

This pull request proposes removing some unused imports in Python code.
I ran two linters over the Python code in this project tonight, hoping I could find some things that could be fixed.
First, I ran flake8. This returned a bunch of issues that I think are minor and should be left to maintainers...things like extra blank lines, missing spaces around operators, and oother whitespace and minor style things.
flake8 \
    ---ignore=W503,E501,E202,E231,E241,W504,E226,E271,E251,E121,E221,E111,E302,E305,E303,W293,E201,E211,W291,E261,E203,E402,E306,E225,E266,E265,E128,E127,W391

Next, I ran mypy to look for type mismatches. That didn't turn up anything obvious (it's more useful on projects that make heavy use of Python type hints), but might be worth it for maintainers to try some time.
mypy python-package \
    | grep -v "Cannot find implementation or library" \
    | grep -v "found module but no type hints"

Thanks for your time and consideration!

We use pylint. It's odd that pylint did not catch unused imports.

Codecov Report

Merging #5776 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5776      +/-   ##
==========================================
- Coverage   82.61%   82.59%   -0.02%
==========================================
  Files          12       12
  Lines        2726     2724       -2
==========================================
- Hits         2252     2250       -2
  Misses        474      474

Impacted Files
Coverage Δ

python-package/xgboost/__init__.py
88.88% <ø> (-1.12%)
:arrow_down:

Continue to review full report at Codecov.

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

@trivialfis Should we use flake8?

Let's don't add too much linters.  But having type check seems nice.


Home Assistant - how to?

Create work, but how to integrate exactly into home assistant. I have a running docker image and it receives a lot of  messages with "MotionDetect" and "EventStop". At the Mosquitto broker log i see a new client connection. But what to do next to get sensors or trigger an automation?

Okay, i found something - i answer to my own question:

To debug: just use mosquitto_sub to subscripte to the mosquitto broker running on the hassio.
Example: mosquitto_sub -d -u username -P password -h ip_of_home_assistant_server -t 'camera-alerts/#'
You can also subscribe to '#' -> its a wildcard for all topics! mosquitto_sub you can run on every linux system by installing it for example with apt-get install mosquitto-clients
Example output:
{"Address":"0x12345678","Channel":2,"Descrip":"","Event":"MotionDetect","SerialID":"myNVR-ID","StartTime":"2023-03-12 00:23:04","Status":"Start","Type":"Alarm","ipAddr":"<IP_ADDRESS>"}

In your config.yaml uste topicroot: camera-alerts

Create a mqtt.yaml
a) edit configuration.yaml -> add a line with
mqtt: !include mqtt.yaml
b) create a file mqtt.yaml and insert the binary_sensor configuration:
binary_sensor:

name: "NVR"
state_topic: "camera-alerts/yourdeviceID/MotionDetect"
device_class: "motion"
value_template: '{{value_json.Status}}'
payload_on: 'Start'
payload_off: 'Stop'

Adjust these parameters to your debug output from mosquitto_sub at the 1. step because every cam or NVR maybe reports with different values.

No need to restart ha, just go to Developer tools, Yaml, Check configuration and if okay, klick on reload MQTT-Entities.

The new sensor with the given name (example NVR) should appear. Without motion status is unknown. If motion appeares it must change.
ToDo: create other sensor type. I use a NVR with 3 cams (channels). So i need 3 sensors for 3 different channels. And my NVR is flapping with the MotionDetect. It seems, that every second motion is detected a Alarm is created. I'am still debuging.

Update:
Sensor definition in mqtt.yaml that works for me:
sensor:
  - name: "NVR"
    state_topic: "camera-alerts/myNVR-ID/MotionDetect"
    value_template: '{{value_json.Channel}}_{{value_json.Status}}'

Value is Channel + _ + Start or Stop (0_Start, 0_Stop, .... 2_Start, 2_Stop).


MWPW-159032: Verb Widget - Accessibility Issues

Resolves: MWPW-159032
Submit accesible by keyboard
Text decoration under verb widget footer links
Test URL:

Before: https://main--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf-projectunity?martech=off
After: https://mwpw-159032--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf-projectunity?martech=off

Codecov Report
Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 68.73%. Comparing base (46ba26b) to head (cacd468).
Report is 8 commits behind head on stage.

Files with missing lines
Patch %
Lines

acrobat/blocks/verb-widget/verb-widget.js
0.00%
8 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #822      +/-   ##
==========================================
- Coverage   69.02%   68.73%   -0.30%
==========================================
  Files          47       47
  Lines        7196     7237      +41
==========================================
+ Hits         4967     4974       +7
- Misses       2229     2263      +34

Flag
Coverage Δ

68.73% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


on my NVIDIA-RTX3090 gpu, time of per frame is 35ms±, is this speed normal?

good job, thanks your time!

my model is Depth-Anything-S. And input video's image size is 640 * 480.

Did you use warmup? first few frames will be slow as GPU warms up. Maybe your inference time includes frame merging and overlaying depth on video. I measured only inference time that the time of predict function in TRT_Module

yes. my command line output as below.
username@username:~/depth-anything-tensorrt/build$ ./depth-anything-tensorrt depth_anything_vits14.engine /home/username/data1/image/
Time of per frame: 85ms
Time of per frame: 27ms
Time of per frame: 25ms
Time of per frame: 25ms
Time of per frame: 26ms
Time of per frame: 27ms
Time of per frame: 26ms
Time of per frame: 29ms
Time of per frame: 28ms
Time of per frame: 26ms
Time of per frame: 26ms
Time of per frame: 25ms
Time of per frame: 27ms
Time of per frame: 26ms
Time of per frame: 26ms
Time of per frame: 26ms
Time of per frame: 26ms
Time of per frame: 25ms
Time of per frame: 26ms
Time of per frame: 26ms
Time of per frame: 26ms
Time of per frame: 26ms
...omit, because similar like above

and when encoder used vitl14, output like this:
username@username:~/depth-anything-tensorrt/build$ ./depth-anything-tensorrt depth_anything_vitl14.engine /home/username/data1/image/
Time of per frame: 137ms
Time of per frame: 89ms
Time of per frame: 88ms
Time of per frame: 81ms
Time of per frame: 83ms
Time of per frame: 79ms
Time of per frame: 79ms
Time of per frame: 79ms
Time of per frame: 79ms
Time of per frame: 79ms
Time of per frame: 79ms
Time of per frame: 78ms
Time of per frame: 79ms
Time of per frame: 78ms
Time of per frame: 78ms
Time of per frame: 79ms
Time of per frame: 79ms
Time of per frame: 78ms
Time of per frame: 78ms
Time of per frame: 79ms
...omit

my computer hardware is  intel i7-11700, 16Gb memory and NVIDIA RTX3090  with 24Gb display memory.
software is Nvidia Driver Version: 535.154.05, CUDA Version: 12.1, TensorRT-<IP_ADDRESS>.
when I run ./depth-anything-tensorrt depth_anything_vitl14.engine /home/username/data1/image/, I watch my GPU resource with command gpustat  -a. It's output like this below,
[0] NVIDIA GeForce RTX 3090 | 70°C,  61 %,  64 % (E:   0 %  D:   0 %),  331 / 390 W |  2726 / 24576 MB | username:depth-anything-tensorrt/141348(1988M) gdm:Xorg/1208(96M) username:Xorg/1943(351M) username:gnome-shell/2087(55M) username:chrome/124348(70M) username:code/137976(65M)

I replace code cv::waitKey(100); of main.cpp to cv::waitKey(1);.
GPU Utilization is 60%±（if depth_anything_vits14.engine, this number is 30%±）. I am a freshman for deeplearning inference, so, is this speed normal?

Try building engine from TRTModule build and save engine methods by providing onnx model. It will be more lighter.

A6000, 1080x1920, +1000ms per frame.

@silencht Overlaying the depth image on the original image were causing some performance bottleneck on followup inference. I removed it. You may try it again.

Try building engine with TRTModule build and save engine methods by providing onnx model without using trtexec. It will be more lighter.

how to build engine with TRTModule?can u share the cpp code?

You can build an engine from TRTModule and please refer to early commit:
https://github.com/spacewalk01/depth-anything-tensorrt/tree/3868174977d042759c76ac12734ccd3f1fd8628e


List of Piral v2 Presets

This is a WIP on presets that will be available either directly when we release Piral v2 or that are planned / available after some time.
A preset is a combination of packages that come together in form of a template or description to directly support a use case. For instance, right now (Piral v1) we can say that we have 1 preset: SPA.
We have planned:

spa, pretty much what we have today, but independent of React
ssr, could be used to also form a modulith service - otherwise just a plain SSR-only solution for micro frontends
islands, this is essentially a combination of spa and ssr giving you the power of islands architecture with micro frontends, i.e., zero performance impact, fully scalability
electron, makes client applications also composable
tauri, similar to electron
react-native, makes mobile applications composable
blazor-wasm, like spa but tailored for .NET dev experience
blazor-server, like blazor-wasm but with even more parts running in pure C#/.NET like the orchestrator
astro quite like ssr but tailored for Astro
nextjs quite like ssr but tailored for Next.js
nuxt quite like ssr but tailored for Vue / Nuxt

A preset defines (among other things):

What to do about tooling (e.g., bundler plugin)
How the orchestration flows (e.g., using the browser orchestration, server orchestration, .NET ...)
What format of the pilets is allowed (client JS, server JS, DLLs, ...)
How the debugging tools are integrated
What extra features are added (e.g., client-side routing)

Anything else to consider? We are also actively thinking about qwik or other popular (meta) frontend frameworks that could be touched by this.

Well done, are you considering supporting Vue and Vite?

Well done, are you considering supporting Vue and Vite?

Vite is a bundler - it is already supported and for v2 there is nothing in addition to do. It will just work. Vue also is implicitly supported in v2, like piral-base already supports any framework.
The big difference from v1 to v2 is that v1 is mostly thought of as a framework - in this sense having layouting / a component model defined on top of React, v2 is a library where the component model is based on a generic approach, which is mostly just a web component model. So it will work in pretty much all frameworks out of the box.

Well done, are you considering supporting Vue and Vite?

Vite is a bundler - it is already supported and for v2 there is nothing in addition to do. It will just work. Vue also is implicitly supported in v2, like piral-base already supports any framework.
The big difference from v1 to v2 is that v1 is mostly thought of as a framework - in this sense having layouting / a component model defined on top of React, v2 is a library where the component model is based on a generic approach, which is mostly just a web component model. So it will work in pretty much all frameworks out of the box.

Perfect, I can't wait to convince my team to use Piral! By the way, I would like to know when the V2 version is expected to be released.

Part of it (regarding the islands-composition / based on our demo with SSR and islands) is already in private preview, but its unclear when we'll have a public preview - especially with all of the presets.
I'd say in Q2 / 2024 we'll enter that stage.
Of course we can also give you guys early access, which can be done rather early. If you have a specific target (e.g., a Vue app) in mind then we surely could also actively work to get this done supported as well as possible.
So I'd say if the team is willing to look into it then come back to us - we can arrange a call (me and some other devs working behind the scenes) and see what you guys need and how we best support you.

I would be interrested to see a Tauri integration

I would be interrested to see a Tauri integration

Great point. I've added it to the list. The general principle would be the same as with electron, however, part of the preset is some seamless integration with the tooling, so it definitely needs to be tested / refined for it as well. But the client-side / orchestration part will be the same.

I am trying to make a Next.js using App router as an app shell. But I have problems with making it to work. Is it even possible? and is there tutorials for it or something. I have not been able to find anything.

I am trying to make a Next.js using App router as an app shell. But I have problems with making it to work. Is it even possible? and is there tutorials for it or something. I have not been able to find anything.

Is this a question for the Piral v2 presets? Yes, Next.js is supported in Piral v2 - but as this is currently a private preview my guess is you refer to Piral v1. Piral v1 is incompatible with Next.js. While you could make the app router work there are plenty of other things that would not work.

I am trying to make a Next.js using App router as an app shell. But I have problems with making it to work. Is it even possible? and is there tutorials for it or something. I have not been able to find anything.

Is this a question for the Piral v2 presets? Yes, Next.js is supported in Piral v2 - but as this is currently a private preview my guess is you refer to Piral v1. Piral v1 is incompatible with Next.js. While you could make the app router work there are plenty of other things that would not work.

OK when do you think v2 will release? I am relaly interested in the Nextjs integration


[FE+BE]Connection of Frontend (TalktixChatUI) and Backend (TalktixChatAPI)

define concrete server port 4200 / backend 8000
change the URLs of existing end points to match the defined local ports
consider software architecture when implementing the connection

Acceptance criteria

[ ] information from UI are successfully being sent to backend
[ ] received message should be logged
[ ] code has been tested

Definition of done (DoD)

Added only after week 5
The same for all features
Here goes the project specific part

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

@sajjadmurtaza, i have added an review for your backend changes.
@garvinkon and @sajjadmurtaza, did you talk about how the frontend should use the endpoint?

@sajjadmurtaza I did the next review.


Unseen notifications

closes #1191
follow ups:
Finish decoupling from layout:
https://github.com/linode/manager/issues/1350
Increase default polling time after decouple:
https://github.com/linode/manager/issues/1351

mostly decouples notifications/events from layout
fetches unseen events and at least 1 page of existing events on init
adds pagination control to events dropdown for more efficient event loading since we will now only poll on { seen: false } events by default
with pagination in place, re-introduces client side sort for events by created, because of the way we extend objects in api reducers by { [id]: event }
splits notifications into it's own panel under alerting icon we've been using in mockups, moves logout into the user menu

icon/menu separation:

same dropdown style for now:

show more:

loading text state ( for now ):

no more notifications:

badge updated over alert icon:

Coverage decreased (-0.7%) to 81.683% when pulling 0721ace54bce064b7163412d85ecc2b81851bb77 on mparke:unseen-notifications into 5d5ed4f10b46cf852c1f2aeea4789e23ee71282a on linode:master.

I had to kill a few tests in these changes, primarily a couple things that were testing layout that would require a lot of changes with the separation I made.
please post with any requests for automated tests.
also, take a look manually

Coverage decreased (-0.7%) to 81.683% when pulling 22bd091b95a59cdba73af959915c2d658c7cb834 on mparke:unseen-notifications into 5d5ed4f10b46cf852c1f2aeea4789e23ee71282a on linode:master.

Coverage decreased (-0.6%) to 76.297% when pulling 7e0d7348d953d1fcb77543f71aa5529bd3ed2bed on mparke:unseen-notifications into cbe2cf17d869ac158d404c430a5cea4c06c1fe50 on linode:master.

Coverage decreased (-0.6%) to 76.297% when pulling 98a9a61b935cff3d509860230a0f0c237add51e5 on mparke:unseen-notifications into cbe2cf17d869ac158d404c430a5cea4c06c1fe50 on linode:master.

Coverage decreased (-0.6%) to 76.297% when pulling 98a9a61b935cff3d509860230a0f0c237add51e5 on mparke:unseen-notifications into cbe2cf17d869ac158d404c430a5cea4c06c1fe50 on linode:master.

Coverage decreased (-0.6%) to 76.297% when pulling 0b18858b43e9c3e4b6c52cb4aff55cdcda936d86 on mparke:unseen-notifications into cbe2cf17d869ac158d404c430a5cea4c06c1fe50 on linode:master.


RAG with database routing - first initialization

yet to fix a few features, working on them

the response from the system is very short and consise - which can be improved with a custom prompt in the retrieval_qa_prompt part - so should work on that. fallback works fine


Proposition to delete Renovate from the repo

Dependabot is doing the job just right

I agree, renovate creates duplicates


OwlGenerator(File rdfDataset) not working

When using the OwlGenerator(File rdfDataset) variant of OwlGenerator, an error occurs because 'queries' is Null.
I believe this this because queries is not properly initialized yet.
This can be solved by adding the line queries = new ArrayList<>(); within the function (on line 101 of OwlGenerator.java), similarly to how it happens in OwlGenerator() and OwlGenerator(String endpoint)
This solved the problem for me.

The variable is initialized in the constructor in the current code. In any case, could you create a PR proposing this change? Many thanks for contributing :)


NSP: Invalid payload submitted to Node Security Platform

Hello,  I add the stage dependency check stage("Dependency Check") {                     dependencyCheckAnalyzer datadir: 'dependency-check-data', isFailOnErrorDisabled: true, hintsFile: '',                         includeCsvReports: false, includeHtmlReports: false, includeJsonReports: false,                         isAutoupdateDisabled: false, outdir: '', scanpath: '', skipOnScmChange: false,                         skipOnUpstreamChange: false, suppressionFile: '', zipExtensions: '', nspAnalyzerEnabled: false                     dependencyCheckPublisher canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '', unHealthy: ''                     archiveArtifacts allowEmptyArchive: true, artifacts: '**/dependency-check-report.xml', onlyIfSuccessful: true                 }
and this is [DependencyCheck] Data directory created [DependencyCheck] Scanning: /var/lib/jenkins/workspace/retio_2_MS_CoreRH_DEVOPS-17-IAIJQHIE6U2CTC6LNLIPROR5BEPZTVK4THP67ROQ6ZLFPQAKBMJA [DependencyCheck] Analyzing Dependencies [DependencyCheck] One or more exceptions were thrown while executing Dependency-Check [DependencyCheck] Exception Caught: org.owasp.dependencycheck.analyzer.exception.AnalysisException [DependencyCheck] Message: Could not perform NSP analysis. Invalid payload submitted to Node Security Platform. [DependencyCheck] org.owasp.dependencycheck.analyzer.exception.AnalysisException: Could not perform NSP analysis. Invalid payload submitted to Node Security Platform. [DependencyCheck] 	at org.owasp.dependencycheck.data.nsp.NspSearch.submitPackage(NspSearch.java:167) [DependencyCheck] 	at org.owasp.dependencycheck.analyzer.NspAnalyzer.analyzeDependency(NspAnalyzer.java:174) [DependencyCheck] 	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:137) [DependencyCheck] 	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88) [DependencyCheck] 	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37) [DependencyCheck] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [DependencyCheck] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [DependencyCheck] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [DependencyCheck] 	at java.lang.Thread.run(Thread.java:745) [DependencyCheck]
the output ,
Should I modify the stage or the package.json ,...!! help please

What version of Dependency-Check?
Can you provide me the package.json you're scanning?

OWASP Dependency-Check Plugin v3.0.1
package.json
{   "devDependencies": {     "generator-jhipster": "4.5.2"   } }

That is an invalid package.json. The 'name' field is required per https://docs.npmjs.com/files/package.json
The native nsp check functionality fails gracefully here because it checks if name is not being specified and automatically assigns the name to 1. This is what nsp check is sending:
{"devDependencies":{"generator-jhipster":"4.5.2"},"name":"1"}
Dependency-Check does not compensate for invalid package.json files. If it's invalid, it will not try to correct it.
I'm going to mark this as an enhancement so that Dependency-Check compensates for a missing name field.

The enhancement will be included in the next release - 3.0.2

I add name and version in package.json, but the error still exist java.lang.AssertionError 	at org.owasp.dependencycheck.analyzer.NspAnalyzerTest.testAnalyzePackage(NspAnalyzerTest.java:)

Hi, build SUCCESS when I delete package.json , thank you @stevespringett


Chat alerts

Ner07
Can you make me a simple mod with only 1 feature "chat alerts" when a specific message in chat appears alert it to the player

Added in v0.0.8


Removal of OMS References

Please plan to remove references of OMS from the architecture guidance. Creates confusion.

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

ID: f5219528-fc64-7b32-27b3-96118a2a89ef
Version Independent ID: 706d224a-b728-f5c8-a228-7c540f7c53c3
Content: Azure Security and Compliance Blueprint - IaaS Web Application for FedRAMP
Content Source: articles/security/blueprints/fedramp-iaaswa-overview.md
Service: security
GitHub Login: @jomolesk
Microsoft Alias: jomolesk

@knssub Thank you for your feedback on this. We will have this reviewed internally and get it updated as needed.

@jomolesk Could you please have this reviewed and get the document updated as necessary .
Thank you .

This has been addressed, #please-close.


Weird artifacts on RenderManager in Editor

After fixing the "whitewash" bug with a GL.Clear, now sometimes a rectangle of the cleared color is visible when the scene is playing in the Unity editor. This does not happen in builds, and doesn't always happen in the editor. It seems to vary per scene.
This is similar to the white line artifact/rectangle we see in the editor on the RenderManager path.

Removing the GL.Clear fixes this issue, and also doesn't bring back the whitewash bug. Must have been something in RenderManager or Nvidia causing it. https://github.com/OSVR/OSVR-Unity/pull/123

Fixed in #123


1 Chinese support, 2 keep markdown format

1 Chinese support, 2 keep markdown format

for fixing issue #12 #13


Change XSGM interface stack position to just before before MC2

Description

The cross section group manager is currently called before depletion and fuel management in the interface stack. Therefore, any changes due to burnup are not accounted for when cross sections are generated.
This was historically done to support branch searching. It is also necessary to enable flux-weighted representative blocks, as several blocks will have 0 flux after fuel shuffling, so the implementation of this PR will mean that we can no longer support this.
This PR moves the cross section group manager interface in the interface stack to just before mc2. Also sets the default cross section block averaging method to Average instead of FluxWeightedAverage.

Checklist

[x] This PR has only one purpose or idea.
[x] Tests have been added/updated to verify that the new/changed code works. NOTE: PR 1308 has an additional test to support this PR.

[x] The code style follows good practices.
[x] The commit message(s) follow good practices.

[x] The release notes (location doc/release/0.X.rst) are up-to-date with any bug fixes or new features.
[x] The documentation is still up-to-date in the doc folder.
[x] The dependencies are still up-to-date in setup.py.

@keckler do you recall which issue you opened that discussed this? We should link that here for posterity. I tried looking for it but couldn't find it.

https://github.com/terrapower/armi/issues/839

@albeanth Wants us to connect this PR to #1308
Essentially, that PR exists to increase code coverage that this PR drops.  (Since Tony does not have the power to change this PR as it originates in a private repo.)

Since Tony does not have the power to change this PR as it originates in a private repo.

Turns out I do, but I didn't find that out until after I created #1308. So instead of closing #1308 and cherry-picking over the commits or merging the feature branch to this PR, I just left everything as is....
But good to know I have some power for the future! 😄


Binary resources aren't shown when searching for a tileset

Godot 2.1.4
Windows 10 64 bits
I accidentally exported a tileset as a .res, which is the binary version of .tres. Not a big deal, however I noticed .res are not visible when trying to load such tileset on a tilemap:
TileMapYSpanningTiles.zip

Actually, this is a duplicate of #6678.


Fix config files of of YarpRobotLoggerDevice

Fix filenames of config files.
Fix device client and remapper for logging the head IMU of iCub3.

Hi @isorrentino, I noticed that there are some tabs instead of spaces in the config. Could you please remove them?

Hi @isorrentino, I noticed that there are some tabs instead of spaces in the config. Could you please remove them?

Done. @GiulioRomualdi


Improve SoftwareSetup by using issues instead of private forks.

Move TODOs into issues
No longer create private forks, which need to be deleted later and are a source for confusion, just create an issue asking to be added as maintainer
Move the private GitHub noreply email instructions to the Cloud IDE section, because we can do this inside Gitpod and not commit all our personal emails into the monorepo.

Do they need help with the software setup?
On Mon, Oct 2, 2023, 4:38 PM Paul Pham @.***> wrote:

@learner-long-life https://github.com/learner-long-life requested your
review on: #29
https://github.com/TheEvergreenStateCollege/upper-division-cs/pull/29
Improve SoftwareSetup by using issues instead of private forks..
—
Reply to this email directly, view it on GitHub
https://github.com/TheEvergreenStateCollege/upper-division-cs/pull/29#event-10531591915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3WW2VG52SEWK7N25NEUZATX5NF6JAVCNFSM6AAAAAA5QELQQ6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGUZTCNJZGE4TCNI
.
You are receiving this because your review was requested.Message ID:
<TheEvergreenStateCollege/upper-division-cs/pull/29/issue_event/10531591915
@github.com>


Issue/2612 injector reload (#2850)

Pull request opened by the merge tool on behalf of #2850

Merged in 55b761d1a32afb0c83d08c063515d7e67af374a6


Remove the extra indentation lines for code inside the same block?

Currently, the plugin always adds lines as long as the lines of code are: 1) separated by at least one newline character and 2) have the same indentation level.
But what if I only want the lines to help me identify the scope? As in if the lines of code are in the same scope, no indent lines should appear between them unless the indentation level is different.
Here are a couple of screenshots to help me explain what I mean.

Using indent-blankline, the indent lines appeared between the two print(message) function calls even though both calls are inside the same scope.
With VSCode, this doesn't occur.

Note the lack of indent lines between the two print(message) function calls. It seems VSCode only adds indent lines to delineate the scope, which is what I want.
How can I tweak indent-blankline's configuration to produce the same effect?
To summarize, here is the effect I want:

Is it possible?

This is an option :help g:indent_blankline_show_trailing_blankline_indent

Hey, Lukas.
Thanks for the suggestion. I have set show_trailing_blankline_indent = true. Here is the result.

The lines between the two print(message) did disappear, but there are still trailing indent lines after the while block and between the function and class definitions. Is this behavior expected?

Yes, the default indent algorithm does not know about semantics.
You can try :help g:indent_blankline_use_treesitter, which is language aware. In theory that should solve these issues, but treesitter indent is still an experimental feature. There are still a lot of cases where it makes mistakes.

@lukas-reineke
Thanks for your answer. Setting indent_blankline_use_treesitter did not fix the issue. Noted with regards to the experimental nature of treesitter. Will wait for a future fix.


Provide the Resource Model in both, JSON and YAML

JSON vs. YAML is a very personal, opinionated and team dependent question. In official documentation like this one, I would like to see both ways. I think a code block with tabs to switch between the same Resource Model in YAML and JSON would be an excellent solution for this!

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

ID: 2a11074a-9b44-cb3c-77a9-fba646a75d3b
Version Independent ID: c3fd5f8e-6043-6482-4153-c6d044ce10bc
Content: Tutorial- Deploy an app to Azure Service Fabric Mesh
Content Source: articles/service-fabric-mesh/service-fabric-mesh-tutorial-template-deploy-app.md
Service: service-fabric-mesh
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@robinmanuelthiel Apologies for the slow reply.  Thanks for the suggestion.  We have a backlog item for creating JSON and YAML files, we'll update the article at some point in the future.  #please-close


Path Shortener

A "Destination path too long" fix tool
When copying folders sometimes the new location exceeds the max character length
Goal:

Visualize and shorten long paths exceeding X characters.
Additionally, search for folders/file names longer than X.

i think a better thing would be "allow for long paths" :)


Issue 143

#143

Coverage increased (+0.3%) to 90.221% when pulling f9d060288f8e4177bd96a825a7fe2bf41885b5b3 on issue-143 into fedb8e1045297b0898804798e3862ff94c6f3e70 on master.


Permanent telnet access

Hi. I have some issue with toolbox.
After update firmware, I uncheck ESD update, and now I have error in 5F unit 1556(error)
Consistent ESD is fail (1556)
I need to enable permanent telnet to update ESD and after install new toolbox.
Now telnet enable only for next reboot :D
I can't update ESD without lost my toolbox.
I don't want to disassemble unit to enable TTL again :)

In full sysinfo log (you can make it via mib_info menu) you can find a true reason of 1556, Which means integrity check fail.

I saw it in ODIS.
They tell me 1556 no ESD was updated.

I saw it in ODIS. They tell me 1556 no ESD was updated.

Can you provide a screenshot how it looks like?

No, I not saved screenshot.
But in ODIS it's look like Consistent ESD is fail, incompatible software error 1556.
If I update software ESD I know error is will gone. But I will lose my toolbox. On my 5C035200B this mean I will need to disassemble again my unit :D

Fresh screenshot for you.

How from this screenshot did you guess that it is because of non-updated ESD?

Sysinfo extended not work. Only short info works. Extended info working with errors and collect only 4Kb txt file in dump folder.
In this sysinfo.txt no additional info. Only disk size serial and etc.

Insert any SD card into the unit
Long press MENU to enter the " Testmode->Green Engineering Menu.
Go to debugging->additional debug destination, select SD card and press right knob. The log will be written to /log/log-001 in the root of the SD card.

Open the log in notepad++ and use search function. Look for something like:
SW incompatible / integrity error 2 incompatible modules (1st: cpuplus/emergency%2 current version 2253022 planned version 4480031)

Sorry I found errors: SW incompatible	one incompatible module: cpuplus/esd%2 current version 3353007 planed version 4478011

And how you can see ODIS was right :D ESD need update :D

How do you connect to telnet? Over WiFi or via Asix based USB2Ethernet like DUB-100E?

I have EDIMAX EU-4208 but I reflash it to Dlink DUB E-100 they work with both firmware on my unit.

Please, can you help me? What I must do to enable telnet permanently?

Add to the /tsd/bin/system/startup these commands:
inetd
pfctl -d

Thank you. I'll check tomorrow morning. If it all works out. I think it would be nice to have the option of a permanent network. When you need to update ESD. But this need who not have navi unit for SD hack.

With this command is not working network :(

Works where in  /tsd/etc/networking/pf.conf add last line pass all :D
I update ESD and install new toolbox via telnet :D

Permanent telnet implemented with https://github.com/olli991/mib-std2-pq-zr-toolbox/commit/eb7fc8f652e52b09f92db35dfb3fdbfd815bf590

Thank you. I know it. I think you need update this solution:
Q: I already have the Toolbox installed and want to update my firmware from 02xx/03xx to 04xx/05xx/06xx etc version. Will Toolbox remain installed after the update?
A: Yes, but you need to update fw manually via Testmode->SWDL->Software Download Manual Download->Start Download.
Tap on "Select all", open cpu or cpuplus folder there and untick esd_sec or esd module and start the update.
If you forget to untick esd_sec, the update will clean /tsd/etc/persistence/esd folder and delete the toolbox.
-------Something like that.------
After update you can enable permanent telnet, reboot and update ESD then use telnet for install toolbox.


preserve dots when copying to clipboard

Looks like the copy-to-clipboard sanitizing regex was sourced from a StackOverflow question titled "Regex for removing leading and trailing carriage returns and line feeds from a sentence" (https://stackoverflow.com/a/2550845/1122351), but the question text sneakily also asked for the solution to combine this with "removing periods from within the string."
We want to keep these dots when copying to the clipboard, so remove the part of the regex that strips these dots.

This change is

(@jseldess: heads up, I haven't tested this yet.)

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4017e9edb1263458ae4eab4f19a1454317d1f71d/

Thanks, @benesch. Will test in the morning.
@deronjohnson, heads up that @benesch may have resolved this already.

Just tested. Works like a charm. Thanks again, @benesch!


Update email regex to use W3C's one?

There is no 100% bullet proof email regex, but should you update it to use W3C's one? Currently I'm facing a bug that<EMAIL_ADDRESS>is passed, when W3C's regex wouldn't pass it.
Current zod regex for email is:
(/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i)

When W3C suggests:
/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/

See also: https://github.com/colinhacks/zod/pull/1435

@Tyler-Murphy PR #1435 does not fix this issue.

Sorry, I should have been clearer. I'm just pointing out its existence, since the W3C regex appears not to work with some of the test cases in #1435.

This would also allow + in addresses like<EMAIL_ADDRESS>which would be good.

@timojuonoja "" non è un carattere email valido, l'unico modo per usarlo è con le virgolette doppie intorno alla parte locale dell'email

@timojuonoja "" is not valid email character, the only way to use it is with the double quotes around the local-part of email

Yes, you are absolutely right by the way.
We seem to have an error in our test cases after all... I'm closing this due to incorrect assumptions.


NOAUTH error also if I use Custom Client

I need to use Redis with password authentication and socket.io-redis.
I'm using the version 1.1.1 of socket.io-redis and I'm using Mac and CentOS as operating system.
I took the code from your documentation:
  var redis = require('redis').createClient;
  var adapter = require('socket.io-redis');
  var pub = redis(6379, config.ip, {
    auth_pass: config.redisPwd
  });
  var sub = redis(6379, config.ip, {
    return_buffers: true,
    auth_pass: config.redisPwd
  });
  io.adapter(adapter({
    pubClient: pub,
    subClient: sub
  }));

I'm still receiving the NOAUTH error:
events.js:154
      throw er; // Unhandled 'error' event
      ^

Error: Ready check failed: NOAUTH Authentication required.
    at JavascriptReplyParser._parseResult (/Users/andreabianco/Sites/test/node_modules/redis/lib/parsers/javascript.js:43:16)
    ...

What am I doing wrong?

socket.io-redis does not seem to be concerned here, closing.


Support functions

Currently only object and class methods are considered. We should also check procedural functions.

For checks this is solved in #10. But we still need to implement it for repository creation.


exception when attempting to construct bound proxy

The following test case throws TypeError: 'newTarget' is not a constructor.
        body() {
            let constructionCount = 0;
            function a(arg1, arg2) {
                this[arg1] = arg2;
            }
            const b = new Proxy(a, {
                construct: function (x, y, z) {
                    ++constructionCount;
                    return Reflect.construct(x, y, z);
                }
            });
            const boundObject = {};
            const c = b.bind(boundObject, "prop-name");

            {
                const obj = new c("prop-value");
                assert.areNotEqual(boundObject, obj, "bound function should ignore bound this when constructing");
                assert.areEqual("prop-value", obj["prop-name"], "bound function should keep bound arguments when constructing");
                assert.areEqual(1, constructionCount, "bound proxy should be constructed once");
                assert.areEqual(a.prototype, obj.__proto__, "constructed object should be instance of original function");
            }

            {
                constructionCount = 0;
                class newTarget {}
                const obj = Reflect.construct(c, ["prop-value-2"], newTarget);
                assert.areEqual(newTarget.prototype, obj.__proto__, "bound function should use explicit newTarget if provided");
                assert.areEqual("prop-value-2", obj["prop-name"], "bound function should keep bound arguments when constructing");
                assert.areEqual(1, constructionCount, "bound proxy should be constructed once");
                assert.areEqual(newTarget.prototype, obj.__proto__, "constructed object should be instance of original function");
            }
        }

I'll take a look at this, may be related to or even caused by one of the Proxy fixes I've done recently.
Trying with eshost JSC also errors on this but v8 and SM don't.

Ok no the error is not related to the pieces I've done on Proxies issue appears to relate to the way Reflect.construct interacts with proxy construct traps. Putting in a print() call shows that the new c call results in the trap being triggered twice instead of once - the error is on the second trigger of the trap which should never occur.
I'll see if I can work it out what's going wrong to make the trap fire twice - I think it may be an error in the implementation of Reflect.construct.

OK so there are there three problems in BoundFunction.cpp related to constructing var a proxy trap:

The construct trap of the proxy is called here WITHOUT the bound arguments:
https://github.com/Microsoft/ChakraCore/blob/1189fe888e6a7aa8d4727cddf3af446da9252f20/lib/Runtime/Library/BoundFunction.cpp#L143

The construct trap of the proxy is called AGAIN here this time with the bound arguments BUT not with (target, argumentsList, newTarget), instead it's called with (...boundargs, target, argumentList, newTarget)
https://github.com/Microsoft/ChakraCore/blob/1189fe888e6a7aa8d4727cddf3af446da9252f20/lib/Runtime/Library/BoundFunction.cpp#L204

The error is thrown on the second call as the newTarget parameter is instead one of the boundArgs or the target or the argumentList.
Note currently in the edge cases where this (i.e. instantiating a bound proxy with a construct trap) doesn't throw an error (there are a few) the constructor is still being called twice.
To fix this...
Need to know how to insert the boundargs onto the start of the argumentList parameter for the trap rather than on to the start of all arguments.
Then need to fix it to do that and then call the trap and return if it's a Proxy.

So I've had a look at this, I do not have a working fix but as I've taken a bit of time working through what the issues are posting them in case useful to anyone else looking at this.
There are two different errors to look at in order to fix the above test:
Firstly - new boundProxy -> Reflect.construct -> throws

Calling new on a boundFunction leads to:
BoundFunction::NewInstance creating a this value:
https://github.com/Microsoft/ChakraCore/blob/5fb9787b67476fe51cde96f994d1b0771d2d2844/lib/Runtime/Library/BoundFunction.cpp#L168-L178
It then calls the constructor which hits JavascriptProxy::FunctionCallTrap

JavaScriptProxy::FunctionCallTrap concludes that this is a ConstructorSuperCall
https://github.com/Microsoft/ChakraCore/blob/5fb9787b67476fe51cde96f994d1b0771d2d2844/lib/Runtime/Library/JavascriptProxy.cpp#L2075
This is because it a) is a new call AND b) has a non-null this value or new target, see:
https://github.com/Microsoft/ChakraCore/blob/5fb9787b67476fe51cde96f994d1b0771d2d2844/lib/Runtime/Language/JavascriptOperators.cpp#L1324-L1329

JavaScriptProxy::FunctionCallTrap on encountering a ConstructorSuperCall sets the 3rd argument (newTarget) of the construct trap call to the "this" value for the call - so when the construct trap is called newTarget is the "this" value created by BoundFunction::NewInstance.

Reflect.Construct cannot use a "this" value as its newTarget.

Secondly - new boundProxy results in constructor being called twice
This issue whilst not directly related to the first error message must also be fixed for the above case to pass in full.

BoundFunction::NewInstance when called with a Proxy invokes the Proxy's construct trap to create the "this" value it's going to provide (see above)
https://github.com/Microsoft/ChakraCore/blob/5fb9787b67476fe51cde96f994d1b0771d2d2844/lib/Runtime/Library/BoundFunction.cpp#L137-L144
BoundFunction::NewInstance ends by calling the relevant constructor:
https://github.com/Microsoft/ChakraCore/blob/5fb9787b67476fe51cde96f994d1b0771d2d2844/lib/Runtime/Library/BoundFunction.cpp#L211
This involves the construct trap again.


dropdown of selectmenu doesn't get closed automatically when updating options asynchronously because of disabled property

Environment

Operating System: Windows 10
Node Version: v20.11.0
Nuxt Version: 3.11.1
CLI Version: 3.10.1
Nitro Version: 2.9.4
Package Manager<EMAIL_ADDRESS>Builder: - User Config: app, devtools, srcDir, modules, ui, colorMode, i18n, build, typescript, imports, components, alias, runtimeConfig
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules: -

Version
v2.14.2
Reproduction
Bug Video Link: https://drive.google.com/file/d/1MzdjUMDsBL2flr8Yb9fT6xQ3sT-a6ECW/view
Steps to reproduce:

Add a SelectMenu with the searchable prop set to true.
Add the disabled property to the SelectMenu.
Click on the SelectMenu to open the menu.
Select an option from the menu.
Disable the SelectMenu while the option is getting updated asynchronously.
The item gets updated asynchronously but the dropdown still remains open.

This issue only happens when we have disabled property set on the SelectMenu.
Description
I am using select menu component with searchable true and updating the selected option from the dropdown asynchronously, but when we select an option from the dropdown the options gets updated but the dropdown is not getting closed automatically.
Additional context
No response
Logs
No response

Would it be simpler to use the :loading="loading" prop instead of the disabled one?
Also, if you are using the multiple prop that will prevent your SelectMenu from closing after you select something
Could you share a snippet of your code? It isn't fully clear to me why you need to update the options prop on select of one.

@devdeadviz I'm sorry for the late reply.
Still, as also described in the docs, you should be using loading instead. Since disabled will completely freeze any operation and execution.

Hi @devdeadviz,
Did the above solve your issue?

Hi @devdeadviz,
Did the above solve your issue?

No, the solution suggested by @Sandros94 doesn't solve the issue.

@devdeadviz would you be able to provide a minimal reproduction? I would be happy to debug this further

@devdeadviz would you be able to provide a minimal reproduction? I would be happy to debug this further

Nevermind, I solve the issue.
Steps which i follow are:

The initial version which I was using for nuxt ui was 2.15.0.
I have upgraded the nuxt ui version from 2.15.0 to 2.17.0 which upgrades the yarn.lock file as well and here at this point the issue is resolved.
Then, I reverted back nuxt ui version to 2.15.0 with same upgraded lock file which we got in previous steps. Here as well the issue is resolved so, I think the issues was there in some other dependencies which is getting installed along with nuxt ui version 2.15.0.

Thank you for you help.

This might explain why I wasn't able to reproduce it. Thanks for the update @devdeadviz!


Python 3 support

As you may know, Python 3 is gaining more and more popularity. It would be relatively simple to change the incompatible parts so they are compatible with either version.

Yes, relatively simple. I made the change.


[#109804168] Count suppliers who have started their declaration as "interested"

See: https://www.pivotaltracker.com/story/show/109804168
Suppliers who had started their declaration but not completed any services were not being shown in any of the supplier counts on the the statistics dashboard.
This includes them in the count of "interested only" suppliers.

Nice work tracking this down. :+1:.


GetUserInfo hardcoded value

https://github.com/casdoor/casdoor-android-sdk/blob/0d1c52510390d4edf1749262b08398694f878bc9/library/src/main/java/org/casdoor/Casdoor.kt#L173
Should use data from config: config.apiEndpoin

@dshilovprpl fixed by: https://github.com/casdoor/casdoor-android-sdk/commit/933164162f26dbe17bd8e119dd3bfdeed2285b88

@hsluoyz thanks a lot for the fix. How can I get the library through a gradle dependency? previously I used:    implementation 'com.github.casdoor:casdoor-android-sdk:66141e0a4b'

@yuvalSure v0.0.1 has been released here: https://mvnrepository.com/artifact/org.casbin/casdoor-android-sdk/0.0.1
For Gradle:
implementation group: 'org.casbin', name: 'casdoor-android-sdk', version: '0.0.1'


[Feature Request] Add screenshot

Add a feature to capture screenshot/Image of the video at the current time like how it is for timestamp and paste it in the note.

duplicate of #31


Add http status code library

Codecov Report

Merging #46 (25b29d0) into master (0040d54) will increase coverage by 24.32%.
The diff coverage is 80.22%.

@@             Coverage Diff             @@
##           master      #46       +/-   ##
===========================================
+ Coverage   55.47%   79.79%   +24.32%
===========================================
  Files          24       32        +8
  Lines        1307     1465      +158
===========================================
+ Hits          725     1169      +444
+ Misses        582      296      -286

Flag
Coverage Δ

unittests
79.79% <80.22%> (+24.32%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

indexpy/status.py
0.00% <0.00%> (ø)

indexpy/templates.py
44.18% <50.00%> (+5.41%)
:arrow_up:

indexpy/views.py
50.56% <62.85%> (+13.57%)
:arrow_up:

indexpy/utils/contextvars.py
68.75% <68.75%> (ø)

indexpy/utils/__init__.py
78.37% <78.37%> (ø)

indexpy/field_functions.py
96.55% <83.33%> (ø)

indexpy/routing/extensions/multimethod.py
84.00% <84.00%> (ø)

indexpy/applications.py
70.17% <86.66%> (+2.93%)
:arrow_up:

indexpy/parameters.py
86.77% <86.77%> (ø)

indexpy/openapi/application.py
92.55% <88.46%> (+59.21%)
:arrow_up:

... and 42 more

Continue to review full report at Codecov.

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


Issues converting Waters DDA to mzML or .mgf

Hi,
I have been trying to convert some Waters DDA files in .RAW to both .mzML and .mgf but the conversion keeps crashing when opening the file (won't even reach the SHA1 checks).
If I use the msconvert GUI it just crashes without any error message at all, but when trying with the command line I get the cryptic: "caught unknown exception" please report this error to ... .
I have done this successfully in the recent past (over the summer) with similar files, but I can't seem to get anything with the newer msconvert version.
The files I am trying to convert now are in continuum/profile mode and I also wanted to centroid them directly with ProteoWizard as well, but I get a crash at the file opening stage whatever the parameters and filters I use (whether I use peak detection from vendor or CWT first and no filters or filters after, or without peak detection, export to .mzML or .mfg, etc.).
The proteowizard version I am using is:
ProteoWizard release: 3.0.19337 (c0705bc76)
Build date: Dec  3 2019 18:18:00
and I have installed the latest .NET framework (4.8). I got the same error on Windows 10 and Windows 7.
I can share some example .RAW files, just let me which way you prefer me to pack and share them.
Best Wishes,
Goncalo Correia

Yes I think I'll need to see the raw file to diagnose this. Whatever is the most convenient way for you to transfer it would be fine. If you don't have a way, you can register and upload them here: https://skyline.ms/project/home/support/file sharing/begin.view?

Dear Matt,
I just sent an example file via email (OneDrive/ outlook sharepoint link) to<EMAIL_ADDRESS>Let me know if you have any questions about the file or problems accessing it.
Thank you very much for looking in this.
best Wishes,
Goncalo Correia

We're sorry, but<EMAIL_ADDRESS>can't be found in the imperiallondon-my.sharepoint.com directory. Please try again later, while we try to automatically fix this for you.

Sorry, forgot that annoying detail  - I have resent using another service which hopefully works! You should be receiving an email soon with a download link.

Does this file open in Waters MassLynx? It's indeed crashing as soon as it tries to open it in the vendor API.

It does! And it opens in mzMine2 and I was able to get an .mgf with mzMine2 :S

That's funny. They're using a much older version of the vendor DLLs, so something obviously regressed in the meantime. Mind if I forward the raw to Waters for them to fix?

Yep, feel free to share with them. Your theory makes sense to me: I did convert some DDA .raw acquired in our group to .mzML and .mgf over the summer and it worked :S, but now none of the files we have which worked in the past are working, so it was working for a while!

My Waters contact said the file you sent should have 5 functions, not 3.  Anyway he agreed it shouldn't crash because of that though, so there will be a fix.

?? - I just checked in case there was any problem copying the file etc but everything is as is supposed, and as reported in the ._extern.inf - 3 functions only.
What would the 5 functions be? I was under the impression that a DDA like this should have MSLevel 1, MSLevel 2 and Lockspray, and not more - is this something that I should look into fixing and can cause problem with these files or its all good for now??
Thank you very much for looking this up so swiftly, including checking with Waters.

Yeah there does seem to be a mismatch between extern.inf and header.txt. According to header.txt there are 5 functions calibrated. According to extern.inf function 1 is MS2 and function 2 is MS1. I've never seen that.

Interesting... I just checked on an instrument with a colleague and I have a theory about this...
We routinely run experiments with extended dynamic range (DRE), and I think these 5 functions come from calibrating the instrument with DRE option on. But the DDA itself (ran using the FastDDA function) only has 3 functions, and the DRE is not applied in this case. In massLynx we can see also 5 functions, but the last 2 are completely empty ... So there are 3 real and 2 which might just be an artefact from running DDA with DRE pre-configured??? Does this makes sense?
Please let me know if you need more detail about this.

Fixed in #792

Hi,
Any update on this? Is the problem fixed in the latest version?
Thanks,
Goncalo

No there hasn't been a Waters API update, which is what would be needed to fix the crash. I've pinged my contact about it.

A status update for you: I got new Waters DLLs that fix this but it's not a total fix. Your file still crashes if I try to lockmass correct it. So I added a workaround so that lockmass could be skipped if it causes an error, but I'm not sure it's worth releasing. I was also getting some strange errors on all Waters RAW data after a while of testing the new DLLs. I may come back to it later.

Interesting. Please let me know if you need any more data or information. In case it helps to understand the problem and settings we use, feel free to pass my email to your contact at Waters as well.
Thanks for looking into this,
Goncalo

Dear Matt,
We recently ran some DDA experiments to confirm my hunch that this was related to an odd DRE + DDA interaction. The problem is that we were running DRE with diagnostic mode ON (saving to separate functions the low and high intensity data streams in addition to the final processed DRE data), which causes the mismatch you observed in the recorded and expected number of features! I have managed to create files replicating the issue, and even "manually patch" old files so they are convertable to .mzML and .mgf with proteowizard's msconvert.
Thank you very much (and your contact at Waters) for your tests and information which pointed me in the direction of the root problem! Since this is such an edge case, I am not convinced it would be beneficial to do any modification to the msconvert libraries (and the issue should be closed), but please let me know if you think otherwise and/or would like more information or example files.
Thanks for looking into it,
Gonçalo Correia


Add corrections for coordinated omission

As someone rightly pointed out the rust reddit, this does not accounting for coordinated omission so should probably be added.

I find the discussion about coordinated omission interesting as seen in https://github.com/giltene/wrk2, but I wasn't able to compile it due to luajit. I'll try to install this next.

@Zelnox If you're looking for something that does correct for coordinated omission then rewrk may not be for you as this is currently not implemented.


Closure

Super mega hacky and wobbly support for Closure. Specifically, this works:
#[flux::sig(fn(c: Option<bool>) -> Option<i32{v:10 <= v}>)]
pub fn test0(c: Option<bool>) -> Option<i32> {
    c.map(|b| if b { 1 } else { 2 }) //~ ERROR: postcondition
}

#[flux::sig(fn(c: Option<bool>) -> Option<i32{v:1 <= v}>)]
pub fn test1(c: Option<bool>) -> Option<i32> {
    c.map(|b| if b { 1 } else { 2 })
}

@nilehmann I think this is ready to look at now. We could iterate on this PR or merge and then you subject to whatever refactoring?

@nilehmann I think you can look at it now (or wait for the build/check-tests to pass...)


rdfs:isDefinedBy not added when URI includes "data" rather than "ontologies"

This seems odd but I don't see any other explanation of the behavior. The URI of the ontology is
https://data.clientX.com/d/ontoName.

I am not able to reproduce this issue. I used the following input
@prefix : <https://data.clientX.com/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

<https://data.clientX.com/d/ontoName> a owl:Ontology .

:MyClass a owl:Class; skos:prefLabel "My Class" .

and got
@prefix : <https://data.clientX.com/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

:MyClass a owl:Class ;
    rdfs:isDefinedBy <https://data.clientX.com/d/ontoName> ;
    skos:prefLabel "My Class" .

<https://data.clientX.com/d/ontoName> a owl:Ontology .

Were there any additional factors?

The problem is when the entity is and individual rather than an OWL class or property:
@prefix : <https://data.clientX.com/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix star: <https://ontologies.pwc.com/starchart/> .

:MyIndividual a star:Resource ;
    skos:prefLabel "Tom" .

<https://data.clientX.com/d/ontoName> a owl:Ontology .

No rdfs:isDefinedBy gets added.


Update permissions.md

Added build administrators membership description.

@JakeDean101 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Unity] Unnecessary GC pressure?

Hi! I've been evaluating MemoryPack for my next project, and I saw this line: https://github.com/Cysharp/MemoryPack/blob/main/src/MemoryPack.Core/Internal/MemoryMarshalEx.cs#L20
If I understood everything correctly, this code path is taken every time when a struct is serialized, thus creating tons of arrays everytime.
So using this for scenarios like realtime network sync is going to put a lot of unnecessary pressure on Unity's poor GC and degrade contribute to the memory heap fragmentation.
Would id be possible to create some kind of a reuse mechanism for the array, like maybe a pool or something else?
As far as I see, there is already a resusable approach for references or reference-containting types.
There are overloads that provide a way to pass a custom writer, but this one looks a bit off from a POV of Unity dev.

There does exist an overload for this:https://github.com/Cysharp/MemoryPack/blob/main/src/MemoryPack.Core/MemoryPackSerializer.Serialize.cs#L88
My bad for missing it.


[bug]: [cli]: Cannot sideload using embassy-cli remotely

EmbassyOS Version
cb5bb34ed82e7991d24f7cb5ad0ae37146b40c10
Device
Laptop/Desktop
Device OS
MacOS
Device OS Version
11.6.4
Current Behavior
CLI is hard/impossible to use remotely on Mac. Haven't tested on Linux.

Install embassy-cli at the above hash
create /etc/embassy/config.yaml and put the following in it: host: "https://embassy-30297ba3.local" (doesn't work without quotes)
sudo chown -R $(whoami) /etc/embassy
Trust root cert in system keychain
embassy-cli auth login and paste password
Bug number 1: embassy-cli tries to connect to localhost despite my embassy's hostname being defined in the config file

% embassy-cli auth login
Password:
General error: HTTP Error: error sending request for url (http://<IP_ADDRESS>/rpc/v1): error trying to connect: tcp connect error: Connection refused (os error 61)

embassy-cli -h https://embassy-30297ba3.local/ auth login
That seems to work
Bug number 2:

% embassy-cli -h https://embassy-30297ba3.local package install electrs.s9pk
S9PK Parsing Error: Deserializing Manifest (CBOR): Semantic(None, "missing field `description`")

I can install this exact s9pk just fine by scping it to my box and sideloading.
Expected Behavior

embassy-cli should honor the hostname set in the config so I don't have to use the -h flag
embassy-cli install should install an s9pk that otherwise works.

you also need proxy: null afaict.

is your embassy-cli out of date? And do you have the cert installed to your system?

No, and yes

I'm asking because I, without a doubt have this working on my machine. It feels like your embassy-cli isn't respecting your config because it is using http://<IP_ADDRESS> instead of the stuff you had in the config.

Yes, agreed, I wrote that in the OP.
Perhaps I should test on Linux, it's likely related to this being a Mac

Please report back when you've tested on Linux. Further action on this ticket can't be taken until it is understood what the scope of the problem is. At present, I cannot replicate it.

Confirmed this works on Linux after installing CA.
Still broken on MacOS.

Ok hold up. I just realized I have another version of config.yaml in ~/.embassy/config.yaml. In this version, I had no hostname defined, so I added my box's hostname to this file and boom!... it works.
Question: how does the yaml file in the user's home folder interact with the one in /etc/embassy? Seems the user's home folder overrides the one in /etc. Is this for all fields or just for fields that don't exist in the user's home folder?

Another question: is it possible to define multiple embassies in this config file?

Another question: is it possible to define multiple embassies in this config file?

Sounds like a cool cluster feature!

Please answer my question before closing

Ok hold up. I just realized I have another version of config.yaml in ~/.embassy/config.yaml. In this version, I had no hostname defined, so I added my box's hostname to this file and boom!... it works.
Question: how does the yaml file in the user's home folder interact with the one in /etc/embassy? Seems the user's home folder overrides the one in /etc. Is this for all fields or just for fields that don't exist in the user's home folder?

/etc/embassy was the OG location from when 030 was still in development. I think since 031 @dr-bonez has enabled the config path to be local, ie. ~/.embassy. This is where the embassy-publish script, and the SDK developer key live, and is now where the config.yaml file can live, so I would default to using this local directory.
fwiw you can also add the embassy IP address as the value for the host field, and you dont need to do anything with certs.

Ok thanks. That leaves two questions unresolved:

Is the overriding behavior of the home folder by the root folder per config file or per config key?
Is it possible to define multiple hosts in the config?

Per key.
No. But you can override the host on the cli with --host

And to be clear, the home folder overrides root, not the other way around

you can override the host on the cli with --host

--host is exactly what I was looking for, thanks :)

And to be clear, the home folder overrides root, not the other way around

Yep, I just typed it wrong :p
Closing.


Where is the "Enable POS recommendations." ?

If you look at https://docs.microsoft.com/en-us/dynamics365/commerce/product there is a text saying:
Configure Commerce to enable POS recommendations
To set up product recommendations, follow these steps:
...
Go to Commerce parameters, select Machine-learning, select Yes under Enable POS recommendations.
The problem is that I cannot seem to find any tabs in the Commerce parameters named "Machine-learning" or any possibility to "Enable POS recommendations."
I'm using V 10.0.19
Can you check if the docs here is right ?
[Enter feedback here]

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

ID: 04a5b479-108b-ca8f-84f0-7e8907f5260b
Version Independent ID: bbd8c53a-557a-69a9-7c25-4836ceb6ead0
Content: Add product recommendations on POS - Commerce | Dynamics 365
Content Source: articles/commerce/product.md
Service: dynamics-365-commerce
Product: ****
Technology: ****
GitHub Login: @bebeale
Microsoft Alias: asharchw

Hi @kurthatlevik-inspirit365. Indeed the documentation is being updated to reflect the latest changes in the user experience. The new experience goes through the "Feature Management" workspace. When you navigate to it, please search for "Product Recommendations" and "Personalized Recommendations" features and enable them.
As a reminder, Recommendations are an omnichannel solution and do not need to be enabled specifically for POS. More details here - https://docs.microsoft.com/en-us/dynamics365/commerce/product-recommendations.


Advanced Post-Processing on Cameras

This PR adds advanced Post-Processing (GTAO & Bloom) onto color cameras in Webots.
The ambientOcclusionRadius field is 0 by default (disabling the effect) for performance reasons.

test me

Build Failed :confused:
https://cyberbotics2.cyberbotics.com:8443/job/Webots/141/consoleText

test me

Build Failed :confused:
https://cyberbotics2.cyberbotics.com:8443/job/Webots/142/consoleText

test me

Build Failed :confused:
https://cyberbotics2.cyberbotics.com:8443/job/Webots/143/consoleText

👍

👀

test me

Build Failed :confused:
https://cyberbotics2.cyberbotics.com:8443/job/Webots/147/consoleText

test me

Build Failed :confused:
https://cyberbotics2.cyberbotics.com:8443/job/Webots/148/consoleText

test me

Build Failed :confused:
https://cyberbotics2.cyberbotics.com:8443/job/Webots/149/consoleText

test me

Build Passed :ok_hand:
You can safely merge 'feature-camera-post-processing' into 'develop'.

👍


how to merge the row

just like the csv file ,how to merge the row for the same column??

@moxiaobei2, we dont support this feature, sorry. I'll focus bug fixing and v3.0.0, so PR is welcome.


[BUG] doesn't generate models

Describe the bug
I'm trying to generate client for this swagger file.
api is generated without any errors but none of specified models and schemes are generated. I'm not sure if its a problem with file itself or this package but using swagger's official editor I could generate client for dart(it's old dart).
To Reproduce
use this file and generate.
Swagger specification link
link
Library version used:
2.10.3

Hi @raminsafaei , please share your build.yaml configuration. In my case all models generated (there are only 2 NoteJson and Error). What is an actual issue then?
My Telegram: @vovanella95 you can contact me directly to solve this issue. Waiting for response!

@raminsafaei , let's look into the problem not from swagger editor side, but from logical side. Your swagger has only 2 models - they are generated. SearchsimpleMatch is not a model, it's needed, possible, for some external things. /search/simple request required just one query parameter query.  I don't understand why this model needed and do not see problem in generation of your swagger.
Please let me know if you're not agree with me.

@raminsafaei  do you really need these extra models? Why?

@raminsafaei  Can not accept your opinion, sorry. /search/simple request has query parameter. This parameter is String. No additional models needed to use this method in any way.

met the same problem too (


Update subscriptions at most once per block (v2)

This is a rewrite of PR #693 based on the feedback in that PR. This PR revamps how events for entity changes are generated and delivered to subscribers so that entity changes are batched per block for block-based data. Since events are generated in the application, we do not need the database triggers that previously generated change events any longer.
The biggest part of what was discussed in PR #693 and still remains to be done is limiting how often subsriptions are updated for subgraphs that are still syncing. I will do that in a separate PR.

There was one wrinkle with how I had things initially: if StoreEvent has a separate subgraph_id field, that suggests that all changes in that event relate to the same subgraph. That is not true in general, and leads to trouble if we want time-based throttling without losing changes (where we would combine multiple events into one event) Rather than rework the whole PR I just tacked a commit onto the end to remove that field.
Curious to hear what yall think about this.

We should discuss how we could maintain events for revert operations caused by block reorgs. If such a reorg happens, clients need to receive updates.

When we revert, isn't it guaranteed that the very next thing we do is process the blocks from the 'new' main chain, which would then trigger updates? If there's a worry that revert affects a subgraph, but that subgraph is not changed when we (almost immediately) go forward again, we could add emitting store events into the pgsql code that does the reversion.

I am looking at the revert_block stored proc; I think we can come up with a query that gives us all operations when we revert a block. We could then send those on the stoer_events channel.

Here's a gist showing how to query the changes that revert_block will make.

@fordN You might have some input here since you're the author of the revert procedure.

@lutter I took some time to understand the query that would collect all entity changes for a given block hash and subgraph ID, and played with it too. I believe it's correct. 😄 And together with entity_history.data_before it should give us everything we need to send a store event with pg_notify.
You are right that reverting blocks is always followed by processing the blocks that replace them on the main chain. However, these new blocks may not include any data for the subgraphs that were affected by the reversion. If we don't send a store event out for each reverted block and there are no changes relevant to a subgraph on the new blocks following the reversion, then clients will never get an update (until there is activity relevant to the subgraph again). This could leave clients in an inconsistent state for quite some time.
I think this is what @leodasvacas was saying as well.
My conclusion: When we revert, let's send out a store event as well. If you agree it makes sense, could you add this to the PR?

Yes, that's the conclusion I came to, too. I'll update the PR to generate store events during reverts with the query above and send them out.

I addressed all the comments and added a commit that generates a StoreEvent for block reversion. That was complicated by the fact that diesel makes it somewhat hard to run random queries. There is advice out there to create a view in these situations and declare a table! with diesel to ease this, but that doesn't work in our case as the block and subgraph for the reversion would have to be parameters to the view (which is not possible)
One thing I realized thinking about the query (and the revert_block logic it is based on): to figure out what to revert, we find all events for the block/subgraph combinations, and then revert based on those events. That means, that in theory, reversion for a block/subgraph combination could revert changes in other subgraphs. That does in fact happen, as the reversion affects the target subgraph and the subgraphs subgraph. Other subgraphs won't be affected because of how ingestion happens and history events are generated, but it's a somewhat surprising subtlety.

Worth noting also: the test suite is failing at the moment.

Yeah, I saw that last night. Restarting the jobs fixed some of them; I just bumped the timeouts in the tests to 30s, let's hope that takes care of it. To make this more robust, we'd need a way to close subscriptions, signal when all work has been done, and then take everything on the subscription stream and check that for correctness.

Tracking down the test failures was a lot less fun than initially thought. What was happening was that on my machine the subscription received events that had been generated before the subscription was established, and I erroneously called take(..) on the stream to get them plus the event from the revert operation, and then checked the last operation on the stream. In CI, the spurious event(s) did not appear on the stream, causing the take(..) to look for too many events, and then hang.
I've addressed that by generating a fake event once the subscription has been established, and skipping everything on the stream up to and including that fake event. That seems to eliminate the race between event production and consumption.
I've also addressed all the other review comments. This should be good to go now.

Rebased onto latest master


Unable to shutdown windows service

OrientDB Version, operating system, or hardware.
OrientDB Community 2.2.6
Operating System
Windows 7
I installed OrientDB as a windows service based on the instructions. I can start the service fine but I'm unable to stop the service from windows services console or the prunmgr console. When I try to stop the service I see the following in the orient-server.log.
2016-08-11 11:28:13:815 INFO  Received shutdown command from the remote client /<IP_ADDRESS>:55730 [ONetworkProtocolBinary]
2016-08-11 11:28:13:830 SEVER Authentication error of remote client /<IP_ADDRESS>:55730: shutdown is aborted. [ONetworkProtocolBinary]
I'm able to shutdown the process by running the shutdown.bat.

@robfrank @lvca  any update on the issue..? thanks!

When you run the shutdown.bat manually, do you provide the OrientDB server's password?
I don't have a windows box/VM where to test, but configuring the shutdown of service proving the password can be a solution

Yes when I use shutdown.bat I use -p password param. I tried passing the same argument for shutdown in the service but it doesnt seem to be working.

@robfrank @lvca should this be marked as bug? Any resolution to this?

Per the Apache Commons Deamon documentation (https://commons.apache.org/proper/commons-daemon/procrun.html) you can use the StopParams argument when installing the service. Something along these lines worked for me:
OrientDBGraph.exe //IS ... --StopClass=com.orientechnologies.orient.server.OServerShutdownMain --StopParams=-p ++StopParams=password ...

Pull request to fix this issue - https://github.com/orientechnologies/orientdb-docs/pull/304


404

404 : [{"timestamp":"2023-10-30T05:35:00.382+00:00","status":404,"error":"Not Found","path":"/api/mqtt/client/credentials"}]
which version based by perf-test ?

@wsws0521,
could you please give us more input on what are your steps that led to the issue you described?
It is recommended to use the latest version (v1.1.0) of TBMQ with these tests. But it is hard to give you more info without the details from your side.

Closing this issue due to inactivity. Pls, reopen if needed.