Set other user read/exec perms for starthookfile

JIRA Issues: MARATHON-8441

We need to enable DockerImageTest in test.sc


Re - organize unit tests in running groups

This is just moving and re-organizing unit tests from az_core
This it is match the same strategy proposed by iot for test structure.
Each test executable would trigger multiple tests groups, one after each other.
Each group represent similar tests for one component (i.e. az_span, az_json, etc)
each test group list is defined in a .c file with all tests implementations before it
All tests groups are defined in a .h file imported by main tests

Is it OK if we merge this PR after https://github.com/Azure/azure-sdk-for-c/pull/549. I think resolving merge conflicts this way would be a lot easier than the other way around.

Can you please do a quick check of the code coverage (line and branch) before and after this change (what as in master before this got committed). They should be identical. That will make sure we didn't accidentally lose coverage (or add something) as part of this refactoring.

That information is public and available for anyone to see it.
If you go to PR checks, and click on client checks to go to Azure Devops, you will find all pipelines.
For instance, this PR pipeline: https://dev.azure.com/azure-sdk/public/_build/results?buildId=366620&view=codecoverage-tab
and a previous pipeline without this change: https://dev.azure.com/azure-sdk/public/_build/results?buildId=366549&view=codecoverage-tab


secrets for python actions capturable in cleartext using ps -ef | grep action_wrapper

SUMMARY
Python actions leak sensitive data when viewing processes
STACKSTORM VERSION
st2 3.7.0, on Python 3.8.13
OS, environment, install method
RHEL8, instance and mongoDB running on the same DL360 Proliant wtih 16 core / 64G RAM configuration
Steps to reproduce the problem
create sample flow:
name: secret_test
runner_type: python-script
description: secrettest
enabled: true
entry_point: secret_test.py
parameters:
  secret:
    type: string
    description: sample_secret
    required: false
    position: 0
    secret: true

with python script:
from st2common.runners.base_action import Action
import time

class SecretTest(Action):
    def run(self, secret):
        time.sleep(10)
        return(True)

run the flow and do ps -ef | grep action_wrapper:
[user@host ~]$ ps -ef | grep action_wrapper root     1540283 1421574  1 06:17 ?        00:00:00 /opt/stackstorm/virtualenvs/testing/bin/python -u /opt/stackstorm/st2/lib/python3.8/site-packages/python_runner/python_action_wrapper.py --pack=testing --file-path=/opt/stackstorm/internal_packs/testing/actions/secret_test.py --user=fdrab --parent-args=["--config-file","/etc/st2/st2.conf"] --parameters={"secret":"superSecretString"} --log-level=INFO user 1540289 1533819  0 06:17 pts/0    00:00:00 grep --color=auto action_wrapper [user@host ~]$
This leads to secrets being printed to the screen and easily captured even by a non-root user or anyone using ps -ef | grep. Secret is still properly masked in UI and does not appear in the logs.
Expected Results
I'd expect the secret parameters to be provided to the script in a secure way (even though I have no clue how).
Actual Results
secrets printed to console.

That's a good find!
Probably not a bug, but a side effect of using CLI arguments as an input interface.
It's possible to do something with stdin as an implementation, but it will be not a CLI argument then as the idea is that you should be able to run the same python script with the same args outside of stackstorm.
Perhaps it makes sense to document this side effect in the https://docs.stackstorm.com/reference/runners.html when CLI args are used.

the idea is that you should be able to run the same python script with the same args outside of stackstorm

I would understand this for some scripts, where you convert already existing scripts and adapt them to ST2, but many of the scripts I'm creating are exclusively to be used in the context of ST2 and use st2 client, or for example the SQL pack (or any pack that allows password to be an input) on stackstorm-exchange. Maybe I can work around this by using K8s, where the individual processes run in pods and hopefully what happens in pods is not capturable in trivial way such as ps -ef.
Or I'll rewrite all python actions to simply not use passwords as inputs at all and instead the process would be to pre-store a password / token in the datastore as encrypted value and then fetch the value via action_service.get instead of secrets being provided as CLI params.

Maybe I can work around this by using K8s, where the individual processes run in pods
I think it could be worse in K8s considering amount of potential neighbours in the cluster and higher blast radius in case of something goes wrong. Add here different logging and metrics K8s capabilities that might read the process list.

Yeah, I agree.
CLI args should still apply to local-shell-script, local-shell-cmd and similar shell/scrips runners. And so one can convert a script.py with CLI args to action this way.
However considering deeper python logic of python-script actions, implemented as Python classes with a run() method, it should ideally rely on stackstorm primitives for passing secrets.


redis: 7.2.4 -> 7.2.5

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Given the number of packages that are going to be rebuilt this should probably targetstaging.
Nothing is flagged as security related in the changelog, is the security label needed?
Beside that, the change looks good and work as expected from the quick tests I made.

Probably slipped into the 7.2.4 changelog by accident.


fix: refactor requestAsBrowser to Got 12

cc @szmarczak

BREAKING IN EDGE CASES - We disabled forceUrlEncoding in requestAsBrowser because we found out that recent versions of the underlying HTTP client got already encode URLs and forceUrlEncoding could lead to weird behavior. We think of this as fixing a bug, so we're not bumping the major version.

I still can't get over this wording. It was an opt-in flag, disabled by default (and we are now removing it, not disabling it). It did not have any double encoding effect unless explicitly used - in which case users should be aware they should not encode explicitly.
Or did you get any complaints/issues about it? If so, it means someone was using it -> we will break their code? :]

was an opt-in flag, disabled by default (and we are now removing it, not disabling it). It did not have any double encoding effect unless explicitly used - in which case users should be aware they should not encode explicitly.

Agreed.

If so, it means someone was using it -> we will break their code?

It will break their code only when all percent encoded characters were invalid (no double encoding happens). It's very unlikely, but can happen. If someone was using forceUrlEncoding on valid percent encoded URLs then their code was broken already.

Or did you get any complaints/issues about it?

No, we did not. I'm willing to bet that no-one was using it, because got did the encoding for them, so they had no reason to look for an encoding option.


caffe + openblas not using cpu to the max

