Tests for CuckatooSolverTest are failing

How to reproduce:

Clone Repo
Run cmake .
Run make
Run ./tests

[ RUN      ] CuckatooSolverTest.Solve29
2019-07-31 08:27:17,092 INFO [default] Running on device Intel(R) HD Graphics Skylake Desktop GT2
2019-07-31 08:27:17,092 INFO [default] try to create API instance
2019-07-31 08:27:17,092 INFO [default] device has no sysfs API
2019-07-31 08:27:17,093 VERBOSE-0 [default] Bucket bit shift = 19
2019-07-31 08:27:17,093 VERBOSE-0 [default] Max memory alloc =<PHONE_NUMBER>
2019-07-31 08:27:17,093 VERBOSE-0 [default] Bytes: total=4294967296, bitmaps=167772160, nodes=2624702234
2019-07-31 08:27:17,093 VERBOSE-0 [default] 1024 buckets with max size 640768
2019-07-31 08:27:17,212 VERBOSE-0 [default] nonce = 352321536
2019-07-31 08:27:17,212 VERBOSE-0 [default] Siphash Keys:<PHONE_NUMBER>871491824,<PHONE_NUMBER>3392922588,<PHONE_NUMBER>721110140,<PHONE_NUMBER>90969032
2019-07-31 08:27:17,212 INFO [default] iterations=8192
2019-07-31 08:27:30,731 VERBOSE-0 [default] Done
2019-07-31 08:27:30,894 VERBOSE-0 [default] active edges: 0
2019-07-31 08:27:30,903 VERBOSE-0 [default] active edges: 0
2019-07-31 08:27:30,915 INFO [default] pruning is done
2019-07-31 08:27:30,927 INFO [default] Found 0 potential cycles
/home/ee9zee/Riner/src/algorithm/grin/CuckatooTest.cpp:103: Failure
Expected equality of these values:
  1
  cycles.size()
    Which is: 0
[  FAILED  ] CuckatooSolverTest.Solve29 (14252 ms)
[ RUN      ] CuckatooSolverTest.Solve31
2019-07-31 08:27:30,942 INFO [default] Running on device Intel(R) HD Graphics Skylake Desktop GT2
2019-07-31 08:27:30,943 INFO [default] try to create API instance
2019-07-31 08:27:30,943 INFO [default] device has no sysfs API
2019-07-31 08:27:30,943 VERBOSE-0 [default] Bucket bit shift = 19
2019-07-31 08:27:30,943 VERBOSE-0 [default] Max memory alloc =<PHONE_NUMBER>
2019-07-31 08:27:30,943 VERBOSE-0 [default] Bytes: total=4294967296, bitmaps=671088640, nodes=2624702234
2019-07-31 08:27:30,943 VERBOSE-0 [default] 4096 buckets with max size 160192
2019-07-31 08:27:31,059 VERBOSE-0 [default] nonce =<PHONE_NUMBER>540181280
2019-07-31 08:27:31,059 VERBOSE-0 [default] Siphash Keys:<PHONE_NUMBER>62008831,<PHONE_NUMBER>1656340219,<PHONE_NUMBER>7021832460,<PHONE_NUMBER>236709481
2019-07-31 08:27:31,059 INFO [default] iterations=32768
2019-07-31 08:28:26,248 VERBOSE-0 [default] Done
2019-07-31 08:28:26,898 VERBOSE-0 [default] active edges: 0
2019-07-31 08:28:26,933 VERBOSE-0 [default] active edges: 0
2019-07-31 08:28:26,979 INFO [default] pruning is done
2019-07-31 08:28:27,026 INFO [default] Found 0 potential cycles
/home/ee9zee/Riner/src/algorithm/grin/CuckatooTest.cpp:129: Failure
Expected equality of these values:
  1
  cycles.size()
    Which is: 0
[  FAILED  ] CuckatooSolverTest.Solve31 (56131 ms)
[ RUN      ] CuckatooSolverTest.IsValidCycle

...
[----------] Global test environment tear-down
[==========] 19 tests from 7 test cases ran. (78593 ms total)
[  PASSED  ] 17 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] CuckatooSolverTest.Solve29
[  FAILED  ] CuckatooSolverTest.Solve31

i'm unable to reproduce this issue on my Iris Pro
[ RUN      ] CuckatooSolverTest.Solve29
2019-08-08 17:38:57,670 INFO [default] Running on device Iris Pro
2019-08-08 17:38:57,671 INFO [default] try to create API instance
2019-08-08 17:38:57,671 INFO [default] device has no sysfs API
2019-08-08 17:38:57,673 VERBOSE-0 [default] Bucket bit shift = 19
2019-08-08 17:38:57,673 VERBOSE-0 [default] Max memory alloc = 402653184
2019-08-08 17:38:57,673 VERBOSE-0 [default] Bytes: total=1610612736, bitmaps=167772160, nodes=402653184
2019-08-08 17:38:57,673 VERBOSE-0 [default] 1024 buckets with max size 98304
2019-08-08 17:38:58,091 VERBOSE-0 [default] nonce = 352321536
2019-08-08 17:38:58,091 VERBOSE-0 [default] Siphash Keys:<PHONE_NUMBER>871491824,<PHONE_NUMBER>3392922588,<PHONE_NUMBER>721110140,<PHONE_NUMBER>90969032
2019-08-08 17:38:58,091 INFO [default] iterations=8192
2019-08-08 17:39:19,203 VERBOSE-0 [default] Done
2019-08-08 17:39:19,524 VERBOSE-0 [default] active edges: 219656
2019-08-08 17:39:19,617 VERBOSE-0 [default] active edges: 219656
2019-08-08 17:39:19,682 INFO [default] pruning is done
2019-08-08 17:39:19,725 INFO [default] Found 1 potential cycles
2019-08-08 17:39:19,756 INFO [default] Found 1 full cycles
[       OK ] CuckatooSolverTest.Solve29 (22241 ms)
[ RUN      ] CuckatooSolverTest.Solve31
2019-08-08 17:39:19,882 INFO [default] Running on device Iris Pro
2019-08-08 17:39:19,884 INFO [default] try to create API instance
2019-08-08 17:39:19,884 INFO [default] device has no sysfs API
2019-08-08 17:39:19,884 VERBOSE-0 [default] Bucket bit shift = 19
2019-08-08 17:39:19,884 VERBOSE-0 [default] Max memory alloc = 402653184
2019-08-08 17:39:19,884 VERBOSE-0 [default] Bytes: total=1610612736, bitmaps=671088640, nodes=402653184
2019-08-08 17:39:19,884 VERBOSE-0 [default] 4096 buckets with max size 24576
2019-08-08 17:39:20,168 VERBOSE-0 [default] nonce =<PHONE_NUMBER>540181280
2019-08-08 17:39:20,168 VERBOSE-0 [default] Siphash Keys:<PHONE_NUMBER>62008831,<PHONE_NUMBER>1656340219,<PHONE_NUMBER>7021832460,<PHONE_NUMBER>236709481
2019-08-08 17:39:20,168 INFO [default] iterations=32768
2019-08-08 17:40:48,349 VERBOSE-0 [default] Done
2019-08-08 17:40:49,835 VERBOSE-0 [default] active edges: 837160
2019-08-08 17:40:50,306 VERBOSE-0 [default] active edges: 837160
2019-08-08 17:40:50,589 INFO [default] pruning is done
2019-08-08 17:40:50,699 INFO [default] Found 4 potential cycles
2019-08-08 17:40:50,907 INFO [default] Found 1 full cycles
2019-08-08 17:40:51,205 INFO [default] Edges: 25658671, 33517224, 169257816, 263176471, 275158520, 279314901, 304448673, 325368254, 460577821, 523175179, 562671497, 563415534, 658916799, 748246646, 760653191, 841797550, 884140246,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>
[       OK ] CuckatooSolverTest.Solve31 (91435 ms)

@ee9zee Could you please test the current master branch again? Please make sure that the miner actually finds the OpenCL kernel files.

@NaN-git Unchanged.
[ RUN      ] CuckatooSolverTest.Solve29
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
2019-09-20 23:00:32,806 INFO [default] Running on device Intel(R) HD Graphics Skylake Desktop GT2
No protocol specified
No protocol specified
No protocol specified
2019-09-20 23:00:32,807 INFO [default] try to create API instance
2019-09-20 23:00:32,807 INFO [default] device has no sysfs API
2019-09-20 23:00:32,807 VERBOSE-0 [default] Bucket bit shift = 19
2019-09-20 23:00:32,807 VERBOSE-0 [default] Max memory alloc =<PHONE_NUMBER>
2019-09-20 23:00:32,807 VERBOSE-0 [default] Bytes: total=4294967296, bitmaps=167772160, nodes=2624702234
2019-09-20 23:00:32,807 VERBOSE-0 [default] 1024 buckets with max size 640768
2019-09-20 23:00:32,923 VERBOSE-0 [default] nonce = 352321536
2019-09-20 23:00:32,923 VERBOSE-0 [default] Siphash Keys:<PHONE_NUMBER>871491824,<PHONE_NUMBER>3392922588,<PHONE_NUMBER>721110140,<PHONE_NUMBER>90969032
2019-09-20 23:00:32,923 INFO [default] iterations=8192
2019-09-20 23:00:46,806 VERBOSE-0 [default] Done
2019-09-20 23:00:46,869 VERBOSE-0 [default] active edges: 0
2019-09-20 23:00:46,880 INFO [default] pruning is done
2019-09-20 23:00:46,891 INFO [default] Found 0 potential cycles
/home/ee9zee/Riner/src/algorithm/grin/CuckatooTest.cpp:101: Failure
Expected equality of these values:
  1
  cycles.size()
    Which is: 0
