The wayland driver has a bug.

My English is not good that some sentences may be expressed incorrectly. If the statement is not accurate, try translating Chinese into English.
我的英语不是很好，部分句子可能表述不对。如果表述不准确，可以试试翻译将中文翻译成英文。
When I was using wayland, I found a bug that made the animation play incomplete
当我使用wayland时，我发现一个bug，这个bug使动画播放不完整

The bug is caused by the following code
这个bug是由下面这部分代码产生
else if (buffer->busy)
    {
        LV_LOG_WARN("skip flush since wayland backing buffer is busy");
        printf("skip flush since wayland backing buffer is busy\n");
        lv_disp_flush_ready(disp_drv);
        return;
    }

The wl_buffer is always busy because it is submitted many times in a frame
这是由于一帧中多次提交wl_buffer，导致wl_buffer总是处于忙碌状态
I tried to change it
我试过修改
#define LV_INV_BUF_SIZE 1

This keeps lvgl constantly in full screen refresh, and even then wl_buffer is often busy. But the weston I'm using can play 1080p@30 videos, and it should play lvgl.
这使lvgl经常处于全屏刷新，但即使这样wl_buffer也经常busy。但是我用的weston可以播放1080p@30的视频，不应该播不了lvgl。
So I removed the code about buffer->busy, and then everything works, is this method feasible?
所以我删除了buffer->busy这部分代码，然后一切都正常了，这个方法可行吗？

It seems the Wayland driver get popular. @WallaceIT @simplejack-src could you check this out?

@WallaceIT
LVGL uses single thread to process UI related content to avoid data race, but now maybe the wayland flush take too much time.
In fact, I also encountered this problem. I think that's one of the reasons.
https://github.com/lvgl/lv_drivers/pull/249

Except LVGL, I also run electron with wayland and it seems nothing unusual.

@HR1025
the problem was not solved when my project added your code as well as "#define LV_INV_BUF_SIZE 1". In theory, using #define LV_INV_BUF_SIZE 1 should reduce the number of wayland flush,but wayland is still busy. so, I guess wayland may be the source of the problem.I think my wayland version is low, leads to lower communication efficiency of lvgl. My weston is 8.0.0 and wayland is 1.18.0. What is your Wayland version?I go to try.
我在使用”#define LV_INV_BUF_SIZE 1“的情况下，添加了你的代码，但没有解决这个问题。理论上讲使用了”#define LV_INV_BUF_SIZE 1“后，能减少wayland的刷新次数，而避免wayland刷新过多的问题，但在这种情况下wayland依旧经常忙碌。所以，我猜测wayland才可能是问题的源头，感觉有可能是wayland版本太低，导致lvgl的通信效率低。我的weston是8.0.0，wayland1.18.0，请问一下你的wayland版本是多少？我去试试。

@HR1025
the problem was not solved when my project added your code as well as "#define LV_INV_BUF_SIZE 1". In theory, using #define LV_INV_BUF_SIZE 1 should reduce the number of wayland flush,but wayland is still busy. so, I guess wayland may be the source of the problem.I think my wayland version is low, leads to lower communication efficiency of lvgl. My weston is 8.0.0 and wayland is 1.18.0. What is your Wayland version?I go to try.
我在使用”#define LV_INV_BUF_SIZE 1“的情况下，添加了你的代码，但没有解决这个问题。理论上讲使用了”#define LV_INV_BUF_SIZE 1“后，能减少wayland的刷新次数，而避免wayland刷新过多的问题，但在这种情况下wayland依旧经常忙碌。所以，我猜测wayland才可能是问题的源头，感觉有可能是wayland版本太低，导致lvgl的通信效率低。我的weston是8.0.0，wayland1.18.0，请问一下你的wayland版本是多少？我去试试。

@904221150 weston and wayland both 10.0

@904221150 Could you try the following code?
static void _lv_wayland_flush(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t *color_p)
{
    struct window *window = disp_drv->user_data;
    struct buffer_hdl *buffer = &window->body->buffer;

    const lv_coord_t hres = (disp_drv->rotated == 0) ? (disp_drv->hor_res) : (disp_drv->ver_res);
    const lv_coord_t vres = (disp_drv->rotated == 0) ? (disp_drv->ver_res) : (disp_drv->hor_res);

    /* If private data is not set, it means window has not been initialized */
    if (!window)
    {
        LV_LOG_ERROR("please intialize wayland display using lv_wayland_create_window()");
        return;
    }
    /* If window has been / is being closed, or is not visible, skip rendering */
    else if (window->closed || window->shall_close)
    {
        lv_disp_flush_ready(disp_drv);
        return;
    }
    /* Return if the area is out the screen */
    else if ((area->x2 < 0) || (area->y2 < 0) || (area->x1 > hres - 1) || (area->y1 > vres - 1))
    {
        lv_disp_flush_ready(disp_drv);
        return;
    }
    else if (window->resize_pending)
    {
        LV_LOG_TRACE("skip flush since resize is pending");
        lv_disp_flush_ready(disp_drv);
        return;
    }

#if (LV_COLOR_DEPTH == BYTES_PER_PIXEL * 8)              /* memory align */ \
    && !(LV_COLOR_DEPTH == 1 || LV_COLOR_DEPTH == 8)     /* not RGB332 */
    int32_t bytes_pre_pixel = BYTES_PER_PIXEL;
    int32_t x1 = area->x1, x2 = area->x2 <= disp_drv->hor_res - 1 ? area->x2 : disp_drv->hor_res - 1;
    int32_t y1 = area->y1, y2 = area->y2 <= disp_drv->ver_res - 1 ? area->y2 : disp_drv->ver_res - 1;
    int32_t act_w = x2 - x1 + 1;

    for (int y = y1; y <= y2; y++)
    {
        lv_memcpy((uint8_t *)buffer->base + ((y * disp_drv->hor_res + x1) * bytes_pre_pixel), color_p, act_w * bytes_pre_pixel);
        color_p += act_w;
    }
#else
#if !(LV_COLOR_DEPTH == 1 || LV_COLOR_DEPTH == 8)
#error "Unsupport LV_COLOR_DEPTH, support LV_COLOR_DEPTH: 1 (1 byte per pixel), 8 (RGB332), 16 (RGB565), 32 (ARGB8888)"
#endif
    int32_t x;
    int32_t y;
    for (y = area->y1; y <= area->y2 && y < disp_drv->ver_res; y++)
    {
        for (x = area->x1; x <= area->x2 && x < disp_drv->hor_res; x++)
        {
            int offset = (y * disp_drv->hor_res) + x;
            uint8_t * const buf = (uint8_t *)buffer->base + offset;
            *buf = ((0x07 * color_p->ch.red)   << 5) |
                ((0x07 * color_p->ch.green) << 2) |
                ((0x03 * color_p->ch.blue)  << 0);
            color_p++;
        }
    }
#endif

    wl_surface_damage(window->body->surface, area->x1, area->y1,
                    (area->x2 - area->x1 + 1), (area->y2 - area->y1 + 1));

    if (buffer->busy)
    {
        LV_LOG_WARN("skip flush since wayland backing buffer is busy");
        lv_disp_flush_ready(disp_drv);
        return;
    }

    if (lv_disp_flush_is_last(disp_drv))
    {
        if (window->body->surface_configured) {
           wl_surface_attach(window->body->surface, buffer->wl_buffer, 0, 0);
           wl_surface_commit(window->body->surface);
        }
        buffer->busy = true;
        window->flush_pending = true;
    }

    lv_disp_flush_ready(disp_drv);
}

Maybe this will solve your problem, Thanks.

@HR1025

Do you use the standard memory operation interface? Add below define to lv_conf.h.
#define LV_STDLIB_INCLUDE <stdlib.h>
#define LV_MALLOC       malloc
#define LV_REALLOC      realloc
#define LV_FREE         free
#define LV_MEMSET       memset
#define LV_MEMCPY       memcpy

LVGL in order to be able to run in an environment like MCU , implement a set of memory operation interfaces. Their efficiency is far lower than the native interface of Linux.
I think _lv_wayland_flush don't need so much time to process.

