Support pipeline plugin

As mentioned in #2, we need to support Pipeline plugin. I confirmed that both WebUI configuration and the following pipeline configuration work on my development environment, but please let me know if you have feedback or questions.
node {
    awsCodeBuild projectName: "mybuild",
        awsAccessKey: env.AWS_ACCESS_KEY_ID,
        awsSecretKey: env.AWS_SECRET_ACCESS_KEY,
        region: "us-west-2",
        sourceControlType: "remote"
}

Hi,
I ran mvn install on a mac and it failed at the findbugs step. (Apache Maven 3.3.9, Java version: 1.8.0_111).
Can you fix these these issues and update your request? Thanks
[INFO] --- findbugs-maven-plugin:3.0.1:check (findbugs) @ aws-codebuild ---
[INFO] BugInstance size is 3
[INFO] Error size is 0
[INFO] Total bugs: 3
[INFO] The field CodeBuildStep$CodeBuildExecution.listener is transient but isn't set by deserialization [CodeBuildStep$CodeBuildExecution] In CodeBuildStep.java
[INFO] The field CodeBuildStep$CodeBuildExecution.ws is transient but isn't set by deserialization [CodeBuildStep$CodeBuildExecution] In CodeBuildStep.java
[INFO] Dead store to jenkinsBuildResult in CodeBuilder.perform(Run, FilePath, Launcher, TaskListener) [CodeBuilder, CodeBuilder] At CodeBuilder.java:[line 237]Another occurrence at CodeBuilder.java:[line 234]
[INFO]
To see bug detail using the Findbugs GUI, use the following command "mvn findbugs:gui"
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

Hi @takus - Thank you very much for making this change. after fixing these minor findbugs issues, i was able to submit a codebuild job.

To merge your contribution, could you confirm if you change is under Apache 2.0.
I was also wondering if this change support sourceControlType: "jenkins". If yes, could you please provide me an example syntax?

Hey @takus  could you please help answer the questions? we should be ready to merge this change once we hear back from you. Thanks.

@taoyong-ty
Sorry for the late reply.

Can you fix these these issues and update your request?

I fixed last one. The others are still remain because a job failed without transient keyword. Many Jenkins uses transient keyword as I use (e.g. PuppetGatlingArchiverStepExecution). How should I fix it?

could you confirm if you change is under Apache 2.0.

Yes. I confirm that my change is under Apache 2.0.

could you please provide me an example syntax?

node {
    awsCodeBuild projectName: "mybuild",
        awsAccessKey: env.AWS_ACCESS_KEY_ID,
        awsSecretKey: env.AWS_SECRET_ACCESS_KEY,
        region: "us-west-2",
        sourceControlType: "jenkins"
}

Hi Takus -
No worries I will push a patch along with your commit.
For the transient key word. I think you created a class extends Serializable; but is not meant to be serialized. In that case, just need to add two private methods to stop the serialzation. In these methods you just need to throw the NotSerializableException.
private void writeObject(ObjectOutputStream out) throws IOException {       throw new java.io.NotSerializableException(getClass().getName());   }   private void readObject(ObjectInputStream in) throws IOException {       throw new java.io.NotSerializableException(getClass().getName());    }
http://stackoverflow.com/questions/2229033/making-child-classes-as-non-serializable-in-java
http://www.oracle.com/technetwork/articles/java/javaserial-1536170.html

Hi Takus -
No worries I will push a patch along with your commit. You don't need to fix the findbugs issues.
To answer your question regarding the transient key word, I think you created a class extends Serializable; but is not meant to be serialized. In that case, just need to add two private methods to stop the serialzation. In these methods you just need to throw the NotSerializableException.
private void writeObject(ObjectOutputStream out) throws IOException {       throw new java.io.NotSerializableException(getClass().getName());   }   private void readObject(ObjectInputStream in) throws IOException {       throw new java.io.NotSerializableException(getClass().getName());    }
http://stackoverflow.com/questions/2229033/making-child-classes-as-non-serializable-in-java
http://www.oracle.com/technetwork/articles/java/javaserial-1536170.html
Again, thank you very much for your contribution.

LGTM!

In the example, is the node strictly required in all cases?

@michaelneale I think so. node allocates executor and workspace to a job.

Hi takus, your commit has been merged.
I am closing this request. Thank you for your contribution!


Error while extracting

after I've downloaded everything, while it's about halfway through the extraction it gives me an unspecified error and the only way to fix it is to try downloading everything again.  Anyone know how to fix?

i am having the same issue

Clear your .autoortho-data/downloads folder and try again.
On Sun, May 28, 2023 at 5:58 PM pilotg-official @.***>
wrote:

i am having the same issue
—
Reply to this email directly, view it on GitHub
https://github.com/kubilus1/autoortho/issues/169#issuecomment-1566278385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVEDLACLDOXX5YNJ3DPXRDXIPDAHANCNFSM6AAAAAAYQVLQTY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Fix for parsing enum property in OPC UA

Type of change
Please delete options that are not relevant.

[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

Checklist:

[x] Pull request title reflects its content
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Description:
Added support for parsing enum property by casting to UA_Int32 type and fixing exception thrown

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: nilsRoettgerAtBB:x: dduraesdebarrosYou have signed the CLA already but the status is still pending? Let us recheck it.

@dduraesdebarros Is this still in progress?

Hello @JakaMohorkoDS. Yes it is. Some more urgent work got in the way, but I've picked it up already.


Dataset Viewer issue for 2030NLP/SpaCE2022

Link
https://huggingface.co/datasets/2030NLP/SpaCE2022
Description
The dataset viewer is not working for dataset 2030NLP/SpaCE2022.
Error details:
Error code:   JobRunnerExceededMaximumDurationError

Specifically https://huggingface.co/datasets/2030NLP/SpaCE2022/viewer/task2/train

Thanks for reporting, @gitforziio.
Looking at your loading script, I don't see any potential issue that might the running take longer than expected...

You have some print statements that you could remove, but I don't think this is the issue

I'm forcing the refresh of the viewer for your dataset.

After forcing the refresh, I can confirm there might be an issue with the "task2" configuration: it takes very long to be processed...
Error code:   ResponseNotReady

Again:
Error code:   JobRunnerExceededMaximumDurationError

The dataset does not exist anymore


Support indexes on function expressions instead of only columns

It looks like this now works with the new index creation syntax in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>This worked for me:
.uniqueIndex().using('btree', sql`(lower(${table.column}))`)

We have a proper support in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Please check release notes https://github.com/drizzle-team/drizzle-orm/releases/tag/0.31.0


support for rails5

@pencil : Please review the code.
Thanks

Coverage remained the same at 100.0% when pulling 503f1ca9672e33182e29a4446d18cc48f138e97c on AjayBarot:rails5_support into 122746772f2955ad9b1b448bcecf3301e28e11af on rbCAS:master.

+1 for Rails 5 support


No option to remove whole folder/workspace

API does offer DELETE command for workspaces:
https://docs.databricks.com/api/latest/workspace.html#delete
This cmdlet has been missed in this fantastic module.
Beside simple option of removing the old code from Databricks, I seriously consider to exec that action before IMPORT a folder with notebooks as IMPORT then is trillion times faster than "updating" existing notebooks at the target.
For some reason when you do that - Databricks do remove all steps and deploy it from the source. That delete operation might last dozens of seconds OR raise a timeout giving a misleading message:

The service at /api/2.0/workspace/import is temporarily unavailable. Please try again later.

This happens when you have ~400 steps in the notebook.

Added:
Remove-DatabricksNotebook -BearerToken $BearerToken -Region $Region -Path $DatabricksPath -Recursive

Released to PS Gallery as version 1.1.15


"Drag to reorder" luci action does not work on mobile.

Please fix :)
e.g. cannot re-order firewall rules on mobile.

@vgaetera maybe you have some idea about this one?


云上worker不能上线

worker部署的时候获取到了server的内网地址而不是外网地址
tools 日志：
2019/05/07 00:49:16 [error] 11#11: *747 upstream timed out (110: Operation timed out) while connecting to upstream, client: <IP_ADDRESS>, server: <IP_ADDRESS>:6443, upstream: "192.168.x.x:6443", bytes from/to client:0/0, bytes from/to upstream:0/0

Useful
Info

Versions
Rancher v2.2.2 UI: v2.2.41

Route
ingresses.index

补充：
报错的容器：
rancher/rke-tools:v0.1.27            "nginx-proxy CP_HOST…"   21 seconds ago      Up 20 seconds                           nginx-proxy

Can you please file an issue in english with steps on how to reproduce?


Tha nav links don't work

I suggest fixing the links that should connect to the appropriate sections of the web page.

done.


fix stage_nwis_ts use of dataRetrieval

from @jread-usgs: stage_nwis_ts is ending up with the accepted/provisional code instead of the data:
head(site_data)
             DateTime   doobs
U                     mg L^-1
1 2014-01-01 01:00:00       P
2 2014-01-01 01:05:00       P
3 2014-01-01 01:10:00       P
4 2014-01-01 01:15:00       P
5 2014-01-01 01:20:00       P
6 2014-01-01 01:25:00       P

this is independent of changing to .rds
datacol <- names(nwis_data)[5]

this assumption I think is the issue
line 101 of stage_nwis_ts.R
dataRetrieval::renameNWISColumns might be helpful here.

Fixed in #222 ?


⚠ GreatPosterWall has degraded performance

In 028d4a9, GreatPosterWall ($GPW) experienced degraded performance:

HTTP code: 200
Response time: 1707 ms

Resolved: GreatPosterWall performance has improved in a162db8.


RGB colour support

FEATURE
Minecraft 1.16 came with support for hex codes, It would be great if PowerRanks support it too!

Thanks for the suggestion.
It will be implemented in the next version of PowerRanks.