[  FAILED  ] CuckatooSolverTest.Solve29 (14244 ms)
[ RUN      ] CuckatooSolverTest.Solve31
2019-09-20 23:00:46,895 INFO [default] Running on device Intel(R) HD Graphics Skylake Desktop GT2
No protocol specified
No protocol specified
No protocol specified
2019-09-20 23:00:46,897 INFO [default] try to create API instance
2019-09-20 23:00:46,897 INFO [default] device has no sysfs API
2019-09-20 23:00:46,897 VERBOSE-0 [default] Bucket bit shift = 19
2019-09-20 23:00:46,897 VERBOSE-0 [default] Max memory alloc =<PHONE_NUMBER>
2019-09-20 23:00:46,897 VERBOSE-0 [default] Bytes: total=4294967296, bitmaps=671088640, nodes=2624702234
2019-09-20 23:00:46,897 VERBOSE-0 [default] 4096 buckets with max size 160192
2019-09-20 23:00:47,011 VERBOSE-0 [default] nonce =<PHONE_NUMBER>540181280
2019-09-20 23:00:47,011 VERBOSE-0 [default] Siphash Keys:<PHONE_NUMBER>62008831,<PHONE_NUMBER>1656340219,<PHONE_NUMBER>7021832460,<PHONE_NUMBER>236709481
2019-09-20 23:00:47,011 INFO [default] iterations=32768
2019-09-20 23:01:44,809 VERBOSE-0 [default] Done
2019-09-20 23:01:45,069 VERBOSE-0 [default] active edges: 0
2019-09-20 23:01:45,113 INFO [default] pruning is done
2019-09-20 23:01:45,156 INFO [default] Found 0 potential cycles
/home/ee9zee/Riner/src/algorithm/grin/CuckatooTest.cpp:126: Failure
Expected equality of these values:
  1
  cycles.size()
    Which is: 0
[  FAILED  ] CuckatooSolverTest.Solve31 (58269 ms)

git describe --always
da0ec4b

@ee9zee: Where does the message No protocol specified come from? It's not in the master branch.
Otherwise what's your platform, i.e. C++ compiler version, graphics driver version and OS?
This code isn't intended to run on Intel integrated graphics, but it would be nice if everyone could test it on his machine. On Linux it's working with the NEO OpenCL driver stack (Skylake HD graphics 530) and on the CPU.

@NaN-git I am using upstream without modifications.
I am using gcc 8 and I am on Linux.
The "graphics driver version" depends on which graphics hardware you are referring to.
Assuming that you are referring to the Skylake above, I can only quote clinfo:
  Platform Name                                   Intel Gen OCL Driver
Number of devices                                 1
  Device Name                                     Intel(R) HD Graphics Skylake Desktop GT2
  Device Vendor                                   Intel
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.0 beignet 1.3
  Driver Version                                  1.3
  Device OpenCL C Version                         OpenCL C 2.0 beignet 1.3
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               24
  Max clock frequency                             1000MHz
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None, None, None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             512x512x512
  Max work group size                             512
  Preferred work group size multiple              16

Ideally, I would expect the miner to pick the most suitable graphics and not the first one it finds.

@ee9zee This is a test case... It does not need to find the optimal platform (which is impossible to do generically).
Please reset your git repository. I don't know where the message No protocol specified comes from.
I'm not sure, whether the beignet OpenCL driver works for Skylake. If resetting does not fix the error, then you should try the NEO OpenCL driver instead.

@NaN-git I am aware that Beignet is not the optimal choice, but that is the driver my distro is providing me with. I will try running some more tests tomorrow to see if it is an issue with the OpenCL device or with the miner.
There are a few references to similar problems with their actual device, but their errors are slightly different.

https://github.com/ethereum-mining/ethminer/issues/522#issuecomment-357222604
https://www.reddit.com/r/HowToHack/comments/701kzo/help_with_hashcat/

Regarding your other comment:

It does not need to find the optimal platform

@NaN-git I disagree. A test should either run on all available platforms or only execute on a platform where the test is known to succeed. Picking a random platform will never allow reproducible results and just skew the results.

@NaN-git Beignet seems to be the root cause. Removing Beignet, made the auto-detection pick another device which worked just fine.
According to clinfo I have several Intel OpenCL platforms w.r.t. my CPU on my system. I was also able to install NEO alongside, but it seemed to have no impact on the auto-detection of the tests.


Blank screen capture on iOS & Cordova

I use your plugin in an Cordova 3.1 application on iOS.
Unfortunately the canvas stays empty.
If I print the base64 encoded version of this canvas via var data = canvas.toDataURL('image/png'); I get the logs below:
 html2canvas: Preload starts: finding background-images
 html2canvas: Preload: Finding images
 html2canvas: Preload: Done.
 html2canvas: start: images: 1 / 2 (failed: 0)
 html2canvas: start: images: 2 / 2 (failed: 0)
 Finished loading images: # 2 (failed: 0)
 html2canvas: Renderer: Canvas renderer done - returning canvas obj

Canvas returned successfully
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAHMCAYAAACk4nEJAAAKIElEQVR4Ae3QgQAAAADDoPlTH+SFUGHAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDB ….

Has anyone tried to use this on iOS, probably even with Cordova / Phonegap?
Thanks!

I also had this problem.  It seems that the offset calculations are wrong, causing it to render "off screen" content outside the canvas.
I don't know how to fix it properly, but as a workaround, you can force the browser to scroll to the top of the screen before making the screenshot. Make sure you make the screenshot after the scroll has completed, to leave the browser time to actually repaint before capturing.
                   var maybeScrollAndMakeScreenshot = function() {
                        if (window.scrollY > 0) {
                            // Ugly workaround for bug in M&%^$@%# Android webview
                            $(window.document).one('scroll', makeScreenshot);
                            window.scroll(0,0);
                        } else {
                            makeScreenshot();
                        }
                    };

The makeScreenshot function just calls html2canvas and saves the image data.

Maybe fixed in 98ee306? Please test with the latest code on the master branch.

Any workaround for phonegap.. Still seeing a cross default image.


include: Add MIN/MAX definition to sys/param.h

Summary
This PR intends to add MIN/MAX definitions to sys/param.h.
Currently these macros are widespread across several source files, sometimes including error-prone behavior like this one:
https://github.com/apache/nuttx/blob/1a22487abda3128e9cce6392df38ca42460224dc/arch/arm/src/s32k3xx/s32k3xx_mpuinit.c#L40-L46
Even if not standardized, other OSes and C library implementations also define these macros in sys/param.h:

https://github.com/openbsd/src/blob/2edb3e9c42fdbef850415967e487549ca8eb0074/sys/sys/param.h#L191-L193
https://opensource.apple.com/source/xnu/xnu-201/bsd/sys/param.h.auto.html#:~:text=/* Macros for min/max. */
https://sourceware.org/git/?p=glibc.git;a=blob;f=misc/sys/param.h;h=76a6a273fd81ed0cba39309ee7fff80e66b6f131;hb=refs/heads/master#l101
https://git.musl-libc.org/cgit/musl/tree/include/sys/param.h#n18

Impact
No impact at first, the macros from sys/param.h won't override existing ones.
Testing
CI build pass.

let's remove other local definitions.

@gustavonihei let's remove other local definitions.

I'll add a new commit to this PR removing all definitions. On the way.

I've also modified the files on the apps repository, I'll create the PR there once this once is merged.


Enable the application to initiate a fresh enrollment request for the addition or removal of namespaces

Is your feature request related to a problem? Please describe.
At present, after submitting and approving an enrollment, there is no option to add or remove namespaces. Additionally, permissions cannot be modified.
Describe the solution you'd like
Enable the application to initiate a fresh enrollment request for the addition or removal of namespaces, as well as the modification of existing permissions. Upon approval of the new enrollment request, the local storage must be entirely cleared, initiating a synchronization process from the beginning.
Describe alternatives you've considered
No response
Additional context
No response

"Entirely cleared" isn't fully correct; "entirely cleared of all data which atServer manages

No work done in PR81


"Linux RPM package 64 bit (installer)" can not be installed

kernel version: 4.17.19-200.fc28.x86_64
checksum passed,  md5 : f6760453aa9e657ea0593180cd86eeea
when execute "rpm -Uvh dbeaver-ce-latest-stable.x86_64.rpm" as root, crashed and report error:
error: dbeaver-ce-latest-stable.x86_64.rpm: tag[34]: BAD, tag 1096 type 5 offset 48168 count 745 len 2980
error: dbeaver-ce-latest-stable.x86_64.rpm cannot be installed

Can't reproduce (at least it woks fine on CentOS 7). What is your Linux version?

I have the same problem in Fedora 28

@serge-rider I can also confirm it for Fedora 28, can't install it either by rpm or dnf.

the same thing happens in fedora 28:
error: dbeaver-ce-5.2.0-stable.x86_64.rpm: tag[34]: BAD, tag 1096 type 5 offset 48168 count 745 len 2980
error: dbeaver-ce-5.2.0-stable.x86_64.rpm no puede ser instalado

Same problem: Fedora 28, trying to upgrade DBeaver 5.1.2 to 5.2.0.
$ sudo rpm -V Downloads/dbeaver-ce-5.2.0-stable.x86_64.rpm  error: Downloads/dbeaver-ce-5.2.0-stable.x86_64.rpm: tag[34]: BAD, tag 1096 type 5 offset 48168 count 745 len 2980 error: Downloads/dbeaver-ce-5.2.0-stable.x86_64.rpm: not an rpm package (or package manifest)
$ sudo rpm -U Downloads/dbeaver-ce-5.2.0-stable.x86_64.rpm
error: Downloads/dbeaver-ce-5.2.0-stable.x86_64.rpm: tag[34]: BAD, tag 1096 type 5 offset 48168 count 745 len 2980
error: Downloads/dbeaver-ce-5.2.0-stable.x86_64.rpm cannot be installed

Can't reproduce (at least it woks fine on CentOS 7). What is your Linux version?

Fedora release 28 (Twenty Eight)
OpenJDK Runtime Environment (build 1.8.0_181-b13)

Same here
Fedora release 28 (Twenty Eight)
RPM version 4.14.2