Apologies for the late response, life has dealt me a low hand on a bad turn.  The root cause of this issue (and similar ones), comes down to the fact that the wayland driver only allocates a single backing buffer (per window/decoration/etc.). When this is busy (i.e. submitted to the wayland compositor), the driver is unable to continue drawing until this buffer becomes free (i.e. the wayland compositor returns the buffer).
This is less then ideal, and a more verbose solution is to have the driver allocate backing buffers on demand (thus allowing more the one buffer to be in flight between the client and compositor). I had started this transition (see #250) but unfortunately, it doesn't look like I'll be able to complete it (at least not in the near future). I've posted my WIP up so anyone can continue the crusade.
All the best,
simplejack

Thank you, for looking into it.
It seems the Wayland driver is getting popular and it'd be great to have good support for it.
How broken it is in it's current state? Is it working with some settings?

For me it seems to work kind of OK with direct mode set to true.
But it's not exactly smooth if many updates are needed.

@HR1025

@HR1025
I tried a similar change in lvgl8.3, but the speed didn't change, presumably my platform was underperforming.
我在lvgl8.3尝试了下类似的的修改，但速度没有变化，这大概是我的平台性能不足了。

@kisvegabor
Thank you for your reply.
I will try again to solve this problem.
我也再尝试一下，看能不能解决这个问题

@kisvegabor
I've added some logs that make it easy to see what's going on in lvgl wayland
我添加了些log，通过这些log可以很容易看出lvgl目前的情况
wayland_flush time:0
wayland_flush time:0
wayland_flush time:0
wayland_flush time:0
wayland_flush time:0
start:5362, refr_invalid_areas time:3, elaps:3
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
start:5394, refr_invalid_areas time:1, elaps:1
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
start:5424, refr_invalid_areas time:2, elaps:2
wayland_flush time:0
wayland_flush time:0
wayland_flush time:0
start:5455, refr_invalid_areas time:1, elaps:1
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
start:5485, refr_invalid_areas time:1, elaps:1
wayland_flush time:0
wayland_flush time:0
wayland_flush time:0
wayland_flush time:0
wayland_flush time:0
start:5515, refr_invalid_areas time:3, elaps:3
skip flush since wayland backing buffer is busy
skip flush since wayland backing buffer is busy
start:5547, refr_invalid_areas time:1, elaps:1

wayland_flush time:%d //_lv_wayland_flush runs properly
skip flush since wayland backing buffer is busy //_lv_wayland_flush error
start:%d, refr_invalid_areas time:%d, elaps:%d  //Every frame
I don't think the current solution will make wayland work properly. My remedy is not recommended. It doesn't completely solve the problem.
我觉得目前没有方法能使wayland正常工作，我的补救方法并不推荐拿来用，这种方法并不能完全解决这个问题。

I don't know much about Wayland, but can't we simply poll a "busy flag" in case of "skip flush since wayland backing buffer is busy" while the backing buffer becomes available?

Hi,
I found some time to work on the Wayland driver. Can you please try the version available in draft PR #253 ?
The code there adds a second buffer to the Wayland driver, so one buffer is updated while another one is being displayed. In my tests, this eliminates the "busy buffer" issue.
Please note that the PR is still in draft state!

I'd be happy to try it out, but I'm not sure if there is a way to test it on conventional Linux Mint?

Hi @kisvegabor
You should be able to test the Wayland driver using Weston, that is available in Ubuntu (and thus also in Linux Mint, I think).

In raw Linux environment, weston can be cross compile.

Although this is complex, it is still achievable. In fact, that's what I did.

If your system is based on Debian (Ubuntu 、Deepin and maybe others), the command below can solve your dependencies:
# device input
sudo apt install libxkbcommon-dev
# wayland dependencies
sudo apt install libwayland-dev
sudo apt install wayland-protocols libwayland-bin
# weston
sudo apt install weston

Maybe there are other dependencies, but I don't remember very clearly.

You can simply run weston, it will run a virtual window. And use https://github.com/lvgl/lv_port_pc_eclipse to test.
Good Luck
@kisvegabor

@WallaceIT
I tried to add your code into my project, but a "Segmentation fault" occurred at run time. I need to see if I made the wrong transplant. I'm also going to take a second to look at [#250], which I missed earlier
我试试着将你的代码添加进我的工程，但运行时发生了“Segmentation fault”。我得看一下是否我移植错误了。我也要再花点时间看下 [#250 ]，我之前居然看漏了

@904221150 any error printed before the Segmentation fault? Can you share some more details on your configuation?

@WallaceIT
Probably because of XDG_SHELL and WL_SHELL, I found some changes in XDG_SHELL, but I used WL_SHELL, WL_SHELL has no similar changes.In addition, it seems that my weston and wayland do not have wayland-xdg-shell-client-protocol.h, but both have xdg-shell-client-protocol.h. Maybe the version is too low
可能是因为XDG_SHELL和WL_SHELL的原因，我发现XDG_SHELL里进行了部分修改，但我使用了WL_SHELL，WL_SHELL没有类似的修改。另外我的weston和wayland似乎没有wayland-xdg-shell-client-protocol.h，但都有xdg-shell-client-protocol.h。可能真的版本太低

See my earlier reported bug #225
https://github.com/lvgl/lv_drivers/issues/225

@WallaceIT Probably because of XDG_SHELL and WL_SHELL, I found some changes in XDG_SHELL, but I used WL_SHELL, WL_SHELL has no similar changes.In addition, it seems that my weston and wayland do not have wayland-xdg-shell-client-protocol.h, but both have xdg-shell-client-protocol.h. Maybe the version is too low 可能是因为XDG_SHELL和WL_SHELL的原因，我发现XDG_SHELL里进行了部分修改，但我使用了WL_SHELL，WL_SHELL没有类似的修改。另外我的weston和wayland似乎没有wayland-xdg-shell-client-protocol.h，但都有xdg-shell-client-protocol.h。可能真的版本太低

You can use wayland-scanner to generate the file xdg-shell-client-protocol.h
https://github.com/symfund/lvgl-port-ma35d1/blob/master/wayland-protocol-code-generator.png

我找到了另外一个解决办法。我在weston的基础上又加上了SDL，然后又写了个opengles的lvgl显示驱动。虽然环境好像加多了个，但这种方法能够正常显示。

I found another solution. I added SDL to weston and then wrote an opengles lvgl display driver. Although the environment is more, but this method can display normally.
我找到了另外一个解决办法。我在weston的基础上又加上了SDL，然后又写了个opengles的lvgl显示驱动。虽然环境好像加多了个，但这种方法能够正常显示。
@kisvegabor
Does lvgl add an opengles driver later? On lvgl v8, my app has reached 100% occupancy on single-core<EMAIL_ADDRESS>The reason I used the wayland driver was to use weston's full screen rotation to reduce single-core consumption.But even using weaton, the single-core occupancy is still high, so I use opengles for rgb565 to argb, 720p to 1080p and rotation.If lvgl want  to reduce cpu consumption, it's a good idea to use opengles.
lvgl后续是否要加个opengles的驱动？在lvgl<EMAIL_ADDRESS>

Does lvgl add an opengles driver later? On lvgl v8, my app has reached 100% occupancy on single-core<EMAIL_ADDRESS>The reason I used the wayland driver was to use weston's full screen rotation to reduce single-core consumption.But even using weaton, the single-core occupancy is still high, so I use opengles for rgb565 to argb, 720p to 1080p and rotation.If lvgl want to reduce cpu consumption, it's a good idea to use opengles.

Yes, it'd be gret to have an OpenGLES drawing engine. In v9 the rendering architecture will be improved and I think it will be easier to add and OpenGLES backend.


0800 support

Does it support "0800" numbers?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26952437-0800-support?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).

Not yet, unfortunately

Merged on master


Moved unproven feature gates to trait impl blocks

As suggested in #426, this PR moves the feature gates to the impl blocks. That way, you can still use parts of these modules without unproven.
If this is something we want, I would probably add replacement methods in case unproven isn't active to make them useful again. And make the e-h trait impls wrappers around those.
At this state some modules' main functions wouldn't be accessible.

Honestly, I'm starting to think we should enable unproven unconditionally. It's becoming a real pain. Is there anyone who wants to turn it off? Given the state of embedded-hal, I doubt it. Once embedded-hal reaches v1.0, we can return it to an optional feature.

That would another solution.

@sajattack, what do you think about making unproven unconditional for the time being? Seems more trouble than it's worth

@sajattack, what do you think about making unproven unconditional for the time being? Seems more trouble than it's worth

Yeah go for it.


add a definition file for typescript users

This won't affect any existing code.

i have non clue if this is right or wrong, but i'll take it. thanks!


Fix downloads url

The link without slash is not working.

Codecov Report

Merging #8153 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #8153      +/-   ##
=========================================
- Coverage   41.81%   41.8%   -0.01%
=========================================
  Files         482     482
  Lines       64557   64557
=========================================
- Hits        26993   26990       -3
- Misses      34095   34097       +2
- Partials     3469    3470       +1

Impacted Files
Coverage Δ

modules/process/manager.go
76.81% <0%> (-4.35%)
:arrow_down:

modules/log/event.go
64.61% <0%> (-1.03%)
:arrow_down:

models/repo_list.go
74.14% <0%> (+0.97%)
:arrow_up:

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 3fd0eec...c0a3b0f. Read the comment docs.


SSR does not render correctly

Version
3.0.8
Reproduction link
https://github.com/ArthurSuz/vue-server-render-bug
Steps to reproduce
Clone the git repository. Run npm install and then npm run dev.
What is expected?
<template>

{{ test }}

</template>

render as

0.348081003750071

'0.348081003750071' is a random number, should be the same
What is actually happening?

0.348081003750071

This 'data-test' has taken the value of the server and has not changed to the value of the client

I encountered this problem when dealing with node style dynamic acquisition URL (used to process webp compatibility, the server supports by default and the client detects that it does not support the downgrade and replace the URL). The problem in

 The url will be fixed as the server, and the downgrade will be invalid, so this problem will be reproduced at least

This is expected: you are responsible for the data used in your application and it being the same on server and client. In this scenario, the value should be serialized somewhere on the page for the client to pick it up and properly hydrate.


v1.1.0

This version includes the following changes:

Huge accessibility improvements and support for keyboard navigation related to #65, #54
Support for TypeScript projects by adding index.d.ts thanks to @thebrodmann
Removed hardcoded text and added language files for easy localization. Therefore, removed isPersian prop and added locale prop default to en. related to #55
New slideAnimationDuration for customizing animations thanks to @themzed

README.md is also updated!


QUESTION: Where to find backups/How to store backups outside container

Hello,
first this is not a bug but a question.
I am using QNAP QTS 5.0 with Container Station 2.6.1 whitch is a Docker system.
At the "store" of container station I found the docker image for historian, build by jokay.
I tried many path variants to store the automatic backup but there is no error from historian or docker. At the command line every day it is simply shown
2022-08-27 00:59:58|INFO |Creating backup of database to file HistorianBackup_2022-08-27.zip
But nowhere on the whole storage I could find this or the files.
So the first question is, where could I find the "successfully" created file? Or is the message from historian not true?
Second question is: How to store the automatic backups outside the docker system. Just on a simple share. I know, that is not in the scope of historian itself but maybe I could find tips here.
I cannot provide docker-compose.yaml and neither the docker run command.
Please tell me how to get them from my environment.
So therefore I would need more specific information how to get to this information.
Actually I think its all default how I gets out of the image, because I did not change anything but the ccu-historian.config whitch is attached.

So I need more help to get more information more like "step by step" manuals.
But I want to thank you @jokay. The container and the historian is working fine and fast, so you did a good job.
If the backup is running it is perfect :)
Best regards,
flow4it
ccu-historian.zip

I really wonder how you got the backup even to run with the default config, this is why I asked for more information :wink:
The supported environment variables can be found uner Configuration any additional config param(s) (e.g. database.backup) needs to be added manually in the ccu-historian.config

Additional config settings should be made by changing the config file ccu-historian.config within the docker container.
It is easier to export the config folder out of the docker container and edit the file there.

As stated on the documentation of CCU-Historian itself, you need to specify database.backup in order to get the backup work.

Es können automatisiert Backups der Datenbank erstellt werden. Diese Funktionalität wird mit der Option database.backup konfiguriert. Durch diese Option wird ein Dateipfad mit bestimmten Platzhaltern zur Ablage der erstellten Backup-Dateien angegeben. Relative Dateipfade beziehen sich auf das Arbeitsverzeichnis vom CCU-Historian. Dies ist normalerweise das Installationsverzeichnis.

I do not reinvent the wheel with my container, it only supports the official config params of the application.
If you have a look inside the container the application can be found under the path /opt/ccu-historian.
We have mounts for /database and /opt/ccu-historian/config as mentionned under volumes.
You could just add another mount yourself for the backup which can be a local mount on your NAS or a remote mount using e.g. NFS by specifying database.backup='/database/backup/db_%Y-%M-%D-%h' in ccu-historian.config.
Docker is easy, once you understand how it works :wink:
So long story short ...

Run the container at least once with the minimum config params (CONFIG_CCU_TYPE, CONFIG_CCU_IP, CONFIG_HOST_IP) and mounts (/database, /opt/ccu-historian/config)
Optional: Add another external mount (e.g. /database/backup) by using NFS if you want your backups externally
Add the config param database.backup in ccu-historian.config
Restart the container

May be the first part of this guide for Synology may be helpful as well, see [here]/https://www.cyberdoc-net.de/2020/10/ccu-historian-daten-mit-grafana-visualisieren/).

I only saw the attached ccu-historian.config now, try to change ...
- database.backup='HistorianBackup_%Y-%M-%D.zip'
+ database.backup='/database/HistorianBackup_%Y-%M-%D.zip'

@flow4it could you setup what you needed?

@flow4it could you setup what you needed?

I am sorry @jokay but I need more time to get into that container technique. Do you know qnap container station. Frist problem is the environment variables aren't changeable after creating the container. So it could be made by ssh commands but this is difficult as well.
Well anyway I am thinking about setting up a virtual machine with Linux and let it run there. That will make everything so much easier.
Could you recommend a Linux distributon for historian with less requirements?

Sorry closing was not my plan

@flow4it
i can change the environment variables, when I stop the container and restart after the changes are saved.

The environment variables are only used on the first start of the container to create the ccu-historian.config.
You need to create a mount for /opt/ccu-historian/config to be able to edit the created ccu-historian.config otherwise it won't be persistent. This is how Docker works.

Now I got it running. I had to recreate the container and set it from scratch. Within the wizard I had to set a volume from host in the shares settings.
With /database/backup you mentioned it found the shared path within the container.
The biggest problem for me was to clean a running installation for the backup. But well sometimes there is no other we - as it looks like.
Thanks a lot,
flow4it


Unable to download personal rating data on Android KitKat

Reason is unknown. All other data can be downloaded correctly but personal rating just throws a network request failure error.

I doubt if I can fix it... Is it a react native issue or just KitKat???

I have added try catch to prevent this error. However, is it a good thing?

It should be fixed since PR is now on my GitHub repo.


How to check what version gam is installed and how to upgrade to new version?

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:
1.
2.
3.
Expected outcome (what are you trying to do?):
Actual outcome (what errors or bad behavior do you see instead?):

Type: gam version
Go here: https://github.com/jay0lee/GAM/releases
Download the latest version and install. When asked do you want to create a
project, say no.
On Fri, Aug 25, 2017 at 12:29 PM, pnishit<EMAIL_ADDRESS>wrote:

The issue tracker is for reporting product deficiencies. "How do I?"
questions should be posted to the discussion forum at
https://groups.google.com/group/google-apps-manager. When in doubt, start
at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from
https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at
https://github.com/jay0lee/gam/wiki
https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:
1.
2.
3.
Expected outcome (what are you trying to do?):
Actual outcome (what errors or bad behavior do you see instead?):
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/556, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU8L8buZk01vhR_y-BgKivGHkP842Rzks5sbyCwgaJpZM4PDEtZ
.

--
Ross Scroggs
<EMAIL_ADDRESS>

I would recommend to follow the documentation, the update command is at the bottom:
https://github.com/jay0lee/GAM/wiki#mac-and-linux-users

In 2022, recommending someone learn the product and read documentation is considered a crime. #futuretips


Skip parse in UpdateData.empty_update_for

This was replaced by 861ab2d243a068adb9b0495470eace6be4f9ff4f to allow clients to specify empty refs to objects, instead of it being a library internal thing used during functional updates.
Though the above commit doesn't have tests, which it should take from this commit.

Open a new PR to take these tests?


[Infrastructure] monorepo for all dashboards

Is your feature request related to a problem? Please describe.
There are a lot of repos in this org, 33 to be exact. One repo only holds the code for one dashboard, this can get really hard to maintain and keep track of once this project gets bigger. I also don’t want to clone 29 repos when contributing.
Describe the solution you'd like
One monorepo containing all dashboards and the website or 1 repo per technology + the website.
if you decide you like my suggestion, I can submit a pr!

You're right, I didn't think of that first. The best would be to have 1 repo per technology.

Cool, can I pr it tomorrow?

@enochndika Actually, I think it would be better if you do it because you can easily move the files around whereas I would have to clone everything and then move.

Hey @samarmohan, I've been thinking a lot about this and while I was fine with the idea of having a monorepo, I think it would be better to stick with this model. As people are forking and submitting pull requests, I think it could create a shakeup.
Thank you for your proposal. When you want to contribute, if you don't want to clone all 33 repositories, you can just make changes for the repositories you want to make changes for and for the others, I will complete those changes when I have time.


Ownerreferences no longer added to resources deployed through operator

Hello, it seems this feature was initially added here but was later removed here in exchange for annotations. I also can't seem to find why this was changed. We found ownerreferences useful because we use ArgoCD to deploy our kfdefs and ArgoCD uses owner-references to draw out relationships (and possibly other logic) between the resources being deployed by the operator. Now Argocd only sees the kfdef and none of the components' resources being deployed. e.g.

vs:

Is this something that can be re-added?

@animeshsingh  @vpavlin

I think the reason why it's been removed it is pretty much described in the PR (parent to the removal commit you linked, @HumairAK): https://github.com/kubeflow/kfctl/pull/411.
It all leads to this upstream kubernetes issue https://github.com/kubernetes/kubernetes/issues/65200 which will be fixed in kubernetes 1.20)
We use OCP, and I have no idea if the problem is actually present in on our platform at all or not.


Could not find class 'android.graphics.drawable.RippleDrawable' in pre lollipop devices

Material Dialogs version: <IP_ADDRESS>
Device OS version: 4.4.4

When you create a MaterialDialog in pre lollipop devices you get the next error:
E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering

It's ok, pre lollipop android cant draw ripple.

Unable to reproduce on KitKat devices.

Please, did someone find the soluction for this problem, it may be so helpfully.


Unused offset within smithy.model.pattern.SmithyPattern.Segment.Parse

Hi, I think there's a small bug with the Segment Parser.
It appears that the offset variable is currently unused within the smithy.model.pattern.SmithyPattern.Segment.Parse function.
https://github.com/awslabs/smithy/blob/2e1cdc4af7e7cdab3138f5f3912a3af930b569a2/smithy-model/src/main/java/software/amazon/smithy/model/pattern/SmithyPattern.java#L276
All callers of this function also appear to be calling this parse function incorrectly and are exhibiting correct parsing behaviour because the offset variable is unused.
The call to Segment.parse at https://github.com/awslabs/smithy/blob/2e1cdc4af7e7cdab3138f5f3912a3af930b569a2/smithy-model/src/main/java/software/amazon/smithy/model/pattern/UriPattern.java#L80
Should always have an offset of 0 because the string is first split into chunks by /.
The call to Segment.parse at https://github.com/awslabs/smithy/blob/2e1cdc4af7e7cdab3138f5f3912a3af930b569a2/smithy-model/src/test/java/software/amazon/smithy/model/pattern/SmithyPatternTest.java#L39
Same as above, should always be 0 given that the string is chunked by '/' first.
The call to Segment.parse at https://github.com/awslabs/smithy/blob/2e1cdc4af7e7cdab3138f5f3912a3af930b569a2/smithy-model/src/main/java/software/amazon/smithy/model/traits/EndpointTrait.java#L66
This should also have the offset always set to 0 because the string is first tokenized into chunks.
A new test should be added to verify that the offset is used correctly.
Alternatively, the offset parameter could be removed but this would be a breaking API change so less desirable, up to you though.
I'm happy to submit a PR to correct the issue if the above is correct.

You're right that the offset parameter to SmithyPattern.Segment.parse isn't used. I think the documentation for the parameter is a little misleading, causing your interpretation that it should always be given 0. The documentation currently reads "Character offset where the segment starts." This should actually be "Character offset where the segment starts in the containing pattern."
With that in mind, the initial offset values make more sense but the calculations are still incorrect - they don't take in to account the separator characters when adding the length to the offset. See here:
https://github.com/awslabs/smithy/blob/2e1cdc4af7e7cdab3138f5f3912a3af930b569a2/smithy-model/src/main/java/software/amazon/smithy/model/pattern/UriPattern.java#L76-L82
and here:
https://github.com/awslabs/smithy/blob/2e1cdc4af7e7cdab3138f5f3912a3af930b569a2/smithy-model/src/main/java/software/amazon/smithy/model/traits/EndpointTrait.java#L67
Instead of deprecating the parse method with offset, we could make use of it by safely overloading the Segment constructor and utilizing it in the exception messages thrown from checkForInvalidContents:
https://github.com/awslabs/smithy/blob/2e1cdc4af7e7cdab3138f5f3912a3af930b569a2/smithy-model/src/main/java/software/amazon/smithy/model/pattern/SmithyPattern.java#L252
We'll discuss this and make the appropriate update(s).


Trend: Average Directional Movement Index (ADX)

The average directional index (ADX) is a technical analysis indicator used by some traders to determine the strength of a trend.
https://www.investopedia.com/terms/a/adx.asp

I'm very interested by this one!


SleighEditor sqrt table issue

Describe the bug
Creating an instruction with the mnemonic sqrt appears to cause an issue with the SleighEditor parser. This might occur with other built in names, but I only happened to notice with sqrt.
To Reproduce
Steps to reproduce the behavior:

Load/Install SleighEditor in eclipse.
Create a *.sinc file and an instruction with the mnemonic sqrt

Screenshots
Named :sqrt

Changed name:

Environment (please complete the following information):

SleighEditor: 1.0.0 (packaged with ghidra 0.9.1_BETA)

sqrt is a keyword (used for the sqrt pcode op). It should work if you place quotes around the name sqrt
:"sqrt" "Q", vuft^ftf is ...

sqrt is a keyword (used for the sqrt pcode op). It should work if you place quotes around the name sqrt
:"sqrt" "Q", vuft^ftf is ...

Oh I see. I was aware it was a keyword but I thought that anything determined to be a mnemonic was interpreted literally. ie it would appear with the quotes. This doesn't appear to be the case and it appears appropriately with the quotes.
Thank you.


Node type flexibility & TypeScript

One important thing we need to work out before converting this library to TS is how flexible node types are. If they're too flexible, TypeScript becomes useless. For example, we could choose to enforce that nodes have to be objects, or we could allow them to be custom classes. If we allow them to be custom classes and objects, TS isn't going to be much help.
The main question is: if a developer has specific-enough needs to want to build their own Node class, would they even be using Treecle? Are there any common use cases where someone with a non-object type of node would want to use Treecle?

@LeaVerou thoughts on this?

A good design principle for any artifact you develop is the priority of constituencies: End-users > Authors > Implementors > Theoretical purity.
Our convenience is lower priority than our users’ convenience (called "authors" here to distinguish from their own end-users), and their convenience is less important than their end-users’ convenience. Do not inconvenience users to make our life developing or testing easier. Favor internal (implementation) complexity over external (API) complexity.
We should not be making API design decisions based on what TypeScript supports.

Sure makes sense, let's just stick with plain JS then

@adamjanicki2 Is there any way to tell TS that something is a "Node" without having to define what a node means? It seems like that would give us the best of both worlds.

The best compromise I can think of is setting type Node = any to provide the flexibility we want while getting good type checking in most other places with other basic typing

Do you think TS still offers us benefits in that case?

Not enough to justify using it over regular JS

Ok, I trust your judgement on this! If you decide to move to TS, I'm game to try it.


moved rulesViolated and all the validation functions from Collections…

it's not completed: the validators have to be tested but this logic works.

src/js/collection.js
816 There is no need to pass ruleError, you can alert from validateAndSetCurrentValue
src/js/components/SurveyCollection.js
306 Dont call setCurrentValue if rules are violated.  This does an extra calculation collection.js
306 There is no need to pass ruleError, you can alert from validateAndSetCurrentValue
src/js/project/SurveyQuestions.js
390 Why did you make a function for this?
392 There is no need to pass ruleError, you can alert from validateAndSetCurrentValue

I choose to pass ruleError to validateAndSetCurrentValue because in collection it is used by a function which do some checks before checking for the ruleError:
    checkSelection = (sampleIds, ruleError, questionToSet) => {         if (!this.warnOnNoSamples(this.state.currentPlot)) {             return false;         } else if (sampleIds.some(sid => questionToSet.visible.every(vs => vs.id !== sid))) {             alert("Invalid Selection. Try selecting the question before answering.");             return false;         } else if (sampleIds.length === 0) {             alert("Please select at least one sample before choosing an answer.");             return false;         } else if (ruleError) {             alert(ruleError);             return false;         } else {             return true;         }     };
If these check can be done after ruleError we can remove it from the parameters list.

I choose to pass ruleError to validateAndSetCurrentValue because in collection it is used by a function which do some checks before checking for the ruleError:
    checkSelection = (sampleIds, ruleError, questionToSet) => {
        if (!this.warnOnNoSamples(this.state.currentPlot)) {
            return false;
        } else if (sampleIds.some(sid => questionToSet.visible.every(vs => vs.id !== sid))) {
            alert("Invalid Selection. Try selecting the question before answering.");
            return false;
        } else if (sampleIds.length === 0) {
            alert("Please select at least one sample before choosing an answer.");
            return false;
        } else if (ruleError) {
            alert(ruleError);
            return false;
        } else {
            return true;
        }
    };

If these checks can be done after ruleError we can remove it from the parameters list.

You can remove the check for ruleError here as well if you are not passing it back up the chain.  I prefer not to pass data back up the chain if its not necessary.  Think about how you had to add the check for ruleError in SurveyQuestions.   You created unnecessary duplicate code.  Also think about how the checks are being done in SurveyCollection.  When we reuse this component it makes more sense to have the error message come from where the error occurs.


Bug 1987136: Declare supported arches in CSV

The OperatorHub currently assumes x86-only for any operators which do
not declare any such labels.  Declaring these explicitly should make the
current status more obvious in the code, and make it easier to correctly
add further architectures when conditions warrant.

/assign @dcbw

@yselkowitz I did check around some of the existing Openshift operator and mostly all of them don't set the arch, just curious why this suddenly became a requirement ?

It's not a requirement per se, it's making explicit the currently implicit default.  Making this explicit should make clearer both the current status, as well as the way to change that (when conditions warrant).

/lgtm

/assign @dcbw

/assign @russellb @markdgray

/approve


Footer logo

As a designer, I want the user to navigate back to the top of the home page after scrolling to the bottom of the page.

The logo in the footer is now a link so that the user can navigate back more easily without excessive scrolling.


Adding functionality to assign one API to multiple resources

Issue #:
This PR addresses the issue #1917
Description:
The PR adds functionality to use same API for an operation on multiple resources. This allows ResourceName to be a list so that same API for an OperationType can map to multiple resources. This is required in certain cases where the same API, for same operation is used for multiple resources.
The solution this PR applies is to pass multiple resources for same API.
This supports following cases cases:

One API -> One Resource

PublishVersion:
    operation_type:
      - Create
    resource_name:
      - Version

One API -> Multiple Resource

DeleteFunction:
    operation_type:
      - Delete
    resource_name:
      - Function
      - Version

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

do-not-merge/work-in-progress

/test apigatewayv2-controller-test

/retest

/retest


Doughnut: Arc pops out on hover.

Hi guys, i cant seem to find a way to restyle the arcs on a doughnut on hover. Is this possible?
Thanks
Tom

You can use the following options:
'hoverBackgroundColor',
'hoverBorderColor',
'hoverBorderWidth',


Linux build fails

When I try to build for Linux (from Linux), I get this output:
Launching lib/main.dart on Linux in debug mode...
/home/me/git/feeel/linux/flutter/ephemeral/.plugin_symlinks/flutter_audio_desktop/linux/../audioplayer/audioplayer.hpp:119:29: error: expected ';' at end of declaration
/home/me/git/feeel/linux/flutter/ephemeral/.plugin_symlinks/flutter_audio_desktop/linux/../audioplayer/audioplayer.hpp:122:18: error: use of undeclared identifier 'durationPCMFrame'
/home/me/git/feeel/linux/flutter/ephemeral/.plugin_symlinks/flutter_audio_desktop/linux/../audioplayer/audioplayer.hpp:125:39: error: use of undeclared identifier 'durationPCMFrame'
/home/me/git/feeel/linux/flutter/ephemeral/.plugin_symlinks/flutter_audio_desktop/linux/../audioplayer/audioplayer.hpp:135:29: error: expected ';' at end of declaration
/home/me/git/feeel/linux/flutter/ephemeral/.plugin_symlinks/flutter_audio_desktop/linux/../audioplayer/audioplayer.hpp:138:18: error: use of undeclared identifier 'positionPCMFrame'
/home/me/git/feeel/linux/flutter/ephemeral/.plugin_symlinks/flutter_audio_desktop/linux/../audioplayer/audioplayer.hpp:141:39: error: use of undeclared identifier 'positionPCMFrame'
Building Linux application...
Exception: Build process failed

It seems __int64 isn't being recognized by the compiler in these lines of code:
unsigned __int64 durationPCMFrame;
unsigned __int64 positionPCMFrame;
What can I do about this?

The same problem

Seems like __int64 is Microsoft-specific notation, equivalent to long long.
Could the code be changed to replace __int64 with long long so that it can be compiled from any OS?

Hi there @12people !
You're absolutely correct. I didn't know that __int64 typedef only exists on Windows. Wait let me just replace it.

Apart from above,
I'm currently working on a better implementation of this plugin which will bring a lot lot better control, usability & a really better codec/format support.
In-fact, I'm using the really powerful libVLC now, to bring the best audio plugin, that will be ever possible for Windows.
I'm sure that you'll love it & it will be a lot more better in terms of performance & controllability.
Thankyou.
I'll inform you soon.
I'm also adding things like proper event listeners, network streaming, better asset support, reading metadata without any external plugin & playlists as well. (It's in a private repo currently).
Learn more here.

I installed updated version from github, but now I am getting another error:
../audioplayer/audioplayer.hpp:8:10: fatal error: 'miniaudio/miniaudio_engine.h' file not found
I installed miniaudio dependency on my Linux system.

@oscarmoisei
https://github.com/alexmercerind/flutter_audio_desktop/blob/1342211d4f0706585b5d2db11b552e4388f45ea0/.gitignore#L19-L21
You need to place these two files from miniaudio repository to get this to work from github repo.

@alexmercerind Thank you! That's solved my problem.
By the way, I also had error:
audioplayer/audioplayer.hpp:134:30: error: unknown type name 'w'
I guess it mistype.

@oscarmoisei oh yeah.  I'm making commit for it aswell.

@oscarmoisei
As I said earlier that I'm working on better implementation of this plugin.
Here are few things that work on Flutter for Windows now (project is still private):

Not just audio... But videos aswell (I have to embed them inside Flutter window somehow)

I'll bring it on Linux soon. I don't know if this project will go popular or not.
Everything works now... playlists, network stream etc. etc.

@alexmercerind That's great! You are doing a great job

@alexmercerind thanks for making this great package. I also got caught out by the missing miniaudio headers and .gitignore is nto really the first place I would think to look for that - maybe would be worthwhile putting this in a build section in the Readme?
Also it looks like you are planning to more away from using miniaudio, is that correct?

Hi @maks !
Glad you liked what I did.
Sorry for the miniaudio confusion. I didn't check those headers in the source control because no one really used the version from git.
Yep! You are right. I have nearly completed a better, performant, controllable and more codec supporting plugin instead of this one. Now I'm using libVLC, I'll make that plugin public today.
I'll also bring it to plain Dart apps (not just Flutter). I have my middle development screenshots above & things are very stable this time.
I'll possibly still maintain this package as alternative to the heavy libVLC version, because miniaudio is really a little & cool library for the purpose.
Thanks.

Currently I'm building that libVLC version, so I'm unable to fix the problems in this package. This package really has some big problems in general.

@alexmercerind thanks for the very quick reply! Yes I've seen now the discussion thread on just_audio package windows support issue.
For my use case,  I need something lightwieght for linux for a sythesizer audio playback and need it to be useable from pure Dart too, so miniaudio is much better for that than libVLC, so I may end up forking the current version of this library as I think it makes sense for you to contribute windows and linux support to just_audio which needs more functionality than miniaudio provides.
Thanks again for writing this library, it makes a perfect starting point for what I need for my project.

Hello @12people & @oscarmoisei !
Thanks for supporting this project. Now libVLC based alternative to this project is live:
dart_vlc
It has (in addition to this project):

Playlists.
Network streaming.
Better controls.
Separated event streams.
More performance & stability.
And most importantly, better codec/format support.

Other features are in the list. Please use that plugin now instead of this one.
Hope you liked my work.
I'm in collaboration with just_audio & assets_audio_player to make Flutter on Windows & Linux a more better place.


MM: Skull Token Textbox not Autoclearing