When using the combination of caffe + openblas, it turns out that all cpus cores except cpu 0 are only used about 50% (AlexNet benchmark), the rest is idle time.
(this is sort of hidden if you're not careful due to the polling nature of the default openblas config, but it shows up if you fix that, or if you use the openmp setup. In the default polling setup you can see it by how many cycles are spent in the polling loop)
profile below:
63.28%  libopenblas_haswellp-r0.2.16.so  [.] sgemm_kernel
8.78%  libopenblas_haswellp-r0.2.16.so  [.] sgemm_incopy
6.10%  libcaffe.so.1.0.0-rc3            [.] caffe::im2col_cpu
4.55%  libopenblas_haswellp-r0.2.16.so  [.] sgemm_itcopy
2.59%  libopenblas_haswellp-r0.2.16.so  [.] sgemm_oncopy
1.32%  libcaffe.so.1.0.0-rc3            [.] caffe::PoolingLayer::Forward_cpu
1.27%  libgomp.so.1.0.0                 [.] gomp_barrier_wait_end
1.22%  libm-2.23.so                     [.] __powf
(and then a tail of very small things)
I'm kind of lost in terms of how to diagnose this further; increasing the number of worker threads does nothing; each thread does proportionally less work but the total cpu use does not change significant.
It feels (subjectively) that something is either not feeding the worker threads enough, or that there is a sequential step going on that is not threaded but that takes about 50% of wallclock time.
Is this a known behavior? Any suggestions on how I can diagnose this further?

What is your hardware, and many threads are you letting OpenBLAS create ? If this is on a CPU that sports hyperthreading, using more threads than your number of actual full-featured cores will only hold everything up.

This is a normal Broadwell system; 2 cores (so 4 threads)
(I'll not agree with your characterization of hyperthreading; the cpu can do 2 vector FMA's per cycle... that's slightly hard to feed if you don't do hyperthreading)

even with running just 2 threads, the 2nd core is not more than 63% utilized.

Somewhere in alexnet description:
shape {
      dim: 128
      dim: 3
      dim: 224
      dim: 224
    }

Even if you multiply all data sample is quite small...

Sorry for wasting your time with that suggestion then, could be I underestimated the capabilities of Broadwell (and beyond) based on experience with older hardware (also reflected in the openblas faq).
Unfortunately most of the multithreading code dates back to K.Goto's original implementation, i.e. reflecting the state of commonly available hardware ten years ago. Some issues have been adressed recently though, and I see now that you are still using 0.2.16  so it might be worthwile to try the current development branch to get incremental improvements like jeromerobert's fix for #873.

I'll certainly try current git if there's things there that should help.
(does the openblas team have sufficient access to recent Intel hardware, or is that something that I should try to help fix?)

"Machine list" in the wiki has Haswell as the most modern in Xianyi's pool, but I suspect the primary limiting factor to be spare time of experienced developers

Just tried top of git (437c7d64f267ade6d1efd8a972d68a6ccb7d42da) with the same CPU idle time pattern and same overall performance

sticking a debugger on it:
1: M = 128
2: N = 729
3: K = 1200
so it's not a huge matrix by itself.

(there's also some larger ones fwiw 1: M = 384 2: N = 169 3: K = 2304. It also seems C is always 0 which I assume openblas has a shortcut for)

I tried to repeat what you did.
Mine runs on 10 (real) cores just fine
There is small problem with caffe build system, it links to file name libopenblas.so and picks up system-wide old(er) openblas if that is in library paths, even you insist in configuration to use your library.
You might need to LD_PRELOAD the shiny fresh build of libopenblas.so
My source was here:
https://openbenchmarking.org/innhold/9fea910968ca453c51d63fee105de22dd328efb9

(interesting that you use PTS, I added the openblas support to that)
the problem you are seeing is that openblas in the worker threads will just spin the cpu if there is no useful work for the thread to do, so the time command will show them as busy;
you can either look at "perf top" during the run and see that the bulk of the time is spent in this spinner, or you can apply a small patch (below) that turns the spin into a short sleep which then accounts better
(even if one does not like usleep(), yield() is sort of a worst case thing to do, asm("rep nop") would be nicer for both the kernel and a hyperthreading scenario)
--- OpenBLAS-0.2.16/common.h~   2016-03-15 18:49:10.000000000 +0000
+++ OpenBLAS-0.2.16/common.h    2016-06-12 16:12:41.864694505 +0000
@@ -349,7 +349,7 @@
*/
#ifndef YIELDING
-#define YIELDING       sched_yield()
+#define YIELDING       usleep(1)
#endif
/***

#731 already had some criticism of using sched_yield() with busy waiting instead of synchronization primitives, but nobody wanted to go there and only the stopgap solution of avoiding multithreading for small matrix sizes was implemented.

In my previous dayjob as kernel person, I can say that sched_yield() is just about the worst possible thing you can do. Its semantics are horrific and extremely expensive to implement. It really is better to either just do asm("rep nop") or a short udelay like above.
EIther of those gave me roughly a 4% gain on the pts/caffe load.

Hi,
on some platforms, sched_yield() is very slow.
Also usleep has some overhead and the time is static.
I found, that the best solution on tested platforms is:
asm volatile ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
Please see common.h of OpenBLAS.
Best regards
Werner
On 07/14/2016 04:33 PM, Martin Kroeker wrote:

#731 https://github.com/xianyi/OpenBLAS/issues/731 already had some
criticism of using sched_yield() with busy waiting instead of
synchronization primitives, but nobody wanted to go there and only the
stopgap solution of avoiding multithreading for small matrix sizes was
implemented.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/issues/923#issuecomment-232683203, or
mute the thread
https://github.com/notifications/unsubscribe/AC1e6GQcjb5NTM1Blh3cnQ6ijovfgEz4ks5qVkjJgaJpZM4JLj0H.

on x86, that should really be "pause", also known as "rep nop".. (or a series of those);
difference between a "pure" nop and pause is that pause is a hyperthreading "yield" inside the CPU

Speedup is missing for me (superspin is gone)
YIELDING usleep(0)
I0714 17:47:31.689795 51224 caffe.cpp:381] Average Forward-Backward: 1005.42 ms.
I0714 17:47:31.689807 51224 caffe.cpp:383] Total Time: 1.00542e+06 ms.
I0714 17:47:31.689821 51224 caffe.cpp:384] *** Benchmark ends ***
3401.25user 39.70system 16:46.37elapsed 341%CPU (0avgtext+0avgdata 647480maxresident)k
0inputs+8outputs (0major+4319038minor)pagefaults 0swaps

YIELDING nanosleep(0,0) // 100 loops
I0714 17:59:03.957892  3577 caffe.cpp:381] Average Forward-Backward: 895.11 ms.
I0714 17:59:03.957908  3577 caffe.cpp:383] Total Time: 89511 ms.
I0714 17:59:03.957923  3577 caffe.cpp:384] *** Benchmark ends ***
264.77user 693.81system 1:30.45elapsed 1059%CPU (0avgtext+0avgdata 647432maxresident)k
0inputs+0outputs (0major+1866537minor)pagefaults 0swaps

YIELDING {}
I0714 18:04:35.693410 47561 caffe.cpp:381] Average Forward-Backward: 879.67 ms.
I0714 18:04:35.693423 47561 caffe.cpp:383] Total Time: 87967 ms.
I0714 18:04:35.693435 47561 caffe.cpp:384] *** Benchmark ends ***
938.65user 7.66system 1:28.85elapsed 1065%CPU (0avgtext+0avgdata 647480maxresident)k
0inputs+0outputs (0major+3071869minor)pagefaults 0swaps

YIELDING pthread_yield()
I0714 18:12:05.685952 95161 caffe.cpp:381] Average Forward-Backward: 884.89 ms.
I0714 18:12:05.685964 95161 caffe.cpp:383] Total Time: 88489 ms.
I0714 18:12:05.685976 95161 caffe.cpp:384] *** Benchmark ends ***
343.83user 608.28system 1:29.35elapsed 1065%CPU (0avgtext+0avgdata 647484maxresident)k
0inputs+0outputs (0major+3299519minor)pagefaults 0swaps

YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
I0714 18:18:04.776260 39520 caffe.cpp:381] Average Forward-Backward: 889.02 ms.
I0714 18:18:04.776273 39520 caffe.cpp:383] Total Time: 88902 ms.
I0714 18:18:04.776284 39520 caffe.cpp:384] *** Benchmark ends ***
949.99user 3.86system 1:29.75elapsed 1062%CPU (0avgtext+0avgdata 647428maxresident)k
0inputs+8outputs (0major+1552663minor)pagefaults 0swaps

interesting; if it's easy to test, can you also try usleep(1) and "rep nop" instead of just "nop"

Tomorrow around same time...

pause; (rumor has it it is 10-100 cycles but certainly causes HT reconfiguration for better)
usleep(1)
nanosleep(0,1)

To keep chat alive - did you have a problem with libopenblas.so.0 in ld.so paths? Did you manage to spin up more than one core?

On the ld so paths; I'm the OS builder.... so I just update the so in the OS to avoid the problem.
more cores spin up, that works, they just are only 50% used.

I have a feeling it is similar to my usleep0 measurement.

Ermm I think everything assembly is wrong. threads may move between CPUs all the time, usleep is the winner unless nanosleep shows some wonder.
@martin-frbg don count it as code contribution, @xianyi I think this ultimately fixes all caffee/opencv woes
@fenrus75 this is low quality patch that improves sgemm(you use) and dgemm (you dont) and adds some misfortune to complex number workalikes (which means it would be nice if you dont use it more than with LD_PRELOAD just for caffee)
Basic theory - prevent one core's L2 to be accessed by other core. Correct threshold there has to be a bit bigger than L2_SIZE, but I did not pursue perfection. Basically it spends significanly less CPU time by using less than all CPUs, but completes in same time as all-or-one default calibration.
It is generated by subversion, probably $ patch < gemm-patch.txt applies it, then just run make, it will rebuild changed pieces (it is the same about small data samples that cannot utilize too many cores)
You can uncommend diagnostic printf and rebuild again to see how many cores each blas call uses.
gemm-patch.txt

patch seems to show "no harm" at least.
it also does not seem to help, so now compiling with the print added

I tested on AMD Piledriver with 2MB L2 cache per core.... i got mostly ones (which almost matches 12 cores on intel) with like 1 in 20 bigger numbers....

ah I tested on an Intel cpu with 256K l2, but huge L3

problem is transfers between core-exclusive caches that may be at the speed of slower higher level shared cache.

I managed to get time on a bigger system (28 cores/56 threads) and your patch improved performance by over 30%.
The system is still VERY idle ... but I'll take 30% ;-)

It is reasonable cpu usage....

YIELDING nanosleep 0,1 - high system CPU consumption
usleep 1 - almost usleep 0, but a bit higher kernel time
I0715 10:04:34.495175 68074 caffe.cpp:381] Average Forward-Backward: 979.99 ms.
I0715 10:04:34.495189 68074 caffe.cpp:383] Total Time: 97999 ms.
I0715 10:04:34.495203 68074 caffe.cpp:384] *** Benchmark ends ***
343.27user 11.23system 1:38.83elapsed 358%CPU (0avgtext+0avgdata 647480maxresident)k
0inputs+8outputs (0major+1530046minor)pagefaults 0swaps

BTW playing with your patch some, it may have an off-by-one/rounding error; the divide will round down, so if there's 1.9 worth of cores, it will still schedule 1 core not 2 cores...

Yes, thats intentional, there is no performance in cache to cache transfer

So I see you went from kicking sched_yield to fiddling with the GEMM threading magic. :)
Do I get it that the conclusion for the first issue was to go with
#define YIELDING asm volatile("pause;\n");
on Intel processors, or was usleep(0) the winner (where usleep is available) ? Or is there no conclusion yet except that the current sched_yield() is the worst option of them all ?

usleep 0 and usleep 1 measured best. There is no documented drawback for 0, though it looks/feels suspicious.
I think asm sleeps must be ifdef affinity... ermmm..

usleep is probably linux-specific (?), and if I followed the thread correctly it seems one would want to use asm(pause) when NO_AFFINITY is not set (so as to allow rescheduling of threads using the same core) ?

CONFORMING TO
4.3BSD,  POSIX.1-2001.   POSIX.1-2001  declares this function
obsolete;
use nanosleep(2) instead.  POSIX.1-2008 removes  the  specification
of
usleep().
usleep is pretty universal (and on linux internally maps to nanosleep)
On Wed, Aug 3, 2016 at 4:16 AM, Martin Kroeker<EMAIL_ADDRESS>wrote:

usleep is probably linux-specific (?), and if I followed the thread
correctly it seems one would want to use asm(pause) when NO_AFFINITY is
not set (so as to allow rescheduling of threads using the same core) ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/issues/923#issuecomment-237208131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPeFev8nTYo_NG2kyI4TD0no57vZXrxks5qcHiUgaJpZM4JLj0H
.

weird is that most sleep functions account enormous kernel time consumption

going into and out of the scheduler is not a cheap operation for the OS
(saying that as a kernel dev)
yield has that behavior AND a nasty semantics ("run anyone but me" which
requires some global locks) which makes it double expensive.
On Thu, Aug 4, 2016 at 4:43 AM, Andrew<EMAIL_ADDRESS>wrote:

weird is that most sleep functions account enormous kernel time consumption
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/issues/923#issuecomment-237529702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPeFRR4oT6eeFWtavFLlCg0Vt3xy5Arks5qcdBxgaJpZM4JLj0H
.


Datapoint: new component

Datapoint TDD
Datapoint Figma file

Thanks Christian! Yeah, I initially set up the component to be camel-case, but we agreed to change it to Datapoint after the work began and that’s where this issue originates from. I’ll likely close this PR/branch and just run the yarn component script with the new name to make this whole process cleaner.
Thanks!

On Apr 25, 2021, at 7:05 AM, Christian Vuerings @.***> wrote:
@christianvuerings commented on this pull request.
In packages/gestalt/src/index.js https://github.com/pinterest/gestalt/pull/1478#discussion_r619821470:

@@ -13,6 +13,7 @@ import Collage from './Collage.js';
import Collection from './Collection.js';
import Column from './Column.js';
import Container from './Container.js';
+import Datapoint from './Datapoint.js';
@ponori https://github.com/ponori just fyi, this is failing on Netlify / CI since the Linux file system is case sensitive. To fix the builds, we should change this (and other references) to ./DataPoint.js

Mac OS file system is not case sensitive so that's why it works for you locally.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/pinterest/gestalt/pull/1478#pullrequestreview-644144009, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAC7BH45ZIMMHVGIWVXU23TKQOSHANCNFSM43JUDTYA.


BufferedImage sucks for realtime video

its better to mix webcam capture api with libgdx.
Libgdx texture is so fast enough to handle realtime webcam operations.
OpenGL , OpenCL mixing.
Texture texture;
webcam.getImage(texture);

i do it with;
public void pushVideoFrameFromQueueToTexture(Texture texture, AtomicBoolean initTexture) {
    final VideoFrame picture = pictures.poll();
    if(picture != null) {
        /*long delay = millisecondsUntilTimeToDisplay(picture);
        try
        {
            if (delay > 0) {
                Thread.sleep(delay);
            }
        }
        catch (InterruptedException e)
        {
            return;
        }*/
        //long timeStamp = picture.getTimeStamp();
        //System.out.println(l+" "+picture.getTimeStamp());
        final ByteBuffer pictureByteBuffer = picture.getData();
        //long timestamp = picture.getTimestamp();

        final ByteBuffer byteBuffer = pictureByteBuffer;

        final int textureObjectHandle = texture.getTextureObjectHandle();

        glBindTexture(GL_TEXTURE_2D, textureObjectHandle); //Bind texture ID
        //Send texel data to OpenGL
        //if (init)
        final int width = picture.getWidth();
        final int height = picture.getHeight();
        //glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
        //GL11.glPixelStorei(GL11.GL_UNPACK_ALIGNMENT,1);
        if(!initTexture.get())
            GL11.glTexImage2D(GL20.GL_TEXTURE_2D, 0, GL11.GL_RGB, width , height , 0, GL11.GL_RGB , GL11.GL_UNSIGNED_BYTE, byteBuffer);
        else
            GL11.glTexSubImage2D(GL20.GL_TEXTURE_2D, 0, 0, 0, width , height , GL11.GL_RGB , GL11.GL_UNSIGNED_BYTE, byteBuffer);
        initTexture.set(true);
    }
}