I have rebuilt rpm for EA version, it uses newer version of redline RPM packager.
Could you test it? (https://dbeaver.io/files/ea/dbeaver-ce-5.2.1-stable.x86_64.rpm)

I tested, this was the output during the updating/installing:
error: rpmdbNextIterator: skipping h#   14250 tag[34]: BAD, tag 1096 type 5 offset 45480 count 705 len 2820 error: rpmdbNextIterator: skipping h#   14250 tag[34]: BAD, tag 1096 type 5 offset 45480 count 705 len 2820 error: rpmdbNextIterator: skipping h#   14250 tag[34]: BAD, tag 1096 type 5 offset 45480 count 705 len 2820 Verifying...                          ################################# [100%] Preparing...                          error: rpmdb: damaged header #14250 retrieved -- skipping. error: rpmdb: damaged header #14250 retrieved -- skipping. error: rpmdb: damaged header #14250 retrieved -- skipping. ################################# [100%] Updating / installing...    1:dbeaver-ce-0:5.2.1-stable        ################################# [100%]
Then I tried open Dbeaver and open it without a problem. In About section shows the 5.2.1 version.
I'm also on Fedora 28 and RPM ver.  4.14.2.
In the output, the "damaged header #14250" part was repeated a lot of times.

Well, at least it is working. I'll see what else I can do with these warnings..

@serge-rider no problem while installing it for me with dnf and I am also using Fedora 28 and RPM v 4.14.2:
❯ sudo dnf install Downloads/dbeaver-ce-5.2.1-stable.x86_64.rpm
Last metadata expiration check: 2:10:39 ago on Wed 12 Sep 2018 03:48:48 PM CEST.
Dependencies resolved.
=================================================================================================================================================================================================================
 Package                                           Arch                                          Version                                               Repository                                           Size
=================================================================================================================================================================================================================
Installing:
 dbeaver-ce                                        x86_64                                        5.2.1-stable                                          @commandline                                         53 M

Transaction Summary
=================================================================================================================================================================================================================
Install  1 Package

Total size: 53 M
Installed size: 61 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                1/1
  Installing       : dbeaver-ce-5.2.1-stable.x86_64                                                                                1/1
  Running scriptlet: dbeaver-ce-5.2.1-stable.x86_64                                                                                1/1
  Verifying        : dbeaver-ce-5.2.1-stable.x86_64                                                                                1/1

Installed:
  dbeaver-ce.x86_64 5.2.1-stable

Complete!

~ 24s

And everything is working when I am running it. Thanks for the fix !

Well, at least it is working. I'll see what else I can do with these warnings..

Yep, working fine. Thank you very much!

Fedora release 28 (Twenty Eight)
RPM version 4.14.2
dbeaver-ce-5.2.1-stable.x86_64.rpm working fine now, thanks

Thanks !
But my situation is a little different from others.
with RPM:
# rpm -Uvh dbeaver-ce-5.2.1-stable.x86_64.rpm
error: rpmdbNextIterator: skipping h#   12341 tag[34]: BAD, tag 1096 type 5 offset 45480 count 705 len 2820
error: rpmdbNextIterator: skipping h#   12341 tag[34]: BAD, tag 1096 type 5 offset 45480 count 705 len 2820
error: rpmdbNextIterator: skipping h#   12341 tag[34]: BAD, tag 1096 type 5 offset 45480 count 705 len 2820
Verifying...                          ################################# [100%]
Preparing...                          error: rpmdb: damaged header #12341 retrieved -- skipping.
error: rpmdb: damaged header #12341 retrieved -- skipping.
...... (over 350 lines of the same message)
error: rpmdb: damaged header #12341 retrieved -- skipping.
################################# [100%]
Updating / installing...
   1:dbeaver-ce-0:5.2.1-stable        ################################# [100%]

with DNF(v2.7.5):
# dnf reinstall ./dbeaver-ce-5.2.1-stable.x86_64.rpm
error: rpmdbNextIterator: skipping h#   12341 tag[34]: BAD, tag 1096 type 5 offset 45480 count 705 len 2820
Last metadata expiration check: 1:54:45 ago on Thu 13 Sep 2018 02:38:36 PM CST.
Dependencies resolved.
==============================================================================================================================================================
 Package                              Arch                             Version                                   Repository                              Size
==============================================================================================================================================================
Reinstalling:
 dbeaver-ce                           x86_64                           5.2.1-stable                              @commandline                            53 M

Transaction Summary
==============================================================================================================================================================

Total size: 53 M
Is this ok [y/N]:

there is an error in dnf execute result too.

@benborba and if you uninstall, clean and install, is it the same ?

I have rebuilt rpm for EA version, it uses newer version of redline RPM packager.
Could you test it? (https://dbeaver.io/files/ea/dbeaver-ce-5.2.1-stable.x86_64.rpm)

It works fine on Fedora 28. Thank you very much

I have rebuilt rpm for EA version, it uses newer version of redline RPM packager.
Could you test it? (https://dbeaver.io/files/ea/dbeaver-ce-5.2.1-stable.x86_64.rpm)

Everything worked fine with dbeaver-ce-5.2.1-stable.x86_64, thank you very much.

@benborba maybe it's because you installed directly via rpm and not via dnf


feat(rgb): type update for rgb transaction

https://github.com/Magickbase/ckb-explorer-public-issues/issues/711

After selecting L2->L1 or L1->L1 via Type, the list should show the corresponding information, but now it shows /.

https://github.com/Magickbase/ckb-explorer-public-issues/issues/711#issuecomment-2209935963
This associated problem also exists in the current pr, but @Daryl-L  will create another pr to handle it.


xgboost import not working

As per https://dvc.org/doc/dvclive/ml-frameworks/xgboost, I am trying to do this import from dvclive.xgboost import DvcLiveCallback, but I get the following:
$ python
Python 3.9.10 | packaged by conda-forge | (main, Feb  1 2022, 21:27:43)
[Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import dvclive
>>> dvclive.__version__
'0.9.0'
>>> from dvclive.xgboost import DvcLiveCallback
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'dvclive.xgboost'

It looks like from dvclive.xgb import DvcLiveCallback is working.
Is this a matter of simply updating the docs?


Consider using osmcal.org for events

There is a relatively new service https://osmcal.org/. The source code is open, of course (see https://github.com/thomersch/openstreetmap-calendar).
In my opinion, it makes perfect sense to discuss addition of Mapathon event type (see https://github.com/thomersch/openstreetmap-calendar/issues/10) and use a filtered list of events from osmcal.org.
There are a few reasons why I think it's a good idea:

By the history of Missing Maps events commits (https://github.com/MissingMaps/events/commits/master), I would guess that event addition is not well designed.
Nor the database of events (https://github.com/MissingMaps/events/commits/master).
You can easily subscribe calendar in iCal format (and RSS) of your location (or all locations).
Get rid of Google Form for event registration.
There could be more, these just came to my mind immediately.

pushing events to the MM website is improved some with #430
if @Jorieke or @rachblevine knows someone who wants to look into the above recommendation?  it might better fit the needs of the MM team.

Will have a closer look into it!

From https://osmcal.org/documentation/, integration with missingmaps.org can use https://github.com/jbelien/openstreetmap-calendar-widget.


Not working on Ubuntu 20.04 (Razer Book 13)

Upon installation with apt, I noticed many issues. I tried purging and re-installing 3 times. For profile, I selected balanced.

WARNING: Could not automatically find the right webcam, manual configuration after installation required
the following warning:

>>> Upgrading pip to the latest version
Collecting pip
  Using cached pip-21.3.1-py3-none-any.whl (1.7 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.0.2
    Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'pip'. No files were found to uninstall.
  WARNING: The scripts pip, pip3 and pip3.8 are installed in '/usr/local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-21.3.1

after the output line [ 77%] Building CXX object CMakeFiles/dlib_python.dir/src/basic.cpp.o, deprecation errors/warning/notices are being spammed (probably over 200) errors Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); in different files and error stacks. I also saw PyThread_set_key_value but there truly are errors by the hundreds so I cannot really tell what else is deprecated.

After I run sudo howdy add, I see the following:
No face model folder found, creating one
Adding face model for the user william
Enter a label for this new model [Initial model] (max 24 characters): me
Camera path is not configured correctly, please edit the 'device_path' config value.
Exception ignored in: <function VideoCapture.__del__ at 0x7f2565f39ca0>
Traceback (most recent call last):
  File "/usr/lib/security/howdy/recorders/video_capture.py", line 55, in __del__
    self.internal.release()
AttributeError: 'VideoCapture' object has no attribute 'internal'

Is an older version of python required? I believe the installation script installed what I'm currently running.
$ python3 -V
Python 3.8.10
$ pip -V
pip 21.3.1 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)

I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Ubuntu 20.04.3 LTS x86_64, 5.10.0-1051-oem kernel
Howdy version (sudo howdy version): 2.6.1

I saw a similar issue and tried linux-enable-ir-emitter to resolve mine (https://github.com/EmixamPP/linux-enable-ir-emitter/issues/61) but it didn't resolve the error I get on Howdy.

Managed to get this working by using sudo howdy config and setting the device path to /dev/video2.
I found my IR camera using:
sudo apt install v4l-utils
v4l2-ctl -d /dev/video0 --list-formats-ext

Run v4l2-ctl -d /dev/videoN --list-formats-ext for each device to find which has infrared specs. For me, this looks like so:


Add all the email addresses to contact section

Email from Sean C:
I am creating an email account for each committee.
They will be as follows (Not all created yet):
<EMAIL_ADDRESS>---- Overall Chairs
<EMAIL_ADDRESS>--- Finance Committee
<EMAIL_ADDRESS>--- Community Outreach
<EMAIL_ADDRESS>---- Special Events
<EMAIL_ADDRESS>--- Hospitality
<EMAIL_ADDRESS>--- Operations
<EMAIL_ADDRESS>---- Entertainment
<EMAIL_ADDRESS>--- Social Media/Tech

Fix the names in the selection box (Please make them exactly what I have below):
Overall
Finance
Community Outreach
Special Events
Hospitality
Operations
Entertainment
Social Media/Technology

@theseanconn: Done  66c221ceec3a7f8ea4090147d63dc562156a181c

Thanks and okay.

You have two "Finances" with the second one saying "Finance Committee"

@theseanconn: Fixed 8a4168048a9cea182862780a9c3942bdbb13a880

Thank you!

Social Media and Technology are now separate. Is this correct @theseanconn?

It is one email address, so no.
<EMAIL_ADDRESS>On Tue, Oct 20, 2015 at 9:02 PM, Ernie Wilson<EMAIL_ADDRESS>wrote:

Social Media and Technology are now separate. Is this correct @theseanconn
https://github.com/theseanconn?
—
Reply to this email directly or view it on GitHub
https://github.com/KHS-Minithon/website/issues/6#issuecomment-149749241.

--
For The Fight. For The Cure. For The Kids,
Sean Connolly
Kennett High School Mini-THON Head
Event Page http://fourdiamonds.donordrive.com/event/khs16    Twitter
http://twitter.com/khsminithon  Instagram
http://instagram.com/khsminithon

But they could be two different selections that go to the same email if you want.

In all honesty I would prefer them to be, because if there is a problem on the website per say then that is independent of social media.

Okay. I am going to redo the emails
The social media email will just be
<EMAIL_ADDRESS>and technology will be
<EMAIL_ADDRESS>On Tue, Oct 20, 2015 at 9:44 PM, Ernie Wilson<EMAIL_ADDRESS>wrote:

In all honesty I would prefer them to be, because if there is a problem on
the website per say then that is independent of social media.
—
Reply to this email directly or view it on GitHub
https://github.com/KHS-Minithon/website/issues/6#issuecomment-149754534.

--
For The Fight. For The Cure. For The Kids,
Sean Connolly
Kennett High School Mini-THON Head
Event Page http://fourdiamonds.donordrive.com/event/khs16    Twitter
http://twitter.com/khsminithon  Instagram
http://instagram.com/khsminithon

Split the "Social Media/Tech into two separate
"Social Media" ---<EMAIL_ADDRESS>"Technology" ---<EMAIL_ADDRESS>


How to get Aligned-to-Color depth Frame's  intrinsic parameters with Matlab wrapper?

| Camera Model                       | {D400 } |
| Firmware Version                   | <IP_ADDRESS> |
| Operating System & Version |   {Win 10)  |
| Platform                                 | PC|
| SDK Version                            | 2.20.0  |
| Language                            | Matlab      |
| Segment			|  others           |
Hello.
I'd like to have some suggestions  how to get depth frame's intrinsic parameters ,that is alinged to Color frame with matlab wrapper.
I've already checked this issue below on python.
https://github.com/IntelRealSense/librealsense/issues/3688
Here is my script. I guess there're some mistake.
cfg = realsense.config();
cfg.enable_stream(realsense.stream.depth,1280,720,realsense.format.z16);
cfg.enable_stream(realsense.stream.color,1280,720,realsense.format.rgb8);
pipe = realsense.pipeline();
profile = pipe.start(cfg);
align_to_color = realsense.stream.color;
depth_stream = profile.get_stream(realsense.stream.depth);
depth_stream = depth_stream.as('video_stream_profile');
intrinsics1 = depth_stream.get_intrinsics();
% I guess this might be the original intrinsics before aligned.%
fs = pipe.wait_for_frames();
align = realsense.align(align_to_color);
aligned_frames = align.process(fs);
depth_tmp = aligned_frames.get_depth_frame();
Thanks.

Hello @kazu0622 ,
You can use the intrinsic of the stream to which the depth is aligned to - e.g. color in the above snippet:

color_stream = profile.get_stream(realsense.stream.color);
color_video_stream = rgb_stream .as('video_stream_profile');
color_intrinsic=depth_aligned_to_color_intrinsic = color_video_stream.get_intrinsic()

Note that you should also be able to get intrinsic directly from the "aligned_depth" frame in a similar manner (frame->frame_profile->video_frame_profile->get_intrinsic), but I don't have the Matlab environment to provide a reference code.

@ev-mp Thank you for your quick response and your information about my issue.  I'll try it.


Attempting to edit User Prefs via menu causing WTFs

Alright, new to both Sublime and ActualVim, but this plugin is why I even bothered to have a look at it.
I'm about an hour into using these together, and I've noticed that when I try to edit user prefs via the menu, things just go wonky.
Otherwise, this is hella interesting. Great work so far!

fixed in neovim.


Azure Kinect synchronous acquisition does not work

Hello, I'm happy to use Azure Kinect and I want to collect synchronous depth data from 8 Azure Kinect.
In order to do this, I design a extern synchronous triger generator to create the synchronous signal.
However, in my test, I find that the synchronous triger seems can only control the start of the acquisition. Even I pulling out the 3.5mm synchronous line, the slave camera is still working.
I suspect there is something wrong with my extern synchronous triger generator, so I observe the synchronous output waveform of the Azure Kinect with an oscilloscopesignal, and use a signal generator to create same waveform as extern synchronous triger signal. But the problem is still exists.
does the camera can not capture every frame synchronously or I forgot some thing need to do ?
Your reply will be appreciated.

I follow the guide in https://learn.microsoft.com/zh-cn/azure/kinect-dk/multi-camera-sync
And I noticed that there is a note in this picture.

It says that "The camera will not start untill it receives a start singal from the master device". Is that means only the first triger signal make sense?

@qm13 @wes-b Just a simple question - why do subordinate cameras continue to stream captures after their sync cable is removed? Are synchronization signals just sent once at the beginning of streaming, or are they sent every time a capture is taken (i.e., 30 Hz @ 30 FPS)?


Edited the SDL reference

SDL isn't Software Development Lifecycle, it's Security Development Lifecycle, so I changed some of the wording to reflect that.

@x509cert : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mmacy
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


tour: Un-mathematical math in Sqrt exercise

https://tour.golang.org/flowcontrol/8
Newton's method for Sqrt is shown as

which is weird. Math does not use the same z for noting two different values, that only happens for us imperative programmers. Perhaps it should say something like

z_1 = z_0 ..., with subscripts
z_(n+1) = z_n ...
z' = z ...

Perhaps

http://www.texpaste.com/n/qwwh2txj


getManufacturerSync method throws Invariant Violation error when debugging

Summary

Version
10.5.1

Affected OS
Android

OS Version
11

Current behavior

In my React Native app, I have the following code:
import DeviceInfo from 'react-native-device-info';

const manufacturer = DeviceInfo.getManufacturerSync();

I am able to call this code just fine! It works great under normal conditions.
However, this code throws an error whenever I start debugging via the React Native DevMenu (Bridge).

This method throws the following two errors:
Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome.
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication).
Screenshot of errors:

I verified that the line const manufacturer = DeviceInfo.getManufacturerSync(); is what throws these errors. Once these errors are thrown, the app is rendered unable to continue.
Expected behavior

The DeviceInfo.getManufacturerSync method should not throw errors when debugging in React Native.

happens to me with the getUniqueIdSync function. only when using debug mode

@johhansantana ...and that's because sync functions are not allowed in the react-native bridge / debugger. So, don't do that is all that can be said - it is not technically possible to do it as the debugger is async

@mikehardy yeah, figured it out from other issues. Luckily we use reactotron most of the time for debugging. 👍


Tenant token doesn't inherit all permissions from API key used to generate it

Describe the bug
When I try to use a tenant token signed by an admin API key to "get indexes", for example, the operation fails as forbidden.
To Reproduce
Steps to reproduce the behavior:

Retrieve default admin API key from GET /keys
Generate tenant token from admin API key
Use tenant token as bearer token in GET /indexes

Expected behavior
Endpoint should list indexes.
Screenshots
(node:160531) UnhandledPromiseRejectionWarning: MeiliSearchApiError: The provided API key is invalid.

Meilisearch version: [e.g. v0.20.0]
v0.27.2

Hello @francisfontoura
This is an invalid API key problem, so a few factors may be the cause. Did you use the correct master key when you launched your Meilisearch instance? or perhaps didn't set a master key at launch?  Please remember that your tenant tokens will become invalid if the master key changes. Also, can you confirm the tenant token is not expired?
Thank you

I close this issue then. Feel free to ask to re-open if needed 😊

Not sure what this means:

the tenant token can only give access to the search endpoints for now
I tried the generated token with every endpoint in the docs and gives access to nothing.
Please work on this, we need something equivalent to what Algolia does with its generateSecuredApiKey method.

Do you recommend I use the search key in my client applications? I feel like it wouldn't be ideal to use the main search key provided on the client side.
What other secure alternatives are there to using search on the client side?

Hello @abubakir1997
I think there is confusion here between access keys and tenant tokens. Tenant token are used if you want to let your final user access only a part of your Meilisearch data (for example only let the user search in their own emails, but your Meilisearch contains the mails of ALL the users inside)
I recommend you use the "Default search API key" instead of creating tenant token: this API key only accesses to the search endpoint, so it's secure. https://www.meilisearch.com/docs/learn/security/master_api_keys#using-default-api-keys-for-authorization
You are right, you should not let your client application use the main key. The "Default search API key" is the one you can use on client side.
You have more information about how to secure your Meilisearch instance here
Also, if you need more support, I recommend going to our Discord and detailing the error message you get so that we can help you. Here, the risk is we miss your message lost at the middle of our bug reports.
Have a nice day and see you on Discord if needed 👋


Add New List

New feature required to add a new list.
Side Bar Menu Item
This button should exist as part of the sidebar. It is placed above the list of available lists.

[x] Side menu Link

No Lists Button
When the current list is deleted, or no lists exist, a button should appear in the content section prompting to add a new list.

[x] Add list button

Functionality
Overall new lists functionality to create a new blank list.

[x] Functionality

Completed in 642d6d6


Reason for the insufficient recognition rate of ~84%

The reason for the insufficient recognition rate is that the image data is not normalized.
The image date is stored as byte values in the range 0..255 in the NMIST data file. Prior to use this data as input data for a neural network, its necessary to normalize this data to a range from 0..1 (because of the output range of the sigmoid function used).
Therefore, I recomment to change the following line in your source code:
Loader.readDataFiles() Line 62
from:
input.set(i, 0, imageData[ic++]);
to:
input.set(i, 0, (double)(imageData[ic++] & 0xff) / 255d);
After that change you will reach the accurancy statet in the book.
Have fun :-)

I want to know how to convert my images to the data type that your program uses. Can you describe the kind of image data ?

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!


WIP Make Devfile the default deployment mechanism for odo 2.0.0

What type of PR is this?

Uncomment only one  /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind feature
What does does this PR do / why we need it:
Makes Devfile the default deployment mechanism, removing S2I in favour
of Devfile deployment.
Which issue(s) this PR fixes:
https://github.com/openshift/odo/issues/3550
How to test changes / Special notes to the reviewer:
Run:
odo preference set experimental false
odo create --starter nodejs
odo push

And it should deploy devfile.

Note, WIP. Don't merge! Opened this PR to test integration tests.

@cdrage pr needs rebase

@cdrage pr needs rebase

It's going to need a ton of rebases before the release haha. Hence WIP :) I have a feeling this will be a rebase-everyday PR for a while.

Maybe convert the PR to draft?

Bit confused with regards to @metacosm experimental mode being dealt with once and for all?
At the moment in this PR I'm essentially ripping experimental out for create / push / etc. But we will leave it in for experimental features such as for Docker (which will stay experimental after 2.0 comes out).

Bit confused with regards to @metacosm experimental mode being dealt with once and for all?
At the moment in this PR I'm essentially ripping experimental out for create / push / etc. But we will leave it in for experimental features such as for Docker (which will stay experimental after 2.0 comes out).

Sorry didn't see this comment until after I edited my previous one. If we're going to have several experimental features at once, we might want to use feature flags so that they can be de-/activated independently and leave the checks in the code so that we don't need to go through a big "purge" each time a new feature is promoted?

@metacosm This will only be happening once since we're graduating from using S2I. I do agree we need to have flags in the future. But all of these features leaving experimental at once would be okay for the upcoming release.
The only thing staying in experimental is Docker mode which we will be (partly) supporting.


chore: Convert garbage collection controller into separate poller

Fixes #
Description
Convert garbage collection controller into separate poller with cloudprovider.List() call. This needs to happen since each Machine polling against the cloudprovider with its own Get() will create too much noise against the cloudprovider APIs. Instead, we should use a single List() call that we call periodically to reduce the load against these APIs.
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

37 of 49 (75.51%)  changed or added relevant lines in 2 files are covered.
17 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.1%) to 81.381%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/machine/garbagecollect/controller.go
30
42
71.43%

Files with Coverage Reduction
New Missed Lines
%

pkg/cloudprovider/fake/cloudprovider.go
1
97.18%

pkg/operator/controller/typed.go
2
93.55%

pkg/controllers/node/controller.go
7
73.53%

pkg/controllers/provisioning/scheduling/preferences.go
7
86.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
6600

Relevant Lines:
8110

💛  - Coveralls


add grpc-dotnet and coolstore-microservices projects

I added grpc-dotnet which is implementing by Microsoft team and another one is my example project coolstore-microservices which used gRPC protocol for microservices.
It's good if I can hear anything need to improve or fix for this PR. Thank you very much.

I signed it!


ModuleNotFoundError: No module named 'anndata.base'

Hi,
I'm a first time user and I got the error when I try to read in a pkl file.
I haven't found an answer yet, hope someone can help here. I use python 3.7.3 and anndata 0.7.6.
Thanks in advance.
Code:
import pickle
import anndata
import sys

infile=open('~/pid4191_spleen_logNorm_regMito_PCA_wt_marker_umap_cluster.pkl','rb')
dat=pickle.load(infile)

Error:
ModuleNotFoundError                       Traceback (most recent call last)
 in
4
5 infile=open('/data/home/jinrui.liu/5017_il18bp/mouse/pid4191_spleen_logNorm_regMito_PCA_wt_marker_umap_cluster.pkl','rb')
----> 6 dat=pickle.load(infile)
ModuleNotFoundError: No module named 'anndata.base'

I used two other smaller pkl files to test.

1 went through and 1 gave the same error. I don't know if this is a missing module problem since anndata 0.7.6 was installed since the beginning. I'd really appreciate if someone can advise.

Have you written these pickle files? If so, can you show an example of writing the file then getting this error?
I would have to look into if we have done much for backwards compatibility for pickled AnnData objects, but it could be that there is an environment issue.

Hi I did not written the pickle files. Those were generated back in 5/30/2019. I tried use different environments both on HPC and local machine. And didn't work.
I don't know if this is going be helpful, but the pickle files were written simply using the below example code:
data_dir_smps = [os.path.join(data_dir,x) for x in os.listdir(data_dir) if os.path.isdir(os.path.join(data_dir,x))]
adatas = loadSmpToList(data_dir_smps)
pickle_dump_file(adatas, suffix + "_raw.pkl")

We haven't established backward compatibility for anndata's saved as pickles, just the h5ad and zarr formats.
Can you recreate the environment that was used to write these files, and save them as h5ad from there?

Hi,
Thanks for the reply. Yes I have those data saved as h5ad. Are we expecting the updates with pickles anndata capability any time soon?

It's not a priority at the moment. If we do add it, we may also limit how far back the backwards compatibility extends.
I'll open a new feature request for this so we can track this feature.


Add Archive Resource

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

Some teeny suggestions inline but this is great @embano1 thank you! :) Making fantastic progress on this controller.

Reviews are a breeze with ya'all! One more (code is ready) and then we're good. Took @A-Hilaly more time to write the Python tests than me writing the code, hahahaha...

@A-Hilaly ready for your E2E tests IMHO

/lgtm


registry: fix panic 'attempt to add with overflow'

When we register a collector that returns multiple descriptors, registry will panic and leaves a message:

panicked at 'attempt to add with overflow', src/registry.rs:61

Integer overflow is considered unsafe in rust. Rust checks it at both compile time and runtime.
Although there are several ways to workaround, like scoped-attributes and wrapping, I would recommend xor. I think xor is enough in our use case.
PTAL @siddontang @disksing

Actually it's not checked in release mode.

LGTM

LGTM


[Navigation Advanced Sample 2.4.0-alpha10] Conflicting backstacks

[Navigation Advanced Sample 2.4.0-alpha10]
Repro Steps:

Go to about section in home tab
switch to tab 2
press back -> home frag opens (intended behavior)
press home bottom tab (or go to tab 2 then press home tab) -> about frag opens

Observed Behavior:
Home frag opens different frags, depending on how the user reached there
Expected Behavior:
Once user presses back to reach home, home's backstack should be cleared, to avoid inconsistency in the screen that will be shown to a user

Dup of b/188963883.


npm sending multiple deprecation warnings during python build/all.py closure dependency generation

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Latest off of Master
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from master?
Yes
Are you using the demo app or your own custom app?
Demo
If custom app, can you reproduce the issue using our demo app?
N/A. Install issue
What browser and OS are you using?
N/A Install issue (on ubuntu base)
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?

N/A Install issue
What did you do?

git pull and run python build/all.py
What did you expect to happen?
Some warnings are typically OK, this may be one of those times, but there are lots.
What actually happened?

Here's a log snip from the install with all the deprecation warnings:
python build/all.py && echo "python build/all.py" >> /root/install.LOG
---> Running in ce55c6950bc4
[INFO] Generating Closure dependencies...
npm WARN deprecated<EMAIL_ADDRESS>This module is no longer maintained, try this instead:
npm WARN deprecated npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated<EMAIL_ADDRESS>This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated<EMAIL_ADDRESS>CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated<EMAIL_ADDRESS>This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN prepublish-on-install As of npm@5, prepublish scripts are deprecated.
npm WARN prepublish-on-install Use prepare for build steps and prepublishOnly for upload-only.
npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information.
npm WARN lifecycle<EMAIL_ADDRESS>cannot run in wd<EMAIL_ADDRESS>in-publish && python build/checkversion.py && python build/all.py --force || not-in-publish (wd=/usr/local/apache2/shaka-player)
npm notice created a lockfile as package-lock.json.

None of these deprecated modules are direct dependencies.  They are all dependencies of dependencies, so many of them may be out of our control.  Also, please note that none of these is a runtime dependency.  These are all dependencies for testing, so they will not affect Shaka Player itself.
We will update our own direct deps in v2.6 and see how many of these warnings we can clean up.  Thanks!


 need call camera directly

Environment
Flutter version: 2.0.3
Plugin version:5.3.2
Android version:11
iOS version:
Xcode version:
Device information:
Description
my html has this input, i Click the input(Camera text), i need to choose camera or file
 <input type="file" accept="image/*;capture=camera" >

i hope when capture=camera, webview can call camera directly
Alternatives you've considered:
Images:

#746

the https://github.com/pichillilorenzo/flutter_inappwebview/issues/846#issuecomment-873542917 method, works on  android version 9.0（API 28)

Feature added starting from version 5.5.0


Update the website roadmap

Following Trang's preso at mid cycle demo, here's a proposed update to the roadmap on the website. It doesn't include any of the TBC items discussed where we're dependent on other teams.

It looks like this is now out of date. We've at the very least started the website WCAG 2.2 work.

@owenatgov I missed this one needing a review a while back. It looks like the roadmap has been updated on 9 August already. Is it easier to close this and start again when we need to update the roadmap? I'm going to make a note of updating the roadmap after each cycle.

I'm jsut gonna close this since it's gotten forgotten. The roadmap does need updating but I don't know what should go on there instead.


Add consumers_test for ConsumerEvents

#99  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @acco and the rest of your teammates on  Graphite


Is there a way to make GitInfo work with Xamarin Live Player

I can't debug my apps on Xamarin Live player as soon as I add GitInfo to the project.
The error I have :
Running /Users/me/Projects/TestGitInfo/Droid/bin/Debug/TestGitInfo.Droid.dll…
Start TestGitInfo.Droid, LGE LG-H870 Player, .
Attempting connection to debug address: <IP_ADDRESS>:37847.
Connected to: <IP_ADDRESS>:37847.
Deploying /Users/me/Projects/TestGitInfo/Droid/TestGitInfo.Droid.csproj…
Got device info: LGE LG-H870 Player (Android) @ <IP_ADDRESS>:37847
Synchronizing files…
Building and running…
Built with 2 messages.
/Users/me/Projects/TestGitInfo/TestGitInfo/TestGitInfoPage.xaml.cs(1,1): error: 'ThisAssembly' is inaccessible due to its protection level
(1,1): error: Dependent project TestGitInfo.csproj failed to build, using old version.

To reproduce, I just created a blank new Xamarin Forms Project (PCL). Tested it worked with Live Player. OK.
Then I added GitInfo nuget and displayed ThisAssembly.Git.Commit in the Label that initialy displayed "Welcome to Xamarin Forms!".
As soon as we call ThisAssembly, we can't compile the project for Xamarin Live Player.
Any Idea ?

Yes, it looks like that. Xamarin Live Player has quite a lot of limitations.
https://docs.microsoft.com/fr-fr/xamarin/tools/live-player/limitations
It's probably nothing to do with GitInfo.


Reflection allows users to clone arbitrary reflected components, but Reflect does not have a Clone bound

Problem

ReflectComponent::copy_component allows users to copy any arbitrary component data to different entities, and across worlds, as long as it is reflect-able.
Neither Reflect nor Component has a Clone bound, and so we can sneakily clone components that are not expecting to be cloned. I'm pretty sure this is ultimately done by just copying their raw memory.
Components are effectively cloned in a way that bypasses the Clone method, which can cause issues with things like ref-counting (used for Handle).

Possible Solutions

Give Reflect and/or Component a Clone bound. This fixes problem 2, but not problem 3, and may be painful in niche use cases (although I have not seen any concrete use cases for components that cannot be cloned raised, see #1515).

Furthermore, not all fields of a component should be reflected. Cloning components with some cloneable field and defaulting the others is a reasonable strategy here, but does not permit a Clone bound.

Use the appropriate Clone methods when they exist.

Leave the existing behavior in place, and very clearly document what's going on and how to use it safely.

I believe this copy would happen based on creating a new default, then reflecting the old onto the new

@mockersf points out that this Clone-bypassing behavior is not uniquely isolated to this reflection method.
If we implement both Serialize and Deserialize for a type (which we need to, for reflection to be useful to store scenes), we can (tediously) clone arbitrary structs, bypassing any limitations. I've documented this behavior in #3366 at least, and I suspect that's probably the best we can do.
This does however make me increasingly convinced that we should have either Reflect: Clone or Component: Clone, as uncloneable structs cannot be reasonably reflected, and almost all components should be both reflected and cloneable.

This does however make me increasingly convinced that we should have either Reflect: Clone or Component: Clone, as uncloneable structs cannot be reasonably reflected, and almost all components should be both reflected and cloneable.

FromWorld, which is a superset of Default, is required to use ReflectComponent:
https://github.com/bevyengine/bevy/blob/ed9d45fae57e8f01d13ca3a6c12a5f3005b6c610/crates/bevy_ecs/src/reflect.rs#L81
https://github.com/bevyengine/bevy/blob/ed9d45fae57e8f01d13ca3a6c12a5f3005b6c610/crates/bevy_ecs/src/world/mod.rs#L1171-L1175

FromWorld, which is a superset of Default, is required to use ReflectComponent:

Yes, which is a nice feature (although I still like FromReflect from #1395). This should avoid unsoundness, but won't save us from logic errors around things like ref-counting. Handle for example could easily implement Default, but handles cloned in this fashion wouldn't keep assets alive in the proper feature.

Yeah, this is just an ecosystem-wide "problem". Closing.


[firebase_auth]: Authentication redirection from the browser fails due to taskAffinity configuration

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Auth
Which platforms are affected?
Android
Description
After authenticating the Android app using AppleAuthProvider, the app does not return from the browser due to the taskAffinity configuration. Removing taskAffinity resolves the issue.
<activity
    android:name=".MainActivity"
    android:exported="true"
    android:launchMode="singleTop"
    android:taskAffinity=""

Reproducing the issue
When attempting to authenticate with AppleAuthProvider, the app does not redirect back after a successful login
Firebase Core version
3.6.0
Flutter Version
3.24.0
Relevant Log Output
No response
Flutter dependencies
No response
Additional context and comments
No response

https://github.com/firebase/firebase-android-sdk/issues/6403


Adding Suitable Navigation Links

Hello ,
I see this Website is just for Iphone 16 Pro,
But I would Love To Add The Proper Navigation Link To suitable pages
I am Good With React Navigations,
The Below Does Not have a link as well as pages, I can make Components and also Link Them

Let Me Know What Do you Think

Great idea ! Sure you can definitely work .


chore(main): release 0.24.0

:robot: I have created a release beep boop
0.24.0 (2024-07-04)
Features

Bump app to 0.23.0 (#470) (95b4769)
display trace and span id (#474) (5a1d7b4)

Bug Fixes

bump phpunit/phpunit from 11.2.5 to 11.2.6 (#471) (9e74c5e)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

0.24.0
:sunflower:


Cannot use HTML entities?

I'm getting
Entity 'hellip' not defined

when using … in the markup.
Was just wondering, is this a bug or intended behavior?

Okay, my fault. I'll use type="html" on the Markup element, this works.


Improve API cache

Two possibilities:

Replace cache helpers with updated_at propagation.
Today there are certain helpers that calculate the last updated_at depending on the situation.
We have to change it so any time a feature, a system or a line is updated, the city's updated_at column gets updated. This way we are going to save a lot time removing real-time calcs.

Drop memcached and use cloudfront.
My doubts are: Is invalidation time short-enough? How much money-expensive would be?

We wont' do this right now.


GO:0005677 | chromatin silencing complex, grouping term obsoletion (silencing as a process no longer in GO)

SInce the " chromatin silencing " terms are going, probably this grouping term should also be removed.
GO:0005677 | chromatin silencing complex
related to
https://github.com/geneontology/go-annotation/issues/3070

It's odd. There are direct annotations, although I had assumed this was a "process grouping term"
For example
http://europepmc.org/article/MED/16085498
for mouse Baz2a, but this isn't the actual complex  (there is a complex with a different name).
SNF2h-containing chromatin-remodeling complex NoRC
which has an actual term
https://www.ebi.ac.uk/QuickGO/term/GO:0090536
In other cases it is not clear that the annotated protein ios a member of a complex, for example
Suv39h1 for mouse
"Functional and physical interaction between the histone methyl transferase Suv39H1 and histone deacetylases."
Vaute O., Nicolas E., Vandel L., Trouche D.
Nucleic Acids Res. 30:475-481(2002) [PubMed] [Europe PMC] [Abstract]
Cited for: INTERACTION WITH HISTONE DEACETYLASE COMPLEX.
(SuV39H1 are adaptors/recruiters for histone deacetylases)
I would obsolete , with  something along the lines of
This term was intended as a grouping term for complexes involved in "silencing". However, the concept of silencing as a process is no longer included in GO
(refer to the obsoletion of silencing)
Please reannotate to a specific complex term (chromatin remodelling complex or one of its descendants is also a possibility).
There are only 30 EXP annotations (and some of these will be OK, for example the SGD annotations to "RENT COMPLEX"  which is currently a descendant of "chromatin silencing complex"

Discussion will @ValWood
We propose to merge this term into 'nuclear protein-containing complex' when that is created in #19952
Thanks, Pascale

Annotations are here: https://docs.google.com/spreadsheets/d/1RwdgK5ZjgFCqO03Os6LZFcMtKmu3Xz2dxqdFkM66Vx4/edit#gid=0

There are 34 EXP annotations that could be more specific. Obsoletion might be better?

How about if I change the label to 'gene silencing complex'? I am not sure why this term is a problem. Although many annotations can be improved, see https://docs.google.com/spreadsheets/d/1cezH8B6MNIaJwLOPSrbqUZ84RvDyyefWSAIcwPbUVew/edit#gid=0


Remove UIDocumentInteractionController Documentation.

Support for it has been dropped from the Tumblr app for a while now, in favor of using our Share Extension. This just updates the documentation to match reality.

:wave:


Remembering the last tab... with two Tabs component instances on a page

Remembering the last tab when there are two Tabs component instances on a page results in the last tab selected being remembered.  I've worked around this, but think it would be great if, say, an id prop was embedded in the cache key.  Good for nested tab UIs too.

Hello,
it is true that the tabs component has the same cache key for all instances.
I agree, that perhaps the computed ID could serve as a unique key for storing the active tab, preferably with an option to set the key explicitly, in case the user would purposely like to have multiple tabs components share the active tab.
I'll take a look next week, as I'm currently unable to.
Thank you for the report.

Great component BTW!

preferably with an option to set the key explicitly, in case the user would purposely like to have multiple tabs components share the active tab

I can see how that would be a very useful feature.
FYI, and in case you think it a good idea to add for others.... I wrote a small wrapper around your component that supports nested tabs (i.e. Tabs → Tab → Tabs → Tab...).  The nested Tabs Wrapper takes two props parentTabHash and parentTabsRef and brings forward the parent tab if the url fragment matches a nested Tab hash.  I'd do a PR but I'm not familiar with ts and don't have a build env setup either 🤷♂
<template>
    <Tabs
        v-bind="$attrs"
        ref="tabs"
        :cache-lifetime="parentTabHash ? 0 : 5"
        @changed="tabChanged"
    >
        <slot></slot>
    </Tabs>
</template>

<script>
import { Tabs } from "vue3-tabs-component";

export default {
    name: "TabsWrapper",
    props: {
        parentTabsRef: {
            type: Function,
            default: () => ({}),
        },
        parentTabHash: {
            type: String,
            default: null,
        },
    },
    methods: {
        tabChanged() {
            // Called implicitly on page load by tabs component emitting very first 'changed' event
            // and again whenever tab is changed

            // If we're a nested tabs component and the fragment is one of our tabs
            // then inform the parent component to bring forward the relevant parent tab
            if (this.parentTabHash) {
                ((hash = window.location.hash) => {
                    if (hash && this.$refs.tabs.findTab(hash)) {
                        this.parentTabsRef().$refs.tabs.selectTab(this.parentTabHash);
                    }
                })();
            }

Hello,
latest version 1.3.6 now includes the calculcated storage key from an id Tabs component prop and also an option to set the storage key explicitly via the options.storageKey prop.

Nice one!


Module 2.3 Assignment

Re-reading the assignment, perhaps you wanted the branch commited and pushed to the branch on github, and then the merge via Pull?  This wasn't clear in the instructions, so I pushed from my local repository directly to the master on github...

Re-reading the assignment, perhaps you wanted the branch commited and pushed to the branch on github, and then the merge via Pull?  This wasn't clear in the instructions, so I pushed from my local repository directly to the master on github...


Handle array and maps of primitive types

@baywet this is the demo implementation for the changes agreed here.
I implemented those only in Java for convenience, I'll expand to all of the languages if I have an ok from you (let me fight with Go tomorrow with an expert 🙂 ).
More specifically, I would like you to look at the added test cases(and add more if you wish).
(I sneaked in a little performance tweak for Java removing some allocations but it should still read well enough).

this is finally done 🙂 @baywet do you wanna review it again?
Please note that the Go implementation gets hidden in the changes view but is the ugliest and biggest.
I noticed that there is a Warning in CI saying that isTrimmable is not getting applied, here for example, would you mind having a look? But let's keep the fix separated from this PR.

for future reference:
in this PR there is included a performance tweak for Java, C# and Go removing the unnecessary allocations of StringBuilders

I think we can do a little bit better for c#.

In terms of? Perf or style?
Do you want to wait for more reviews or we can merge and release?

For PHP cc @Ndiritu @SilasKenneth
For Python cc @samwelkanda

I merged it as this is an improvement anyhow, please feel free to review at your convenience and we will fix on top.


Initial commit of Dripstat pack.

This PR adds the ability to monitor Dripstat APM for alerts to monitored JVM applications.
/cc https://github.com/StackStorm/st2incubator/pull/27

shouldn't the dripstat folder go in the 'packs' dir instead of the root dir..

@pdeva yup! Thanks for that. https://github.com/StackStorm/st2contrib/commit/5f6940d1000846bd27a80054e65f0c14e9908249


Azure data studio python requires pykerberos>=1.21, package not found

Azure Data Studio Version: 1.13.1 (system setup)
Commit: d08d07fe39c7fe74f9265db02cb963c38d048299
Date: 2019-11-14T23:08:09.800Z
VS Code: 1.38.0
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.16299

Steps to Reproduce:

Open Azure Data Studio
Create a new notebook and select Python 3 from Kernel OR select a modified notebook under Source Control which may automatically select Python 3 from kernel
ADS prompts to update certain packages

Select 'Yes' (Selecting 'no' sometimes causes it to revert to 'select kernel')
Package update of pykerberos fails with the following error:

Installing sparkmagic>=0.12.9 pykerberos>=1.2.1 powershell-kernel>=0.1.1: Process exited with with error code: 1. StdErr Output:
PackagesNotFoundError: The following packages are not available from current channels:

- pykerberos[version='>=1.2.1']

Current channels:

- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Manually initiating pip install pykerberos does not work

pip install pykerberos
Collecting pykerberos
  Using cached https://files.pythonhosted.org/packages/9a/b8/1ec56b6fa8a2e2a81420bd3d90e70b59fc83f6b857fb2c2c37accddc8be3/pykerberos-1.2.1.tar.gz
Building wheels for collected packages: pykerberos
  Building wheel for pykerberos (setup.py) ... error
  ERROR: Complete output from command 'C:\Users\jsde\AppData\Local\Continuum\miniconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\jsde\\AppData\\Local\\Temp\\pip-install-78j2r7bi\\pykerberos\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\jsde\AppData\Local\Temp\pip-wheel-j0zaqedg' --python-tag cp37:
  ERROR: running bdist_wheel
  running build
  running build_ext
  building 'kerberos' extension
  creating build
  creating build\temp.win-amd64-3.7
  creating build\temp.win-amd64-3.7\Release
  creating build\temp.win-amd64-3.7\Release\src
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -IC:\Users\jsde\AppData\Local\Continuum\miniconda3\include -IC:\Users\jsde\AppData\Local\Continuum\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tcsrc/kerberos.c /Fobuild\temp.win-amd64-3.7\Release\src/kerberos.obj
  kerberos.c
  C:\Users\jsde\AppData\Local\Temp\pip-install-78j2r7bi\pykerberos\src\kerberosbasic.h(17): fatal error C1083: Cannot open include file: 'gssapi/gssapi.h': No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for pykerberos
  Running setup.py clean for pykerberos
Failed to build pykerberos
Installing collected packages: pykerberos
  Running setup.py install for pykerberos ... error
    ERROR: Complete output from command 'C:\Users\jsde\AppData\Local\Continuum\miniconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\jsde\\AppData\\Local\\Temp\\pip-install-78j2r7bi\\pykerberos\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\jsde\AppData\Local\Temp\pip-record-bu3e4kwu\install-record.txt' --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_ext
    building 'kerberos' extension
    creating build
    creating build\temp.win-amd64-3.7
    creating build\temp.win-amd64-3.7\Release
    creating build\temp.win-amd64-3.7\Release\src
    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -IC:\Users\jsde\AppData\Local\Continuum\miniconda3\include -IC:\Users\jsde\AppData\Local\Continuum\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tcsrc/kerberos.c /Fobuild\temp.win-amd64-3.7\Release\src/kerberos.obj
    kerberos.c
    C:\Users\jsde\AppData\Local\Temp\pip-install-78j2r7bi\pykerberos\src\kerberosbasic.h(17): fatal error C1083: Cannot open include file: 'gssapi/gssapi.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
    ----------------------------------------
ERROR: Command "'C:\Users\jsde\AppData\Local\Continuum\miniconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\jsde\\AppData\\Local\\Temp\\pip-install-78j2r7bi\\pykerberos\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\jsde\AppData\Local\Temp\pip-record-bu3e4kwu\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\jsde\AppData\Local\Temp\pip-install-78j2r7bi\pykerberos\

Manual install/update of winkerberos did not help
Manual install of sparkmagic  required updating requests-kerberos, did not help.

How is the package updates via Azure Data Studio requiring pykerberos but manual update of sparkmagic updates requests-kerberos? Can azure data studio switch to requests-kerberos, which is still being maintained?
Thanks

same issue.my side; even gssapi is already installed.
c:\users\vchauha6\appdata\local\temp\pip-install-0un8d2vx\pykerberos\src\kerberosbasic.h(17): fatal error C1083: Cannot open include file: 'gssapi/gssapi.h': No such file or directory

@corivera if you could try to get a repro, we can look into how to address this. Let me know.

Already fixing this. This was a regression from when we added the upgrade logic. This package should only be included on non-windows platforms.

so for windows desktop, can we use spark or do we have to connect to remote server running the spark server?

so then why azure data studio automatically start installing that package? could you  guys fix that in next release ,,, like if os is windows then don't install the package?

@vchauha6 This was already fixed in https://github.com/microsoft/azuredatastudio/pull/8544


Add Docker install to README

It is unclear that there is a docker container for image_space.
Would be great if we could make it explicit that there is one and then make it extremely easy for folks to find it and run it locally.
@jeffbaumes can you help me document this e.g. where is the docker container on DockerHub? Is it available for use?

Thanks Lewis I don't use the docker Jeff built it for the laptop. I used intro understand how to install. It's fairly accurate.
I'll write up some install instructions.

Hi Chris,
A docker install would be grand.
I also got image space up locally and install instructions are bang on.
I think a quick add to README would be great so I will do that.
This is based on the work were engaging in with Grace. It's going
reasonably well so demo time next week.
On Saturday, July 25, 2015, Chris Mattmann<EMAIL_ADDRESS>wrote:

Thanks Lewis I don't use the docker Jeff built it for the laptop. I used
intro understand how to install. It's fairly accurate.
I'll write up some install instructions.
—
Reply to this email directly or view it on GitHub
https://github.com/memex-explorer/image_space/issues/64#issuecomment-124882972
.

--
Lewis

Great work my friend proud of you

@lewismc @chrismattmann great detective work getting somewhere with Docker. If either of you get stuck again let me know.

I don't know the state of this right now - so it's probably broken again. Once we have another use case for Docker installs we can get this working and documented again.

Closing this as a result of #172. Documentation lives here.


Bug: For forms where size or minimum_size properties are expressed by the user, the function SetSizerAndFit() must be avoided

Description:

wxUIEditor: Latest daily build
For forms where the size is expressed like this

the code in ::Create() function is:

The result on final application is shown below.
It is wrong

I think in case the user expresses the form size by using size or minimum_size another approach should be used to generate the code.
Instead of SetSizerAndFit(bSizer1); should be used SetSizer(bSizer1);
This approach should be used for all forms

I can't reproduce the problem when minimum_size is set (just that property, not the size property). What I'm getting is:
    SetSizer(box_sizer);
    SetMinSize(wxSize(200, 200));
    Fit();

Same for maximum_size. Currently, the size property gets set in the header file but doesn't change source code generation -- as you note, it should not call Fit() in this case. Not calling Fit() when min or max size is set seems odd since neither of those settings would normally be used to set the initial size of the dialog. I'd be more inclined to make that a property if you really don't want Fit() called. I know that changing the current behavior would break some of the dialogs in wxUiEditor itself, forcing me to call Fit() in the OnInit() event to work around the omission of Fit in the dialog's creation.

I understand your point, but indeed it is necessary to find a way in case a user sets a specific size, thst case means he/she wants that dimension not other.
The property you mentioned could be a good compromise, you should create it TRUE by default, and in case the user doesn't need such a behaviour, cimply it will be necessary to remove the tick.
I like it, it is the way DilogBLock use since its beginning ...

If minimum size is set, and the layout of controls fits within that minimum size, then Fit() will not change the dialog size. The only time Fit() will change the size from mimimum size if if controls would be clipped -- which can happen if minimum size did not use dialog units, and the dialog is displayed on a high-resolution screen with scaling set over 100%. Removing the call to Fit() will force everyone who uses minimum size to also add an event handler to call Fit() if they want the dialog to be DPI-aware.
The size property is different -- in this case you are requesting an exact size and you don't want wxWidgets to change it. In that scenario, it is a mistake to call Fit() which can change the size of the form (dialog, frame, etc.).
There is an additional bug for wxDialog where if size is set to dialog units, no code is generated to convert those dialog units to pixels. While that is still the default for wxFormBuilder, both XRC and more modern RAD designers support dialog units so that the dialog takes into account scaling on a high DPI screen.

Removing from milestone since the PR changes the call to SetSizerAndFit to SetSizer if prop_size is set.


mimxrt1170_evk: USB mass (next) sample triggers Bus Fault

The USB MSC sample with "next" USB device stack config triggers a bus fault when running on i.MX RT1170 Evaluation Kit (MIMXRT1170-EVK).
Not using the new USB device stack config doesn't show that error.
Steps to reproduce the behavior:

Insert SD card into dev board
west build -p -b mimxrt1170_evk/mimxrt1176/cm7 zephyr/samples/subsys/usb/mass/ -DCONF_FILE="usbd_next_prj.conf" -DCONFIG_APP_MSC_STORAGE_SDCARD=y
west flash
Serial output:

*** Booting Zephyr OS build v3.7.0-rc1-465-g08496ff6b449 ***
Mount /SD:: 0
/SD:: bsize = 512 ; frsize = 32768 ; blocks = 121456 ; bfree = 121455
/SD: opendir: 0
End of files
[00:00:01.078,000] <err> os: ***** BUS FAULT *****
[00:00:01.078,000] <err> os:   Precise data bus error
[00:00:01.078,000] <err> os:   BFAR Address: 0x40430140
[00:00:01.078,000] <err> os: r0/a1:  0x00000002  r1/a2:  0x800096a8  r2/a3:  0x8000b588
[00:00:01.078,000] <err> os: r3/a4:  0x40430000 r12/ip:  0x80008b74 r14/lr:  0x30010cd1
[00:00:01.078,000] <err> os:  xpsr:  0x21000000
[00:00:01.078,000] <err> os: Faulting instruction address (r15/pc): 0x3000c94a
[00:00:01.078,000] <err> os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
[00:00:01.078,000] <err> os: Current thread: 0x80009218 (unknown)
[00:00:01.100,000] <err> os: Halting system

Zephyr should have booted properly. USB Mass Storage device should show SD card contents when connected to PC.
That is a showstopper as old USB support works unreliably for USB MSC and gives I/O errors sometimes.
When debugged, the fault is triggered when the register in this line in usb_device_ehci.c is written.
This is the backtrace:
0  z_arm_usage_fault () at /workdir/deps/zephyr/arch/arm/core/cortex_m/fault_s.S:80
#1  <signal handler called>
#2  0x3000c94a in USB_DeviceEhciInit (controllerId=2 '\002', handle=0x800096a8 <priv_data_0+4>, ehciHandle=0x800096a8 <priv_data_0+4>) at /workdir/deps/modules/hal/nxp/mcux/middleware/mcux-sdk-middleware-usb/device/usb_device_ehci.c:1421
#3  0x30010ccc in udc_mcux_init (dev=0x3001485c <__device_dts_ord_508>) at /workdir/deps/zephyr/drivers/usb/udc/udc_mcux_ehci.c:698
#4  0x30010a36 in udc_init (dev=0x3001485c <__device_dts_ord_508>, event_cb=event_cb@entry=0x300075a9 <usbd_event_carrier>) at /workdir/deps/zephyr/drivers/usb/udc/udc_common.c:761
#5  0x30007898 in usbd_device_init_core (uds_ctx=uds_ctx@entry=0x80008b2c <sample_usbd>) at /workdir/deps/zephyr/subsys/usb/device_next/usbd_core.c:207
#6  0x300069ca in usbd_init (uds_ctx=uds_ctx@entry=0x80008b2c <sample_usbd>) at /workdir/deps/zephyr/subsys/usb/device_next/usbd_device.c:209
#7  0x30002fec in sample_usbd_init_device (msg_cb=msg_cb@entry=0x0) at /workdir/deps/zephyr/samples/subsys/usb/common/sample_usbd_init.c:173
#8  0x3000306c in enable_usb_device_next () at /workdir/deps/zephyr/samples/subsys/usb/mass/src/main.c:57
#9  main () at /workdir/deps/zephyr/samples/subsys/usb/mass/src/main.c:213

Zephyr docker image v0.26.11
Zephyr SDK 0.16.5-1
latest main (08496ff)

Going back to 49be50c (April 1st) doesn't produce a successful build:
$ west build -p -b mimxrt1170_evk/mimxrt1176/cm7 zephyr/samples/subsys/usb/mass/ -DCONF_FILE="usbd_next_prj.conf" -DCONFIG_APP_MSC_STORAGE_SDCARD=y
-- west build: making build dir /workdir/build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /workdir/zephyr/samples/subsys/usb/mass
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/user/.cache/zephyr
-- Zephyr version: 3.6.99 (/workdir/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: mimxrt1170_evk, Revision: A, qualifiers: mimxrt1176/cm7
-- Found host-tools: zephyr 0.16.5 (/opt/toolchains/zephyr-sdk-0.16.5-1)
-- Found toolchain: zephyr 0.16.5 (/opt/toolchains/zephyr-sdk-0.16.5-1)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.5-1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm7.dts
-- Generated zephyr.dts: /workdir/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /workdir/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /workdir/build/zephyr/dts.cmake
Parsing /workdir/zephyr/samples/subsys/usb/mass/Kconfig
Loaded configuration '/workdir/zephyr/boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm7_defconfig'
Merged configuration '/workdir/zephyr/samples/subsys/usb/mass/usbd_next_prj.conf'
Merged configuration '/workdir/build/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/workdir/build/zephyr/.config'
Kconfig header saved to '/workdir/build/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
Load components for MIMXRT1176_cm7:
driver_common component is included.
driver_reset component is included.
device_CMSIS component is included.
CMSIS_Include_core_cm component is included.
device_system component is included.
driver_lpuart component is included.
driver_igpio component is included.
driver_usdhc component is included.
driver_memory component is included.
driver_cache_armv7_m7 component is included.
driver_soc_src component is included.
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/build
-- west build: building application
[1/183] Preparing syscall dependency handling

[2/183] Generating include/generated/version.h
-- Zephyr version: 3.6.99 (/workdir/zephyr), build: v3.6.0-1967-g49be50c8ddc0
[178/183] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /workdir/build/zephyr/zephyr_pre0.map
: && ccache /opt/toolchains/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/workdir/build/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/libarch__arm__core.a  zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a  zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a  zephyr/lib/libc/picolibc/liblib__libc__picolibc.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/boards/nxp/mimxrt1170_evk/libboards__nxp__mimxrt1170_evk.a  zephyr/subsys/fs/libsubsys__fs.a  zephyr/subsys/sd/libsubsys__sd.a  zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a  zephyr/subsys/net/libsubsys__net.a  zephyr/drivers/disk/libdrivers__disk.a  zephyr/drivers/usb/udc/libdrivers__usb__udc.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/hwinfo/libdrivers__hwinfo.a  zephyr/drivers/memc/libdrivers__memc.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  zephyr/drivers/sdhc/libdrivers__sdhc.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  modules/fatfs/libmodules__fatfs.a  modules/hal_nxp/hal_nxp/lib..__modules__hal__nxp.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"/opt/toolchains/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7e-m/nofp"  -L/workdir/build/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  -mcpu=cortex-m7  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -mtp=soft  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -Wl,-no-pie  -DPICOLIBC_LONG_LONG_PRINTF_SCANF  --specs=picolibc.specs  -lc  -lgcc && cd /workdir/build/zephyr && /usr/bin/cmake -E true
/opt/toolchains/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: app/libapp.a(sample_usbd_init.c.obj):(._usbd_contex.static.sample_usbd_+0x18): undefined reference to `__device_dts_ord_504'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /workdir/build

The behavior has been verified on a second MIMXRT1170-EVK dev board.
Not using usbd_next_prj.conf works fine. The firmware is built and shows Mass Storage device when flashed and connected to PC. Serial output reads:
*** Booting Zephyr OS build v3.7.0-rc1-465-g08496ff6b449 ***
Mount /SD:: 0
/SD:: bsize = 512 ; frsize = 32768 ; blocks = 121456 ; bfree = 121455
/SD: opendir: 0
End of files
[00:00:01.077,000] <inf> main: The device is put in USB mass storage mode.

I have observed main stack overflow on some platforms, please check if "CONFIG_MAIN_STACK_SIZE=2048" could fix your issue.
west build -p -b mimxrt1170_evk/mimxrt1176/cm7 zephyr/samples/subsys/usb/mass/ -DCONF_FILE="usbd_next_prj.conf" -DCONFIG_APP_MSC_STORAGE_SDCARD=y -DCONFIG_MAIN_STACK_SIZE=2048

@jfischer-no Unfortunately, that doesn't fix the issue. I'm still getting the same error.

@jfischer-no Unfortunately, that doesn't fix the issue. I'm still getting the same error.

okay, btw it works for me on mimxrt1050_evk/mimxrt1052, maybe some platform issue, FYI @MarkWangChinese

The USB next device stack is not enabled on MIMXRT1170-EVK, the clock and device tree (usb phy) is not enabled. I create the pr https://github.com/zephyrproject-rtos/zephyr/pull/75375, but I cannot find any RT1170-EVK to verify it. Thanks @hakehuang to help me to test it.

Thanks @MarkWangChinese


Forgot PW Security Question vs. Email

Add security question instead of email for PW reset

Closed via #297

Closed via #297


Provide a way to see the header line

Hello,
I sometimes want to check the header line, often to see if capsules are returning a lang= tag or not, but it could be useful for other purposes too.
It’s nice to have the copy the source option, but it does not include the header line. Maybe just add the header line to what is copied?

I've been planning to expand the "Certificate Status" dialog into a more general-purpose "Page Information". I think that would be a good place to put the response header.


Import-NAVApplicationObject SQL Server Error

When trying to run  Import-NAVApplicationObject inside the docker I get this error

This is a 2017cu40 container that I'm trying to just import the new table.
I connected to the sql and gave db owner to the user in User Mapping

What am I doing wrong?
Thanks in advance.

I think you need to specify username and password of the user used to start the container

Thanks a lot for the fast reply Freddy.
I'm still very new to this (but loving it) and I fear that I have no idea on how to do that even after trying to research

import-navapplicationobject -username sa -password (the password)
You can also use Import-ObjectsToNavContainer (from outside) and specify the container name instead

Thanks Freddy, it worked now!
Much appreciated!