When Swamp and Ocean Tokens aren't shuffled in OOTxMM the textboxes require you to press A/B/any button to clear them right now. This is a very minor thing as it doesn't break anything but in vanilla MM (and in MMR when tokens aren't shuffled) the textboxes for collecting the Skull Tokens autoclear. When you are collecting items from skull checks in MMR, however, the game pauses upon collecting the item and you must clear the textbox to continue. I don't know if you need to do the latter but it is how it works in MMR. If you want to maintain the autoclear textboxes for when you get items from skull checks for MM then that also can work if it doesn't break anything.
This only became introduced with the new MM Token Shuffle settings.

Fixed (now pauses all the time, could be improved by autoclearing on tokens eventually).
Thanks zoey for the fix.


fixed typo

same typo:
https://github.com/ring-lang/ring/search?q=pacakge&type=

Thanks for the update


images issue

Nice work!
I have a question about why some images have different camera poses after ns-train. For example, in the case of blurfactory, it seems that the camera poses of 0001_input.png, 0001_gt.png, and 0001_estimate.png are not the same. How can this be explained? Another question is, how can I obtain clear images under the camera pose that captured the blurry image?

Hi, thank you for your interest in our work!
Our pipeline takes inaccurate initial camera pose estimates from COLMAP as input, and uses this initialization to optimize a tiny camera trajectory for each camera, in order to model motion blur caused by camera motion.
You can see many output images in the outputs/blurfactory/<yyyy-mm-dd_hhmmss>/<steps> folders for every steps_per_eval_all_images steps. In these images:

0001_input.png, etc., are copies of the input blurry images
0001_gt.png, etc., are copies of the groundtruth clear images (only available for synthetic datasets)
0001_estimated.png, etc., are blurry images rendered with our estimated clear 3D-GS scene and our estimated tiny camera trajectories
0001_rgb_start.png, 0001_rgb_mid.png, 0001_rgb_end.png, 0001_depth_start.png, 0001_depth_mid.png, 0001_depth_end.png are the clear rgb/depth images rendered with start/mid/end poses from our optimized camera trajectories. (If the optimization goes well, the mid poses should be very close to the poses of the groundtruth clear images. We use the mid images for evaluation.)

For the second question, it is not a single camera pose that corresponds to the blurred image capture, but the camera trajectory. If the start/middle/end clear images suit your needs, you can find them directly there. If you want to sample more camera poses on the trajectory and save all the images, you need to modify some code in the evaluation pipeline.

Why can't I reproduce the results from the paper? Did you set the parameters? Moreover, the rendered videos look quite different compared to those on the project homepage.

Can you provide the rendering results you mentioned? Hyperparameters will have some impact, but the default settings should work good enough on the deblur-nerf dataset.

https://github.com/WU-CVGL/BAD-Gaussians/assets/80758857/f39e3026-a49d-4a77-a2c0-e3f35ee08daf

May be the solution is this?https://github.com/WU-CVGL/BAD-Gaussians/commit/25155be35f3c2dbdb13af1fb439e90d0523c98ba

From the video you've provided, it seems that the camera poses are being optimized (comparing to the complete blur results in https://github.com/WU-CVGL/BAD-Gaussians/issues/3#issuecomment-2016524355), but the scene, especially background is corrupted. I guess this is because the camera intrinsics you are using are probably not GT (our setup here) but are estimated by colmap, with blurry images only. It seems that 3D-GS, as an explicit representation, is more sensitive to intrinsics than NeRFs. We didn’t cover joint optimization with camera intrinsics in this work, maybe it can be added to our TODO list!


Prisma with CosmosDB, MongoDB connector has error for sharded collections

Discussed in https://github.com/prisma/prisma/discussions/9544

Originally posted by dohaicuong October  1, 2021
Hi Prisma Team! I just got this error when setup Prisma with MongoDB on Azure CosmosDB and create a sharded collection
Invalid `prisma.user.create()` invocation:\n\n\n  Error occurred during query execution:\nConnectorError(ConnectorError {
user_facing_error: None, kind: RawError {
code: \"unknown\", message: \"Command failed (50841): Multi-document transactions cannot be run in a sharded collection)\"
} })

Versions

Node: v14.17.4
OS: macOs
Prisma client: 3.1.1
Database: MongoDB 4.0 on Azure CosmosDB

Schema
datasource db {
  provider = "mongodb"
  url      = env("DATABASE_URL")
}

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["mongoDb"]
}

model User {
  id String @id @default(dbgenerated()) @map("_id") @db.ObjectId
  name String
}

MongoDB setup

Create mongoDB 4.0 on cosmosDB
Create new DB and User collection with shard key

Connection string
mongodb://user:pass@url/db_name?ssl=true
&connectTimeoutMS=5000
&maxPoolSize=50
&replicaSet=globaldb
&retrywrites=false
&maxIdleTimeMS=120000
&appName=@app_name@

Prisma command
const newUser = await prisma.user.create({
  data: { name: 'name' }
})