is there any faster way ?

AtomicBoolean initTexture <= this is checking for texture first time run or not.
AtomicBoolean initTexture <= initial value should be false

Hi @jduke32,
You can use:
public ByteBuffer getImageBytes()

To get access to direct ByteBuffer which points to natively allocated memory, or:
public void getImageBytes(ByteBuffer target)

To copy bytes into the target (direct or non-direct depending on what type you've created).
This above methods does not involve BufferedImage creation if WebcamDevice instance implements BufferAccess, which is this is true for WebcamDefaultDevice:
https://github.com/sarxos/webcam-capture/blob/master/webcam-capture/src/main/java/com/github/sarxos/webcam/ds/buildin/WebcamDefaultDevice.java#L33
But e.g. GStreamerDevice does not support buffer access:
https://github.com/sarxos/webcam-capture/blob/master/webcam-capture-drivers/driver-gstreamer/src/main/java/com/github/sarxos/webcam/ds/gstreamer/GStreamerDevice.java#L30

Just FYI, the ByteBuffer data is RGB24.


Set isolated executor for internal services

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #12067 (791c030) into 3.2 (bc85a3f) will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #12067      +/-   ##
============================================
+ Coverage     69.61%   69.65%   +0.03%
  Complexity        2        2
============================================
  Files          1581     1581
  Lines         65156    65157       +1
  Branches       9487     9484       -3
============================================
+ Hits          45361    45382      +21
+ Misses        15446    15436      -10
+ Partials       4349     4339      -10

see 42 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


how to enable OpenH264 log on Firefox on Windows OS?

I can enabled some logging on Firefox follow this link: https://wiki.mozilla.org/Media/WebRTC/Logging,
but did not find how to on openH264 ?
thanks.

same question，wait answer


Update BACKUP, RESTORE, SHOW BACKUP

BACKUP

Added the detached option. Closes #7831.

RESTORE

Added the detached option. Closes #8119.

SHOW BACKUP

Corrected the start_time and end_time descriptions. Closes #8040.
Updated the SHOW BACKUP response. Closes #8340.
Added new syntax SHOW BACKUPS IN y and SHOW BACKUP x IN y. Closes #8293.

This update partially addresses #8431. Note that I will not be making updates to the BACKUP statement page to include the new BACKUP INTO syntax until after the release. See #8431 for more details.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/85a2e080933a82b8700846d47de9784344691e12/
Edited pages:

v20.2/backup.md
v20.2/restore.md
v20.2/show-backup.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2a55085272cd2b9b91d5ade280052258a9049bf1/
Edited pages:

v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md

Also, thoughts on "backporting" improvements on the start_time and end_time definitions in the SHOW BACKUP docs? Just got some confusion on that in Slack

in http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2a55085272cd2b9b91d5ade280052258a9049bf1/dev/manage-a-backup-schedule.html#restore-from-a-scheduled-backup

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/685371fb37af7d95a0bfc576d06f207241733947/
Edited pages:

v19.2/show-backup.md
v20.1/show-backup.md
v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md

What are your thoughts on also including the SHOW BACKUPS IN stuff in SHOW BACKUP docs or their own separate doc?

Not sure I follow. Do you mean include a SHOW BACKUPS IN example on the
SHOW BACKUP doc? There is a section already:
http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/685371fb37af7d95a0bfc576d06f207241733947/dev/show-backup.html#show-details-for-scheduled-backups
On Tue, Sep 29, 2020 at 11:27 AM Michael Wang<EMAIL_ADDRESS>wrote:

What are your thoughts on also including the SHOW BACKUPS IN stuff in SHOW
BACKUP docs or their own separate doc?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cockroachdb/docs/pull/8467#issuecomment-700783014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADVMQGELH4MCC2VD5ORWBTDSIH4FBANCNFSM4RYZ3KJA
.

Huh weird. I must have been looking at 20.1 or something. Ignore me sorry :D

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a3fd7fe3db0c869f6d95fc758e282e3e8942f2f9/
Edited pages:

v19.2/show-backup.md
v20.1/show-backup.md
v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/933db0ea4fcb8b9729223c00d671245f575b7407/
Edited pages:

v19.2/show-backup.md
v20.1/show-backup.md
v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/1aa8d9abd5f45839600998dcc108d83c9b85d970/
Edited pages:

v19.2/show-backup.md
v20.1/show-backup.md
v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4429dd468f2222005d08c888270b6cb919749fcf/
Edited pages:

v19.2/show-backup.md
v20.1/show-backup.md
v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a054ad687c849dcd667ccf7315bea462f670197b/
Edited pages:

v19.2/show-backup.md
v20.1/show-backup.md
v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md

@taroface (sorry for the noise with all the rebasing, etc.) - can you PTAL at updates and lmk if I should edit anything else? Thanks!

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/956be1269f605c703a5d1c1d968812414ab32b9d/
Edited pages:

v19.2/show-backup.md
v20.1/show-backup.md
v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5404eba61ef5301e081599ac166e4b5b3868846e/
Edited pages:

v19.2/show-backup.md
v20.1/show-backup.md
v20.2/backup.md
v20.2/create-schedule-for-backup.md
v20.2/manage-a-backup-schedule.md
v20.2/restore.md
v20.2/show-backup.md


shortend url for chart keeps getting updated on refresh

A clear and concise description of what the bug is.
When i open a char like this and click on the embed link

I get this sort of url which is shortend url

Now when I refresh the page or make any changes in the chart this url gets updated.

The problem is I want to embed this chart in my webpage. Since the url before and after are different I always see a chart which is before version and not the latest one.
How can we address this problem with a static url so that i always see a latest chart only.

Hi @snehlata08. I can see from the screenshots that you're not using the most up-to-date version of Superset. In the latest version, we use permalinks when generating embeddable code. What version of Superset are you on?

I am using superset 1.0.0

I suggest you upgrade to 2.0.1 as 1.0.0 is not supported anymore. Make sure you read UPDATING.md and CHANGELOG.md before the upgrade 😉

Thanks


[CARBONDATA-2220] Reduce unnecessary audit log

There are many unnecessary audit log in the code, this PR change them into error or info log.

[X] Any interfaces changed?
No
[X] Any backward compatibility impacted?
No
[X] Document update required?
No
[X] Testing done
rerun all test
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4025/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2780/

retest this please

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2810/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4056/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3004/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4248/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3030/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4274/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3121/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4355/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4387/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3155/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3248/

LGTM


See names of people you have added on the minimap even if they have their private off.

It's been said that the only reason this wont get implemented is because of "we respect players their privacy" but anyone who would really want to abuse it can already use konduit or osbuddy which both have it free, RL is just holding itself back with it since it's crucial in certain clans to have this and you cant have everyone added.
The only reason some pking clans still use konduit(or osb) over Runelite is this, especially when you dont want anyone to know your world you have your private turned off but cant see your friends names in the mini map anymore.
Id understand if that feature was a paid-only osbuddy benefit meaning not everyone has it but if anyone really does wish ill with it they could use any of the other clients and just hop between them, all this is doing is holding back the full switch for some people over to Runelite
If not is there a code to add this yourself?

https://github.com/runelite/runelite/wiki/Rejected-or-Rolled-Back-Features
We can make clan members cache probably and so player indicators will work straight away after hop for CC. Even though OSB and Konduit has it, it can be used to harrass players and the reasoning that it already exists elsewhere do not changes the fact and the thing that we simply do not want to promote such behaviour.

But that's the point, if someone REALLY wants to harrass someone they could just use osbuddy or Konduit straight away. Id completely understand if the feature was never made or wasnt available by just hopping to a different client within 5 seconds


doc: update links to point to gp-common

make doc links go to https://github.com/IBM-Bluemix/gp-common

LGTM.


Support Right-to-Left layout for PopupMenu and SecondWindow

Add support for RTL layout to PopupMenu and SecondWindow scenarios.

[!note]
ActiveWindow scenario is already weird and with FlowDirection="RightToLeft" it become even more weird.

[!note]
I've not checked Uno and MAUI cases since I don't have their tools installed on my machine.

This PR may fix #41

Thank you very much, I will try to check also Uno and Maui, but I think they also use the same code and will work.


Error with docker.

Hey. I tried installing the new update on docker and got this error:
ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.gpt3 value Additional properties are not allowed ('name' was unexpected)
how do I fix this?

Fixed. now I seem to have an issue that I wont be able to fix as easily tho:
"
Pulling mongodb (mongo:)...
latest: Pulling from library/mongo
ERROR: no matching manifest for unknown in the manifest list entries
"
Seems to be a common issue


📋 [Task] - Organize Observation Data by Type and Species with Review Status Verification

Organize Observation Data by Type and Species with Review Status Verification
Goal
The objective is to organize and filter the observation data into three distinct files based on the observation type:

footprint
carapace
track_plate

Additionally, create species-specific files within each observation type based on a predefined list from our configuration. This approach will enhance data organization and improve the accuracy and reliability of our future models by ensuring that observations are not mixed across different types or species.

Action Items

Data Segmentation by Type:

Break down the current observation data into three separate files, each corresponding to one of the observation types (footprint, carapace, track_plate).

Review Status Verification:

Ensure that the data included in these files is marked as REVIEWED. This verification should be performed at the observation level rather than the artifact level to avoid including false or incomplete data.

User Data Exclusion:

Exclude any user-contributed data from the extracted files, focusing primarily on the reviewer-provided data. This includes species information, ensuring that only data verified by a reviewer is used.

Handling Old Reviews:

Since old reviews might lack certain verified information, extract user-contributed species data as a backup. This also applies to other relevant fields like animal names, sex, habitat, etc.

Annotation Data Extraction:

Extract annotation data that is now stored in our database.

Species-Specific Segmentation:

Further organize the segmented files by species within each observation type. Create additional files based on species and observation type, following a predefined species list from our configuration. This will result in files like footprint_<species>.parquet, carapace_<species>.parquet, etc.

Considerations

Ensure that the segmentation and filtering processes are consistent and thorough, avoiding the inclusion of unverified or incorrect data.
The species-specific segmentation should be aligned with a configurable list, allowing for easy updates and additions as needed.
Focus on maintaining data integrity by prioritizing verified reviewer data and handling legacy data with appropriate caution.

Additional Information

[!NOTE]
Current query no longer works as it is from prior our DB schema change. Let's ensure this is updated and also includes all new fields.

Done in new repo in order to keep everything private.


Enhancement: add "Mark all messages as read" to folder context menu

Especially for the junk mail folder or trash folder this would be a nice feature to mark all messages in a certain folder as read. This could be added to the folder context menu in the folder view.

There's "mark all as read" in the message list. We have no plans to add this to the folder context menu since it is likely to go away in a future version of the app.


Added very basic render backend tests

This PR introduces a test case for basic features of the GLBackend part of the render engine, notably attribute initialisations. This test can be found in test/engine/render/backend.

Test Passed

Actual Outcome
Expected Outcome

All appears to look okay to me.


Let two instances work in parallell and share a specific amount of amps

Is your feature request related to a problem? Please describe.
I have two EVs and therefore have two separate instances of EV Smart Charging connected.  The cars usually differ a lot when it comes to SoC, and hence the need of charging on any given day varies. If both cars needs to charge you will easilly blow fuses due to excessive power outtake.
Describe the solution you'd like
I can imagine several solutions, but one that comes to mind is to have a master "controlling" instance/entities that govern some key rules of all the entities. For instance, if you in the master instance can set a max amount of amperes that the two cars can share (like 12A, or more easily to incorporate, a limited charge speed for each EV Smart Charging instance next to the one used today. This can be used to decrease % per hour when both cars are charging).
The idea is to basically limit the power per charger and/or car if both cars are charging, to set a max power out take that the cars can share.
Describe alternatives you've considered
There might be other solution, both within EV Smart Charging, Charger integration or other.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for your suggestion. I have actually been thinking about this already, and as you mention there are several ways to handle this. For example to share the available power, or to charge in sequence.
Unfortunately, this integration now is very complex, containing a large number of possible configurations. It will not be manageable to add even more conditions. So therefore, my thinking have been to create a new integration, that would be able to control multiple instances of this integration. However, that is a bit in the future, and will not happen soon.
That said, I think it shold be possible to achive what you want with a set a clever designed automations.

Sounds reasonably, I understand that this kind of feature may have conflicts on how it works today and that a rebuild of the integration might be needed.
I do think that besides that it is a nice feature, it will most likely be a more common request as more and more people are adding more EVs to their home. Many people already have one EV, and more people are probable eager to replace their second car with another EV.

I have the same "problem" with two EVs that I sometimes want to charge i parallell (sharing the available power) and sometimes in sequence.

I have now started to think about adding the possibility to charge multiple EVs (or EV plus residential batteries) in sequence. So instead of sharing the power, they will be charging in sequence.  Would that be suffcient?

Sufficient? Defintely!
I think the end result will be the same, multiple cars charged to the desired level. One caveat might be lack of (price) optimization, but I understand your approach. It should be easier to implement and in most cases it would be very effective.

I agree that charing in sequence should be sufficient in the normal case when everything goes well.
Though if anything happens, anything interrupts the charging prematurely, you may end up with one car charged and the other one uncharged, even if it would have been better to have both partially charged.
An option may be to charge the interleaved, for instance one hour a time?
Or maybe have a flexible enough solution so that you can choose a charging algorithm; sequence, interleaved, shared, ... that can be extended over time with new algorithms?
If going for sequential charging (only) I think it may be good to have an option to prioritze which car to start with.


Tensorflow Lite on Raspberry Pi

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
tflite_runtime-2.12.0-cp39-cp39-manylinux2014_armv7l.whl
Custom Code
Yes
OS Platform and Distribution
Linux raspbari14 6.1.32-v7+ #1656 SMP Wed Jun  7 11:31:19 BST 2023 armv7l GNU/Linux
Mobile device
No response
Python version
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
Bazel version
No response
GCC/Compiler version
[GCC 10.2.1 20210110] on linux
CUDA/cuDNN version
n/a
GPU model and memory
n/a
Current Behaviour?
Not working as documented:
import tflite_runtime.interpreter as tflite
How to import Tensorflow Lite in python scripts?
Standalone code to reproduce the issue
$ python3 -m pip install tflite-runtime
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting tflite-runtime
  Downloading tflite_runtime-2.12.0-cp39-cp39-manylinux2014_armv7l.whl (1.8 MB)
     |████████████████████████████████| 1.8 MB 2.6 MB/s
Requirement already satisfied: numpy>=1.19.2 in /home/chowkidar/.local/lib/python3.9/site-packages (from tflite-runtime) (1.23.1)
Installing collected packages: tflite-runtime
Successfully installed tflite-runtime-2.12.0
$ python3
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'tensorflow'
>>> import tflite_runtime.interpreter as tflite
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/chowkidar/.local/lib/python3.9/site-packages/tflite_runtime/interpreter.py", line 33, in <module>
    from tflite_runtime import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
ImportError: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/chowkidar/.local/lib/python3.9/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.so)
>>>

