Improve parquet timestamps conversion speed

Enhancement
Motivation: Conversion optimization can dramatically improve speed of queries on parquet files. In my case for Iceberg tables.
As analysis of table data by period is a common task optimization will affect a lot of users.
Query: select count(order_date) from iceberg.raw_dwh.dt_orders_f
Query profile: query_profile.txt
Query execution time: ~6s, datetime conversion time 3-4s.
Field 'order_date' has DATETIME type
Quote from profile:
 - IOTaskExecTime: 2s668ms
               - __MAX_OF_IOTaskExecTime: 3s903ms
               - __MIN_OF_IOTaskExecTime: 26.309ms
               - ColumnConvertTime: **2s616ms**
                 - __MAX_OF_ColumnConvertTime: **3s875ms**
                 - __MIN_OF_ColumnConvertTime: 24.790ms

@AlekHed Good catch!!! Will optimize it ASAP.

@AlekHed Thanks for this issue, would you like to share us a data file to help us find out which part of the converter costs a lot? thank you!

@DorianZheng @AlekHed steps to reproduce
is spark sql
create table test_timestamp as SELECT to_timestamp(from_unixtime(unix_timestamp('2024-07-13 01:00:00') + (id * 60) + (rand() * 60), 'yyyy-MM-dd HH:mm:ss') || '.' || lpad(cast(rand() * 999 as int), 3, '0')) AS _cdc_tsms FROM range(100000000);

spark performance
spark-sql (test_compaction)> select * from test_timestamp limit 10;
2024-07-13 01:00:25.574
2024-07-13 01:01:03.185
2024-07-13 01:02:40.898
2024-07-13 01:03:17.902
2024-07-13 01:04:03.523
2024-07-13 01:05:22.624
2024-07-13 01:06:56.987
2024-07-13 01:07:29.044
2024-07-13 01:08:46.607
2024-07-13 01:09:57.994
Time taken: 0.753 seconds, Fetched 10 row(s)
spark-sql (test_compaction)> select count(*) from test_timestamp ;
100000000
Time taken: 0.099 seconds, Fetched 1 row(s)
spark-sql (test_compaction)> select count(*) from test_timestamp ;
100000000
Time taken: 0.287 seconds, Fetched 1 row(s)

starrocks performance
|       └──ICEBERG_SCAN (id=0)                                                                                |
|              Estimates: [row: 100000000, cpu: ?, memory: ?, network: ?, cost: 0.0]                                                               |
|              TotalTime: 2s526ms (99.16%) [CPUTime: 44.781ms, ScanTime: 2s481ms]                                                                  |
|              OutputRows: 100.000M (100000000)                                                                                |
|              Detail Timers: [ScanTime = IOTaskExecTime + IOTaskWaitTime]                                                                         |
|                  IOTaskExecTime: 2s125ms [min=1s811ms, max=2s456ms]                                                                              |
|                      ColumnConvertTime: 1s755ms [min=1s395ms, max=2s96ms]                                                                        |
|                      Parquet:                                                                                |
|                          GroupChunkRead: 2s116ms [min=1s803ms, max=2s448ms]                                                                      |
|                  IOTaskWaitTime: 20.375ms [min=11.461ms, max=33.827ms]                                                                           |

looks like original code was vectorized and performant
https://github.com/StarRocks/starrocks/pull/4930/files
not it's a mess with dead code, _is_adjusted_to_utc doesn't even used and everything takes slow path with
    const auto tp = cctz::convert(t, ctz);
    from_timestamp(tp.year(), tp.month(), tp.day(), tp.hour(), tp.minute(), tp.second(), 0);

@eshishki if _is_adjusted_to_utc, _ctz was set and used later

@zombee0 i've meant that we go via slow path with timezone instantiation and from_timestamp parsing regardless


Page Object media exception on filesystem image change

With all caches disabled I still get an exception when changing images on the filesystem

An exception has been thrown during the rendering of a template ("exif_imagetype(/html/grav/user/pages/02.products/01.systems/01.default/111-002-1.png): Failed to open stream: No such file or directory").

What I did was deleting 111-002-1.png and adding newimage.png via ftp.
After that my macro crashes
(...)
    {% for p in page.children.visible %}
(...)

            {{ p.media.images|first.cropZoom(200,200).html|raw }}

(...)
    {% endfor %}
(...)

Seems the page object still holds 111-002-1.png somewhere, even with all Caches disabled.
Any hints on ths?
--> Grav 1.7.46 with PHP 8.1

Try deleting the contents of the cache/ folder and see if that helps.

Looks like it might be an issue with a check when "auto metadata exif" is enabled.

Disabling "Auto metadata from Exif" did the trick for deleting/adding images, but the exception remains for renaming images.

upload immage.png
correct yout typo via ftp remaning to image.png
exception

What is the exception now? I cant' recreate this with that EXIF setting disabled.

It's still the same exception, I'll try to track it down mayself

"Fix orientation automatically" enabled was the setting to blame. fixOrientation() calls the exif_imagetype()

This should fix that exif_imagetype() exception: https://github.com/getgrav/grav/commit/8c1b4448e99cc0c99b100e2799adedfa79d37dd9
Regarding the fallback image, something is still holding on to the cached reference.  I'm still not able to reproduce this. What are you doing with the image?

Yeah, the exception is gone, thanks a lot for that.
What I am doing in the code:
{% macro content_loop(page, initial, level) %}
    {% import _self as macros %}
    {% for p in page.children.visible %}
        {% if p.route is not same as ('/') %}
            {% if not initial %}
                {% if level < 3 %}
                    {% set active_page = (p.active or p.activeChild) ? 'active' : '' %}
                    {% if level == 0 %}
                        {{ macros.content_loop(p, false, level+1) }}
                    {% endif %}
                    {% if level == 1 %}

{{ p.menu }}

                            {{ macros.content_loop(p, false, level+1) }}

                    {% endif %}
                    {% if level == 2 %}

