Correction of the man page for cancel(1)

Before you write the report
Read the REPORTING_ISSUES.md file in the main repository and prepare data mentioned there which looks relevant to you issue.
Describe the bug
The cancel(1) NOTES section of the cancel(1) manual contains the following information:

   Administrators wishing to prevent unauthorized cancellation of jobs via
   the  -u option should require authentication for Cancel-Jobs operations
   in cupsd.conf(5).

cancel(1) NOTES section of the cancel(1) man page needs to get updated as follows or something similar.

Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should ensure that ONLY a 'privileged' user or 'admin' can delete 'all' jobs submitted by a particular user. Even if user 'X' wants to delete all jobs submitted by him, he needs to be a privileged user.
To Reproduce
Steps to reproduce the behavior:
In 11.4 SRU 62 we not able to cancel the print job of root from test user
Version of print/cups
         Name: library/print/cups-libs
      Summary: Common Unix Print System (CUPS) runtime libraries
     Category: System/Printing
        State: Installed
    Publisher: solaris
      Version: 2.4.6
       Branch: <IP_ADDRESS>.1.151.2

testuser01@ldom32:~$ beadm list
BE Name    Flags Mountpoint Space   Policy Created

11.4_SRU6  -     -          3.04G   static 2024-02-27 23:18
11.4_SRU62 NR    /          8.96G   static 2024-03-22 02:53
solaris    -     -          915.59M static 2023-11-16 20:42
testuser01@ldom32:~$ lpq -a
no entries
testuser01@ldom32:~$ lpstat -o
testuser01@ldom32:~$ lpq -a
Rank    Owner   Job     File(s)                         Total Size
active  unknown 94      unknown                         1024 bytes
1st     unknown 95      unknown                         1024 bytes
testuser01@ldom32:~$ lpstat -o
myprinter-94            unknown           1024   Fri Mar 22 03:27:19 2024
myprinter-95            unknown           1024   Fri Mar 22 03:27:26 2024
testuser01@ldom32:~$ cancel -u root
Password for testuser01 on localhost?  *********
cancel: cancel-job failed: Forbidden
testuser01@ldom32:~$ lpq -a
Rank    Owner   Job     File(s)                         Total Size
active  unknown 94      unknown                         1024 bytes
1st     unknown 95      unknown                         1024 bytes
testuser01@ldom32:~$ lpstat -o
myprinter-94            unknown           1024   Fri Mar 22 03:27:19 2024
myprinter-95            unknown           1024   Fri Mar 22 03:27:26 2024
testuser01@ldom32:~$
Expected behavior
In 11.4 SRU 6 customer is able to cancel the print job of root from test user
Name: library/print/cups-libs
Summary: Common Unix Print System (CUPS) runtime libraries
Category: System/Printing
State: Installed
Publisher: solaris
Version: 1.4.5
testuser01@ldom32:~$ beadm list
BE Name   Flags Mountpoint Space   Policy Created

11.4_SRU6 NR    /          6.47G   static 2024-02-27 23:18
solaris   -     -          915.34M static 2023-11-16 20:42
testuser01@ldom32:~$ lpq -a
no entries
testuser01@ldom32:~$ lpstat -o
testuser01@ldom32:~$ lpq -a
Rank    Owner   Job     File(s)                         Total Size
active  root    90      root_test01                     1024 bytes
1st     root    91      root_test02                     1024 bytes
testuser01@ldom32:~$ lpstat -o
testuser01@ldom32:~$ cancel -u root
testuser01@ldom32:~$ lpq -a
no entries
testuser01@ldom32:~$ lpstat -o
testuser01@ldom32:~$
testuser01@ldom32:~$
testuser01@ldom32:~$
bash-5.2$ cat cupsd.conf

Administrator user group...
SystemGroup sys root

Screenshots
NA
System Information:

OS and its version:  Solaris 11.4 SRU 62
CUPS version :  Version: 2.4.6

Additional context
From the CUPS man page:
https://www.cups.org/doc/man-cancel.html
Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should require authentication for Cancel-Jobs operations in cupsd.conf(5).
Verifying the cups/cupsd.conf file in both SRU 6 and SRU 62
The following entry is not there in  SRU 62 cups/cupsd.conf
Administrator user group...
SystemGroup sys root
To achieve a normal user to cancel the print job first step would be add the entry in cupsd.conf  file
Next step would be add the required user to be part of the Admin user group.
In above case, if user 'XYZ' wants to purge all his jobs, he needs to part of the SystemGroup sys root
IMP: Care has to be taken before adding a user to this privileged list.
CUPS, by design, limits the authorization to delete/purge all jobs of a user at an admin level.
Example adding the user 'XYZ' to the sys group.
root@tx-4x-bxxx6-b# usermod -G sys XYZ

The proposed wording is more confusing IMHO. What it is specifically you are asking for?

Thanks for checking this. Customer wants the following line.
Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should be part of the administrator group to cancel or authenticate a job..

Again, that doesn't clarify anything, and if you are an administrator then you are, by definition, in the "administrator group" (what we'd normally call the "system" group which captures the various group names used on different Unix/Linux platforms)

Please atleast put a note in the manual page with following lines as requested by the customer.
If a normal user want to delete all jobs submitted by other users then the user running  the "cancel -u " command must be the admin user or a privileged user with required privileges.

@SrinivasOracle I'm not sure that actually makes sense. A "normal user" is by definition not an admin or privileged user. I'll try to come up with wording that captures what you are looking for...


Cannot build with RGFW_EGL (Linux)

Getting lots of errors when trying to build the most barebones program:
#define RGFW_IMPLEMENTATION
#define RGFW_EGL
#include "RGFW.h"

int main() {
    RGFW_window* win = RGFW_createWindow("Test", RGFW_RECT(500, 500, 500, 500), RGFW_CENTER);
    RGFW_window_makeCurrent(win);
    RGFW_window_close(win);
}

In file included from examples/basic/main.c:3:
./RGFW.h: In function ‘RGFW_createOpenGLContext’:
./RGFW.h:2266:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 2266 |                 EGLint attribs[]{
      |                                 ^
./RGFW.h:2267:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 2267 |                         EGL_CONTEXT_OPENGL_PROFILE_MASK, EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT,
      |                                                        ^
./RGFW.h:2267:102: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 2267 |                         EGL_CONTEXT_OPENGL_PROFILE_MASK, EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT,
      |                                                                                ^
./RGFW.h:2268:26: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 2268 |                         0, 0, 0, 0
      |                          ^
./RGFW.h:2268:29: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 2268 |                         0, 0, 0, 0
      |                             ^
./RGFW.h:2268:32: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 2268 |                         0, 0, 0, 0
      |                                ^
./RGFW.h:2268:32: warning: statement with no effect [-Wunused-value]
./RGFW.h:2268:35: error: expected ‘;’ before ‘}’ token
 2268 |                         0, 0, 0, 0
      |                                   ^
      |                                   ;
 2269 |                 };
      |                 ~
./RGFW.h:2272:54: error: ‘RGFW_STENCIL’ undeclared (first use in this function); did you mean ‘GL_STENCIL’?
 2272 |                 RGFW_GL_ADD_ATTRIB(EGL_STENCIL_SIZE, RGFW_STENCIL);
      |                                                      ^~~~~~~~~~~~
./RGFW.h:2210:13: note: in definition of macro ‘RGFW_GL_ADD_ATTRIB’
 2210 |         if (attVal) { \
      |             ^~~~~~
./RGFW.h:2272:54: note: each undeclared identifier is reported only once for each function it appears in
 2272 |                 RGFW_GL_ADD_ATTRIB(EGL_STENCIL_SIZE, RGFW_STENCIL);
      |                                                      ^~~~~~~~~~~~
./RGFW.h:2210:13: note: in definition of macro ‘RGFW_GL_ADD_ATTRIB’
 2210 |         if (attVal) { \
      |             ^~~~~~
./RGFW.h:2211:17: error: ‘attribs’ undeclared (first use in this function)
 2211 |                 attribs[index] = attrib;\
      |                 ^~~~~~~
./RGFW.h:2272:17: note: in expansion of macro ‘RGFW_GL_ADD_ATTRIB’
 2272 |                 RGFW_GL_ADD_ATTRIB(EGL_STENCIL_SIZE, RGFW_STENCIL);
      |                 ^~~~~~~~~~~~~~~~~~
./RGFW.h:2273:49: error: ‘RGFW_SAMPLES’ undeclared (first use in this function); did you mean ‘EGL_SAMPLES’?
 2273 |                 RGFW_GL_ADD_ATTRIB(EGL_SAMPLES, RGFW_SAMPLES);
      |                                                 ^~~~~~~~~~~~
./RGFW.h:2210:13: note: in definition of macro ‘RGFW_GL_ADD_ATTRIB’
 2210 |         if (attVal) { \
      |             ^~~~~~
./RGFW.h:2274:63: error: ‘RGFW_majorVersion’ undeclared (first use in this function)
 2274 |                 RGFW_GL_ADD_ATTRIB(EGL_CONTEXT_MAJOR_VERSION, RGFW_majorVersion);
      |                                                               ^~~~~~~~~~~~~~~~~
./RGFW.h:2210:13: note: in definition of macro ‘RGFW_GL_ADD_ATTRIB’
 2210 |         if (attVal) { \
      |             ^~~~~~
./RGFW.h:2275:63: error: ‘RGFW_minorVersion’ undeclared (first use in this function)
 2275 |                 RGFW_GL_ADD_ATTRIB(EGL_CONTEXT_MINOR_VERSION, RGFW_minorVersion);
      |                                                               ^~~~~~~~~~~~~~~~~
./RGFW.h:2210:13: note: in definition of macro ‘RGFW_GL_ADD_ATTRIB’
 2210 |         if (attVal) { \
      |             ^~~~~~
./RGFW.h:2277:25: error: ‘RGFW_window_src’ has no member named ‘rSurf’
 2277 |                 win->src.rSurf = eglCreateContext(win->src.EGL_display, config, globalCtx, attribs);
      |                         ^
./RGFW.h:2281:25: error: ‘RGFW_EGLglobalContext’ undeclared (first use in this function)
 2281 |                         RGFW_EGLglobalContext = win->src.rSurf;
      |                         ^~~~~~~~~~~~~~~~~~~~~
./RGFW.h:2281:57: error: ‘RGFW_window_src’ has no member named ‘rSurf’
 2281 |                         RGFW_EGLglobalContext = win->src.rSurf;
      |                                                         ^
./RGFW.h:2283:106: error: ‘RGFW_window_src’ has no member named ‘rSurf’
 2283 |                 eglMakeCurrent(win->src.EGL_display, win->src.EGL_surface, win->src.EGL_surface, win->src.rSurf);
      |                                                                                ^
./RGFW.h: In function ‘RGFW_closeEGL’:
./RGFW.h:2293:65: error: ‘RGFW_window_src’ has no member named ‘rSurf’
 2293 |                 eglDestroyContext(win->src.EGL_display, win->src.rSurf);
      |                                                                 ^
./RGFW.h: In function ‘RGFW_window_makeCurrent_OpenGL’:
./RGFW.h:5851:106: error: ‘RGFW_window_src’ has no member named ‘rSurf’
 5851 |                 eglMakeCurrent(win->src.EGL_display, win->src.EGL_surface, win->src.EGL_surface, win->src.rSurf);
      |                                                                                ^
make: *** [Makefile:57: basic] Error 1

Update: Same result when using RGFW_OPENGL_ES1 and RGFW_OPENGL_ES2.

I'm pretty sure just adding a = between the [] and { at the EGLint attribs[]{ line fixes the issue. Seems like a silly RGFW bug

@EimaMei There were a few other issues with EGL other than that issue.
@tomas This issue should be fixed with the newest commit.

Still no workie:

In file included from examples/basic/main.c:3:
./RGFW.h:429:3: error: unknown type name ‘GLXContext’
  429 |   GLXContext rSurf; /*!< source graphics context */
      |   ^~~~~~~~~~
./RGFW.h: In function ‘RGFW_initAttribs’:
./RGFW.h:2058:51: error: ‘GLX_X_VISUAL_TYPE’ undeclared (first use in this function)
 2058 | #define RGFW_GL_RENDER_TYPE   RGFW_OS_BASED_VALUE(GLX_X_VISUAL_TYPE,     0x2003,  73)
      |                                                   ^~~~~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2092:9: note: in expansion of macro ‘RGFW_GL_RENDER_TYPE’
 2092 |         RGFW_GL_RENDER_TYPE,
      |         ^~~~~~~~~~~~~~~~~~~
./RGFW.h:2058:51: note: each undeclared identifier is reported only once for each function it appears in
 2058 | #define RGFW_GL_RENDER_TYPE   RGFW_OS_BASED_VALUE(GLX_X_VISUAL_TYPE,     0x2003,  73)
      |                                                   ^~~~~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2092:9: note: in expansion of macro ‘RGFW_GL_RENDER_TYPE’
 2092 |         RGFW_GL_RENDER_TYPE,
      |         ^~~~~~~~~~~~~~~~~~~
./RGFW.h:2071:50: error: ‘GLX_TRUE_COLOR’ undeclared (first use in this function); did you mean ‘GL_SRC1_COLOR’?
 2071 | #define RGFW_GL_FULL_FORMAT  RGFW_OS_BASED_VALUE(GLX_TRUE_COLOR,      0x2027,      0)
      |                                                  ^~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2093:9: note: in expansion of macro ‘RGFW_GL_FULL_FORMAT’
 2093 |         RGFW_GL_FULL_FORMAT,
      |         ^~~~~~~~~~~~~~~~~~~
./RGFW.h:2059:50: error: ‘GLX_ALPHA_SIZE’ undeclared (first use in this function); did you mean ‘EGL_ALPHA_SIZE’?
 2059 | #define RGFW_GL_ALPHA_SIZE   RGFW_OS_BASED_VALUE(GLX_ALPHA_SIZE,        0x201b,  11)
      |                                                  ^~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2095:9: note: in expansion of macro ‘RGFW_GL_ALPHA_SIZE’
 2095 |         RGFW_GL_ALPHA_SIZE      , 8,
      |         ^~~~~~~~~~~~~~~~~~
./RGFW.h:2060:50: error: ‘GLX_DEPTH_SIZE’ undeclared (first use in this function); did you mean ‘EGL_DEPTH_SIZE’?
 2060 | #define RGFW_GL_DEPTH_SIZE   RGFW_OS_BASED_VALUE(GLX_DEPTH_SIZE,        0x2022,  12)
      |                                                  ^~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2096:9: note: in expansion of macro ‘RGFW_GL_DEPTH_SIZE’
 2096 |         RGFW_GL_DEPTH_SIZE      , 24,
      |         ^~~~~~~~~~~~~~~~~~
./RGFW.h:2061:52: error: ‘GLX_DOUBLEBUFFER’ undeclared (first use in this function); did you mean ‘GL_DOUBLEBUFFER’?
 2061 | #define RGFW_GL_DOUBLEBUFFER   RGFW_OS_BASED_VALUE(GLX_DOUBLEBUFFER,      0x2011,  5)
      |                                                    ^~~~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2097:9: note: in expansion of macro ‘RGFW_GL_DOUBLEBUFFER’
 2097 |         RGFW_GL_DOUBLEBUFFER    ,
      |         ^~~~~~~~~~~~~~~~~~~~
./RGFW.h:2070:49: error: ‘GLX_USE_GL’ undeclared (first use in this function)
 2070 | #define RGFW_GL_USE_OPENGL  RGFW_OS_BASED_VALUE(GLX_USE_GL,    0x2010,      0)
      |                                                 ^~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2103:9: note: in expansion of macro ‘RGFW_GL_USE_OPENGL’
 2103 |         RGFW_GL_USE_OPENGL,  1,
      |         ^~~~~~~~~~~~~~~~~~
./RGFW.h:2068:45: error: ‘GLX_X_RENDERABLE’ undeclared (first use in this function); did you mean ‘GL_COLOR_RENDERABLE’?
 2068 | #define RGFW_GL_DRAW    RGFW_OS_BASED_VALUE(GLX_X_RENDERABLE,   0x2001,     0)
      |                                             ^~~~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2104:9: note: in expansion of macro ‘RGFW_GL_DRAW’
 2104 |         RGFW_GL_DRAW, 1,
      |         ^~~~~~~~~~~~
./RGFW.h:2072:47: error: ‘GLX_RED_SIZE’ undeclared (first use in this function); did you mean ‘EGL_RED_SIZE’?
 2072 | #define RGFW_GL_RED_SIZE  RGFW_OS_BASED_VALUE(GLX_RED_SIZE,          0x2015,      0)
      |                                               ^~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2105:9: note: in expansion of macro ‘RGFW_GL_RED_SIZE’
 2105 |         RGFW_GL_RED_SIZE        , 8,
      |         ^~~~~~~~~~~~~~~~
./RGFW.h:2073:49: error: ‘GLX_GREEN_SIZE’ undeclared (first use in this function); did you mean ‘EGL_GREEN_SIZE’?
 2073 | #define RGFW_GL_GREEN_SIZE  RGFW_OS_BASED_VALUE(GLX_GREEN_SIZE,        0x2017,      0)
      |                                                 ^~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2106:9: note: in expansion of macro ‘RGFW_GL_GREEN_SIZE’
 2106 |         RGFW_GL_GREEN_SIZE      , 8,
      |         ^~~~~~~~~~~~~~~~~~
./RGFW.h:2074:48: error: ‘GLX_BLUE_SIZE’ undeclared (first use in this function); did you mean ‘EGL_BLUE_SIZE’?
 2074 | #define RGFW_GL_BLUE_SIZE  RGFW_OS_BASED_VALUE(GLX_BLUE_SIZE,     0x2019,      0)
      |                                                ^~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2107:9: note: in expansion of macro ‘RGFW_GL_BLUE_SIZE’
 2107 |         RGFW_GL_BLUE_SIZE       , 8,
      |         ^~~~~~~~~~~~~~~~~
./RGFW.h:2069:49: error: ‘GLX_RENDER_TYPE’ undeclared (first use in this function); did you mean ‘GL_SHADER_TYPE’?
 2069 | #define RGFW_GL_DRAW_TYPE   RGFW_OS_BASED_VALUE(GLX_RENDER_TYPE,      0x2013,      0)
      |                                                 ^~~~~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2108:9: note: in expansion of macro ‘RGFW_GL_DRAW_TYPE’
 2108 |         RGFW_GL_DRAW_TYPE     , RGFW_GL_USE_RGBA,
      |         ^~~~~~~~~~~~~~~~~
./RGFW.h:2075:47: error: ‘GLX_RGBA_BIT’ undeclared (first use in this function); did you mean ‘GL_RGB2_EXT’?
 2075 | #define RGFW_GL_USE_RGBA  RGFW_OS_BASED_VALUE(GLX_RGBA_BIT,      0x202B,      0)
      |                                               ^~~~~~~~~~~~
./RGFW.h:844:38: note: in definition of macro ‘RGFW_OS_BASED_VALUE’
  844 | #define RGFW_OS_BASED_VALUE(l, w, m) l
      |                                      ^
./RGFW.h:2108:33: note: in expansion of macro ‘RGFW_GL_USE_RGBA’
 2108 |         RGFW_GL_DRAW_TYPE     , RGFW_GL_USE_RGBA,
      |                                 ^~~~~~~~~~~~~~~~
In file included from examples/basic/main.c:3:
./RGFW.h:2112:9: error: ‘GLX_DRAWABLE_TYPE’ undeclared (first use in this function)
 2112 |         GLX_DRAWABLE_TYPE   , GLX_WINDOW_BIT,
      |         ^~~~~~~~~~~~~~~~~
./RGFW.h:2112:31: error: ‘GLX_WINDOW_BIT’ undeclared (first use in this function); did you mean ‘EGL_WINDOW_BIT’?
 2112 |         GLX_DRAWABLE_TYPE   , GLX_WINDOW_BIT,
      |                               ^~~~~~~~~~~~~~
      |                               EGL_WINDOW_BIT
./RGFW.h:2062:52: error: ‘GLX_STENCIL_SIZE’ undeclared (first use in this function); did you mean ‘EGL_STENCIL_SIZE’?
 2062 | #define RGFW_GL_STENCIL_SIZE   RGFW_OS_BASED_VALUE(GLX_STENCIL_SIZE,   0x2023, 13)
      |                                                    ^~~~~~~~~~~~~~~~
./RGFW.h:2131:21: note: in definition of macro ‘RGFW_GL_ADD_ATTRIB’
 2131 |    attribs[index] = attrib;\
      |                     ^~~~~~
./RGFW.h:2062:32: note: in expansion of macro ‘RGFW_OS_BASED_VALUE’
 2062 | #define RGFW_GL_STENCIL_SIZE   RGFW_OS_BASED_VALUE(GLX_STENCIL_SIZE,   0x2023, 13)
      |                                ^~~~~~~~~~~~~~~~~~~
./RGFW.h:2136:22: note: in expansion of macro ‘RGFW_GL_STENCIL_SIZE’
 2136 |   RGFW_GL_ADD_ATTRIB(RGFW_GL_STENCIL_SIZE, RGFW_STENCIL);
      |                      ^~~~~~~~~~~~~~~~~~~~
./RGFW.h:2064:47: error: ‘GLX_STEREO’ undeclared (first use in this function); did you mean ‘GL_STEREO’?
 2064 | #define RGFW_GL_STEREO    RGFW_OS_BASED_VALUE(GLX_STEREO,      0x2012,   6)
      |                                               ^~~~~~~~~~
./RGFW.h:2131:21: note: in definition of macro ‘RGFW_GL_ADD_ATTRIB’
 2131 |    attribs[index] = attrib;\
      |                     ^~~~~~
./RGFW.h:2064:27: note: in expansion of macro ‘RGFW_OS_BASED_VALUE’
 2064 | #define RGFW_GL_STEREO    RGFW_OS_BASED_VALUE(GLX_STEREO,      0x2012,   6)
      |                           ^~~~~~~~~~~~~~~~~~~
./RGFW.h:2137:22: note: in expansion of macro ‘RGFW_GL_STEREO’
 2137 |   RGFW_GL_ADD_ATTRIB(RGFW_GL_STEREO, RGFW_STEREO);
      |                      ^~~~~~~~~~~~~~
./RGFW.h:2065:50: error: ‘GLX_AUX_BUFFERS’ undeclared (first use in this function); did you mean ‘GL_AUX_BUFFERS’?
 2065 | #define RGFW_GL_AUX_BUFFERS  RGFW_OS_BASED_VALUE(GLX_AUX_BUFFERS,     0x2024, 7)
      |                                                  ^~~~~~~~~~~~~~~
./RGFW.h:2131:21: note: in definition of macro ‘RGFW_GL_ADD_ATTRIB’
 2131 |    attribs[index] = attrib;\
      |                     ^~~~~~
./RGFW.h:2065:30: note: in expansion of macro ‘RGFW_OS_BASED_VALUE’
 2065 | #define RGFW_GL_AUX_BUFFERS  RGFW_OS_BASED_VALUE(GLX_AUX_BUFFERS,     0x2024, 7)
      |                              ^~~~~~~~~~~~~~~~~~~
./RGFW.h:2138:22: note: in expansion of macro ‘RGFW_GL_AUX_BUFFERS’
 2138 |   RGFW_GL_ADD_ATTRIB(RGFW_GL_AUX_BUFFERS, RGFW_AUX_BUFFERS);
      |                      ^~~~~~~~~~~~~~~~~~~
./RGFW.h: In function ‘RGFW_createOpenGLContext’:
./RGFW.h:2281:18: warning: assignment to ‘int’ from ‘EGLContext’ {aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
 2281 |   win->src.rSurf = eglCreateContext(win->src.EGL_display, config, globalCtx, attribs);
      |                  ^
./RGFW.h:2285:14: warning: assignment to ‘EGLContext’ {aka ‘void *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 2285 |    globalCtx = win->src.rSurf;
      |              ^
./RGFW.h:2287:92: warning: passing argument 4 of ‘eglMakeCurrent’ makes pointer from integer without a cast [-Wint-conversion]
 2287 |   eglMakeCurrent(win->src.EGL_display, win->src.EGL_surface, win->src.EGL_surface, win->src.rSurf);
      |                                                                                ~~~~~~~~^~~~~~
      |                                                                                |
      |                                                                                int
In file included from ./RGFW.h:204,
                 from examples/basic/main.c:3:
/usr/include/EGL/egl.h:166:108: note: expected ‘EGLContext’ {aka ‘void *’} but argument is of type ‘int’
  166 | EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
      |                                                                                ~~~~~~~~~~~^~~
In file included from examples/basic/main.c:3:
./RGFW.h: In function ‘RGFW_getProcAddress’:
./RGFW.h:2303:10: warning: implicit declaration of function ‘glXGetProcAddress’; did you mean ‘eglGetProcAddress’? [-Wimplicit-function-declaration]
 2303 |   proc = glXGetProcAddress((GLubyte*) procname);
      |          ^~~~~~~~~~~~~~~~~
      |          eglGetProcAddress
./RGFW.h:2303:8: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 2303 |   proc = glXGetProcAddress((GLubyte*) procname);
      |        ^
./RGFW.h: In function ‘RGFW_closeEGL’:
./RGFW.h:2330:51: warning: passing argument 2 of ‘eglDestroyContext’ makes pointer from integer without a cast [-Wint-conversion]
 2330 |   eglDestroyContext(win->src.EGL_display, win->src.rSurf);
      |                                           ~~~~~~~~^~~~~~
      |                                                   |
      |                                                   int
In file included from ./RGFW.h:204,
                 from examples/basic/main.c:3:
/usr/include/EGL/egl.h:156:77: note: expected ‘EGLContext’ {aka ‘void *’} but argument is of type ‘int’
  156 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
      |                                                                  ~~~~~~~~~~~^~~
In file included from examples/basic/main.c:3:
./RGFW.h: In function ‘RGFW_window_makeCurrent_OpenGL’:
./RGFW.h:5890:92: warning: passing argument 4 of ‘eglMakeCurrent’ makes pointer from integer without a cast [-Wint-conversion]
 5890 |   eglMakeCurrent(win->src.EGL_display, win->src.EGL_surface, win->src.EGL_surface, win->src.rSurf);
      |                                                                                ~~~~~~~~^~~~~~
      |                                                                                |
      |                                                                                int
In file included from ./RGFW.h:204,
                 from examples/basic/main.c:3:
/usr/include/EGL/egl.h:166:108: note: expected ‘EGLContext’ {aka ‘void *’} but argument is of type ‘int’
  166 | EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
      |                                                                                ~~~~~~~~~~~^~~
In file included from examples/basic/main.c:3:
At top level:

Please not I'm running this on another computer with an older version of Ubuntu (20.04 x64).
I also had to add -ldl as well as -lpthread to the Makefile for the examples to compile.

Okay, thank you. I didn't test it on linux.

These issues should be fixed now :)

Ok now it builds... but crashes:
Failed to find any valid GLX configs
basic: ./RGFW.h:5897: RGFW_window_makeCurrent: Assertion `win != NULL' failed.
Aborted (core dumped)

This is not because of EGL though. Building the example without RGFW_EGL has the same result.

@tomas I'm not getting this error on linux (using an LUbuntu VM)

Well I just built a a simple GLFW example (shown below) and it worked without a problem. So it seems RGFW is doing something different.
#include <GLFW/glfw3.h>
#include <stdlib.h>
#include <stdio.h>

int main(void) {
    GLFWwindow* window;
    if (!glfwInit())
        exit(EXIT_FAILURE);

    window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
    if (!window) {
        glfwTerminate();
        exit(EXIT_FAILURE);
    }

    glfwMakeContextCurrent(window);
    printf("OpenGL shader language version: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION));
    glfwDestroyWindow(window);
    glfwTerminate();
    exit(EXIT_SUCCESS);
}

Built with:
gcc glfw-example.c -lGL -lglfw

That's correct, GLFW is using the native Wayland API while RGFE is using Xlib.

@tomas I'm not getting this issue on the Ubuntu VM.

That's correct, GLFW is using the native Wayland API while RGFW is using Xlib.

Nope, I'm not running Wayland.

Update: I was able to repeat the issue somehow

I believe this is a driver issue because it seems this issue only happens when GLX doesn't find a valid config due toany of them matching the multisample count.

@tomas my newest commit should fix that issue for you

I'm back in the other computer and the basic example "works" with EGL but doesn't show anything:

It does work with the default settings though (a triangle is shown over a white background).
Now, when using RGFW_OPENGL_ES1 I get the following error:
In file included from examples/basic/main.c:12:
./RGFW.h: In function ‘RGFW_createOpenGLContext’:
./RGFW.h:2250:25: error: ‘EGL_OPENGL_ES1_BIT’ undeclared (first use in this function); did you mean ‘EGL_OPENGL_ES2_BIT’?
 2250 |                         EGL_OPENGL_ES1_BIT,
      |                         ^~~~~~~~~~~~~~~~~~
      |                         EGL_OPENGL_ES2_BIT
./RGFW.h:2250:25: note: each undeclared identifier is reported only once for each function it appears in
./RGFW.h: At top level:

RGFW_OPENGL_ES2 has the same effect as RGFW_EGL (no output).

A similar thing happens to me on Linux (but not on Windows). I’ve not really tested EGL so I didn't know this happened. I’m not sure what the issue is but I’m looking into it right now.

Update: I found this example which works. I should be able to use this to find out what RGFW is doing wrong.

@tomas this issue should be fixed now with the newest commit :)

Ok now RGFW_EGL finally works!
Also, RGFW_OPENGL_ES1 builds correctly now, but has the same behaviour as I showed before. RGFW_OPENGL_ES2 on the other hands just shows a white screen (no triangle).

Ok now RGFW_EGL finally works!
Also, RGFW_OPENGL_ES1 builds correctly now, but has the same behaviour as I showed before. RGFW_OPENGL_ES2 on the other hands just shows a white screen (no triangle).

Yes, I tested this. I'm not sure about ES1 but ES2 is rendering properly. I believe you're supposed to render it differently for ES2 (see the EGL example I sent).

I'm not sure what you mean. How can I make the basic example work with ES2?

I'm not sure what you mean. How can I make the basic example work with ES2?

I believe the basic example simply isn't written to support ES2. ES2 only uses certain parts of the OpenGL api I think. The EGL example I sent works fine with ES2 and RGFW. But not the basic example, so I assume there's a proper way to render using ES2 that the RGFW examples don't do.

I see. It would be great to have a working ES2 example in the repo though.
And maybe one for ES1 too. :)

Okay, I created a OpenGL ES 2 example.

@tomas I can't find any examples of OpenGL ES 1 on X11.

I cannot seem to get OpenGL ES 1 to work on GLFW either... perhaps it's not possible.

That's odd. The docs mention the macro GLFW_INCLUDE_ES1 for loading that version.

That's odd. The docs mention the macro GLFW_INCLUDE_ES1 for loading that version.

Perhaps this is only for mobile/web? I'm struggling to find anything about OpenGL ES for desktop. I'll try out GLES/gl.h

@tomas I'm thinking I'll just put a note about ES1 not working on desktop platforms. I plan on adding webASM support in the future.

Sure, you're the boss here. Do you plan to support ES3 later?

Sure, you're the boss here. Do you plan to support ES3 later?

Yes, I believe it should work with minimal changes.

I added GL ES 3 support, it drew the background but did not render. I tried it with GLFW and the same thing happened. It could be a driver issue.


More on interpolation

http://photocreations.ca/interpolator/index.html
http://www.panoramafactory.com/quality/quality.html
http://web.archive.org/web/20090626095428/http://www.all-in-one.ee/~dersch/interpolator/interpolator.html

paeth.pdf
interpolation.pdf

There is a 2D regresión algorithm in ml. if you use it with the minimun number of points for each polinomial degree you have an interpolation function. https://github.com/mljs/regression/blob/master/test/2d-polinomial-fit.js

it's about pixel-wise interpolation (image resizing or rotation). If we have to train a new regression model for each pixel I'm afraid it will take too much time


opt avoid print too much log when get partitions failed #41892

cherry pick from #41892

run buildall


gradle/native-samples : binary-dependencies project does not work on macos

@eltonkent commented on Sat Mar 02 2019
Checkout the native-samples project. https://github.com/gradle/native-samples
https://github.com/gradle/native-samples/tree/master/cpp/binary-dependencies.
Expected Behavior
The binary dependencies project should work just fine.
Current Behavior
> Task :compileDebugCpp FAILED
In file included from /Users/.../cpp/binary-dependencies/src/main/cpp/split.cpp:2:
/Users/.../cpp/binary-dependencies/src/main/headers/string_utils.h:9:10: fatal error: 'linked_list.h' file not found
#include "linked_list.h"
         ^~~~~~~~~~~~~~~
1 error generated.

The binary dependencies have been built and uploaded to 1. .m2 2. ../repo
Environment
Gradle 5.2.1
Build time:   2019-02-08 19:00:10 UTC
Revision:     f02764e074c32ee8851a4e1877dd1fea8ffb7183
Kotlin DSL:   1.1.3
Kotlin:       1.3.20
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM:          1.8.0_60 (Oracle Corporation 25.60-b23)
OS:           Mac OS X 10.14.3 x86_64

Thanks for reporting this issue, I moved the issue to the gradle-native repository where all native issues are handled.

@eltonkent Can you confirm you followed the sample instruction in the readme?

Closing as no answer from original submitter.


Voltage and current reading wrong by large margin

Hi,
I suspect my issue is down to a diffy INA226 board / IC
I have the module wired in to a 16.6V battery, with load around 5W (can't give you an accurate reading on what it is without dismantling the wiring harness.
Voltage from the INA226 reads 11.165 V and current reads on the order of 2 A.
My multimeter shows the true voltage of 16.6V, and it's been powered up for an hour or so now with minimal change in measured voltage from the multimeter, so i know it's not drawing anything close to 2 A.
The voltage from the INA226 was reading 10.2 a while ago.
I have a 0.001 ohm shunt resistor, but my Fluke MM can't measure the resistance accurately to know how good this is.
Any ideas? It's connected up following this wiring example - https://wolles-elektronikkiste.de/en/ina226-current-and-power-sensor
This is my output -
BUS	SHUNT	        CURRENT	POWER
11.165	0.160000	2682.400	43600.000
11.165	0.165000	2682.400	43600.000
11.165	0.165000	2682.400	43600.000
11.165	0.165000	2682.400	43600.000
11.165	0.165000	2682.400	43600.000
11.165	0.240000	2682.400	43600.000
11.165	0.165000	2682.400	43600.000
11.165	0.160000	2682.400	43600.000
11.165	0.160000	2682.400	43600.000
11.165	0.240000	2682.400	43539.996
Cheers!

Thanks for the issue, might take a few days before I can investigate.

The link in your post points to another library.
Do you get the same results using that library?

Which sketch do you use?
Have you adjusted the setMaxCurrentShunt()

Hey Rob,
Yeah similar results, although not the same when using that library. I used that link for illustrative purposes as that's how it's wired up.
That data is from the ina226_demo.ino file, and changing the values in setMaxCurrentShunt() has no effect. I suspect there's a problem with the module...

Analysis
Your power = 16.6 V
INA measures = 11.165 V
==> drop of ~5.5V that's one third
load should be 5W so that is about 300mA,
Measured 2A
Possible causes:

the power supply cannot handle the load?
bad wiring?
the INA226 board fails

test 0

check if wires are connected well. Use a fresh breadboard if needed.
check the soldering on the INA226 board.

test 1
Do you have a DMM to measure the current and voltage when you connect the load directly to the 16.6 V?

does the voltage drop too?
what is the measured current?

test 2
Use a 5V power supply and use as load a resistor of 1 KΩ
INA should report 5V and 5 mA.
Do you see those numbers?

The battery is rated for 100C and is 4S 18 Ah. The INA226 is on the input between the battery and load, all voltages are what i'd expect them to be when measured with a multimeter on the INA226 and at multiple points down stream.
No voltage drop, and not able to measure current without dismantling the setup.
Test 2 seems like the most sensible one, as i'm going to replace the 226 with a 219 (although on a downstream part, as it won't be able to measure the full load).
Accurate current and power would be nice, but voltage is all i really need as this is just to determine when the robot is running low and needs to be recharged.
Ben

... voltage is all i really need as this is just to determine when the robot is running low and needs to be recharged.

Did you consider a voltage divider e.g. 1 in 4 so the 16.6V => 4.15V  == ~850 Arduino ADC
When the voltage drops e.g 10% to 15 V => 3.75 V == ~765 ADC
Even a drop of 2% is detectable 16.6V => 16.3V => 4.08V == ~835 ADC

The INA226 is on the input between the battery and load, all voltages are what i'd expect them to be when measured with a multimeter on the INA226 and at multiple points down stream.

That makes the INA226 prime suspect. Test with INA219 is a good idea.
For current measurement an ACS712 works pretty well, different ranges 5, 20, 30A available.

https://github.com/RobTillaart/ACS712

Yeah i'll probably go with that. I've found the INA226 to be notoriously unreliable (this is the second of three i've tried, different design too). I also have a product that uses INA219 modules and had to rebuild 6 or 7 of the PDB units to replace the INA219's as none of them were working!
Shame really because when they do work they're a neat solution for both voltage and current.

OK, success!

@Chick92
What voltage do you power the INA226?
A thought came in my mind: 16.6V / 5V * 3.3V = 10.956V  is almost your 11.156 (within 2%).
Need to check the datasheet about VCC


[Refactor] Don't use loop in rt.aaA.nextpow2.

Also add unittest.

@MartinNowak, is nextpow2 really supposed to work with zero or should it reject such case?

Auto-merge toggled on

I think for the time it takes to check for zero, it's not worth allowing potentially undefined behavior

Thanks.
This is not performance relevant anyhow.


New CSS var btn-link-focus-shadow-rgb to allow customisation between color modes

Description
Adds --#{$prefix}btn-link-focus-shadow-rgb so that users can have specific colors for each color mode.
Motivation & Context
Right now, for .btn-link, it's generated using only $link-color, regardless of the color mode.
--#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($link-color), $link-color, 15%))};

Type of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring (non-breaking change)
[ ] Breaking change (fix or feature that would change existing functionality)

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
[ ] My change introduces changes to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Live previews

https://deploy-preview-39119--twbs-bootstrap.netlify.app/docs/5.3/components/buttons/

Something has to be rethought in order not to increase the bundles size too much.

That's fair. I'm going to simply introduce a new Sass variable then, as you suggested: $btn-link-focus-shadow-rgb.
This should give enough flexibility to users that want to customise the shadow.


AutoPr-Billing-batman11235-REST Spec PrNumber 6075

Please open a new PR aligning to the new directory structure


Issue while running the model over multiple GPUs using nn.DataParallel

I used the nn.DataParallel() method in an attempt to do multi-processing. However, I am always met with this error.
RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 1 does not equal 0 (while checking arguments for cudnn_batch_norm) in the line.
head = self.bn0(head)
Is there a way to remedy this? How did you carry out Multi-processing?

One thing I discovered is that the tensors in self.embedding.weight  are always on the device 0, as opposed to the data which have been split.  I would recommend using huggingface accelerate.


Explicit Specification of Private Package Repositories

Description
I would like to propose a feature that allows users to explicitly specify private package repositories for multiple packages within the rye package manager.
Proposed Configuration:
The configuration could be specified in the pyproject.toml file as follows:
[[tool.rye.sources]]
name = "source1"
url = "https://company.internal/"
[[tool.rye.sources]]
name = "source2"
url = "https://company2.internal/"

Proposed User Interface:
The command-line interface might look like this:
rye add --source source1 package11 --source source2 package21 package22

This interface is similar to what Poetry provides with the --source option and aligns with Conda's channel specification:
conda install -c conda-channel package

Or similar to poetry --source option for add command.
Rationale:
This feature would provide developers with explicit control over package sources, rather than relying on internal resolution mechanisms. This can be particularly important for organizations that manage multiple private repositories and need precise control over which packages are pulled from which sources.
Thank you for considering this feature request. I believe it would greatly enhance the flexibility and usability of rye for many users.

Cross-linking to https://github.com/astral-sh/uv/issues/171 where we're tracking adding support for this in uv.


Unit creator added to unit

The problem with creating a unit is that the creator of the unit wasn't necessarily in the unit, so the authorization never passed. So I modified the unit#create action to automatically add the current user to the unit. I also modified the unit#show and user#show views to better indicate that a given unit contains a given user.
Note: There is still no way to join a unit other than creating it. This should be dealt with at some point, but this is still better than before, when there wasn't a way to join a unit at all.

We don't need both the unit and the user's street addresses to be visible, and I figure that the unit's address is rather more important. We can probably get rid of the user's street address altogether at some point, but for now I'm allowing both options, with the unit address overriding the street address if it exists.


Support Lambda images

Update serverless to at least 2.72
update path in API proxy
remove magic addition of module and handler during build (put in template)

So if we want to support serverless >=3.0, we have to remove the serverlerss-pseudo-parameters plugin. The replacement on the serverless side only supports two common parameters, region and account id. For every other use, we have to convert to using Fn:Sub.
Interestingly, we can easily process strings using the same regex as the aforementioned plugin, looking for things within a string that match the pattern #{AWS::[^}]+} and replacing the # with a $. If not already inside a Fn:Sub then we can add that.
Now, the concern becomes the fact that serverless also uses ${...} for its variable interpolation, but good news: as of 2.3.0, the parser is smart enough to leave the AWS parameters alone (see https://github.com/serverless/serverless/releases/tag/v2.3.0 and https://github.com/serverless/serverless/pull/8279).
In other words, we can implement our own mini version of the pseudo parameters plugin. We could also consider logging a deprecation warning with details how to get off the #{...} syntax. But for now we'll just make things work without the plugin and see how that goes.

The removal of the module/handler magic will now result in a ValueError if the module is not defined explicitly in a lambda task definition.yml. The error looks something like this:
ValueError: Missing module parameter in lambda definiton.yml. The handler parameter, which sets the module, is no longer defaulted. You likely need to set it to be like:

lambda:
  handler: lambda_function.lambda_handler

Offending <lambda_type>: <lambda_name>

See https://github.com/cirrus-geo/cirrus-geo/issues/139 for additional context.


android.useDeprecatedNdk. Ndkcompiler is no longer supported

getting this error while running npx react-native run-android on my windows
Expected Behavior

Current Behavior

Configure project :react-native-sqlite-storage
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Possible Solution

add supported or alternative way

Steps to Reproduce (for bugs)
create react-native.config.js file in root of project directory.
paste the code mentioned in ReadMe of this repo for android for react-native >0.60
run project on android in windows
Context
takes too much time and not installing the app on my android phone
Your Environment

React Native SQLite Storage Version used: 4.1.0
React Native version used: 0.61.5
Operating System and version (simulator or device): Windows 10, Android 9 Pie(virtual)
IDE used: VS Code

Debug logs

Configure project :react-native-sqlite-storage
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

same issue


Add new subcategory Static Site Generator (SSG)

Fixes Issue
closes #2349

Changes proposed
Add new subcategory Static Site Generator (SSG)
This is my second PR. In which I moved back some elements that I took from other categories/subcategories.
I moved back VuePress, Nuxt.js, Hugo. (I still believe that those elements belong to SSG though)

Screenshots

Note to reviewers

@JuanPabloDiaz There is a similar client error.

I believe updating the branch will fix this.

Yep, @JuanPabloDiaz could you please update your branch with LinksHub main?

@JuanPabloDiaz There is a similar client error.

I believe updating the branch will fix this.

Yep, @JuanPabloDiaz could you please update your branch with LinksHub main?

Done @rupali-codes


Validate reference_time vs detection_time semantic in DENM

Check how they are defined in the spec and how they should change over time when updated
From the last read I have in mind they both must change at each update, their difference being the time between the detection of the event and the creation of the message
I don't think this is the behaviour implemented in all the clients so it has to be realigned either to fit the spec or either to the behaviour we want, but all our client must manage them the same way

From https://www.etsi.org/deliver/etsi_en/302600_302699/30263703/01.02.01_30/en_30263703v010201v.pdf

B.11 detectionTime
Description Time at which the event is detected by the originating ITS-S. For the DENM
repetition, this DE shall remain unchanged.
For the DENM update, this DE shall be the time at which the event update is
detected.
For the DENM termination, this DE shall be the time at which the termination of
the event is detected.

B.37 referenceTime
Description This DE refers to the time at which a new DENM, an update DENM or a
cancellation DENM is generated.
This DE is maintained by the DEN basic service of the originating ITS-S.

From https://forge.etsi.org/rep/ITS/asn1/denm_ts103831/-/blob/release2/docs/DENM-PDU-Description.md?ref_type=heads

detectionTime of type TimestampIts
the time at which the event is detected.

referenceTime of type TimestampIts
the time at which a new DENM, an update DENM or a cancellation DENM is generated

Based on this, what I understand is that reference time is always updated, and there is only one case where the detection time is not updated which is when the DENM is generated another time but its content did not change (repetition)
But it has to be updated when the DENM is itself updated (e.g. with a new position)


Add command for listing existing configurations

The lines echoing workspace configurations should likely go outside the try block since they do not depend on the scandir execution.

I moved the output part outside the try block and made the docstring slightly more readable.

Sorry for the late response, I am having issues keeping up with the project. I'm seeking maintainers @ https://github.com/tony/tmuxp/issues/290. If you (or someone you know) may be interested in helping maintain libtmux or tmuxp, feel free to contact me by email or in the https://github.com/tony/tmuxp/issues/290 issue.
In the mean time, if you're still interested in this PR, can you rebase it via git pull --rebase origin master and git push --force?

Closing and reopening (trying to trigger travis build)

Sure, but I need to sort out my own repo before that.

Codecov Report

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

@@            Coverage Diff             @@
##           master     #339      +/-   ##
==========================================
- Coverage   82.49%   75.67%   -6.83%
==========================================
  Files           5        5
  Lines         777      777
  Branches        0      226     +226
==========================================
- Hits          641      588      -53
  Misses        136      136
- Partials        0       53      +53

Impacted Files
Coverage Δ

tmuxp/config.py
85.36% <0%> (-8.95%)
:arrow_down:

tmuxp/cli.py
57.05% <0%> (-7.06%)
:arrow_down:

tmuxp/util.py
90.9% <0%> (-6.07%)
:arrow_down:

tmuxp/workspacebuilder.py
90.9% <0%> (-4.25%)
:arrow_down:

Continue to review full report at Codecov.

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

I rebased on top of your master branch.


error page: make css being included in the error page

For a still unknown reason the base theme style sheet built by flask-webpack is not being included in the jinja2 template. I managed to find a way to includes the base theme style sheet in the error page template by converting the string back into HTML.
closes https://github.com/inveniosoftware/invenio-app-rdm/issues/1565

did you search for any "orphan"  single quotes in the templates? maybe its syntax related

did you search for any "orphan" single quotes in the templates? maybe its syntax related

I have searched but haven't found something syntax related


Review CodeClimate configuration

CodeClimate is useful but most of the times it adds a lot of noise and we normally ignore it. We should review its configuration to leave only the most important issues, or remove it straight away.

This is a non-issue, we can make small improvements as we go.


test: add test for 'about' youtube modal

Description
I added a test that makes sure the YouTube modal can play,
but I had a problem with the HAR file.
It will probably not pass, but I need a place to discuss it in the PR comments section :)

It worked when I ran in --debug mode, but failed without it.
-ui mode made me realize it was probably because of the HAR file,
I re-recorded it but it broke a bunch of other tests.
I didn't push the HAR, didn't really know what I broke there.

The har file recording does not include youtube - it's limited on line # 9 to url: /stride-api/.
When you read playButtonLabel, it can happen before the video starts playing therefore the pause button isn't available yet. This situation called a "race condition" - it behaves differently because sometimes the website is slower than the test, and sometimes it's faster.
The safe approach for these cases would be to wait until the play action is completed -
  test('About YouTube modal plays video', async ({ page }) => {
    await page.goto('/about')
    const videoFrame = page.frameLocator('iframe[title="YouTube video player"]')
    await videoFrame.locator('.ytp-cued-thumbnail-overlay-image').click({ force: true })
    const playButton = videoFrame.getByLabel('Play', { exact: true })
    await playButton.waitFor({ state: 'hidden' })
    const video = videoFrame.locator('video')
    await video.hover()
    await expect(videoFrame.getByLabel('Pause')).toBeVisible()
  })

it seems to wait forever for the hover method, though locally for me it does run successfully.
  115 |     await playButton.waitFor({ state: 'hidden' })
  116 |     const video = videoFrame.locator('video')
> 117 |     await video.hover()
      |                 ^
  118 |     await expect(videoFrame.getByLabel('Pause')).toBeVisible()
  119 |   })

Seems like YouTube are blocking bots - and they are right :sweat_smile:  - our automation is a bot indeed.
So maybe we should avoid testing youtube for now :upside_down_face: . If youtube will have a bug, it's not our to fix.

https://s3.amazonaws.com/noam-gaash.co.il/12534395670/open-bus/0ae794929d8fff601adecc13835a83fbbabdb06c/test-results/trace/index.html?trace=https://s3.amazonaws.com/noam-gaash.co.il/12534395670/open-bus/0ae794929d8fff601adecc13835a83fbbabdb06c/test-results/data/65b9171c0e38c6594f3af9e2978312198809d02e.zip


 Labels are unreadable... I'm attaching screenshots:
http://imgur.com/Bz5wMyw
http://imgur.com/vfI2e5O
http://imgur.com/Ag4b37M
http://imgur.com/F2xNM0p
http://imgur.com/6X1jmxi
Any solutions?

Hi!

@trofimchyk please create a new issue for markers

@neilboyd Ok, I'll make some screenshots for example and create new issue.

Thanks a lot for the fix. I just verified that
mMapView.setTilesScaledToDpi(true)
did work for me as well. Version 4.3 also fixed the issue that setCenter did not center around the coordinates, but make the given coordinates the left upper corner.
Why is there now binary distribution of osmdroid 5.x any more? I just found a sources.jar, but not the "real" jar with compiled classes.

osmdroid >=5.0 is an android archive. I'm not sure why there's such as push back on this. It's the android way to include resource files along with java code. You can still download the AAR on maven central.


Update spring-boot.md

Updated link address for Java and JVM in the Springboot page
References

Closes #116

Submitter checklist

[X] The PR request is well described and justified, including the body and the references
[X] The PR title represents the desired changelog entry
[X] If the change against WireMock 2 functionality (incompatible with WireMock 3),
it is submitted against the 2.x branch
[X] The repository's code style is followed (see the contributing guide)

Details: Contributor Guide

what us wrong with the current link? They need to be relative when possible

The current link takes you to a invalid 404 page as shown in the screenshot. So i have updated the link to tkae it to the correct page.

I believe if we remove the path of 3.x/docs then the issue will arise again of failur of reaching the site…i will test it out and let you if this works!

That's unlikely if all the branches are synced. But let's see

We're migrating to a new docs stack and this link is correct under the new scheme


Remove @notice from generated docs

No reason to display this tag, it's what is used to generate that part of the docs already

@fubuloubu the changes I put in only work for the vyper files [changed the vyper template contract.ejs] -- I'll look into the solidity-docgen more to figure out how to make the changes for the solidity template contract.hbs


Minor added class diagram

Hi @bgelens here is the second attempt on for this change.
I assume pushing to the dev branch is where you want to have this.
Concerning the 'force' I am not so sure how I could do that.

Thanks @Stephanevg! :-)


Preferred versions on Hackage

Not sure if it was intentional, but currently on hackage preferred versions are set to typerbole >=<IP_ADDRESS>, while current version is <IP_ADDRESS>.
Here is the reference: http://hackage.haskell.org/packages/preferred-versions

This was intentional, what's available on hackage doesn't have working unification - when that's fixed I'll publish a <IP_ADDRESS> to hackage.

That's cool. But just to let you know that it doesn't make sense to not have at least one preferred version on Hackage:

If all the available versions of a package are non-preferred or deprecated, cabal-install will treat this the same as if none of them are.

I wasn't aware of this, I'll work on this enough to get a 1.0 up ASAP.


我怎么设置他成为一个子目录呢？nginx

我想访问我主站 的/gpt 路径，代理这个地址。
测试了下404，资料加载不了。
location /gpt {
proxy_pass http://<IP_ADDRESS>:6003/;
proxy_buffering off;
proxy_read_timeout 100s;
}

Same quesiton here

@bbhxwl @Interfish
try this:
server {
    listen       80;
    server_name _;
    location ~ /(_next|config|google-fonts|serviceWorkerRegister) {
        proxy_pass http://nextchat:3000;
    }
    location /chat {
        rewrite /chat/(.*) /$1 break;
        proxy_pass http://nextchat:3000;
        proxy_buffering off;
        proxy_read_timeout 100s;
    }
}

another version:
server {
    listen       80;
    server_name _;
    location / {
        # can serve other site files, and try "@chat" at last
        try_files $uri $uri/ @chat;
    }
    location @chat {
        rewrite /chat/(.*) /$1 break;
        proxy_pass http://nextchat:3000;
        proxy_buffering off;
        proxy_read_timeout 100s;
    }
}

another version:
server {
    listen       80;
    server_name _;
    location / {
        # can serve other site files, and try "@chat" at last
        try_files $uri $uri/ @chat;
    }
    location @chat {
        rewrite /chat/(.*) /$1 break;
        proxy_pass http://nextchat:3000;
        proxy_buffering off;
        proxy_read_timeout 100s;
    }
}

This definitely won't work because my main path has other websites and I just want them to be a part of my website

@bbhxwl @Interfish try this:
server {
    listen       80;
    server_name _;
    location ~ /(_next|config|google-fonts|serviceWorkerRegister) {
        proxy_pass http://nextchat:3000;
    }
    location /chat {
        rewrite /chat/(.*) /$1 break;
        proxy_pass http://nextchat:3000;
        proxy_buffering off;
        proxy_read_timeout 100s;
    }
}

[emerg] 2408809#2408809: "proxy_pass" cannot have URI part in location given by regular expression, or inside named location, or inside "if" statement, or inside "limit_except" block in

https://gist.github.com/lloydzhou/1bd2f63a85e5a622716d001a3a9c5a8d
the 2 version, work fine

What I mean is that your root directory cannot be used for reverse proxy of other websites, right?

Have you solved it already?

https://gist.github.com/lloydzhou/1bd2f63a85e5a622716d001a3a9c5a8d

版本，运行良好

没有用 其他资源跟路径跳转任然 404
这种做法 如果当前站点有其他子站的话 会占用路径
也许需要 next中配置 basePath  assetPrefix


Support read-only zones in the editor

Define a mark that locks selective text in the editor.

Should that be a global flag? "Lock text" option?

Slate already has a global flag. We ended read-only sections, possibly via a plugin.

This has been implemented via the VariablePlugin.


Allow running ansible as non root user

This diff allows running the playbook with a normal (non-root) account
ansible-playbook -i inventory/hosts -u someuser -b site.yml -vv

This looks good to me, will try this out next week on our clusters !
Thank you very much!

This makes sense to me, but my Ansible-fu is not high.
@BaptisteGerondeau please check.

Tested in production, thanks a lot !


Issues with System.Runtime.CompilerServices.Unsafe 6.0.0

Description
We are using SvgDocument.Draw() to render an SVG as a bitmap. All works as expected with System.Runtime.CompilerServices.Unsafe 4.5.3, but as soon as we use System.Runtime.CompilerServices.Unsafe 6.0.0 (because another NuGet package requires it), the bitmap is no longer rendered. SvgDocument shows 0 nodes, 0 width and 0 height, but there is no exception thrown.
The following shows up in the output window, though:
Exception: "System.IO.FileLoadException" in Svg.dll Warning: 0 : Attribute 'width' cannot be set - type 'Svg.SvgDocument' cannot convert from string '1000'. Ausnahme ausgelöst: "System.IO.FileLoadException" in Svg.dll Warning: 0 : Attribute 'height' cannot be set - type 'Svg.SvgDocument' cannot convert from string '343'. Ausnahme ausgelöst: "System.IO.FileLoadException" in Svg.dll Warning: 0 : Attribute 'd' cannot be set - type 'Svg.SvgPath' cannot convert from string 'm68.94,60.1q-19.36-8.71-23.66-11.4-5.17-3.33-5.17-8.6 0-14.09 25.62-14.09 18.2,0 39.41,8.47v-28.93q-28.52-5.55-43.59-5.55-27.33,0-44.34,11.72-17.21,11.83-17.21,34.42 0,17.54 11.82,29.04 9.12,8.72 39.19,21.08 16.75,6.89 20.83,10.76a11.78,11.78 0 0 1 3.98,9.03q0,14.42-27.29,14.42-19.77,0-45.44-8.08v30.07a207.29,207.27 0 0 0 47.23,5.54q27.76,0 45.2-10.53 21.52-13.01 21.52-37.76 0-17.22-10.98-28.08-9.24-9.15-37.12-21.53z m72.12,94.82h42.54v-152.27h-42.54z m122.56-65.22h59.28v-25.13h-59.28v-34.38h68.1v-27.54h-109.1v152.27h110.86v-29.09h-69.86z m191.1,10.24-38.32-97.29h-55.15v152.27h29.97v-107.81l43.8,109.36h26.37l44.67-109.36v107.81h40.33v-152.27h-52.39z m171.7-10.24h59.28v-25.13h-59.28v-34.38h68.1v-27.54h-109.1v152.27h110.85v-29.09h-69.85z m199.46,14.88l-52.3-101.93h-49.31v152.27h29.98v-103.31l53.69,103.31h47.91v-152.27h-29.97z m126.02-44.48q-19.35-8.71-23.66-11.4-5.17-3.33-5.17-8.6 0-14.09 25.62-14.09 18.2,0 39.41,8.47v-28.93q-28.52-5.55-43.59-5.55-27.33,0-44.34,11.72-17.21,11.83-17.21,34.42 0,17.54 11.82,29.04 9.12,8.72 39.19,21.08 16.76,6.89 20.83,10.76a11.78,11.78 0 0 1 3.98,9.03q0,14.42-27.29,14.42-19.77,0-45.44-8.08v30.07a207.29,207.27 0 0 0 47.23,5.54q27.76,0 45.2-10.53 21.52-13.01 21.52-37.76 0-17.22-10.98-28.08-9.24-9.15-37.12-21.53z'. Ausnahme ausgelöst: "System.IO.FileLoadException" in Svg.dll Warning: 0 : Attribute 'd' cannot be set - type 'Svg.SvgPath' cannot convert from string 'm123.9,189.25c-13.3-.75-26.8-1.25-40.4-1.25s-27.1,.5-40.4,1.25a45.5,45.5 0 0 0-43.1,45.25v62a45.5,45.5 0 0 0 43.1,45.25c13.3,.75 26.8,1.25 40.4,1.25s27.1-.5 40.4-1.25a45.5,45.5 0 0 0 43.1-45.25v-3.5h-19.5v3.5a25.9,25.9 0 0 1-24.4,25.7c-13.1,.8-26.3,1.3-39.6,1.3s-26.5-.5-39.6-1.3a25.9,25.9 0 0 1-24.4-25.7v-62a25.9,25.9 0 0 1 24.4-25.7c13.1-.8 26.3-1.3 39.6-1.3s26.5,.5 39.6,1.3a25.9,25.9 0 0 1 24.4,25.7v21h-80.5v20h100v-41a45.5,45.5 0 0 0-43.1-45.25z m175.15,.25c-10.75-.9-21.75-1.5-32.7-1.5s-21.95,.6-32.69,1.5a45.5,45.5 0 0 0-41.31,45v107h19.5v-107a26,26 0 0 1 24.28-25.78c9.94-.69 20.02-1.22 30.22-1.22s20.29,.5 30.23,1.22a26,26 0 0 1 24.27,25.78v107h19.5v-107a45.5,45.5 0 0 0-41.3-45z m189.95-.25c-13.3-.75-26.8-1.25-40.4-1.25s-27.1,.5-40.4,1.25a45.5,45.5 0 0 0-43.1,45.25v62a45.5,45.5 0 0 0 43.1,45.25c13.3,.75 26.8,1.25 40.4,1.25s27.1-.5 40.4-1.25a45.5,45.5 0 0 0 43.1-45.25v-3.5h-19.5v3.5a25.9,25.9 0 0 1-24.4,25.7c-13.1,.8-26.3,1.3-39.6,1.3s-26.5-.5-39.6-1.3a25.9,25.9 0 0 1-24.4-25.7v-62a25.9,25.9 0 0 1 24.4-25.7c13.1-.8 26.3-1.3 39.6-1.3s26.5,.5 39.6,1.3a25.9,25.9 0 0 1 24.4,25.7v21h-80.5v20h100v-41a45.5,45.5 0 0 0-43.1-45.25z m70.59,45.24v107h19.5v-107c0-13.67 11.22-25.5 24.77-25.5h39.73v-19.51h-40.41c-21.24,.02-43.59,18.44-43.59,45.01z m221.91-45.24c-13.3-.75-26.8-1.25-40.4-1.25s-27.1,.5-40.4,1.25a45.5,45.5 0 0 0-43.1,45.25v62a45.5,45.5 0 0 0 43.1,45.25c13.3,.75 26.8,1.25 40.4,1.25s27.1-.5 40.4-1.25a45.5,45.5 0 0 0 43.1-45.25v-41h-100v20h80.5v21a25.9,25.9 0 0 1-24.4,25.7c-13.1,.8-26.3,1.3-39.6,1.3s-26.5-.5-39.6-1.3a25.9,25.9 0 0 1-24.4-25.7v-62a25.9,25.9 0 0 1 24.4-25.7c13.1-.8 26.3-1.3 39.6-1.3s26.5,.5 39.6,1.3a25.9,25.9 0 0 1 24.4,25.7v3.5h19.5v-3.5a45.5,45.5 0 0 0-43.1-45.25z m218.5,.25h-24.42l-66.25,87.9a44.8,44.8 0 0 0-9.06,27.1v37h19.5v-37a25.4,25.4 0 0 1 5.15-15.37z m-147.73,0h-25.46l69.46,82.77 12.04-15.99z'.
Has anyone else experienced this? Any ideas what my be causing this or how to fix it? I would have thought that System.Runtime.CompilerServices.Unsafe must be backwards compatible?
Any help will be greatly appreciated.
Example data
https://upload.wikimedia.org/wikipedia/commons/f/f2/Siemens_Energy_logo.svg, but the same happend for all SVGs we tried.
Used Versions
3.4.7 NuGet package
.NET Framework 4.7.2
Windows 10

Fixed by adding the following binding redirect to app.config:
<runtime>
   <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>


Make publishers more prominent

Is your feature request related to a problem? Please describe.
Traditionally, subscribers (ie. everyone's video except yours) is given visual priority over the publishers. Currently, this isn't the case.
Describe the solution you'd like
Make the subscribers more prominent when compared with the publishers.
Additional context
Current screenshot:

Styling changed in #15. While the publishers are no longer more prominent than the subscribers, I still believe they should be de-prioritised in the layout.

Up to you! When I've built a similar thing personally I put it in the top-middle as that's often where a person's camera is. But if you think fixed in the bottom is better that's also ok!
A huge apology but I butchered your CSS a little to get the layout as it is above - feel free to change anything.

Alright then. Thank you.


chore(docs): update CHANGELOG

https://github.com/Kong/go-kong/pull/378 forgotten to update the links

We're currently processing your upload.  This comment will be updated when the results are available.


Removing the unsupported ruby image test

What type of PR is this?
/kind bug
What does does this PR do / why we need it:
PR removes the Ruby image component created from the branch ref
Which issue(s) this PR fixes:
Fixes NA
PR acceptance criteria:

[ ] Unit test

[x] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:
PR - openshift/release#10346 should be unblocked.
Run make test-cmd-cmp and make test-cmd-cmp-sub

/approve
/lgtm

/hold
Due to recent change through pr https://github.com/openshift/odo/pull/3545 hitting some real failure on travis. So I am holding this pr for now.

PR https://github.com/openshift/odo/pull/3715 merged which resolves the blocker.
/cancel hold

/unhold

/lgtm

PR #3715 merged which resolves the blocker.

Still you need a rebase to remove the travis old failure

New changes are detected. LGTM label has been removed.

/lgtm


Preserve stack trace by default in controller (#280)

This should preserve the stack trace when exceptions are thrown while using controllers that have no dedicated error handler.
This solves a part of #280

Thanks for the contribution!
A bit better, as opposed to reflection of exception internals, would be to use ExceptionDispatchInfo.Capture(ex).Throw() (System.Runtime.ExceptionServices)
This is the supported api to do what you want (and it's used in the F# compiler, F# core, and clr core libraries)

With ExceptionDispatchInfo.Capture(ex).Throw() there would just be a lot of added lines like
--- End of stack trace from previous location where exception was thrown ---.
I don't mind that, should I change it?

Looking at the problem from a slightly different angle, it might be better to change the internal controller state to take an ErrorHandler option. In controllerWithErrorHandler guard on it being Some in the try ... with ex when state.ErrorHandler.IsSome -> state.ErrorHandler.Value ex and the compiler will then emit the EDI call :)

Without a fallback like this?
let controllerWithErrorHandler nxt ctx : HttpFuncResult =
    task {
      try
        return! initialController nxt ctx
      with
      | ex when state.ErrorHandler.IsSome -> return! state.ErrorHandler.Value ctx ex
    }

That would lead the exception to fall through to the router/application level, so no need for the explicit EDI call?

Exactly! See https://github.com/dotnet/fsharp/issues/8529

The same thing should be done for the Endpoint-Routing version of Controllers in https://github.com/SaturnFramework/Saturn/blob/master/src/Saturn/ControllerEndpoint.fs

Published in 0.15.0-preview03


clustermesh: Ignore symlink files on fsnotify events

Kubernetes secrets are mapped into the pod using symlinks. The initial
scan was already correctly ignoring symlinks but the fsnotify events
have not been. This has resulted in invalid cluster configurations being
added:
ClusterMesh:            0/3 clusters ready, 0 global-services
   cluster2: not-ready, 0 nodes, 0 identities, 0 services, 0 failures (last: never)
   └  Waiting for initial connection to be established
   ..2021_01_08_21_11_57.892158678: not-ready, 0 nodes, 0 identities, 0 services, 0 failures (last: never)
   └  Waiting for initial connection to be established
   ..data: not-ready, 0 nodes, 0 identities, 0 services, 0 failures (last: never)
   └  Waiting for initial connection to be established

Fixes: 076b0188b98 ("Inter cluster connectivity (ClusterMesh)")

@kaworu can we reuse the same code done for hubble-relay certificates in here? It looks to me the code use in both places have the same functionalities

@kaworu can we reuse the same code done for hubble-relay certificates in here? It looks to me the code use in both places have the same functionalities

test-me-please

test-me-please

@kaworu can we reuse the same code done for hubble-relay certificates in here? It looks to me the code use in both places have the same functionalities

I agree that's a good refactoring but we should fix the existing code first so we back backport the minimal fix.

@kaworu can we reuse the same code done for hubble-relay certificates in here? It looks to me the code use in both places have the same functionalities

I agree that's a good refactoring but we should fix the existing code first so we back backport the minimal fix.

retest-gke

retest-gke

@kaworu can we reuse the same code done for hubble-relay certificates in here? It looks to me the code use in both places have the same functionalities

If I understand correctly, the use case is a little different between clustermesh and hubble mTLS. In the clustermesh case we don't know what paths are going to show up, whereas in the Hubble mTLS case we know all the paths we should watch at startup. Although this should not be blocking (if correct) the change is probably not trivial and separate warrant a refactor as @tgraf suggested.
Question: here we are watching the symlinks under /var/lib/cilium/clustermesh and avoiding the files pointed to in the /var/lib/cilium/clustermesh/..2021_01_11_12_28_37.877026628/ directory correct? If yes, do we get update events when the backing files change? I believe we don't, and that is why pkg/crypto/certloader/fswatcher is complex. cc @gandro

@kaworu can we reuse the same code done for hubble-relay certificates in here? It looks to me the code use in both places have the same functionalities

If I understand correctly, the use case is a little different between clustermesh and hubble mTLS. In the clustermesh case we don't know what paths are going to show up, whereas in the Hubble mTLS case we know all the paths we should watch at startup. Although this should not be blocking (if correct) the change is probably not trivial and separate warrant a refactor as @tgraf suggested.
Question: here we are watching the symlinks under /var/lib/cilium/clustermesh and avoiding the files pointed to in the /var/lib/cilium/clustermesh/..2021_01_11_12_28_37.877026628/ directory correct? If yes, do we get update events when the backing files change? I believe we don't, and that is why pkg/crypto/certloader/fswatcher is complex. cc @gandro

Question: here we are watching the symlinks under /var/lib/cilium/clustermesh and avoiding the files pointed to in the /var/lib/cilium/clustermesh/..2021_01_11_12_28_37.877026628/ directory correct? If yes, do we get update events when the backing files change? I believe we don't, and that is why pkg/crypto/certloader/fswatcher is complex. cc @gandro

Yes, I agree with your statement: Because K8s uses indirect symlinks (see example below), the code here will observe cluster file being added and clusters being removed, but not cluster files being modified. Not sure how much of an issue that is, I lack a bit conext when it comes to clustermesh.
As a reminder, the symlink structure of K8s is as follows:
/var/lib/cilium/clustermesh/..data/ -> ..2021_01_01_01_01_01.11111111
/var/lib/cilium/clustermesh/cluster1 -> ..data/cluster1
Thus /var/lib/cilium/clustermesh/cluster1 resolves to /var/lib/cilium/clustermesh/..data1/cluster1 which resolves to /var/lib/cilium/clustermesh/..2021_01_01_01_01_01.11111111/cluster1
When K8s updates the secret mount (e.g. when a cluster file is modified), the new version of each file is copied into a new directory called ..2021_02_02_02_02_02.22222222 and the ..data symlink is redirected:
/var/lib/cilium/clustermesh/..data -> ..2021_02_02_02_02_02.22222222
Now the /var/lib/cilium/clustermesh/cluster1 symlink now resolves to /var/lib/cilium/clustermesh/..2021_02_02_02_02_02.22222222/cluster1 even though the symlink itself has not been touched at all. This update is missed by the fsnotify code here.
The old and new code here will pick up the creation and deletion of the /var/lib/cilium/clustermesh/cluster1 symlink, but not the rewrite of the ..data symlink.
However: I believe the fact that cluster file modifications are not tracked is already present in the old version of the code, so in that sense this PR does not change the behavior in this regard

Question: here we are watching the symlinks under /var/lib/cilium/clustermesh and avoiding the files pointed to in the /var/lib/cilium/clustermesh/..2021_01_11_12_28_37.877026628/ directory correct? If yes, do we get update events when the backing files change? I believe we don't, and that is why pkg/crypto/certloader/fswatcher is complex. cc @gandro

Yes, I agree with your statement: Because K8s uses indirect symlinks (see example below), the code here will observe cluster file being added and clusters being removed, but not cluster files being modified. Not sure how much of an issue that is, I lack a bit conext when it comes to clustermesh.
As a reminder, the symlink structure of K8s is as follows:
/var/lib/cilium/clustermesh/..data/ -> ..2021_01_01_01_01_01.11111111
/var/lib/cilium/clustermesh/cluster1 -> ..data/cluster1
Thus /var/lib/cilium/clustermesh/cluster1 resolves to /var/lib/cilium/clustermesh/..data1/cluster1 which resolves to /var/lib/cilium/clustermesh/..2021_01_01_01_01_01.11111111/cluster1
When K8s updates the secret mount (e.g. when a cluster file is modified), the new version of each file is copied into a new directory called ..2021_02_02_02_02_02.22222222 and the ..data symlink is redirected:
/var/lib/cilium/clustermesh/..data -> ..2021_02_02_02_02_02.22222222
Now the /var/lib/cilium/clustermesh/cluster1 symlink now resolves to /var/lib/cilium/clustermesh/..2021_02_02_02_02_02.22222222/cluster1 even though the symlink itself has not been touched at all. This update is missed by the fsnotify code here.
The old and new code here will pick up the creation and deletion of the /var/lib/cilium/clustermesh/cluster1 symlink, but not the rewrite of the ..data symlink.
However: I believe the fact that cluster file modifications are not tracked is already present in the old version of the code, so in that sense this PR does not change the behavior in this regard

Yes, the lack of notification is potentially an issue although the primary use case is to detect new files and deletions as modifications will be extremely rare. The cluster name to IP mapping is not in the secret but in the hostAliases of the DaemonSet itself. A change in the secrets would only occur if a cluster changes its TLS certificates.

Yes, the lack of notification is potentially an issue although the primary use case is to detect new files and deletions as modifications will be extremely rare. The cluster name to IP mapping is not in the secret but in the hostAliases of the DaemonSet itself. A change in the secrets would only occur if a cluster changes its TLS certificates.

retest-gke

retest-gke


Fix notification icons for dark theme

Issue Reference
Fix notification icons for dark theme

checked and found that the issue is still not fixed.
Please check the screenshot for reference -> https://prnt.sc/nCKtNkqnXQ9r

Dropdown icons are also fixed.

Not Fixed
Order Processing icon is still  having issue.
https://prnt.sc/_X7HwOPUlVYz

@ashishkumar-webkul  Fixed

Checked and Found that now the issue has been fixed and working fine.


Updating pointers for RL teams score.

I wasn't quick enough with finding those ones and adding them to my previous commit...
One thing is, I don't know how can I find on which team the player currently is as I don't know what initial value either of the team have.
Will look further... maybe I will find something.

Thanks again!

did not work :(

@busaku check this https://github.com/antonpup/Aurora/issues/730

Working on pointers as of today's (March 17, 2018, v1.42) version of the game, will comment the pointer values I found as soon as I am done with them.

Okay, this works for me:
{
  "Team": {
    "baseAddress": "27130828",
    "pointers": [ "56", "972" ]
  },

  "Orange_score": {
    "baseAddress": "26356988",
    "pointers": [ "1056", "724", "1244", "4", "524" ]
  },

  "Blue_score": {
    "baseAddress": "26356988",
    "pointers": [ "1056", "724", "1244", "0", "524" ]
  },

  "Boost_amount": {
    "baseAddress": "26356972",
    "pointers": [ "76", "64", "988", "1364", "84" ]
  }
}

@Jeremiidesu Do you want to make a pull request with these changes?

Will do tonight, with additional changes made to the codebase to fix some other rocket league related stuff


怎么实现分屏同时播放？9个视频在同一个页面同时播放

Describe the bug
怎么实现分屏同时播放？9个视频在同一个页面同时播放
Reproduction
1
System Info
1

Used Package Manager
npm
Validations

[X] Read the the documentation in detail.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

多写几个组件，或者v-for出来，然后把每一个的宽度和高度改成想要的就行。


if source looks like a package add it to source_pkgs

an alternative to https://github.com/nedbat/coveragepy/pull/1026 in which ambiguous source definitions use the package and the dir

This seems like too much guessing to me. And it would change the behavior of --source=foo from "assume directory" to "assume package".

Yep, makes sense


fix how it deal with QPS

time.Duration is an alias of int64. 1.0/createConfig.qps can go below 1 and time.Duration(1.0/createConfig.qps) * time.Second will become 0.

Lgtm, thanks for fixing this!


Realtime charts do not work in IE11

The page http://fastly.github.io/epoch/real-time/ throws a JS error in Internet Explorer 11 (mode "edge"). Specfically, it chokes at a d3.js call, but it's hard to debug from here as I have only minified source code.
Tha basic charts work fine.

any update on this issue. same problem here....
@ping13 did you manage to solve this issue with a workaround?

Latest version of Epoch now contains a non-minified version of the library at dist/js/epoch.js. If anyone wants to use this to take a look at the IE 11 issues I would be very grateful.

include this line in your html worked for me.

That meta tag results in the chart being drawn in the wrong place, outside where it's space should be.

https://github.com/fixanoid/epoch addresses this issue.


In multiDates mode, when I choose too many dates, the modal become too long to break original layout.

Please add a configuration like transfer:boolean, render the modal on html and relative position when transfer is true.
Besides, if the way shows what I have chosen is closable tag, and click 'X' on tag can remove selection, will be much more better.

You can use slots to customize for specific needs.


[1.20.6] Leaf Block drop tables are bugged.

I noticed that using this datapack on my personal server caused issues when destroying trees. Mainly, Birch Leaves did not decay properly. Upon cutting down a Birch Tree, any leaves that decay naturally seem to drop the Birch Leaves block 100% of the time exclusively, while not dropping any saplings, sticks, or tea leaves. Another thing I noticed was that Spruce Leaves did not seem to drop any tea leaves either.
I tested this out on another world to make sure it wasn't any of my other datapacks, and the results were consistent.

Hi, just located the problem and working on a fix
also, spruce leaves aren't supposed to drop tea leaves (the book doesn't say so)

Okay, it should now be hopefully fixed on the most recent version of the pack for 1.20.6


how can phontomjs run on IBM aix5?

Which version of PhantomJS are you using? Tip: run phantomjs --version.master

What steps will reproduce the problem?
1.Running on IBM  aix5

Which operating system are you using?
IBM  aix5

Did you use binary PhantomJS or did you compile it from source?
no

Due to our limited resources, for the near future I believe the official binaries will only support x86 arch.
We will reopen this and revisit the subject in the future if other architectures will be supported. Thank you!


chore: update kotlin version

Updates the kotlin version to 1.7.20 which is the latest as of me creating this PR, I've also added a note to the plugin implementation docs because this is what initially brought me to create this PR

This seems like a potentially breaking change for plugins. Perhaps we should hold off with this until we are doing a major release

This seems like a potentially breaking change for plugins. Perhaps we should hold off with this until we are doing a major release

Fair enough


Root admin view to edit an account

Small mockup proposal to group all these actions in a single interface:

https://github.com/opencollective/opencollective/issues/4627
https://github.com/opencollective/opencollective/issues/4684
https://github.com/opencollective/opencollective/issues/4841
https://github.com/opencollective/opencollective/issues/4805
https://github.com/opencollective/opencollective/issues/4848

@BenJam I reverted the title back to what it was, I think it's important to keep it explicit that this issue is only for root users.


Is there are sample python code for D435i getting IMU information?

Is there are sample python code for D435i getting IMU information?

I'm also interested in this for the python wrapper:
config.enable_stream(rs.stream.pose)  # crashes here RuntimeError: Couldn't resolve requests
if I try to have an empty config I get
pose = frames.get_pose_frame()
pose is a null pointer so later on pose_frame = np.asanyarray(pose_frame.get_data()) crashes
Similar with accel and gyro.
AttributeError: 'pyrealsense2.pyrealsense2.composite_frame' object has no attribute 'get_accel_frame'
Is C++ the only option for this?
Using realsense 2.23 at the moment since 2.24 has another problem.

https://github.com/IntelRealSense/librealsense/issues/2718
https://github.com/IntelRealSense/librealsense/issues/3070
https://github.com/IntelRealSense/librealsense/issues/3101
https://github.com/IntelRealSense/librealsense/pull/3053
https://github.com/GruffyPuffy/imutest
https://software.intel.com/sites/products/realsense/slam/developer_guide.html
https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/
Haven't solved this yet, but I think I will solve it from reading the above. Should be useful for others trying to find out as well. Will update once I work it out.

Got the answer from https://github.com/IntelRealSense/librealsense/issues/3409
The API is a bit strange on this one.
config.enable_stream(rs.stream.accel, rs.format.motion_xyz32f, 250)
config.enable_stream(rs.stream.gyro, rs.format.motion_xyz32f, 200)
frames = pipeline.wait_for_frames()
for frame in frames:
    motion_data = frame.as_motion_frame().get_motion_data()
    print(motion_data)
    # prints: x: -0.0294199, y: -7.21769, z: -6.41355 for me
    # to get numpy array:
    print(np.array([motion_data.x, motion_data.y, motion_data.z]))

gyro is similar. closing.


Remove --deleted option from aad o365group list

Noticed that the command aad o365group list has an option called --deleted.
Let's remove this option in favor of using the command aad o365group recyclebinitem list.

Good catch! Sounds like a good idea to remove it.

I could work on this


Does butterflow retain audio in the original file?

I've attempted to use butterflow on some TV shows I used to watch, but noticed that the (partially done) file is completely silent. Does butterflow retain audio (i.e. the audio is written last to the file)?

Yes, use the -audio flag

Thanks!


Can only color Paragraph via pushStyle in builder

Description
I note that in the docs it mentions The Paragraph component doesn't follow the same painting rules as other components, so potentially this isn't a bug.
I'm trying to color some Paragraphs via components rather than the builder to avoid some expensive layout calculations because changing only the color doesn't require a full layout. I'm finding that the only way to set the color on a Paragraph is via pushStyle on the builder:
export const ThisWorks = () => {
  const paragraph = Skia.ParagraphBuilder.Make()
          .pushStyle({
            color: Skia.Color("black"),
            fontSize: 25,
          })
          .addText("Hello Skia")
          .build();
  return (
    <Canvas style={{ flex: 1 }}>
        <Paragraph paragraph={paragraph} x={0} y={0} width={width} />
    </Canvas>
  );
};

But this means I have to recreate the SkParagraph when I want to change the text color.
Are any of these methods intended to be supported? Am I doing something wrong? Is there an alternative I could use instead? Thanks in advance!
Version
1.2.3
Steps to reproduce
Attempt to use any method available on the TypeScript types and components other than Skia.ParagraphBuilder.Make().pushStyle to apply color to Paragraph text and note it doesn't work
Snack, code example, screenshot, or link to a repository
I've tried these other methods without success:
Color prop on Paragraph:
<Paragraph paragraph={paragraph} x={0} y={0} width={width} color="lightblue" />

Nested Paint:
<Paragraph paragraph={paragraph} x={0} y={0} width={width}>
  <Paint color="lightblue" />
</Paragraph>

Group layer:
<Group layer={<Paint color="lightblue" />}>
  <Paragraph paragraph={paragraph} x={0} y={0} width={width} />
</Group>

Layer prop:
const paint = Skia.Paint();
paint.setColor(Skia.Color('lightblue'));

const BlueParagraph = () => <Paragraph paragraph={paragraph} x={0} y={0} width={width} layer={paint} />;

At the very least, it seems odd that the types for Paragraph imply that it has the same interface (where ParagraphProps extends GroupProps). If it's somehow special, it shouldn't accept color and other paint props.


create_field for two objects

I have a model which requires name and location. When using create_field, I can only pass through name.
The following code only looks for the first index:
return self.get_queryset().get_or_create( 			**{self.create_field: text})[0]
How can I override the create_object() method and extend the functionality? I've tried to inherit this class method but it is never called.
Any help is greatly appreciated.

Yep, you can override the create_object method


First-use experience - tutorial drop-in

Feedback from @zachlatta:
On my first game that I make, I want to immediately be dropped into the Sprig tutorial. I had to search in the interface to figure out where the tutorial was.
During triage, and prior to implementation, please define exactly what criteria will be used to determine when to drop the users into a tutorial by default.

@leomcelroy can you add commentary?

We link to the tutorial in the top of the default document now.


Fix flaky test suite beam_PostCommit_XVR_Direct

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Run XVR_Direct PostCommit

https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct_PR/177/

Thanks.

Retest this please

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 38.36%. Comparing base (0586161) to head (61666a9).
Report is 1374 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #28973      +/-   ##
==========================================
- Coverage   38.40%   38.36%   -0.04%
==========================================
  Files         686      686
  Lines      101625   101703      +78
==========================================
- Hits        39025    39022       -3
- Misses      61022    61102      +80
- Partials     1578     1579       +1

Flag
Coverage Δ

python
29.97% <ø> (-0.04%)
:arrow_down:

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

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


[demo] support demo 1.3.1 release

This supports to recently released 1.3.1 version of the demo.  More importantly, it adds arm64 support so the demo can run locally on M1/M2 macs.

That's amazing! 🎉


1005   correctly apply focus on step change in wizard

:bug: Avoid clobbering programmatically set focus
:new: If possible, focus on the first applicable form field instead of on next/prev button if focus has not been set programmatically
:lipstick::racehorse: clean up code a little to do less js processing, improve readability, and better conform to JS standards

This looks good, although the Travis build is failing. Re-running, might need to check if something else changed that is causing this.


fix(Button): Remove width in css for buttons with icons

Change css to set height instead of width in buttons that has no text, only icons.
Related to #187

Maybe add "only" to the title? "Remove width in css for buttons with only icons"
Since there is still a width for buttons with icons & text.


404 Error when clicking on toolbar

Hi,
I've installed DDT using the explicit setup described in the documentation. The toolbar appears correctly, but when I click on any of the panels, I always get 404 Not Found errors:
[25/Mar/2014 23:31:44] "GET /__debug__/render_panel/?store_id=0020c69907dd48d9b76ff11d9ff46d0c&panel_id=TimerPanel HTTP/1.1" 404 1673
[25/Mar/2014 23:31:53] "GET /__debug__/render_panel/?store_id=0020c69907dd48d9b76ff11d9ff46d0c&panel_id=LoggingPanel HTTP/1.1" 404 1675

I'm running Python 2.7.6, and also using Mezzanine - these are their versions:
Django==1.6.1
Mezzanine==3.0.7
django-debug-toolbar==1.0.1

I've already searched for this issue for quite a while, but can't seem to find a solution. Many thanks for your help!
Luis

I don't understand you, how did you solve?

By putting the debug toolbar's URLs before the CMS' "catch all" URL pattern, so they're handled by the debug toolbar and not the CMS.

I have the same problem with Wagtail but i don't know how solve it.

Use the explicit setup (see the debug toolbar's documentation for details) and put
url(r'^__debug__/', include(debug_toolbar.urls)),

before
url(r'', include(wagtail_urls)),

in your urlpatterns.

Without if debug???

I'm sorry but I don't know how I can help you further. At some point you need to understand how these things work.

from django.conf import settings
from django.conf.urls import include, url

if settings.DEBUG:
    import debug_toolbar
    urlpatterns += [
        url(r'^__debug__/', include(debug_toolbar.urls)),
    ]

Have i put it before Wagtail urls.

Do this:
    urlpatterns = [
        url(r'^__debug__/', include(debug_toolbar.urls)),
    ] + urlpatterns

Oh, this could be works, than you, i'll test it and then i say you guys.


Internet access required for remote install option?

Does FBI require internet access to use the remote install features? Seems like methods of blocking internet access to the 3DS do not allow apps like BOOP to work with CIA transfers. The initial 'install from received URL' message works, showing the correct filename, but after selecting yes, the filesize never updates, and then an error code appears with the HTTP module for invalid state.

Rather not resort to methods like this: https://gbatemp.net/threads/update-regarding-the-recent-3ds-banwave.471781/page-291#post-7346389
Seems there should be some way to still have traffic without allowing internet traffic - or does the 3ds only allow traffic with successful repeated connection test pings or something similar?

It only needs to be able to connect to your PC. I think the 3DS in general has a problem with networks without Internet access.