Relevant log output
No response

Hi @baqwas ,
From the error ModuleNotFoundError: No module named 'tensorflow' it seems Tensorflow not installed in your current directory or it might have corrupted in which case try uninstalling tensorflow and then install again and let us know the result.
Also it seems your environment has glib version 3.4.29 but Manlinux wheels have limitation w.r.t max glib version supported. Please refer the manlinux readme the max glib version supported is 2.17 for manylinux2014 wheel. Please downgrade the glib version to 2.17 and then try the installation.
Thanks!

Thanks for the quick feedback. I'll try your suggestions shortly. I have Raspberry Pi 3B+ and 4 but cannot install tensorflow successfully with the basic the pip method owing to version conflicts. Are there tensorflow version constraints for ARM arm64/aarch64 (using Raspberry Pi OS not Raspbian OS for Bullseye and Ubuntu 23.04 Desktop [sic])?
Regards.

@baqwas ,
For Tensorflow there are no prebuilt binaries for Arm/AArch architecture. Maybe you can use build from source for building the wheel for Arm/Aarch architecture referring to the source here.
Thanks!

Hello @SuryanarayanaY,
Thanks for your suggestion. I've run into several version conflicts (with the supporting utilities and with earlier versions of tensorflow source) and realized that others too have experienced similar problems. It is insane/impractical expectation on my part to use TF on RPi; I'd like to use only TFL consistently on RPi (arm64/aarch64). I can get going with some examples but the slightest upgrade (clang, gcc, etc.) break the solution.
Thanks for the link (even though I was familiar with it previously but could not complete ALL the steps successfully - not an issue for me right now!). I repeat the exercise in due course.
Thanks for your support all the same. At least I have an informed person responding to my queries. Helps me to stay level headed about expectations.
Regards.