e2e flake: TestClusterRestore//restore_from_a_different_name_cluster

--- FAIL: TestClusterRestore/restore_cluster_from_backup/restore_from_a_different_name_cluster (275.86s)
    restore_test.go:115: failed to create 3 members etcd cluster: still failing after 24 retries

Looking into operator logs:
cluster (\"test-etcd-t160q\") is dead: fail to wait data copy job completed: timed out waiting for the condition

@xiang90
I see why it took so long.
The GKE cluster is stuck again.
Every time the GKE cluster is stuck, tests will fail due to some reqs failing.
GKE problem. Closing.


🔥 Remove Sentry link from Advanced Middleware docs

🔥 Remove Sentry link from Advanced Middleware docs
As this is in the section about middlewares and the new integration is not really a middleware, better to remove it from this page.
We should probably add it later to another section. :thinking:

Great, thanks! :nerd_face: :cake:


Data Drift by Feature standard deviation from mean

Hi,
I was using the Data Drift Tab by Feature.
Is it possible to change the green area that covers one standard deviation from the mean? I wanted it to be 2 std deviation making it less sensible to data drift
Thank you

Hi @Pakard1
We added this functionality in #122
You can get more details here https://docs.evidentlyai.com/user-guide/customization/options-for-quality-metrics


Remove invoking of the non-trivial destructor.

Don't expose the risk of accessing objects after the end of their lifetime

I can see the purpose for this, and have worked in codebases where we would've made this tradeoff.  Trading deinit-time safety for a resource leak feels like a trade-off which is situation-specific, though.  E.g. in an app which needed to repeatedly load and unload a dynamic library this kind of memory leak can become meaningful, and even before that it can trigger warnings in people's toolchains.  So, I don't think this is a bad idea, but I'm not sure about merging it into the standard json11 implementation.

What do you think of the Chromium's NoDestructor class? It doesn't allocate new memory on library loading/unloading.
But tools still can signal a memory leak warning. However, the memory blocks are still reachable, so I think it's a minor issue.
This class is highly used inside Chromium.


Websocket closed after hardware resume from suspend

Required information

Distribution: Ubuntu
Distribution version: Focal
The output of "lxc info" or if that fails:

lxc.info.log

Issue description
I noticed that my shell into a container had died with error output Error: websocket: close 1006 (abnormal closure): unexpected EOF. Looking in the logs I see:
Dec  2 10:21:38 box1 lxd.daemon[7371]: t=2021-12-02T10:21:30-0600 lvl=eror msg="Failed to open file" driver=fanotify err="stale NFS file handle"
Dec  2 10:21:38 box1 lxd.daemon[7371]: message repeated 3 times: [ t=2021-12-02T10:21:30-0600 lvl=eror msg="Failed to open file" driver=fanotify err="stale NFS file handle"]
Dec  3 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=eror msg="Failed to open file" driver=fanotify err="stale NFS file handle"
Dec  3 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=eror msg="Failed to open file" driver=fanotify err="stale NFS file handle"
Dec  3 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=warn msg="Hearbeat for event listener timed out" listener=8866cff2-86e0-459e-9400-3a9a0ce31811
Dec  3 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=warn msg="Hearbeat for event listener timed out" listener=b510a97a-209f-4abe-bb8f-50081e3d3e9b
Dec  3 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=warn msg="Hearbeat for event listener timed out" listener=143c0195-071a-4039-97b0-c46a42a2fe30
Dec  3 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=warn msg="Detected poll(POLLNVAL) event."
Dec  3 11:36:40 box1 lxd.daemon[7371]: message repeated 2 times: [ t=2021-12-03T11:36:32-0600 lvl=warn msg="Detected poll(POLLNVAL) event."]
Dec  3 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=warn msg="Detected poll(POLLNVAL) event: exiting."
Dec  3 11:36:40 box1 lxd.daemon[7371]: message repeated 2 times: [ t=2021-12-03T11:36:32-0600 lvl=warn msg="Detected poll(POLLNVAL) event: exiting."]

This happened right after resuming from suspend, so I think it may be related. Also, I am not using NFS, so this is not in anyway related to NFS.
Steps to reproduce
I've not been able to reproduce this by doing a suspend/resume cycle, so this may be unrelated to resume. I've not been able to reproduce the websocket close, but after the second resume LXD does output the stale NFS file handle log message.

Suspend
Resume

Information to attach

[x] Any relevant kernel output (dmesg)
lxd.stale-nfs-fh.syslog.log

[ ] Container log (lxc info NAME --show-log)

[ ] Container configuration (lxc config show NAME --expanded)

[x] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)

[ ] Output of the client with --debug

[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

Can you show:

journalctl -u snap.lxd.daemon -n 300
ps fauxww | grep lxd

Here are the requested logs.
snap.lxd.daemon.log
lxd.ps.log

And what was the date and time of the problematic suspend/resume which caused this disconnection?
To track things down we'd need a timestamp when the terminal was last known to be functional and timestamp for when you notice it got disconnected.

It was last known to be functional on Dec 2 before the computer was suspended. The resume that I believe triggered the issue was the one subsequent to that suspend and it was just before Dec  3 11:36:32. I didn't notice the disconnect until some minutes later, not after Dec  3 12:37:30 and probably not after Dec  3 12:24:52 (but unsure of the latter date),

Ok, so the issue looks like:
Dec 03 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=warn msg="Hearbeat for event listener timed out" listener=8866cff2-86e0-459e-9400-3a9a0ce31811
Dec 03 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=warn msg="Hearbeat for event listener timed out" listener=b510a97a-209f-4abe-bb8f-50081e3d3e9b
Dec 03 11:36:40 box1 lxd.daemon[7371]: t=2021-12-03T11:36:32-0600 lvl=warn msg="Hearbeat for event listener timed out" listener=143c0195-071a-4039-97b0-c46a42a2fe30

I think that's coming from some new logic @tomponline added recently. Basically there are heartbeats going on between lxc exec and lxd so that we can detect when a client's connection broke for one reason or another and can terminate the operation on the server side.
In this case, it looks like the heartbeats either didn't trigger immediately following system resume or the server side got confused by the time jump.
@tomponline ideas?

I think the issue is that the current implementation relies on absolute times for calculating timeouts. Instead if we used in flight request counters it wouldn't matter how long between each request if both client and server were asleep.

Just to be clear here, is the lxc shell into the container running on the same host as the lxd server and the container?

Although I've not been able to reproduce by pausing a LXD VM running LXD container inside of it using lxc pause I've put up https://github.com/lxc/lxd/pull/9632 as a speculative fix for this.

Just to be clear here, is the lxc shell into the container running on the same host as the lxd server and the container? And if not, which one is going into suspend?

Yes, lxc shell was running on the same host as the lxd server. I've not been able to reproduce it either (via a several suspend/resume cycles). I'm thinking it might be triggered by a race condition.


DM-257 - back-end crud resource for CWU opportunities

This PR includes resource actions for creating and reading CWU opportunities.  Updates and deletes are WIP but should be added shortly.
Validation is included but may still need refining (separate ticket for this).

@dhruvio this is ready for review

Thanks for the review @dhruvio !.  Implemented the changes requested 👍


Possible to delay livereload

Is it possible to delay livereload? I often (1/3 times) have to reload the page after the page has been refreshed with livereload. Maybe its because gulp isnt done?

Currently, no.
Do you have the serve watch directories set up correctly?
See this about setting the watchPatterns to trigger a live reload after whatever file you are waiting on to change, to change.

Ive tried both the default "watchPatterns": ["www//*"] and "watchPatterns": ["www/js//*"]. I have the default directory structure from ionic. The watch gets triggered every time.

What files are being changed that trigger the live reload? Maybe you just watch those files instead?

Well all of my JS files triggers the live reload. But isnt that the whole point of the live reload? :)
My project has a total of 413 lines (dont know if the size should matter..), and currently I have to reload the page manually almost every time :(
Here's my gulpfile
``
///
var gulp = require('gulp');
var gutil = require('gulp-util');
var concat = require('gulp-concat');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var rename = require('gulp-rename');
var wrap = require("gulp-wrap");
var sh = require('shelljs');
var babel = require('gulp-babel');
var paths = {
sass: ['./scss//*.scss'],
js: ['./www/js//*.js'],
jsstart: ['./www/js/']
};
gulp.task('default', ['sass']);
gulp.task('js', function () {
gulp.src([
paths.jsstart + 'config.app.js',
paths.jsstart + 'services/.js',
paths.jsstart + 'directives/**/.js',
paths.jsstart + 'controllers/*.js'
])
.pipe(babel())
.pipe(concat('all.min.js'))
.pipe(wrap("(function(){\n'use strict';\n<%= contents %>\n}());"))
.pipe(gulp.dest('./www/'));
});
gulp.task('sass', function(done) {
gulp.src('./scss/ionic.app.scss')
.pipe(sass({
errLogToConsole: true
}))
.pipe(gulp.dest('./www/'))
.on('end', done);
});
gulp.task('watch', function() {
gulp.watch(paths.js, ['js']);
gulp.watch(paths.sass, ['sass']);
});
gulp.task('serve', function (done) {
sh.exec('ionic serve');
done();
});
gulp.task('livereload android', function (done) {
sh.exec('ionic run android -l');
done();
});
gulp.task('android', function (done) {
sh.exec('ionic run android');
done();
});``

I will second this request. With a marginally complex gulp file, if multiple files change, the livereload might occur before all of the required changes are written to disk.

+1 this, for instance even with watchify you must wait with livereload or call it manually after browserify tasks finished but that would result 2-3 reloads in the browser since files are changing continuously. There must be a more elegant way to solve.

I've written a comment on how I deal with livereload https://github.com/driftyco/ionic-cli/issues/393#issuecomment-242353230 that might help others.


Static site generation?

The plugin works well in development, but yarn build produces a single page app. Is there a way to generate static HTML for any page, so that I can deploy it as a static website?

You can checkout antfu's vite-ssg which works great with this plugin.

@hannoeru can I use that with SolidJS? They only have instructions for Vue.

No, I vite-ssg is Vue only. Maybe you will need to write your own server side code to use SSG
in SoildJS.


mongodb in eos crush..

3224504ms thread-1   mongo_db_plugin.cpp:499       add_data             ] Unable to convert action.data to ABI: eosio::onblock, std what: No servers yet eligible for rescan: generic server error
3224504ms thread-1   mongo_db_plugin.cpp:358       handle_mongo_excepti ] mongo exception, trans insert, line 754, code 13053, generic server error
3224504ms thread-1   mongo_db_plugin.cpp:361       handle_mongo_excepti ] mongo exception, trans insert, line 754, { }
3224504ms thread-0   net_plugin.cpp:3090           plugin_shutdown      ] exit shutdown
3224504ms thread-1   mongo_db_plugin.cpp:358       handle_mongo_excepti ] mongo exception, actions insert, line 763, code 13053, generic server error
3224504ms thread-1   mongo_db_plugin.cpp:361       handle_mongo_excepti ] mongo exception, actions insert, line 763, { }
3224504ms thread-0   mongo_db_plugin.cpp:978       ~mongo_db_plugin_imp ] mongo_db_plugin shutdown in process please be patient this can take a few minutes
3224504ms thread-1   mongo_db_plugin.cpp:332       get_abi_serializer   ] 13 N8mongocxx7v_noabi15query_exceptionE: No servers yet eligible for rescan: generic server error
rethrow No servers yet eligible for rescan: generic server error:
{"n":"eosio","what":"No servers yet eligible for rescan: generic server error"}
thread-1  mongo_db_plugin.cpp:332 get_abi_serializer
3224504ms thread-1   mongo_db_plugin.cpp:332       get_abi_serializer   ] n: eosio
3224504ms thread-1   mongo_db_plugin.cpp:358       handle_mongo_excepti ] mongo exception, trans_traces insert: {"id":"6a18a19130ec9c1cb16277dbc5031cdba5889cc70d6d5aedd0f2e79d0d9d22ae","receipt":{"status":"executed","cpu_usage_us":100,"net_usage_words":0},"elapsed":874,"net_usage":0,"scheduled":false,"action_traces":[{"receipt":{"receiver":"eosio","act_digest":"fbe4c7d22a6bb41cb2ecbe7e4a1fa994d47ee1313013a9173abb37b89729ce1c","global_sequence":922919,"recv_sequence":791173,"auth_sequence":[["eosio",922904]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio","name":"onblock","authorization":[{"actor":"eosio","permission":"active"}],"data":"31c0e54500001857219de8ad0000000a5013b2709ab71ad16bd0fcf5bd831953a84430cfa78febce8ac402da31b30000000000000000000000000000000000000000000000000000000000000000cabe783e6dc2530e60391ad4492cb6ed9270250c19189e1d851f6389a26a3a81010000000000"},"elapsed":818,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"6a18a19130ec9c1cb16277dbc5031cdba5889cc70d6d5aedd0f2e79d0d9d22ae","inline_traces":[]}],"except":null}, line 802, code 13053, generic server error
3224504ms thread-1   mongo_db_plugin.cpp:361       handle_mongo_excepti ] mongo exception, trans_traces insert: {"id":"6a18a19130ec9c1cb16277dbc5031cdba5889cc70d6d5aedd0f2e79d0d9d22ae","receipt":{"status":"executed","cpu_usage_us":100,"net_usage_words":0},"elapsed":874,"net_usage":0,"scheduled":false,"action_traces":[{"receipt":{"receiver":"eosio","act_digest":"fbe4c7d22a6bb41cb2ecbe7e4a1fa994d47ee1313013a9173abb37b89729ce1c","global_sequence":922919,"recv_sequence":791173,"auth_sequence":[["eosio",922904]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio","name":"onblock","authorization":[{"actor":"eosio","permission":"active"}],"data":"31c0e54500001857219de8ad0000000a5013b2709ab71ad16bd0fcf5bd831953a84430cfa78febce8ac402da31b30000000000000000000000000000000000000000000000000000000000000000cabe783e6dc2530e60391ad4492cb6ed9270250c19189e1d851f6389a26a3a81010000000000"},"elapsed":818,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"6a18a19130ec9c1cb16277dbc5031cdba5889cc70d6d5aedd0f2e79d0d9d22ae","inline_traces":[]}],"except":null}, line 802, { }
3224504ms thread-1   mongo_db_plugin.cpp:245       consume_blocks       ] draining queue, size: 0
above is my log,anyone know why?

is this bug in mongodb?

nobody?

It is likely your mongod died. Verify you can connect via command line. If the mongo_db_plugin is unable to insert into the mongodb, it shuts down so that you can restart mongod and then continue on from where it stopped.

Any update? Did a restart of mongod help?

restart can help.but there is not solve problem at all,but for temp.I want know why eos crush,and how to solve?

nodeos shut down (did not crash) because it was unable to insert into your mongodb.

I think it is a bug in mongo_db_plugin


Button to "Continue" generation of response

Describe the need of your request
Some responses might reach the limit of the output length and stop mid-file. There's no way to nudge the llama.cpp server to go on and generate further to complete the code in a file.

Proposed solution
The text-generation-webui has a chat query option to finish the response from the point where it left.
We need similar button in the UI.
Additional context
No response

In my case just the Continue message works

n_predict must be set to -1, which controls the length of the generated text

n_predict must be set to -1, which controls the length of the generated text

How one sets that parameter? When I start the server it is now started as following (from ps aux output):
./server -m /home/user/mistral-7b-code-16k-qlora.Q6_K.gguf -c 2048 --port 37717

Which parameter to toggle in UI? is it available now?

This is a request parameter that is currently not configurable.
I will add the support in v2.2.6 (sometime early next week).


Update rhel_ubuntu.html

Sorry for so many pull requests! Was just looking at this and saw a couple of mistakes to fix.

No need for an apology, updates and fixes are good!


Provide capacitor image credit

After I merged #7 I noticed the lovely photo in the capacitor glossary entry and I wondered if it were possible to add an image credit for that. I imagine you picked it up from Wikipedia? Even if it's public domain, I like to give props when possible :).

Ah shoot I put it in the markdown and thought it would be an alt tag. No problem, I'll get it done.

This is done, right? as of #11 ?

Yep!


Get as many pages as possible rendering statically

Next has the ability to statically serve pages as well as rendering on server for each request. currently all our pages on site are rendered on request yet many are completely static.
we should be able to speed up load time by getting static rendering working

it turns out that since next-I18next wraps _app.tsx with a hoc that has an getInitialProps defined its not currently possible to to static rendering  for now
https://spectrum.chat/next-js/general/static-rendering-when-using-next-i18next~5fb7d0a6-ec45-41b5-b738-5beaa6bd9828

FYI @cmcewen


Update online/offline store connection name when target changed

Description
For feature store settings, create a new connection when target change.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


[Bug] Animated images playing at the wrong speed

Animated images (GIF, aPNG or aWEBP) don't play at the correct rate, though the right speed seems to be detected in the UI.
Expected result:

In Tacentview:

Happens on every image I could find. The difference in speed seems slightly inconsistent from image to image, but it's always slower than the original.

The culprit seems to be that code snippet right here (image.cpp, line 1435):

if (FrameDurationPreviewEnabled)
	FrameCurrCountdown = FrameDurationPreview;
else
	FrameCurrCountdown = GetCurrentPic()->Duration;

The problem is that resetting the countdown like this also makes it longer than it should be.
I've found that adding the frame duration to the countdown produced a much more faithful result:

if (FrameDurationPreviewEnabled)
	FrameCurrCountdown += FrameDurationPreview;
else
	FrameCurrCountdown += GetCurrentPic()->Duration;

It does have the problem of freezing the program if the preview period is set to 0 and the more minor problem that the image sometimes speeds up dramatically for only 0.25-0.5 seconds when loaded, it plays normally afterwards.
There's also the possibility of changing the 'if' above (line 1405) to a while (in addition to the above change):

-if (FrameCurrCountdown <= 0.0f)
+while (FrameCurrCountdown <= 0.0f)

But it creates a frame skipping problem.
Both ways seems to create stuttering however, need a second pair of eyes on this.
Original for comparison:

Yeah... not quite sure what's going on... will take a look (but may have to wait till weekend).
You are probably right about the reset adding too much -- I suspect it will be because the frame time has already been decremented that frame or something like that. Also, I don't think I ever got vsync working properly on Linux (may need to revisit).

The slowdown also happens on Windows

Had to make a few minutes for this ;)
I think your += solution is more or less correct. What you're doing there is equivalent to subtracting the remainer (how much below zero we went when we detected the time was up). There are two further issues/knockons you identified.

The 'speedup' when draging the window or loading an image is because the dt value gets really large cuz the update loop uses glfwGetTime() -- and I think it's fair to framerate-limit it. In TacentView.cpp change the two lines below (30fps is a reasonable minimum)

while (!glfwWindowShouldClose(Viewer::Window) && !Viewer::Request_Quit)
{
double currUpdateTime = glfwGetTime();

double elapsed = tMath::tMin(currUpdateTime - lastUpdateTime, 1.0/30.0);   ///// ADD HERE
Viewer::Update(Viewer::Window, elapsed);                                                        ///// MOD HERE

Really small values for the frame duration. Easy to repo by just setting the frame duration preview on and choosing a small preview-duration (say 0). For this, it seems to me there's no benefit (internally) in having a duration so small your computer wouldn't be able to display all the frames in the gif/apng/webp/whatever. I mean let's say your running at 60fps, and you set a duration that requires 1000fps (dur = 1/1000) -- well, we 'could' skip frames, but I think I'd prefer that it just means 'go as fast as you can' but don't skip... faster machines would just be able to support lower durations.. and 0 would always mean one image frame per actual frame.

The clamp in the code below basically (should) do this:
float remainder = -FrameCurrCountdown;
float frameDuration = FrameDurationPreviewEnabled ? FrameDurationPreview : GetCurrentPic()->Duration;
tMath::tiClampMin(frameDuration, remainder);
FrameCurrCountdown = frameDuration - remainder;

This code would replace the 'if-else' where you were poking around. I've explicitly declared the remainder so it's easy to clamp. i.e. it can't go below the current remainer. If it does, frameDuration == remainder and the countdown gets set to 0... and we'd go at 'full speed' without FrameCurrCountdown getting more and more negative.
I haven't done much testing, but if you're up to it, LMK if you see any side-effects from the changes above.

I have tested with multiple images of different speed / formats / dimension and haven't found any side effects yet!
It doesn't stutter and they all play at the correct speed (tested frame-by-frame, no delays)

Nice. I'll submit the fix sometime today. Thanks for noticing this and telling me where to look.
As a side note.. the aPNG above looked like it was doing a little skip in Chrome, so I tried to open it and noticed that tacent view wasn't detecting it as an animated PNG at all. I have a fix for this too (in the base tacent library)... and after the fix there's no stutter in TacentView, so  the chrome renerer must have a small issue.
As a second note, there is a wierd line at the top not present in the gif. If tacent View is used to save the gif as an apng, it goes away -- so I presume whatever tool was being used to make it also has a small issue... was just double checking it wasn't this viewer. Thx again.

Oh if you're talking about the aPNG in my last message, this is just my screen recorder. I haven't tried to make it loop seemlessly or anything. The line seems to also be a bug from it. This isn't an issue on your end or from TacentView don't worry ^^
It's odd that it doesn't detect it as an animated image tho, most aPNGs with the '.png' extension work, that might just be weird formatting from my recorder again.

The GIF converted into a aPNG (.png) with Ezgif.com or imagemagick is detected correctly. No idea what sort of bottom-of-the-barrel format it's using

Ah thanks!
It wasn't detecting cuz it wasn't looking far enough into the png file for the 'animated' four-CC tag. The file had the tag at about 1100 bytes in, but I was searching only 1024 in. That's now fixed (it looks 2048 bytes in). You will probably need to reconfigure to get that fix as it was in the base tacent library that gets fetched.
For the rest of it, it's now checked-in. CL 256791aa67111976ce6de2418a3e66598ce19006 should have it all working :)


US-9595: wrap loading page with main

We have wrapped the loading page in a Main.
The skip to content accessible link works correctly too

As discussed in DM's I think you have a great opportunity to try a bit of a refactor that can me this code re-useable and testable.
Give what we discussed a try if it starts to exceed the points allowed we can revise and maybe write up a tech debt for later.


v1.1.0 Changelog

I am nearing the 1.1.0 release, so I wanted to outline the changes while I prep the release candidate and finish up some final tasks.

New Configubot functionality. Now you no longer have to pre-define all of your settings. You can just dive in and execute your task and Configubot will just prompt you for the missing pieces. Then you can save out the new configuration and you won't be prompted for future tasks. If you want to dive in and edit the config file manually, that's fine too.

Along with this comes a refactor of everything to work with the new Configubot functionality.

Configubot will eventually be split off into its own module, so there's some code there that is related to an expected abstraction and split.

I've been flip-flopping on which format to support for the Configubot between YAML and JSON. I chose YAML because of native comment support and readability. But I've switched it up and now the configuration format is JSON. This is because JSON is native javascript, so it'll be supported out of the box. Plus with the Configubot refactor, comments in this template have become irrelevant. So I promise wpkit will always support JSON, and may support YAML in the future as well. Sorry for the indecisiveness here. Technically this is a breaking change, but I don't feel its necessary to do a major release. Just wpkit init and it'll pull in the JSON template which you can edit or just get moving thanks to the new Configubot functionality.

Refactor of the main CLI. This should finish up pulling away from the Liftoff style of the CLI, and goes with a more simplified style.

Database pushing and pulling!

I'm pumped to try it. :+1:


doc(explorer): Add changelog entry.

Summary
Add information for the next explorer release v3.8.6

I'll merge it as it has no code changes, only changelog information for the next release.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 77.511%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
338

Relevant Lines:
401

💛  - Coveralls


Human-readable messages from server

Right now, when the client issues a command, the server does not provide a human-readable response to the request. This affects the useability of the system. We need to add request-dependent messages to the response.
For example,
LOAD DATA command can report the number of frames loaded into the table and the fps of the video.
UPLOAD command can report the size (number of bytes) of the video uploaded.

Shall we prepare a page or doc that indicates the response we want for every command, then we can start working on them.

Shall we prepare a page or doc that indicates the response we want for every command, then we can start working on them.

Sure, let's do that.


Data log "full" marker is not being written to interface storage

Running this programme on tag v0.2.63, which writes to the data log one byte at a time until the log is full:
#include "MicroBit.h"

MicroBit uBit;

int main() {
    uBit.init();

    uBit.display.print("?");

    while (true) {
        uBit.log.logString("X");
        uBit.sleep(1);

        if (uBit.log.isFull()) {
            uBit.display.print("D");
            uBit.sleep(100);
        }
    }
}

MICROBIT.hex.zip
We should expect the last 4 bytes, which are reserved for this marker, to contain FULL:
https://github.com/lancaster-university/codal-microbit-v2/blob/d54ce9b784ef1bba22c075b281bb877abf53ea18/source/MicroBitLog.cpp#L258
https://github.com/lancaster-university/codal-microbit-v2/blob/d54ce9b784ef1bba22c075b281bb877abf53ea18/source/MicroBitLog.cpp#L738-L742
However, the last 4 bytes are left untouched: MY_DATA.HTM.txt

This is odd - do you know whether the byte-by-byte case ever wrote 'log full'? Does it still work if logging longer lengths? From MakeCode?

It must have worked at some point, as I believe that's how the "log full" message is meant to be displayed:

https://github.com/lancaster-university/codal-microbit-v2/issues/140

I haven't tried it in MakeCode yet.

It does get to this point (even with a long string to fill memory more quickly)
https://github.com/lancaster-university/codal-microbit-v2/blob/master/source/MicroBitLog.cpp#L740
But I think the last byte before flash.getFlashEnd() is blocked by the equals in this test
https://github.com/lancaster-university/codal-microbit-v2/blob/master/source/FSCache.cpp#L119
and
https://github.com/lancaster-university/codal-microbit-v2/blob/master/source/FSCache.cpp#L87
With ">=" changed to ">" in the FSCache test, the I2C transaction seems OK, but it still seems to be zeros in the file.
https://github.com/lancaster-university/codal-microbit-v2/blob/master/source/MicroBitUSBFlashManager.cpp#L369
FSCache::write address 0x1EFFD length 3 getFlashEnd 0x1F000
FUL
MicroBitUSBFlashManager::write 0x1EFFC 4
request 0xB 0x1 0xEF 0xFC 0x0 0x0 0x0 0x4 0xFF 0x46 0x55 0x4C
response 0xB 0x1 0xEF 0xFC 0x0  0x0 0x0 0x4 0xFF

Ah! I forgot the USB must be reconnected to see the latest data... FUL is there!

FUL is saved when the FSCache::write test is changed to ">",

but it doesn't always make LOG FULL appear.

MY_DATA.HTM.txt

Will do!


Disallow "pub mod"

I realized that pub mod is useful for exporting functions in groups, so I decided to not do so (instead now the glob use is disabled to make it clear what component is used)


Add safer dispose method

@JeremyKuhne per #2253. Is this what you were looking for? My tests look promising, locally at least.

Is this what you were looking for?

Part of it. I commented in more detail on the linked issue. https://github.com/dotnet/corefxlab/pull/2253#issuecomment-386451112

@JeremyKuhne Can we just skip the tests, for now, to fix https://github.com/dotnet/corefxlab/pull/2258 and ultimately #420. There's #2239 to ensure we write the tests. @ahsonkhan wants the unit tests either fixed or disabled.

If this change reliably fixes #420, I think we can merge it and add more tests in subsequent PRs.
@dotnet-bot test this please

If this change reliably fixes #420, I think we can merge it and add more tests in subsequent PRs (running in CI a couple of times to make sure).

I'm ok with postponing this time, if the test failures are causing grief. Building up a backlog of tests is much harder to deal with then writing them as you go. We're going to miss coverage by not being able to match test changes to code changes.

@dotnet-bot test Innerloop Ubuntu16.04 Debug Build and Test
@dotnet-bot test Innerloop Ubuntu16.04 Release Build and Test

I already started working on the unit tests, but suddenly Live Testing stopped working.

I am not sure why.
I see similar errors for other tests too:
[14:30:45.446 Info] Started executing tests from D:\GitHub\Fork\corefxlab\.vs\corefxlab\lut\0\t\System.Collections.Sequences.Tests\Debug\netcoreapp2.1\System.Collections.Sequences.Tests.dll.
[14:30:46.450 Error] [TestRunner 1] [xUnit.net 00:00:00.5309356] System.Collections.Sequences.Tests: Exception filtering tests: No tests matched the filter because it contains one or more properties that are not valid (TestCategory). Specify filter expression containing valid properties (DisplayName, FullyQualifiedName) and try again.
[14:30:46.506 Info] [TestRunner 1] No test is available in D:\GitHub\Fork\corefxlab\.vs\corefxlab\lut\0\t\System.Collections.Sequences.Tests\Debug\netcoreapp2.1\System.Collections.Sequences.Tests.dll. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again.

Maybe ask someone who works on xunit tests or file an issue: https://github.com/xunit/xunit


Adding Azure Stream Analytics to the service list

Hi @dennyglee,
As discussed in another issue post. We would like to have ASA added to the service list on page https://delta.io/integrations/.
Here is an example of ASA product page: https://learn.microsoft.com/en-us/azure/stream-analytics/write-to-delta-lake.
Thank you. Please let me know if you need more information.
Best,
Emma

Thanks @an-emma - will work on adding this soon, much appreciated!

Hi @an-emma - could you check https://deploy-preview-221--delta-io-beta.netlify.app/integrations to make sure it looks good?  If so, we'll merge this in - thanks! :)

Thanks Denny. We do not support read yet.
So I would just change it to "Azure Stream Analytics provides native write support of Delta Lake"

Got it!  Just updated it!  Will close this once we've merged the PR, eh?! :)

Hey @an-emma - this has been merged now so closing this issue. Please let me know if there is anything we can do to help. Much appreciated!

@dennyglee what does the bold font mean? Under the product logo, there is "Azure ASA Stream Analytics". If we are referring to the full name, it is Azure Stream Analytics. Or are those just search words?

Oh yes, those are tags.  We will make those search-able though not quite yet.  Any suggestions for which search terms you'd like to use?

I see. In that case what we have now is perfect. Thank you!


Dropping Item on empty dnd-list causes jitter

Recently, I have run into an issue with the drag-and-drop list where it looks like dragging an item onto an empty dnd-list (attribute on a ul tag) causes unwanted jitter. I was able to reproduce this problem on the official demo page as well. In addition, here's a GIF showing what the jitter looks like.
Has anyone encountered this issue before. If so, anyone have an idea how to fix it?

Currently, the issue seems to only happen on Chrome and Safari (not Firefox). Issue seems to lie in the isMouseInFirstHalf function, where the offset values are used for the MouseEvent (@ Line 375) to find the mouse pointer location.
Using the MouseEvent's layerX and layerY values seem to fix this this problem. However, since layerX and layerY properties of an event are non-standard, it might be a better idea to use a function that calculates the mouse pointer location. Once such function (and the one I used to fix this issue) is like the following:
function getOffset(event) {
    var el = event.target.offsetParent,
           x = 0,
           y = 0;

    while (el && !isNaN(el.offsetLeft) && !isNaN(el.offsetTop)) {
        x += el.offsetLeft - el.scrollLeft;
        y += el.offsetTop - el.scrollTop;
        el = el.offsetParent;
    }
    x = event.clientX - x;
    y = event.clientY - y;

    return {
        x: x,
        y: y
    };
}

@tugayac I'm experiencing the same jittering in my application for some time, but on the dnd-lists demo everything works correctly. I find it kind of strange.
Is there a way to repair it without interfering with the dnd-lists source code?

I've tested my solution on the latest version of Chrome and Safari. What browser and version are you using?

@tugayac Chrome 44.0.2403.130 and dnd-lists 1.2

My configuration is the same as yours. Perhaps @marceljuenemann knows what could be going on?

@tugayac @marceljuenemann I've manage to locate my problem, but I can't figure out how to fix it. I've opened separate issue describing it: https://github.com/marceljuenemann/angular-drag-and-drop-lists/issues/113

This is a CSS problem, it exists because the empty column does not take 100% of the container height, but only has a min-height. If an element is then dragged over the part of the container that is not within the column element, the placeholder is set above the container element. This in turn moves the container to the bottom, which then puts the dragged element back into the column element, therefore moving the placeholder again...
If you manage your columns to take 100% of the height, this problem should disappear.


Detect and report out of order pongs

Related: https://github.com/turt2live/matrix-monitor-bot/issues/10

We no longer have pongs


conflicting annotations images

Building the annotations image for deployment via docker build . -t annotations:latest clobbers the local image built by docker-compose up.  These need to be teased apart.

This is not the bug. The issue is sometimes we pick up a completely different database. It's not clear what volume it corresponds to, or why it's picked up instead of another image.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v2.6.35 to before v5.10.77",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f931551bafe1f10ded7f5282e2aa162c267a2e5d",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c3e17e58f571f34c51aeb17274ed02c2ed5cf780"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "f931551bafe1f10ded7f5282e2aa162c267a2e5d",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "c3e17e58f571f34c51aeb17274ed02c2ed5cf780",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.77 by commit c3e17e58f571f34c51aeb17274ed02c2ed5cf780, it was introduced in version v2.6.35 by commit f931551bafe1f10ded7f5282e2aa162c267a2e5d. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002066


[OOB 5.5.0] REALTEK_RTL8195AM compiles, but fails to flash in uvision

REALTEK_RTL8195AM compiles in uvision, but fails to find the correct target to flash to.
mbed OS: 92fbf2a9b3988d430482fc25a6077f2462e2a634
mbed CLI version: 1.1.1
".\BUILD\mbed-os-example-blinky.axf" - 0 Error(s), 297 Warning(s).
Build Time Elapsed:  00:01:38
Load "C:\\cygwin64\\home\\micray01\\mbed-os\\mbed-os-example-blinky\\BUILD\\mbed-os-example-blinky.axf"
No Algorithm found for: 10006000H - 1000FFFFH
No Algorithm found for: 10010000H - 10016F83H
Erase skipped!
Error: Flash Download failed  -  "Cortex-M3"
Flash Load finished at 17:34:35

cc @Archcady @theotherjimmy

@mray19027 @0xc0170 That's the expected behavior of a "generic" export. The target does not have a CMSIS PACK associated with it.

@mray19027 @0xc0170 That's the expected behavior of a "generic" export. The target does not have a CMSIS PACK associated with it.

What should be behaviour for this? Is it expected to work with generic flash algo? shouldn't this when exporting issue a warning that device is missing flash algo, generic one used ?

@0xc0170

What should be behaviour for this?

That the flash may not work correctly

Is it expected to work with generic flash algo?

Nope. It's expected that the user will do the remaining setup.

shouldn't this when exporting issue a warning that device is missing flash algo, generic one used ?

Probably, but the website will just silently eat the warning and do nothing with it.


[1868] Add back links to non-js schools pages

Context

https://trello.com/c/gNixYYfb/1868-s-non-javascript-search-no-back-link

Changes proposed in this pull request
Add back links to both employing schools and lead schools non-js index views
Lead school index page /lead-schools?query saved as an origin page in order to get back to it from the employer school edit page /employing-schools/edit in the initial set up of the section
Guidance to review
Create both lead and employing schools in your database with FactoryBot
In the Rails console:
require_relative "config/environment"
require "factory_bot_rails"
require "faker"
FactoryBot.find_definitions rescue nil
FactoryBot.create_list(:school, 20, lead_school: true)
FactoryBot.create_list(:school, 20)
Then disable JS

 [S] Non-javascript search no back link

Just checked again and noticed on the employing school page the back link goes back to the review-draft page. Think it should go back to the lead school search

Cheers, should be ready for re-review


Prevent Invocation from invoking arbitrary method

fixes #3115

coverage: 87.167% (+0.05%) from 87.117%
when pulling 319da5811573bd2f4846847a4edde105b5b039cf on harawata:3115-secure-invocation
into 0ec8fcbf0c3d0ef11241f8880ee10adaa2f6fbba on mybatis:master.


ICU backwards compatibility

Currently, if ICU changes, it could mean needing to reindex all your data.  The ICU docs have this to say:
Versioning
Sort keys are often stored on disk for later reuse. A common example is the use of keys to build indexes in databases. When comparing keys, it is important to know that both keys were generated by the same algorithms and weightings. Otherwise, identical strings with keys generated on two different dates, for example, might compare as unequal. Sort keys can be affected by new versions of ICU or its data tables, new sort key formats, or changes to the Collator. Starting with release 1.8.1, ICU provides a versioning mechanism to identify the version information of the following (but not limited to),

The run-time executable
The collation element content
The Unicode/UCA database
The tailoring table

The version information of Collator is a 32-bit integer. If a new version of ICU has changes affecting the content of collation elements, the version information will be changed. In that case, to use the new version of ICU collator will require regenerating any saved or stored sort keys. However, since ICU 1.8.1. it is possible to build your program so that it uses more than one version of ICU. Therefore, you could use the current version for the features you need and use the older version for collation.

This issue was moved to elastic/elasticsearch#13147


Fix Bar Chart Panel & Update Grafana Version

Description of change
Checklist

[x] Tested in playground or other setup
[ ] Screenshot (Grafana) from playground added to PR for 15+ minute run
[ ] Documentation is changed or added
[ ] Tests and/or benchmarks are included
[ ] Breaking changes

Summary by CodeRabbit

Refactor: Updated Grafana panels and utilities for enhanced data querying and visualization.

The Request Queue Duration Bar now includes a new parameter for additional customization, although this change is currently neutral with no immediate impact on users.
The Bar Chart Panel now explicitly uses 'Prometheus' as its data source, ensuring accurate data retrieval.
The Time Series Panel has been updated to allow for more flexible query options, enabling users to handle multiple targets more efficiently. This change enhances the panel's adaptability to diverse data sets.


Header didnt set up correctly

"native-base": "^2.3.10",
"react": "^16.3.0-alpha.1",
"react-native": "0.54.0",
"react-navigation": "^1.5.1"
Expected behaviour
Im having trouble with my Header(navbar), the expected is the navbar is on the top of the screen
Actual behaviour
but the actual behavior is like this

Steps to reproduce (code snippet or screenshot)
i set up the header margin top to 0 but change nothing
Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
i just use android device
Any other additional info which would help us debug the issue quicker.

@mlazuardy Are you running on Expo?

mlazuardy Are you using react-navigation?

Closing this due to no activity


UnifyQuery 空间结构优化

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


Let renovatebot update Go toolchain version in a single PR

Migrate the remaining Go toolchain updates from the update-go-version target to renovatebot and change renovatebot to group all Go version updates into a single PR.
See individual commits and #24806 for details.
Example PR: https://github.com/tklauser/cilium/pull/504
Fixes: #24806

/test

Rebased to resolve merge conflicts and to address David's and Michi's review comments.

/test


any slack channel or fourum for Kube-monkey ?

Hi
Is there a slack channel or community forum to discuss Kube monkey issues ? kube-monkey task is running, however it is not killing the sample task which is in a separate namespace. I have set debug to true and schedule_immediate_kill to true in values.yaml.  the config logs show the process is running. Apologies for a basic question
Thanks
SJ

There's a Slack channel - its listed in the Readme.
I, however, no longer have the time to be active there so hopefully someone else can help you out.


Kube-apiserver consumes a lot of RAM

Rancher Server Setup
Rancher version: 2.5.9
k8s version: v1.19.9
Describe the bug
One of their managed k8s clusters suddenly had an issue with master nodes. On one master Kube-apiserver started to consume more memory then usual. It affected on resources and etcd member on the same node. We increased RAM on master nodes multiple times. After some time cluster become stable. But now kube-apiserver still uses more memory then usual. Based on monitoring, api server request rate is the same.
To Reproduce
Q: The cloud and k8s distro used
A: RHEL 7.9, 3.10.0-1160.25.1.el7.x86_64 and rancher provisioning tool
Q: The size and resources of the nodes
A: 3 master nodes, 4 CPU 16GB RAM each
Q: Do you have any large objects ? It appears that the things that take a long time are around caching objects. You can use monitoring to check the kube api to see which core types are requested the most: General / Kubernetes / API server" the metric is "Read SLI - duration"
A: I can not view the results for a long time, because we are not collecting metric you mentioned:
Check the memory usage of Kube-apiserver pods, it is in the GB range.
Result
Kube-apiserver pods have a memory leak and increase memory usage over time
Expected Result
Kube-apiserver pods free memory and the memory usage doesn't jump into the GB range.
SURE-3803

user upgraded to 2.6.8 and issue went away


docs: import nuxt composables from #imports

This is a DX improvement when developing - we can avoid loading the entire barrel file at #app by using the new granular imports merged in https://github.com/nuxt/nuxt/pull/23951.

This is a DX improvement when developing - we can avoid loading the entire barrel file at #app by using the new granular imports merged in nuxt/nuxt#23951.

very good, thank you!


ADIF Export Need Good UI/UX, WFD support

ADIF Export Need Good UI/UX, WFD support

7548f69ae260144f0dc508025fc125a49dd2c325


[bug] Dogecoin 1.21-dev not syncing

Bug Report
Dogecoin version 1.21-dev is not syncing.
Current behavior:

dogecoin node is not syncing and in debug.log file below given line showing repeatedly
2021-09-03T02:56:29Z Potential stale tip detected, will try using extra outbound peer (last tip update: 35911 seconds ago)
from last 5 days
Expected behavior

Dogecoin node should sync and work properly
Dogecoin Core version

Dogecoin Core version v<IP_ADDRESS>-b1a924969
self complied from branch 1.21-dev
Machine specs

OS: ubuntu
CPU:Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
RAM: 16 GB
Disk size: 500 GB
Disk Type (HD/SDD): SSD

Extra information

log of debug.log file
2021-09-02T16:57:13Z Dogecoin Core version v<IP_ADDRESS>-b1a924969 (release build)
2021-09-02T16:57:13Z Assuming ancestors of block 014c0753de886b81dffa11e99f37416930b67d55bda17589d886aeb053414942 have valid signatures.
2021-09-02T16:57:13Z Setting nMinimumChainWork=00000000000000000000000000000000000000000000051737530b00a8ed4e3e
2021-09-02T16:57:13Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
2021-09-02T16:57:13Z Using RdRand as an additional entropy source
2021-09-02T16:57:13Z Default data directory /home/ubuntu/.dogecoin
2021-09-02T16:57:13Z Using data directory /home/ubuntu/.dogecoin
2021-09-02T16:57:13Z Config file: /home/ubuntu/.dogecoin/dogecoin.conf (not found, skipping)
2021-09-02T16:57:13Z Command-line arg: daemon=""
2021-09-02T16:57:13Z Using at most 125 automatic connections (1024 file descriptors available)
2021-09-02T16:57:13Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2021-09-02T16:57:13Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2021-09-02T16:57:13Z Script verification uses 1 additional threads
2021-09-02T16:57:13Z scheduler thread start
2021-09-02T16:57:13Z HTTP: creating work queue of depth 16
2021-09-02T16:57:13Z Using random cookie authentication.
2021-09-02T16:57:13Z Generated RPC authentication cookie /home/ubuntu/.dogecoin/.cookie
2021-09-02T16:57:13Z HTTP: starting 4 worker threads
2021-09-02T16:57:13Z Using wallet directory /home/ubuntu/.dogecoin/wallets
2021-09-02T16:57:13Z init message: Verifying wallet(s)...
2021-09-02T16:57:13Z init message: Loading banlist...
2021-09-02T16:57:13Z SetNetworkActive: true
2021-09-02T16:57:13Z Using /16 prefix for IP bucketing
2021-09-02T16:57:13Z Cache configuration:
2021-09-02T16:57:13Z * Using 2.0 MiB for block index database
2021-09-02T16:57:13Z * Using 8.0 MiB for chain state database
2021-09-02T16:57:13Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2021-09-02T16:57:13Z init message: Loading block index...
2021-09-02T16:57:13Z Switching active chainstate to Chainstate [ibd] @ height -1 (null)
2021-09-02T16:57:13Z Opening LevelDB in /home/ubuntu/.dogecoin/blocks/index
2021-09-02T16:57:13Z Opened LevelDB successfully
2021-09-02T16:57:13Z Using obfuscation key for /home/ubuntu/.dogecoin/blocks/index:<PHONE_NUMBER>000000
2021-09-02T16:57:15Z LoadBlockIndexDB: last block file = 0
2021-09-02T16:57:15Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=1, size=232, heights=0...0, time=2013-12-06...2013-12-06)
2021-09-02T16:57:15Z Checking all blk files are present...
2021-09-02T16:57:15Z Opening LevelDB in /home/ubuntu/.dogecoin/chainstate
2021-09-02T16:57:15Z Opened LevelDB successfully
2021-09-02T16:57:15Z Using obfuscation key for /home/ubuntu/.dogecoin/chainstate: 22a757e82757bae5
2021-09-02T16:57:15Z Loaded best chain: hashBestChain=1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691 height=0 date=2013-12-06T10:25:40Z progress=0.000000
2021-09-02T16:57:15Z init message: Rewinding blocks...
2021-09-02T16:57:15Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) started
2021-09-02T16:57:15Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) completed (0.00s)
2021-09-02T16:57:15Z init message: Verifying blocks...
2021-09-02T16:57:15Z  block index            2004ms
2021-09-02T16:57:15Z block tree size = 370001
2021-09-02T16:57:15Z nBestHeight = 0
2021-09-02T16:57:15Z loadblk thread start
2021-09-02T16:57:15Z Imported mempool transactions from disk: 0 succeeded, 0 failed, 0 expired, 0 already there, 0 waiting for initial broadcast
2021-09-02T16:57:15Z loadblk thread exit
2021-09-02T16:57:15Z torcontrol thread start
2021-09-02T16:57:15Z Bound to [::]:22556
2021-09-02T16:57:15Z Bound to <IP_ADDRESS>:22556
2021-09-02T16:57:15Z Bound to <IP_ADDRESS>:22557
2021-09-02T16:57:15Z init message: Loading P2P addresses...
2021-09-02T16:57:16Z Loaded 12888 addresses from peers.dat  38ms
2021-09-02T16:57:16Z Loaded 0 addresses from "anchors.dat"
2021-09-02T16:57:16Z 0 block-relay-only anchors will be tried for connections.
2021-09-02T16:57:16Z init message: Starting network threads...
2021-09-02T16:57:16Z net thread start
2021-09-02T16:57:16Z init message: Done loading
2021-09-02T16:57:16Z dnsseed thread start
2021-09-02T16:57:16Z msghand thread start
2021-09-02T16:57:16Z Waiting 300 seconds before querying DNS seeds.
2021-09-02T16:57:16Z opencon thread start
2021-09-02T16:57:16Z addcon thread start
2021-09-02T16:59:50Z New outbound peer connected: version: 70015, blocks=3880534, peer=0 (full-relay)
2021-09-02T17:02:16Z Loading addresses from DNS seed seed2.multidoge.org
2021-09-02T17:02:16Z Loading addresses from DNS seed seed.multidoge.org
2021-09-02T17:02:16Z 0 addresses found from DNS seeds
2021-09-02T17:02:16Z dnsseed thread exit
2021-09-02T17:08:28Z Potential stale tip detected, will try using extra outbound peer (last tip update: 630 seconds ago)
2021-09-02T17:18:58Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1260 seconds ago)
2021-09-02T17:29:28Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1890 seconds ago)
2021-09-02T17:39:58Z Potential stale tip detected, will try using extra outbound peer (last tip update: 2520 seconds ago)
2021-09-02T17:50:28Z Potential stale tip detected, will try using extra outbound peer (last tip update: 3150 seconds ago)
2021-09-02T18:00:58Z Potential stale tip detected, will try using extra outbound peer (last tip update: 3780 seconds ago)
2021-09-02T18:11:28Z Potential stale tip detected, will try using extra outbound peer (last tip update: 4410 seconds ago)
2021-09-02T18:21:58Z Potential stale tip detected, will try using extra outbound peer (last tip update: 5040 seconds ago)
repeatedly this line is comming

This is correct. There currently is no AuxPoW support built-in yet, so 1.21-dev is not ready to try in the wild yet.


Act correctly on the window after resizing

We have to update the window attributes before executing actions like scaling and moving, because the current version blocks some of them having knowledge for the old dimensions.
Example: Image is at optimal scale and I make the window smaller. I want to be able to hit Backspace and make it optimal for the new window dimensions. With this patch this is possible.
The places where this has to happen is before every reference to width_, height_ and depth_ of the wnd_ of type x11, which all reside in viewer.cpp

I think that I didn't implement such feature because I use tiling managers.
Actually, I moved to Wayland/Sway a couple of months ago, so now I can't even run picterm (my system doesn't have XServer). With wayland I use my other viewer.
I'm sorry, but I have nothing to say about this feature. The commit looks good for me and I am ready to merge it, but I can't even check its functionality.

I use i3 myself and the problems are related to tiling manager behaviors. Anyway, you could merge it, but write somewhere that it is not optimally implemented. I think it has to do with redrawing of the image after scaling. In some cases it works anyways.

write somewhere that it is not optimally implemented

Please, add this remark to the commit message.

And one more thing, add the "Signed-off-by" to the commit message, please.

write somewhere that it is not optimally implemented
You could write that in the merge commit. It's easier that way

And one more thing, add the "Signed-off-by" to the commit message, please.

My commits are signed using my gpg-key so it shows on github

No, with sign-off I mean patch copyright:
https://stackoverflow.com/questions/1962094/what-is-the-sign-off-feature-in-git-for
Let's keep the code free :)
On Thu, Oct 1, 2020, 20:47 Charalampos Kardaris<EMAIL_ADDRESS>wrote:

write somewhere that it is not optimally implemented
You could write that in the merge commit. It's easier that way
And one more thing, add the "Signed-off-by" to the commit message, please.
My commits are signed using my gpg-key so it shows on github
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/artemsen/picterm/pull/2#issuecomment-702295736, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI5UOEUDBCL3D6TEZT7IZDSIS6C3ANCNFSM4SASMXIA
.


Non-seneca TCP clients support is missing (telnet/nc)

No way to leverage telnet/nc connections within current implementation. Request should be extended with seneca transport protocol fields (id, kind), similarly to curl client

It is possible to make action calls over telnet - can you provide more details if what you are trying to do?
Here's what I did:
$ cd seneca-transport/test
$ node service-foo.js tcp

and then telnet:
$ telnet localhost 10201
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying <IP_ADDRESS>...
Connected to localhost.
Escape character is '^]'.
{"id":1,"kind":"act","act":{"foo":1}}
{"id":1,"kind":"res","accept":"98lb4s1pg44u/1433948418085/12583/-","time":{"client_sent":0,"listen_recv":1433948455864,"listen_sent":1433948455864},"res":{"s":"1-undefined"}}

Just looking your fork - can you explain your use-case - looks interesting!

Going to close, @dkulichkin If you want to discuss feel free to open.


Add python 3.12 support to kedro-airflow

Description
Is your feature request related to a problem? A clear and concise description of what the problem is: "I'm always frustrated when ..."
Waiting on apache-airflow 2.9 release

Related: https://www.astronomer.io/events/webinars/whats-new-in-airflow-2-9-video/

https://github.com/apache/airflow/releases/tag/2.9.0 🎉

@astrojuanlu amazing, on it!

Waiting on Kedro release now! 😬

#613 is still open, will do it as a part of that


Mapped CircaDB and treatment data to hetionet IDs

Here are the primary commands to help you move 3530a39a1a500ee51ef05126d42be32a73a7b933 to a separate pull request:
# undo commit for other PR on this branch
git revert 3530a39a1a500ee51ef05126d42be32a73a7b933

# Checkout master, then checkout new branch for other PR
git cherry-pick 3530a39a1a500ee51ef05126d42be32a73a7b933

Can you also change the conda installation in .travis.yml to use Miniconda2-4.6.14-Linux-x86_64.sh to fix the following build error
$ conda env create --quiet --file environment.yml
Solving environment: ...working... failed
CondaValueError: Malformed version string '~': invalid character(s).

https://stackoverflow.com/a/56116249/4651668


OpenSSL_1_0_2h build fails with no-ecdh option

The build fails when no-ecdh option is specified.
t1_lib.c: In function 'tls1_get_curvelist':
t1_lib.c:500:42: error: 'struct cert_st' has no member named 'ecdh_tmp_auto'
Here's my config:
./config --prefix=/usr no-ssl3 no-rc4 no-camellia no-seed no-comp no-srp no-psk no-idea no-des  no-dh

Providing no-descbcm also fails but issue solved by applying patch: https://github.com/openssl/openssl/pull/872/files

This is resolved.


Add metadata to Docker images

For troubleshooting it's useful to have following data:

image build time
git branch
git revision

Also this commits modifies 'make image' target to build webhook image too.

LGTM

@e0ne you still planning to work on this one ?

We don't need this PR anymore


[Event Request] codeunit 90 "Purch.-Post" - OnRunOnBeforePostPurchLine

Please extend Event OnRunOnBeforePostPurchLine with additional parameter - PurchaseHeader:
[IntegrationEvent(false, false)]
local procedure OnRunOnBeforePostPurchLine(var PurchaseHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line")
begin
end;

PurchaseLinesProcessed := false;
if TempPurchLineGlobal.FindSet() then
    repeat
        OnRunOnBeforePostPurchLine(PurchHeader, TempPurchLineGlobal);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 42366.


feature: Support for non ESM use cases

Hi,
Please can support for non ESM use cases be added to this project. I think it would allow this module to be used in more cases where it would be appropriate to use it.
Thanks,
Jack

heya! I’ve added a link with more info to the readme. I suggest to switch to ESM. But feel free to wait around a bit on the previous version if you have to


Fix prompt behavior for native requests

Fixes bug where calling a silent API with prompt != none throws and instead overwrites prompt to always be none for silent calls
Fixes bug where prompt=login skips the native broker and goes directly to web

Codecov Report

Merging #4949 (c31e52f) into dev (23d16b6) will not change coverage.
The diff coverage is 100.00%.

Flag
Coverage Δ

*Carryforward flag

msal-angular
96.42% <ø> (ø)

msal-browser
86.87% <100.00%> (ø)

Carriedforward from e7758b9

msal-common
84.44% <ø> (ø)

Carriedforward from e7758b9

msal-core
82.67% <ø> (ø)

Carriedforward from e7758b9

msal-node
81.94% <ø> (ø)

Carriedforward from e7758b9

msal-node-extensions
76.03% <ø> (ø)

Carriedforward from e7758b9

msal-react
94.50% <ø> (ø)

node-token-validation
89.14% <ø> (ø)

Carriedforward from e7758b9

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

.../src/interaction_client/NativeInteractionClient.ts
68.88% <100.00%> (ø)


The training result on the NYU dataset is 7.98, which does not achieve the effect in the paper.

The training result on the NYU dataset is 7.98, which does not achieve the effect in the paper.

The training result on the NYU dataset is 7.98, which does not achieve the effect in the paper.

@whutdhz have you get to 7.68 as the author claim ? can you share your configuration (aug also). Thank you

Hello, I would like to know if there is a 'joint_data.mat' file in the NYU dataset, can you tell me how to get it, thank you very much

My training result on the NYU dataset was 7.99.Is it the reason for the pytorch version？


fix session file not existed exception when init EventStream with a new session.

After session persistently stored， it will try to _reinitialize_from_file_store, but for a fresh new session which means no Persistent storage files will throw exceptions when init EventStream, or Persistent storage files removed from s3, the EventStream init flow brokes.

Thanks for this!


cargo-make: 0.19.2 -> 0.19.3

Motivation for this change
Update cargo-make to the latest release.
https://github.com/sagiegurari/cargo-make/releases/tag/0.19.3
Note: doCheck is set as false.
Some tests fail because they need network access. However, Travis-CI ensures a proper build.
https://travis-ci.org/sagiegurari/cargo-make/jobs/537918655
https://travis-ci.org/sagiegurari/cargo-make/jobs/537918656
https://travis-ci.org/sagiegurari/cargo-make/jobs/537918657
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Doesn't build for me in nix-review.

[nix-shell:~/.cache/nix-review/pr-62139-4/results/cargo-make/bin]$ ./cargo-make
thread 'main' panicked at 'cargo-make not invoked via cargo command.', src/lib/cli.rs:127:21
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

[nix-shell:~/.cache/nix-review/pr-62139-4/results/cargo-make/bin]$ RUST_BACKTRACE=1 ./cargo-make
thread 'main' panicked at 'cargo-make not invoked via cargo command.', src/lib/cli.rs:127:21
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::continue_panic_fmt
   6: std::panicking::begin_panic_fmt
   7: cli::cli::run_cli
   8: cli::run_cli
   9: cargo_make::main
  10: std::rt::lang_start::{{closure}}
  11: std::panicking::try::do_call
  12: __rust_maybe_catch_panic
  13: std::rt::lang_start_internal
  14: main
  15: __libc_start_main
  16: _start

@mmahut  Thanks for the review!
./cargo-make tells us:

'cargo-make not invoked via cargo command.'

cargo-make is a subcommand for cargo.
Try to invoke cargo-make via cargo command.
Consider the following commands:
PATH=$HOME/.cache/nix-review/pr-62139-4/results/cargo-make/bin:$PATH cargo make --version

Thank you, this did not work as in my fresh install I do not have cargo installed. Few days ago I did and therefore it worked "out of the box" for me.


Update OTEL exporters to use new API

~Currently blocked by https://github.com/open-telemetry/opentelemetry-collector/issues/872 as we need a new translator from pdata.Traces to Jaeger data model.~

@objectiser this is ready for review

go service is failing in CROSSDOCK_OTEL I am not sure why. It is passing in normal crossdock.

I thought a processor had to be provided otherwise it would be an invalid OTC config?

This was the case before now It seems to work, I am trying to investigate xdock failure. The processors will be handled as part of https://github.com/jaegertracing/jaeger/issues/2152

The processors were causing issues in the CI. Without the processors CI seems to pass fine. I will keep them removed and install back in #2152


Profile page

some refactoring regarding === vs ==
added ability for users to delete their current interests
added conditional rendering to tell users if they have no interests
modified backend to convert from a string to a json object (someone should doublecheck this one)
added a button that showcases a form w/ the current userdata, this form allows users to modify their firstname, lastname, and address

finally done ✨


Questions about SetParent and local_position

Hi, i have confusions about the value of self.data[‘local_position’]. My purpose is to create a mesh and a camera, by setting the transforms of the camera and the mesh seperatly and setting the mesh to the camera's parent, i can get the straight transform matrix from the mesh coordinate to the camera coordinate.
HERE are my STEPS:
1)Firstly I created a mesh from file using env.LoadMesh function.
2)I use :
                     `mesh.SetTransform(
                             position=[0, 0, 0],
                             rotation=[0, 0, 0],
                             scale=[0.035, 0.035, 0.035], is_world=True
                      )
                      env.step()`

to set the position and rotation of the loaded mesh.
3) I created the camera, and set the parent with code:
camera.SetParent(parent_id=mesh.id)
then i set the position and rotation of camera by
camera.SetTransform(                                                  position=[5,2,5 ], rotation=[ 0, 200,0 ], is_world=True)                                    env.step()
HERE are my QUESTIONS:

After doing the aforementioned STEPS, i use the env.SaveScene to save the scene, but the saved json file doesn't record the "parenID" correctlly,
 {"parentID": -1,
 "parentName": "box1.obj"}

parentID equls to -1 in all cameras, but the parentName are all correct. Is there any STEP that I did wrong during setting the parent?
2)I use the camera.data['local_position'] and camera.data['local_rotation'] to get the local tansforms, but the local_position seems to be wrong.  With the params using in STEPS, i get the
camera.data['local_position']=[142.85714721679688, 56.48296356201172,<PHONE_NUMBER>6835938]
and the
camera.data['local_rotation']=[-0.0005285008228383958,<PHONE_NUMBER>763672, -0.00027268179110251367]
the local_rotation seems to be reasonable, but the local_position is too large to me. Should it equl to [5, 2, 5] or should it be much  smaller? My guess is because i set the scale factor of the parent mesh, so i need to multipy the scale factor seperately in [x,y,z]

By the way, I also want to know how to caculate the local_position and the local_rotation. Can they be caculated by the rotation and the position of parent mesh and them of the child camera?

Thank you for your feedback, I will respond to your questions one by one:
1.After verification, it's indeed a bug that the parentID has not been properly stored, which will be fixed in the next version.
2.Nevertheless, SavaScene still cannot save external models loaded by the LoadMesh interface. For scenes managed by Json files, only the built-in objects of RFUniverse (objects created by InstanceObject) are supported. So please do not use SaveLoad and LoadScene to manage your scenes for the time being, and implement it with code instead.
3.As you understand, the camera has been put in a parent object with scale, so its coordinate system will be the coordinate system of the parent object:
142.85714721679688*0.035≈5
4.I'm providing a piece of code to help you understand the transformation between Position and Quaternion in local and world space:
import numpy as np
from quaternion.numpy_quaternion import quaternion
from pyrfuniverse.envs.base_env import RFUniverseBaseEnv
import pyrfuniverse.attributes as attr