{# this crashes on file rename#}
                                {{ p.media.images|first.cropZoom(200,200).html|raw }}
{# this crashes on file rename#}

                                    {{ p.menu }}

                    {% endif %}
                {% endif %}
            {% endif %}
        {% endif %}
    {% endfor %}
{% endmacro %}

What I am doing on the filesystem:
https://github.com/user-attachments/assets/0a51d5a5-bae4-4cf9-bce6-59c6a60e2b91
--> rename the file
The results:

renaming file renders error fallback image for {{ p.media.images|first.cropZoom(200,200).html|raw }}
renaming file gives a 404 for {{ p.media.images|first.html|raw }} (cropzoom removed) trying to access the old image name before renaming

the problem is that the cache doesn't know to check for changed media files by default.  First, you can change try a couple of options in for the cache check in system.yaml:
cache:
  check:
    method: hash

You can also try folder, but hash should check the md5 hash of all the files.  This should ensure that the cache is cleared when you rename an image.
Also you can change the Twig a little to make it safer.  So instead of a stright: {{ p.media.images|first.cropZoom(200,200).html|raw }} do:
{% set thumb = media.images|first %}
{% set thumb_url = thumb.exists ? thumb.cropZoom(200,200)  : 'path/to/blank.png' %}

This way it only runs cropZoom if the thumb exist, and it can fall back to blank image in the worst case scenario rather than the error image.

just a quick reply for the cache, this is my (not working) setting
cache:
  enabled: false
  check:
    method: hash

to verify, this setting gives the same result
cache:
  enabled: true
  check:
    method: hash


Revert Disable doc xref checks as there is no camel-3.9.x branch yet

Docs build(s) passed so lets merge.


Implement DeSoMempool.GetTransactions() Interface Function

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

feature/pos-syncing-and-steady-state

PR #948

PR #949

PR #950   👈

This stack of pull requests is managed by Graphite.


Can't signup with social logins right now

Here are some reference points from Mobile which may help:
https://github.com/Hylozoic/HyloReactNative/blob/dev/src/screens/Signup/Signup.connector.js,
https://github.com/Hylozoic/HyloReactNative/blob/dev/src/screens/Login/FbLoginButton.js,
https://github.com/Hylozoic/HyloReactNative/blob/dev/src/screens/Login/GoogleLoginButton.js,
and https://github.com/Hylozoic/HyloReactNative/blob/dev/src/screens/Login/actions.js
The basic pattern to note is:

The FB and Google plugin is invoked and sends the user to auth on the respective platform
The callback we provide to the plugin to out backend (e.g. /noo/login/facebook-token/oauth?access_token=${accessToken} -- see https://github.com/Hylozoic/HyloReactNative/blob/f642698a59844294d46765344eb1822ea8aded95/src/screens/Login/actions.js#L41) is called by those plugins with the resulting access token once auth is successful. The access token is then used by the backend to get the email address to match any existing session or otherwise the user. If the user isn't found then a new user is created. In either case an active session is returned to the front-end and we're off the races.

The thing to note from all of that is that the same code that is called by the Login screen for social logins is what the Signup screen needs to be calling. Currently the Signup screen is not directing the FB or Google signup button with the callbacks found in https://github.com/Hylozoic/hylo-evo/blob/dev/src/routes/NonAuthLayout/Login/authWithService.js and should be
Hope that helps more than adds to confusion :)


Add rvm

Sources:

Github: https://github.com/rvm/rvm/blob/master/examples/rvmrc#L10-L13
Official site (they are a little unclear about the role of rvm_path): https://rvm.io/rvm/configuration

Note that the environment variable is lowercase

Thanks!


⚠ Thumbnails API Endpoint has degraded performance

In c5f02ab, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 2302 ms

Resolved: Thumbnails API Endpoint performance has improved in 29adf98.


sending different values with same timestamp

Hi
I am trying to send different values with same timestamp:
for example,
my.useful.metric<PHONE_NUMBER>234
my.useful.metric<PHONE_NUMBER>234
my.useful.metric 26<PHONE_NUMBER>
my.useful.metric<PHONE_NUMBER>234
my.useful.metric 3256<PHONE_NUMBER>
the problem, graphite will display the last value 3256, but I want to aggregate all of them to get 4348
Regards

Metrics you send are received by carbon-cache, not graphite-web.
This is not an available feature of carbon-cache. "statsd" (there are a few similar implementations out there) can add these (as a counter) or calculate mean/median/99th-percentile (as a timer), before sending on to carbon-cache, but only for the current time period.


Updating find_rocm_config.py to account for some more ROCm 5.2 related header file changes

This PR is really a continuation for PRs #1603, #1605, and #1607 (in the ROCm TF fork)
Newer ROCm 5.2 builds are running into build failures related to rocfft/hipfft/rocsolver header file location/content updates.
This commit applies the same fix (updated location, newer locations searched first) to the rocfft/hipfft/rocsolver header files

@stevenireeves please revert the second commit in this PR too, in the PR you create to resolve the hipsolver + rocm_config.h related build failures


ImportError: DLL load failed while importing fused: The specified module could not be found.

full error: Traceback (most recent call last):   File "C:\Users\mason\Desktop\midi\stylegan2-pytorch\generate.py", line 5, in <module>     from model import Generator   File "C:\Users\mason\Desktop\midi\stylegan2-pytorch\model.py", line 11, in <module>     from op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d   File "C:\Users\mason\Desktop\midi\stylegan2-pytorch\op\__init__.py", line 1, in <module>     from .fused_act import FusedLeakyReLU, fused_leaky_relu   File "C:\Users\mason\Desktop\midi\stylegan2-pytorch\op\fused_act.py", line 11, in <module>     fused = load(   File "C:\Users\mason\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\cpp_extension.py", line 963, in load     return _jit_compile(   File "C:\Users\mason\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\cpp_extension.py", line 1190, in _jit_compile     return _import_module_from_library(name, build_directory, is_python_module)   File "C:\Users\mason\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\cpp_extension.py", line 1538, in _import_module_from_library     return imp.load_module(module_name, file, path, description)   File "C:\Users\mason\AppData\Local\Programs\Python\Python38\lib\imp.py", line 242, in load_module     return load_dynamic(name, filename, file)   File "C:\Users\mason\AppData\Local\Programs\Python\Python38\lib\imp.py", line 343, in load_dynamic     return _load(spec) ImportError: DLL load failed while importing fused: The specified module could not be found.
i am on Windows 10, torch version 1.7.1, i have tried CUDA 10, and CUDA 10.1
fused compiles fine, but it just can't find it at all

solved, because i was doing
"generate.py"
rather than
"python generate.py"
in the command line

solved, because i was doing
"generate.py"
rather than
"python generate.py"
in the command line

I have the same problem.
But I use "python generate.py" .
still have the same problem

Hi! I am also getting the same error as follows:
Traceback (most recent call last):
File "D:\GAN\stylegan2-pytorch\convert_weight.py", line 11, in
from model import Generator, Discriminator
File "D:\GAN\stylegan2-pytorch\model.py", line 11, in
from op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d, conv2d_gradfix
File "D:\GAN\stylegan2-pytorch\op_init_.py", line 1, in
from .fused_act import FusedLeakyReLU, fused_leaky_relu
File "D:\GAN\stylegan2-pytorch\op\fused_act.py", line 11, in
fused = load(
File "D:\GAN\stylegan2-pytorch\env\lib\site-packages\torch\utils\cpp_extension.py", line 1308, in load
return _jit_compile(
File "D:\GAN\stylegan2-pytorch\env\lib\site-packages\torch\utils\cpp_extension.py", line 1736, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "D:\GAN\stylegan2-pytorch\env\lib\site-packages\torch\utils\cpp_extension.py", line 2136, in _import_module_from_library
module = importlib.util.module_from_spec(spec)
ImportError: DLL load failed while importing fused: The specified module could not be found.
Actually I was converting the weights using convert.py, so during that time I am getting this error.
My environment has following libraries:
certifi==2022.12.7
charset-normalizer==2.1.1
colorama==0.4.6
filelock==3.9.0
fsspec==2023.4.0
idna==3.4
Jinja2==3.1.2
lmdb==1.4.1
MarkupSafe==2.1.3
mpmath==1.3.0
networkx==3.0
ninja==<IP_ADDRESS>
numpy==1.24.1
Pillow==9.3.0
requests==2.28.1
sympy==1.12
torch==2.1.1+cu118
torchaudio==2.1.1+cu118
torchvision==0.16.1+cu118
tqdm==4.66.1
typing_extensions==4.8.0
urllib3==1.26.13
Also, I was able to create dataset using given command in the readme file but when I am running other commands then I am getting this error.
@erinbeesley @funParadox @rosinality So, Do you know how to solve this error ?

i have the same problem ，do you solve the problem？@dummyuser-123


Return all symbols from a kallsym

Fix issue #15

The test may be passing now, but it's passing despite arguably doing the wrong thing. Because as I said earlier and laid out in https://github.com/libbpf/blazesym/issues/15, we are still treating 0 addresses wrongly. So what now ends up happening is that if all addresses are zero, we return a potentially humongous vector to the caller (in my case it has 201290 elements!),

For external data, it potentially causes out-of-memory even when we are loading data.  However, we can mitigate the symptom.  What do you think to add a limit to the number of returned symbols?

Yeah, I'd suggest we should treat 0 as an invalid address.

Fixed!

There is also the possibility of returning iterators as I suggested for a more or less internal API. I think we should consider doing that for the public facing parts

The majority of our cases return tiny pieces of data.  Iterators don't gain any.  It could even hurt performance in terms of memory locality and branches.  For example, most of the time we return only one or two symbols.  It is very rare to return tens or hundreds of symbols at one time.

https://github.com/libbpf/blazesym/actions/runs/3632156556/jobs/6127677966#step:4:119
We should disable this test case for CI since we don't have kallsyms or all addresses are 0.
Is there any way to disable the test case only for CI? A feature?

https://github.com/libbpf/blazesym/actions/runs/3632156556/jobs/6127677966#step:4:119
We should disable this test case for CI since we don't have kallsyms or all addresses are 0. Is there any way to disable the test case only for CI? A feature?

The easiest is probably to just check if syms is empty and return early. We could introduce a feature or something like that for CI, but this isn't actually all that specific to CI.

The easiest is probably to just check if syms is empty and return early. We could introduce a feature or something like that for CI, but this isn't actually all that specific to CI.

I would like to see the error and check my environment to make it successful when I test it locally, instead of failing silently.
In that sense, I would prefer to add a new feature.

The easiest is probably to just check if syms is empty and return early. We could introduce a feature or something like that for CI, but this isn't actually all that specific to CI.

I would like to see the error and check my environment to make it successful when I test it locally, instead of failing silently. In that sense, I would prefer to add a new feature.

How are you going to fix it? If anybody runs the test suite it should pass, otherwise the test suite is broken and we will end up with bug reports that we can't do anything about. You are free to add a "don't-skip-but-report-an-error" feature for this very purpose, but it should default to off.

int n = self.syms.len();
int l = 0, r = n - 1;
while (l < r) {
  int m = l + (r - l) / 2;
  if (self.syms[m].addr < addr)
    l = m + 1;
  else
    r = m;
}

Let's look at the previous example.
The first issue is if the address is falling in between two symbols, it will stop at the position where syms[l - 1].addr < addr < syms[l].addr.  Then, it will return symbols on the left side.  However, if the address is matched exactly, it stop at the position where syms[l - 1] < addr == syms[l].addr, it should return symbols on the right side.
The other issue is if the address we are searching for is bigger than the last address, the it will stop at the position where l == self.syms.len() - 1 since r = self.syms.len() - 1 and l is never bigger than r.  At this point, addr >= self.syms[l].addr, and potentially self.syms[l].addr == self.syms[l - 1] as well since multiple symbols can be at the same address.  That means it should return both symbols on the left side (l-1, l-2, ....)and the one on the spot (l).  It is inconsistent with the cases mentioned in the first issue.
What if we change it to if (self.syms[m].addr < addr)?  It will fix the first issue.  However, the second issue is still there.

#include <stdio.h>

int search(const int *data, int n, int v) {
        int l = 0, r = n - 1;
        while (l < r) {
                printf("(l=%d, r=%d) ", l, r);
                int m = l + (r - l) / 2;
                if (data[m] < v)
                        l = m + 1;
                else
                        r = m;
        }
        printf("(l=%d, r=%d) ", l, r);
        return l;
}

int main() {
        int data[] = { 1, 1, 1, 5, 5 };
        int v;
        v = 2;
        printf("%d %d\n", v, search(data, 5, v));
        v = 5;
        printf("%d %d\n", v, search(data, 5, v));
        v = 7;
        printf("%d %d\n", v, search(data, 5, v));
}

I try to rewrite the algorithm in C.  And run the test cases mentioned above.

nice, thank you for specific examples, this way we can finally come to some conclusion. I think you are using a wrong version of my code in your analysis. I took the very first example I wrote in that long discussion, I change literally nothing about the binary search while loop, and I adjusted for loop to go backwards (as we discussed in that thread). I also added l, r printing and what are the final returned results (so output is a bit different from your example). Please check if it makes more sense now:
$ cat temp.c
#include <stdio.h>

void doit(int *a, int n, int addr)
{
        int i, l = 0, r = n - 1;
        while (l < r) {
                printf("(l=%d, r=%d) ", l, r);
                int m = l + (r - l + 1) / 2;
                if (a[m] <= addr)
                        l = m;
                else
                        r = m - 1;
        }
        printf("(l=%d, r=%d) ", l, r);
        for (i = l; i >= 0 && a[i] == a[l]; i--) {
                printf("%d ", a[i]);
        }
        printf("\n");
}

int main() {
        int arr[] = {1, 1, 1, 5, 5};

        doit(arr, 5, 2);
        doit(arr, 5, 5);
        doit(arr, 5, 7);

        return 0;
}
$ cc -g temp.c && ./a.out
(l=0, r=4) (l=2, r=4) (l=2, r=2) 1 1 1
(l=0, r=4) (l=2, r=4) (l=3, r=4) (l=4, r=4) 5 5
(l=0, r=4) (l=2, r=4) (l=3, r=4) (l=4, r=4) 5 5

I think all the results are correct.

I don't know why you used my second example if we later on agreed that the first example had the right semantics (except for for loop that produces results). Have you seen my reply in https://github.com/libbpf/blazesym/pull/23#discussion_r1037498294?

I think we are on the page now. I initialize r to self.syms.len() while you initialize it to self.syms.len() - 1 but add 1 back when computing m.

So I still made a mistake in that for() loop, there should be another condition:
for (i = l; i < n && a[i] <= addr && a[i] == a[l]; i--)

But I also went ahead and wrote a simple exhaustive search over all partial ordering of up to 10 elements. This goes and generates arrays like [1,1,1], [1,1,2], [1,2,2], [1,2,3] and so on. And then for each such array it searched each possible value between 0 and N+1, which I think should be able to generate all the corner cases. Please see below. It would be great to write something like this for ksym as a unit test case. I don't think we need to go all the way to 10 element arrays, testing up to 5-6 elements should be fine, I think.
But here it is for reference (just in case I made yet another mistake somewhere, maybe you'll catch it):
$ cat temp.c
#include <stdio.h>

void doit(int *a, int n, int addr, int *res_l, int *res_r)
{
        int i, l = 0, r = n - 1;
        while (l < r) {
                int m = l + (r - l + 1) / 2;
                if (a[m] <= addr)
                        l = m;
                else
                        r = m - 1;
        }
        *res_l = -1;
        *res_r = -1;
        for (i = l; i < n && a[i] <= addr && a[i] == a[l]; i--) {
                if (*res_r == -1)
                        *res_r = i;
                *res_l = i;
        }
}

void doit_simple(int *a, int n, int addr, int *res_l, int *res_r)
{
        int i;

        *res_l = -1;
        *res_r = -1;
        for (i = n - 1; i >= 0; i--) {
                if (a[i] <= addr) {
                        *res_r = i;
                        *res_l = i;
                        break;
                }
        }
        for (i = i - 1; i >= 0 && a[i] == a[*res_r]; i--) {
                *res_l = i;
        }
}

static int a[10];
static int cnt;

void recur(int N, int p)
{
        int i, j;

        if (p == N) {
                int res_l, res_r;
                int ctr_l, ctr_r;
                /* we generated partial ordering
                 * now let's validate finding all possible "addresses"
                 * in the range of [0, N+1]
                 */

                for (i = 0; i <= N + 1; i++) {
                        doit(a, N, i, &res_l, &res_r);
                        doit_simple(a, N, i, &ctr_l, &ctr_r);
                        cnt++;

                        if (res_l != ctr_l || res_r != ctr_r) {
                                printf("VIOLATION!!! N=%d, addr=%d, res_l=%d, res_r=%d, ctr_l=%d, ctr_r=%d arr=[",
                                        N, i, res_l, res_r, ctr_l, ctr_r);
                                for (j = 0; j < N; j++)
                                        printf("%d,", a[j]);
                                printf("]\n");
                        }
                }

                return;
        }

        /* each element of an array is in [1, N] range */
        for (i = (p == 0 ? 1 : a[p - 1]); i <= N; i++) {
                a[p] = i;
                recur(N, p + 1);
        }
}

int main() {
        int arr[] = {1, 1, 1, 5, 5};
        int N;

        for (N = 0; N <= 10; N++)
                recur(N, 0);
        printf("VALIDATED %d cases\n", cnt);
        return 0;
}
$ cc -g temp.c && ./a.out
VALIDATED 1460595 cases

It took 0.07s in debug mode, so I think it can be easily done as a unit test that runs every single time in CI.

I translated your implementation in Rust to equivalent C (I think :) please double-check) like below. It also passes all tests. So please consider implementing this exhaustive test as a proper unit test.
void doit(int *a, int n, int addr, int *res_l, int *res_r)
{
        int i, l = 0, r = n;
        while (l < r) {
                int m = (l + r) / 2;
                if (addr < a[m])
                        r = m;
                else
                        l = m + 1;
        }
        *res_l = -1;
        *res_r = -1;
        for (i = l - 1; i >= 0 && i < n && a[i] == a[l - 1]; i--) {
                if (*res_r == -1)
                        *res_r = i;
                *res_l = i;
        }
}

Added an exhaustive test case.  Debug build is slow.  It takes 2s at local.  The release build is reasonably fast.  The number of test cases is still small now.  We can afford it yet.

Thank you for the review.


New notes field in merchant api

Just pointing out there is a new notes fields under the director field in the merchants API you can see here in https://pinpayments.com/developers/api-reference/merchants#post-merchants
https://github.com/sashaskr/pinpayments-go/blob/34084bbda6f894dffb1b0bba3a9d682634dfe079/pinpayments/merchants.go#L17

@montdidier Thank you Chris!


Fixed tests with invalid "onload" value, and added a new "multiple" test

Just to complete/clean-up previous pull request

👍


Fix preventDefault() on a mouse wheel event

This change enables preventDefault() on the mouse wheel event.
Now user can scroll the data only in a certain list, not the entire web page.

Note: see https://github.com/haxelime/lime/issues/743


Add UserProfile.setRoles and setPermissions for convenience

So that the CommonProfile subclass can set new roles and permissions when admins change that

Indeed, we don't have the appropriate setters for the roles and permissions.
Can you make the methods public? Thx

Sure, done

Thanks


issue 1041: feat(audit): query improvements

query version 1.1 for CSLC. use temporal time instead of native-id query.
Purpose

Clear, easy-to-understand sentences outlining the purpose of the PR

Proposed Changes

[CHANGE] use more efficient query after meeting with CMR ops team.

Issues
Refs #1041
Testing
Tested locally

@chrisjrd  Getting an error with following command
python cmr_audit_hls.py  --start-datetime 2024-01-01T00:00:00 --end-datetime 2024-01-01T01:00:00
Traceback (most recent call last):
File "/export/home/hysdsops/mozart/ops/opera-pcm/tools/ops/cmr_audit/cmr_audit_hls.py", line 300, in
asyncio.run(run(sys.argv))
File "/export/home/hysdsops/conda/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/export/home/hysdsops/conda/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/export/home/hysdsops/mozart/ops/opera-pcm/tools/ops/cmr_audit/cmr_audit_hls.py", line 240, in run
cmr_dswx_products = await async_get_cmr_dswx(dswx_native_id_patterns)
TypeError: async_get_cmr_dswx() missing 2 required positional arguments: 'temporal_date_start' and 'temporal_date_end'


[BUG] Typo on documentation

Describe the bug
There's a typo on in the documentation on page Entities and Components
It should say Position but it's written Posiition

good catch, id not call this a bug. Feel free to contribute under, the docs' source files can be found in /docs


Renaming "column" with ecto migrations only updates the "column" name in the first document

Context: This was from the ecto-2.1 branch.
I wrote a migration to rename a field, but when I run the migration, it only updates the first document.
rename table(:report), :old_name, to: :new_name

Would you mind testing out whether the current master does what you are expecting?

@ankhers When I update to the current master, the migration fails:
** (MatchError) no match of right hand side value: 15
    lib/mongo_ecto.ex:777: Mongo.Ecto.execute_ddl/3
    (ecto) lib/ecto/migration/runner.ex:98: anonymous fn/2 in Ecto.Migration.Runner.flush/0
    (elixir) lib/enum.ex:1899: Enum."-reduce/3-lists^foldl/2-0-"/3
    (ecto) lib/ecto/migration/runner.ex:96: Ecto.Migration.Runner.flush/0
    (stdlib) timer.erl:181: :timer.tc/2
    (ecto) lib/ecto/migration/runner.ex:27: Ecto.Migration.Runner.run/6
    (ecto) lib/ecto/migrator.ex:127: Ecto.Migrator.attempt/6
    (ecto) lib/ecto/migrator.ex:73: anonymous fn/4 in Ecto.Migrator.do_up/4

@ankhers I've opened a PR (#159) that will help with the above.

Thanks @habutre. It seems that I didn't link the issue with the PR description.


About YOLOv8

Hello, thanks for your work.
In the paper, you mentioned that 'As an alternative, the high-quality proposals from YOLOv8 can serve as an anchor box initialization, providing better local priors.'
I want to understand how to use yolov8 results, I don't see yolov8 being used in the code.
Looking forward to your reply!

Hi,
The YoloV8-based method has not been released yet. It needs some time to prepare the code.

Hi, thank you for your work.
Is there a schedule for releasing the code of YoloV8-based method?
Looking forward to your rely!
best,


add interactive-04 and link-01

Closing: https://github.com/IBM/carbon-elements/issues/366
Adding two additional tokens so Tabs and links get the accessible blues: $interactive-04, $link-01
Related: https://github.com/IBM/carbon-components/issues/1757

oh do elements only need 1 reviewer? Whoops, @joshblack should still review before merging.


Top bar disappears quickly after page load, impossible to click "Follow"

See this gif:

I'd really like to keep this bar permanently visible to see followers count on any profile.

Hmm I can't reproduce.

I can reproduce this every time on Chrome on Mac, for example: https://twitter.com/sindresorhus

Weird, also on Chrome for Mac and I'm not seeing this issue.

Same but on Windows 10.
It happens when screen height gets larger than 720px.
Below is okay.

Thanks @azdanov I can reproduce.

Try this solution: https://github.com/sindresorhus/refined-twitter/issues/129#issuecomment-415083297

Yeah, surely that will be fix if you turn off Hide Profile Card.(https://github.com/sindresorhus/refined-twitter/issues/135#issuecomment-415083466)
But problem is also hide follow button toolbar when you turn of Hide Profile Card.
As @azdanov says button toolbar is  shown if you enable chrome devtools.
So i think might be ideal behavior is hide profile card only,  button toolbar`

I think might be the issue is relative to Window.innerHeight.
I tried change Window.innerHeight value with Chrome DevTools.
Please refer following video, if DevTools lift up, follow button was showing.
Else if DevTools lift down, follow button was hiding.
Video
https://www.dropbox.com/s/r9ey72dkah2wprt/tweetButton.mp4?dl=0

I'm having the same issue! After having it for a few days, I decided to create an issue and recorded this video for reference. Good to see it's already brought up! It's been really hard to follow people! :slightly_smiling_face:
Video Here
I use Arch Linux and a 1080p screen, just in case it helps.


tests: push back kmeans spmd example again

Description
Bump required oneDAL version to run kmeans_spmd.py example in CI - required due to https://github.com/oneapi-src/oneDAL/pull/2630. Hopefully for the last time.

/intelci: run

ci re-run here to see if non-green is sporadic http://intel-ci.intel.com/eeb51fc3-b4e6-f12e-8aa6-a4bf010d0e2e

/intelci: run


Add binascii a2b_qp

please try to rebase instead of merge https://docs.gitlab.com/ee/topics/git/git_rebase.html

@youknowone This PR seems ready for review. Could you run CI workflow? 😊

please also push cargo fmt --all 😊

It seems test_qp in test_binascii.py is fixed by your change. Good!
Please remove # TODO: RUSTPYTHON and @unittest.expectedFailure lines 😊


Move Microsoft.AzureDataCLI 20.3.13 to Microsoft.Azure.DataCLI 20.3.13

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

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

Microsoft Reviewers: Open in CodeFlow

@denelon, @Trenly Another uh-oh behavior from fabricbot to merge a PR with Possible-Duplicate label.


bump @prettier/plugin-php dep

addresses #268
Before submitting a pull request, please make sure the following is done...

Fork the repo and create your branch from master.
If you've added code that should be tested, do a sanity check on vim8 and neovim
If you've changed APIs, update the README and documentation ./doc/prettier.txt

Please use the simple form below as a guideline for describing your pull request.
Thanks for contributing to vim-prettier

Summary
Tested to work so far on macvim without needing to make changes to my .vimrc. This fixes issue #268 where you would get the error:
Prettier: failed to parse buffer

It uses the solution found by @gadkadosh https://github.com/prettier/vim-prettier/issues/268#issuecomment-748026831.
khuynh@kmac:plugged/vim-prettier ‹bump-prettier-php*›$ vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec  3 2020 00:50:55)

ThAnk you !

Thanks! The latest version is actually 0.16.1, I think it should be set explicitly for the semver to take effect. I don't actually use this plugin and I had a bunch of other difficulties with vim-prettier, so it's not thoroughly tested, but it worked for me so far.

@gadkadosh yeah i did see that the latest version is much newer than 11. I would question if vim-prettier requires an older version first, though. it looks like the CI uses node v8.x.x, maybe that has reason to do with it? not sure..


Confused to how to install PyOpenColorIO for Windows.

As the title mentions. I've read though all the docs that I know off, for 3 hours and I'm clueless to how you're supposed to install PyOpenColorIO as a module for python 2.x.
(the official build from source doc made it even more confusing)
Looking through the internet for clues led me to nowhere. It seems very vacant about this topic but I managed to find one place where someone had asked the same question but I think there was some sort miscommunication..? https://community.foundry.com/discuss/topic/93985/opencolorio-installing-module-for-python-2-x-on-windows
Any help/clue would greatly be appreciated. Thank you.
(The main reason I'm trying to do this is because of the lut to lut python script.)

Closing this as the Python binding is now available via the Python Package Installer (pip install opencolorio).  Thanks to Remi!


OpenBK Support

Hi,
does this work with Openbeken?
https://github.com/openshwprojects/OpenBK7231T_App
The OpenBK FW works with Tasmota Control on Android and Tasmotrol on iOS, but not with this.
regards xantam

If you post the debug log then I can look what is possible.


Console message saying an element has a duplicate attribute

What problem does this feature solve?
This will help with unexplained rendering issues. Where you have duplicate attributes in an element.
Example:
This error caused a rendering issue but none of the console errors mentioned that there was a duplicate "class" attribute.
What does the proposed API look like?
Add a console message saying either there is a duplicate attribute in a element or that name the attribute and element if possible.

Looks like this is actually supported in Vue. Apparently the rendering problem was a textarea tag wasn't closed.
Is there anyway to add a message to the console to say a element tag isn't closed?

A compilation error will likely be displayed in your terminal if the element is not closed.


Too many open files error in unit tests

When running bin/test, we saw many of the tests fail with something like:
Panic in Spec Setup (BeforeEach) [0.002 seconds]
HTTPClient [BeforeEach] Get/GetCustomized httpclient opts httpclient has been configured to redact query parmas redacts every query param from endpoint for https calls
/Users/pivotal/go/src/github.com/cloudfoundry/bosh-utils/httpclient/http_client_test.go:608

  Test Panicked
  httptest: failed to listen on a port: listen tcp6 [::1]:0: socket: too many open files
  /usr/local/Cellar/go/1.14/libexec/src/net/http/httptest/server.go:71

  Full Stack Trace
  net/http/httptest.newLocalListener(0x17d61ab, 0xc000273048)
  	/usr/local/Cellar/go/1.14/libexec/src/net/http/httptest/server.go:71 +0x2d2
  net/http/httptest.NewUnstartedServer(...)
  	/usr/local/Cellar/go/1.14/libexec/src/net/http/httptest/server.go:117
  net/http/httptest.NewServer(0x1a413e0, 0xc0004d7580, 0x104c598)
  	/usr/local/Cellar/go/1.14/libexec/src/net/http/httptest/server.go:104 +0x35
  github.com/cloudfoundry/bosh-utils/vendor/github.com/onsi/gomega/ghttp.NewServer(0xc0000100c8)
  	/Users/pivotal/go/src/github.com/cloudfoundry/bosh-utils/vendor/github.com/onsi/gomega/ghttp/test_server.go:144 +0x13b
  github.com/cloudfoundry/bosh-utils/httpclient_test.glob..func2.1()
  	/Users/pivotal/go/src/github.com/cloudfoundry/bosh-utils/httpclient/http_client_test.go:49 +0x515
  github.com/cloudfoundry/bosh-utils/httpclient_test.TestHttpclient(0xc0000dc900)
  	/Users/pivotal/go/src/github.com/cloudfoundry/bosh-utils/httpclient/httpclient_suite_test.go:11 +0xf9
  testing.tRunner(0xc0000dc900, 0x196fbd8)
  	/usr/local/Cellar/go/1.14/libexec/src/testing/testing.go:992 +0x1ec
  created by testing.(*T).Run
  	/usr/local/Cellar/go/1.14/libexec/src/testing/testing.go:1043 +0x661

We solved this issue by raising the maximum number of file descriptors by running ulimit -n 10000 (for that session/terminal).
Feel free to close this issue, so we can use this as documentation.

Closing as mentioned in the issue. If this keeps getting hit, we should probably update the README but based on how sparse the existing README is if more people start using this repo, the whole thing could probably use an overhaul.


Fix (#998): Will not expire/delete cookie from session when Set-Cookie only sets Max-Age=0 without Expires

Summary:
The reason why the cookie state information is lost is that when a response is received, the query library does not process max-age=0. It was decided to report the problem to the requests community and implement a temporary solution.
Done:

[x] Fix issue #998
[x] Add test for issue
[x] Run make test-all
[x] Make https://github.com/psf/requests/issues/5743

I was unable to repeat this error on my macos. Can anyone try to reproduce it, and throw off the full error's log? 😓

Codecov Report

Merging #1029 (bcd67d1) into master (cf78a12) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1029      +/-   ##
==========================================
+ Coverage   95.55%   95.56%   +0.01%
==========================================
  Files          61       61
  Lines        3937     3948      +11
==========================================
+ Hits         3762     3773      +11
  Misses        175      175

Impacted Files
Coverage Δ

httpie/utils.py
97.72% <100.00%> (+0.35%)
:arrow_up:

tests/test_sessions.py
100.00% <100.00%> (ø)

tests/test_uploads.py
100.00% <100.00%> (ø)

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 cf78a12...d4e57b2. Read the comment docs.

Thanks, @LuckyDenis 🥧

@jakubroztocil, Thank you, I hope to participate in your wonderful project again ^_^


npm --global install better-sqlite3 fails on node 17

$ npm --global install better-sqlite3
npm ERR! code 254
npm ERR! path /home/rulatir/.npm-global/lib/node_modules/better-sqlite3
npm ERR! command failed
npm ERR! command sh -c prebuild-install || npm run build-release
npm ERR! prebuild-install WARN install No prebuilt binaries found (target=17.1.0 runtime=node arch=x64 libc= platform=linux)
npm ERR! npm ERR! code ENOENT
npm ERR! npm ERR! syscall open
npm ERR! npm ERR! path null/package.json
npm ERR! npm ERR! errno -2
npm ERR! npm ERR! enoent ENOENT: no such file or directory, open 'null/package.json'
npm ERR! npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! npm ERR! enoent
npm ERR!
npm ERR! npm ERR!  A complete log of this run can be found in:
npm ERR!     /home/rulatir/.npm/_logs/2021-11-23T11_47_24_994Z-debug.log

The issue goes away upon downgrading to node 16, but that's probably because cached binaries compiled for that node version are picked up (the installation doesn't seem to be compiling anything).

Is there a reason you are trying to install it globally?
https://docs.npmjs.com/cli/v6/configuring-npm/folders

Install it locally if you're going to require() it.
Install it globally if you're going to run it on the command line.

I've been using npm for years now and the only reason I ever install packages globally is if they come with an executable. And even that has become rare these days, since node_modules/.bin is in PATH for scripts. So I just install the executable in each project and they work.

My application that depends on better-sqlite3 is a CLI program that needs to be installed globally, and that's where I originally ran into the issue. The command in the subject "emulates" that.

Searching through GitHub this appears to not only affect better-sqlite3, so maybe Node 17 (or npm 8) did something funny
https://github.com/npm/cli/issues/4015
https://github.com/jopemachine/alfred-chrome-workflow/issues/9
https://github.com/FirebaseExtended/action-hosting-deploy/issues/173

Now confident this is an npm ~bug~ feature https://github.com/npm/cli/commit/a0d35ff20aed6aab8508123eb540bc9c61fb127d

Should be fixed with the next npm release https://github.com/npm/config/pull/25

Is this fixed now ? I’m still having the issue

Also effecting my repo https://github.com/OmgImAlexis/weedle-shell
I get the same issue in 17.2.0.
0 verbose cli [
0 verbose cli   '/home/xo/.nvm/versions/node/v17.1.0/bin/node',
0 verbose cli   '/home/xo/.nvm/versions/node/v17.1.0/bin/npm',
0 verbose cli   'i',
0 verbose cli   '-g',
0 verbose cli   'github:OmgImAlexis/weedle-shell'
0 verbose cli ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/home/xo/.nvm/versions/node/v17.1.0/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:project Completed in 0ms
10 timing config:load:file:/home/xo/.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:/home/xo/.nvm/versions/node/v17.1.0/etc/npmrc Completed in 1ms
13 timing config:load:global Completed in 1ms
14 timing config:load:validate Completed in 0ms
15 timing config:load:credentials Completed in 0ms
16 timing config:load:setEnvs Completed in 1ms
17 timing config:load Completed in 7ms
18 timing npm:load:configload Completed in 7ms
19 timing npm:load:setTitle Completed in 0ms
20 timing npm:load:setupLog Completed in 1ms
21 timing config:load:flatten Completed in 2ms
22 timing npm:load:cleanupLog Completed in 1ms
23 timing npm:load:configScope Completed in 0ms
24 timing npm:load:projectScope Completed in 1ms
25 timing npm:load Completed in 13ms
26 timing arborist:ctor Completed in 0ms
27 timing idealTree:init Completed in 9ms
28 timing idealTree:userRequests Completed in 6188ms
29 silly idealTree buildDeps
30 silly fetch manifest weedle-shell@github:OmgImAlexis/weedle-shell
31 silly placeDep ROOT<EMAIL_ADDRESS>OK for:  want: github:OmgImAlexis/weedle-shell
32 timing idealTree:#root Completed in 3419ms
33 timing idealTree:node_modules/weedle-shell Completed in 0ms
34 timing idealTree:buildDeps Completed in 3421ms
35 timing idealTree:fixDepFlags Completed in 0ms
36 timing idealTree Completed in 9619ms
37 timing reify:loadTrees Completed in 9621ms
38 timing reify:diffTrees Completed in 1ms
39 silly reify moves {}
40 timing reify:retireShallow Completed in 0ms
41 timing reify:createSparse Completed in 1ms
42 timing reify:loadBundles Completed in 0ms
43 silly audit bulk request { 'weedle-shell': [ '1.0.0' ] }
44 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 432ms
45 timing auditReport:getReport Completed in 433ms
46 silly audit report {}
47 timing auditReport:init Completed in 0ms
48 timing reify:audit Completed in 434ms
49 http fetch GET 200 https://codeload.github.com/OmgImAlexis/weedle-shell/tar.gz/aa4978c8a242faad5c225ecf0a774c80bc13601e 538ms (cache miss)
50 timing reify:rollback:createSparse Completed in 0ms
51 timing reify:rollback:retireShallow Completed in 0ms
52 timing command:i Completed in 10849ms
53 verbose stack Error: git dep preparation failed
53 verbose stack     at ChildProcess.<anonymous> (/home/xo/.nvm/versions/node/v17.1.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
53 verbose stack     at ChildProcess.emit (node:events:390:28)
53 verbose stack     at maybeClose (node:internal/child_process:1062:16)
53 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
54 verbose cwd /mnt/code/OmgImAlexis/weedle-shell
55 verbose Linux 5.15.5-arch1-1
56 verbose argv "/home/xo/.nvm/versions/node/v17.1.0/bin/node" "/home/xo/.nvm/versions/node/v17.1.0/bin/npm" "i" "-g" "github:OmgImAlexis/weedle-shell"
57 verbose node v17.1.0
58 verbose npm  v8.1.4
59 error code 254
60 error git dep preparation failed
61 error command /home/xo/.nvm/versions/node/v17.1.0/bin/node /home/xo/.nvm/versions/node/v17.1.0/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/xo/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
62 error npm WARN using --force Recommended protections disabled.
62 error npm ERR! code 254
62 error npm ERR! path /home/xo/.npm/_cacache/tmp/git-clonerwFEss
62 error npm ERR! command failed
62 error npm ERR! command sh -c npm run build
62 error npm ERR! npm WARN using --force Recommended protections disabled.
62 error npm ERR! npm ERR! code ENOENT
62 error npm ERR! npm ERR! syscall open
62 error npm ERR! npm ERR! path null/package.json
62 error npm ERR! npm ERR! errno -2
62 error npm ERR! npm ERR! enoent ENOENT: no such file or directory, open 'null/package.json'
62 error npm ERR! npm ERR! enoent This is related to npm not being able to find a file.
62 error npm ERR! npm ERR! enoent
62 error npm ERR!
62 error npm ERR! npm ERR! A complete log of this run can be found in:
62 error npm ERR! npm ERR!     /home/xo/.npm/_logs/2021-12-04T06_59_18_702Z-debug.log
62 error
62 error npm ERR! A complete log of this run can be found in:
62 error npm ERR!     /home/xo/.npm/_logs/2021-12-04T06_59_18_721Z-debug.log
63 verbose exit 254

Confirmed switching back to node 14 and npm 6 fixes the issue.

I just experienced this issue on a new linux user, this package being installed as a dependency of a package installed with pnpm -g, the very next thing after configuring npm global prefix to $HOME/.npm-prefix and installing pnpm globally. This means that installing this package as a dependency of a globally installed application guaranteedly fails in a pristine environment. Please consider emergency workarounds and don't wait for npm to fix their stuff, because that can take months.

The fix landed in npm v8.2.0 (2021-12-02), seven days ago. Are you still experiencing the issue?

I'm also having this issue, even when not using the --global flag

try running the command as root/administrator

@Fabricio-191 that shouldn't be needed. You shouldn't be installing any packages with sudo.

Its the only way for it to work currently.


[Feature] Add retry logic for failed uploads

Feature Request
Is your feature request related to a problem? Please describe.
If an upload fails, we should attempt to re-upload.
Likely would only want to re-attempt that upload once.

Can I do this?

I believe #88 should implement this feature.


Get donatello ready to run ML model

[x] Install miniconda etc. (or have I already installed it?)
[x] Install git.
[x] Git clone power_perceiver
[x] Copy v15 of the dataset to donatello's SSD

Done.
Although it's interesting that the data transfer rate between leonardo and donatello is about a tenth of the speed it could be:

It should manage more like 4 GB/sec. But I'd guess that's just because I was copying using a single thread?


Core Imports inconsistent after running V6 Upgrade Kit

Package version
20.11.1 (Node)
Describe the bug
I am trying to upgrade an application to Adonis6 using the upgrade kit.  After the upgrade, I am seeing ...has no default export errors trying to import commands like so:
import server from '@adonisjs/core/services/server'

After running the upgrade kit, I can see the DTS file looks like this and I understand why there's an error.
// node_modules > @adonisjs > core > build > services > server.d.ts
import type { HttpServerService } from '../src/types.js';
declare let server: HttpServerService;
export { server as server };

However, if I create a starter application, I can see the following file as the source and it works fine:
// node_modules > @adonisjs > core > build > services > server.d.ts
import type { HttpServerService } from '../src/types.js';
declare let server: HttpServerService;
export { server as default };

Notice the last line is different.  I performed the upgrade kit steps twice to make sure I followed them correctly, but the result was the same.  My node version is 20.11.1 in both examples above.
Reproduction repo
No response

Ok...I deleted my node_modules directory and it seems to be working now.


[New Model]: Shared PartSiteInformationAsBuilt 1.0.0

Based on the results / definition of the Industry Core, the part site information is also needed in the DTasBuilt context. Therefore a new aspect model was created, which contain the information of the sites of a part. The new model will be implemented as shared aspect model who will be integrated into the existing models SerialPart, Batch and JiS in further steps.
Closes #442

MS2 Criteria
(to be filled out by PR reviewer)

[x] the model validates with the SAMM SDS SDK in the version specified in the Readme.md of this repository by the time of the MS2 check  (e.g., 'java -jar samm-cli.jar aspect <path-to-aspect-model> validate ). The  SAMM CLI is available here and in GitHub
[x] use Camel-Case (e.g., "MyModelElement" or "TimeDifferenceGmtId", when in doubt follow https://google.github.io/styleguide/javaguide.html#s5.3-camel-case)
[x] the identifiers for all model elements start with a capital letter except for properties
[x] the identifier for properties starts with a small letter
[ ] all model elements at least contain the fields "preferred name" and "description" in English language. The description must be comprehensible. It is not required to write full sentences but style should be consistent over the whole model
[x] Property and the referenced Characteristic should not have the same name
[x] the versioning in the URN follows semantic versioning, where minor version bumps are backwards compatible and major version bumps are not backwards compatible.
[x] use abbreviations only when necessary and if these are sufficiently common
[x] avoid redundant prefixes in property names (consider adding properties to an enclosing Entity or even adapt the namespace of the model elements, e.g., instead of having two properties DismantlerId and DismantlerName use an Entity Dismantler with the properties name and id or use a URN like io.catenax.dismantler:0.0.1)
[ ] fields preferredName and description are not the same
[x] preferredName should be human readable and follow normal orthography (e.g., no camel case but normal word separation)
[x] name of aspect is singular except if it only has one property which is a Collection, List or Set. In theses cases, the aspect name is plural.
[ ] units are referenced from the SAMM unit catalog whenever possible
[ ] use constraints to make known constraints from the use case explicit in the aspect model
[x] when relying on external standards, they are referenced through a "see" element
[x] all properties with an simple type have an example value
[x] metadata.json exists with status "release"
[x] generated json schema validates against example json payload
[x] file RELEASE_NOTES.md exists and contains entries for proposed model changes
[x] all contributors to this model are mentioned in copyright header of model file

MS3 Criteria
(to be filled out by semantic modeling team before merge to main-branch)

[ ] All required reviewers have approved this PR (see reviewers section)
[ ] The new aspect (version) will be implemented by at least one data provider
[ ] The new aspect (version) will be consumed by at least one data consumer
[ ] There exists valid test data
[ ] In case of a new (incompatible) major version to an existing version, a migration strategy has been developed
[ ] The model has at least version '1.0.0'
[ ] If a previous model exists, model deprecation has been checked for previous model
[ ] The release date in the Release Note is set to the date of the MS3 approval

FYI @jonbckr @BenediktMuellerIML @jacewski-bosch

@agg3fe there is an issue with the semantic model validation. Do you know what's the problem?

@johannsvarela do you want to add 'PartSiteInformationAsPlanned.ttl' also? If yes, then you have to create a separate Pull Request for this. we can have only one model (.ttl) file in one PR for new model.

@johannsvarela do you want to add 'PartSiteInformationAsPlanned.ttl' also? If yes, then you have to create a separate Pull Request for this. we can have only one model (.ttl) file in one PR for new model.

@agg3fe The second ttl-File (PartSiteInformationAsPlanned) contain the migration from BAMM to SAMM for the model. Since the PartSiteInformationAsPlanned will be set to 'deprecate', i don't know if its needed to migrate to SAMM.
Otherwise i will integrate the migration to the deprecation PR #454. Would it be fine for you?

@johannsvarela do you want to add 'PartSiteInformationAsPlanned.ttl' also? If yes, then you have to create a separate Pull Request for this. we can have only one model (.ttl) file in one PR for new model.

@agg3fe The second ttl-File (PartSiteInformationAsPlanned) contain the migration from BAMM to SAMM for the model. Since the PartSiteInformationAsPlanned will be set to 'deprecate', i don't know if its necessary to migrate to SAMM?
Otherwise i will integrate the SAMM-migration to the existing deprecation PR #454. Would it be fine for you?

If it is deprecated, then you don't need to migrate it from BAMM to SAMM. The separate PR is fine for me to set it to deprecate. you can remove the file from PR.

Please check my comments

@agg3fe The changes were implemented as you suggested! :-)

modeling_team

@agg3fe Jira-Issue to generate the testdata set for this model was created: https://jira.catena-x.net/browse/TDG-35


[Snyk] Upgrade sharp from 0.32.6 to 0.33.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade sharp from 0.32.6 to 0.33.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 10 versions ahead of your current version.
The recommended version was released 21 days ago, on 2023-11-29.

Release notes

Package name: sharp

0.33.0 - 2023-11-29No content.

0.33.0-rc.2 - 2023-11-22No content.

0.33.0-alpha.11 - 2023-11-10No content.

0.33.0-alpha.10 - 2023-11-04No content.

0.33.0-alpha.9 - 2023-10-13No content.

0.33.0-alpha.8 - 2023-10-10No content.

0.33.0-alpha.7 - 2023-10-10No content.

0.33.0-alpha.6 - 2023-10-09No content.

0.33.0-alpha.4 - 2023-10-06

0.33.0-alpha.3 - 2023-10-06

0.32.6 - 2023-09-18

    from sharp GitHub release notes

Commit messages

Package name: sharp

545e09f Release v0.33.0
133dc56 Docs: note lack of native text rendering with Wasm
9c877d9 Docs: info about how animated images are loaded
7ad86fe Docs: package-manager howto for cross-platform install
31cf07f Docs: update perf results for next release
4ffb487 Tests: update benchmark deps/env to latest
3da96a8 Docs: clarify that Wasm requires Node.js compatible runtime
45ed9ea Tests: update leak config/suppressions
61057f2 Prerelease v0.33.0-rc.2
68ef72c CI: allow failure when attempting to rm native binary
ef32dcc Prerelease v0.33.0-rc.1
e78200c Increase control over output metadata (#3856)
3f7313d Improve tint luminance with weighting function (#3859)
139e4b9 Show cast-function-type compiler warnings
9680f00 CI: Ensure Wasm packaging test uses Wasm package
0b0ebfe Bump dep: emnapi
5aadb82 Upgrade to libvips v8.15.0
ace1681 Packaging: use correct package when pop from release
75ef61a Correctly check for when sharp is unavailable (#3848)
2dba5b5 Prerelease v0.33.0-alpha.11
a8f68ba Add infrastructure to build and publish as wasm32 (#3840)
475bf16 Tests: increase flaky text test range even further
67f49a8 Tests: increase flaky text test range further
0740043 Simplify logic to determine installation help

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Deploy failure possibly related to https://github.com/vercel/nft/issues/371


New Operator is created when UniquenessBasedPruneRule applied to the plan successfully, so we need re-compute logical properties,  otherwise NPE is throwed

	at com.starrocks.sql.optimizer.ExpressionContext.getChildOutputColumns(ExpressionContext.java:111)
	at com.starrocks.sql.optimizer.statistics.StatisticsCalculator.computeJoinNode(StatisticsCalculator.java:721)
	at com.starrocks.sql.optimizer.statistics.StatisticsCalculator.visitLogicalJoin(StatisticsCalculator.java:695)
	at com.starrocks.sql.optimizer.statistics.StatisticsCalculator.visitLogicalJoin(StatisticsCalculator.java:153)
	at com.starrocks.sql.optimizer.operator.logical.LogicalJoinOperator.accept(LogicalJoinOperator.java:185)
	at com.starrocks.sql.optimizer.statistics.StatisticsCalculator.estimatorStats(StatisticsCalculator.java:169)
	at com.starrocks.sql.optimizer.rule.join.JoinOrder.calculateStatistics(JoinOrder.java:268)
	at com.starrocks.sql.optimizer.rule.join.JoinOrder.init(JoinOrder.java:181)
	at com.starrocks.sql.optimizer.rule.join.JoinReorderCardinalityPreserving.init(JoinReorderCardinalityPreserving.java:61)
	at com.starrocks.sql.optimizer.rule.join.JoinOrder.reorder(JoinOrder.java:217)
	at com.starrocks.sql.optimizer.rule.join.ReorderJoinRule.enumerate(ReorderJoinRule.java:93)
	at com.starrocks.sql.optimizer.rule.join.ReorderJoinRule.rewrite(ReorderJoinRule.java:181)
	at com.starrocks.sql.optimizer.Optimizer.pruneTables(Optimizer.java:265)

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%
[]

@Mergifyio backport branch-3.1

[FE PR Coverage Check]
:heart_eyes: pass : 25 / 26 (96.15%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
5
6
83.33%
[191]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/pruner/PrimaryKeyUpdateTableRule.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/pruner/CPJoinGardener.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/JoinReorderCardinalityPreserving.java
2
2
100.00%
[]


Scaffolder: fix auth credentials issue

Hey, I just made a Pull Request!
Fixes #23787
Passing down the getInitiatorCredentials method was causing the main issue
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hi. I have upgraded to 1.22.2 but I'm still getting the same error TypeError: Cannot read properties of undefined (reading 'secrets')
I'm using the gitlab scaffolder     "@backstage/plugin-scaffolder-backend-module-gitlab": "^0.3.2",

Hi. I have upgraded to 1.22.2 but I'm still getting the same error TypeError: Cannot read properties of undefined (reading 'secrets')
I'm using the gitlab scaffolder  "@backstage/plugin-scaffolder-backend-module-gitlab": "^0.3.2",

mmm the fix was shipped in 1.25

@vinzscam


Add support image composition

TL;DR
Add support image composition so people can use imageSpec as a base image.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
from flytekit import task, workflow, ImageSpec, dynamic

new_flytekit = "git+https://github.com/flyteorg/flytekit@b4612c640d6f44538e5a1a915748abadd0f557a4"
image_sklearn = ImageSpec(packages=["sklearn", new_flytekit], apt_packages=["git"], registry="pingsutw")
image_tensorflow = ImageSpec(base_image=image_sklearn, packages=["tensorflow"], registry="pingsutw")

@task(container_image=image_sklearn)
def t1(a: int) -> int:
    return a + 2

@task(container_image=image_tensorflow)
def t2(a: int) -> int:
    return a + 3

@workflow
def wf(a: int = 3):
    t1(a=a)
    t2(a=a)

if __name__ == "__main__":
    print(f"Running my_wf(a=50, b='hello') {wf(a=50)}")

Tracking Issue
NA_
Follow-up issue
NA

this is already supported


Global Docker options?

Hi,
is there a way to set global Docker options? I would like to set for example "--restart=always" to every app. Looking at source code looks like that it reads only DOCKER_OPTIONS_* from app directory, but any workaround? Modify Docker run command or something?

Currently there is not a global docker options scope. A PR would be welcomed though.

Also, --restart=always would almost certainly break how the checks plugin works.

@josegonzalez you mean that there will come problems because restart would cause the container ids change but the CONTAINER file contains old id?
Is it crazy idea if get_app_container_ids would fallback to image id when resolving container ids?
I just try to find a way how can I make it more update friendly (by allowing Docker restart) and more fail safe by supporting container and server restarts.

@ernoaapa i think its worth creating a plugin that does this to experiment some and perhaps gauge interest. there have been a few convos around this since that option was made available but it seems to not jive (at least in concept) with dokku being a container manager.

I'm going to close this as I think it will lead to lots of complications in the code that maintains this and it can be handled via plugins I think.

Ok. I'm not sure where to start with the plugin and.
For now I just block Docker updates in our configuration management tool and consider moving to use Deis for more fail safe setup.


useQuery with a dependent query causes an extra re-render.

Describe the bug
I have a "main/detail" scenario where I load a list of items with one useQuery and then load a detail item with a second useQuery, after the fist list item is selected in a dropdown list. (The scenario is illustrated with this sandbox: https://codesandbox.io/s/dependent-query-example-qmfkk?file=/src/DependentQueryExample.js).
After selecting an item in the list, I'm setting a state variable for the ID of the selected item and, since the detail-related useQuery depends on that state value, it fires and returns the detail.
Also, please note, I have turned off React StrictMode.
After selecting the item in the list, I would expect 2 renders:

One after the selected list id changes, since I'm setting that state in the change handler
One after the dependent useQuery changes because it's refetching/updating the detail data based on step 1)

However I'm getting 3 renders:

One after the selected list id changes, since I'm setting that state in the change handler
Nothing has apparently changed?
One after the dependent useQuery changes because it's refetching/updating the detail data based on step 1)

To Reproduce
Steps to reproduce the behavior:

Go to https://codesandbox.io/s/dependent-query-example-qmfkk?file=/src/DependentQueryExample.js, and open the console in CodeSandboox
Select "first/second/third" in the select list
Scroll down to the console in CodeSandbox to see the console statements logged after each re-render
See the output:

list changed? false selectedListId changed? true detail changed? false isLoadingDetail changed? true onChange changed? false
list changed? false selectedListId changed? false detail changed? false isLoadingDetail changed? false onChange changed? false
list changed? false selectedListId changed? false detail changed? true isLoadingDetail changed? true onChange changed? false

Expected behavior
As mentioned, I'd expect to see only 2 renders:
list changed? false selectedListId changed? true detail changed? false isLoadingDetail changed? true onChange changed? false
list changed? false selectedListId changed? false detail changed? true isLoadingDetail changed? true onChange changed? false

I would suspect that isFetching is causing the re-render.  Since you aren't using isFetching, you could change the notifyOnChangeProps to 'tracked'.  This should stop the 3rd render.
I just recently read this article from Dominik that you may like.  https://tkdodo.eu/blog/react-query-render-optimizations

Hey @dusty, thanks for he articles --great reads.
I tried setting notifyOnChangeProps to 'tracked', along with outputting the "isFetching" value. However, still getting the extra render https://codesandbox.io/s/dependent-query-example-forked-edbmh?file=/src/DependentQueryExample.js

Thanks for linking my article @dusty :)
side note: The first rule of tracked queries: if you use a field, it will be tracked. so if you destructure isFetching just to console.log it, you will re-render on every isFetching transition because of it ;)
but that is not the case here. From what I am seeing, we are getting 3 re-renders instead of 2 because:

setState of the selectedListId
changing the useQuery options triggers a microtask, thus scheduling another re-render
transition from loading to success status when we have data

number 2 is likely the culprit that we don't want to see. I don't have enough knowledge about why we are scheduling this, I'm sure @boschni knows. It might be that you've discovered a bug - I would also only expect 2 re-renders here, especially because the queryInfo is identical between 1 and 2.

Yeah, I was just logging isFetching for visibility, but it did not change the number of renders in my example. Glad to know you guys are digging into the issue (and that I'm not (completely) losing my mind :))

It renders three times because:

The setState
useQuery indicating its state has changed (idle -> loading)
useQuery indicating its state has changed (loading -> success)

I don't remember the exact reason, but I think React wouldn't display the correct state in some situations without the notification.

Hm, in the example above, we can see status: 'loading' directly after the setState, and the re-render from number 2 has exactly the same information.. 🤔

Yes it optimistically indicates it is loading, but the loading only really starts when React commits the rendering tree.

Okay, then we’ve established that this is indeed the expected behavior 👍


Adding auto tagging option

This option simplifies the handling of tags in the incoming data.
Sometimes specifying the tag_keys is not feasible due to unknown data. In such situation it comes handy if strings become tags and numbers types becomes values. Note that sender still can send numbers as string which will make them tags.
Parameter name: auto_tags
Default value: false
ps.: I'm not very experience in ruby. I tried my best to match coding style and keep it simple. Every feedback, ideas, remarks are welcomed.

Release v0.3.1


Inconsistent Pluralization of Table names using migrations

I created two different entities both with the suffix "Info"  (BasicInfo and W4Info)and represent them in my context using a different property names.
When running migrations it generates two different pluralizations for each entity.
That is:
BasicInfoes
W4Infos
An example of the code can be seen here (very rudimentary but will generate this inconsistency):
https://github.com/AdamHess/entityframework-pluralization-bug
the commands I used on the commandline were:
Enable-Migrations
Add-Migration MyTestMigration

Finally, this was while using Visual Studio 2015 update 3.

According with the pluralization rules, in those lines(https://github.com/aspnet/EntityFramework6/blob/527ae18fe23f7649712e9461de0c90ed67c3dca9/src/EntityFramework/Infrastructure/Pluralization/EnglishPluralizationService.cs#L595..L598), any word that contains non alphabetical characters will not have the same pluralization rule.
So you can remove the algarism 4 of your table name.

It seems an overly broad rule . (also troublesome for globalization) with the latter issue aside, would it make more sense for the pluralization rules to not kick in if and only if the last character is a number?
(while it's kind of late) i feel like it's an "opt out" feature, anyway to override its 'broadness' without having to explicitly specify the table name.

At this stage we aren't going to take any changes to the pluralizer in EF6.x. The main issue is that any changes we take can result in a existing model changing when you upgrade to a new version of EF.
However, you can customize the pluralizer by replacing IPluralizationService. See Dependency Resolution for more info.


Support for extended precision (BigFloats)?

Hi! I was trying to use Elliptic.jl in order to evaluate K(k) to high accuracy using BigFloats, but noticed that if given a BigFloat as an input, Elliptic.K returns a Float64:
julia> using Elliptic

julia> Elliptic.K(big"0.512341234")
1.8646739600308775

@oxinabox explained to me that, by construction, Elliptic.jl functions explicitly cast all Reals down to Float64, and was wondering if the code may be adapted for other types such as BigFloat, perhaps adapting the constants such as D1MACH1 with something like const D1MACH1 = realmin(T) with T<:AbstractFloat, etc., for these types?

See https://github.com/JuliaMath/SpecialFunctions.jl/pull/79.

I think this fallback should be removed:
https://github.com/nolta/Elliptic.jl/blob/7ed7dfbb0df9398920562b27df7d3cf782b0fa76/src/Elliptic.jl#L63
It would be better for the code to error on a BigFloat value than to silently convert to Float64>


Some advices about blog

I have some thoughts about blog page.

Add a tag filter to enhance blog's function.
Use timeline and card view to optimize blog page UI.

Then I use steps & cards shortcode  to build a demo(And you can see the card with image has a display error).
// File path: content/blog/_index.md

{{% steps %}}

### 2023

{{< cards >}}
  {{< card link="/" title="My first blog" icon="document-text"
  subtitle="这篇文章提供了一些基础的 Markdown 语法样例，这些可以在 Hugo 的内容文件中使用.">}}
  {{< card link="/" title="My second blog" icon="document-text">}}
{{< /cards >}}

### 2022

{{< cards >}}
  {{< card link="/" title="Blog with cover"
  image="https://source.unsplash.com/featured/800x600?landscape"  >}}
{{< /cards >}}

{{% /steps %}}

Use timeline and card view to optimize blog page UI.
Then I use steps & cards shortcode to build a demo(And you can see the card with image has a display error).

hmmm, I get what you were trying to achieve here, but I don't think this is the intended use case of the steps shortcode.
It would be better to create a custom layout with components similar to https://flowbite.com/docs/components/timeline/
I will look into what caused the display error though.

Yes, I knew it. Wrong use leads to wrong result. This usage does defeat the purpose of the 'steps' shortcode. So I think it doesn't matter if this bug is fixed or not.
After all I just tried to build a demo with shortcode in the beginning and it worked unexpectedly, and I don't think anyone would use shortcode like that.

I really like the idea of the Categories/Tags list to filter the blog. +1 from me for that!

+1 from me! also would be nice to have an archive/categories type of taxonomy feature supported in hextra!

+1 from me for tags/categories
Also, regarding the image for the blog post... Could you pls add this feature as well?
I currently use subtitle and featuredImage in the front matter

{{ .Params.subtitle }}

The result is in the pic attached

+1 from me for tags/categories

re: tags and categories for the blog
I would also like the blog section to have these out-of-the-box.
Will prioritize these in the next a few releases. 😃

Also, regarding the image for the blog post... Could you pls add this feature as well?
I currently use subtitle and featuredImage in the front matter

I will need to think about it, since the subtitle and featuredImage sounds too specific to your project or blog.
Alternatively you could wrap those in a custom shortcode or just override the default blog post template.

I really want a mode where card-view is used by default to list all content, in my case when building a portfolio.
I think it would be nice if to have a third mode then blog/doc that default to this view.
Also would be great if I don't have to fill in the image url for each card view separately, but instead the code just auto grab the "featurnedImage" key in each page's front matter if the card refer to a internal content.


fix: refact to memory storage to fix ser/de bug in heed storage

thanks @jopemachine helped me find the root cause of the problem during serialization and deserialization. I decided to temporarily remove the heed storage implementation.

fixes #16


Ability to output image "as is"

Hey!
In our project we are using animated gifs in some places. Are there any ways to just output them "as is"? We have two main troubles: heavy image processing and infinitely looped gifs are stopping after 3 loops (I think, MAX_ANIMATED_FRAMES affects this). I think, in some cases, we should add ability to ignore sizes of every image, so the imgproxy acts like cdn.

Hey! It looks like a duplicate of #393. However, I'd like to take a look at problematic GIFs.


Fix input axis mappings in 2.5

Overview
The change in #8315 inadvertantly moved it to an area that only runs when the input tab in the configuration profile is visible. Reverted this code to run when the MRTK initializes instead.
A larger PR to add this to the configurator and fix the core -> editor references will be opened on the dev branch, but that's a bit too much for the stabilization branch.
Also updated some code style capitalization of a private field and added an optional bool to the input axis setter method for future use.

/azp run

/azp run


Add watermark check script from https://github.com/nagios-plugins-rab…

…bitmq for rabbitmq memory and disk usage

I think you still need to add the NRPE config, for example the puppet like here and the template like here.
You also need to add the Puppet for actually creating the Icinga plugin on the server itself.

I think this looks good :+1: merge when ready


[Admin] main -> prod

Docs Build status updates of commit ae14bf1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/concepts/browsers-used-by-office-web-add-ins.md
:white_check_mark:Succeeded
View

docs/outlook/apis.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add snap election section

Adds a section about how Voting Members can call a snap election (election which takes place earlier than the usual one year period) in case they don't trust the Governing Board anymore.

Overall looks good, but some of the language is vague, and, if the board is in a position of non-confidence, not defining “major decision” gives the board immense latitude to do damage while adhering to the charter.
What if we say “may not authorize new expenditures or make any changes to personnel,” etc.?

Good idea. Can you propose changes?

Thanks Harel, the major decisions are now outlined by two examples (spending and personnel).

Thanks for the reviews! I will merge this now and then we can still discuss and modify it in #74...


Videos Single Page

We have Videos Single Page design in Figma it needs to be implemented here

Currently, when a user clicks on a video - they are taken away from the site.  Enhancement would be to keep user on site for viewing of video

moving offline


[BrokenLinksH2]

Docs Build status updates of commit 58aa38f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/api/using-addons-api.md
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/how-to/notifications-badges.md
:white_check_mark:Succeeded
View

microsoft-edge/web-platform/site-impacting-changes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix broken links
@mikehoffms
The Content & Learning team is fixing broken links on docs.microsoft.com for the rest of H2. This effort will eliminate potential accessibility, security, and usability issues. This PR includes only link fixes and does not change other content. Please review within five business days and merge, or comment in the PR with any changes you'd like to see. Thanks!

Docs Build status updates of commit ec0409e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/api/using-addons-api.md
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/how-to/notifications-badges.md
:white_check_mark:Succeeded
View

microsoft-edge/web-platform/site-impacting-changes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


curentFilterList on customFilterDialogFooter returns the previous filter list instead of the current filter list

Expected Behavior

should return the current filter list
Current Behavior

returns the previous filter list instead
Steps to Reproduce (for bugs)

add mui-datatables to your project
include the options below
options={{
confirmFilters: true,
customFilterDialogFooter: (currentFilterList, applyFilters) => (<button onClick={() => {
console.log('current filterList: ', currentFilterList)
applyFilters()
}}>apply)
}}

Your Environment

Tech
Version

Material-UI
^4.11.2

MUI-datatables
^3.7.4

React
^17.0.1

browser
chrome

etc

Getting this issue as well


Remove cypherdsl stuff from AbstractGraphRepository

This allows cypherdsl to be an optional dependency.
Spring Data Commons scans all the methods of AbstractGraphRepository in TransactionalRepositoryFactoryBeanSupport. When it has hit the query methods that are implemented from the CypherDslRepository interface, it tried to load the classes of the parameters and return values - which failed because cypherdsl may not be on the classpath, because it's optional.

Will try to find a solution with cypher-dsl as a non-optional dependency.


Add per-species sublist to facility inventory totals

Allow clients to query the total inventory by facility, but also get per-species
details for the inventory at each facility.
For example, to get a list of inventory totals with a list of species names, the
search request would look like:
{
  "prefix": "facilities.facilityInventoryTotals",
  "fields": [
    "facility_id",
    "facility_name",
    "facilityInventories.species_scientificName",
    "germinatingQuantity",
    "notReadyQuantity",
    "readyQuantity",
    "totalQuantity",
    "totalSpecies"
  ],
  "search": {
    "operation": "field",
    "field": "organization_id",
    "values": [ "123" ]
  }
}

Current dependencies on/for this PR:

main

PR #1504   👈

This stack of pull requests is managed by Graphite.


Enable trading view

The Chore
What we need to achieve and who for
Tasks

[ ]
[ ]

Additional details / background info

Maybe set the default colours to match Vega


unresolved haxe.Constraints types

Unable to import and use haxe.Constraints types.
repro:
import haxe.Constraints.Function;

class SignalBase<T:Function> {
    public function new() {}
}

screenshot:

@eliasku
import haxe.Function;

class SignalBase<T:Function> {
    public function new() {}
}

works fine.

Marking as enhancement because constraints haven't been implemented yet.

Resolving has been fixed in 0.9.9


Add Snapshots for Demo Collections in tutorial page

Added a list of snapshots for demo purpose in tutorial page

I would prefer a dedicated page for those snapshots, not just a part tutorial


ESP32: Wifi logs cannot be configured

Calling esp_wifi_internal_set_log_level or esp_wifi_internal_set_log_mod crashes immediately or cause crashes later (depending on when those are called) - so Wifi logs are never enabled on ESP32 (i.e. it works fine on ESP32C3)
Additionally there is a problem with VaList on ESP32 (or Xtensa in general) - that's why it's conditionally compiled only for ESP32C3 in log_writev

I've been applying this patch for vaarg support. I've never personally used vaargs, so it's quite possible this patch is buggy, or is missing some other steps?

Awesome - will give it a try. Long time since I built the compiler myself the last time 😄

Just to be clear, it's already included in the esp-* branch patch set, so it should already be working.

The va_list implementation seems to be fine since I can use it with some C code written myself and compiled with GCC. However, the va_list I get from the WiFi driver looks different. For now, I just print the format string on ESP32 which is better than having nothing. Still an interesting and valid issue so keep it open

Unfortunately https://github.com/esp-rs/rust/issues/171 doesn't fix this

Alternatively, we could implement syslog, log_write and log_writev in C until a fix is available.

This is an ugly hack but it works. It's not very invasive because it replaces only exactly the function call that bugs out. Not likely woth a PR but if anyone is interested in trying it out, here it is (implemented for esp32 only): https://github.com/esp-rs/esp-wifi/commit/8befe40fc4b859d95d877c95af8b4f810ed6ce06


Transalte first section into Kyrgyz

Maybe not natively translated. Need to proofread.

@AzmtMrzbkv  Makes sense. It was hard for me to find some modern terms in Kyrgyz for terms such as: variables, concurrency. Let's first prepare the draft and then proofread it someone who has better knowledge in Kyrgyz IT words.


Fix pow for negative values and slightly better tests using constants

For real numbers, our interval implementation of pow was incorrect
I was able to find a bug in tgamma and a bug in my rust version of this library using this test.
Intervals with special constants as one of the endpoints make good tests.

Just to circle back on this:

IIRC, the bug is that pow(x, y) assumes we're only interested in bigfloat values for x and y, whereas we might be interested in values like 1/3. This causes a problem in, for example, pow(-1, [1/4, 1/2]). Is that right? Do you want me to take over the fix?
Is the tgamma bug fixed in recent commits? I worked on that a bit.


I've got timeout when trying to authorize in clientCredential flow

Hi. I'm trying the example of clientCredential flow but I get this:

Something went wrong when retrieving an access token { [WebapiError: connect ETIMEDOUT <IP_ADDRESS>:443]
name: 'WebapiError',
message: 'connect ETIMEDOUT <IP_ADDRESS>:443',
statusCode: undefined }

here is my code:
var SpotifyWebApi=require("spotify-web-api-node")
var clientId = '82a6cf8775c04eba905c0c093b0785bb',
    clientSecret = '63f6014874c844c4a39cafe1d3891aeb';

// Create the api object with the credentials
var spotifyApi = new SpotifyWebApi({
  clientId : clientId,
  clientSecret : clientSecret
});
// Retrieve an access token.
spotifyApi.clientCredentialsGrant()
  .then(function(data) {
    console.log('The access token expires in ' + data.body['expires_in']);
    console.log('The access token is ' + data.body['access_token']);

    // Save the access token so that it's used in future calls
    spotifyApi.setAccessToken(data.body['access_token']);
  }, function(err) {
        console.log('Something went wrong when retrieving an access token', err);
  });

@itsmrTech this seems to work fine. Could you try again?

Closing the ticket because of inactivity


Deap 1.3.1 lead to error

Hi,
Installing the docker image on raspberry 4 leads to an error: use_2to3 is invalid.
Internet suggest to downgrade to setuptools==75.5.0, this didn't help.
DEAP package seems aware of issue and version 1.3.3 has it solved. By manually changing requirements-freeze.txt to deap==1.3.3 seems to remove issue.
I guess it would make most sense to change the dependence at "processoptimizer" level. So in other words, this issue is just for info. Can be closed when the frozen requirements have been changed

https://github.com/DEAP/deap/commit/7d372b17b5359a33f46c444b313b12f8e74f8e27

https://stackoverflow.com/questions/69100275/error-while-downloading-the-requirements-using-pip-install-setup-command-use-2

Deap is pinned to 1.3.3 in ProcessOptimizer, now. Can we up the pinned version in this repo?

Is the pinned version published to pip?
In PR #50 ProcessOptimizer has been set to ProcessOptimizer[browniebee]==0.7.6 however the tests fail because of missing module ProcessOptimizer.model_systems
============================= test session starts ==============================
[8](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:9)
platform linux -- Python 3.9.15, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
[9](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:10)
rootdir: /home/runner/work/process-optimizer-api/process-optimizer-api, configfile: pytest.ini
[10](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:11)
collected 2 items / 1 error / 1 selected
[11](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:12)

[12](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:13)
==================================== ERRORS ====================================
[13](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:14)
___________________ ERROR collecting tests/test_optimizer.py ___________________
[14](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:15)
ImportError while importing test module '/home/runner/work/process-optimizer-api/process-optimizer-api/tests/test_optimizer.py'.
[15](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:16)
Hint: make sure your test modules/packages have valid Python names.
[16](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:17)
Traceback:
[17](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:18)
/opt/hostedtoolcache/Python/3.9.15/x64/lib/python3.9/importlib/__init__.py:127: in import_module
[18](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:19)
    return _bootstrap._gcd_import(name[level:], package, level)
[19](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:20)
tests/test_optimizer.py:4: in <module>
[20](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:21)
    from optimizerapi import optimizer
[21](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:22)
optimizerapi/optimizer.py:19: in <module>
[22](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:23)
    from ProcessOptimizer import Optimizer, expected_minimum
[23](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:24)
/opt/hostedtoolcache/Python/3.9.15/x64/lib/python3.9/site-packages/ProcessOptimizer/__init__.py:18: in <module>
[24](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:25)
    from .model_systems import benchmarks
[25](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:26)
E   ModuleNotFoundError: No module named 'ProcessOptimizer.model_systems'
[26](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:27)
=========================== short test summary info ============================
[27](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:28)
ERROR tests/test_optimizer.py
[28](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:29)
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
[29](https://github.com/BoostV/process-optimizer-api/actions/runs/3393885013/jobs/5990885344#step:6:30)
=============================== 1 error in 0.68s ===============================

Hi,
It is now pinned to 1.3.3. We had a small mishap in 0.7.6 regarding the model systems, but that should have been fixed by 0.7.7, which is pip'able.
Best,
Søren


AppCenterTest task is failing in Azure Pipeline

My AppcenterTest task pipelines started to fail for no reason. I reported the issue to AppCenter support, they found out that it was caused by the dependency called @azure/core-client in appcenter-cli, it seems to use some syntax that the code checking tool can't recognize. As you can see from the latest update 4 days ago, the version of typescript changed. Then I checked that the file serilizer.js changed the file content mentioned in the error log.
version 1.9.0: @azure/core-client - npm (npmjs.com)
version 1.9.2: @azure/core-client - npm (npmjs.com)
The content defining modelMappers differs between these two files, which is why the JavaScript code checker fails to recognize it.
here are the actual logs on my pipeline;
2024-04-15T17:14:41.8691590Z ##[section]Starting: AppCenterTest
2024-04-15T17:14:41.8700600Z ==============================================================================
2024-04-15T17:14:41.8700720Z Task         : App Center test
2024-04-15T17:14:41.8700800Z Description  : Test app packages with Visual Studio App Center
2024-04-15T17:14:41.8700880Z Version      : 1.232.0
2024-04-15T17:14:41.8700930Z Author       : Microsoft Corporation
2024-04-15T17:14:41.8701000Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/test/app-center-test
2024-04-15T17:14:41.8701110Z ==============================================================================
2024-04-15T17:14:43.6181140Z [command]/usr/local/bin/appcenter test prepare uitest --artifacts-dir /Users/runner/work/1/a/AppCenterTest --app-path /Users/runner/work/1/s/apps/InforMobilePublicSectorTouch.ipa --build-dir /Users/runner/work/1/b/Release --uitest-tools-dir apps/Xamarin.UITest.3.2.9/tools --include-category CDRCaseSet1 --quiet
2024-04-15T17:14:46.3489000Z /usr/local/lib/node_modules/appcenter-cli/node_modules/@azure/core-client/dist/commonjs/serializer.js:11
2024-04-15T17:14:46.3547850Z     modelMappers;
2024-04-15T17:14:46.3555370Z                 ^
2024-04-15T17:14:46.3555840Z
2024-04-15T17:14:46.3556440Z SyntaxError: Unexpected token ;
2024-04-15T17:14:46.3556990Z     at new Script (vm.js:79:7)
2024-04-15T17:14:46.3598880Z     at createScript (vm.js:251:10)
2024-04-15T17:14:46.3601740Z     at Object.runInThisContext (vm.js:303:10)
2024-04-15T17:14:46.3631530Z     at Module._compile (internal/modules/cjs/loader.js:657:28)
2024-04-15T17:14:46.3640850Z     at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
2024-04-15T17:14:46.3642160Z     at Module.load (internal/modules/cjs/loader.js:599:32)
2024-04-15T17:14:46.3663640Z     at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
2024-04-15T17:14:46.3664370Z     at Function.Module._load (internal/modules/cjs/loader.js:530:3)
2024-04-15T17:14:46.3665260Z     at Module.require (internal/modules/cjs/loader.js:637:17)
2024-04-15T17:14:46.3668190Z     at require (internal/modules/cjs/helpers.js:22:18)
2024-04-15T17:14:46.3726130Z ##[error]Error: The process '/usr/local/bin/appcenter' failed with exit code 1
2024-04-15T17:14:46.3755290Z ##[section]Finishing: AppCenterTest

I'm not sure that this was caused by the TS version change since 1.9.2 was published before that went in. The callstack above also isn't very helpful for determining why the semicolon is being treated as a syntax error.
@jeremymeng can you take a look?

At some point our target was ES2022 forced by tshy. We reverted it to ES2017.  I wonder whether the issue was because of ES2022's new syntax features like optional chaining and null coalescing that caused the error.  @christian26A sorry for the super late response. Do you still have issue with appcenter-test?


WIP: First sketch of Workspace and WorkspaceShard APIs

This is a draft PR as a basis for discussion. First points to discuss:

The group is named tenancy.kcp.dev. Probably the wrong name. Proposals welcomed !
The Workspace still seems somehow too much "general purpose" and would complete with meaning like IDE workspace, for example. Why not something like cloudspace ou clusterspace ?

Naming is hard. Can we possibly name this something other Workspace. There are so many neighbouring areas where Workspace is used that this is going to just cause confusion. Perhaps we can use Space as an alternate?

@jwforres @smarterclayton Do we really want to merge this PR with the Workspace name ? Are alternatives like Space, CloudSpace, or any equivalent still considered ?

We had a discussion today in Slack about desired and current shard assignment, spec vs. status, failure/recovery modes. We've decided to merge this as-is, and follow up with changes from the discussion - move shard assignment out of spec and into status.


Updating documentation for Ionic v3

Checklist

Issue number for this PR: #nnn (required)
Docs included?: (yes/no; required for all API/functional changes)
Test units included?: (yes/no; required)
In a clean directory, npm install, npm run build, and npm test run successfully? (yes/no; required)

Description

Code sample

Thanks!


Bump go version to 1.7.1

/cc @joshwget
It also updates version of docker we test against.
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

All green :angel: