Unable to use libtensorflowlite.so

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version: 2.2.0
Python version: 3.8.3
Installed using virtualenv? pip? conda?: conda
Bazel version (if compiling from source): 3.1.0
GCC/Compiler version (if compiling from source): 7.5.0
CUDA/cuDNN version: 10.1, cuDNN
GPU model and memory: Nvidia Geforce 940MX 2GB

Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
I want to use tensorflowlite C++ API to run inference. I used bazel build and installed it using " bazel build -c opt --config=android_x86_64 //tensorflow/lite:libtensorflowlite.so" this command. I copied the header files of flatbuffer and abseil and created a new folder
I used the code provided in Android Quickstart:
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/kernels/register.h"
#include <iostream>
#include <memory>

using namespace std;

int main()
{
    const char* filename = "models/inception_v4.tflite";
    // Load the model
    std::unique_ptr<tflite::FlatBufferModel> model =
        tflite::FlatBufferModel::BuildFromFile(filename);

    // Build the interpreter
    tflite::ops::builtin::BuiltinOpResolver resolver;
    std::unique_ptr<tflite::Interpreter> interpreter;
    tflite::InterpreterBuilder(*model.get(), resolver)(&interpreter);

    // Resize input tensors, if desired.
    interpreter->AllocateTensors();

    float* input = interpreter->typed_input_tensor<float>(0);
    // Fill `input`.

    interpreter->Invoke();

    float* output = interpreter->typed_output_tensor<float>(0);

}

I ran this command to compile
g++ hello.cpp  -I/<working_directory>/include -ltensorflowlite
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
usr/bin/ld: warning: libm.so, needed by //usr/local/lib/libtensorflowlite.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: liblog.so, needed by //usr/local/lib/libtensorflowlite.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libc.so, needed by //usr/local/lib/libtensorflowlite.so, not found (try using -rpath or -rpath-link)
/tmp/ccWPry2X.o: In function `main':
model.cpp:(.text+0xa4): undefined reference to `tflite::impl::InterpreterBuilder::operator()(std::unique_ptr<tflite::impl::Interpreter, std::default_delete<tflite::impl::Interpreter> >*)'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtod@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `towlower@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_self@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_key_create@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswcntrl@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fseeko@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcsnrtombs@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `vsnprintf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `roundf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtoll_l@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `atan@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_mutexattr_destroy@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_detach@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `munmap@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_mutex_destroy@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `mbsnrtowcs@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wmemmove@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strerror_r@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswdigit@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__strlen_chk@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `sysconf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `dlopen@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `vsscanf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strlen@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fwrite@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `sched_yield@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `ldexp@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `puts@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtol@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `localeconv@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtold@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `btowc@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `openlog@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fclose@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `ftello@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_mutex_trylock@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `realloc@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `log@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `vfprintf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `close@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `qsort@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strxfrm@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fopen@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `sinf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `mmap@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtoull@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `abort@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `isupper@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtoll@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `exit@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `putchar@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `memset@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_cond_signal@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `calloc@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `syscall@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_cond_destroy@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `vasprintf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `acos@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_getspecific@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `getenv@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `clock_gettime@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `sin@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `isspace@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcrtomb@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `bsearch@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `sincos@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `memcmp@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__system_property_get@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswpunct@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__cxa_finalize@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_create@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strcoll@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__android_log_vprint'
//usr/local/lib/libtensorflowlite.so: undefined reference to `tan@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__cxa_atexit@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `asin@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `mbrtowc@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcstof@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fputs@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `realpath@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtoul@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strpbrk@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `snprintf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wmemchr@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `round@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `sscanf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_cond_timedwait@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pow@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strcmp@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fseek@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `mbtowc@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcstoull@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `setlocale@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `tanhf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswupper@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__vsnprintf_chk@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `towupper@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wctob@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fflush@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcsxfrm@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `exp@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fprintf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strncpy@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `closelog@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `expf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `open@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fmodf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `cos@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__ctype_get_mb_cur_max@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `freelocale@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `mbsrtowcs@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wmemcmp@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `ldexpf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `tolower@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswblank@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcstod@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `powf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `uselocale@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `atoi@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `frexp@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_mutexattr_settype@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_cond_wait@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `mkdir@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_setspecific@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_cond_init@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__stack_chk_fail@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `nanosleep@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `dlsym@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strftime@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcstoll@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `memmove@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_mutex_init@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `toupper@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `mbrlen@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__memmove_chk@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcstold@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__errno@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `syslog@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswlower@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `newlocale@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `android_set_abort_message@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcstol@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_join@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `swprintf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `memchr@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `__sF@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `isxdigit@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `memcpy@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `dl_iterate_phdr@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswspace@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `read@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `malloc@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strncmp@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_mutexattr_init@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtoull_l@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_equal@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `posix_memalign@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `logf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_mutex_unlock@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtold_l@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswalpha@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `stat@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strtof@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_once@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fread@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_mutex_lock@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswprint@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fputc@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcscoll@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fileno@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `pthread_cond_broadcast@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `strerror@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `free@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `fstat@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcslen@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `cosf@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `log1p@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wmemcpy@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wcstoul@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `iswxdigit@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `wmemset@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `islower@LIBC'
//usr/local/lib/libtensorflowlite.so: undefined reference to `printf@LIBC'

Very supportive, thanks.

Very supportive, thanks

hi @jonpsy  how you solved this?

/usr/bin/ld:./lib/libtensorflowlite.so: file format not recognized; treating as linker script
/usr/bin/ld:./lib/libtensorflowlite.so:0: syntax error
collect2: error: ld returned 1 exit status


fix: default spec does not return all results and defaults to 25

@robennett2 Can you provide an update on this PR?
I think im encountering the issue this would resolve.


Version updates ignore import scoped BOM dependencies

Version 2.2
As per http://stackoverflow.com/questions/7609876/how-to-make-maven-versionsuse-latest-versions-step-up-import-scoped-entry-in-de
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>se.company.maven</groupId>
            <artifactId>maven-third-party-dependencies</artifactId>
            <version>0.0.1</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

When we run mvn versions:use-latest-versions all our dependencies (and other entries in dependencyManagement) get stepped up except this one.

see pull request above -- we've been using my patch for 3+ months with no problems


Live Preview is broken

Links in the PR live preview aren't working.

cc @aaronhans

Ah I think this is a result of the domain change. I forgot about this. Let me see if I can fix it.
I would like Carter's help on the live preview of posts from WordPress though if he is available

Sorry for the confusion! Created new issue. https://github.com/cagov/digital.ca.gov/issues/125

The link to live preview in the PRs https://engineering-manager.pr.digital.ca.gov/ are still working alright and are getting the content of the PR.
We can update the domain being used so it uses innovation.ca.gov as well.
I think the steps required to do this are:

Create new S3 bucker pr.innovation.ca.gov
Update the PR git action to deploy to that new bucket
Obtain or verify ownership of wildcard domain certs at *.pr.innovation.ca.gov
Create new CloudFront distro for pr.innovation.ca.gov
Apply new cert to new CloudFront distro
Update existing lambda(https://us-east-1.console.aws.amazon.com/lambda/home?region=us-east-1#/functions/CloudFront-PR-Site-Redirects-For-Digital?tab=code) to reference new domain

Closing. Can reopen if request comes from the content team.


Implemented queue reverse with stack

Description of Change
Implemented a function to reverse a queue using a stack. This is a unique solution to the problem. It is verified to work with two self-implementing tests. There is also a time measurement feature.
Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes: Since queue reverse is very fast, the time function may show as 0.

Great work! 😄 Please enable GitHub Actions in your repository of this fork in this link: https://github.com/AvianTheFly/C-Plus-Plus/actions

I have enabled using your link given. Thank you for making the learning process of OSS so simple!

I noticed an error with my code when you tried running import os.
non-const reference parameter 'Queue', make it const or use a pointer
I will be sure to fix this and put in another request.
Thanks for being awesome!


Retain order of views when moving back to sidebar

Testing https://github.com/microsoft/vscode/issues/91335
In this case, the views sort of "rearrange". I'd expect them to stack in the specific order I've dragged them back to the sidebar.

no longer valid with new drag and drop behavior


optimize: remove repeat change status

Ⅰ. Describe what this PR did
移除重复changeStatus的代码
Ⅱ. Does this pull request fix one issue?

fixes #3624
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #3626 (5e37633) into develop (b55d24b) will decrease coverage by 0.11%.
The diff coverage is 90.00%.

@@              Coverage Diff              @@
##             develop    #3626      +/-   ##
=============================================
- Coverage      52.15%   52.04%   -0.12%
+ Complexity      3509     3506       -3
=============================================
  Files            638      638
  Lines          21108    21081      -27
  Branches        2613     2567      -46
=============================================
- Hits           11009    10971      -38
+ Misses          9014     9006       -8
- Partials        1085     1104      +19

Impacted Files
Coverage Δ
Complexity Δ

...in/java/io/seata/server/session/GlobalSession.java
84.00% <80.00%> (+0.95%)
76.00 <0.00> (+1.00)

...o/seata/server/coordinator/DefaultCoordinator.java
52.58% <100.00%> (+0.02%)
28.00 <0.00> (ø)

...obuf/convertor/BranchRegisterRequestConvertor.java
90.47% <0.00%> (-9.53%)
3.00% <0.00%> (ø%)

...otobuf/convertor/BranchReportRequestConvertor.java
90.90% <0.00%> (-9.10%)
3.00% <0.00%> (ø%)

...obuf/convertor/BranchRollbackRequestConvertor.java
92.00% <0.00%> (-8.00%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalBeginResponseConvertor.java
92.59% <0.00%> (-7.41%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalCommitRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalStatusRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...obuf/convertor/GlobalRollbackRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterTMRequestConvertor.java
94.73% <0.00%> (-5.27%)
3.00% <0.00%> (ø%)

... and 28 more

Codecov Report

Merging #3626 (6973ac4) into develop (a8e553f) will increase coverage by 0.01%.
The diff coverage is 90.00%.

:exclamation: Current head 6973ac4 differs from pull request most recent head 253dafe. Consider uploading reports for the commit 253dafe to get more accurate results

@@              Coverage Diff              @@
##             develop    #3626      +/-   ##
=============================================
+ Coverage      51.91%   51.93%   +0.01%
- Complexity      3500     3504       +4
=============================================
  Files            639      639
  Lines          21181    21179       -2
  Branches        2634     2632       -2
=============================================
+ Hits           10996    10999       +3
+ Misses          9091     9089       -2
+ Partials        1094     1091       -3

Impacted Files
Coverage Δ
Complexity Δ

...in/java/io/seata/server/session/GlobalSession.java
83.47% <80.00%> (+0.43%)
76.00 <0.00> (+1.00)

...o/seata/server/coordinator/DefaultCoordinator.java
52.58% <100.00%> (+0.02%)
28.00 <0.00> (ø)

...n/src/main/java/io/seata/common/util/IdWorker.java
83.33% <0.00%> (+6.25%)
12.00% <0.00%> (+1.00%)


[10.04] Add publishing sbom in workflows

Thix fix previously removed publishing of sbom from publish.yml workflow.

Can you have the commit message include a reference to the commit in master?
(FWIW I use git cherry-pick -x to do this automatically)


Boundig boxes at the detection are big

Hello, i have done training and it s working fine . I am doing tests giving the comand python yolo_video.py  --image and for every image the results are good. The only problem is that the detection bounding boxes are bigger than I would like. Is there a way to "zoom" in on their sides towards their center?

You can change the size of anchor boxes. Check yolo_anchors.txt out.


Can't get a right nerf resualt

Hi, I'm confusied when I run orb_slam3_ros with nerf_brige, the viewer 's image stay still in the center and never have another image shows up, and the nerf nerver work good, is there anything I do wrong? Or is there any rosbag could verify the configuration is right?

Looks like we are facing the same problem. My implementation also have this prob, Nerfstudio basically stuck at the first several images and I also cannot get a fairly good model.

Looks like your images are grey scale?  Maybe this has something to do with it?
Can you give some more details on your setup?
Also, due to issues with the Nerfstudio Viewer there is no easy way to update the image locations in the viewer as they come in. So while images and poses are being added to the training set they may not appear in the viewer.

Hi, I am also facing the same issue. The input image stream is not graycaled for me but i am getting the same result in viewer. the topic /camera/color/image_raw has rgb image data and is written correctly in the .json file.
I am using an an Intel realsense d435 rgbd camera (no imu).

Orbslam3 seems to be working fine seeing the the features that are tracked and the pointcloud. But nerf generation seems to be stuck.

ros 1
ubuntu 20.04.

UPDATE:
Issue was resolved by changing the camera parameters in the .json file.

I'm sorry for replying in a closed issue, because I encountered the same problem. The dataset comes from tum_rgbd_dataset_freiburg1_xyz, and I used thien94 orb_slam3_ros for pose estimation, configuring the corresponding ns_orb3_tum.json
{
	"fx": 525.0,
    	"fy": 525.0,
    	"cx": 319.5,
    	"cy": 239.5,
    	"k1": 0.0,
    	"k2": 0.0,
    	"k3": 0.0,
    	"p1": 0.0,
    	"p2": 0.0,
    	"H": 480,
    	"W": 640,
	"image_topic": "/camera/rgb/image_color",
	"pose_topic": "/orb_slam3/camera_pose"
}

After then , I continue to run by step 1 .
roslaunch orb_slam3_ros tum_rgbd.launch

step 2 .
rosbag play ~/data/rgbd_dataset_freiburg1_xyz.bag

step 3.
python ros_train.py --method_name ros_nerfacto --data /home/hello/code/nerf_bridge/ns_orb3_tum.json --pipeline.datamanager.data_update_freq 1.0

finally got this result looks not good.

could you please give me some suggestions? Thanks.

I solve this problem by following https://github.com/thien94/orb_slam3_ros/issues/7#issuecomment-1546690347
change RGB.DepthMapFactor to 1.0 in TUM<version>.yaml

UPDATE: Issue was resolved by changing the camera parameters in the .json file.

Sorry, I have encountered the same problem. How you change your json file?

@Augusthyq Happy to help if you can open up a new issue, and include your setup details.


Wrong default value for RUNTIME in package-webapi.sh

Describe the bug
webapi package script has default value for RUNTIME set to "linux-x86", but webapi is Windows application. App packaging and app deployment scripts work without error, but webapp would fail with no indications about wrong runtime. Only changing RUNTIME to "win-x64" solves the problem.
To Reproduce
Steps to reproduce the behavior:

run ./package.sh in WSL
run ./deploy.sh
open webapi web app.
pages opens with error ""Server Error in '/' Application."

Expected behavior
webapi URL should open copilot start page.
Screenshots

Platform

OS: [WSL]
IDE: [VS Code]

I am experiencing the same issue

I was at least able to access the frontend by changing the path from site\wwwroot to site\wwwroot\wwwroot\build where the app is mounted. But the frontend is still unable to access the API

Hi @Rsimk, until recently the deployed version of the API didn't have a start page (other than /healthz).  Now that the react app is no longer deployed as a static web app it, the start page should render (if deployed).
Can you confirm that you have deployed the webapp from a recent version of the repo?

Hi @Rsimk, until recently the deployed version of the API didn't have a start page (other than /healthz). Now that the react app is no longer deployed as a static web app it, the start page should render (if deployed).
Can you confirm that you have deployed the webapp from a recent version of the repo?

webapp was deployed from Oct 23, commit e1395550d9645074b4ec67f1254eae7f51429c50.

Are you able to access the /heathz route?

I assume you where asking about "healthz", not "heathz". /healthz return 404.
webapp/webapi is deployed from script. Return code was 202. In Deployment center logs - "Deployment successful.". Looking in file system. Files are actually there.
I redeployed from scratch and now website main page responses with simple text message ""Memory pipeline is running. Uptime: 907 secs."". Although I haven't packaged or deployed it. /healthz still doesn't work.

Thank you for the follow-up.  (Yes: healthz, apologies)

@Rsimk Yes, you are right.  I changed the default to win-x64 in the following PR: #606


Add @var feature

Feature request: Add ability to declare local variables.
Example usage:
@import ....

@param SomeClass someObject

@var innerObject = someObject.get().very().deeply().located().internal().object()

Can be translated directly to Java 11 var ....
for Java 8, if required, can be with optional type declaration:
@var OtherClass innerObject = someObject.get().very().deeply().located().internal().object()

More examples:
@if (request.isSuccessful())
  @var resultObject = request.getResult().getResultObject(). .... /// few more calls
  .... // use resultObject
@endif

Hey @IvanPizhenko !
Current syntax for variables is:
!{var innerObject = someObject.get().very().deeply().located().internal().object();}

If you type ! the intellij plugin will suggest a live template for a variable declaration.
The syntax you suggested is a little cleaner (and was the initial idea), but I couldn't get inline refactorings in IntelliJ working  that way. IntelliJ needs the whole expression as injected Java fragment.

Hey @IvanPizhenko !
Current syntax for variables is:
!{var innerObject = someObject.get().very().deeply().located().internal().object();}

If you type ! the intellij plugin will suggest a live template for a variable declaration.
The syntax you suggested is a little cleaner (and was the initial idea), but I couldn't get inline refactorings in IntelliJ working  that way. IntelliJ needs the whole expression as injected Java fragment.

I've updated the documentation with a variables section: https://github.com/casid/jte/commit/4dc307a6d80d376d29047563d19267936defea19

I've updated the documentation with a variables section: https://github.com/casid/jte/commit/4dc307a6d80d376d29047563d19267936defea19

Wow, that's great! I didn't know this is already supported.

Wow, that's great! I didn't know this is already supported.

Yes, the docs didn't say anything about this, so thanks for updating the docs!

Yes, the docs didn't say anything about this, so thanks for updating the docs!


Unconfirmed Bug: Unit test returns different calculations than expected in RiskAdjustedReturns

The returns calculation is different in the class method and its corresponding test after commit 9fd7269. It does not break the test though.
https://github.com/tensortrade-org/tensortrade/blob/9fd7269f64f547a3e1cd713db03733660adc05df/tensortrade/rewards/risk_adjusted_returns.py#L70
https://github.com/tensortrade-org/tensortrade/blob/9fd7269f64f547a3e1cd713db03733660adc05df/tests/tensortrade/unit/rewards/test_risk_adjusted_returns.py#L34

Nice catch @YasserHassan. Care to submit a PR to fix this issue?

@notadamking done. Please check.

This should be already merged completely. Closing due to being left open.
If there is still something missing, just comment again on this issue.
Thanks!


No success modal after offer is created

this green toast is completely missing right not
followup for:

https://github.com/kodadot/nft-gallery/pull/10909

cc @hassnian or @Jarsen136

this green toast is completely missing right not

It works well for me and shows the green toast finally.
Could you expand more about how to reproduce the issue that occurs?

weird, it did not display for me

oki tried again, nothing for me, it did not popup for me

should be fixed


Add static backdrop to offcanvas

Adds static backdrop to the offcanvas component. In analogy to the modal, the hidePrevented event is triggered for prevented closing actions. The event is also triggered when the user presses the escape key and keyboard is set to false.
Fixes #34247

[ ]  consider move the doc section

@twbs/css-review  @twbs/js-review do we want this feature? May I continue reviewing it?
For the record, I would prefer a way, where the config value to be of one type only (not string OR bool)

I'm into it—we should provide the same functionality as the modal component.

Ok , lets go.
@chefarbeiter do you believe we need the hidePrevented? Can we avoid it for now?
Secondly I know you have replicated the tests of modal, but please try to cover all of your code https://coveralls.io/builds/46517959

do you believe we need the hidePrevented? Can we avoid it for now?

@GeoSot I have also taken the event from the modal component. There it was introduced with #29516. In the PR an animation was added when the user clicks in the static backdrop. I didn't take over this feature for the offcanvas. So I think the right answer to your question is: If we leave it that there is no animation in the offcanvas, we don't need the event. If we take over the animation from the modal component, we should also keep the event.

Secondly I know you have replicated the tests of modal, but please try to cover all of your code https://coveralls.io/builds/46517959

Fixed. There was even an existing test (not by me) that was supposed to cover exactly this case, but due to a small bug it didn't.

@patrickhlauke Can you check for any grammar fixes please?
And tell us your opinion, if the option example needs to be along with the other three backdrop examples

@patrickhlauke  On modal case, when we click on a static backdrop, we can see the modal making a scaling reaction.

Should we do something similar here to help user understand?

with the modal, of sort of works as it's "floating" freely on the page. for the offcanvas side panel, i think it would look a bit odd if it somehow "stretched/bounced" out towards the overlay area. it's a more solid component anchored onto the side of the browser window, rather than being floaty...
(sorry, lots of words to say "nah")

And tell us your opinion, if the option example is better to be along with the other [three backdrop examples], or not (https://deploy-preview-35832--twbs-bootstrap.netlify.app/docs/5.1/components/offcanvas/#backdrop)

Last thing to go

@GeoSot @chefarbeiter Maybe we split all those into their own examples with clear labels? Feels a little crowded and not as easy to scan three examples in one :).

I implemented @mdo's suggestion and converted the backdrop examples into standalone examples. Since one of the examples was the default behavior that is also in all the other examples on the page, I did not adopt it but removed it.

Thank you a lot @chefarbeiter. Nice job 👏
Please, if it is not a great effort can you 'fix' the modal test to on another MR?

Please, if it is not a great effort can you 'fix' the modal test on another MR?

@GeoSot I have checked it. The test for the modal component does not contain this error. There the event is triggered correctly in the dialog and not in the document:
https://github.com/twbs/bootstrap/blob/b59b1080e1324394331b670fb102343ecb8736f8/js/tests/unit/modal.spec.js#L423-L426

@GeoSot Is anything from this pull request missing? It looks to me like it can be closed.


Commit Cargo.lock

As of rust-lang/cargo#8728 it is now recommended to always check in Cargo.lock. This will help with reproducability and will avoid the need for cg_clif's build system to keep it's own copy of Cargo.lock for vendoring. It will also allow tidy to run on the portable-simd workspace.

CI failure seems unrelated to this PR:
   = note: /usr/bin/ld: /rust/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-19964a87984cce8a.rlib(std-19964a87984cce8a.std.f6dab3b182b9be26-cgu.0.rcgu.o): TLS transition from R_X86_64_TLSLD to R_X86_64_TPOFF32 against `_ZN3std9panicking11panic_count17LOCAL_PANIC_COUNT7__getit3VAL17h178ac08236b8843dE.0' at 0x5af in section `.text._ZN3std2rt19lang_start_internal17h1dd1442605b126fbE' failed
          /rust/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-19964a87984cce8a.rlib: error adding symbols: Bad value
          collect2: error: ld returned 1 exit status

It's only cross jobs, so I'm not concerned at all


Use System.IO.Pipes.PipeStream

i.e: sync System.Management.Automation.Runspaces.SSHConnectionInfo.OpenStream code taken from dotnet with changes from https://github.com/dotnet/runtime/pull/44647
https://github.com/PowerShell/PowerShell/blob/5f4e1004569443fbe76d23b54caac96b6fb20a40/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs#L2360-L2363
https://github.com/PowerShell/PowerShell/blob/5f4e1004569443fbe76d23b54caac96b6fb20a40/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs#L2433
https://github.com/dotnet/runtime/blob/9d6396deb02161f5ee47af72ccac52c2e1bae458/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Unix.cs#L840

What is benefits you expect?

Based on the microbenchmarks it doesn't seem like there would be any noticeable perf difference.

We have code in src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs taken from dotnet (see description). We should consider pulling upstream changes (i.e. use of PipeStream).

(from #18751) We have code in src/System.Management.Automation/engine/remoting/common/RemoteSessionNamedPipe.cs that could use NamedPipeClientStream.


Offcanvas Backdrop not triggering close

components: Offcanvas
reactstrap version #9.1.4
import method es
react version #18.2.0
bootstrap version #5.2.1

What is happening?
Offcanvas is working but I would like to be able to close the component by clicking the backdrop

What should be happening?
Clicking the offcanvas backdrop should close the component. This is the functionality of Bootstrap.

Steps to reproduce issue

Open Offcanvas
Click the backdrop
The component does NOT close

Error message in console
paste error message with stacktrack here

Code

Can you provide a reproducible example in CodeSandbox or similar?
https://reactstrap.github.io/?path=/docs/components-offcanvas--offcanvas
This closes when clicked on the backdrop.

@illiteratewriter Toggle "fade" to false and it breaks

Can you provide a reproducible example in CodeSandbox or similar?
https://reactstrap.github.io/?path=/docs/components-offcanvas--offcanvas This closes when clicked on the backdrop.

Please update the example in the URL. It doesn't show the correct usage of this component. I have to go to the first version of the source code to see its usage.

@inboundsan If you use the Storybook documentation and toggle "fade" to false it breaks. You can't click the backdrop and close the off canvas component.


Introduce a helm_test rule

There is currently no validation for the Airy Core helm charts in infrastructure/helm-chart. Often they get bundled in the container and the helm templating syntax, which is prone to errors, crashes at runtime
Proposal
Add a Bazel test rule helm_test that runs helm template on the directory to see if there are any syntax errors _given the default configuration
load("//tools/test:helm_test.bzl", "helm_test")

helm_test(
    values = "values.yaml",
    srcs = ["Chart.yaml"] + glob(["charts/**/*", "templates/**/*"])
)

I like that! Big 👍

I haven't figured it all out but I think we can use this rule to test and build the helm package. Furthermore, we could then even get rid of the upload-helm-chart.sh and use the release target of said rule.
We do then also need a Helm Chart Repository but I think the effort is worth it because the whole process of managing our Helm package becomes more standardized.


Error while running generate.py

I am trying to run generate.py and train.py on sql2nl. But I am receiving the error on Colab. I am able to run training on nl2sql parser, but utterance generator seems to have a problem. Could you please let me know if this file is generated or used directly from other sources.
FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/My Drive/NL2SQL/Models/gazp/exp/sql2nl/r1/best.tar'

+1

You need to train nl2sql and sql2nl to get exp/sql2nl/r1/best.tar  and exp/nl2sql/r1/best.tar  respectively.
I just follow the instruction that author provided and it works now.

For process_sql2nl.py, please comment out the pdb debugging part like https://github.com/DreamerDeo/gazp/blob/5f823a447ffdf5176023a01516d2be7c383294d9/preprocess_sql2nl.py#L61

Thank you, its working for me now


Execute zipline shell commands as ipython magic to keep all scripting in a notebook

Environment
zipline in a docker container
Description of Issue
Given I am a modern developer with multiple computers running different OS, I want to run all my software in docker containers so that my development environment is portable and consistent.
Given I am using zipline in a docker container with Jupyter lab, I want to script everything within a notebook for portability.
Currently, I have to use the command line in the docker container for ingest or in a cell with %%script magic. This gets pretty cumbersome. It would be much easier to run %zipline ingest but that fails.
%zipline ingest
UsageErrorTraceback (most recent call last)
<ipython-input-112-984b05ef838d> in <module>()
----> 1 get_ipython().run_line_magic('zipline', 'ingest')

/opt/conda/envs/zipline/lib/python3.5/site-packages/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line, _stack_depth)
   2129                 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
   2130             with self.builtin_trap:
-> 2131                 result = fn(*args,**kwargs)
   2132             return result
   2133

/opt/conda/envs/zipline/lib/python3.5/site-packages/zipline/__main__.py in zipline_magic(line, cell)
    292             '%s%%zipline' % ((cell or '') and '%'),
    293             # don't use system exit and propogate errors to the caller
--> 294             standalone_mode=False,
    295         )
    296     except SystemExit as e:

/opt/conda/envs/zipline/lib/python3.5/site-packages/click/core.py in main(self, args, prog_name, complete_var, standalone_mode, **extra)
    694         try:
    695             try:
--> 696                 with self.make_context(prog_name, args, **extra) as ctx:
    697                     rv = self.invoke(ctx)
    698                     if not standalone_mode:

/opt/conda/envs/zipline/lib/python3.5/site-packages/click/core.py in make_context(self, info_name, args, parent, **extra)
    619         ctx = Context(self, info_name=info_name, parent=parent, **extra)
    620         with ctx.scope(cleanup=False):
--> 621             self.parse_args(ctx, args)
    622         return ctx
    623

/opt/conda/envs/zipline/lib/python3.5/site-packages/click/core.py in parse_args(self, ctx, args)
    883             ctx.fail('Got unexpected extra argument%s (%s)'
    884                      % (len(args) != 1 and 's' or '',
--> 885                         ' '.join(map(make_str, args))))
    886
    887         ctx.args = args

/opt/conda/envs/zipline/lib/python3.5/site-packages/click/core.py in fail(self, message)
    474         :param message: the error message to fail with.
    475         """
--> 476         raise UsageError(message, self)
    477
    478     def abort(self):

UsageError: Got unexpected extra argument (ingest)

Here's my hack to get this working as is:
import os

# TODO - deal with setting the key in docker
%set_env QUANDL_API_KEY=<my_key>
# Set Zipline data directory to within the project's scope so that I don't pollute my multi-purpose conda container.
os.environ['ZIPLINE_ROOT']=os.path.join(os.getcwd(),'zipline')
# Activate zipline
%load_ext zipline

%%script bash
/opt/conda/envs/zipline/bin/zipline ingest

This works but with the length of time waiting on ingest with no feedback, one starts to wonder if the notebook is hung.
The samples do run...
EG:
%%zipline --start 2016-1-1 --end 2018-1-1
from zipline.api import symbol, order, record

def initialize(context):
    pass

def handle_data(context, data):
    order(symbol('AAPL'), 10)
    record(AAPL=data[symbol('AAPL')].price)

If you are already running Python code you can just call the load function yourself.
For example:
from zipline import bundles
bundles.ingest('bundle-name')

Good thought @llllllllll , but no cigar.
from the cli zipline --help works.
from a cell in a notebook script magic works as such:
%%script bash
/opt/conda/envs/zipline/bin/zipline --help

I can import zipline without error as, import zipline.
But from a cell, from zipline import bundles fails with:
ImportErrorTraceback (most recent call last)
<ipython-input-8-a14f780d0cce> in <module>()
----> 1 from zipline import bundles

ImportError: cannot import name 'bundles'

and
zipline.bundles.ingest()

AttributeErrorTraceback (most recent call last)
<ipython-input-9-cdb3c6d95b3f> in <module>()
----> 1 zipline.bundles.ingest()

AttributeError: module 'zipline' has no attribute 'bundles'

Perhaps something in my setup?
Environment
Linux bf7f37cac929 4.9.87-linuxkit-aufs #1 SMP Wed Mar 14 15:12:16 UTC 2018 x86_64 GNU/Linux

# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
asn1crypto                0.24.0                   py36_0
backcall                  0.1.0                      py_0    conda-forge
bleach                    2.1.3                      py_0    conda-forge
ca-certificates           2018.4.16                     0    conda-forge
certifi                   2018.4.16                py36_0    conda-forge
cffi                      1.11.5           py36h9745a5d_0
chardet                   3.0.4            py36h0f667ec_1
conda                     4.5.4                    py36_0    conda-forge
conda-env                 2.6.0                h36134e3_1
cryptography              2.2.2            py36h14c3975_0
decorator                 4.3.0                      py_0    conda-forge
entrypoints               0.2.3                    py36_1    conda-forge
gmp                       6.1.2                         0    conda-forge
html5lib                  1.0.1                      py_0    conda-forge
idna                      2.6              py36h82fb2a8_1
ipykernel                 4.8.2                    py36_0    conda-forge
ipython                   6.4.0                    py36_0    conda-forge
ipython_genutils          0.2.0                    py36_0    conda-forge
jedi                      0.12.0                   py36_0    conda-forge
jinja2                    2.10                     py36_0    conda-forge
jsonschema                2.6.0                    py36_1    conda-forge
jupyter_client            5.2.3                    py36_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
jupyterlab                0.32.1                   py36_0    conda-forge
jupyterlab_launcher       0.10.5                   py36_0    conda-forge
libedit                   3.1.20170329         h6b74fdf_2
libffi                    3.2.1                hd88cf55_4
libgcc                    7.2.0                h69d50b8_2
libgcc-ng                 7.2.0                hdf63c60_3
libsodium                 1.0.16                        0    conda-forge
libstdcxx-ng              7.2.0                hdf63c60_3
markupsafe                1.0                      py36_0    conda-forge
mistune                   0.8.3                    py36_1    conda-forge
nb_conda                  2.2.1                    py36_0    conda-forge
nb_conda_kernels          2.1.0                    py36_0    conda-forge
nbconvert                 5.3.1                      py_1    conda-forge
nbformat                  4.4.0                    py36_0    conda-forge
nbstripout                0.3.1                    py36_0    conda-forge
ncurses                   6.1                  hf484d3e_0
nodejs                    9.11.1                        0    conda-forge
notebook                  5.5.0                    py36_0    conda-forge
openssl                   1.0.2o                        0    conda-forge
pandoc                    2.2.1                         0    conda-forge
pandocfilters             1.4.2                    py36_0    conda-forge
parso                     0.2.1                      py_0    conda-forge
pexpect                   4.6.0                    py36_0    conda-forge
pickleshare               0.7.4                    py36_0    conda-forge
pip                       10.0.1                   py36_0
prompt_toolkit            1.0.15                   py36_0    conda-forge
ptyprocess                0.5.2                    py36_0    conda-forge
pycosat                   0.6.3            py36h0a5515d_0
pycparser                 2.18             py36hf9f622e_1
pygments                  2.2.0                    py36_0    conda-forge
pyopenssl                 18.0.0                   py36_0
pysocks                   1.6.8                    py36_0
python                    3.6.5                hc3d631a_2
python-dateutil           2.7.3                      py_0    conda-forge
pyzmq                     17.0.0                   py36_4    conda-forge
readline                  7.0                  ha6073c6_4
requests                  2.18.4           py36he2e5f8d_1
ruamel_yaml               0.15.37          py36h14c3975_2
send2trash                1.5.0                      py_0    conda-forge
setuptools                39.2.0                   py36_0
simplegeneric             0.8.1                    py36_0    conda-forge
six                       1.11.0           py36h372c433_1
sqlite                    3.23.1               he433501_0
terminado                 0.8.1                    py36_0    conda-forge
testpath                  0.3.1                    py36_0    conda-forge
tk                        8.6.7                hc745277_3
tornado                   5.0.2                    py36_0    conda-forge
traitlets                 4.3.2                    py36_0    conda-forge
urllib3                   1.22             py36hbe7ace6_0
wcwidth                   0.1.7                    py36_0    conda-forge
webencodings              0.5                      py36_0    conda-forge
wheel                     0.31.1                   py36_0
xz                        5.2.4                h14c3975_4
yaml                      0.1.7                had09818_2
zeromq                    4.2.5                         1    conda-forge
zlib                      1.2.11               ha838bed_2

Thanks for the clarification.
This works:
from zipline.data import bundles
bundles.ingest('quandl')

Interestingly, this does not work: (yes, my api key appears in os.environ)
from zipline.data import bundles
bundles.ingest('quandl', show_progress=True)
ValueErrorTraceback (most recent call last)
<ipython-input-3-9c3d5dddc03e> in <module>()
      1 from zipline.data import bundles
----> 2 bundles.ingest('quandl', show_progress=True)

/opt/conda/envs/zipline/lib/python3.5/site-packages/zipline/data/bundles/core.py in ingest(name, environ, timestamp, assets_versions, show_progress)
    449                 cache,
    450                 show_progress,
--> 451                 pth.data_path([name, timestr], environ=environ),
    452             )
    453

/opt/conda/envs/zipline/lib/python3.5/site-packages/zipline/data/bundles/quandl.py in quandl_bundle(environ, asset_db_writer, minute_bar_writer, daily_bar_writer, adjustment_writer, calendar, start_session, end_session, cache, show_progress, output_dir)
    207         api_key,
    208         show_progress,
--> 209         environ.get('QUANDL_DOWNLOAD_ATTEMPTS', 5)
    210     )
    211     asset_metadata = gen_asset_metadata(

/opt/conda/envs/zipline/lib/python3.5/site-packages/zipline/data/bundles/quandl.py in fetch_data_table(api_key, show_progress, retries)
    111     else:
    112         raise ValueError(
--> 113             "Failed to download Quandl data after %d attempts." % (retries)
    114         )
    115

ValueError: Failed to download Quandl data after 5 attempts.

And
from zipline.data import bundles
bundles.ingest( 'quantopian quandl', show_progress=True)

KeyErrorTraceback (most recent call last)
/opt/conda/envs/zipline/lib/python3.5/site-packages/zipline/data/bundles/core.py in ingest(name, environ, timestamp, assets_versions, show_progress)
    359         try:
--> 360             bundle = bundles[name]
    361         except KeyError:

KeyError: 'quantopian quandl'

During handling of the above exception, another exception occurred:

UnknownBundleTraceback (most recent call last)
<ipython-input-4-6e8f3e352f62> in <module>()
      1 from zipline.data import bundles
----> 2 bundles.ingest( 'quantopian quandl', show_progress=True)

/opt/conda/envs/zipline/lib/python3.5/site-packages/zipline/data/bundles/core.py in ingest(name, environ, timestamp, assets_versions, show_progress)
    360             bundle = bundles[name]
    361         except KeyError:
--> 362             raise UnknownBundle(name)
    363
    364         calendar = get_calendar(bundle.calendar_name)

UnknownBundle: No bundle registered with the name 'quantopian quandl'

The first error just means downloading from quandl failed for some reason, but it is not because there is a missing API key. The second error is that the bundle is quantopian-quandl with a hyphen, not a space.

Perhaps this is a bug? In a jupyter notebook I can execute:
from zipline.data import bundles
bundles.ingest('quandl')

But I get the same ValueError: Failed to download Quandl data after 5 attempts. when adding the argument show_progress=True.
from bash, I can execute:
python
from zipline.data import bundles
bundles.ingest('quandl')

So, it appears the problem is asking for progress from a Jupyter notebook.

Closing as a duplicate of #2603


How long does the code run in your GPU server?

For what dataset do you want to know the runtime?

For what dataset do you want to know the runtime?

such as QM9 and the longest time in any datasets you test.

It's very approximate, but it's in the order of 6h for QM9, 2 days for planar, and one week for sbm, guacamol and moses.
I'm not sure that all models had converged, though. For example, it was very easy to beat all previous methods on planar, so we did not run the model for as long as the SBM one.

Hi Clement,
could you have some explanations why after 3k epochs, the planar accuracy is still 0? Even though the other metrics have been converged a bit? Thx.

I seem to have similar statistics after 3k epochs:
Sampling statistics {'spectre': 0.0158276848560015, 'clustering': 0.213101743441406, 'orbit': 0.05987776607931439, 'planar_acc': 0.0, 'sampling/frac_unique': 1.0, 'sampling/frac_unique_non_iso': 1.0, 'sampling/frac_unic_non_iso_valid': 0.0, 'sampling/frac_non_iso': 1.0}
Here is the training curve:

If your planar acc is still 0 after a long time of training, check that the package versions match the one in the latest commit.


Configurable Featured Post Count

Adds a setting that allows changing the max number of posts that will be placed in a grid at the top of the page.
Example with max count = 4:
https://i.imgur.com/5pF6qrH.png

@askvortsov1 it's still not merged so I can't test it. Can you tell me is it possible to set it at zero?

@askvortsov1 it's still not merged so I can't test it. Can you tell me is it possible to set it at zero?

Yep, that's what I'm doing at ceramichacker.com


Add Status Filters to Compliance Reporting  Profile Details View

User Story
As a Automate User, I want to filter my controls on the Compliance Reporting Profile detall view so that I may see which controls are failing.
Definition of Done
The Profile Details page within a compliance report will have our standard filter buttons above the table.
For now we will just limit to:
All Controls | Failed Controls | Skipped Controls
Demo Script / Repro Steps

User navigates to Compliance > Profiles Tab
Click on any profile
User can then click on a status filter above the Controls data table
System filters controls within table

related: #328

this is old; we are doing something different here; closing


Update gradle wrapper

Why this PR?
Executing flutter run in the example folder, with a running Pixel API 28 emulator, causes the following error:
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
   > Minimum supported Gradle version is 4.6. Current version is 3.3. If using the gradle wrapper, try editing the distributionUrl in
   flutter_map/example/android/gradle/wrapper/gradle-wrapper.properties to gradle-4.6-all.zip

How this PR fixes the issue?
Updated the distributionUrl to gradle-4.6-all.zip
What are the expected outcomes after the merge?
It is possible to run the example app in the Android emulator.

thanks!


does't work on IIS

it works when i use uvicorn to start ther server,but HTTP 500 when i start it by IIS

the reason is:
the 'on_startup' function does't be called on IIS,so the "await FastAPILimiter.init(cache)"also does't be called
my solution:
try to call FastAPILimiter.init on server starting,
FastAPILimiter.redis = cache
FastAPILimiter.prefix = "fastapi-limiter"
FastAPILimiter.identifier =  default_identifier
FastAPILimiter.callback =  default_callback
FastAPILimiter.lua_sha = 'a3f9e982197e9e887f6b5dcb7ec273863bb83aad'  (use  uvicorn start first get the SHA value,otherwise you need an async function)


doesn't scroll to top of transactions on refresh fixes #457

Thanks to Thomgru for the suggestion in #457

Can't argue with a quick fix like that - nice!

@ckhatri nice work, fixes the issue! It creates a small quirk when on a wallet with many pages, because it has to load all those transaction pages again, but it finishes eventually and the scroll stays the same.
+5! 👍


Tabs too small

Tabs are generally too small (width-wise) after this most recent update. The following screenshot illustrates this problem fairly well, as I don't think a default atom feature / tab title should be getting cut off.

Also I understand this is entirely a matter of preference, but I think the width / margin should be bumped up just a tad so this doesn't occur for things like Project Find.

You can edit your own stylesheet located in ~/.atom/styles.less and give them whatever width you're comfortable with.
.tab-bar .tab {
    max-width: 16rem;
}

Is there a way I could make them auto match the width of the text? I tried messing with the css but could not figure it out.


Updated specimen-type migration to run in all environments.

Since there is no uniqueness constraint on facility_device_type, it has acquired duplicate rows in production, which caused the migration to fail when we copied the rows of that table one-for-one into a new table that does have a uniqueness
constraint. Changed the migration to filter out duplicates, and updated the changelog to allow both migrations to be considered valid.
Related Issue or Background Info

production release failed this afternoon

Changes Proposed

adjust the migration so that it can run even in the presence of duplicate rows
kick liquibase until it accepts the new migration

Additional Information
Write-up on root cause will be in Slack.

Because production data is always exciting, it turns out we have seven rows from late November where the device type is not specified for a (canceled) test order. So we can't impose a not-null constraint on the column that relies on that value to be populated. Since I think we can actually get there, temporarily removing the migration that breaks because of this.

Staging deploy is now fixed. Waiting to see what our order operations is for fixing prod--we may only want the first of these commits.

For context on the amazing checksum problem, here is the result of running select id, md5sum from databasechangelog in staging:

id
md5sum

define-enum-types
8:8208f435dbb6cb722e6c4ed9e6c3fb06

initial-schema
8:3a86fbb76db1f516108b5f4d7c091fe8

enforce-queue-uniqueness
8:17381123484884bbb138d7a117a62991

single-race-select
8:64be8805c79f7f3031891f0721c6a5f2

add-facility-table
8:e7346d96da4cca605092c4cdb07c9390

populate-facility-table
8:5057a1f084e10240722e5f337dd5c0ca

add-facility-relationships
8:24cc31a13e321db4670bd43b0bd03bc7

date-tested-backdate
8:a8b954696cf4f6808cc28d76ac0abf99

add-facility-email
8:752a78dae7bd6158f18bbd1af07b0bf5

add-data-hub-upload
8:9de71873a392968794f76b2448bd7734

change-test-results-to-MST
8:bf9c80384ae4eab71cf35479ec87d74e

drop-not-null-last-seen-user
8:15411da9cc6025b91802235fabf9f185

add-swab-type-to-device-type
8:746190c32b0f1982f44f07ec77de9305

event-corrections-feature
8:a0c8ddaa40a362fdd305175273ecb189

add-patient-link-table
8:c2b4d08bbba8c2f08f8253575479c4f7

add-refreshed-at-to-patient-link-table
8:6a4a754c9011df6e1d08c305795611cb

add-is-deleted-to-api-user
8:edb48f2c96539802e35c36055eb52964

add-specimen-tables
8:2ccf9fd11585250559c2cf2a7d4d9ecb

create-migrations-user
8:81db54488bbf3d09d433d1188d436109

populate-specimen-tables
8:824e942da27e8b5c9d965bf00d067d91

test-order-fixup
8:331c96ec2b2995f00787589d54f65a59

complete-specimen-column-additions
8:d493e338b7fb00de8f10143514316be6

(22 rows)

And here it is on my development box:

id
md5sum

define-enum-types
8:d746dcace53ec8b150fbf3ea41f85672

initial-schema
8:325c3a293975c794c778b54787d47715

enforce-queue-uniqueness
8:fe4b7b1080d680f4a8d7f0b18aa3e78f

single-race-select
8:e70977249b0f6b7382d9cea6629751bf

add-facility-table
8:e7346d96da4cca605092c4cdb07c9390

populate-facility-table
8:8acfebd72d49bf4ccbce45f3f7bc1c8a

add-facility-relationships
8:1c5c63c2b7c43160a183fcbe3209ac10

date-tested-backdate
8:a8b954696cf4f6808cc28d76ac0abf99

add-facility-email
8:752a78dae7bd6158f18bbd1af07b0bf5

add-data-hub-upload
8:99b718d433c352249253e68726fda478

change-test-results-to-MST
8:f89f1cc35be1b5063d5c6545dfef77fa

drop-not-null-last-seen-user
8:15411da9cc6025b91802235fabf9f185

add-swab-type-to-device-type
8:746190c32b0f1982f44f07ec77de9305

event-corrections-feature
8:e644c2d76f8219a9449ef91e8695a3db

add-patient-link-table
8:c2b4d08bbba8c2f08f8253575479c4f7

add-refreshed-at-to-patient-link-table
8:6a4a754c9011df6e1d08c305795611cb

add-is-deleted-to-api-user
8:edb48f2c96539802e35c36055eb52964

add-specimen-tables
8:2ccf9fd11585250559c2cf2a7d4d9ecb

create-migrations-user
8:fcc3c5bd9c7b4dbd5c0f16cdb08aa661

populate-specimen-tables
8:61f362e06517d3f504cb8a2e7c5c0c77

test-order-fixup
8:027d8ff0a1972e0e4fea968bcc87aa90

complete-specimen-column-additions
8:d493e338b7fb00de8f10143514316be6

Not all of the checksums are different! Just ... some of them.


Only add runtime files to npm package

https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
Fixes #169
It's generally good practice IMO to keep only the things consumers need to use your lib in npm. In this case, your specs folder references a vulnerable version of jquery, which is fine since it's not used at runtime, but it causes false positives for vulnerability scanners like retireJS.
Keeping your npm bundle slim is also good for helping fight node_modules cruft and slow installs.

Hey @SethDavenport, fully agree with you, unfortunately this library is no longer maintained.
I rewrote it entirely and update it for 2022 and onward: https://github.com/ZooTools/email-spell-checker

💙 Written in TypeScript and removed jQuery
✅ Fixed a couple of bugs like this or this
🚀 Reduced bundle size to <2KB.
✨ Update TLDs (69+) and added modern startup domains (like .io, .so, .xyz or .dev)
🙏 Implemented suggestions that people made in this repo that were ignored.

Link: https://github.com/ZooTools/email-spell-checker
Come check it out and give it a ⭐ for the effort.

OK, thanks, I'll check it out.


PPS detector mapping records separation and serialization

PR description:
This PR addresses part of an issue from (https://github.com/cms-sw/cmssw/pull/40765).
In this PR:

Introduction of new record: TotemAnalysisMaskRcd - separated from TotemReadoutRcd;
Serialization of records and inner classes intended to be placed in the CondDB;
Writer plugin and config for reading XML files and placing objects in SQLite;
Updates of printer plugin which prints records content;

PR validation:
Validation has been made with use of new plugin which reads data from SQLite/XML file and drops them to text file.
All data from XML was dropped to SQLite in separate records and with different IOVs.
Then (using new plugin) objects were read from SQLite and dropped to text file.
Also data from XML files was read and dropped to other text file.
Then files were compared and their content was the same, as expected.

In general looks good, ask @JanChyczynski for a review ! Squash commits may be needed.
Have you tried runTheMatrix tests here ?

Please run
scram build code-checks
scram build code-format

And apply the changes

@brzozia please squash the commits. I think we are ready to go with an official PR, assuming that runTheMatrix shows no problems


rwc-3-longevity-20230211-170317 fails

Describe the bug

ERROR:  QueryError: internal error: Storage error: Hummock error: ReadCurrentEpoch error Cannot read when cluster is under recovery. read<PHONE_NUMBER>502336 < min current epoch<PHONE_NUMBER>420928.

aka fails to recover successfully.
Both meta and compactor restarted multiple times, but seems fail to recover.
Similar to #7851
See details at https://risingwave-labs.slack.com/archives/C048NM5LNKX/p1676178711555369
To Reproduce
No response
Expected behavior
No response
Additional context
Maybe related:
https://github.com/risingwavelabs/risingwave/issues/7841#issuecomment-1427258605
#7753
https://risingwave-labs.slack.com/archives/C0340PNL68P/p1675850610976089?thread_ts=1675841825.247139&cid=C0340PNL68P

duplicated https://github.com/risingwavelabs/risingwave/issues/7852


[BUG] With the environment variable "http_proxy", the connections with the "Denodo JDBC" connector go through the proxy but they should not

Describe the bug
When a user sets the environment variable http_proxy, the connections to Denodo using the "Denodo JDBC" connector (the one based on the SDK, which uses our JDBC driver) go through the proxy but they should not. This is unexpected since our driver does not open HTTP connections.
I guess the "Java layer" of Tableau is reading this environment variable and doing "something" to all the traffic.
Important: consider this. When you set this environment variable, this happens as well:
1. This works: connecting from a simple Java class that opens a connection to Denodo with the Denodo JDBC driver and executes a query.
2. This works: connecting to Denodo from DBeaver and DBVisualizer, using the Denodo JDBC driver.
3. This fails: connecting from Tableau Desktop to Oracle with the Oracle JDBC connector (the driver tries to connect through the proxy) so it is does not seem to be something specific to our driver.
4. This works: the connection from Tableau Desktop to Denodo using the native Denodo connector. This native connector uses either the PostgreSQL ODBC driver or the Denodo ODBC driver.
How to reproduce this

Go to the Tableau Gallery and download the connector "Denodo JDBC" (https://extensiongallery.tableau.com/products/303).

Follow the instructions to install the connector (note you have to download the Denodo JDBC driver).

I can provide a host with a Denodo server running to test this if you do not have one readily available but I do not want to write the credentials here).

Connect to the Denodo server using the Denodo JDBC by Denodo Technologies. This works.

Close Tableau Desktop

Define the environment variable http_proxy. Screenshot:

Start Tableau Desktop and connect to Denodo using the same connector. This fails. Screenshot of the error:

Connect to Oracle using the Oracle JDBC connector and I get a similar error. Screenshot: . This works fine without the variable http_proxy.

Desktop (please complete the following information):

OS: Windows 10.
Tableau Version: Tableau Desktop 2022.2.

About you:
Name: Carlos Santos Canelles
Company: Denodo Technologies.
This problem affects a mutual customer (I can provide the name offline). This customer opened a ticket with Denodo and with Tableau (case #08371475) but they insist we should look into this.

Hi team - did you have time to reproduce the issue?
Thank you.

https://grpc.github.io/grpc/cpp/md_doc_environment_variables.html
gRPC C core based implementations (those contained in this repository) expose some configuration as environment variables that can be set.
grpc_proxy, https_proxy, http_proxy The URI of the proxy to use for HTTP CONNECT support. These variables are checked in order, and the first one that has a value is used.
no_grpc_proxy, no_proxy A comma separated list of hostnames to connect to without using a proxy even if a proxy is set. These variables are checked in order, and the first one that has a value is used.
this is grpc problem.
to fix this problem you can set another environment var:
no_proxy=localhost,<IP_ADDRESS>.
it can help fix this problem.

No response, closing.

This worked on our environment. We told the customer to try this but they did not get back to us.
I will reopen if necessary.


Add Button Groups examples

Subject
Button Groups
Description
We need to make Button Groups examples. You may also refer to https://tailwindui.com/components/application-ui/elements/button-groups when making these examples.
Are you willing to participate in the development of this feature and create a pull request?
None

I want to try this issue.


Incorrect Server version

The get_server_info function always returns server information for
the first server in the server_resp.  Added a check to compare the
clientid against the machineIdentifier to resolve this issue.

Hi @leneguer - thanks so much for catching this bug. I've just merged in a fix based off of your fix in commit 5043c34.


Alter name of package to dd-redisio

Sorry, this was in error and was meant to be pulled into the fork.


FEATURE: support of other cloud provider ( Jelastic, Kubernetes, Docker Swarm, ...)

Hello,
Is it possible to have the support of other standard docker / hosting provider?
It could be a great feature to have the possibility to deploy Hortonworks on internal Kubernetes, DockerSwarm, or even Jelastic, Vmware, CoreOs,....
Thanks

Hi,
Could you please clarify that you would like to deploy Cloudbreak on Kubernetes or you would like Cloudbreak to deploy clusters on Kubernetes.
Thanks,

Hello,
I mean deploy Cloudbreak on Kubernetes or Docker Swarm.
Thanks a lot

deploy Cloudbreak on Kubernetes

+1 (Kube is the future)

Could you please clarify that you would like to deploy Cloudbreak on Kubernetes or you would like Cloudbreak to deploy clusters on Kubernetes.

Being able to deploy Cloudbreak and clusters to Kubernetes would be a wonderful addition and would give Cloudbreak a huge leap ahead of pretty much any other product.

+1


emea-multiple-vat-registration-numbers cannot be activated

cannot "Enable" it. Asked to enable another feature "Tax calculation service" but it's already enable!
@epodkolz
Check screenshot below

Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, consider one of the options described here: Support contact options. In particular, you might want to go to the Dynamics 365 community page to get help with your questions from the Dynamics community.


Clarify documentation for  out_field!

The names (fp, fo) actually stand for field_pos and field_out, but are referred to in the docs as offset and pointer. Unifying these naming conventions would help alleviate confusion.

I can take this one, since I was the one who found it.


Experience/3081: Update Date Validation to Handle Additional Scenarios

This PR:

takes out a mapper that was never going to get ran (NullDateValidator)
extends the validation and error checking algorithms for DATE and DATETIME Element types to nullify or blankify the value, rather than returning an error
adds more date formats to check for the DATE Element type within the validation and normalize methods

Please note that we have another story to address why there are two methods that validate and normalize - 1. to understand why we do this, 2. to optimize if we can, 3. figure out why the HL7Serializer does not do the same process https://app.zenhub.com/workspaces/experience-607d9d5e68b95200150fec37/issues/cdcgov/prime-reportstream/3082
If you are suggesting a fix for a currently exploitable issue, please disclose the issue to the prime-reportstream team directly outside of GitHub instead of filing a PR, so we may immediately patch the affected systems before a disclosure. See SECURITY.md/Reporting a Vulnerability for more information.
Test Steps:

update an  Element of type DATE in a schema to have the nullifyValue attritbute - set it to true - preferably a Date Element that is optional
build app
send in data with that schema of which was edited to use the new Element property with values like  any of these now supported formats:  M/d/yyyy, MMddyyyy, yyyy/M/d, M/d/yyyy HH:mm, yyyy/M/d HH:mm
the expected result of item 3 is that the dates get normalized properly
now, send in a date like "one week ago"
the expected result of item 5 is that the date is blank or nullified

Changes

remove NullDateValidator mapper along with unit tests and such
add a nullifyValue property to Element class to allow for nullifying optional values instead throwing an error if the data sent cannot be parsed
senders can now send in these date formats for dates: M/d/yyyy, MMddyyyy, yyyy/M/d, M/d/yyyy HH:mm, yyyy/M/d HH:mm and the string will be normalized into a date properly
add unit tests for the nullifyValue property

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[x] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Fixes

#issue - List GitHub issues this PR fixes

To Be Done
Create GitHub issues to track the work remaining, if any

#issue

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints?

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints?
Does this change introduce new dependencies that need vetting?
Does this change require changes to our infrastructure?
Does logging contain sensitive data?
Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Median time to review
Total comments

MauriceReeves-usds
32
20h 46m
8

cwinters-usds
26
4h 4m
16

carlosfelix2
22
11h 51m
108

kevinhaube
21
7m
3

clediggins-usds
21
51m
22

RickHawesUSDS
14
4h 9m
21

jimduff-usds
14
13h 49m
22

sean-usds
14
1h 10m
2

whytheplatypus
12
17h 40m
44

TomNUSDS
9
1h 28m
6

brick-green-agile6
5
13h 50m
1

jeremy-page
4
14m
0

ronaldheft-usds
3
10m
1

sethdarragile6
3
3h 19m
10

ahay-agile6
2
1d 9h 28m
0

JosiahSiegel
1
5d 2h 55m
2

jorg3lopez
1
1h 48m
0

jbiskie
1
26m
0

Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Median time to review
Total comments

MauriceReeves-usds
42
16h 44m
11

cwinters-usds
26
4h 4m
16

carlosfelix2
24
3h 54m
118

clediggins-usds
23
1h 30m
36

kevinhaube
20
6m
3

sean-usds
18
1h 20m
3

RickHawesUSDS
15
4h 17m
22

jimduff-usds
15
13h 28m
22

whytheplatypus
13
18h 11m
46

TomNUSDS
9
1h 28m
6

brick-green-agile6
5
13h 50m
1

jeremy-page
4
14m
0

ronaldheft-usds
3
10m
1

sethdarragile6
3
3h 19m
10

ahay-agile6
2
1d 9h 28m
0

JosiahSiegel
1
5d 2h 55m
2

jorg3lopez
1
1h 48m
0

jbiskie
1
26m
0

hi @carlosfelix2 ! thank you for the feedback

i placed all of the error returns in else blocks
i refactored the checking of date string with the known manually entered formats, including the dateFormat variable that we had before, within one function and consolidated the try catch blocks in both checkForError and toNormalized. it is used in these two different places that requires two different outputs
added unit tests for the new function and to test that all is working properly for dates

would you mind reviewing again? it is much appreciated!
thank you! :smile:

I ran ./gradlew testSmoke locally :+1: going to manually merge in order to unblock this


ignore logs from transformers

fix indentation to meet flake8 requirement
ignore logs from transformers globally.
remove duplicate evaluate info

LGTM thanks for adding this!


add kubernetes support for skits

This starter kit has been manually tested to work on both Cloud Foundry and Kubernetes as a starter kit. By merging this PR, this repo will be published as a starter kit in the production IBM Cloud console for customers to use.
Starter kits have an arbitrary convention for passing service credentials into a kubernetes pod which the Watson Developer Cloud SDK does not handle, so there's some arbitrary code here to handle that at startup.

this is safe to merge with the tag changes removed


add modin/env folder for files with pip and conda packages

At the moment, we have several environment files that are located in the root of the repository. Example: df_test_requires.txt, env_windows.yml, requirements.txt, windows_test_requires.txt.
What do you think about adding a folder for these files?

This will reduce the semantic load for users who first see the project.
Also in the future there will be less chances to forget to add the package to any file.

PyCharm detects requirements.txt automatically and verifies project requirements from its contents. Are you sure it will detect this file if it is located in a subfolder?

PyCharm detects requirements.txt automatically and verifies project requirements from its contents. Are you sure it will detect this file if it is located in a subfolder?

For PyCharm we need to manually change the path to requirements.txt file.

So it means that standard location of this file is root of the project. I don't think we should change it.

Ok, let's leave this file at the root.


1.0.0-7 Module not found: Can't resolve './tag'

Looks like something went wrong packaging the last release,  in the 1.0.0-7 package, the dist folder has '/Tag.js' instead of './tag.js' resulting in the error above.

I just encountered the same error.

The module was renamed, but the prepublish script should rebuild dist on install. How are you installing Rebass?

via npm. Could be git/mac case sensitivity issue, no?

Fixed in 1.0.0-8 thanks :)

Awesome, yeah might be some weirdness with npm publish/prepare changes as well. Please reopen if the problem persists


Update dist with grunt dist.

Do not forget run grunt dist after merging, to update dist directory too!

Thanks korun for the PR but I do'nt think this should be done after each merge as the specific version branches and master branch are bleeding edge so the dist will be updated on release, if you use master or 1.4 branch you should use less files, and raw js. If you still want to use bleeding edge and want a dist file you should compile them yourself.
I will leave this PR open to hear about others opinion but compiling the dist folder on each change and merge isn't something I want to do on development branches

Okay, I just tried to update timepicker PR to current master, and saw what dist has conflicts and not contain actual data. :)
So, now I should update PR without dist touching, right?

yes indeed! Dist conflicts can be ignored, just keep the versions of master in your case!


Creating new shapefile as in the  MultiptFSVB sample fails

This issue was imported from CodePlex
jer wrote 2010-11-09 at 01:24
Creating new shapefile as in the MultiptFSVB sample fails due to AttributeTable trying to read existing dbf file for row offsets:
(basically no existing shapefile exists for basis of reading column offsets of table).
error occurs in DotSpatial.Data.AttributeTable.GetRowOffsets when a nonexistent file is opened.
        FileStream myStream = new FileStream(_fileName, FileMode.Open, FileAccess.Read, FileShare.Read, 100000);

GetRowOffsets is being called by DotSpatial.Data.AttributeTable.Fill prior to checking for file existence.
    public void Fill(int numRows)
    {
        if (!_loaded) GetRowOffsets();
        _dataRowWatch = new Stopwatch();
        _dataTable.Rows.Clear(); // if we have already loaded data, clear the data.
        if (File.Exists(_fileName) == false)

keenedge wrote 2010-11-10 at 04:25
Should be fixed in change set 934a9abe396c
jer wrote 2010-11-10 at 15:52
thanks -

Already fixed


Error when pressing rfxtrx switch

When pressing a button on my rfxtrx remote I get the following error. Also no further rfxtrx commands are received.
INFO:homeassistant.components.rfxtrx:Receive RFXCOM event from <class 'RFXtrx.LightingDevice'> type='LightwaveRF, Siemens' id='f11043:16' => f1104316 : 0a140005f1104310050050
INFO:homeassistant.components.switch.rfxtrx:Automatic add f1104316 rfxtrx.switch (Class: LightingDevice Sub: 0)
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state switch.f1104316__0a140005f1104310050050=off; friendly_name=f1104316 : 0a140005f1104310050050 @ 20:34:47 03-02-2016>, entity_id=switch.f1104316__0a140005f1104310050050>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state group.all_switches=off; hidden=True, order=0, entity_id=('switch.f1104316__0a140005f1104310050050',), auto=True, friendly_name=all switches @ 20:34:47 03-02-2016>, entity_id=group.all_switches>
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/threading.py", line 911, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.4/threading.py", line 859, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.4/site-packages/RFXtrx/__init__.py", line 55, in _connect
    self._event_callback(event)
  File "/usr/src/app/homeassistant/components/rfxtrx.py", line 48, in handle_receive
    subscriber(event)
  File "/usr/src/app/homeassistant/components/switch/rfxtrx.py", line 81, in switch_update
    event.values['Command']
KeyError: 'Command'

Other devices including my thermometers work perfectly until the remote is pressed.

I added to following before line 81 where the error comes from:
 _LOGGER.info(
                "Event Values(%s)", event.values
            )

This is the output:
INFO:homeassistant.components.switch.rfxtrx:Event Values({'Rssi numeric': 7})

Some sensor must have been recognizerd as a switch. Switches does not send
rssi values in packets. Check your configuration against real packets.
4. feb. 2016 18:31 skrev "Jacob Tomlinson"<EMAIL_ADDRESS>
I added to following before line 81 where the error comes from:
_LOGGER.info(
"Event Values(%s)", event.values
)
This is the output:
INFO:homeassistant.components.switch.rfxtrx:Event Values({'Rssi numeric': 7})
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1116#issuecomment-179957835
.

Thanks for the response. The device I'm using is a Siemens remote which is controlling a plug socket. I would imagine that it should show up as a switch and have more information in it than that.
I have also tried the same remote out in OpenHAB (which I'm migrating away from) and it managed to receive the ON command successfully.
Any ideas?

I have now disabled rfxtrx switches and the remote is now being detected successfully as a lighting device, which is what I would expect. However if I enable rfxtrx switches again it fails, so it looks like my remote is being detected as a switch over lighting device.
I also have a different type of remote which in OpenHAB is detected as a CHIME. Nothing happens with this at all in Home Assistant.
Also a side note is that when the remote is detected as a light it doesn't auto add, even though I have enabled auto add.

Define it in your configuration as light. That should take care of your
problem.
4. feb. 2016 23:45 skrev "Jacob Tomlinson"<EMAIL_ADDRESS>
I have now disabled rfxtrx switches and the remote is now being detected
successfully as a lighting device, which is what I would expect. However if
I enable rfxtrx switches again it fails, so it looks like my remote is
being detected as a switch over lighting device.
I also have a different type of remote which in OpenHAB is detected as a
CHIME. Nothing happens with this at all in Home Assistant.
Also a side note is that when the remote is detected as a light it doesn't
auto add, even though I have enabled auto add.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1116#issuecomment-180075870
.

Also, it is very basic implementation of the rfxtrx communication in HA. It
only detects switch, or light based on the command sent by the remote. It
does not seem reliable to detect correctly. All my switches has been
detected as light or switch, even though they only send on off command to
rfxtrx. I have checked this with rfxmgr. If a bell is detected by HA there
is no support for this yet, so it will simply be ignored.
5. feb. 2016 06:42 skrev "John arild Berentsen"<EMAIL_ADDRESS>
Define it in your configuration as light. That should take care of your
problem.
4. feb. 2016 23:45 skrev "Jacob Tomlinson"<EMAIL_ADDRESS>
I have now disabled rfxtrx switches and the remote is now being detected
successfully as a lighting device, which is what I would expect. However if
I enable rfxtrx switches again it fails, so it looks like my remote is
being detected as a switch over lighting device.
I also have a different type of remote which in OpenHAB is detected as a
CHIME. Nothing happens with this at all in Home Assistant.
Also a side note is that when the remote is detected as a light it
doesn't auto add, even though I have enabled auto add.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1116#issuecomment-180075870
.

Ok thanks that was really useful. I'm left with a couple of further questions, which may be worth opening in separate issues. I'm also interested in submitting PRs to solve them.

Should HA error in the way it is currently when selecting the wrong type or should it provide a softer error message?
Can Chime/Bell signals be received and if so should that be done as a new component or an add-on to an existing (sensor for example)?
I have another switch type which sends OPEN, CLOSE and STOP commands, which are rollerblind commands, HA detects and successfully works as a light. Should this be implemented as a rollerblind component for rfxtrx?

I am working on improving the rfxtrx connection, https://github.com/balloob/home-assistant/tree/rfxtrx
I hope this will fix your issue too.
I will let you know when it is ready to test.
You are all welcome to contribute to the rfxtrx library and the integration in HA.

@jacobtomlinson  Can you test if PR #1143 fixes your problems?


Fix crash on no processor speed available

Simply handles the case of no speed available by returning an empty string.

This looks like a clean fix - Unfortunately, I do not have the power to merge this :(
Anyone from MS - want to chat? Let us maintain the repo?


.NET Core Release Data (releases.json) Redesign and Deprecation

.NET Core Release Data (releases.json) Redesign and Deprecation
The releases.json and releases.csv files began life as helper tools for some of our internal release work, some experimentation and to possibly be useful to the community. It has been great to learn the files are indeed in use and many folks depend on them as a trigger for a number of activities.

release-notes/releases.json
release-notes/releases.csv

Between the usages which we have become aware and in considering further activities that could be enabled to reason about things such as checking .NET Core version availability and support status, it became clear the current format is inadequate.
An updated format has been designed and tested which will replace the current files. The timeline below describes the path to obsoleting the current files.
The Plan

Date
Action

Oct 2018
Notify the community of the coming change

Oct 2018
Release the new json format into dotnet/core

Oct 2018 - Feb 2019
Maintain the old json and csv files

Feb 2019
Reminder announcement that old format file is coming soon

Mar 2019
Old json and csv files are obsoleted and removed from dotnet/core

Breaking change
If you are currently utilizing the old version json or csv, you will need to update the relevant code to work with the new format. If you are just getting started with consuming this data, use the new version.
The Format
Below are fragments of the files from our most recent .NET Core release.
release-index.json
This file consists of a top level array with data on the latest release versions and a property for locating the more detailed channel-specific releases.json. This file is found in dotnet/core/release-notes
releases-index.json
{
    "releases-index": [
        {
            "channel-version": "2.1",
            "latest-release": "2.1.5",
            "latest-release-date":"2018-10-02",
            "product": ".NET Core",
            "support-phase": "lts",
            "eol-date": "",
            "releases.json": "https://github.com/dotnet/core/blob/master/release-notes/2.1/releases.json",
        },
        ...
}

releases.json
This file provides detailed data for each release. A copy of this file will be found in each versioned directories under dotnet/core/release-notes. For example dotnet/core/release-notes/2.1
releases.json
{
    "channel-version": "2.1",
    "latest-release": "2.1.5",
    "latest-release-date":"2018-10-12",
    "support-phase": "lts",
    "eol-date": "",
    "lifecycle-policy": "https://www.microsoft.com/net/support/policy",
    "releases":
    [
        {
            "release-date":  "2018-10-02",
            "release-version":  "2.1.5",
            "security":  false,
            "release-notes":  "https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1.5/2.1.5.md",
            "runtime":
            {
                "version":  "2.1.5",
                "version-display":  "2.1.5",
                "vs-version":  "15.8.6",
                "files":
                [
                    {
                        "name": "dotnet-runtime-linux-arm.tar.gz",
                        "url": "https://download.visualstudio.microsoft.com/download/pr/4d555219-1f04-47c6-90e5-8b3ff8989b9c/0798763e6e4b98a62846116f997d046e/dotnet-runtime-2.1.5-linux-arm.tar.gz",
                        "hash": "89a77a07065ea24e7198c77a233b9ce5c6cf51b1deb2ef55c88f0adbb2ecd9db1ba4e7d55eec2ef7139c47f91346fed360161a5bb6e3a7ccfc4559bcde286364"
                    },
                    ...
                ]
            }
            "sdk":
            {
                "version":  "2.1.403",
                "version-display":  "2.1.403",
                "vs-version":  "15.8.6",
                "csharp-language":  "7.3",
                "fsharp-language":  "4.5",
                "files":
                [...]
            }
        }
    ]
}

How does the new format account for SDK releases independent of runtime releases?
e.g. I cannot find the 2.1.400 SDK in the new format which is present in the old format, but tools may need to find these version - independent of the runtime version.
Scenario: VSTS (or other CI tool) download tasks that only has the desired SDK version as input.
How do I resolve "2.1.4", "2.1.400", "2.2.100-preview-foo" from the new format json files? (index + release specific json files)

How does the new format account for SDK releases independent of runtime releases?

It looks like the runtime field can just be left out, for example 2.1.201 in the 2.0 channel only has an sdk field. Still weird that 2.1.400 is not in there...
Some other weird things that I noticed:

In the releases.json for 1.1 the version of the SDK is sometimes (but not always) referred to with version-sdk instead of the version field that is used in all other files.
There are two releases without a release-version field, namely 2.1.0-preview2+sdk2.1.300-preview2 and 1.0.1+sdk1.0.0-preview2-003131. Is that on purpose? If so, why?
Release 1.1.6 is listed to be released on 2017-11-14, which is the same day as 1.1.5. According to the release notes it was released on 2018-01-09.

Also, shouldn't 2.2 be listed in the index as preview? And previews 1 and 2 are missing in the 2.2 releases.json.

@leecow ping ^^^^

Sorry @matkoch was on a bit of vacation and missed this. Yes, this is 2 trips 1) the latest channel-version from releases-index.json which would point you to the correct releases.json for picking up the latest release.

@leecow could you also have a look at my comment earlier? esp the question: given an SDK version number (e.g. 2.1.400), how do I get to the download URLs?

@dasMulli - got it. Put that on my mental todo list yesterday while doing something completely different :-)
A possible solution is to include the latest SDK version in release-index.json. Since 'latest-release' == latest runtime version, an sdk field would communicate the latest SDK which carries that runtime.
How does that strike you?
On a slightly different topic, I think a security release note needs to be included in the index. A goal is to provide the ability to determine whether an update is both available and interesting on the first trip to the data.

@leecow the problem is that any mapping between an SDK version and download URLs needs history of the SDKs which is being deprecated as part of this issue.
Having only the "latest for runtime" doesn't help.
The current azure pipeline tasks for the .NET Core tools installer tasks rely on releases.json to give download URLs for any valid SDK version number that has been released in the past. Tasks for other CI/CD systems need this as well.
The user story would be:
In order to create reproducible build definitions, as a build Author, I want to specify the exact SDK version number used during build which is to be downloaded and used during the build process.

Yep, I understand. The index is just a lightweight entry for discovery. The channel releases.json files would have all of the history and details (including download url) to cover what you describe.

@leecow I don't see 2.1.400 in there.
2.1.2 runtime was released with 2.1.302
Then a 2.1.400 was released, again for the 2.1.2 runtime
Then a 2.1.3 runtime was released along a 2.1.401 SDK
We'd need download URLs for all 3 of these SDKs.
Currently, only 2 (2.1.302, 2.1.401) are provided.

I'm thinking through the case where we have an updated toolset which contains an existing runtime.
2.1.500 will be shipping with an updated runtime (2.1.6) so that will be a 'normal' case.

Closing as it seems to be in place by now.


Keyboard shortcuts don't work

Visual Studio Code Version : 1.11.1
Code Settings Sync Version : 2.6.2
Operating System : Windows 10 x64 via Boot Camp
Occurs On: Upload / Download
**Proxy Enabled:**No
GIst Id: fb13eb4c010a3bf385c993432bdaa569
Shift + Alt + U and Shift + Alt + D keyboard shortcuts don't work and have no effect: nothing happens in statusbar upon using the shortcuts. No conflicts detected (see screenshot below). Other keyboard shortcuts within VS Code work well. Manual execution the extension's commands from the Command Palette also works fine.

As far as i can tell you need an open file as active document for the shortcuts to work.

Its appearing in my editor, as @ArsProgramma also said, you need to open some file in the editor in order to run the commands.


SR dataset present in mobile_models contain less images

Looks like we uploaded only 20 images instead of discussed 25 for the SR dataset. Is this expected?
input_path: "https://github.com/mlcommons/mobile_models/raw/main/v3_0/datasets/snusr_lr.zip"
groundtruth_path: "https://github.com/mlcommons/mobile_models/raw/main/v3_0/datasets/snusr_hr.zip"

Please see https://github.com/mlcommons/mobile_models/pull/51#issue-1441368068 for more detail.

Please reopen this issue if you still have other questions.

Can we have 2 zip files on github, one for the first 20 images, one for the remaining 5 images, and unzip both to same folder? for either LR or HR images?

The app does not support that use case yet, and adding support for it is not trivial.
If we need to host big dataset, I suggest just using a service like GitHub LFS or Google Cloud Storage.

I think we can also distribute the dataset as a release.

Each file included in a release must be under 2 GB. There is no limit on the total size of a release, nor bandwidth usage.

https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases#storage-and-bandwidth-quotas