env = RFUniverseBaseEnv()

cube = env.InstanceObject("GameObject_Box", attr_type=attr.GameObjectAttr)
cube.SetTransform(position=[0, 1, 0], rotation=[25, 85, 175], scale=[0.035, 0.035, 0.035], is_world=True)
camera = env.InstanceObject("Camera", attr_type=attr.CameraAttr)
camera.SetParent(cube.id, "GameObject_Box")
camera.SetTransform(position=[0, 2, 0], rotation=[45, 30, 60], is_world=True)
env.step()

cube_matrix = np.array(cube.data['local_to_world_matrix'])
camera_world_pos = np.array(camera.data['position'])
camera_local_pos = np.array(camera.data['local_position'])

print("camera world_pos")
print(camera_world_pos)
print("camera local_pos")
print(camera_local_pos)
camera_local_pos = np.append(camera_local_pos, 1)
print("camera world_pos form parent matrix")
print(np.dot(cube_matrix, camera_local_pos))

print("-----------------------------------------------")

cube_world_qua = cube.data['quaternion']
camera_world_qua = camera.data['quaternion']
camera_local_qua = camera.data['local_quaternion']

cube_world_qua = quaternion(cube_world_qua[3], cube_world_qua[0], cube_world_qua[1], cube_world_qua[2])
camera_world_qua = quaternion(camera_world_qua[3], camera_world_qua[0], camera_world_qua[1], camera_world_qua[2])
camera_local_qua = quaternion(camera_local_qua[3], camera_local_qua[0], camera_local_qua[1], camera_local_qua[2])