Errors
Invalid `prisma.user.create()` invocation:\n\n\n  Error occurred during query execution:\nConnectorError(ConnectorError { user_facing_error: None, kind: RawError { code: \"unknown\", message: \"Command failed (50841): Multi-document transactions cannot be run in a sharded collection)\" } })
```</div>

Create new DB and User collection with shard key

Hey @dohaicuong, can you tell us a bit more what that means exactly? Our knowledge of CosmosDB is pretty superficial, so any point where to do what exactly to get the collection into that state is welcome. Thanks.

Hey @dohaicuong, we currently support MongoDB 4.2+

Multi-document transactions cannot be run in a sharded collection

MongoDB 4.0 has limited support for transactions, which is something we rely on. They fixed a lot of limitations with transactions in 4.2: https://docs.mongodb.com/manual/core/transactions/#transactions-and-atomicity
If possible, please upgrade to 4.2 and try again.

Unfortunately the MongoDB API of Azure CosmosDB is stuck at version 4.0: https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb/mongodb-introduction#how-the-api-works
I can now also reproduce the error with a simple CosmosDB with MongoDB 4.0 API via the CosmosDB Emulator:
$ ts-node ./script.ts
PrismaClientUnknownRequestError:
Invalid `client.user.create()` invocation in
D:\a\e2e-tests\e2e-tests\databases-windows\mongodb-azure-cosmosdb-emulator\script.ts:9:21

   6 async function main() {
   7
   8   // On CosmosDB the first delete will fail if you do not make sure the database and collection actually exist, so creating so dummy data first
→  9   await client.user.create(
  Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: RawDatabaseError { code: "unknown", message: "Command failed (OperationNotSupportedInTransaction): Command insert failed : can not create collection in a multi-document transaction)" } })
    at cb (D:\a\e2e-tests\e2e-tests\databases-windows\mongodb-azure-cosmosdb-emulator\node_modules\@prisma\client\runtime\index.js:39807:17) {
  clientVersion: '3.10.0-dev.54'
}

Knowing these concepts now, I could also find the documention on the CosmosDB side for this:

Transactions
Multi-document transactions are supported within an unsharded collection. Multi-document transactions are not supported across collections or in sharded collections. The timeout for transactions is a fixed 5 seconds.

https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb/feature-support-40#transactions
So:

Prisma is using "multi-document transactions" by default.
CosmosDB MongoDB does not support that for "sharded collections" (which seems to be the default).

This might be fixed in newer Cosmos DB versions with the Mongo 4.2 API: https://github.com/prisma/prisma/issues/11921#issuecomment-1065838953 Can you mabye upgrade your database to MongoDB 4.2 and report back if this fixes this problem @dohaicuong? Thanks.

Sorry guys for the late reply, I will check it out and let you know

Hi @janpio, so I just created the new Cosmos DB with mongo 4.2 then created a new collection just like how you showed up there.

And unfortunately, it still got that problem
Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: RawDatabaseError { code: "unknown", message: "Command failed (50841): Multi-document transactions cannot be run in a sharded collection)" } })

Side note: We also do not know yet if we support Shard Clusters of normal MongoDB: https://github.com/prisma/prisma/issues/12380

Is there an open ticket to resolve this issue ? I am testing against Azure CosmosDB for MongoDB (RU) with Server version 7.0. Still seeing the problem.
Azure cosmosdb for mongodb v7.0 documentation suggests (https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/feature-support-70) -
Multi-document transactions are supported only within a single non-sharded collection. Cross-collection and cross-shard multi-document transactions are not yet supported in the API for MongoDB.
Does this means, we cannot use Prisma Client against Azure CosmosDB ?


Revert "Add s390x platforms for calico"

Reverts kubernetes/website#12616
as can be seen here callico does not build s390x images, which means that the architecture is unsupported;
https://github.com/projectcalico/cni-plugin/releases
fixes #12985
ping @ping035627
/assign @Rajakavitha1 @zparnold
/kind bug
/sig cluster-lifecycle

if you want to get attention from SIG Cluster Lifecycle on similar PRs just mention @kubernetes/sig-cluster-lifecycle-pr-reviews

/lgtm
/approve


Speed up running of unit tests locally (with an optional flag)

For #8564

Codecov Report

Merging #8565 into master will increase coverage by 0.3%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #8565     +/-   ##
=========================================
+ Coverage   59.05%   59.36%   +0.3%
=========================================
  Files         511      511
  Lines       23676    23676
  Branches     3824     3829      +5
=========================================
+ Hits        13983    14055     +72
+ Misses       8774     8700     -74
- Partials      919      921      +2

Impacted Files
Coverage Δ

src/client/common/utils/platform.ts
76.47% <0%> (-11.77%)
:arrow_down:

src/client/common/installer/productInstaller.ts
76.71% <0%> (-0.53%)
:arrow_down:

src/client/language/characters.ts
33.33% <0%> (+2.56%)
:arrow_up:

src/client/common/utils/version.ts
81.48% <0%> (+3.7%)
:arrow_up:

src/client/providers/providerUtilities.ts
88.88% <0%> (+5.55%)
:arrow_up:

src/client/datascience/cellFactory.ts
70.51% <0%> (+12.82%)
:arrow_up:

src/client/api.ts
92.85% <0%> (+14.28%)
:arrow_up:

src/client/common/utils/icons.ts
100% <0%> (+16.66%)
:arrow_up:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
80% <0%> (+20%)
:arrow_up:

src/client/formatters/serviceRegistry.ts
100% <0%> (+25%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


who can tell me ,where is gru backward code?i want modify it

who can tell me ,where is gru backward code?i want modify it
i want implete https://arxiv.org/pdf/1606.03401.pdf
reduce gru size

tf.contrib.rnn.GRUCell is implemented from fine-grained ops that have their own gradients, so there is no "backward" implementation for GRU itself. You can use tf.contrib.rnn.GRUBlockCell, which does have an explicit gradient implementation here.

Thanks @rryan ! Closing.


Doc: improve static search speed and fix missing module icons

This PR will close #1970. It adds html theme option to improve static search live preview performance. It also fixes the problem of missing module icons in the section navigation of the api documentation.

Yes. I used a python script for the task.


googleearth: <IP_ADDRESS>7 -> <IP_ADDRESS>9

Motivation for this change
Tried to use Google Earth, it was broken (see #17956) and the version was last changed back in 2010.
Things done

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

The UI boots up for me but instantly crashes with
[0830/220700:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.

Another crash happened while handling crash!

I'm on the current nixpkgs master on x86-64.

@fpletz disconnecting from an internet connection seems to get past that problem. Strange...

Looks like people on other operating systems report that 32-bit version works. @fpletz can you try with callPackage_i686 instead?

Yeah, that seems to work.

Is this no longer work in progress?

The download hash doesn't match (anymore?).

Closing in deference to https://github.com/NixOS/nixpkgs/pull/22377


Release hurley 0.2 with current bug fixes

It would be appreciated if an update the gem on ruby gems to fix basic auth and crashes when strings contain && could be pushed. Thanks!

Shipped!  Thanks for the reminder.


Deprecated tag support for JavaScript and TypeScript in overrides in children

Issue Type: Feature Request
https://code.visualstudio.com/updates/v1_49#_deprecated-tag-support-for-javascript-and-typescript added the great @deprecated tag support which works great.
However, when extending a parent class that has a @deprecated method, that method is not shown with strikethrough in the child. It would be great if this was the case.
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 5.4.0-65-generic

Repro:
// father.js

class Father {
  constructor() {
    console.log('constructor');
  }

  /**
   * @returns {string} stuff
   */
  newFunction() {
    return 'new';
  }

  /**
   * @deprecated
   *
   * @returns {string} stuff
   */
  oldFunction() {
    return 'old';
  }
}

module.exports = { Father };

// child.js

const { Father } = require('./father');

class Child extends Father {
  /**
   * @returns {string} stuff
   */
  newFunction() {
    return 'new child';
  }

  /**
   * @returns {string} stuff
   */
  oldFunction() {
    return 'old child';
  }
}

module.exports = { Child };

Notice how oldFunction does not have strikethrough. Also, hovering that function in both the father and the child does not show it as strikethrough in the popup.
However, during autocompletion when writing the function name it properly shows as strikethrough:

This seems subjective? The base class method being deprecated doesn't necessarily imply the derived class method is too.

True. I wonder what the best option is here. As can be seen in the IntelliSense it currently does use strikethrough.


Source system wide defaults again after defaults.vim

Currently we do:
/etc/vimrc -> ~/.vimrc -> defaults.vim if no ~/.vimrc
This makes defaults.vim overwrite settings from global configuration
file if no user configuration exists.
Source system wide defaults again after defaults.vim to make them have
precedency to defaults.vim.
fixes #1033

That's a bad idea, never source the same script twice.

Agreed this is a bad idea.

I see an alternate fix was provided in 7.4.2319


Command Not Found

When I run bundle exec ./quipbot.rb (in the correct directory) I get "bundler: command not found: ./quipbot.rb
Install missing gem executables with bundle install"
Running that command solves nothing. My only guess is perhaps I don't have geckodriver installed correctly. What do I need to do to install geckodriver (on Ubuntu)?

First you'll need to install bundler: gem install bundler. If you get an error here, you can try it with sudo, but I don't recommend it. It's worth taking the time to set up either rbenv or rvm so that you can install new versions of ruby and manage gems without needing root permissions. Once you've installed bundler, things should work.
As far as geckodriver, I've never actually installed it on Ubuntu, I've only tested this on Arch. Honestly it's been a while since I've touched this code. You can try grabbing a binary from the geckodriver release page: https://github.com/mozilla/geckodriver/releases/tag/v0.15.0

I see you've made some updates to the project. That's great!
I'm still having issues. I never got the old version to work, and by the time you replied I had given up. However, driven by my desire to see a Quiplash bot work, I decided to give it another shot.
This time, I managed to finally get beyond the "command not found" error (after over an hour and a half of tinkering). Now I'm at what seems to be the final hurdle; how do I create the necessary model.mp.gz file for the bot to function? I don't see anything in your instructions mentioning it. I'm clueless. Thanks!

Sorry about that, I never actually wrote those docs (or exposed that code in any way, I've just been calling it from a debugger).
I've added a script that should get you started, and some instructions on running it. Let me know if you run into any issues with it.


PR for Jira task OSD-19982

https://issues.redhat.com/browse/OSD-19982

/rename OSD-19982: osdctl improve limited support workflow

/retitle OSD-19982: osdctl improve limited support workflow

/unhold

/lgtm

/lgtm


Updated log PCA

Added log PCA processing to JSON files
Change log PCA method from replacing 0 with near-zero values and then taking log to simply taking log(x + 1)
Updated expected output for tests (consistent results this time!)

I think this has been superseded. We can keep the branch around, but I'll close the PR.


Custom icons

I want to show success message but with other icon, not check icon.

https://github.com/ducdhm/bootstrap-msg#custom-icon


Update polkadot.json for GTSTAKING

Update wallet and name for a new validator node

@ironoa Verified with the applicant on Element


Updated Geocoding Process

Geocoder is now only used on unique addresses

Looks pretty good to me, my only question is what if the first if statement for, it doesn't seem to do anything?
if temp.loc[i,'Error'] == False or temp.loc[i,'Error'] == True:
    continue

Technically the Cleaned_Location column doesn't have a underscore, but it seems to be working fine.
We should probably remove the api keys from the repo too...

shoot


Trigger Async Validation on Custom Button Click

Is there a way to trigger async validaiton to a field via a custom onClick handler? That way you do not have to rely on the built in asyncValidate hooks such as onBlur, but allow the user to manually trigger validation on certain fields.
Please see onValidate prop below.
const sleep = ms => new Promise(resolve => setTimeout(resolve, ms))

const asyncValidate = (values/*, dispatch */) => {
  return sleep(1000) // simulate server latency
    .then(() => {
      if ([ 'john', 'paul', 'george', 'ringo' ].includes(values.username)) {
        throw { username: 'That username is taken' }
      }
    })
}

const renderField = ({ input, label, type, onValidate, meta: { asyncValidating, touched, error } }) => (

    {label}

      <Link onClick={onValidate}>Validate</Link>
      <input {...input} type={type} placeholder={label}/>
      {touched && error && {error}}

)

const AsyncValidationForm = (props) => {
  const { handleSubmit, pristine, reset, submitting } = props
  return (
    <form onSubmit={handleSubmit}>
      <Field name="username" type="text" component={renderField} label="Username" onValidate={asyncValidate}/>
      <Field name="password" type="password" component={renderField} label="Password"/>

        <button type="submit" disabled={submitting}>Sign Up</button>
        <button type="button" disabled={pristine || submitting} onClick={reset}>Clear Values</button>

    </form>
  )
}

I believe I may have missed the part of the documentation where you can trigger the redux-forms Action Creators such as startAsyncValidation('form-name') here. However, with async validation we cannot compare nextProps with what the form state was before the current field was edited. So validation always triggers.
I will look into asyncValidation on a specific field only when values have changed and test the above action creator and report back unless anyone has insight. Thanks!

I think you might be looking at the wrong repo? This is react-forms not redux-form


Multi-GPU training

Is it possible to train the config models on multi-GPUs?

modify the gpu_id. if you want to use gpu 1 and 2, then gpu_id='1, 2'

Thanks a lot for your quick response.


Is it support vue with typescript?

Like angular version's nativescript, it can work with typescript well. So, is there any possiable to let typescript version's vue work with this plugin?

I don't see why not, specially when Vue 2.5 has first class support. That would not have anything to do with the plugin itself but with the build process.
I want to add TS support to the webpack template soon.

This should be solved in a template (unless we need to introduce some changes to the core). Closing the issue for now.


Sir,Can you tell me how to compile the 51822`s Program of Transmitters?

Sir,Can you tell me how to compile the 51822`s Program of Transmitters?
Just these files

Closed as duplicate of https://github.com/mattdibi/redox-w-firmware/issues/10


Spotify-clone

SPOTIFY -CLONE

I want to create a Spotify Landing Page clone using this simple tech stacks :

Hope you like my project #Hacktoberfest22
regards,

cool, Please create a demo folder inside your project and add a working demo of your project named demo.gif

demo file uploaded please check it once thank you

demo file uploaded please check it once thank you

rename demo to "demo.gif" only

rename done to demo


Add CommandCougar to README.md

Project URL
https://github.com/surfandneptune/CommandCougar
Description
Added CommandCougar to the Command Line category in the README.
Why it should be included to awesome-ios
One of the few Command Line tools that allows for subCommands.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

That's a really complete Command Line tool. Reminded me of urfave/cli, which is also a great tool for Go developers.
PS: The logo is great 👌
Thank you for contributing, @mystereons! 🙌

Thanks so much for adding CommandCougar! We appreciate all the work you put
into your curated list :)
Surf & Neptune
On Sat, May 27, 2017 at 12:45 PM, Victor Gama<EMAIL_ADDRESS>wrote:

Merged #1710 https://github.com/vsouza/awesome-ios/pull/1710.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vsouza/awesome-ios/pull/1710#event-1099944017, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEtK77sb1x_T1UC_ZdkDbatoWjXoTsvyks5r-FMsgaJpZM4NoW_6
.


Specializing Broyden's method for sparse Jacobians

https://www.ams.org/journals/mcom/1970-24-109/S0025-5718-1970-0258276-9/
This might be putting it in the realm of NonlinearSolve instead, to keep the SimpleNonlinearSolve.jl version simple?

There are also updating QR factorization versions of Broyden I believe (instead of updating the inverse Jacobian approximation), but I'm not sure they can be made to work for sparse matrices. I think the dense version is described in Dennis and Schnabel.

Link?
I wonder if that's starting to get to the realm of NonlinearSolve.jl too.

https://epubs.siam.org/doi/book/10.1137/1.9781611971200
Section 8.3 references the updating QR I believe. (However, I doubt this is the best reference for immediately seeing a pseudo-code, there are probably better ones.)
I had searched around and someone had part of this updated in Julia I thought, but I'm having trouble finding it now.

Algorithm 3.4.1 gives pseudo-code.


[BUG] Return manufacturer name from ACX driver

Describe the bug
Current driver impl doesn't yet return device manufacturer name from the iManufacturer string in the device descriptors.

Added with KSPROPERTY of:
KSPROPERTY_MIDI2_DEVICE_MANUFACTURER

Added with KSPROPERTY of:
KSPROPERTY_MIDI2_DEVICE_MANUFACTURER

@AmeNote-Michael
As with VID/PID, these were there already
https://github.com/microsoft/MIDI/blob/main/src/api/Inc/MidiKSDef.h

Feature missed during a merge. Readded and in pull request #301

Reopening until we ship to customers

This is fixed in the August 2024 driver release. However, it will require DP7 for folks to see the name in the SDK or midi console.

@Psychlist1972 can this issue be closed?


[Feature] Add a mechanism to judge whether to apply filter pushdown

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Take new DELETE syntax in Flink 1.17 as a instance.
The flink sink can implement SupportsDeletePushDown. But when should the sink apply pushdown?
In my opinion, if the filter is very simple, such as delete one row, delete whole table, the cost of pushdown is low; but if the filter is too complex, the cost of pushdown maybe high, so it's better to let flink to do the job.
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

hi, @yuzelin , I would like to continue to work on the ticket for the follow-up of DELETE.

@legendtkl Thanks. Can you give some thoughts about this ticket? Or we can have some discussion about how to implement this. I think we should have some draft before doing it.

@legendtkl Thanks. Can you give some thoughts about this ticket? Or we can have some discussion about how to implement this. I think we should have some draft before doing it.

Yes, discussion is necessary. I need more context about this. Let's discuss this later.


Get specific columns from statistics api

Using this to pull ACD Status data:
result = client.supervisor.getStatistics('ACDStatus')
The result returns 14 columns and i only need 2 columns.  The way the docs read I thought I could do something like this but the result is always 14 columns:
result = client.supervisor.getStatistics('ACDStatus', ['Skill Name', 'Agents Logged In'])
Is there a way to just grab the data from the specified columns?

helloooooo


Support HF models deployed with an OpenAI-compatible API.

Motivation
I deploy a model with OpenAI-compatible server. But I get an error when running benchmarks in opencompass since it always load tokenizer with tiktoken.
Modification
hf_tokenizer will be used when tiktoken.encoding_for_model() failed
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

Thanks for the contribution, would you like to update the PR to resolve the lint issues via pre-commit.?

Thanks for the contribution, would you like to update the PR to resolve the lint issues via pre-commit.?

hi, I have already addressed the lint issues and updated the PR.

Thanks for your contribution!


llvm: should sqrt/sqrtf and the lrint/lrintf/llrint/llrintf family be builtins?

both riscv64 (https://cs.android.com/android/platform/superproject/+/master:bionic/libm/riscv64/) and arm64 (https://cs.android.com/android/platform/superproject/+/master:bionic/libm/arm64/) just have two .S files in libm, and they're all single-instruction functions for both architectures. this seems like something that llvm should just know about, so it can turn calls to sqrt etc into single instructions?
godbolt on a trivial function calling sqrt() shows that this isn't happening currently for arm64 or riscv64 (tested at -O2).

both sqrt and lrint functions are getting generated as native instructions in RISC-V as well as Aarch64
https://godbolt.org/z/Wj9eonzzb

Android's libm doesn't set errno, and clang knows this, so it doesn't do the overflow test and call to the real function so it can set errno.
cleaned up for both arm64 and riscv64 here: https://android-review.googlesource.com/c/platform/bionic/+/2414394


autostart script

Use Rust's ChildProcess functionality to spawn $XDG_CONFIG_HOME/autostart when worm starts, if it exists. Otherwise print a warning and continue execution.
This is a fairly trivial task, but very useful

Implemented (pulls in dependency on dirs crate too)


pad version redeux

I have tried repeatedly to add readonly to the text field and then the new option ignoreReadonly:true and when I do, the clicks are not being caught so no dates may be set. Even clicks on the icon. Help!Has Chrome changed since issue #494

Hi, the latest version, 4.17.47, doesn't have this error.
Setting this option and all work as it should
  ignoreReadonly: true,
  allowInputToggle: true


UrlHelper gets confused when multiple actions have the same name

UrlHelper seems to choose the first matched route whatever are the provided arguments when multiple routes have the same name.
[Route("api/[controller]")]
public class PersonsController : Controller
{
	[HttpGet("{id}")]
	public Person Get(int id)
	{
		...
	}

	[HttpGet]
	public IEnumerable<Person> Get()
	{
		...
	}
}

Now if you call urlHelper.Action("Get", "Persons", new RouteValueDictionary(new { id = 19 })); you'll get /api/Persons?id=19 as a result. The only solution is to name the second route GetAll for instance. I do not recall this being the case on WebAPI 2.
Using Mvc 6.0.0-beta6 under Windows 7, IIS Express

WebAPI didn't have link generation by action name https://msdn.microsoft.com/en-us/library/system.web.http.routing.urlhelper(v=vs.118).aspx
I agree with you though, I actually expected this to work the way you'd described and try the longer template api/Persons/{id} before the shorter one.
I think we got the sort wrong https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNet.Mvc.Core/Routing/InnerAttributeRoute.cs#L56  This might have better usability as an OrderByDescending

Indeed, I mixed things up with named routes.

Fixed in #3404


Migrating to DBFlow from existing Content Provider.

DBFlow Version:
Issue Kind (Bug, Question, Feature):
Feature
Please note if you are using Instant Run, there may be bugs where generated classes are not created. Ensure you are using
the apt or kapt plugins and that incremental compilation is off.
Description:
I have an existing application which uses the Content provider storage model. I went through your library, used it in few of my other projects and it looks much simpler.  Is there any way I can migrate from from my existing legacy COntent provider to this ORM model without troubling my users? Any help will be appreciated.
Thank you.

Not sure what specifically you're asking here. I would read up on the (https://github.com/Raizlabs/DBFlow/blob/master/usage2/ContentProviderGeneration.md) to see if it fits your needs.


Feature daily checkup

Description
/schedule-check-in Create a schedule for receiving check in notifications. This will temporarily spit out a JSON object containing the schedule specifications. As of now, it does not actually create a working schedule for the bot to follow.
Until we add a database, the schedule object is located in /commands/dailyCheckIn/scheduleCheckIn.js#fakeScheduleEntry and will reset when the bot server is restarted.
/check-in-interface To preview what a scheduled check in notification looks like, click [Schedule check in right now]. For now, the notification is ephemeral, meaning it's only visible to whoever clicked [Schedule check in right now]. This is likely to change, considering the limitations of ephemeral messages (cannot send without an interaction, cannot edit/delete ephemeral messages programmatically). Clicking [Yes] opens a Modal form for the user to describe their daily successes/struggles.
For now when a user submits the form, a verbose JSON object is displayed containing their form data. When we add a database, this will be converted to a database entry.
Parameters
days (required) - List days to notify. This can be comma or space separated.

Ex: "monday, tuesday wednesday"

time (required) - Time of day to be notified. When sending verbose to the user, this time is converted to 24 hour time.

Ex: "1:00" (infers am), "15:00", "3:00pm"

Notes:
/roles button events are temporarily disabled in /events/interactionCreate/roles.js. This is due to the fact that the /roles event responds to every single button press instead of just roles.
Modified /events/ready/01registerCommands.js to automatically delete slash commands from the server if they no longer exist in the bot's code.
Added dependency Day.js. Node package version: "dayjs": "^1.11.11"

Updates:
/schedule-check-in

Now uses dayjs() to parse times instead of using smelly code math.
User can now input day abbreviations instead of fully typing out days.

Ex: "m w f" instead of "monday wednesday friday"

pretty code refactoring

/checkin-interface

Form now includes buds for its roses/thorns/buds prompt.
additional options for rescheduling later in the same day or ignoring

handlers/eventHandler.js

Wrapped event handlers in try/catch to prevent the bot from crashing.


IDE Fail safe it there is no direct errors in current document but fail in non-open imported ones

Related to https://github.com/microsoft/cadl/issues/1440 where we might not be running later validation because of an error in a previous step. This is quite problematic in the IDE where the error in the previous step might be in another unopened file and then this cause all the validation in the current file to not run.
Maybe we can have the ide show something like:

if there is errors but none if any of the opened files then show a "External error in that file preventing this from building"

est: 3

If file fail to compile but there is no errors in the file add a diagnostic at the top of the file with this error
External file prevented this file from compiling see file:///path/to-file.cadl:3:5

got bit by this so I'm fixing it now


dracut: teach ignition-generator about kvm

Since systemd 233, a QEMU system using KVM has virtualization type "kvm", as opposed to the previous "qemu".  (It was back to "kvm" at some point several releases earlier.)  This sets the QEMU OEM ID value for both now, so Ignition is run on QEMU regardless of the systemd version or KVM support.

Is there any need to match both? Is "qemu" ever returned as the virtualization type?

It looks like it still returns qemu when KVM is not supported and -fw_cfg is used on ARM.  I haven't verified it yet since my ARM board is still building.

It's worth noting that it looks like that is basically the intended behavior on x86_64 as well, but QEMU sets the CPUID's hypervisor bit by default even without KVM enabled.  That throws off the detection, so it reports vm-other.  You have to specify something like -cpu qemu64,-hypervisor to turn off the bit to get qemu.


Grails cxf plugin, how to use user-defined DTO as a parameter and return value

Grails cxf plugin, how to use user-defined DTO as a parameter and return value, DTO contains any-type such as greoovy def data type

@linedwin You can do this by using a mapper before calling cxf and before returning result. But I am not sure if you can just make your own DTO the input and output without making it exactly like the generated POJO from wsdl2java.  Can you provide more details/context?

Hi, sir,
First of all, I would like to thank you for your reply to this question is
that I need to use the user-defined DTO web service as a method of input
parameters and output return value,My working environment is as follows:
Gradle: 3.0
Groovy: 2.4.7
Ant: Apache Ant (TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_111 (Oracle Corporation 25.111-b14)
OS: Windows 10 10.0 amd64
IDE: Intellj IDEA 2016.3
I have attached a simple example such as the attachment , Sorry, the
attachment should be Google's security mechanism can not be used. Zip
transmission, in turn will be invited to deputy file pkg name to zipbut did
not produce wsdl Method and input and output data structure, wsdl results
are as follows:

<wsdl:definitions targetNamespace="http://test.ehis.hcsaastech.com/"
name="EdwinServiceService" xmlns:ns1="http://schemas.xmlsoap.org/soap/http"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="
http://test.ehis.hcsaastech.com/" xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<wsdl:portType name="EdwinService"> </wsdl:portType>
<wsdl:binding type="tns:EdwinService" name="EdwinServiceServiceSoapBinding">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
</wsdl:binding>
<wsdl:service name="EdwinServiceService">
<wsdl:port name="EdwinServicePort"
binding="tns:EdwinServiceServiceSoapBinding">
<soap:address location="http://localhost:8080/services/edwin"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
2016-12-10 0:30 GMT+08:00 Christian Oestreich<EMAIL_ADDRESS>
@linedwin https://github.com/linedwin You can do this by using a mapper
before calling cxf and before returning result. But I am not sure if you
can just make your own DTO the input and output without making it exactly
like the generated POJO from wsdl2java. Can you provide more
details/context?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Grails-Plugin-Consortium/grails-cxf/issues/57#issuecomment-266057332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWEWWM5yu0nRJflKd-epZ44MG_5nmAXBks5rGYImgaJpZM4LHdXr
.

Hi, Sir,
In addition, I use the development framework is Grails 3.2.3
2016-12-10 0:30 GMT+08:00 Christian Oestreich<EMAIL_ADDRESS>
@linedwin https://github.com/linedwin You can do this by using a mapper
before calling cxf and before returning result. But I am not sure if you
can just make your own DTO the input and output without making it exactly
like the generated POJO from wsdl2java. Can you provide more
details/context?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Grails-Plugin-Consortium/grails-cxf/issues/57#issuecomment-266057332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWEWWM5yu0nRJflKd-epZ44MG_5nmAXBks5rGYImgaJpZM4LHdXr
.

sir,
Thank you, the problem has been solved, the program can run
2016-12-10 10:02 GMT+08:00 edwiin Lin<EMAIL_ADDRESS>
Hi, Sir,
In addition, I use the development framework is Grails 3.2.3
2016-12-10 0:30 GMT+08:00 Christian Oestreich<EMAIL_ADDRESS>
@linedwin https://github.com/linedwin You can do this by using a
mapper before calling cxf and before returning result. But I am not sure if
you can just make your own DTO the input and output without making it
exactly like the generated POJO from wsdl2java. Can you provide more
details/context?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Grails-Plugin-Consortium/grails-cxf/issues/57#issuecomment-266057332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWEWWM5yu0nRJflKd-epZ44MG_5nmAXBks5rGYImgaJpZM4LHdXr
.


[[FIX]] change escape-sequence handler for double quotes (")

Changes the handling of escape sequence case for \" in the lex.js file. Earlier, it converted \" into \\\", which is not the correct js equivalent for the case as it should be " only. This was causing issue #3315 as \" != " that is why jshint considers them different strings.
Fixes and Closes #3315

Sure @jugglinmike  I'll add a unit test for this.
Also, could you please help me in running the jshint clone on the local development server.

Hey @jugglinmike, I have added a unit test in the commit 849e08d that fails for the latest version of JSHint but passes with this path applied.

Beautiful! Thanks for the help!


VM seems to shut down randomly

Thank you so much for building this. This has been incredibly helpful.
I'm using this to spin up a Docker VM while I wait for Docker to become compatible with Apple Silicon. My VM seems to panic and shut down after a few minutes of pulling Docker images. The logs from vftool don't indicate any panics from AppleVZ, and screenlog.0 doesn't say anything before it shuts down, but I'm unable to find any instances of vftool in my process list after a few minutes.
Am I doing something wrong?
If it helps, I'm starting it on Ansible but am daemonizing it through nohup and shell redirection. The subshell running vftool forks from PID 1 when I do it this way.

You should use screen to start the vm instead of nohup which is not suitable for job with tty output.
After starting vm use Ctrl-A D to detach the screen.
screen -ls to list the screens


I cannot seem to set an offset

this is the exact line I'm using
db.Order(meta.OrderBy()).Offset(meta.Offset).Limit(meta.Limit).Where("business_id = ?", manager.BusinessId).Find(&newsletters).Count(&meta.Total)
All of the params in meta are within the bounds of the collection I'm querying, but, I keep getting "(sql: no rows in result set) " whenever i set the offset. Any ideas?
--- update. I found the debug mode docs. it failing on count
SELECT  count(*) FROM newsletter  WHERE (newsletter.deleted_at IS NULL OR newsletter.deleted_at <= '0001-01-02') AND ((business_id = '0')) LIMIT 3 OFFSET 2
isn't returning a number. it should return three

I think there will be no issue for the Count, if you still get any problem, follow https://github.com/jinzhu/gorm/blob/master/CONTRIBUTING.md to submit a runnable script.
Thank you.


reduce core size and move the remaining to sdk

things out of core

[ ] gdrive -> sdk
[ ] currencylayer -> sdk
[ ] git stays (check if works with https/agent) what is the difference with git tool?
[ ] github -> sdk
[ ] gogs -> sdk
[ ] mail -> sdk
[ ] s3 -> sdk
[ ] sonic -> sdk?
[ ] sendgrid -> sdk
[ ] syncthing -> sdk
[ ] twilio -> sdk
[ ] fake? stays for tests
[ ] inifile? (not really needed)
[ ] random names
[ ] schema (can be removed now)
[ ] types/adv types? now they can be removed
[ ] tarfile/zipfile
[ ] treemanager -> remove
[ ] hostsfile -> stays
[ ] dnstool -> stays
[ ] git
[ ] highlighter -> go to console better?
[ ] imagelib -> sdk
[ ] syncer stay
[ ] tfgateway -> sdk

refactoring done


Continuous color area charts are broken

I think this is a limitation (perhaps an intentional one) with how Plot renders area charts with continuous Y.

We're able to render (something) depending on the color channel.


performance issues

Good afternoon everyone,
First of all, I would like to thank you for putting so much time and effort into porting these very important tools.
I have noticed that there are massive differences in the execution time of shell scripts.
When I use bash instead of the default shell, execution is factors slower.
While I was researching, I found the following link.
I then simplified the test script a little and took some measurements of running times.
I am attaching my results to this issue here.
I realise that there are more important issues than performance at the moment,
but I'd like to put it in writing anyway.
Thanks and best regards
Mike

The Script
#!/bin/sh
count=1
while [ ${count} -le 500 ]
do
        out=`echo "Some test data" | cut -c1`
        count=$((count+1))
done

Results
using sh
MIKEG1@prod:~/perftest$ time ./test.sh

real    0m20,118s
user    0m3,791s
sys     0m1,264s
MIKEG1@prod:~/perftest$ time ./test.sh

real    0m14,980s
user    0m3,745s
sys     0m1,248s
MIKEG1@prod:~/perftest$ time ./test.sh

real    0m16,423s
user    0m3,739s
sys     0m1,246s
MIKEG1@prod:~/perftest$ time ./test.sh

real    0m16,667s
user    0m3,726s
sys     0m1,242s
MIKEG1@prod:~/perftest$ time ./test.sh

real    0m16,431s
user    0m3,758s
sys     0m1,253s

using bash v4 (rocket)
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m15,267s
user    0m25,929s
sys     0m8,643s
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m15,796s
user    0m25,838s
sys     0m8,613s
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m8,562s
user    0m25,833s
sys     0m8,611s
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m13,640s
user    0m25,913s
sys     0m8,638s
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m8,053s
user    0m25,803s
sys     0m8,601s

using bash v5 (ZOSOpenTools)
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m40,283s
user    0m42,381s
sys     0m14,127s
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m39,797s
user    0m42,342s
sys     0m14,114s
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m50,684s
user    0m42,598s
sys     0m14,199s
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m44,472s
user    0m42,158s
sys     0m14,053s
MIKEG1@prod:~/perftest$ time ./test.sh

real    1m37,375s
user    0m42,034s
sys     0m14,011s

Thanks! There is currently at issue that prevents us from building at O3. We're building with no optimization at the moment. That you for the analysis and numbers! We will work on this soon!

Hello Igor,
I don‘t think this problem is related to compiler optimizations, only.
During my tests I also compared IBMs tcsh to IBMs sh.
The tcsh as slow as the different bash version, nearly.
While running the test script with different shells, I put my eyes into SDSF.
One thing I saw is much higher SIO values when running the faster sh.
Bash and tcsh had much lower values
at SIO.
So the problem may IO related?
Thanks Mike

time to dig into that OPT bug i guess. Fun :)

@mgrossmann i wonder if you are always getting the builtins for echo and cut and not 'failing over' to the coreutils versions?

I can't tell you that.
How can I check?
But I think that it is actually not
about echo or cut. Tomorrow I will test another script again.
I noticed the performance problem with our build system. A number of bash scripts around make. The whole thing is very very sluggish.
Best, Mike

one thought - change the script to say /bin/echo (say) and see if the perf changes?

Will do, tomorrow.
Thank you.

not sure if you're interested @mgrossmann but I would expect rebuilding at -O3 will make a huge perf difference for bash. Most of our tools are built with -O3 but we hit problems with bash and temporarily turned off optimization. Not the simplest problem in the world to track down, but a binary search approach is what I've used in the past. Break the set of compiled files in half and build half at opt, half not. Keep repeating until you isolate the file that, building at OPT fails, then you've narrowed it down to that source file (or files?). Then you can try functions although that is trickier because the optimizer can inline functions causing problems.

Hello Mike,
I ran some more tests today.
Regarding the built-in functions topic, with enable -n echo you can control whether the built-in function should be used or not. In fact, from my point of view, the effect is not significant.
Assuming that Rocket builds their V4 with optimisations enabled, I have carried out further tests.
I explicitly compared Rocket's V4 with "our" V5. I can see slight differences here.
But even these are not as significant as the differences between SH and BASH.
For me, it seems much more as if the "sub-shelling" is the root of the problem.
I have used a slightly adapted shell script here. Comparing  out=`echo ...` with out=`bash -c echo ...`  showed a surprising result for me. The call of bash -c was faster than the one without.
Using SH in shebang and simple backticks for sub-shelling
#!/bin/sh
count=1

#enable -n echo

while [ ${count} -le 50 ]
do
        out=`echo "Some test data" | cut -c1`
        count=$((count+1))
done

Result:
real    0m1.692s
user    0m0.365s
sys     0m0.122s

Using SH in shebang and sh -c in backticks for sub-shelling
#!/bin/sh
count=1

#enable -n echo

while [ ${count} -le 50 ]
do
        out=`/bin/sh -c "echo "Some test data" | cut -c1"`
        count=$((count+1))
done

Result:
real    0m1.224s
user    0m0.307s
sys     0m0.102s

Using SH in shebang and bash -c in backticks for sub-shelling
#!/bin/sh
count=1

#enable -n echo

while [ ${count} -le 50 ]
do
        out=`/bin/bash -c "echo "Some test data" | cut -c1"`
        count=$((count+1))
done

Result (V4):
real    0m4.770s
user    0m0.745s
sys     0m0.248s

Result (V5):
real    0m7.992s
user    0m1.203s
sys     0m0.401s

Using BASH in shebang and simple backticks for sub-shelling
#!/bin/bash
count=1

#enable -n echo

while [ ${count} -le 50 ]
do
        out=`echo "Some test data" | cut -c1`
        count=$((count+1))
done

Result (V4):
real    0m8.112s
user    0m2.593s
sys     0m0.864s

Result (V5):
real    0m12.309s
user    0m4.288s
sys     0m1.429s

Using BASH in shebang and sh -c in backticks for sub-shelling
#!/bin/bash
count=1

#enable -n echo

while [ ${count} -le 50 ]
do
        out=`/bin/sh -c "echo "Some test data" | cut -c1"`
        count=$((count+1))
done

Result (V4):
real    0m3.628s
user    0m1.018s
sys     0m0.339s

Result(V5):
real    0m5.038s
user    0m1.495s
sys     0m0.498s

Using BASH in shebang and bash -c in backticks for sub-shelling
#!/bin/bash
count=1

#enable -n echo

while [ ${count} -le 50 ]
do
        out=`/bin/bash -c "echo "Some test data" | cut -c1"`
        count=$((count+1))
done

Result (V4):
real    0m7.461s
user    0m1.480s
sys     0m0.493s

Result (V5):
real    0m10.919s
user    0m2.475s
sys     0m0.825s

On the subject of optimizations or general contribution. Unfortunately, I can't set up a development environment on our system. If you could give me access to the development system mentioned yesterday, I could well imagine contributing.
Regards, Mike

Nice progress. Yes - we can set up an account for you. @IgorTodorovskiIBM can you cover that since I am out on business?

Sure!
@mgrossmann, can you send me a public ssh key and an 8 character userid at<EMAIL_ADDRESS>You can use ssh-keygen -t rsa -b 4096 -C "email id" -m PEM on Linux/Window/Mac to create it.

Sent you a mail, Igor.


docs and comment not explicit

docs need to alignment, comment in verify.go is wrong at the explanation of variant

get


Roll Back ArgumentParser Dependency

This matches the version number found in the rest of the Swift projects and also matches update-checkout which is pinned to version 1.0.3.

@swift-ci test

Is there a plan to update this? It'd be nice to allow projects that depend on SwiftSyntax and ArgumentParser to be able to be on the latest released versions of both.

I believe that this repository in particular can probably relax its upper bound on the argument parser to accommodate you.
My understanding is the general problem is keeping the Windows builders happy a la https://github.com/apple/swift-driver/pull/1106.

Yes either loosening the upper bound or decoupling the CLI targets from the library targets in this package could also work, since most consumers of the SwiftSyntax libraries won’t need its CLI targets.


PE-4187: Validation error doesn't render

--- Releases ---
Android release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:android:6cf0cd5ec064fad3ffce07/releases/518j26q6aqku8
iOS release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:ios:06ea33a95a2e0d42ffce07/releases/1k915h8jckam8

It's now properly displaying the validation error :)