[v0.9.3] Amalgamation for Android broken

Amalgamation for Android still breaking in the recent release:
from mxnet_predict0.cc:3:
[...]/mxnet/mxnet/amalgamation/../dmlc-core/include/dmlc/logging.h:18:22: fatal error: execinfo.h: No such file or directory
 #include <execinfo.h>
                      ^
compilation terminated.
make: *** [mxnet_predict0.d] Error 1

Commenting out that #include <execinfo.h> creates the further error:
In file included from mxnet_predict0.cc:4:0:
[...]/mxnet/amalgamation/../src/ndarray/ndarray.cc:16:30: fatal error: opencv2/opencv.hpp: No such file or directory
 #include <opencv2/opencv.hpp>
                              ^
compilation terminated.
make: *** [mxnet_predict0.d] Error 1

It looks like the USE_OPENCV = 0 is being ignored?

you need to update submodules.
Try a fresh clone

I cloned fresh and retried, same error as before.  @piiswrong any ideas?

USE_OPENCV was accidentally turned on in amalgamation/Makefile. Should be fixed by https://github.com/dmlc/mxnet/commit/01ae4df23735fb837e6f5119bdce77f671133f96
@howard0su

@piiswrong just tested, still breaking:
In file included from jni/predictor.cc:4:0:
jni/../mxnet_predict-all.cc:49:28: fatal error: packet/sse-inl.h: No such file or directory
 #include <packet/sse-inl.h>
                            ^
compilation terminated.

try make -DANDROID=1?

should be fixed by https://github.com/dmlc/mxnet/pull/4797

@d4wud Hi, I met this trouble too. Do you succeed now?

@piiswrong thanks for working on this.
I'm still having the problem posted above with #include <packet/sse-inl.h> on fix https://github.com/dmlc/mxnet/pull/4797
Any ideas?

Try make -DMSHADOW_USE_SSE=0?

I tried adding that to the CFLAGS in Makefile with no affect.

@piiswrong Also no affect adding it to DEFS at line 20

Are you sure you are using a fresh clone of latest code? could you post the content of your mxnet_predict-all.cc?
Here is mine, it doesn't include sse-inl.h:
https://gist.github.com/piiswrong/deeb345ccc5c83426d2249ba86105cfc

I did a fresh clone.  On the most recent commit there are all kinds of new problems.
When I set head to your fix https://github.com/dmlc/mxnet/pull/4797 I am still seeing the #include <packet/sse-inl.h>.  I've attached my mxnet_predict-all.cc.
mxnet_predict-all.cc.zip

make ANDROID=1 is working for me with most recent commit on Ubuntu14.
I'm out of ideas...
If anyone can reproduce this please try to debug or provide more information

Wow that is really strange.  All I can say is that my environment (Mac) amalgamates perfectly for v0.8.0 so I don't see how the problem could be outside mxnet.
@PhanTask Are you able to reproduce this error on c07fe6f4348b8a053a4cac31a12791343cd6fc27?

You can try debugging it by removing the parts of mxnet_predict-all.cc that's causing problem.

@d4wud I cloned the latest version, but I can't even generate mxnet_predict-all.cc now.
I built OpenBLAS and wrote this in makefile:
export OPENBLAS_ROOT=/home/rokim/OpenBLAS
export CC=/home/rokim/android-toolchain/bin/arm-linux-androideabi-gcc
export CXX=/home/rokim/android-toolchain/bin/arm-linux-androideabi-g++

When I run "make ANDROID=1", I met two errors.
First error:
/home/rokim/android-toolchain/bin/arm-linux-androideabi-g++   -std=c++11 -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -fPIC -MD -MF nnvm.d \
		-I `pwd`/../ -I `pwd`/../include \
		-D__MIN__=0 -c nnvm.cc
arm-linux-androideabi-g++: error: unrecognized command line option '-msse2'

The second:
	-I /home/rokim/mxnet/dmlc-core/include \
	-D__MIN__=0 dmlc-minimum0.cc > dmlc.d
In file included from /home/rokim/mxnet/dmlc-core/include/dmlc/io.h:14:0,
                 from ../dmlc-core/src/io/line_split.cc:2,
                 from dmlc-minimum0.cc:6:
/home/rokim/mxnet/dmlc-core/include/dmlc/./logging.h:18:22: fatal error: execinfo.h: No such file or directory
 #include <execinfo.h>
                      ^
compilation terminated.

I commented execinfo.h in /home/rokim/mxnet/dmlc-core/include/dmlc/./logging.h but the first error still exists.
But I backed up the mxnet I used yesterday, on which I can still reproduce the error as yours, with the same mxnet_predict-all.cc:
#if defined(__MACH__)
#include <mach/clock.h>
#include <mach/mach.h>
#endif
#if !defined(__WIN32__)
#include <sys/stat.h>
#include <sys/types.h>
#if !defined(__ANDROID__) && (!defined(MSHADOW_USE_SSE) || MSHADOW_USE_SSE == 1)
#include <emmintrin.h>
#endif
#endif

#include <algorithm>
#include <array>
#include <assert.h>
#include <atomic>
#include <cblas.h>
#include <cctype>
#include <cfloat>
#include <chrono>
#include <climits>
#include <cmath>
#include <condition_variable>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <dirent.h>
#include <errno.h>
**#include <execinfo.h>**
#include <fstream>
#include <functional>
#include <inttypes.h>
#include <iostream>
#include <istream>
#include <limits>
#include <list>
#include <map>
#include <memory>
#include <mutex>
#include <new>
#include <ostream>
**#include <packet/sse-inl.h>**
#include <queue>
#include <random>
#include <regex>
#include <sched.h>
#include <set>
#include <src/c_api/c_api_error.cc>
#include <src/c_api/c_api_graph.cc>
#include <src/c_api/c_api_symbolic.cc>
#include <src/core/graph.cc>
#include <src/core/node.cc>
#include <src/core/op.cc>
#include <src/core/pass.cc>
#include <src/core/symbolic.cc>
#include <src/pass/gradient.cc>
#include <src/pass/infer_shape_type.cc>
#include <src/pass/order_mutation.cc>
#include <src/pass/place_device.cc>
#include <src/pass/plan_memory.cc>
#include <src/pass/saveload_json.cc>
#include <sstream>
#include <stdbool.h>
#include <stddef.h>
#include <stdexcept>
#include <stdint.h>
#include <stdlib.h>
#include <streambuf>
#include <string>
#include <thread>
#include <time.h>
#include <tuple>
#include <type_traits>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>

@piiswrong this is what I'm seeing as well.  Any idea how to proceed?

Seems to be a mac specific problem

Made a fix https://github.com/dmlc/mxnet/commit/7c197d6f3a364083f1336a60a1c5e2695c5e6ffa
I tested it works on 10.11.6

I did a fresh clone and make in amalgamation with Mac 10.12, and get the compile error in iOS project:
mxnet_predict-all.cc:617:19: Use of undeclared identifier 'backtrace'
mxnet_predict-all.cc:10826:3: Unknown type name 'cudaStream_t'
...
I set USE_CUDA = 0 in config.mk while making mxnet.
Any idea to solve?

Could anyone attach the generated mxnet_predict-all.cc file with newest version here, thanks!

Hello Thread,
Some things have indeed been fixed, but I'm still not able to amalgamate.  New crash on :
In file included from jni/predictor.cc:4:0:
jni/../mxnet_predict-all.cc:54:36: fatal error: src/c_api/c_api_error.cc: No such file or directory
 #include <src/c_api/c_api_error.cc>
                                    ^
compilation terminated.
make: *** [jni_libmxnet_predict.o] Error 1

I've attached my mxnet_predict-all.cc.zip:
mxnet_predict-all.cc.zip

The generated mxnet_predict0.d is not referenced by the target, mxnet_predict-all.o. I manually set CFLAGS += -I${MXNET_ROOT}/ -I${MXNET_ROOT}/mshadow/ -I${MXNET_ROOT}/dmlc-core/include -I${MXNET_ROOT}/nnvm -I${MXNET_ROOT}/nnvm/include -I${MXNET_ROOT}/include -I${OPENBLAS_ROOT} -I${OPENBLAS_ROOT}/include -D__MIN__=$(MIN) and it could compile more successfully. But it fails in the end, the message is:
jni/../mxnet_predict-all.cc:22749:25: error: 'log2f' was not declared in this scope

@d4wud Try to add DEFS in mxnet/nnvm/amalgamation/makefile:
DEFS+=-DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_SSE=0 -DDMLC_LOG_STACK_TRACE=0 -DMSHADOW_FORCE_STREAM -DMXNET_USE_OPENCV=0 -DMXNET_PREDICT_ONLY=1 -DDISABLE_OPENMP=1
export CFLAGS = -std=c++11 -Wall -O3 -Wno-unknown-pragmas -funroll-loops -Iinclude -fPIC $(DEFS)

I am attempting amalgamation on the most recent commit 39a2c0cff1be8b8277b2e0a8c55214acc186a49c and progressing beyond where I was getting before.  Unfortunately I'm not getting an error message, just simply a failure after a warning:
jni/../mxnet_predict-all.cc:17359:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (static_cast<int>(ignore_label) == k) {
                                          ^
make: *** [jni_libmxnet_predict.o] Error 1

This is on a Mac.  On Linux it is breaking as well but with a different error:
In file included from jni/predictor.cc:4:0:
jni/../mxnet_predict-all.cc:22:26: fatal error: machine/ansi.h: No such file or directory
 #include <machine/ansi.h>
                          ^
compilation terminated.
Makefile:62: recipe for target 'jni_libmxnet_predict.o' failed
make: *** [jni_libmxnet_predict.o] Error 1

@piiswrong any ideas?
@PhanTask I tried your recommended changes but still no success.

Are you using FreeBSD? Seems like a freebsd specific problem.
For mac, there should have been an error before the warning

@piiswrong no we're on Ubuntu 16.04.1 LTS.
On Mac I only see warnings.  I've attached the entire output of make.
out.txt

How are you compiling it? You need -std=c++11

That is in the CFLAGS for in the Makefiles in both /mxnet/amalgamation/ and /mxnet/nnvm/amalgamation/ . is that what you meant?

This setup (mac) amalgamates for v0.8.0, so I am assuming the setup is correct.

I think you compiler is not fully c++11 compliant. Try upgrading it.

Correct me if I'm wrong, but isn't the compiler delivered in the standalone toolchain?

mxnet doesn't bring toolchain

Sorry, I meant the Android SDK standalone toolchain that is required to amalgamate for Android.  That's what I'm using.
https://developer.android.com/ndk/guides/standalone_toolchain.html#itc

That sounds like it is going to be tricky.
I think the bigger problem is that amalgamation for Android is not part of the routine testing process, so every time there is an update it breaks.  Is there any way we can set up a more lasting solution?  I'm willing to help out.
This is crucial to us, and to the value proposition of MXNet as a whole.

As you can see here: ARM-based	arm-linux-androideabi-
Toolchains are associated with gcc. What's your gcc version for your toolchain?

@d4wud Hi, I met the same issue. You can try adding " #define _GLIBCXX_USE_C99 1 " into the generated "mxnet_predict-all.cc"(or the proper position in the "amalgamation.py") and make again.

But I am not sure if this is the best solution, as there is no need to add such definition in the v0.8.0 setup.

OK @leo-scorpio I'll give it a shot.  Thanks!
@piiswrong here is my GCC version:
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin16.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

@leo-scorpio #define _GLIBCXX_USE_C99 1 had no affect unfortunately.

@d4wud I met the same problem but I solved it by recreating NDK toolchain. You can try to recreate Standalone Toolchain with libc++ headers and libraries since the GNU STL library(libstdc++, by default) seems to not fully support c++11 features(such as function stod stoi stof to_string).

@d4wud Adding param '--stl=libc++' when running python make_standalone_toolchain.py works to me.
For more details:
https://github.com/android-ndk/ndk/issues/82#issuecomment-236979264
https://developer.android.com/ndk/guides/cpp-support.html

@PhanTask I gave it a shot, but now something's breaking in the standalone NDK.
/mxnet/NDK_SATC/arm64_api24/include/c++/4.9.x/cstddef:43:25: fatal error: stddef.h: No such file or directory
 #include_next <stddef.h>
                         ^
compilation terminated.
make: *** [dmlc.d] Error 1

Any ideas what I'm doing wrong that would break something that fundamental as the link to stddef.h?

@d4wud I didn't met this error. It seems that there are many possible causes, you can google it for more solutions. Or maybe you can try those(I don't know if they works):

use arm-linux-androideabi-clang and clang++ (which I used)
add '-stdlib=libc++' to CFLAGS in Makefile.
Check your PATH(export PATH=$PATH:/bin)
use android-ndk-r13b and use api 21 (which I used):
python make_standalone_toolchain.py --arch arm --api 21 --stl=libc++ --install-dir <ndk standalone toolchain>

@PhanTask
I have tried to build as what you say, but I got
/opt/ndk/android-toolchain/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc++ clang38++: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:74: recipe for target 'jni_libmxnet_predict.so' failed make: *** [jni_libmxnet_predict.so] Error 1 .
Also I have tried to find libc++.so and find it only in the file /lib64.
Then I add '-L/opt/ndk/android-toolchain/lib64' to LDFLAGS in Makefile, and got an wanning
'warning: skipping incompatible /opt/ndk/android-toolchain/lib64/libc++.so while searching for c++'.
Using 'readelf -h libc++.so' to check it vision shows that it was a 64-bit library.
So the 'jni_libmxnet_predict.so' need a 32-bit library libc++.so and I cannot find one in android-toolchain.
How can I solve this problem?

@PhanTask
I have find  a 32-bit library libc++.so in /opt/ndk/android-ndk-r13b/sources/cxx-stl/llvm-libc++/libs/armeabi and succeed to get the libmxnet_predict.so.
But when I run an Android app with it, the app break and the Error is:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__xstat" referenced by "libmxnet_predict.so"...

Hi, This is my experience to achieve the success compiling. I hope it could help you solve the issues. Before you proceed, please “make clean" and keep your local source files up-to-date by doing “git submodule update && git pull”. I’m on macOS Sierra and my target is Android 6.0 with 64-bit ARM.

Setup NDK and build your standalone toolchain. (DO NOT add --stl=libc++)

${NDK}/build/tools/make_standalone_toolchain.py --arch arm64 --api 23 --install-dir /tmp/android-toolchain
export PATH=/tmp/android-toolchain/bin:$PATH && export CC=aarch64-linux-android-gcc && export CXX=aarch64-linux-android-g++ (Yes, I am using gcc and g++ rather than clang and clang++)

Modify the source files as follows:

amalgamation/amalgamation.py

line 128: add  "#define fopen64 std::fopen “ and “#define _GLIBCXX_USE_C99 1”

amalgamation/Makefile

line 3: change to "export OPENBLAS_ROOT=${MXNET_ROOT}/../OpenBLAS”
line 70: change to “CFLAGS+=  -O3”
line 71: change to “LDFLAGS+=  -Wl,--no-warn-mismatch”

nnvm/amalgamation/Makefile (commented by @PhanTask)

line 2: change to
DEFS+=-DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_SSE=0 -DDMLC_LOG_STACK_TRACE=0 -DMSHADOW_FORCE_STREAM -DMXNET_USE_OPENCV=0 -DMXNET_PREDICT_ONLY=1 -DDISABLE_OPENMP=1
export CFLAGS = -std=c++11 -Wall -O3 -Wno-unknown-pragmas -funroll-loops -Iinclude -fPIC $(DEFS)

Now you can go to the amalgamation directory and type “make ANDROID=1”. Wish you good luck! @d4wud

@nihilityworld Try to add libc++.so(or libc++_shared.so, which I used actually) to your android project(same location as libmxnet_predict.so) to see if it works.

@nihilityworld Also, I didn't add libc++.so or libc++_shared.so path in LDFLAGS manually, and didn't met your error and warning when running make ANDROID=1. So it is strange that everyone seems to met different errors and have different solutions...Good luck...

@PhanTask Can you send me your 'libmxnet_predict.so' file? My e-mail address is<EMAIL_ADDRESS>Thanks!

@nihilityworld OK, I'm outside now, I will send it to you later.

@nihilityworld Sent it to you already, with libc++_shared.so. Please check.

@PhanTask I have tried the library you send to me, but it break and I get the error:
Caused by: org.dmlc.mxnet.MxnetException: Failed loading Op pool1_norm1 of type LRN: [09:52:27] jni/../mxnet_predict-all.cc:22014: Check failed: op != nullptr Operator LRN is not registered
How to modify mxnet_predict-all.cc to register LRN?
I have tried mxnet/tests/python/mxnet_predict_example.py with the params and symbol file android used and can get right result.

Hello guys, have you resolved the issues and built the android library successfully? I am still encountering the issues and post it here but seems there's no response. Really looking forwards to help.

@PhanTask
I  succeed to get the libmxnet_predict.so.
But when I run an Android app with it, the app break and the Error is:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__cxa_thread_atexit" referenced by "libmxnet_predict.so"...
Can you send me your 'libmxnet_predict.so' file? My e-mail address is<EMAIL_ADDRESS>Thanks!

@PhanTask @PetroWu @piiswrong @d4wud
Can anyone share his/her successful method of compiling amalgamation for Android pls?
I fellow the "How to compile Amalgamation for android with NNPACK? #4969", but there are same errors as above.

I achieve to compile mxnet for android with this ugly method: https://github.com/dmlc/mxnet/issues/6889

I have achieved to compile mxnet amalgamation for android successfully, and put the steps at #7146
How to compile Amalgamation for android?
thanks a lot!

@PhanTask what your mxnet_predict.so version?
have you met this problem when i used mxnet_predict.so which i compiled in android:

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZTVN4dmlc2io23IndexedRecordIOSplitterE"

i tried so many times~can you give me some advice?
or send me your mxnet_predict.so~<EMAIL_ADDRESS>

@novioleo hi, i met with same error with you, compied for arm64, do you have any clue for this? thanks in advance!

@zhenglaizhang i need to add a line to "dmlc-minimum0.cc":
#include "../dmlc-core/src/io/recordio_split.cc"
if you encounter the similar problem in the next compile progress,you should try to add relevant .cc file to dmlc-minimum0.cc or mxnet_predict0.cc.

@novioleo yeah, thanks for the info, i succeeded in building the jni so.


OverflowError: Cannot convert float infinity to integer

Command used:
Command executed:

  epic --treatment Control2_treatment.bed.gz --control Control2_control.bed.gz --genome hg19 --fragment-size 150 > Control2_epic.bed

Resulting error:
Command error:
  # epic --treatment Control2_treatment.bed.gz --control Control2_control.bed.gz --genome hg19 --fragment-size 150 (File: epic, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )

  gzip: stdout: Broken pipe
  Used first 10000 reads of Control2_treatment.bed.gz to estimate a median read length of 34.0
  Mean readlength: 33.3074, max readlength: 37, min readlength: 20. (File: find_readlength, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
  Using an effective genome fraction of 0.810858412293. (File: genomes, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
  Binning Control2_treatment.bed.gz (File: run_epic, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
  Binning chromosomes 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, M, X, Y (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
  Merging the bins on both strands per chromosome. (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:12 )
  Binning Control2_control.bed.gz (File: run_epic, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:13 )
  Binning chromosomes 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, M, X, Y (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:13 )
  Merging the bins on both strands per chromosome. (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:03:40 )
  Merging ChIP and Input data. (File: helper_functions, Log level: INFO, Time: Thu, 08 Sep 2016 12:03:40 )
<PHONE_NUMBER>.0 effective_genome_length (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
  200 window size (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
  0 total chip count (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
  0.0 average_window_readcount (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
  1 island_enriched_threshold (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
  4.0 gap_contribution (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
  1.0 boundary_contribution (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
  Traceback (most recent call last):
    File "/usr/local/anaconda2/bin/epic", line 4, in <module>
      __import__('pkg_resources').run_script('bioepic==0.1.6', 'epic')
    File "/usr/local/anaconda2/lib/python2.7/site-packages/pkg_resources.py", line 461, in run_script
      self.require(requires)[0].run_script(script_name, ns)
    File "/usr/local/anaconda2/lib/python2.7/site-packages/pkg_resources.py", line 1194, in run_script
      execfile(script_filename, namespace, namespace)
    File "/usr/local/anaconda2/lib/python2.7/site-packages/bioepic-0.1.6-py2.7.egg-info/scripts/epic", line 165, in <module>
      run_epic(args)
    File "/usr/local/anaconda2/lib/python2.7/site-packages/epic/run/run_epic.py", line 45, in run_epic
      compute_background_probabilities(nb_chip_reads, args)
    File "/usr/local/anaconda2/lib/python2.7/site-packages/epic/statistics/compute_background_probabilites.py", line 49, in compute_background_probabilities
      boundary_contribution, genome_length_in_bins)
    File "/usr/local/anaconda2/lib/python2.7/site-packages/epic/statistics/compute_score_threshold.py", line 24, in compute_score_threshold
      current_scaled_score = int(round(score / BIN_SIZE))
  OverflowError: cannot convert float infinity to integer

Any ideas?

The last time this happened there was a problem with the users files.
Could you please post the output of zcat Control2_treatment.bed.gz | head | cat -et?
On Thursday, September 8, 2016, Carlos Guzman<EMAIL_ADDRESS>wrote:

Command used:
Command executed:
epic --treatment Control2_treatment.bed.gz --control Control2_control.bed.gz --genome hg19 --fragment-size 150 > Control2_epic.bed
Resulting error:
Command error:
epic --treatment Control2_treatment.bed.gz --control Control2_control.bed.gz --genome hg19 --fragment-size 150 (File: epic, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
gzip: stdout: Broken pipe
Used first 10000 reads of Control2_treatment.bed.gz to estimate a median read length of 34.0
Mean readlength: 33.3074, max readlength: 37, min readlength: 20. (File: find_readlength, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
Using an effective genome fraction of 0.810858412293. (File: genomes, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
Binning Control2_treatment.bed.gz (File: run_epic, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
Binning chromosomes 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, M, X, Y (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )
Merging the bins on both strands per chromosome. (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:12 )
Binning Control2_control.bed.gz (File: run_epic, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:13 )
Binning chromosomes 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, M, X, Y (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:13 )
Merging the bins on both strands per chromosome. (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:03:40 )
Merging ChIP and Input data. (File: helper_functions, Log level: INFO, Time: Thu, 08 Sep 2016 12:03:40 )
2510169508.0 effective_genome_length (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
200 window size (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
0 total chip count (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
0.0 average_window_readcount (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
1 island_enriched_threshold (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
4.0 gap_contribution (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
1.0 boundary_contribution (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )
Traceback (most recent call last):
File "/usr/local/anaconda2/bin/epic", line 4, in
import('pkg_resources').run_script('bioepic==0.1.6', 'epic')
File "/usr/local/anaconda2/lib/python2.7/site-packages/pkg_resources.py", line 461, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/anaconda2/lib/python2.7/site-packages/pkg_resources.py", line 1194, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/anaconda2/lib/python2.7/site-packages/bioepic-0.1.6-py2.7.egg-info/scripts/epic", line 165, in
run_epic(args)
File "/usr/local/anaconda2/lib/python2.7/site-packages/epic/run/run_epic.py", line 45, in run_epic
compute_background_probabilities(nb_chip_reads, args)
File "/usr/local/anaconda2/lib/python2.7/site-packages/epic/statistics/compute_background_probabilites.py", line 49, in compute_background_probabilities
boundary_contribution, genome_length_in_bins)
File "/usr/local/anaconda2/lib/python2.7/site-packages/epic/statistics/compute_score_threshold.py", line 24, in compute_score_threshold
current_scaled_score = int(round(score / BIN_SIZE))
OverflowError: cannot convert float infinity to integer
Any ideas?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/endrebak/epic/issues/38, or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ9I0v4qV0KRQOWrbWeG0em76JWACekEks5qoE_dgaJpZM4J4SS-
.

And if this is not it, I will probably be able to find the bug right away if you could send me the files privately through dropbox or something.

Head of treatment bed:
10^I60560^I60594^IHWI-EAS306_8184_FC309UE_CR_3_72_357_713^I1^I+$
10^I61167^I61200^IHWI-EAS306_8184_FC309UE_CR_2_78_553_1598^I1^I-$
10^I62038^I62073^IHWI-EAS306_8184_FC309UE_CR_2_78_539_852^I1^I-$
10^I62082^I62116^IHWI-EAS306_8184_FC309UE_CR_3_72_1521_1020^I1^I-$
10^I62305^I62340^IHWI-EAS306_8184_FC309UE_CR_2_55_774_35^I1^I-$
10^I62578^I62611^IHWI-EAS306_8184_FC309UE_CR_2_26_1576_1213^I1^I-$
10^I62588^I62621^IHWI-EAS306_8184_FC309UE_CR_2_79_1251_742^I1^I-$
10^I62742^I62775^IHWI-EAS306_8184_FC309UE_CR_3_13_999_509^I1^I+$
10^I63075^I63105^IHWI-EAS306_8184_FC309UE_CR_3_44_859_1033^I1^I-$
10^I63765^I63799^IHWI-EAS306_8184_FC309UE_CR_3_24_1570_486^I1^I+$

Head of Input bed:
10^I60560^I60594^IHWI-EAS306_8184_FC309UE_CR_3_72_357_713^I1^I+$
10^I61167^I61200^IHWI-EAS306_8184_FC309UE_CR_2_78_553_1598^I1^I-$
10^I62038^I62073^IHWI-EAS306_8184_FC309UE_CR_2_78_539_852^I1^I-$
10^I62082^I62116^IHWI-EAS306_8184_FC309UE_CR_3_72_1521_1020^I1^I-$
10^I62305^I62340^IHWI-EAS306_8184_FC309UE_CR_2_55_774_35^I1^I-$
10^I62578^I62611^IHWI-EAS306_8184_FC309UE_CR_2_26_1576_1213^I1^I-$
10^I62588^I62621^IHWI-EAS306_8184_FC309UE_CR_2_79_1251_742^I1^I-$
10^I62742^I62775^IHWI-EAS306_8184_FC309UE_CR_3_13_999_509^I1^I+$
10^I63075^I63105^IHWI-EAS306_8184_FC309UE_CR_3_44_859_1033^I1^I-$
10^I63765^I63799^IHWI-EAS306_8184_FC309UE_CR_3_24_1570_486^I1^I+$

I can send the files to you via dropbox if you still need them. They're encode files. Specifically ENCSR000DLY and it's associated control.

I was able to reproduce this; it happens when there is no "chr" in the
chromosome names. For now you can solve it by running
sed "s/^/chr/" treatment.bed > ucsc_treatment.bed
sed "s/^/chr/" input.bed > ucsc_input.bed
Thanks for reporting. I will support encode style chromo names soon, but do
not have time to fix it right now.
On Fri, Sep 9, 2016 at 4:55 PM, Carlos Guzman<EMAIL_ADDRESS>wrote:

Head of treatment bed:
10^I60560^I60594^IHWI-EAS306_8184_FC309UE_CR_3_72_357_713^I1^I+$
10^I61167^I61200^IHWI-EAS306_8184_FC309UE_CR_2_78_553_1598^I1^I-$
10^I62038^I62073^IHWI-EAS306_8184_FC309UE_CR_2_78_539_852^I1^I-$
10^I62082^I62116^IHWI-EAS306_8184_FC309UE_CR_3_72_1521_1020^I1^I-$
10^I62305^I62340^IHWI-EAS306_8184_FC309UE_CR_2_55_774_35^I1^I-$
10^I62578^I62611^IHWI-EAS306_8184_FC309UE_CR_2_26_1576_1213^I1^I-$
10^I62588^I62621^IHWI-EAS306_8184_FC309UE_CR_2_79_1251_742^I1^I-$
10^I62742^I62775^IHWI-EAS306_8184_FC309UE_CR_3_13_999_509^I1^I+$
10^I63075^I63105^IHWI-EAS306_8184_FC309UE_CR_3_44_859_1033^I1^I-$
10^I63765^I63799^IHWI-EAS306_8184_FC309UE_CR_3_24_1570_486^I1^I+$
Head of Input bed:
10^I60560^I60594^IHWI-EAS306_8184_FC309UE_CR_3_72_357_713^I1^I+$
10^I61167^I61200^IHWI-EAS306_8184_FC309UE_CR_2_78_553_1598^I1^I-$
10^I62038^I62073^IHWI-EAS306_8184_FC309UE_CR_2_78_539_852^I1^I-$
10^I62082^I62116^IHWI-EAS306_8184_FC309UE_CR_3_72_1521_1020^I1^I-$
10^I62305^I62340^IHWI-EAS306_8184_FC309UE_CR_2_55_774_35^I1^I-$
10^I62578^I62611^IHWI-EAS306_8184_FC309UE_CR_2_26_1576_1213^I1^I-$
10^I62588^I62621^IHWI-EAS306_8184_FC309UE_CR_2_79_1251_742^I1^I-$
10^I62742^I62775^IHWI-EAS306_8184_FC309UE_CR_3_13_999_509^I1^I+$
10^I63075^I63105^IHWI-EAS306_8184_FC309UE_CR_3_44_859_1033^I1^I-$
10^I63765^I63799^IHWI-EAS306_8184_FC309UE_CR_3_24_1570_486^I1^I+$
I can send the files to you via dropbox if you still need them. They're
encode files. Specifically ENCSR000DLY and it's associated control.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/endrebak/epic/issues/38#issuecomment-245937519, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQ9I0vvVW6pY5nzQ-Sb69-z5GZJ0RLFUks5qoXNWgaJpZM4J4SS-
.

Great! Thank you!

All of zebrafish genome contigs are not called ~ "^chr".
IMHO chromosome names should be assumed to be any arbitrary strings without white characters.

Thanks for the feedback!
I agree that epic should handle gencode genome names, but I do not see how to handle arbitrary strings.
The problem is that I have a lookup table for each supported genome:
# example dm3
chr2L	23011544
chr2LHet	368872
chr2R	21146708
chr2RHet	3288761
chr3L	24543557
chr3LHet	2555491
chr3R	27905053
chr3RHet	2517507
chr4	1351857
chrU	10049037
chrUextra	29004656
chrX	22422827
chrXHet	204112
chrYHet	347038
chrM	19517

I need to match the chromosome names in the user's bed files to the chromosome names in the lookup table. If the names are arbitrary strings I do not see how to do it.
Also, contigs (are those non-canonical chromosome parts?) are not supported because they would mess with mappability and total genome length. Of course if the contig length is <<< genome length, this should not matter much.

@balwierz In 0.1.21 I have added the flag --chromsizes/-cs so that arbitrary genomes, assemblies or simulated data can be used.


Most Recent Foundry (Version 9) broke resize and reposition hotkeys of Alt+arrow and shift+arrow

The really convenient means of resizing tokens broke with the most recent foundry update. trying to alt+arrow or shift+arrow now move the selected token

To give more update (as I'm dealing with this issue too), this is due to there no longer being a game.keyboard.getKey() function.


How frequently the SQL Vulnerability assessment rules change

Coming from this doc https://docs.microsoft.com/en-us/azure/azure-sql/database/sql-database-vulnerability-assessment-rules-changelog?view=azuresql, I learned that the SQL Vulnerability assessment rules change periodically.
How frequently the SQL Vulnerability assessment rules change ?
If there is an urgent new security vulnerability occurs, will the SQL Vulnerability assessment service change the rules at once to follow the new security issues?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 580e36c0-d125-8805-d085-fac5286e2766
Version Independent ID: cfc173a4-4a43-c9aa-4f9b-149599eb57da
Content: SQL Vulnerability assessment rules changelog - Azure SQL Database
Content Source: azure-sql/database/sql-database-vulnerability-assessment-rules-changelog.md
Service: sql-db-mi
Sub-service: security
GitHub Login: @DavidTrigano
Microsoft Alias: datrigan

Hi @yezhu6 ,
Thanks for sharing this. Thread has been assigned to concerned author to take care.
Hi @DavidTrigano ,
Could you please look into this thread ask about SQL Vulnerability assessment rules change.

@yezhu6
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@yezhu6 we update the rules periodically based on customer feedback, new/deprecated features and also if we identify changes that can help better protect against trending attacks against SQL Server.
Hope this helps.

Hi @yezhu6 , thanks for contacting Microsoft! Please let us know if you have any further questions. I'll go ahead and close out this Git Issue but please comment if you need anything further.
Thanks again and hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close
#reassign:CESANU


Update logo and About section of README

Questions
Answers

Description?
Update logo and About section of README

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes https://github.com/PrestaShop/PrestaShop/issues/15858

How to test?
Please check that the logo and the About section of README are updated.

The code seems to be broken with composer v2 :(

The code seems to be broken with composer v2 :(

Need php-cs-fixer upgrade 2.15.1 => 2.16.4

@matks #77

Thanks @Julievrz


Step is broken for use with Express.js!

Hi,
I started to create an app with the most popular node web framework Express.js and I discovered that Step might be broken if you want to use it inside of Express.
For me it seems that res.send() is causing Step to "step forward" which is a bad, bad thing. Look at the following example app:
var express = require("express");
var step    = require("step");

var app = express.createServer();

app.get("/", function(req, res)
{
    step(
        function one()
        {
            console.log("one");

            if (true)
                return res.send("one");

            this();
        },
        function two()
        {
            console.log("two");

            res.send("two");
        }
    );
});

app.listen(8080, function() {
    console.log("App is running on port 8080");
});

If you run this example and go in your browser to http://localhost:8080 this is what you get:

As you can see in the code, the output "two" actually never should be happen because the first function inside of step should always return.
IMHO this is a really crucial bug because it makes Step (which is awesome by the way) almost unusable for most node projects.

It's not that res.send() is doing anything special, it's that you're forwarding it's return value to step.  Return values are significant in the current version step.  If you instead do res.send("one");return; you won't see this behaviour.
Also I'm considering removing this feature from Step.  Please comment on this gist if you have input: https://gist.github.com/1524578


[FR] Method, later an API, for moving an outer storage container between locations

Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find a similar feature request

Problem statement
I would like to be able to pick up an big container, with a number of smaller parts containers and bags inside, and move the outer container to another room.
I plan to do this by a wireless barcode scanner, which I will interface with Inventree.
I am thinking of a mechanism where I first scan the outer container's barcode and then do a "check in" of it to a new storage location by barcode. All sublocations should be updated.
I can manage the logic and code for my particular use case, I just need to understand the implications of updating all the paths.  Is there some registry of storage paths, or is the storage path stored with each part?  I have not found any database schema.
Suggested solution
I would like Inventree to gracefully handle relocation of a storage unit at any level. This is a common use case for a multiroom electronics lab or shared workspace, e g makerspace.
Priorities:

An answer on the implications of, and best practice for, (bulk?) changings paths.
An API that implements the preferred way to move an outer container, thus altering a lot of storage paths.
UI for doing this operation at the outer container level.

Describe alternatives you've considered
Altering the database myself.  I run the docker dev setup right now, but I would like the move container to work on all supported databases.
Examples of other systems
No response
Do you want to develop this?

[X] I want to develop this.

Sounds interesting in general. A word of warning: directly messing with the database can be problematic. Wrap your action in an atomic block to limit operations while keeping all the ORM benefits. Paths are constructed on the fly, they are consisting of nested StockLocation objects.
There are similar, maybe duplicate issues on the books for a while now, especially #2058 comes to mind.
I personally do not have bandwidth or interest for this but maybe someone else is intrested.

@eriklundh this functionality is already supported. For example in the app, when viewing a particular stock location, you can select "transfer stock location" and use the barcode scanner to "move" it into another location.
We do not have the barcode side of things implemented in the web interface currently, but the code (and API) is there

Great!
Then I can work out the logic for my use case with a handheld barcode scanner, and hopefully over time make it general enough to be useful as a contribution.  I have some thoughts about how to make it as frictionless as possible with bar codes, "easier than not" to keep location up to date, when you - like me - often move around outer storage units.
Thank you for a the great work you put into Inventree!
(I have reached a major pain point right now, and need to get better organized)

@eriklundh our barcode support could definitely be much better, and I think would make the software so much more user friendly!
We are currently in the middle of a major UI refactor, moving to react for the web front-end, so any barcode stuff you want to add in will be best done when that is ready for contributions :)

I need this myself and like to implement this. @eriklundh have you started development already?

No, not yet.
FYI: I am currently spending all my spare time on replacing all doors and
windows on the main house of my old family farm. Has to be done before the
late autumn cold hits the south of Sweden. It is just me and my wife, no
extra help.
I don not expect to have serious time to spend on InvenTree until late
October.
/Erik
On Sun, 17 Sep 2023 at 10:55, Lukas @.***> wrote:

I need this myself and like to implement this. @eriklundh
https://github.com/eriklundh have you started development already?
—
Reply to this email directly, view it on GitHub
https://github.com/inventree/InvenTree/issues/5297#issuecomment-1722428562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJUSVH2LMCI4V42YNA3J2TX223J3ANCNFSM6AAAAAA2R2VHMA
.
You are receiving this because you were mentioned.Message ID:
@.***>

So we are all on the same page - if I am reading this correctly, what is proposed here is to implement the required barcode functionality in the web interface, yeah? The API framework should all be in place already.

There is already an API to move locations around? Didn't saw that. Then I only need to implement a simple form in the web Interface for handeling this. Using barcodes was not really my priority, I wanted to build the api. Also for categories to move one or more nodes with its sub tree to another parent.

@wolflu05 I still feel like I am missing something here, but this seems simple to implement. Each location has a "parent" location. To "move" a location, simply change the parent for that location.
e.g.
PUT
URL = /api/stock/location/1/
DATA = {
  'parent': 3,
}

Locations are a MPTT models to represent the tree, I don't think we can mess around on our self with that, because there need to be the lft, rght, path string, level fields be updated on db. And there is this move_to utility function from Django-mptt, so I think we should use that.

In addition, if such a dedicated route exist, one could later also implement tracking of those movements like proposed in #2058

@wolflu05 you can already change the parent location for a location, using the API... The MPTT tree updates are performed automatically!
Look at the "edit location" function on any stock location - see that you can change the location parent? That is all that is required to move a location tree around.

In addition, if such a dedicated route exist, one could later also implement tracking of those movements like proposed in #2058

Location tracking would be a good addition - and could be implemented into the current code without a new API endpoint. Much like we do for stock item updates.

Look at the "edit location" function on any stock location - see that you can change the location parent? That is all that is required to move a location tree around.

I See, works like expected, didn't knew this was already possible. Then only the issue title is misleading.

Location tracking would be a good addition - and could be implemented into the current code without a new API endpoint. Much like we do for stock item updates.

Yeah, makes sense too, sorry for confusion, but tracking is not what I need currently, just got in that in mind So everything I need works already.

A clarification:
The approach to barcode scanning that I sketched “on a napkin” would have a
server process talking to InvenTree APIs. The server process would then use
MQTT to talk to small interface devices, based on ESP32 (typically a bridge
to an Bluetooth barcode reader) or Raspberry Pi. One ESP32 reads barcodes.
A Raspberry pi drives a big wall display.  Another Pi interfaces with a
label printer, etc. I have done similar setups with different devices and
mixed interface hardware in the past. So far MQTT has been useful to tie
things together. It is also easy to do “pipes and filters”-style
programming that is harder if you just interface with APIs.
Some later ESP32s can also be used to detect presence in a certain room, an
inexpensive albeit coarse indoor positioning, helping the forgetful user
that forget to scan the correct room barcode when placing a container.
/Erik
On Mon, 18 Sep 2023 at 13:03, Lukas @.***> wrote:

Look at the "edit location" function on any stock location - see that you
can change the location parent? That is all that is required to move a
location tree around.
I See, works like expected, didn't knew this was already possible. Then
only the issue title is misleading.
Location tracking would be a good addition - and could be implemented into
the current code without a new API endpoint. Much like we do for stock item
updates.
Yeah, makes sense too, sorry for confusion, but tracking is not what I
need currently, just got in that in mind So everything I need works already.
—
Reply to this email directly, view it on GitHub
https://github.com/inventree/InvenTree/issues/5297#issuecomment-1723186227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJUSVBRXXQJX6LBGBWJRXDX3ATA3ANCNFSM6AAAAAA2R2VHMA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@eriklundh So on the InvenTree side, we are only talking about some UI changes?


ForEach doesn't update when the viewModel.state changed

When I update my viewModel.state, the CellView is not recreated at all
It makes CellView sticks with old value.
   ForEach(viewModel: viewModel,
                            collection: \.secondSecitonRows,
                            identifiableRowToCollectionAction: { _,
                                rowAction in

                                rowAction
                            }, content: { (subViewModel: CellView.ViewModel) in

                                CellView(viewModel: subViewModel).frame(height: 38)
                            })

I think the issue comes from ForEach implementation. It always sends the old value row.
If the implementation compute the new value from the latest state, the issue should be resolved.
self.init(
            viewModel.state[keyPath: collection].map { row in
                viewModel.projection(
                    action: { rowAction in
                        identifiableRowToCollectionAction(row.id, rowAction)
                    },
                    state: { _ in
                        row
                    }
                )

My bad, I forget to add @ObservedObject to var viewModel: ViewModel


[Protection Level] Table "Customer" Function "IsContactUpdateNeeded" remove local

Depending on the function "IsContactUpdateNeeded" we control a mailing for customer update notification. We want to avoid having duplicate function for therefore we ask for removing local.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Demonstrate facets in python

Lenses and facets are fully implemented and documented. Super close to 1.0!


Add RGB565 mode for OV7725

Implements #30
Adds support for RGB565 bitmaps. These can be downloaded as single files or streamed like JPEGs.

Merging this now; will add configuration via esp_console in a separate commit.


Wasabi wallet was removed from bitcoin-only.com

    Wasabi wallet was removed from bitcoin-only.com

Originally posted by @6102bitcoin in https://github.com/bitcoin-only/bitcoin-only/issues/733#issuecomment-1369190038
Wasabi Wallet should not have been removed from bitcoin-only.com.  It adheres to the listing requirements: https://bitcoin-only.com/listing-requirements
-Support Bitcoin
-Not support altcoins

As of March 2022, Wasabi wallet has started refusing certain blacklisted UTXOs from registering to their coordinator’s CoinJoins. As zkSNACK’s coordinator is the only one officially used by Wasabi wallet, effectively meaning that every UTXO registering to CoinJoin done by Wasabi wallet is under the company’s control.
https://twitter.com/wasabiwallet/status/1503091503207432193
https://is.muni.cz/th/kbvx1/Master_Thesis.pdf


Just a question

Hey, where can i get org.lwjgl.input.Mouse?
LWJGL.Core or.. something?

Hi @xw1w1, org.lwjgl.input.Mouse was part of LWJGL 2 and was removed in LWJGL 3. It was replaced with bindings for GLFW. You might find the migration guide useful.

Thank you!


[FEATURE] Add UserInfo in Profile Page

Description
Currently, if you go to the profile page, there will be a form to update your profile. If we can add the necessary information about the user that will make it much more better.
I would like to work on this issue for GSSOC23
Screenshots
This is the current profile page

🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no)

Great concept, however i will lock it for now - so that we can work on #710 first.

Hi there, it has been a while. I would love to know what changes you are making and/or are working on this. Please reply shortly.


"unable to load Private Key"

Hi,
Recently, whenever I try to add a new client, I am getting this exception:
spawn openssl rsa -in iphone7plus.key -des3 -out iphone7plus.3des.key
unable to load Private Key
1995843680:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: ANY PRIVATE KEY
expect: spawn id exp6 not open
    while executing
"expect "Enter PEM pass phrase" { send "\r" }"
[ERROR]: Client Public Key Certificate not found: iphone7plus.crt

This happened on an already existing install and (what I believe to be) a clean reinstall of pivpn.
Any ideas?

@0-kaladin: this might have something to do with #28 #62 #85. Investigating...

@cmsimike: can you please post the result of cat /etc/openvpn/easy-rsa/vars?

Here are the contents of the file:
# easy-rsa parameter settings

# NOTE: If you installed from an RPM,
# don't edit this file in place in
# /usr/share/openvpn/easy-rsa --
# instead, you should copy the whole
# easy-rsa directory to another location
# (such as /etc/openvpn) so that your
# edits will not be wiped out by a future
# OpenVPN package upgrade.

# This variable should point to
# the top level of the easy-rsa
# tree.
export EASY_RSA="/etc/openvpn/easy-rsa"

#
# This variable should point to
# the requested executables
#
export OPENSSL="openssl"
export PKCS11TOOL="pkcs11-tool"
export GREP="grep"

# This variable should point to
# the openssl.cnf file included
# with easy-rsa.
export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`

# Edit this variable to point to
# your soon-to-be-created key
# directory.
#
# WARNING: clean-all will do
# a rm -rf on this directory
# so make sure you define
# it correctly!
export KEY_DIR="$EASY_RSA/keys"

# Issue rm -rf warning
echo NOTE: If you run ./clean-all, I will be doing a rm -rf on $KEY_DIR

# PKCS11 fixes
export PKCS11_MODULE_PATH="dummy"
export PKCS11_PIN="dummy"

# Increase this to 2048 if you
# are paranoid.  This will slow
# down TLS negotiation performance
# as well as the one-time DH parms
# generation process.
export KEY_SIZE=4096

# In how many days should the root CA key expire?
export CA_EXPIRE=3650

# In how many days should certificates expire?
export KEY_EXPIRE=3650

# These are the default values for fields
# which will be placed in the certificate.
# Don't leave any of these fields blank.
export KEY_COUNTRY="US"
export KEY_PROVINCE="CA"
export KEY_CITY="HermosaBeach"
export KEY_ORG="Xekm"
export<EMAIL_ADDRESS>export KEY_OU="PiVPN"

# X509 Subject Field
export KEY_NAME="EasyRSA8k"

# PKCS11 Smart Card
# export PKCS11_MODULE_PATH="/usr/lib/changeme.so"
# export PKCS11_PIN=1234

# If you'd like to sign all keys with the same Common Name, uncomment the KEY_CN export below
# You will also need to make sure your OpenVPN server config has the duplicate-cn option set
# export KEY_CN="CommonName"

@redfast00 Thank you for labelling this issue. Just wanted to note I do think it has much in common with issues #28 #62 #85
In my case, 4096-bit pivpn install creates ca and server certificates successfully. After trying pivpn -a client it the very same case as with the ones already mentioned: very same error message and unable to actually create the client certificate.
Thank you for your effort and time.

@mixpc: I opened a PR that fixes this. (You can see it if you scroll up). Now just waiting 'till it gets merged. :D

Thank you!

@redfast00 Thank you too!
In case it might be of help to newbies:
I uploaded makeOVPN.sh to /opt/pivpn
Changed owner, group to root and rwx permissions to match renamed makeOVPN_old.sh
run pivpn -a client
Works perfect!


Connect to multiple databases with different dialects

I have two databases, one is mysql and the other is sql server. I need to connect to both of them.
How do I do it? Can I just make two files, each importing different driver and go from that?

Just open 2 different db objects from database/sql package. Then I put then into gorm.open when you want to use gorm.


Predicted outcomes in [date] doesn't equal "in 90 days"

summary
Above the prediction table, the heading reads "Predicted outcomes by July 28, 2020 (90 days from now)". The date output is one day off.

Today is April 30
1 day from today is May 1
90 days from today is July 29
On April 30, we should say that July 29 is in 90 days

expected result
Predicted outcomes by July 28, 2020 (90 days from now)
actual result
Predicted outcomes by July 29, 2020 (90 days from now)
environment
(device, browser, mobile / web)
link
Date calculator

screenshot

So it's 90 days from when the chart day was last updated (which should have been in the last 2-3 days).
If we think this is a problem, I suggest we change it to "in 3 months" which is a little less specific.

To be extra clear, the API gives us 90 days out from when the API data was generated, so if it was generated 2 days ago, the furthest out we can give data for is 88 days.

alternatively we cold just say (~90 days from now)

Good call. If that's the case, either ~90 days or in 3 months both sounds like better options, and I think I slightly prefer in 3 months

👍 to "in 3 months"


there is a guy that gives the skins for free he just helped me get my favorite skin just talk politely here is his discord shoshondes_55278

omg rlly can u help me? how to do it?

omg rlly can u help me? how to do it?

just add discord and ask him

the discord name doesn't exist


chore: update esbuild dependencies for bundling

Summary
This PR update the esbuild related dependency and improves support for bundling npm packages.
It also gets ride of the deps.ts file. This prevents every hook from importing all the project dependencies when executing.

Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

The bundling works, but I think this PR now requires exposing env vars to deno permissions; if I run e.g. slak -v manifest from an app that uses this branch of hooks I get:
Requires env access to "DENO_REGISTRY_URL", run again with the --allow-env flag
const JSR_REGISTRY_URL = Deno.env.get("DENO_REGISTRY_URL") ?? "https://jsr.io";

The slack.json for many of our samples don't expose the --allow-env permission. ROSI specifically denies it (and likely we won't be able to adjust that), though ROSI only leverages the deno-slack-runtime project and not the -hooks project. Maybe we can get away with simply exposing --allow-env in samples' slack.json? Not sure.

@filmaj I've updated this PR to get ride of the deps.ts file. This allows each hook to only import the dependencies it needs to run, instead of all the dependencies in the project.
This also allows Deno to properly restrict system access like --allow-env

Sounds good, tomorrow morning I'll run a few tests on a few different apps - fresh and existing - to see how it runs.


Implement a REDIS Store for monitoring EVENTS

All actions performed within ff4j can be stored in a EventRepository (event are already published asynchronously). https://github.com/clun/ff4j/blob/master/ff4j-core/src/main/java/org/ff4j/audit/repository/EventRepository.java
The implement must be provided for EventRepository for REDIS in the same way as FeatureStore.

not relevant in a cache


Exp build is blocked caused by a build in progress.

D:\limin\UdaciCards>exp build:android
[exp] Making sure project is set up correctly...
/[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.i
o/.
[exp] Your project looks good!
[exp] Checking if current build exists...

[exp] ============
[exp] Build Status
[exp] ============

[exp] Android: Build in progress...
[exp] Cannot start new build, as there is a build in progress.

Post my issue on expo forum: https://forums.expo.io/t/android-build-in-progress-after-one-day/1811/73

it's fixed.  https://forums.expo.io/t/android-build-in-progress-after-one-day/1811/76?u=limin


TODO

TODO

[ ] gate basic authentication
[x] keel crashes on startup, orca config - ReplicaSet set to 0 for now
[x] clouddriver manage cluster deployed to - ServiceAccount, ~ClusterRole~, ClusterRoleBinding
[ ] mariadb password supply via env var to kustomize?
[x] clouddriver kubernetes provider config? - Refer docs
[x] clouddriver aws provider config? - Refer docs
[ ] armory observability plugin? - Refer docs, but should set plugin root dir in spinnaker.yml
[ ] deck securityContext?
[ ] use what useful from old docs
[ ] enable kayenta in spinnaker.yml?

Old docs
Set the Spinnaker version
By default, this base kustomization deploys the master-latest-validated
version of each microservice, which is most recent version that has passed our
integration tests. To deploy a different version, you'll need to override the
version of each microservice in the images block in the kustomization.yml
file.
To deploy a specific version of Spinnaker, override each image's tag with
spinnaker-{version-number}. For example, to deploy Spinnaker 1.21.0, override
the tag for each microservice to be spinnaker-1.21.0:
images:
  - name: us-docker.pkg.dev/spinnaker-community/docker/clouddriver
    newTag: spinnaker-1.21.0
  - name: us-docker.pkg.dev/spinnaker-community/docker/deck
    newTag: spinnaker-1.21.0
# ...

(Optional) Use a specific version of kustomization
With a reference of the version, you can use a specific version with conviction, after examining if the version works well with your configurations. Without a reference, a resource link always references master. You can check out the available versions here.
For example:
resources:
  - github.com/spinnaker/kustomization-base/core?ref=v0.1.0

For further details, see the documentation for the resources field.

Moved to linked project https://github.com/users/karlskewes/projects/1/views/1


Split logic for support windows

Just split file, add cfg compile for different os.
Add init support for windows, no port info, but other staff(pid, process name, cpu, memory) works.

LGFM on macOS


Make DatabaseManager a Koin singleton

Constructor inject DatabaseManager.
Use new Koin constructor DSL.
Use AndroidViewModel where Context is needed in ViewModel.

@jeffdgr8  this is a fantastic and better syntax way of handling this.  I'll update the docs this weekend so we can merge this.  Thanks again!

I'm not sure what is holding this up.  It is definitely the right thing to do.
I don't think I'm entitled to just merge it.... and I'm going to be out for a while.  Lemme check with @biozal .


Is Wrapper Offline 1.3.0 stable?

I know Wrapper Offline 1.3.0 will be released this month after the beta phase! Is a stable version coming soon?

yes


LME stops working when >90% of disk space is consumed.

This has just happened for the second time, Disk fills up, processing appears to stop (CPU usage returns to idle) and logging into the dashboard times out or I get 'Kibana server is not ready'
The first time this happened I extended the volume and everything sprung back into life, but obviously I can't keep doing that.
logstash log is full of these entries:
"reason"=>"index [winlogbeat-16.01.2022] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];"}}'
kibana log:
2022-01-17T14:43:03.998424133Z lme_kibana.1.x2ajp5ww95kx@    | {"type":"log","@timestamp":"2022-01-17T14:43:03+00:00","tags":["fatal","root"],"pid":8,"message":"Error: Unable to complete saved object migrations for the [.kibana] index. Please check the health of your Elasticsearch cluster and try again. Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_7.16.3_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_7.16.3_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,\n    at migrationStateActionMachine (/usr/share/kibana/src/core/server/saved_objects/migrationsv2/migrations_state_action_machine.js:164:13)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async Promise.all (index 0)\n    at SavedObjectsService.start (/usr/share/kibana/src/core/server/saved_objects/saved_objects_service.js:181:9)\n    at Server.start (/usr/share/kibana/src/core/server/server.js:330:31)\n    at Root.start (/usr/share/kibana/src/core/server/root/index.js:69:14)\n    at bootstrap (/usr/share/kibana/src/core/server/bootstrap.js:120:5)\n    at Command.<anonymous> (/usr/share/kibana/src/cli/serve/serve.js:229:5)"} 2022-01-17T14:43:04.001481853Z lme_kibana.1.x2ajp5ww95kx@    | {"type":"log","@timestamp":"2022-01-17T14:43:04+00:00","tags":["info","plugins-system","standard"],"pid":8,"message":"Stopping all plugins."} 2022-01-17T14:43:04.002075801Z lme_kibana.1.x2ajp5ww95kx@    | {"type":"log","@timestamp":"2022-01-17T14:43:04+00:00","tags":["info","plugins","monitoring","monitoring","kibana-monitoring"],"pid":8,"message":"Monitoring stats collection is stopped"} 2022-01-17T14:43:04.009529894Z lme_kibana.1.x2ajp5ww95kx@    | {"type":"log","@timestamp":"2022-01-17T14:43:04+00:00","tags":["info","savedobjects-service"],"pid":8,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 20ms."} 2022-01-17T14:43:04.015588737Z lme_kibana.1.x2ajp5ww95kx@    | {"type":"log","@timestamp":"2022-01-17T14:43:04+00:00","tags":["info","savedobjects-service"],"pid":8,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 6ms."} 2022-01-17T14:43:04.027903470Z lme_kibana.1.x2ajp5ww95kx@    | {"type":"log","@timestamp":"2022-01-17T14:43:04+00:00","tags":["info","savedobjects-service"],"pid":8,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 12ms."} 2022-01-17T14:43:04.030473248Z lme_kibana.1.x2ajp5ww95kx@    | {"type":"log","@timestamp":"2022-01-17T14:43:04+00:00","tags":["error","savedobjects-service"],"pid":8,"message":"[.kibana_task_manager] Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_task_manager_7.16.3_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_task_manager_7.16.3_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,"} 2022-01-17T14:43:34.010645726Z lme_kibana.1.x2ajp5ww95kx@    | {"type":"log","@timestamp":"2022-01-17T14:43:34+00:00","tags":["warning","plugins-system","standard"],"pid":8,"message":"\"eventLog\" plugin didn't stop in 30sec., move on to the next."} 2022-01-17T14:43:34.248232854Z lme_kibana.1.x2ajp5ww95kx@    | 2022-01-17T14:43:34.248274831Z lme_kibana.1.x2ajp5ww95kx@    |  FATAL  Error: Unable to complete saved object migrations for the [.kibana] index. Please check the health of your Elasticsearch cluster and try again. Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_7.16.3_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_7.16.3_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];, 2022-01-17T14:43:34.248284796Z lme_kibana.1.x2ajp5ww95kx@    |
and similar in elasticsearch log:
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]", 2022-01-17T15:07:34.001125760Z lme_elasticsearch.1.1wyo17pbw5uw@    | "at java.lang.Thread.run(Thread.java:833) [?:?]"] } 2022-01-17T15:07:38.634370947Z lme_elasticsearch.1.1wyo17pbw5uw@    | {"type": "server", "timestamp": "2022-01-17T15:07:38,633Z", "level": "WARN", "component": "o.e.c.r.a.DiskThresholdMonitor", "cluster.name": "loggingmadeeasy-es", "node.name": "es01", "message": "high disk watermark [90%] exceeded on [5gUa6tZVQgiR68sHtL5dbQ][es01][/usr/share/elasticsearch/data/nodes/0] free: 52.5gb[5.2%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete", "cluster.uuid": "CPpiEr30RyaGluifmhyF7Q", "node.id": "5gUa6tZVQgiR68sHtL5dbQ"  } 2022-01-17T15:08:38.654877464Z lme_elasticsearch.1.1wyo17pbw5uw@    | {"type": "server", "timestamp": "2022-01-17T15:08:38,654Z", "level": "WARN", "component": "o.e.c.r.a.DiskThresholdMonitor", "cluster.name": "loggingmadeeasy-es", "node.name": "es01", "message": "high disk watermark [90%] exceeded on [5gUa6tZVQgiR68sHtL5dbQ][es01][/usr/share/elasticsearch/data/nodes/0] free: 52.5gb[5.2%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete", "cluster.uuid": "CPpiEr30RyaGluifmhyF7Q", "node.id": "5gUa6tZVQgiR68sHtL5dbQ"  } 2022-01-17T15:09:38.679334327Z lme_elasticsearch.1.1wyo17pbw5uw@    | {"type": "server", "timestamp": "2022-01-17T15:09:38,678Z", "level": "WARN", "component": "o.e.c.r.a.DiskThresholdMonitor", "cluster.name": "loggingmadeeasy-es", "node.name": "es01", "message": "high disk watermark [90%] exceeded on [5gUa6tZVQgiR68sHtL5dbQ][es01][/usr/share/elasticsearch/data/nodes/0] free: 52.5gb[5.2%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete", "cluster.uuid": "CPpiEr30RyaGluifmhyF7Q", "node.id": "5gUa6tZVQgiR68sHtL5dbQ"  }
This was a clean installation in mid-December, so I assume everything's current.

Hi,
Are your retention settings correct as shown here ?
Thanks,
Duncan

forgive the probably quite basic question, but how does one resize the main partition? we're getting "kibana server is not ready"

just resize virtual disk and boot off gparted?

I have the opposite problem as I have a second disk on my server (to prevent the OS filling and make expanding easier) but the deploy script will only detect the OS volume.  I edited the docker-compose-stack.yml and docker-compose-stack-live.yml files but there is no reference to RETENTION.
Looking at the deploy.sh the script, it appears to have moved on from the documentation as it doesn't change that file but instead, it calculates 80% of the disk space and appears to use that value as the day's retention in the policy.  I have as yet been unable to find a way to set a retention based on disk size.


Added torch.no_grad()

no_grad() is available since pytorch 0.4.0 and prevents possible 'out of memory' errors during validation.

Ouch, good catch!
I think we should move this to the validation function; here we are setting the net in evaluation mode to freeze batch norms, etc. already:
https://github.com/mapbox/robosat/blob/6dcdc0ee527f384fb6eb1c813dba6889bfa13404/robosat/tools/train.py#L156

What about decorating validation with @torch.no_grad()?

Sure that would work, too!

I oversaw, that no_grad() as decorator is only available since pytorch 0.4.1. I committed a workaround using contextmanager. As soon as robosat is upgraded for 0.4.1 the additional contextmanager code can be discarded.

Merci!


System Log came back from the dead

A long time ago some developers complained about an issue for the System Log feature implemented in FLEX. #140
This feature was able to capture all NSLogs. In the referenced issue, we can discover that it was caused by ASL on iOS 10 and newer, replaced by OS Log, so FLEX couldn't capture logs.
Today I have more details about this issue, and a possible solution:

Using FLEX with the old ASL behavior, FLEX is able to capture NSLogs if the app / tweak where the NSLog is called from is compiled using the iOS 9 SDK. This is because ASL is on the iOS 9 SDK, so FLEX is able to use it also on newer iOS versions.
Using Fishhook, a powerful code that's able to hook C functions, is possible to capture all NSLogs from any iOS version that fishhook supports (probably it targets the same version of FLEX).

You can test what I said using the following codes.
For example, I'm using an app compiled using the iOS 13 SDK, but my tweak (so I'm in a jailbroken environment) is compiled using the iOS 9.3 SDK. I restored the old behavior of FLEX (so FLEX will consider ASL again), and I'm able to see the NSLog coded in my tweak.
This is how I've restored the old ASL behavior (but it works only if the tweak/app where NSLog is called is compiled using the iOS 9 SDK, so it's not something related to the system):
%hook FLEXOSLogController
+(instancetype)withUpdateHandler:(void(^)(NSArray<FLEXSystemLogMessage *> *newMessages))newMessagesHandler {
    return [%c(FLEXASLLogController) performSelector:@selector(withUpdateHandler:) withObject:newMessagesHandler];
}
%end
%hook FLEXOSLogController
-(id)init {
    self = %orig;
    if (self) {
        [self setValue:@(NSProcessInfo.processInfo.processIdentifier) forKey:@"_filterPid"];
        [self setValue:[NSNumber numberWithBool:NO] forKey:@"_levelInfo"];
        [self setValue:[NSNumber numberWithBool:NO] forKey:@"_subsystemInfo"];
    }
    return self;
}
%end

Note: this code should be used if you use a tweak compiled using the iOS 9 SDK and you would like to see NSLogs directly in FLEX.
Using the ASL behavior, FLEX is able to capture NSLog on iOS 12, if the tweak is compiled using a SDK where ASL worked.
But, seen that we are looking for a general solution that works on any SDK and on a no-jailbroken environment too, we can opt for fishhook (yes, it works on no-jailbroken iOS versions):
#import "fishhook.h"
#import <Foundation/Foundation.h>

static void (*orig_nslog)(NSString *format, ...);
static void replaced_nslog(NSString *format, ...) {
    va_list vl;
    va_start(vl, format);
    NSString* str = [[NSString alloc] initWithFormat:format arguments:vl];
    va_end(vl);
    orig_nslog(str);
    // Here do your operations to save str and [NSDate date] (for example you can create a new string that has [NSDate date] as prefix and "str" as suffix, saving it in a NSMutableArray that you will use as source where the new System Log section reads NSLogs.
}

rebind_symbols((struct rebinding[1]){"NSLog",(void*)replaced_nslog,(void**)&orig_nslog},1);

The rebind_symbols function should be called once. I'm not sure if it works system-wide (for example in the SpringBoard on jailbroken devices), but it works in apps.
Fishhook is amazing, it's maintained from Facebook and updated to support new iOS versions (when it's necessary).
The only bad thing is that it might not work when Apple decides to enable Dyld 3.0, but we cannot know until they do that.
Atm this is the best solution to capture NSLogs using FLEX. Give it a test!

A suggestion: when fishhook support will be implemented, it would be amazing to see more details of NSLog.
For example, my idea is: FLEXSystemLogTableViewCell's accessoryType is UITableViewCellAccessoryDisclosureIndicator and, when FLEXSystemLogTableViewCell is tapped, it opens a new controller that gives additional info, for example where NSLog was called from (a framework? the main binary?), who is the caller (when possible) etc..
This and this might be useful to understand my idea. These should be implemented into static void replaced_nslog(NSString *format, ...) and information should be saved to be viewed later in that section.

Not a bad idea! This would have to be something you enable manually though because that could take up a lot of memory.

I've added your fix in the 4.0 branch! Closing this. Thanks again for your help! You are credited in the commit message and in code for telling me it was an SDK feature. I took a different approach — I did some digging and hooked os_log_shim_enabled instead of NSLog itself.


chore: dependabot updates batch 20211119

/deploy

You can access the deployment of this PR at https://renku-ci-nb-815.dev.renku.ch


Architect build browser

This should be rebased on top of master once https://github.com/angular/angular-cli/pull/13727 is in.


working fine in browser but Does not displaying list in my ionic app.

first of all, thanks for this Helping post.
i have used this with my ionic app. its working fine in browser but when i tested in my phone, the list of items is not displaying.
will you please guide me.

Unfortunately I'm not really familiar with Ionic, so I can't promise you anything.
List of items is not displaying, as in, empty list, or the popup element does not appear at all? If the popup does not appear at all, most likely it's CSS problem.

ok..
yup, may be you are right... :)
now its working fine.
thanks a lot for your help.
On Tue, Sep 8, 2015 at 3:39 PM, Steven<EMAIL_ADDRESS>wrote:

Unfortunately I'm not really familiar with Ionic, so I can't promise you
anything.
List of items is not displaying, as in, empty list, or the popup element
does not appear at all? If the popup does not appear at all, most likely
it's CSS problem.
—
Reply to this email directly or view it on GitHub
https://github.com/isteven/angular-multi-select/issues/343#issuecomment-138504152
.

its working fine now....
thanks a lot :)


fix: tooltip top position error   #4410

fix: tooltip top position

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[ ] commit message follows commit guidelines

Description of change

感谢 PR！


Added hint for Ubuntu 18.04 LTS

Can you please make this change for https://github.com/ArchiveTeam/standalone-readme-template too? Then I'll merge both.


Rebuild to pick up run_exports

Bump the build number to pick up the run_exports pins from the upstream lalsuite subpackages.

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Can't Be Evil Sandbox v1

As many of you know, we introduced the Can’t Be Evil Sandbox late last month at the 2019 Blockstack Summit in San Francisco. Two weeks ago, we shipped the developer preview of our New Internet Extension which implements v1 of the Can’t Be Evil Sandbox. It prohibits two types of app behavior that have been problematic for user privacy: cookies and automatically loading 3rd party assets such as images and scripts from other people's servers. You can read more about it here.

We propose the following scoring:
Cookies

Uses cookies: 0 points
Does not use cookies: 1 point

Use of cookies is defined as either a server trying to set cookies in the user’s browser or code running in the user’s browser trying to send cookies with a request. We will erase cookies. Cookies that existed prior to each round of testing will be erased from browsers used in testing.
3rd party resources

Uses 3rd party resources: 0 points
Does not use 3rd party resources: 1 point

3rd party resources are defined as any requests to app origins that are not self origin as defined by Content Security Policy (CSP) specifications. Requests that fall under the CSP policy connect-src are allowed for all origins and explicitly exempt from this run under v1 of the Can’t Be Evil Sandbox.
Opts-in to Can’t Be Evil Sandbox

No: 0 points
Yes: 1 point

Apps opt-in to the latest version of the Can’t Be Evil Sandbox by setting the can't-be-evil header to true. Opting in means that the New Internet Extension and other user agents that support the Can’t Be Evil Sandbox will enforce the rules instead of merely reporting violations.
A dry run of this new criteria will be conducted during the app review period that begins on December 1, 2019 (November 2019 cohort).
See the following forum issue for other proposed scoring and policy changes: https://forum.blockstack.org/t/november-2019-nil-scoring-proposals/9494?u=larry

About 3rd party resources - apps that are using Sentry, Bugsnag, Instabug, or any similar tool to get info about bugs will get a lower score than apps that do not care about bugs? Maybe we need to create a list of 3rd party resources that are allowed?

@larrysalibra would like to hear your thoughts on the timing of open-sourcing the apps. I'm working towards making BlockSurvey a SaaS platform, would making the product open at an early stage a risk for doing business?

About 3rd party resources - apps that are using Sentry, Bugsnag, Instabug, or any similar tool to get info about bugs will get a lower score than apps that do not care about bugs? Maybe we need to create a list of 3rd party resources that are allowed?

v1 of the Can't Be Evil sandbox doesn't prohibit programmatically sending information - ie bug reports - to 3rd parties. Package any code your app needs with the app and you shouldn't have any issues.

@larrysalibra loading image from blockstack gaia is also a 3rd party use. so do we need to proxy every request?

loading image from blockstack gaia is also a 3rd party use. so do we need to proxy every request?

if you need to load images cross origin, you can use the fetch api.

We had the Dry Run. Results look good. Is this going forward for next month?

Regarding Opts-in to Can’t Be Evil Sandbox, are apps evaluated based on the presence of the header or based on the New Internet Extension turning purple?
I have this issue https://github.com/newinternetlabs/new-internet-extension/issues/3 on my app too and the extension will only turn on sandbox mode on the first load, although the header is always here and there are no 3rd party ressources.


transform: failed to synchronize: cudaerrorillegaladdress: an illegal memory access was encountered

❓ Questions & Help
Hi, I want to train a Node2Vec model on my own dataset. I can use CPU to train without error. But when I try to use GPU to train, it reports this error after several iteration. Do you guys have any idea why this error happens?

Now I can confirm the issue. My dataset has 45034 nodes and 273179 edges, and the node number is from 0 to 45033. When I pass the number 45033 to the model, it will trigger the error index out of range: Tried to access index 5550641 out of table with 45033 rows.

Okay, I realized that the problem is beacuse I feed a directed graph to Node2Vec model. After I convert the model to undirected, the problem solved.

Can you tell me what is directed graph and undirected graph?

Please you tell me how do you convert the model to undirected. Thanks very much.

torch_geometric.utils.to_undirected.

Thank you. torch_geometric.utils.to_undirected can convert the graph to undirected. In my data, my undirected graph have been processed like this ,so I don't need to do it again. Do you have any operation to convert your model to undirected. I have facing the same problem like you.


I can't select app to chat with

It's hidden
https://github.com/user-attachments/assets/328d6315-31c2-4f3b-80a1-cb9e289d24f1

This happens once in a while, have been a bit difficult to recreate it but will try


The "line" graphic appears when the page loads, but not when I come from another page

Expected behavior
Hi,
I have specific problem for "line" chart, I don't have this bug with other (like "doughut" and "bar") in Rails project
When I just reload the page, all the chart are present without problem.
But when I go to an another page, to simulate my user comportement, and come back to my chart page, the "line" chart  is the only one not to be displayed.
I've no error in console, but the canvas get some style by default: "[...] height: 0px; width: 0px;" while I have specified a height and width by default in the previous div.
i already try to fix some size with important style etc, without effect.
Here the code of my chart
var labels = ["TEST" , "TEST2", "TEST3"];
            var data3 = {
              labels: labels,
              datasets: [
                {
                  label: 'Solde intermédiaire comptes cumulés',
                  data: [1,2, 12],
                  yAxisID: 'y',
                  borderColor: '#00B38F',
                  backgroundColor: '#00B38F'
                },
                {
                  label: 'Incidents cumulés',
                  data:  [3,4],
                  yAxisID: 'y1',
                  borderColor: '#285AC8',
                  backgroundColor: '#285AC8'
                },
                {
                  label: 'Jeux d’argent cumulés',
                  data:  [5,6],
                  yAxisID: 'y',
                  borderColor: '#F04438',
                  backgroundColor: '#F04438'
                }
              ]
            };

            var config3 = {
              type: 'line',
              data: data3,
              options: {
                maintainAspectRatio: false,
                interaction: {
                  mode: 'index',
                  intersect: false,
                },
                stacked: false,
                plugins: {
                  title: {
                    display: false,
                    text: ''
                  },
                  legend: {
                    position : 'bottom',
                    labels: {
                      fontSize: 8,
                    }
                  }
                },
                scales: {
                  y: {
                    type: 'linear',
                    display: true,
                    position: 'left',
                    title: {
                      display: true,
                      text: "Montant en euro €",
                      color: '#667085',
                      font: {
                        family: 'Karla',
                        size: 12,
                        lineHeight: 1.2
                      },
                      ticks: {
                        font: {
                          size: 8,
                          lineHeight: 1.2
                        },
                      }
                    }
                  },
                  y1: {
                    type: 'linear',
                    display: true,
                    position: 'right',
                    // grid line settings
                    grid: {
                      drawOnChartArea: false,
                      color: '#F2F4F7' // only want the grid lines for one axis to show up
                    },
                    title: {
                      display: true,
                      text: "Nombre d'incidents cumulés",
                      color: '#667085',
                      font: {
                        size: 12,
                        lineHeight: 1.2
                      },
                      ticks: {
                        font: {
                          size: 8,
                          lineHeight: 1.2
                        },
                      }
                    }
                  },
                  x: {
                    grid: {
                      display: false
                    }
                  }
                }
              },
            };

            var ctx = document.getElementById('myChart3');
            var myChart3 = new Chart(ctx, config3);

I've just one install in my project, and again, all the other chart work fine.
Any idea ? Am I missing something?
Thanks =)
Current behavior
The "line" chart does not appear after going to other pages and come back
Reproducible sample
can't
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v3.8.0
Browser name and version
No response
Link to your project
No response

Maybe check the browser console for errors?
There is really nothing we can do without a reproduction.

Closing as per lack of testcase


Multiplayer Bug

In multiplayer, player 1 is able to use the warp totem in the farm just fine to teleport to other places. Player 2 and 3 are unable to teleport using it. They can use every other totem to teleport anywhere just fine with the one exception being the one in the farm.

Being handeled on nexus mods.


Ensure armada has ownership over its own home directory

What is the purpose of this pull request?: The recent change to have the armada container as the armada user overlooked providing the armada user ownership over its own home directory.  Fixing this should help allow docker volume mounts as root into this directory (such as the kubeconfg) to function properly.

LGTM


backport: build(bytetrack): add missing dependencies

Description

This is a backport of https://github.com/autowarefoundation/autoware.universe/pull/3280
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@mitsudome-r this is a port of https://github.com/autowarefoundation/autoware.universe/pull/3280 for the 2023.04 release so that we can build Debian packages.

@manato thanks for the review! :slightly_smiling_face:


Add metrics to udp input

Add metrics to track:

events processed.

workers created.

errors that happened during execution time (different types).

related to https://github.com/elastic/logstash/issues/5607 https://github.com/elastic/logstash/issues/5717

updated the PR with https://github.com/logstash-plugins/logstash-input-udp/pull/24/commits/e4ae82fcda0da9fd814a9274f29c2a5ed6716671, only open question is https://github.com/logstash-plugins/logstash-input-udp/pull/24#discussion_r73135495 happy to reach agreement on plan for this and move forward 😄

Once the events count discussion is resolved, LGTM ;)

LGTM, leave the count as i.

Merged in #34


2pc: VTGate coordinator functionality

This is the core VTGate functionality for the commit flow. Some
more wire-up will be done after the rollback flow is implemented.

LGTM
I'll fix newTestScatterConn in the next PR.


Increment versions for alertsmanagement releases

Increment package versions for alertsmanagement releases

API change check
API changes are not detected in this pull request.


When using CRLF as line endings, it seems that Ctrl+Enter only executes the code on the last line.

Describe the bug
When I press Ctrl+Enter, some errors occur, as if the code hasn't been fully sent to the REPL. I personally feel that it might be related to whether the code is on the same line or not. The function named 'fact' here generates an error when it's not on the same line. However, when its code is on the same line, there is no error. The function named 'fact-iter' also exhibits the same behavior, where it generates an error when it's not on the same line. However, when its code is on the same line, there is no error.
When using LF (Line Feed) as line endings, there doesn't seem to be this issue, and Ctrl+Enter executes all the lines of code properly.
(define (fact n) (cond [(< n 1) "error"] [(= n 1) 1] [else (* n (fact (sub1 n)))]))

(define (fact-iter n)
  (define (iter cnt acc)
    (if (= cnt 1)
    acc
    (iter (sub1 cnt) (* cnt acc))))
  (cond
    [(< n 1) "error"]
    [else (iter n 1)]))

To Reproduce
When using CRLF (Carriage Return Line Feed) as line endings.
Logs
When using CRLF:
Chez Scheme REPL starting.
Registered all commands
Extension startup finished.
Sent
     [else "error"]))) to REPL using command chezScheme.evalLastSexp

When using LF:
Chez Scheme REPL starting.
Registered all commands
Extension startup finished.
Sent (define (fact n) (cond [(< n 1) "error"] [(= n 1) 1] [else (* n (fact (sub1 n)))])) to REPL using command chezScheme.evalLastSexp
Sent (define (fact-iter n)
  (define (iter cnt acc)
    (if (= cnt 1)
    acc
    (iter (sub1 cnt) (* cnt acc))))
  (cond
    [(< n 1) "error"]
    [else (iter n 1)])) to REPL using command chezScheme.evalLastSexp

Environment (please complete the following information):

Version of the extension: v0.2.0
Version of VS Code: 1.79.2 (user setup)
OS: Windows 11 22H2

Thank you again for your help.
I can reproduce the problem, I'm going to add the missing \rs. Should not take too long, I hope.
As a temporary workaround you could also use **Send selected s-expression to the REPL" , which does work with \r\n line breaks.

The new version 0.3.0 works for me now. I've also checked for other potential \r\n issues, I hope I've fixed them all.
Please check if the new version is working for you.
Thanks again for your help on Windows, much appreciated.

Thank you! The new version is working for me.

Great to hear!
Thanks again for your help.