print("camera world_qua")
print(camera_world_qua)
print("camera local_qua")
print(camera_local_qua)
print("camera world_qua form parent qua")
print(cube_world_qua * camera_local_qua)

env.Pend()
env.close()

Thanks so much for your replying!  It helps a lot for me to understand! Also I have some new QUESTIONS about the code provided.
QUESTIONS:

I delete the 'camera.SetParent(cube.id, "GameObject_Box")', and still I can get the 'cube_matrix = np.array(cube.data['local_to_world_matrix'])'. And the value of the 'local_to_world_matrix' is:
[[-0.00175457 -0.01494515  0.03160006  0.        ] [ 0.00276465 -0.03160007 -0.01479164  1.        ] [ 0.0348465   0.00175458  0.00276465  0.        ] [ 0.          0.          0.          1.        ]]
I can tell the right row [0. , 1., 0.] is the position we set for the cude before. So does it mean that the top-left 3x3 matrix is the rotation matrix of the cube? Which means the rotation matrix should match to the rotation we set before(rotation=[25, 85, 175])?
Is it the same condition in 'cube_world_qua = cube.data['quaternion']'?
If so, I assumed that the 'cube_world_qua' should be converted to the rotation=[25, 85, 175]. However, I tried the quaternion2euler method(which is defined below) to try to convert the 'cube_world_qua' to the rotation and never get the same result as [25, 85, 175].
         from scipy.spatial.transform import Rotation as R        def quaternion2euler(quaternion):             r = R.from_quat(quaternion)             euler = r.as_euler('zyx', degrees=True)             return euler        a = camera_world_qua[3]        b = camera_world_qua[0]        c = camera_world_qua[1]        d = camera_world_qua[2]        cube_qua_world_list = [a, b, c, d]        print(quaternion2euler(cube_qua_world_list))