Fixed bug in libuv plugin which caused 'Unknown implicit send message op=X' error

See for more info: http://www.couchbase.com/issues/browse/JSCBC-14.

Closing, no longer relevant.


[FIX] seems templateflow env variable was not used but still success?

Seems even a fake $TEMPLATEFLOW_HOME env variable (i.e., no templateflow installed in that directory) can also lead to successful babs runs? Debug why.

TODO:

[ ] fix this bug
[ ] update docs: https://pennlinc-babs.readthedocs.io/en/latest/preparation_config_yaml_file.html
[ ] update pytest for babs-init

Okay, this might be a false alarm. This directory is to store any templates to be downloaded. So my understanding is, as long as this directory exists, then it's fine. You'll see it's filled with templates after running fmriprep or qsiprep or so. See:

templateflow and singularity
fmriprep 20.2.0
fmriprep 23.0.2 Q&A

I just enhanced the way how env var TEMPLATEFLOW_HOME is set within the container. Previously export SINGUALRITYENV_* is used, but that's not preferred by new version of singularity: apptainer. So I changed the way to --env when singularity run


fix: Adds LOCK TABLES grant for RDS version of grant_all_privileges

Frappe uses a forked path to handle RDS grant all permissions.
Currently restoring a website errors on lack of permissions. This is caused due to the restore process trying to lock tables and not having that permission when the site db user is created.

@DeveloperMetal you sent a PR upstream?

Pull Request Test Coverage Report for Build 987

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 51.871%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

frappe/database/db_manager.py
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

frappe/utils/change_log.py
3
21.53%

Totals

Change from base Build 983:
-0.002%

Covered Lines:
21706

Relevant Lines:
41846

💛  - Coveralls

Added upstream to v12 and develop.


XplatReleaseNotes fails when a git repo is an artifact

The Xplat Release Notes fails when you have an artifact which is a git repo.
2018-09-27T14:38:22.1769775Z Looking at artifact [_iSAMS.Docker]
2018-09-27T14:38:22.1770077Z Build Number: [c80076f7]
2018-09-27T14:38:22.1770442Z Looking for the [_iSAMS.Docker] in the most recent successful release [iSAMS_<IP_ADDRESS>]
2018-09-27T14:38:22.1770741Z Found artifact [_iSAMS.Docker] with build number [01914223] in release [iSAMS_<IP_ADDRESS>]
2018-09-27T14:38:22.1770976Z Checking what commits and workitems have changed from [01914223] => [c80076f7]
2018-09-27T14:38:22.1772002Z ##[debug]ReleaseNotes.Fix349=undefined
2018-09-27T14:38:22.2142723Z ##[error]Error: fromBuildId or toBuildId is null. Supply a valid value and try again.

When you say a Git repo you mean a non Azure DevOps hosted Git repo, and a non GitHub hosted GitRepo?

Should work with azure devops repo. I wonder if they have changed a name of the repo type?

OK, I have done some testing and I cannot get a repo on this issue.
I am using a pipeline that tests both the V1 and V2 extensions . This release:

Uses a Azure DevOps build on the same instance as its artifact
Runs the V1 task and emails the results (V1.9.1 manually updated version number, had not expected to touch this again, maybe should removed but that is another question)
Runs the V2 task and emails the results (V2.62 updated version  number by pipeline)
The runs another build to add new commits for the next run (you can't do this at the start as the build details are 'locked' as the release starts)

As I noted this is running against an update private 2.6.2 of the extension, with a matching V2 task, but all this does is fix the V1 (now 1.9.1) to handle dev.azure.com URLs (not required for V2) and update a load of NPM packages to get rid of vulnerabilities. So this should not effect your issue.
The  V1 template returns
# Release notes
## Notes for release  Validate - Git XplatGenerateReleaseNotes **Release Number**  : Release - 2374 Attempt 1 **Release completed** : 2018-10-03T11:39:17.207Z **Compared Release Number**  : Release - 2373 Attempt 1

### Associated work items
* ** Product Backlog Item 13 ** Assigned by: Richard Fennell (Work MSA<EMAIL_ADDRESS>PBI to link
* ** Bug 14 ** Assigned by: undefined  Bug to link

### Associated commits
* **ID 3640a2453cf5f850de52198e4f26494bf53ceaf5 ** Automated Repo Update #13 #14

The V2 returns
## Notes for release  Validate - Git XplatGenerateReleaseNotes **Release Number**  : Release - 2374 Attempt 1 **Release completed** : Wed Oct 03 2018 11:39:17 GMT+0000 (Coordinated Universal Time) **Compared Release Number**  : Release - 2373 Attempt 1

### Associated work items
* ** Product Backlog Item 13 ** Assigned by: Richard Fennell (Work MSA<EMAIL_ADDRESS>PBI to link
* ** Bug 14 ** Assigned by: undefined  Bug to link

### Associated commits
* ** ID 3640a2453cf5f850de52198e4f26494bf53ceaf5 ** Automated Repo Update #13 #14

So is working, so how is different to your setup?

Hi,
I mean an actual git repo. Not a build artifact.  Looking at your pipeline I’m not seeing a git repo as an artifact.
Thanks,
Greg

Ah, sorry misunderstood, I will mod my test pipeline

OK @gregpakes I have done some more testing, and update the private release of the extension to do testing, which you can have access to if you need.
The behavior of of the Azure DevOps UI is to only return WI/Commits from Pipeline based builds.
On the old V1 task there was a problem that it tried to get build details from non build artifacts, I fixed this. I also added support for the dev.azure.com format

Side note, I wonder how long to keep V1 in the extension package?

On the V2 task there was no need to fix the URLs the API does that, but I have struggled to get a repo on your issue. But when it occurs the issue is that again if the artifact is not a pipeline build we get a failure, but not all the time - hence the problem
You can see on my tests only 2379 shows the problem. The two after that should have failed too.
I think a guard 'if' must be needed (as per V1), but the API wrapper library does not give an easy way to see the artifact type (unlike the direct API call in V1). I thought we might be able to use the BuildDefinationID, check if this is numeric, but both Git commits and BuildID as numbers so no luck there.
I suppose the alternative is a try/catch
Can't think why it is not repeatable all the time.

I have now removed V1 from the package so this issue mostly goes away
As I can't get a repo for V2. I am closing this issue. If this issue returns, we we can get a repo, please do not hesitate to re-open it


update dependencies

Codecov Report
Base: 99.81% // Head: 99.46% // Decreases project coverage by -0.35% :warning:

Coverage data is based on head (8298155) compared to base (698d706).
Patch coverage: 33.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.2     #715      +/-   ##
==========================================
- Coverage   99.81%   99.46%   -0.36%
==========================================
  Files          47       20      -27
  Lines        2206     1127    -1079
  Branches      341      187     -154
==========================================
- Hits         2202     1121    -1081
- Misses          2        3       +1
- Partials        2        3       +1

Flag
Coverage Δ

production
?

reference
99.46% <33.33%> (-0.18%)
:arrow_down:

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

Impacted Files
Coverage Δ

reference/lib/ReferenceOrderValidator.sol
98.89% <33.33%> (-1.11%)
:arrow_down:

contracts/lib/Consideration.sol

contracts/lib/ConsiderationBase.sol

contracts/lib/CriteriaResolution.sol

contracts/lib/OrderCombiner.sol

contracts/lib/OrderFulfiller.sol

contracts/lib/OrderValidator.sol

contracts/lib/TokenTransferrer.sol

contracts/lib/SignatureVerification.sol

contracts/lib/CounterManager.sol

... and 18 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Question] Is the project still under development?

I used your project when you had an "Alexa". I migrated to google home and saw that the project is not available.

I tried to deploy and configure the base project on my server but without success. (https://github.com/hardillb/node-red-contrib-googlehome-web)
Could you help me with the basics of how to set it up?
Thank you

Yes, it's still being worked on, I'm now blocked by Google's SDK for local control not supporting hub style devices.
I am trying to find time to get the service as it is approved and released, as it says in BIG RED LETTERS you need to be patient.
No, I will not be supplying any instructions about how to run your own version of the service


Updating Footer

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
The footer style should match the standards of a footer.
Screenshots
Enhancing Footer under JWOC
Code of Conduct

[X] I follow Contributing Guidelines of this project.

The footer present is fine and good. Brief the change you will do or provide any reference screenshot. @Viveksati5143

@Rakesh9100 The standard footer should be present in the center instead of left.
Also, i can enhance the footer's colour according to you

Assigning to you, but issue will be closed if it will not look a good enhancement @Viveksati5143


CoC Revision

Changes to the CoC to use better language to define what harassment is and the enforcement policies are. Updated with linked list of current slack administrators and added links to define some language used.

Going to leave a note here that I will respond as things are commented on, but I won't update it for a few days so there will be time to read and discuss the proposed changes.

I think there should also be an common etiquette section that lists some stuff that wouldn't fit in the CoC. Specifically unsolicited DMs, and other courtesy rules -- similar to what was listed on the IRC channel.

How about this for etiquette?
Remarks that make any community members go "Hm, that’s inappropriate" are not allowed. If anyone asks you to halt an argument or stop making a joke, please do so. You are welcome to contact any of the admins privately to discuss the situation.

I don't think etiquette needs to be in the CoC but can go in the new Slack Assets repo

Yeah, I think that might be good idea to keep the two (CoC and general etiquette rules) separate.

Due to lack of action on the part of anyone else here I am feeling that I am being humored about implementing and enforcing a CoC rather than this being taken seriously. I am closing this PR and retracting my offer to help author this. Frankly, I don't have the time or patience to hand-hold this community to understanding why this is necessary if they cannot try to make it better. This is coming from my own frustration with this PR and other interactions I've had on this PR and on slack. If someone else wants to pick this up and try again you can take any of the language used, I won't delete my fork of this.
Cheers.


New PR to test SignCLA at 2017-11-07 20:24:45.464179133 -0800 PST m=+73.753254711

Body of PR

indiv-pass-fork-staging: test succeeded


Finish federated plugin refactor

Example: https://github.com/flutter/plugins/tree/main/packages/url_launcher

I will postpone this because I am unsure if I want to finish it anyways.
Let's see what the future brings. For now, I am planning on publishing the first version of this package today

If someone wants to tackle this as part of hacktoberfest, you are free to do so :)
You just need to "extract" the platform-specific codes to own packages

Already done for quite some time. Forgot to close this issue


[SPARK-35701][SQL] Use copy-on-write semantics for SQLConf registered configurations.

What changes were proposed in this pull request?
Using copy-on-write for SQLConf.sqlConfEntries and SQLConf.staticConfKeys to reduce contention in concurrent workloads.
Why are the changes needed?
The global locks used to protect SQLConf.sqlConfEntries map and the SQLConf.staticConfKeys set can cause significant contention on the SQLConf instance in a concurrent setting.
Using copy-on-write versions should reduce the contention given that modifications to the configs are relatively rare.

Can one of the admins verify this patch?

jenkins add to whitelist

jenkins ok to test

Test build #139640 has started for PR 32865 at commit f3fad1d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44166/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44168/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44166/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44166/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44168/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44168/

BTW, seems like the GA tests were not triggered for some reasons ..

One question, is this to prevent lock on retrieval? But seems "Retrieval operations (including get) generally do not block...", based on the API doc of ConcurrentHashMap.

ConcurrentHashMap can also have contention issues. Copy on write should be better, given that modifications are relatively rare.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44217/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44217/

Test build #139697 has started for PR 32865 at commit 994cab2.

Can one of the admins verify this patch?

retest this please

Test build #139741 has started for PR 32865 at commit 994cab2.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44266/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44266/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44266/

Test build #139741 has finished for PR 32865 at commit 994cab2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139741/

Thanks all! Merging to master.

Thank you all!


Alias/rename --repository flag to --repo flag

Typing --repository is cumbersome.
Accepting a --repo shorthand would be nice.

FYI, the binary should support autocomplete.
https://github.com/drone/drone-cli/blob/master/drone/main.go#L28
Which can be taken advantage of by https://github.com/urfave/cli#enabling

But it still makes sense to add this alias for people without auto completion :)

@jmccann I just installed bash complete for urfave/cli but it only seems to handle completion for commands, but not for flags :(


crash

when leaving geode for 20+ sec geode crashes
crashlog
Crash 2024-03-10 07.41.41.dmp

another crashlog
Crash 2024-03-10 08.21.27.dmp

just to make sure, this is on the latest version? v1.3.2?

its 1.3.2

does this still happen on the latest version?

closing as stale, please make a new issue if this still happens on the latest version


Update page titles

Changes
Updates page titles as per EQ-230
How to test

Check out the branch
Run the app
Run the automated tests

Who can test
Anyone except @weapdiv-david

I thought it was simple.
However the Error page one isn't work, it gets override in the errors/error.html template 👎

LGTM 👍


Autologin Issue

I use ssh and remote desktop for communicating with my raspberry pi all sky imager.
Its not possible to set autologin for Consol AND Desktop.
Recently I had to add a new super user to connect again via remote desktop because the account is stucked.
Related
Can you help?

Further to what I wrote before, after a bit more Googling (and noticing a lot of people complaining about having trouble getting the VNC service built into the Pi to actually work properly), I stumbled across this tutorial.
on the Pi
I began by going back into raspi-config, disabling VNC, setting the boot mode back to B1, and rebooting.
Then I followed the tutorial:
$ sudo apt update
$ sudo apt install -y xfce4 xfce4-goodies
$ sudo apt install -y tightvncserver
$ sudo apt install -y dbus-x11

The first one installed a lot of stuff. I'm never particularly happy when something has crate-loads of dependencies but I was doing this on a test server so it didn't really matter. The tutorial continues:
$ vncserver

where you set a password to control access to VNC (not the user account on the Pi).
$ vncserver -kill :1
$ mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
$ echo -e '#!/usr/bin/env bash\nxrdb $HOME/.Xresources\nstartxfce4 &\n' >~/.vnc/xstartup
$ chmod +x ~/.vnc/xstartup
$ vncserver

on the Mac/Linux box
Then, on the machine you want to connect from (this isn't immediately clear in the tutorial):
$ ssh -L «localPort»:<IP_ADDRESS>:«remotePort» -C -N «user»@«host»

where:

«localPort» can be anything but is usually 5901
«remotePort» should be 5901 (unless you change the config)
«user» would be the login name of the account on the Pi where you were running vncserver above
«host» would be the IP address or hostname or fully-qualified domain name of the Pi:

Example:
$ ssh -L 5901:<IP_ADDRESS>:5901 -C -N<EMAIL_ADDRESS>
In words, -L listen on local port 5901 and securely forward to remote port 5901 on <IP_ADDRESS>, connecting as the user "pi". -C enables compression and -N doesn't execute any commands (ie doesn't try to start bash).
Now, in my case, I have SSH certificates set up so I can just abbreviate that to:
$ ssh -L 5901:<IP_ADDRESS>:5901 -C -N sec-dev

where "sec-dev" is the hostname of the Pi. No password prompt or anything else. Just straight in. The pi@ is implied from the hostname and comes from my ~/.ssh/config file.
If you haven't set up either certificates or arranged key-exchange for passwordless login, you'll probably face the TOFU (trust on first use) challenge and a password challenge.
The command will then freeze.
Then, while that command is running, start your VNC client and connect to <IP_ADDRESS>:5901 (or localhost:5901). It wanted the password set the first time I ran vncserver as above. Worked first time from the macOS "connect to server" command, no drama at all:

To exit, you quit the screen sharing window, and then CONTROL+C the SSH command.
As an alternative, you can run the SSH command in the background:
$ ssh -L 5901:<IP_ADDRESS>:5901 -C -N sec-dev &

When you're done, kill it with:
$ kill %1

but if it's Windows…
I don't know. The tutorial burbles on about putty which I have never used and don't understand but I guess it would make sense to a Windows user.
doing without SSH
Using SSH gives you secure transport. If you want to do without, you can just go straight to:
vnc://host-or-IP:5901/

That worked just fine from both macOS and a VNC app on my iPad.
Personally, I don't care about the SSH encryption for VNC traffic because:

If I'm working locally, it's just my local home network; and
If I'm working remotely, everything is already encrypted via ZeroTier or WireGuard.

other odds and ends
The Pi did not hang when I rebooted while VNC was running. That's only N=1 so not much of a test but it's promising.
After the reboot, VNC is not available until you (a) connect to the Pi and (b) run vncserver. If you wanted it to be always-on, you'd probably need something like an @reboot entry in your crontab.

Hi Paraphraser,
I was not expecting such a detailed analysis, your expertise isincredibly helpful.
First of all, I just use xrdp for a remote desktop session (Windows 10). Your suggestion for connection a monitor for resolving the issue wont be a longterm solution, since the problem could occur again and again.

On the left side, I logged in with my "pi" user, its connected but no screening, since I believe its stucked in a login phase or something like this. After creating via ssh a new super user "dlr", it works for now..,but I guess the same can happen here again. Iam looking for a solution to get the "pi" user back at my remote desktop screen.. I will try a bit around with autologgin options and report if something worked...

Some questions just become voyages of discovery. I get as much out of the research as I hope you do when I show what I have done.
Is "pi" still "stuck"? The most common reasons are something wrong with either .profile or .bashrc. If you can login as root then just go to /home/pi and rename those two files so they don't run at login time. Another possibility is a misbehaving cron job. That's stored at /var/spool/cron/crontabs/pi and can be moved out of the way too.

hey Paraphraser Iam still trying to resolve this issue:

I renamed  .profile and .bashrc and rebootet, still not able to get a screen working with remote desktop using "pi" as user.

The issue seems to be related to "video" and "render" groups..
https://forums.raspberrypi.com/viewtopic.php?t=323471&hilit=xrdp&sid=4b40dd5ac0f90de62c6055be41c841af&start=25 thanks for your help Paraphraser, I will go with the 2nd user I created.

if you create a new user and add it to the group video and render:
sudo usermod -a -G plugdev,adm,dialout,cdrom,sudo,audio,video,render,games,input,netdev,spi,i2c,gpio <new_username>
the same issue occur

Well, I've left the TightVNC installation running on my test machine and, so far, it has not misbehaved at all. I'm thinking of rewriting the VNC tutorial say something along the lines of "option 1 is to enabled the built-in option while option 2 is TightVNC. A lot of people report problems getting the built-in version working reliably so option 2 is recommended at this point".


[Change Request] Delete [Scope('OnPrem')] from procedure SetHidePrintDialog, codeunit 6 "Fiscal Year-Close"

Describe the request
Delete [Scope('OnPrem')] from procedure SetHidePrintDialog, codeunit 6 "Fiscal Year-Close", because it doesn't look right.
[Scope('OnPrem')]
procedure SetHidePrintDialog(NewHidePrintDialog: Boolean)
begin
HidePrintDialog := NewHidePrintDialog;
end;
.>>>>>>>>>>>>
procedure SetHidePrintDialog(NewHidePrintDialog: Boolean)
<<<<<<<<<<<<
begin
HidePrintDialog := NewHidePrintDialog;
end;
Additional context
We need to hide the dialog box, but we can't do it because of the "[Scope('OnPrem')]" parameter.
Internal work item: AB#560501

Availability update: We will publish a fix for this issue in the next update for release 25.
Build ID to track: 28271.


[BUG] Enable to access Point cloud/image in ROS noetic with OAK-D Pro Poe camera (Ubuntu 20.04)

We are able to access depthai_demo.py and also most of the scripts in depthai-python repo.
Can we get assistance with the following issue?
When we run :
roslaunch depthai_examples stereo_inertial_node.launch
This is the output from the terminal.
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://harsh-il:44519/

SUMMARY
========

PARAMETERS
 * /depth_image_to_rgb_pointcloud/queue_size: 10
 * /robot_description: <?xml version="1....
 * /rosdistro: noetic
 * /rosversion: 1.15.14
 * /stereo_inertial_publisher/LRchecktresh: 5
 * /stereo_inertial_publisher/angularVelCovariance: 0
 * /stereo_inertial_publisher/confidence: 200
 * /stereo_inertial_publisher/depth_aligned: True
 * /stereo_inertial_publisher/detectionClassesCount: 80
 * /stereo_inertial_publisher/dotProjectormA: 200.0
 * /stereo_inertial_publisher/enableDotProjector: False
 * /stereo_inertial_publisher/enableFloodLight: False
 * /stereo_inertial_publisher/enableSpatialDetection: True
 * /stereo_inertial_publisher/expTime: 20000
 * /stereo_inertial_publisher/extended: False
 * /stereo_inertial_publisher/floodLightmA: 200.0
 * /stereo_inertial_publisher/imuMode: 1
 * /stereo_inertial_publisher/linearAccelCovariance: 0
 * /stereo_inertial_publisher/lrcheck: True
 * /stereo_inertial_publisher/manualExposure: False
 * /stereo_inertial_publisher/mode: depth
 * /stereo_inertial_publisher/monoResolution: 720p
 * /stereo_inertial_publisher/mxId: 19443010F10C731300
 * /stereo_inertial_publisher/nnName: x
 * /stereo_inertial_publisher/poeMode: True
 * /stereo_inertial_publisher/previewHeight: 416
 * /stereo_inertial_publisher/previewWidth: 416
 * /stereo_inertial_publisher/rectify: True
 * /stereo_inertial_publisher/resourceBaseFolder: /home/hbk/oakd_pr...
 * /stereo_inertial_publisher/rgbResolution: 1080p
 * /stereo_inertial_publisher/rgbScaleDinominator: 3
 * /stereo_inertial_publisher/rgbScaleNumerator: 2
 * /stereo_inertial_publisher/sensIso: 800
 * /stereo_inertial_publisher/stereo_fps: 15
 * /stereo_inertial_publisher/subpixel: True
 * /stereo_inertial_publisher/syncNN: True
 * /stereo_inertial_publisher/tf_prefix: oak
 * /stereo_inertial_publisher/usb2Mode: False

NODES
  /
    depth_image_convertion_nodelet (nodelet/nodelet)
    depth_image_to_rgb_pointcloud (nodelet/nodelet)
    nodelet_manager (nodelet/nodelet)
    oak_state_publisher (robot_state_publisher/robot_state_publisher)
    stereo_inertial_publisher (depthai_examples/stereo_inertial_node)

auto-starting new master
process[master]: started with pid [105521]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 41e4c682-6a82-11ed-b084-3d427a22a2e4
process[rosout-1]: started with pid [105542]
started core service [/rosout]
process[oak_state_publisher-2]: started with pid [105549]
process[stereo_inertial_publisher-3]: started with pid [105550]
process[nodelet_manager-4]: started with pid [105551]
process[depth_image_convertion_nodelet-5]: started with pid [105552]
process[depth_image_to_rgb_pointcloud-6]: started with pid [105558]
[ INFO] [1669134321.228269819]: Initializing nodelet with 12 worker threads.
 nnPath ,, /home/hbk/oakd_pro/depthai_ws/src/depthai-ros/depthai_examples/resources/yolov4_tiny_coco_416x416_openvino_2021.4_6shave_bgr.blob
1280 720 1280 720
Listing available devices...
Device Mx ID: 19443010F10C731300
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
================================================================================REQUIRED process [stereo_inertial_publisher-3] has died!
process has died [pid 105550, exit code -6, cmd /home/hbk/oakd_pro/depthai_ws/devel/lib/depthai_examples/stereo_inertial_node __name:=stereo_inertial_publisher __log:=/home/hbk/.ros/log/41e4c682-6a82-11ed-b084-3d427a22a2e4/stereo_inertial_publisher-3.log].
log file: /home/hbk/.ros/log/41e4c682-6a82-11ed-b084-3d427a22a2e4/stereo_inertial_publisher-3*.log
Initiating shutdown!
================================================================================
[depth_image_to_rgb_pointcloud-6] killing on exit
[depth_image_convertion_nodelet-5] killing on exit
[nodelet_manager-4] killing on exit
[stereo_inertial_publisher-3] killing on exit
[oak_state_publisher-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

We did some digging in the code of stereo_intetial_publisher.cpp and code is getting stuck at line 389
device = std::make_shared<dai::Device>(pipeline, deviceInfo);

Thank you in advance for the solution.

Can you check if it works by unplugging and plugging the device back after running depthai_demo.py ?

I was able to make it work by changing the IP address.
Not sure what was the issue.
Thank you very much @saching13
Now when I am running this package in a container I am not able to access the point cloud it says no cameras are available.
I am using the bridge network in docker.
Can we specify an IP address instead of Mx ID  to search for the camera?

@harshkakashaniya  yes. you can use the IP to search for the device.
there is a on-going PR for that here


install AWS CLI 1.11.91

https://github.com/Shippable/admiral/issues/1875

closing this PR after discussion with @ric03uec AWS CLI, docker versions will not be common across all the OS/architectures. So, we will not be making any changes to U14 scripts


support for Map(/embedded) field

do you plan to add support for embedded or map field?

What do you mean by "embedded field"?

something like mongodb's embedded document / field
what I am suggesting is a type converter for classes (maybe with its annotation)
for example a usecase would be if you wanted to store a one to many or one to one relationship
in my usecase, I need it to store items and translation of those items

I made a somewhat implementation of map field in this.
All I have done is to make the map to json string via dart's jsonEncode(Decode) and then store it as Uint8List.
This may prohibits some operations like filtering or getting lazily data from the map (as it has, to my understanding, load all the map to access its members)
PS. I have removed the packages' versions because of a conflict

@michalisioak Okay I understand what you mean. You have two options:
You can either use an IsarLink to store an embedded object. Currently you have to delete it yourself if you delete the parent object but you can use it in queries.
The other option is to use TypeConverters which allow you to convert your object to a json string or Uint8List like you did in your example.

ok, thanks

@michalisioak Does that work for you?

theoretically, yes
practically, I have not tried it yet

import 'dart:collection';
import 'dart:convert';

import 'package:isar/isar.dart';

part 'isar_map_entity.g.dart';

@Embedded(inheritance: false)
class IsarMapEntity with MapMixin<String, dynamic> {
  @ignore
  Map<String, dynamic> _map = {};

  String get json => jsonEncode(_map);

  set json(String value) => _map = jsonDecode(value);

  @override
  dynamic operator [](Object? key) => _map[key];

  @override
  void operator []=(String key, value) => _map[key] = value;

  @override
  void clear() => _map.clear();

  @ignore
  @override
  Iterable<String> get keys => _map.keys;

  @override
  dynamic remove(Object? key) => _map.remove(key);

  IsarMapEntity();

  IsarMapEntity.fromJson(this._map);

  Map<String, dynamic> toJson() => _map;
}

That's a really nice solution @dovecheng

import 'dart:collection';
import 'dart:convert';

import 'package:isar/isar.dart';

part 'isar_map_entity.g.dart';

@Embedded(inheritance: false)
class IsarMapEntity with MapMixin<String, dynamic> {
  @ignore
  Map<String, dynamic> _map = {};

  String get json => jsonEncode(_map);

  set json(String value) => _map = jsonDecode(value);

  @override
  dynamic operator [](Object? key) => _map[key];

  @override
  void operator []=(String key, value) => _map[key] = value;

  @override
  void clear() => _map.clear();

  @ignore
  @override
  Iterable<String> get keys => _map.keys;

  @override
  dynamic remove(Object? key) => _map.remove(key);

  IsarMapEntity();

  IsarMapEntity.fromJson(this._map);

  Map<String, dynamic> toJson() => _map;
}

I also implemented something similar to support some custom types I didn’t
need to index the content.
I wrote a lot of boilerplate code for it. Would it be possible to have an
annotation for json types?
Something like @embedWithJson ?
On Sun 9 Oct 2022 at 13:06, dovecheng @.***> wrote:

import 'dart:collection';import 'dart:convert';
import 'package:isar/isar.dart';
part 'isar_map_entity.g.dart';
@Embedded(inheritance: false)class IsarMapEntity with MapMixin<String, dynamic> {
@ignore
Map<String, dynamic> _map = {};
String get json => jsonEncode(_map);
set json(String value) => _map = jsonDecode(value);
@override
dynamic operator [](Object? key) => _map[key];
@override
void operator []=(String key, value) => _map[key] = value;
@override
void clear() => _map.clear();
@ignore
@override
Iterable get keys => _map.keys;
@override
dynamic remove(Object? key) => _map.remove(key);
IsarMapEntity();
IsarMapEntity.fromJson(this._map);
Map<String, dynamic> toJson() => _map;
}
[image: image]
https://user-images.githubusercontent.com/34654145/194753377-49e4e968-e3d2-42aa-8dbc-91ca5ff4ed90.png
—
Reply to this email directly, view it on GitHub
https://github.com/isar/isar/issues/32#issuecomment-1272517305, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAL75IZZ2D2OOHACVNHOQ3WCKRNDANCNFSM4ZG2JVFQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

import 'dart:collection';
import 'dart:convert';

import 'package:isar/isar.dart';

part 'isar_map_entity.g.dart';

@Embedded(inheritance: false)
class IsarMapEntity with MapMixin<String, dynamic> {
  @ignore
  Map<String, dynamic> _map = {};

  String get json => jsonEncode(_map);

  set json(String value) => _map = jsonDecode(value);

  @override
  dynamic operator [](Object? key) => _map[key];

  @override
  void operator []=(String key, value) => _map[key] = value;

  @override
  void clear() => _map.clear();

  @ignore
  @override
  Iterable<String> get keys => _map.keys;

@override

dynamic remove(Object? key) => _map.remove(key);
IsarMapEntity();
IsarMapEntity.fromJson(this._map);
Map<String, dynamic> toJson() => _map;
}

Might I know how to use this amazing script?
I am beginner and having encountered the following problem.

Many thanks!

@mwc2016 use CollectionSchema see: (not @Embedded)
@Name('config_v1')
@Collection(accessor: 'configs', inheritance: false)
class ConfigModel implements MapEntry<String, dynamic> {
  Id id = Isar.autoIncrement;

  @override
  @Index(unique: true)
  late String key;

  @ignore
  @override
  dynamic value;

  @visibleForTesting
  String get stringify => jsonEncode(value);

  @visibleForTesting
  set stringify(dynamic value) => this.value = jsonDecode(value);

  ConfigModel();

  ConfigModel.entry(this.key, this.value);
}


framework/config,server: configkey caching

Description
Added caching for ConfigKey value retrievals based on the Caffeine in-memory caching library.
https://github.com/ben-manes/caffeine
Currently, expire time for a cache is 30s and each update of the config key invalidates the cache. On any update or reset of the configuration, the cache automatically invalidates for it.
This useful when there are concurrent operations as it will prevent multiple DB queries within a short span of time.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI
[ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan packaging

@blueorangutan package

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10930

@blueorangutan test

@shwstppr a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian test result (tid-11317)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 48173 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9628-t11317-kvm-ol8.zip
Smoke tests completed. 139 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File


test: revised localstack configuration for AWS Lambda invocation on arm64

The changes are related to the local stack timeout issue in arm64; for additional information, see localstack/localstack#8878 (comment).

I'm closing this pull request for now. The problem doesn't seem to be related to LocalStack; I can successfully run LocalStack on M1 without any issues using the current setup. However, when running the container alongside Kafka and others, an issue arises.


Update circe-core, circe-generic, ... to 0.13.0

Updates

io.circe:circe-core
io.circe:circe-generic
io.circe:circe-parser
io.circe:circe-testing

from 0.12.3 to 0.13.0.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

labels: library-update, semver-minor

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #25   +/-   ##
=======================================
  Coverage   77.89%   77.89%
=======================================
  Files           6        6
  Lines          95       95
=======================================
  Hits           74       74
  Misses         21       21

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 76cbc5e...7943a8f. Read the comment docs.


Empty responses in same (keep-alive) connection after innaccurate middleware call

If some middleware replaces context.Response.Body with new stream and does not return original one back (due to exception, for example) - then all subsequent requests (to other middleware!) in this keep-alive connection (that's important) will return empty body.
Sample Startup.cs:
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;

namespace IISIntegrationResponseBug
{
    public class Startup
    {
        public static void Main(string[] args)
        {
            var host = new WebHostBuilder()
                .UseKestrel()
                .UseContentRoot(System.IO.Directory.GetCurrentDirectory())
                .UseStartup<Startup>()
                .Build();

            host.Run();
        }

        public void ConfigureServices(IServiceCollection services)
        {
            // Nothing
        }

        public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
        {
            loggerFactory.AddConsole(LogLevel.Debug);

            app.UseDeveloperExceptionPage();

            app.Use(async (context, next) =>
            {
                if (context.Request.Path == "/fail")
                {
                    var originalResponse = context.Response.Body;

                    context.Response.Body = new System.IO.MemoryStream();
                    // ^^^^ This is a cause

                    throw new Exception();
                }
                if (context.Request.Path == "/")
                {
                    await context.Response.WriteAsync("Hello, World");
                    return;
                }
                await next.Invoke();
            });
        }
    }
}

Sample project.json (nothing special, just FYI):
{
  "dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.0",
      "type": "platform"
    },
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0"
  },

  "frameworks": {
    "netcoreapp1.0": {}
  },

  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },

  "runtimeOptions": {
    "configProperties": { "System.GC.Server": true }
  }
}

Now start app, open browser and navigate to http://localhost:5000/ - "Hello World" is shown, good.
Now open http://localhost:5000/fail - nothing is shown. A little strange (where is DeveloperExceptionPage?), but the most interesting is ahead...
Open http://localhost:5000/ again - nothing is shown. There is no "Hello World" here.
Middleware had been called and produced an answer, but it's lost. You will never receive any response body in this keep-alive connection.

Dupe: https://github.com/aspnet/KestrelHttpServer/issues/940
Workaround: https://github.com/aspnet/KestrelHttpServer/issues/940#issuecomment-229186524
Fix: https://github.com/aspnet/KestrelHttpServer/pull/955


Post more finalized decisions for platform / artifacts?

Are we able to post our most up to date (maybe still WIP) structure for the artifact and platform ideas? I was going to work on something today and all we have are a bunch of proposals (and it's not clear what is the most far along or likely of the set). I'll make something up for now.

It looks like in some prototypes we just have key value pairs - OK with me :laughing:
https://github.com/mfranczy/platforms/commit/43551bc125b9dfb6755aa7a82a0fba74714fc9fc#diff-9ea12d210663aca0c485df8c469156827775fad91bd1e28707029f28793f6384R17


longest_query bails out because of a walsender session

Hello,
We use debezium to track changes in some DBs and longest_query throw an error because of the walsender session is marked as inactive since for a long time :
datid            | 17818
datname          | ....
pid              | 2320507
leader_pid       | [null]
usesysid         | 21762
usename          | ....
application_name | PostgreSQL JDBC Driver
client_addr      | ....
client_hostname  | [null]
client_port      | ....
backend_start    | 2024-08-09 18:07:28.693025+02
xact_start       | [null]
query_start      | 2024-08-09 18:07:28.751659+02
state_change     | 2024-08-09 18:07:28.751697+02
wait_event_type  | Client
wait_event       | WalSenderWaitForWAL
state            | active
backend_xid      | [null]
backend_xmin     | [null]
query_id         | [null]
query            | START_REPLICATION SLOT "..." LOGICAL F/540E9AB8 ("proto_version" '1', "publication_names" '...', "messages" 'true')
backend_type     | walsender

We should ignore walsender backends in this query.

because of the walsender session is marked as inactive since for a long time

You meant, «is marked as active since a long time», right ?
I agree walsenders should be ignored.

yes, I mean that.

Commited


fade-transition not a field-element?

Should this work?
(playlist (color "green" #:length 20) (color "red" #:length 20)
          #:transitions (list (fade-transition #:length 15)))

It currently gives the error:
playlist: contract violation
  expected: field-element?
  given: (transition '#hash() #<procedure:mlt-prop-default-proc> '() 'luma #f 15)

For reference, this works:
(playlist (color "green" #:length 20)
          (fade-transition #:length 15)
          (color "red" #:length 20))

The first one should not work, and the second one should work.
However, it should give a much better error message.
The reason why it doesn't work is because transitions can be used in inline position, or in refereed position. If its inline (as it is in the second case), then no #:start #:end producers are needed, but if its in the referred position, start and end producers must be explicitly specified.
As such, this should work:
(define green (color "green" #:length 20))
(define red (color "red" #:length 20))
(playlist green red
          #:transitions (list (fade-transition #:length 15 #:start green #:end red)))

ok thanks.

I am actually going to reopen this issue because it needs to produce a better error message.


[Bug] Press back while opening news details can't close it.

To Reproduce

Open app
Click on 'News' tab, select any news.
Press Back (android navigation)

Expected behavior
Sheet shape should be hidden.
Current behavior
Navigate in app like no sheet shape appears (to easier to understand: sheet shape won't be hidden).
Screenshots
Will be added to comment.
Additional phone information (please complete the following information):

Device: RMX1851 (realme 3 Pro)
OS: Android 12.1 (L)
App Version: Built from 85ec79b

Additional context
No more information.

https://photos.app.goo.gl/jtEAVTU3mKBm9b2FA

Avaliable solution in Stack OverFlow can be applied to this project:
https://stackoverflow.com/a/70376447

Fixed by @Ranie179 in #18.
Closing this issue.