I tried 'xyz', 'xzy', 'yxz', 'yzx', 'zxy', 'zyx' sequences and get all results different from [25, 85, 175]. I am so so so so so confused about it.

Thanks so much for your replying! It helps a lot for me to understand! Also I have some new QUESTIONS about the code provided.
QUESTIONS:
I delete the 'camera.SetParent(cube.id, "GameObject_Box")', and still I can get the 'cube_matrix = np.array(cube.data['local_to_world_matrix'])'. And the value of the 'local_to_world_matrix' is:

_[[-0.00175457 -0.01494515  0.03160006  0.        ]
 [ 0.00276465 -0.03160007 -0.01479164  1.        ]
  [ 0.0348465   0.00175458  0.00276465  0.        ]
 [ 0.          0.          0.          1.        ]]_

I can tell the right row [0. , 1., 0.] is the position we set for the cude before. So does it mean that the top-left 3x3 matrix is the rotation matrix of the cube? Which means the rotation matrix should match to the rotation we set before(rotation=[25, 85, 175])?
Is it the same condition in 'cube_world_qua = cube.data['quaternion']'?
If so, I assumed that the 'cube_world_qua' should be converted to the rotation=[25, 85, 175]. However, I tried the quaternion2euler method(which is defined below) to try to convert the 'cube_world_qua' to the rotation and never get the same result as [25, 85, 175].
```
from scipy.spatial.transform import Rotation as R
def quaternion2euler(quaternion):
r = R.from_quat(quaternion)
euler = r.as_euler('zyx', degrees=True)
return euler
a = camera_world_qua[3]
b = camera_world_qua[0]
c = camera_world_qua[1]
d = camera_world_qua[2]
cube_qua_world_list = [a, b, c, d]
print(quaternion2euler(cube_qua_world_list))
I tried 'xyz', 'xzy', 'yxz', 'yzx', 'zxy', 'zyx' sequences and get all results different from [25, 85, 175]. I am so so so so so confused about it.

1.Yes, the local_to_world_matrix is the 4*4 pose matrix used in other simulation applications.
2.cube.data['quaternion'],cube.data['rotation'], and np.array(cube.data['local_to_world_matrix'])[:3,:3] are respectively the quaternion, Euler angles, and rotation matrix of the cube in world space, all of which represent the rotation of the cube.
3.The conversion between Euler angles and quaternions is differentiated by the left and right-hand coordinate, with RFUniverse using the left-hand coordinate from Unity. In contrast, scipy's as_euler uses the right-hand coordinate. RFUniverse provides its conversion functions for Euler angles and quaternions.
import pyrfuniverse.utils.rfuniverse_utility as utility
cube_world_qua = cube.data['quaternion']
cube_world_eul = utility.UnityQuaternionToEular(cube_world_qua)
print(cube_world_qua)
print(cube_world_eul)

Thank you so much!! It really helps a lot for a beginner to understand. Thanks again for your patience.