text:
How can i build source on Apple M1?

How can i build source on Apple M1?

As far as I know you will need a specially patched GCC , see https://github.com/xianyi/OpenBLAS/issues/2814

As far as I know you will need a specially patched GCC , see https://github.com/xianyi/OpenBLAS/issues/2814

I build GCC error too   :<

I build GCC error too   :<

Can you post the error message (or attach the complete build log) here ?

Can you post the error message (or attach the complete build log) here ?

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was
$ ./configure
---------
Platform.
---------
hostname = HuweideMBP-2.lan
uname -m = arm64
uname -r = 20.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101
/usr/bin/uname -p = arm
/bin/uname -X     = unknown
/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101
Kernel configured for up to 8 processors.
8 processors are physically available.
8 processors are logically available.
Processor type: arm64e (ARM64E)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 549 tasks, 2893 threads, 8 processors
Load average: 2.33, Mach factor: 5.66
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
PATH: /Users/huwei/miniforge3/condabin
PATH: /Users/huwei/.rustup/toolchains/dev/bin
PATH: /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /Users/huwei/Documents/Env/apache-maven-3.6.3/bin
PATH: /opt/homebrew/bin
PATH: /Users/huwei/Documents/Env/sonar-scanner-4.5.0.2216-macosx/bin/
PATH: .
-----------
Core tests.
-----------
configure:2366: checking build system type
configure:2380: result: aarch64-apple-darwin20.2.0
configure:2427: checking host system type
configure:2440: result: aarch64-apple-darwin20.2.0
configure:2460: checking target system type
configure:2473: result: aarch64-apple-darwin20.2.0
configure:2527: checking for a BSD-compatible install
configure:2595: result: /usr/bin/install -c
configure:2606: checking whether ln works
configure:2628: result: yes
configure:2632: checking whether ln -s works
configure:2636: result: yes
configure:2643: checking for a sed that does not truncate output
configure:2707: result: /usr/bin/sed
configure:2716: checking for gawk
configure:2746: result: no
configure:2716: checking for mawk
configure:2746: result: no
configure:2716: checking for nawk
configure:2746: result: no
configure:2716: checking for awk
configure:2732: found /usr/bin/awk
configure:2743: result: awk
configure:3237: checking for libatomic support
configure:3247: result: yes
configure:3275: checking for libitm support
configure:3285: result: yes
configure:3294: checking for libsanitizer support
configure:3300: result: no
configure:3313: checking for libvtv support
configure:3319: result: no
configure:3333: checking for libhsail-rt support
configure:3339: result: no
configure:3466: checking for libphobos support
configure:3472: result: no
configure:4181: checking for gcc
configure:4197: found /usr/bin/gcc
configure:4208: result: gcc
configure:4437: checking for C compiler version
configure:4446: gcc --version >&5
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: arm64-apple-darwin20.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
configure:4457: $? = 0
configure:4446: gcc -v >&5
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: arm64-apple-darwin20.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
configure:4457: $? = 0
configure:4446: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4457: $? = 1
configure:4446: gcc -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:4457: $? = 1
configure:4477: checking whether the C compiler works
configure:4499: gcc    conftest.c  >&5
configure:4503: $? = 0
configure:4551: result: yes
configure:4554: checking for C compiler default output file name
configure:4556: result: a.out
configure:4562: checking for suffix of executables
configure:4569: gcc -o conftest    conftest.c  >&5
configure:4573: $? = 0
configure:4595: result:
configure:4617: checking whether we are cross compiling
configure:4625: gcc -o conftest    conftest.c  >&5
conftest.c:9:10: fatal error: cannot open file '/usr/local/include/stdio.h': Permission denied
#include <stdio.h>
^
1 error generated.
configure:4629: $? = 1
configure:4636: ./conftest
./configure: line 4638: ./conftest: No such file or directory
configure:4640: $? = 127
configure:4647: error: in /Users/huwei/Documents/Dev/github/gcc-darwin-arm64': configure:4649: error: cannot run C compiled programs. If you meant to cross compile, use --host'.
See `config.log' for more details
----------------
Cache variables.
----------------
ac_cv_build=aarch64-apple-darwin20.2.0
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_DSYMUTIL_FOR_TARGET_set=
ac_cv_env_DSYMUTIL_FOR_TARGET_value=
ac_cv_env_DSYMUTIL_set=
ac_cv_env_DSYMUTIL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GDC_FOR_TARGET_set=
ac_cv_env_GDC_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_OTOOL_FOR_TARGET_set=
ac_cv_env_OTOOL_FOR_TARGET_value=
ac_cv_env_OTOOL_set=
ac_cv_env_OTOOL_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=aarch64-apple-darwin20.2.0
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=aarch64-apple-darwin20.2.0
acx_cv_prog_LN=ln
-----------------
Output variables.
-----------------
AR=''
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET=''
AS=''
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET=''
AWK='awk'
BISON=''
BUILD_CONFIG=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET=''
CFLAGS=''
CFLAGS_FOR_BUILD=''
CFLAGS_FOR_TARGET=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET=''
DSYMUTIL=''
DSYMUTIL_FOR_BUILD='$(DSYMUTIL)'
DSYMUTIL_FOR_TARGET=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EXEEXT=''
EXPECT=''
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCC_SHLIB_SUBDIR=''
GDB_TK=''
GDC_FOR_BUILD='$(GDC)'
GDC_FOR_TARGET=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET=''
GNATBIND=''
GNATMAKE=''
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET=''
HAVE_CXX11=''
HAVE_CXX11_FOR_BUILD=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET=''
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET=''
OBJCOPY=''
OBJCOPY_FOR_TARGET=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
OTOOL=''
OTOOL_FOR_TARGET=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET=''
READELF=''
READELF_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SED='/usr/bin/sed'
SHELL='/bin/sh'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='./configure'
WINDMC=''
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET=''
WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='aarch64-apple-darwin20.2.0'
build_alias=''
build_configargs=''
build_configdirs='build-libiberty build-libcpp build-texinfo build-flex build-bison build-m4 build-fixincludes'
build_cpu='aarch64'
build_libsubdir='build-aarch64-apple-darwin20.2.0'
build_noncanonical='aarch64-apple-darwin20.2.0'
build_os='darwin20.2.0'
build_subdir='build-aarch64-apple-darwin20.2.0'
build_tooldir=''
build_vendor='apple'
compare_exclusions=''
configdirs='intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libelf libiconv libctf texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools c++tools'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
extra_host_libiberty_configure_flags=''
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags=''
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
get_gcc_base_ver=''
gmpinc=''
gmplibs=''
host='aarch64-apple-darwin20.2.0'
host_alias=''
host_configargs=''
host_cpu='aarch64'
host_noncanonical='aarch64-apple-darwin20.2.0'
host_os='darwin20.2.0'
host_shared=''
host_subdir='host-aarch64-apple-darwin20.2.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc=''
isllibs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags=''
poststage1_libs=''
prefix='NONE'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='aarch64-apple-darwin20.2.0'
target_alias=''
target_configargs=''
target_configdirs='target-libgcc target-libbacktrace target-libgloss target-newlib target-libgomp target-liboffloadmic target-libhsail-rt target-libatomic target-libitm target-libstdc++-v3 target-libsanitizer target-libvtv target-libssp target-libquadmath target-libgfortran target-libffi target-libobjc target-libada target-libgo target-libphobos target-zlib target-rda'
target_cpu='aarch64'
target_noncanonical='aarch64-apple-darwin20.2.0'
target_os='darwin20.2.0'
target_subdir='aarch64-apple-darwin20.2.0'
target_vendor='apple'
tooldir=''
-------------------
File substitutions.
-------------------
alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''
-----------
confdefs.h.
-----------
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 1

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was
$ ./configure
---------
Platform.
---------
hostname = HuweideMBP-2.lan
uname -m = arm64
uname -r = 20.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101
/usr/bin/uname -p = arm
/bin/uname -X     = unknown
/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101
Kernel configured for up to 8 processors.
8 processors are physically available.
8 processors are logically available.
Processor type: arm64e (ARM64E)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 549 tasks, 2893 threads, 8 processors
Load average: 2.33, Mach factor: 5.66
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
PATH: /Users/huwei/miniforge3/condabin
PATH: /Users/huwei/.rustup/toolchains/dev/bin
PATH: /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /Users/huwei/Documents/Env/apache-maven-3.6.3/bin
PATH: /opt/homebrew/bin
PATH: /Users/huwei/Documents/Env/sonar-scanner-4.5.0.2216-macosx/bin/
PATH: .
-----------
Core tests.
-----------
configure:2366: checking build system type
configure:2380: result: aarch64-apple-darwin20.2.0
configure:2427: checking host system type
configure:2440: result: aarch64-apple-darwin20.2.0
configure:2460: checking target system type
configure:2473: result: aarch64-apple-darwin20.2.0
configure:2527: checking for a BSD-compatible install
configure:2595: result: /usr/bin/install -c
configure:2606: checking whether ln works
configure:2628: result: yes
configure:2632: checking whether ln -s works
configure:2636: result: yes
configure:2643: checking for a sed that does not truncate output
configure:2707: result: /usr/bin/sed
configure:2716: checking for gawk
configure:2746: result: no
configure:2716: checking for mawk
configure:2746: result: no
configure:2716: checking for nawk
configure:2746: result: no
configure:2716: checking for awk
configure:2732: found /usr/bin/awk
configure:2743: result: awk
configure:3237: checking for libatomic support
configure:3247: result: yes
configure:3275: checking for libitm support
configure:3285: result: yes
configure:3294: checking for libsanitizer support
configure:3300: result: no
configure:3313: checking for libvtv support
configure:3319: result: no
configure:3333: checking for libhsail-rt support
configure:3339: result: no
configure:3466: checking for libphobos support
configure:3472: result: no
configure:4181: checking for gcc
configure:4197: found /usr/bin/gcc
configure:4208: result: gcc
configure:4437: checking for C compiler version
configure:4446: gcc --version >&5
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: arm64-apple-darwin20.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
configure:4457: $? = 0
configure:4446: gcc -v >&5
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: arm64-apple-darwin20.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
configure:4457: $? = 0
configure:4446: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4457: $? = 1
configure:4446: gcc -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:4457: $? = 1
configure:4477: checking whether the C compiler works
configure:4499: gcc    conftest.c  >&5
configure:4503: $? = 0
configure:4551: result: yes
configure:4554: checking for C compiler default output file name
configure:4556: result: a.out
configure:4562: checking for suffix of executables
configure:4569: gcc -o conftest    conftest.c  >&5
configure:4573: $? = 0
configure:4595: result:
configure:4617: checking whether we are cross compiling
configure:4625: gcc -o conftest    conftest.c  >&5
conftest.c:9:10: fatal error: cannot open file '/usr/local/include/stdio.h': Permission denied
#include <stdio.h>
^
1 error generated.
configure:4629: $? = 1
configure:4636: ./conftest
./configure: line 4638: ./conftest: No such file or directory
configure:4640: $? = 127
configure:4647: error: in /Users/huwei/Documents/Dev/github/gcc-darwin-arm64': configure:4649: error: cannot run C compiled programs. If you meant to cross compile, use --host'.
See `config.log' for more details
----------------
Cache variables.
----------------
ac_cv_build=aarch64-apple-darwin20.2.0
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_DSYMUTIL_FOR_TARGET_set=
ac_cv_env_DSYMUTIL_FOR_TARGET_value=
ac_cv_env_DSYMUTIL_set=
ac_cv_env_DSYMUTIL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GDC_FOR_TARGET_set=
ac_cv_env_GDC_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_OTOOL_FOR_TARGET_set=
ac_cv_env_OTOOL_FOR_TARGET_value=
ac_cv_env_OTOOL_set=
ac_cv_env_OTOOL_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=aarch64-apple-darwin20.2.0
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=aarch64-apple-darwin20.2.0
acx_cv_prog_LN=ln
-----------------
Output variables.
-----------------
AR=''
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET=''
AS=''
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET=''
AWK='awk'
BISON=''
BUILD_CONFIG=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET=''
CFLAGS=''
CFLAGS_FOR_BUILD=''
CFLAGS_FOR_TARGET=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET=''
DSYMUTIL=''
DSYMUTIL_FOR_BUILD='$(DSYMUTIL)'
DSYMUTIL_FOR_TARGET=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EXEEXT=''
EXPECT=''
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCC_SHLIB_SUBDIR=''
GDB_TK=''
GDC_FOR_BUILD='$(GDC)'
GDC_FOR_TARGET=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET=''
GNATBIND=''
GNATMAKE=''
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET=''
HAVE_CXX11=''
HAVE_CXX11_FOR_BUILD=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET=''
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET=''
OBJCOPY=''
OBJCOPY_FOR_TARGET=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
OTOOL=''
OTOOL_FOR_TARGET=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET=''
READELF=''
READELF_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SED='/usr/bin/sed'
SHELL='/bin/sh'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='./configure'
WINDMC=''
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET=''
WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='aarch64-apple-darwin20.2.0'
build_alias=''
build_configargs=''
build_configdirs='build-libiberty build-libcpp build-texinfo build-flex build-bison build-m4 build-fixincludes'
build_cpu='aarch64'
build_libsubdir='build-aarch64-apple-darwin20.2.0'
build_noncanonical='aarch64-apple-darwin20.2.0'
build_os='darwin20.2.0'
build_subdir='build-aarch64-apple-darwin20.2.0'
build_tooldir=''
build_vendor='apple'
compare_exclusions=''
configdirs='intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libelf libiconv libctf texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools c++tools'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
extra_host_libiberty_configure_flags=''
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags=''
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
get_gcc_base_ver=''
gmpinc=''
gmplibs=''
host='aarch64-apple-darwin20.2.0'
host_alias=''
host_configargs=''
host_cpu='aarch64'
host_noncanonical='aarch64-apple-darwin20.2.0'
host_os='darwin20.2.0'
host_shared=''
host_subdir='host-aarch64-apple-darwin20.2.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc=''
isllibs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags=''
poststage1_libs=''
prefix='NONE'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='aarch64-apple-darwin20.2.0'
target_alias=''
target_configargs=''
target_configdirs='target-libgcc target-libbacktrace target-libgloss target-newlib target-libgomp target-liboffloadmic target-libhsail-rt target-libatomic target-libitm target-libstdc++-v3 target-libsanitizer target-libvtv target-libssp target-libquadmath target-libgfortran target-libffi target-libobjc target-libada target-libgo target-libphobos target-zlib target-rda'
target_cpu='aarch64'
target_noncanonical='aarch64-apple-darwin20.2.0'
target_os='darwin20.2.0'
target_subdir='aarch64-apple-darwin20.2.0'
target_vendor='apple'
tooldir=''
-------------------
File substitutions.
-------------------
alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''
-----------
confdefs.h.
-----------
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 1

What happens when you run
/Users/huwei/Documents/Dev/github/gcc-darwin-arm64 --version

What happens when you run
/Users/huwei/Documents/Dev/github/gcc-darwin-arm64 --version

@brada4 I do not think "gcc-darwin-arm64" exists there as an executable yet, this is an attempt to build it from source using the system compiler (for which clang 12.0.0 was reported somewhere in the configure output).
Possibly building the modified compiler is not as simple as with the regular gcc builds, but I do note that gcc is normally built out-of-tree, that is create a separate directory for building and call configure from there like mkdir gccbuild; cd gccbuild; ../gcc-darwin-arm64/configure

@brada4 I do not think "gcc-darwin-arm64" exists there as an executable yet, this is an attempt to build it from source using the system compiler (for which clang 12.0.0 was reported somewhere in the configure output).
Possibly building the modified compiler is not as simple as with the regular gcc builds, but I do note that gcc is normally built out-of-tree, that is create a separate directory for building and call configure from there like mkdir gccbuild; cd gccbuild; ../gcc-darwin-arm64/configure

That formatting. If clang cannot create executables then something is missing xcode-install --help like binutils or so.

That formatting. If clang cannot create executables then something is missing xcode-install --help like binutils or so.

Please check clang works:
Make a minimal.c file
int main(){};

clang minimal.c
should make a native executable ./a.out in current directory that does exactly nothing
if compiler shows half-screen of errors, it is probably worth googling around for them.

Please check clang works:
Make a minimal.c file
int main(){};

clang minimal.c
should make a native executable ./a.out in current directory that does exactly nothing
if compiler shows half-screen of errors, it is probably worth googling around for them.

@brada4
i got a.out, it works;

@brada4
i got a.out, it works;

So you can use clang to build BLAS and CBLAS APIs out of OpenBLAS. LAPACK components will not build without fortran.
Why gcc ./configure looks for stdio.h in a weirdest place cannot be figured out here. Probably carefully re-reading documents around that compiler or getting successfully pre-built compiler package is of help.

So you can use clang to build BLAS and CBLAS APIs out of OpenBLAS. LAPACK components will not build without fortran.
Why gcc ./configure looks for stdio.h in a weirdest place cannot be figured out here. Probably carefully re-reading documents around that compiler or getting successfully pre-built compiler package is of help.

https://stackoverflow.com/questions/65276102/compilation-errors-with-m1-macbook-pro-and-cmake suggests the SDKROOT variable may not be set correctly if stdio.h is not found.

https://stackoverflow.com/questions/65276102/compilation-errors-with-m1-macbook-pro-and-cmake suggests the SDKROOT variable may not be set correctly if stdio.h is not found.

sudo ./configure --with-gmp=/opt/homebrew/Cellar/gmp/6.2.1 --with-mpfr=/opt/homebrew/Cellar/mpfr/4.1.0 --with-mpc=/opt/homebrew/Cellar/mpc/0.33
then i got this:
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
https://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header

sudo ./configure --with-gmp=/opt/homebrew/Cellar/gmp/6.2.1 --with-mpfr=/opt/homebrew/Cellar/mpfr/4.1.0 --with-mpc=/opt/homebrew/Cellar/mpc/0.33
then i got this:
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
https://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header

It looks like you need to install the package "libmpc" from homebrew, searching for "mpc" on formulae.brew.sh tells me that what they call "mpc 0.33" is actually some music player client and not the multi-precision complex numbers library needed by gcc.

It looks like you need to install the package "libmpc" from homebrew, searching for "mpc" on formulae.brew.sh tells me that what they call "mpc 0.33" is actually some music player client and not the multi-precision complex numbers library needed by gcc.

If you don't mind using conda package manager, you can use https://github.com/conda-forge/miniforge#download and run conda install fortran-compiler to install gfortran and conda install openblas to install openblas.

If you don't mind using conda package manager, you can use https://github.com/conda-forge/miniforge#download and run conda install fortran-compiler to install gfortran and conda install openblas to install openblas.

Oh, great - did not know that conda already has packages for the M1. Need to update the wiki...

Oh, great - did not know that conda already has packages for the M1. Need to update the wiki...

You can untar those library tarballs and make unversioned symlinks inside gcc source directory.

You can untar those library tarballs and make unversioned symlinks inside gcc source directory.

@martin-frbg , maybe it is a good idea to add support for nagfort. It has native M1 support. See https://www.nag.com/news/first-fortran-compiler-apple-silicon-macs

Maybe, but probably makes less sense while I lack both the hardware and that particular compiler


text:
折线图当所有值相等的时候会出现如图的情况

这种特殊情况的话，建议你设置一个y轴的起点
yAxis: {
    // 这儿设置y轴起点从0开始
    min: 0
}

@gebin 或者拉一下最新的代码，兼容了这个问题

感谢 ，可以了

数值1.0004,1.0006,1.0005,1.0007,1.0008，这样相差很小的数据体现不出来走势，只是趋近于一条直线

@hongweicao 我之前也是碰到类似这种，可以放大数据，或者统一使用百分比，就可以看到趋势了。

@CasoMemory  好的

yAxis: {
min: 0
}
我设置成0后当数据为0时负数都出来了  我不想有负数 怎么解？

if(minData<0){
minData=0;
}
加了个判断OK了

source: gharchive/issue

authors: CasoMemory gebin hongweicao jiangyanshuang xiaolin3303

license: mit

license_type: permissive

license_source: bigquery


text:
请求无效（服务器无响应）没有错误提示

浏览器：
Chrome 版本 70.0.3538.110（正式版本） （64 位）

这个是你自己服务关了吧，或者程序有问题？

在这里顺便提一下，这个启用增强功能开关应该在后台配置吧，要是后台排了顺序，当然是希望这个开关是打开的，而不是又要去叫前端先把这个开关打开（我想现在在做的项目中前端分管理端和小程序端，要叫他们打开这个开关，这就有点奇怪），最后，我提这这么多是把我使用过程中的感觉到的不足提出来，改不改由作者大大决定，感谢

在这里顺便提一下，这个启用增强功能开关应该在后台配置吧，要是后台排了顺序，当然是希望这个开关是打开的，而不是又要去叫前端先把这个开关打开（我想现在在做的项目中前端分管理端和小程序端，要叫他们打开这个开关，这就有点奇怪），最后，我提这这么多是把我使用过程中的感觉到的不足提出来，改不改由作者大大决定，感谢

这个问题是有一个主次问题，前端doc.html是ajax请求后端的地址的，对于前端来说，它并不知道后端开启了这个增强，而且一开始就请求这个会有兼容问题
或者从另外一个方面来说，如果是一个针对swagger接口管理的这么一个系统，针对一个api的地址做管理，来开启是否增强，那这种方式就是可以达到你说的那种效果
两种性质不一样

是服务器关了，但一般要给个错误提示吧

这个可以做优化，下个版本把这个问题考虑进去，优化一下

1.8.8 已优化

authors: XQDD xiaoymin

repo: xiaoymin/Swagger-Bootstrap-UI

license_source: github-api


text:
"--tune Psnr" mode completely broken

With commit 5bee8ea5f32820a7b25849340dd0116a103074e1,
"--tune Psnr" mode seems completely broken, giving huge coding loss.
awcy --tune Psnr

This definitely needs to be fixed before release (or PSNR tuning disabled), we cannot deliver a broken tuning mode.

authors: rzumer ycho


text:
希望在 vscode 中选择 target 的时候对 target 列表排序

你在什么场景下需要该功能？
在 vscode 环境下，单击状态栏选择一个target的时候，希望能对弹出的target列表进行排序。
描述可能的解决方案
可以按下列顺序排序：
default
all
target 名称首字母排序
描述你认为的候选方案
也可以按脚本中target定义的顺序排序。
其他信息
无

这个我迁移到xmake-vscode/issues了，回头有时间我会考虑改进下

我支持上了 你试试

请问排序规则是？

看到代码了，多谢！

authors: TopXX waruqi

repo: xmake-io/xmake-vscode


text:
Add emcc toolchain for WASM builds using Emscripten

First of all, thanks so much for creating this project, it fits my requirements perfectly!  I wanted a better way to build widely cross-platform apps without relying on CMake, etc, and I happened to find XMake and xmake.sh a few weeks ago.  Great work!
This PR updates path_toolname to detect the names of the Emscripten tools so that configure can be used with the emconfigure command.  After these changes (and installing the Emscripten SDK), one can build their project for the web by using the following commands:
emconfigure ./configure
make

I'm not sure if a full toolchain description should be added for Emscripten instead, but these minimal changes seemed to be enough to get everything working perfectly on my end.

We should add a toolchain named (emcc). like this https://github.com/xmake-io/xmake.sh/blob/6b1fa8e26371ce282d5564607715e563e6b9f27b/configure#L2840
and add a new platform and arch, wasm and wasm32
then run
./configure --plat=wasm --arch=wasm32
make

and we can improve to detect platform/arch in emcc envs.
so we just need
./configure
make

Added a new toolchain called wasm32_unknown_wasm, I'm not sure if this is the correct triplet name so please let me know if I should change it.

and you can check envs to detect wasm platform and arch automatically.
https://github.com/xmake-io/xmake.sh/blob/71223883bd63f5993d46b4de3bf127a295591fb6/configure#L637

and you can check envs to detect wasm platform and arch automatically.

Do you have a suggestion for which environment variable to check?  It looks like EMMAKEN_JUST_CONFIGURE=1 is set when emconfigure is run, that one might be useful.  I suppose we could also just check for EMSCRIPTEN too.  Which do you prefer?

Looks like EMSDK is the only reliable variable present when the Emscripten SDK shell has been loaded up, so I'm checking for that.  Seems to work as expected when I run this:
docker run -v `pwd`:`pwd` -w `pwd` -u $(id -u):$(id -g) emscripten/emsdk /bin/sh -c "./configure"

Thank you, too!

source: gharchive/pull-request

authors: daviwil waruqi


text:
Pinned section header at top / can this be achieved out of the box?

We you look at link below / the section header at top has a pinned section at top like a uitableview controller that shrinks on scroll

https://vm.tiktok.com/ZSJ2Dcp4j/

Looking for something like this
sectionHeadersPinToVisibleBounds

repo: xmartlabs/XLPagerTabStrip


text:
requirements.txt 里写错了

requirements.txt 文件里写了watchdog-0.9.0 导致安装失败，watchdog==0.9.0这样就可以了。

这个修复了，提交到ideanote4.x分支，watchdog主要用于监控浏览器的书签文件变更，后面不打算继续搞这个了。目前这个笔记软件已经稳定，可以clone下来用一下，有兴趣也可以一起完善。

authors: CapZhang xmings

repo: xmings/IdeaNote


text:
readme update

Not much information about this SENTRY_DSN=your_sentry_dsn in  the readme

Using google before opening issues is generally a pretty good idea.
https://www.google.com/search?q=sentry+dsn&oq=sentry+dsn&aqs=chrome..69i57j0i22i30l7j0i10i22i30j0i22i30.3707j0j1&sourceid=chrome&ie=UTF-8

Yes, of course. However any thing about zappa and about sentry (get dsn witt flask?), with lambda. Not clear

authors: Emirov xoelop

repo: xoelop/nlp-lambda-example

license: MIT


text:
🛑 Design Swan is down

In 971651c, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 100 ms

Resolved: Design Swan is back up in c66455f.

repo: xoryorz/upptime


text:
🛑 Design Swan is down

In c06f44b, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 101 ms

Resolved: Design Swan is back up in c99ceff.


text:
🛑 Design Swan is down

In 4860e9d, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 100 ms

Resolved: Design Swan is back up in 6303779.


text:
🛑 Design Swan is down

In 75f853d, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 137 ms

Resolved: Design Swan is back up in 65fd937.


text:
🛑 Design Swan is down

In 5b2aba0, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 89 ms

Resolved: Design Swan is back up in 63b95b5 after 12 minutes.


text:
Cmake builds, Docker, and CI

Implements #17 #19 and #20

You can now build from a Docker container (see Dockerfile)
Build runs on CircleCI, but you can extend to other platforms easily now (because Docker..)
You'll want to set up your own CircleCI account to manage builds--right now it's working off my fork (https://circleci.com/gh/JLospinoso/forest)
I added a badge to README, update the URL as appropriate once you've got your account
Examples and tests now build

@JLospinoso Sir. You did a hell of a job !!! 🍻

@xorz57 Please add hacktoberfest label to this PR :)

The changes you made are on the master branch right? Will this be a problem or not at all? I am new to GitHub and am trying my best learning how things work.

Added the label as requested ;)


text:
🛑 pishem-otzivi is down

In 59c7ab5, pishem-otzivi (https://пишем-отзывы.рф/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pishem-otzivi is back up in decf46b.


text:
Add extra upload functionality

When the upload jumps to 1 GB, there are no decimal numbers anymore, even though the total upload does have a decimal number. I would like to be able to see this if possible
I would also like to see the upload speed, currently I need to guess how long an upload will take, so having the speed there would be great if possible.

The decimal numbers for GB will be an easy fix and included in the next release.
For the upload speed I have to see when I get that done, it is surprisingly difficult to get the time estimation right without it jumping all over the place.

So the decimal upload progress should be fixed in 8.6

great, which tool are you using for the upload? Because scp does have a speed thingy in there

It does not use any specialized tool for file transfers, they are transferred manually.
I can definitely come up with a proper timer, it will just take a little bit of time and experimentation.

authors: crschnick legoraft

repo: xpipe-io/xpipe


text:
Frontendediting ändert BackendStyle

Aufgrund des MaterialDesigns wird der Backend-Font und eventuell noch andere Dinge geändert!
Material-Font und eventuell andere Dinge müssen deaktiviert werden!
V1.1

fixed in V 1.1.0

fixed in V 1.1.0

repo: xprojects-de/alpdesk-frontendediting


text:
#8 execute post build scripts

fixes #8
unfortunately I don't know how to handle frontend :(

@Kryniol can you give some examples of after build script you would like to run?

@mariusz-bak-xsolve-pl as in #8, initially we need to attach a volume to newly created DB container and also configure Apache vhost along with proxy so that the app would be available under a subdomain. Later on we'll probably need some logic which would notify external webservices like Travis, Github or Jira that the environment is up and running.

@Kryniol The reason why I'm asking is that I'm a bit reluctant to allow to execute any script, and as I understood this one will be provided in repository, so there's virtually no control over what it can do. So it's a bit like using exec in PHP. That is why I decided to provide specific before build tasks, instead of allowing to run some bash script then.
Therefore I'm wondering if we can have some dedicated jobs that will do what you need and where we can validate somehow. Adding a subdomain would be one job type, attaching a volume - another one etc.
What's your take on this?

I'd love to have it made this way as well but this requires a lot of additional work. So let's treat executing any script as MVP (because we need that feature urgently) and agree to improve the solution over time. What do you think?

@Kryniol I get it. But let's agree that this will not be supported in future versions and it will be replaced later with some fine-grained commands, OK? To accept this we still would need frontend part though. I can try to find some time in the evening today to do it.
Am I right that the structure that you are adding to Mongo now look like the one given below?
"afterBuildScripts": [
    "script1.sh",
    "script2.sh"
]

@malef You're right, that's the proper structure. I agree this feature can be removed when we're done with more sophisticated solution.

@Kryniol Sorry it's not merged yet, I still need to find time to handle frontend changes.

authors: Kryniol malef mariusz-bak-xsolve-pl

repo: xsolve-pl/xsolve-feat


text:
Simplify importing 'test' module on XQuery

This pull request derives from #484. So needs to be handled after that.

In order to test src/compiler/generate-query-utils.xql, src/compiler/generate-query-tests.xsl has a special xsl:if. But it is not necessary. This pull request removes it.

@cirulls
Merged this internal small enhancement.

repo: xspec/xspec


text:
feat(report): report each scenario's originating XSpec file URI

oXygen plugin uses a patched version of XSpec to generate a report XML like this:
<x:scenario source="file:/.../escape-for-regex.xspec">

To help such requirement by default, this pull request

resolves the originating .xspec file URI of each x:scenario
writes the resolved URI in the report XML

similar to @source above, but under a different attribute name, @xspec, for consistency with x:description/@xspec

The reported URI takes x:import and the Schematron preprocessing into account:

Monolithic (no x:import): XSLT, XQuery, Schematron
Modular (x:import): XSLT, XQuery, Schematron

As demonstrated by test/end-to-end/, this doesn't change the documented behavior. Merging this.

@xspec/oxygen-xml-editor-xspec-support
In the next version of XSpec, the originating .xspec file URI will be available by default in the report XML.


text:
show Plus-Button only if description exist

For now, the Plus-Button appears at each entry, even if there is no additional Data for the appointment.

We need to hide this Button if no description is available for an appointment.

@xstable Can i work on this ?

@maddyBoy, yes you can work on this. Thanks for your contribution.

@maddyBoy are you on your way? Any progress here?

@xstable , Apologies for the late response, I was working on another project. I will start by tomorrow on this and update you soon.

Can i do it right now?

@Tamy123 yep, you can start if you like. Thank for your participation.

How to run this eventually? I have done the npm install. But now what?

@Tamy123 please have a look at the Installation-Instructions https://github.com/xstable/xst-google-calendar-events.
@maddyBoy do you have any progress with it?

Sorry im kind of busy with some other project so you can unassign me from here.

authors: Tamy123 maddyBoy xstable

repo: xstable/xst-google-calendar-events


text:
Reviewing Line internals and modification API - integrate knobs with Xdeps

Currently a line has:

elements: list of elements
element_names: list of names
element_dict: dictionary of elements

There is redundant information and therefore potential inconsistencies:

ordering of the elements is in both elements and element_names
naming information is in both element_names and element_dict
object are in both elements and element_dict

In addition it is not clear whether non-unique names are consistently supported.
A possible minimal representation would use only:

element_dict
element_names

elements can become a read-only property to avoid the inconsistencies mentioned above. It should be easy to implement

Done in v0.8.0

authors: giadarol rdemaria

repo: xsuite/xtrack


text:
sndwnd:  rcvwnd: !?如何计算的？

这两个值是怎么计算的？谢谢。

假如sndwnd = 1024， 平均包大小1K, RTT = 300ms
那么网络上总共有 1K * 1K / 300ms = 3.33MB 在流动，这个是最大值。也就是占用了33Mbps的带宽。

用了一会，然后就不能用了什么情况！！！

Hi:

Are you using the latest release?
Which OS do you use?
Which end for this issue related to, client or server?
Does your ISP or VPS blocked UDP?
Does your VPS firewall allows UDP pass through?
Are you using the same version for both client & server
Did you correctly set the -target value, -t value	target server address (default: "127.0.0.1:12948") on the server side?

authors: lbbboy xtaci

repo: xtaci/kcptun


text:
add 320 kbps

add 320 kbps soundcloud downloader

As far as I'm aware, Soundcloud does not provide a 320 kbps stream for tracks that the artist didn't put a download link for. The extension has logic already in it to check if a higher quality version mp3 is available, and will automatically choose a higher quality mp3 over a lower quality one.
Consider unchecking 'Always download tracks in .mp3 format' in the options page. This allows the extension to download tracks that are uploaded in other formats if they are available.

There is a Soundcloud GO+ $10/m that allows you to stream at 320kbs. If the artist used that bitrate during the upload.

authors: jcvr1994 rpavantica xtangle

repo: xtangle/zoundcloud


text:
后台项目可以分享下吗

大佬，后台项目可以分享下吗

数据目前是写死的，可以调用阿里妈妈接口

authors: lordbaby xuess


text:
elx-table 和 elx-editable 的保持横向滚动条位置的问题

关于在表格列过多的横向滚动条位置的问题
elx-table 在api从后台刷新数据的时候不能保持滚动条位置。
elx-editable 却能在api刷新后台数据的时候能保持滚动条位置不变。
希望elx-table在刷新数据的时候也能保持滚动条位置不变。
因为我测试使用elx-editable就能保持滚动条。

遇到同样问题。数据刷新。elx-table 会强制滚动到第一条数据。希望数据更新的时候可以记忆当前的滚动位置

repo: xuliangzhan/vue-element-extends


text:
backward on std_net

I am wondering that why  are you setting  std_gradInput_centered = self.std_net:backward(input_view, std_grad) but not std_net:backward(input_centered, std_grad) in StyleINLossModule.lua(line 114) file. I would appreciate it very much if you can give some detailed explanation about how to get the std_gradInput.

Thanks for pointing it out. This is a bug. I just fixed it


text:
在获取我的角色和旅行札记时出现-100

问题描述
如题，重复进行了登陆也没有解决
复现步骤
登陆账号后切换到对应选项就出现报错
截图

系统版本
windows 10 22H2
寻空版本
1.3.1.0
日志
log_20230125_023911.txt
备注
感谢大佬的贡献

重装重新登录以后解决了（问题千千万，重装少一半）

以后解决了（问题千千万，重装少一半）

貌似是用cookie登陆有这个问题，网页登陆就没事

repo: xunkong/xunkong


text:
🛑 🇹🇼 边缘节点-台湾 (EdgeNode-Taiwan) is down

In f4f49f5, 🇹🇼 边缘节点-台湾 (EdgeNode-Taiwan) ($SECRET_SITE_TW) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 🇹🇼 边缘节点-台湾 (EdgeNode-Taiwan) is back up in d09b7f1 after 24 minutes.


text:
Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/71268
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" ba924b1342644ede0dff4edc4e454c24bba0f50b
git push origin v0.1.0

authors: JuliaRegistrator xzma


text:
how to train the teacher model on my own dataset?

I have the same question ,how to train the teacher model on my own dataset? The author prvided the teacher model on the public dataset, but do not provide the interface to train the teacher model on the specific dataset.

done

@ai-application I have the same problem as you, how did you solve it?


text:
🛑 Hiroshima.fun is down

In 03860d0, Hiroshima.fun (https://hiroshima.fun) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hiroshima.fun is back up in f52ae33.


text:
Include full example

You give the example code, but you don't give what it will display as! For instance, will DataStoreError::Disconnect display as
data store disconnected

or
DataStoreError::Disconnect(data store disconnected)

Or... something else?

Love the crate BTW, awesome idea!

It should render just the content of the comment, so the former. As for a full example, that's a great idea!
I'm not sure when I'll be able to get around to adding it, hopefully not too long because it seems like it should be relatively straight forward, but if you want to go ahead and open a PR to add the example I will merge it right away.

authors: vitiral yaahc

repo: yaahc/displaydoc


text:
Resize Tool

Hi, Dont know how end tool of resize settings works.
when user tapp is show horizontal and vertical. i save both images but no effect any image.
kindly tell us how it works.
Thanks

If horizontal/vertical button selected, new image width/height will be set to value that tapped button has. Width and height values are not swapped when switch horizontal/vertical button.

Thanks for quick response yackle.

authors: Mavrixsolutions yackle

repo: yackle/CLImageEditor


text:
Wrong file identifier/HTTP URL specified

Why do i always get this error after the bot successfully processing the request?

Unhandled rejection Error: 400 {"ok":false,"error_code":400,"description":"Wrong file identifier/HTTP URL specified"}
at C:\Users\Christian Dimas\Desktop\telegramV2\node_modules\node-telegram-bot-api\lib\telegram.js:186:17
at tryCatcher (C:\Users\Christian Dimas\Desktop\telegramV2\node_modules\request-promise\node_modules\bluebird\js\main\util.js:26:23)
at Promise._settlePromiseFromHandler (C:\Users\Christian Dimas\Desktop\telegramV2\node_modules\request-promise\node_modules\bluebird\js\main\promise.js:507:31)
at Promise._settlePromiseAt (C:\Users\Christian Dimas\Desktop\telegramV2\node_modules\request-promise\node_modules\bluebird\js\main\promise.js:581:18)
at Promise._settlePromises (C:\Users\Christian Dimas\Desktop\telegramV2\node_modules\request-promise\node_modules\bluebird\js\main\promise.js:697:14)
at Async._drainQueue (C:\Users\Christian Dimas\Desktop\telegramV2\node_modules\request-promise\node_modules\bluebird\js\main\async.js:123:16)
at Async._drainQueues (C:\Users\Christian Dimas\Desktop\telegramV2\node_modules\request-promise\node_modules\bluebird\js\main\async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\Christian Dimas\Desktop\telegramV2\node_modules\request-promise\node_modules\bluebird\js\main\async.js:15:14)
at tryOnImmediate (timers.js:543:15)
at processImmediate [as _immediateCallback] (timers.js:523:5)

This is a response from the tg bot api. Which method are you using, e.g. sendPhoto ?

cannot reply this error anymore, will open the issue if i got it again :+1:  thanks a lot! :grin:

I have the some problem. I send photo to my bot.

authors: GochoMugo infiniti008 kenanchristian

repo: yagop/node-telegram-bot-api


text:
'NoneType' object has no attribute 'hadoopConfiguration'

Environment:

Python version [3.7.7]
Spark version [2.5.4]
TensorFlow version [2.1.0]
TensorFlowOnSpark version [2.2.1]
Cluster version [Standalone]

Describe the bug:
I am trying to execute MNIST using Keras on my Jupyter notebook to avoid using the terminal. I replaced ArgumentParser with this object to pass the same params directly to TFCluster :
class Args():
batch_size = 64
buffer_size=10000
cluster_size=num_executors
epochs=3
model_dir="D:\Master\practical\TFOS\mnist_model"
export_dir="D:\Master\practical\TFOS\mnist_export"
steps_per_epoch=469
tensorboard="store_true"
And then used args = Args() to pass params as args.model_dir (for example) but I get the following errors:
Logs:
~\Anaconda3\envs\spark_env_3.7\lib\site-packages\tensorflowonspark\TFCluster.py in run(sc, map_fun, tf_args, num_executors, num_ps, tensorboard, input_mode, log_dir, driver_ps_nodes, master_node, reservation_timeout, queues, eval_node)
272
273   # get default filesystem from spark

274   defaultFS = sc._jsc.hadoopConfiguration().get("fs.defaultFS")
275   # strip trailing "root" slash from "file:///" to be consistent w/ "hdfs://..."
276   if defaultFS.startswith("file://") and len(defaultFS) > 7 and defaultFS.endswith("/"):

AttributeError: 'NoneType' object has no attribute 'hadoopConfiguration'
Spark Submit Command Line:
None. Using Jupyter notebook
How to solve this? the code works fine when using spark-submit command but not working from Notebook!!

The error seems to indicate that sc._jsc=None.  Did you create a valid SparkContext in your notebook?  Otherwise, as a quick fix, you could just patch TFCluster.py to hard-code your defaultFS for your environment.

The error seems to indicate that sc._jsc=None. Did you create a valid SparkContext in your notebook? Otherwise, as a quick fix, you could just patch TFCluster.py to hard-code defaultFS to your environment.

I checked the error again and did the following:
I tried to use my local file system as defaultFS and set its value in TFCluster.py file as defaultFS="file:///home/orwa/spark_files/tfos/data" but got the exception:
`2020-06-23 18:40:05,984 INFO (MainThread-3198) Reserving TFSparkNodes w/ TensorBoard
2020-06-23 18:40:05,985 INFO (MainThread-3198) cluster_template: {'spark://192.168.198.131:7077': [0]}
2020-06-23 18:40:05,997 INFO (MainThread-3198) Reservation server binding to port 0
2020-06-23 18:40:05,998 INFO (MainThread-3198) listening for reservations at ('192.168.198.131', 44411)
2020-06-23 18:40:06,012 INFO (MainThread-3198) Starting TensorFlow on executors
2020-06-23 18:40:06,033 INFO (MainThread-3198) Waiting for TFSparkNodes to start
2020-06-23 18:40:06,035 INFO (MainThread-3198) waiting for 1 reservations
2020-06-23 18:40:06,172 ERROR (Thread-27-3198) Exception in TF background thread
An exception has occurred, use %tb to see the full traceback.
SystemExit: 1
It is caused by cluster = TFCluster.run(sc, main_fun, args, args.cluster_size, num_ps=0, tensorboard=args.tensorboard, input_mode=TFCluster.InputMode.TENSORFLOW, master_node='spark://192.168.198.131:7077', log_dir=args.model_dir)
If I try to execute the same instruction again, I get the 'NoneType' object has no attribute 'hadoopConfiguration'  , and this error is issued because spark context object is terminated when the first exception is thrown.
I guess that first exception is the problem but no information existed in the stack trace!!

OK, please look for any errors in the executor logs.  Simplest way is to look in the Spark UI -> Executors -> stderr.

I checked the stderr and it did not contain useful info, the only error shown is at the last line :
....
...
20/06/24 13:21:22 INFO MemoryStore: MemoryStore cleared
20/06/24 13:21:22 INFO BlockManager: BlockManager stopped
20/06/24 13:21:22 ERROR CoarseGrainedExecutorBackend: RECE
I tried using defaultFS="file:// and defaultFS="file:///home/orwa/spark_files/tfos/data

Are you able to run a sample Spark job (that doesn't use TF or TFoS) from this notebook environment?

Are you able to run a sample Spark job (that doesn't use TF or TFoS) from this notebook environment?

Yes I am able to run and actually did and used MLLib for example without any problem. Is there some kind of configuration for TensorFlowOnSaprk to run in Jupyter Notebook without problems? I could not figure out what could cause this issue!

@orwa-te I was able to run the example via Jupyter Notebook with just one minor change:
# args = parser.parse_args()
args = parser.parse_args(["--batch_size", "100"])    # just for demonstration of command line in jupyter

Note: that if you don't supply the "command line args" in a jupyter cell, it will just use the arguments that were passed to the jupyter launch command line (and raise errors about "unrecognized arguments").  With this, the rest of the code ran fine.
Also note that if you still see errors, you can actually type %tb in a jupyter cell to print the last error stack trace to debug further.

@orwa-te I was able to run the example via Jupyter Notebook with just one minor change:
# args = parser.parse_args()
args = parser.parse_args(["--batch_size", "100"])    # just for demonstration of command line in jupyter

Note that if you don't supply the "command line args" in a jupyter cell, it will just use the arguments that were passed to the jupyter launch command line (and raise errors about "unrecognized arguments"). With this, the rest of the code ran fine.
Also note that if you still see errors, you can actually type %tb in a jupyter cell to print the last error stack trace to debug further.

Thank you, It worked with this simple modification and it solved the problem.
Well, there is still one more issue here. I tried to set the master node URL of Spark with  sc = SparkContext(conf=SparkConf().setAppName("mnist_keras").set('spark.cores.max',2).setMaster("spark://192.168.198.131:7077")) in the same example in order to follow the execution on the dashboard where spark://192.168.198.131:7077 is my Spark cluster URL,  but the program gives an error java.io.IOException: Cannot run program "python": error=2, No such file or directory!!
The only thing I changed is setting the master URL

Not sure what that might be... again, are you able to use that configuration with a simple spark job?  Also, is there a stack trace showing where this is occurring?

Yes, I am able to use this configuration with the MLLIp library in Spark without a problem from my Jupyter Notebook.
For the last error I mentioned above, the only info I got from the stack trace was the message java.io.IOException: Cannot run program "python": error=2, No such file or directory and it only appears if I set the master URL of my stand alone Spark cluster.
The full stack trace is here.
Sorry for wasting your time on this problem as it is not related to the issue title, therefore you can close it if you want but I guess there's something that need to be changed in mnist_tf.py to work.

Yeah, that stack trace seems to have nothing to do with TFoS.
A couple things to try:

Run a simple pyspark job on this environment.
Add some debug statements inside the map_fn to dump out PATH, and make sure that it includes the path to the python executable.

authors: leewyang orwa-te

repo: yahoo/TensorFlowOnSpark


text:
Issue with a plural in 'ru' locale

Hi,
i have an issue with plural in ru locale, example:
Здесь {n,plural,=0{котов нет} =1{есть один кот} one{# кот} few{# кота} many{# котов} other{# кота}}!
if n = 101, should work 'one' and result must be a '101 кот', but work 'other' and result is '101 кота'
I check it on PHP Yii2 Framework, and it's work perfect for 'ru' locale
And i found some helpful links
(http://www.yiiframework.com/doc-2.0/guide-tutorial-i18n.html#plural)
(http://intl.rmcreative.ru/tables?locale=ru)
(http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#ru)
Can you help me please ?
P.S. I'm sorry for my awful english :(

It's likely that you need to load the ru locale data on the page, otherwise it will be falling back to English's pluralization rules where 101 will being other.

authors: ericf mxkh

repo: yahoo/handlebars-intl


text:
Fix error when supportedLocalesOf throws exception

supportedLocalesOf will throws exception on some old version AndroidWebview

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

my test device:  Oppo R9/Android 5.1

authors: xcqwan yahoocla

repo: yahoo/intl-locales-supported


text:
SwiftyXMLParser does not specify a Swift version

Hi there,
Error message:
- SwiftyXMLParser does not specify a Swift version and none of the targets (UnityFramework) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.
This becomes a real issue for us. Especially when the project files are auto-generated on certain platforms e.g. Unity.
The solution is to set the swift_version in the podspec file which should be strait forward.
https://guides.cocoapods.org/syntax/podspec.html

I'm sorry for late repry. I fixed the issue. Could you try the new version?

repo: yahoojapan/SwiftyXMLParser


text:
Not able to add select options on data tables query

Summary of problem or feature request
I have followed the tutorial and have been able to successfully populate and edit the data table but I cannot display the name values of any related table, only the I’d value when editing.
On the datatables.net site the code shown for a simple select is field::inst(options.
Is the any easy way to populate the select drop down with names from a related table.
Code snippet of problem

System details

Operating System
PHP Version
Laravel Version
Laravel-DataTables Version

Issue resolved using
https://github.com/yajra/laravel-datatables/issues/344#issue-127029406
Note: needed to update methods::
pluck instead of lists
and
sortByAsc instead of orderby (working with a collection)
$options = [
"pr_assignment.spotlight_id" => Spotlight::pluck('id', 'name')->sortByAsc('name'),
"pr_assignment.publication_issue_id" => PublicationIssue::pluck('id', 'title')->sortByAsc('title')
];

repo: yajra/laravel-datatables-editor


text:
Support package auto discovery for L5.5 and up

Thanks but this was already implemented on v8, master branch. You may also need to see https://yajrabox.com/docs/laravel-datatables/master/upgrade doc for ref.

authors: palpalani yajra

repo: yajra/laravel-datatables


text:
ycom 3.0-beta4: logout funktioniert nicht

Logout wie in Doku beschrieben, loggt den User nicht aus. User bleibt eingeloggt.

Manchmal wirkt der Logout-Prozess, als würde er sich aufhängen. Die Seite reagiert dann für Minuten nicht. Man wird manchmal auch aus dem REDAXO Backend geschmissen. Es macht einen Unterschied dabei, ob der Cache von REDAXO schon generiert war oder noch nicht. Ansonsten vollkommen willkürlich.

@pixeldaniel könnte ein lokales Problem sein. Bitte Bescheid geben, wenn du es mal getestet hast.

Bin gerade drüber gestolpert. Umgebung Windows/PHP7.2
Beim Logout wird hier: https://github.com/yakamara/redaxo_ycom/blob/master/plugins/auth/lib/ycom_auth.php#L402 der ycom Cookie geplättet. Allerdings ist $sessionConfig['frontend']['cookie']['path'] bei mir leer, der Cookie hat aber als Pfad /login/. Der Cookie wird wegen des unterschiedlichen Pfades nicht gelöscht, der User ist weiterhin eingeloggt. Eine Lösung habe ich ob der späten Stunde in Kombination mit einer nicht unerheblichen Menge an Weissweinschorle nicht zu bieten - das Problem habe ich mit setcookie('rex_ycom', null, -1, '/login/'); umgangen :)

Das nächste Mal mit Rotwein? @dergel kannst du da was fixen nach so einer schönen Fehlerdiagnose von @IngoWinter ?

Hallo zusammen,
wir es für dieses Problem noch einen Fix geben?
Gruß
Daniel

das sind zwei Probleme gleichzeitig. Das mit dem Cookie in einem Unterordner kann man am besten lösen, und sollte man auch so machen, indem man in der redaxo config den cookie path auf '/' setzt. Das es manchmal so aussieht als ob alles hängt liegt an
rex_response::setHeader('Clear-Site-Data', '"cache", "cookies", "storage", "executionContexts"');
Diese Zeile löscht den kompletten Cache des Browser der Webseite. Und das ist dann manchmal schon einiges, so dass es einfach dauert, bis der Browser durch ist. Wird aber in der nächsten Version nicht mehr so sein.
https://github.com/yakamara/redaxo_ycom/blob/d33f4f42375ab370782384bb9672720adc152ed1/plugins/auth/lib/ycom_auth.php#L381

Also Redaxo setzt keinen Standard Pfad für Cookies, YCom ist aber auf einen Standard Pfad angewiesen, weil die Cookies sonst mit dem Pfad des Login Formulares gesetzt werden und dann der Logout evt. nicht funktioniert. Imho sollte dieses Verhalten prominent in der YCom Readme dokumentiert sein oder Redaxo sollte per Default / als Pfad setzen oder YCom sollte per Default / als Pfad nutzen. Wobei ich einen Standardpfad in der Redaxo Config vorziehen würde.

Und wie mache ich das mit dem Standard-Pfad?

Ich denke mal hier (bzw. in unter /redaxo/data/core/config.yml): https://github.com/redaxo/redaxo/blob/master/redaxo/src/core/default.config.yml#L28

Cookie Pfad ist nun immer automatisch auf "/" gesetzt, überschreibt quasi den REDAXO Frontend Cookie Pfad.
Weiterhin ist sowieso einiges umgebaut, so dass auch 'Clear-Site-Data' nicht mehr genutzt wird, sondern die YCom sessionvariablen direkt gelöscht werden.
Bitte nicht die aktuelle github Version nutzen. Es ist noch einiges mehr umgebaut worde, was erst noch dokumentiert werden muss.

authors: Goldfischpeter IngoWinter Pixeldaniel alexplusde dergel hillepeter


text:
<>

The userscript makes channels that have angled brackets in their name like <name> have no name. (Firefox)
Images:

rycu disabled
rycu enabled [The name is supposed to say </xii> but it shows nothing]
the video this comment was on

Can you please provide the URL of the video where the problem occurs?

Fixed in v0.3.6!!!!


text:
Add Em component

Description
Used to mark text for emphasis.

https://www.chakra-ui.com/docs/components/em

Problem Statement/Justification
It is well implemented in other UI libraries; it is strange that Yamada UI does not implement it.
Proposed Solution or API
<Text>The design system is a collection of UI elements</Text>

Alternatives
No response
Are you willing to participate in implementing this feature and create a pull request include the implementation?
Yes
Additional Information
No response

Fixed #3243

repo: yamada-ui/yamada-ui


text:
[WIP] Add Tree component

Closes #990
Description
Add Tree component
New behavior
This adds a new component Tree.
Is this a breaking change (Yes/No):
No
Additional Information

[x] Add Tree
[ ] Add tests
[ ] Add docs

Closing because too many changes in pnpm-lock.yaml.


text:
Updated node-globals version

Fixes #2

Thanks for your contribution :beers: !

authors: GeeWizWow yamafaktory

repo: yamafaktory/buble-react-rollup-starter


text:
Feature Request: CLI to run the benchmarks

One very annoying thing is when I need to show the benchmark, usually I put the code and the people who will run it need to install my benchmark package in the folder to be able to run the benchmark.
As I fork many packages, I even go so far as to create a bash function to run my benchmarks without having to install benchmark.js in the current folder.
It would be so nice if I could just post the code and people just create a file with it and then:
isitfast test-my-benchmark.js

The only downside is that it is difficult to pass node arguments like --expose-gc and other flags without needing to call the CLI directly with node --expose-gc isitfast.js test-my-benchmark.js.
The benchmarks could be defined like:
module.exports = {
  bench1: () => console.log('hey'),
  bench2: () => console.log('World'),
};

In my libraries, I use oclif to generate the boilerplate and deal with command and argument processing, the way they expose the functionalities is like this for linux:
#!/usr/bin/env node

const oclif = require('@oclif/core')

oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'))

What we can do instead is to keep as #!/usr/bin/env, then we process the flags and call node script with that flags.
Something like:
#!/usr/bin/env

$enable_gc="--expose-gc"

# some condition to disabled, I'm very bad at bash script

# I don't know either if this code compiles but I think you get the point
exec node $enable_gc linux_cli.js
# the content of linux_cli.js is the code above

For windows is even easier:
@echo off

node "%~dp0\run" %*

Ref: Linux and Windows

That looks like a very solid solution. I'll try to piece something together.
Thanks for pushing me into the right direction!

I was thinking right now, if we push this feature, we can create a Github Action to integrate your benchmark, imagine create a lot of benchmarks like this:

bench/test-one.js
bench/test-two.js

And then, in the CI/CD, we just create something to run like:
- run: isitfast --filter bench/**.js

We can also push the results to a PR automatically, it will be insane to be used by libraries that want to add some performance tests.
I'm just throwing some ideas, you don't need to take it too much seriously hahahah

That sounds like fun! I'd like to integrate such benchmarks into ts-package which is my template for libraries. I think it's much easier to just write a bunch of js/ts files that don't import anything than having to import the benchmark lib and set everything manually.
I'd like to make this way of using isitfast as modular as possible. We have to be able to:
define options for each benchmark and/or for all benchmarks
I thing it can be solved in several ways.

add flags like --cpu-rangepercent
add flag --options which would take path to JSON file
export options from individual benchmark files

I believe we can combine all of them together.
subscribe to benchmark/suite events and/or do suite setup
I think when it comes to benchmark events we can do something like this:
// benchmarks/test.ts
export default {
  // optional suite name
  name: "Test",
  // benchmarks and their events
  benchmarks: {
    "forEach": {
       benchmark: () => { /* */ },
       events: {
         beforeOne: () => { /* */ },
         afterAll: () => { /* */ }
       }
     }
  },
  // optional options
  options: {
    cpu: { rangePercent: 0.5 }
  }
};

I have to admit this is kind of verbose but I don't see any other way to do this. Maybe we could export those props (name/benchmarks/..) individually to make it a bit more cleaner.
One thing to keep in mind is that we lose TS types here. Let's say we also add setup prop just like Suite.setup. Then in all of the benchmarks we should be able to get the data generated from setup and see its correct type. With this approach it's impossible.
Another solution would be to force users to import the lib for non-trivial cases like these. But I'm not sure how I feel about that.
use different modes for each/all benchmark file/s
I guess most of the users will want to use useTerminalCompact but what if in the future we add something like useMarkdownCompact which runs the benchmarks and saves the results into markdown?
So I guess we could add a flag --mode for that and/or export it from the file and/or embed the name of the mode in the name of the file like array-loops.benchmark.terminal-compact.ts.

About options, I think you can start by exporting it from benchmark file and then add support to override by flags.
About the test file, you can organize like nextjs do:
export const options = {
    cpu: { rangePercent: 0.5 }
};

export const firstSuite = {
  name: 'Test',
  benchmarks: {
    "forEach": {
       benchmark: () => { /* */ },
       events: {
         beforeOne: () => { /* */ },
         afterAll: () => { /* */ }
       }
     }
  },
};

In this way, I think could be a little better for readability.
About the TS Type, we could have if do like nextjs do, patching the global and exporting default interfaces, so we can use those interfaces in any file without importing itisfast.
The only thing that worries me is: how do we compile the TS files? Should we use ts-node to run the files if we detect that the benchmark file is .ts? oclif use ts-node like this, essentially, if we use something like that, we could add a flag called --tsconfig to pass the config file for typescript, in this way, we can compile and run the files without problems.
About the mode, I really liked the behavior, having the option to export as markdown is a great thing because we can commit those files in the repository during the CI/CD phase and always have the updated benchmarks.

I agree with everything.
When it comes to ts-node I think we can use it instead of node since it can also run regular js files. No need for conditional logic based on file extension.

I'm making some really nice progress.
I run every benchmark file through esbuild. This way we can use different kinds of JS files like ts/js/mjs/cjs.
Also there are several ways we can define a benchmark:

export default () => {}
export default { benchmark: () => {} }
export const benchmark = () => {}

I've been thinking that when it comes to named exports we could prefix every benchmark with $ since I could theoretically have an exported function named benchmark while also defining a benchmark for that function. So it should instead be export const $benchmark = () => {}.
This way we can easily support multiple benchmarks in the same file like this:
export const $for = () => {};

export const $while = () => {};

export const $forOf = () => {};

export const $forEach = () => {};

This is what I have so far:

Oh and also as a part of this task I'm gonna implement #37.
Thanks to the on-the-fly compilation I can very easily create Workers like this:
const worker = new Worker(
    `
    const { parentPort } = require("node:worker_threads");

    (async () => {
      const fn = (await import("${outFile}")).${path};

      parentPort.on("message", ${prefix}() => {
        const start = ${capture};

        ${run};

        const end = ${capture};

        parentPort.postMessage(Number(end - start));
      });
    })();
  `,
    { eval: true },
  );

Since we precompute all function names, etc. the Worker code that measures the performance (the most important part in the whole library) has no unnecessary computations or allocations resulting in the least amount of noise.

Ok so all benchmarks in a file have to start with $ and they have to be named exports. Default exports and named exports without the $ prefix will be ignored (for now).
Now we can mangle files and folders together like this isitfast one.ts two.js three/. We go through all subfolders (theoretically infinitely) and gather all files and their benchmarks and after all folders have been scanned we then run all the benchmarks.

I'm currently wrestling with SharedArrayBuffer, Uint32Array and Atomics.
I was able to move all shared mutable data into one Uint32Array which should get rid of a tiny bit of memory noise.
Also I'm finding out that code runs a bit differently in Workers as opposed the main thread. This will require slight changes to the algorithm. On the main thread I saw smaller numbers and there was less deviations. It looks like NodeJS gives the main thread bigger priority when it comes to resource distribution. Also it seems like the speculative optimization process is less aggressive. Although all of this might be NodeJS specific and might not happen in other environments.
I'm also adding a bunch of new events that can give additional info about what's happening in the background.
I've also deleted a bunch of files and folder so the overall structure is much easier to understand and navigate.
There is one thing that I've been thinking about. It's very convenient to generate benchmarks on the fly. Something like this:
const suite = new Suite("Test");
const options = [ /* .. */ ];

for(let i = 0; i < options.length; ++i) {
  suite.add(`Thing ${options[i]}`, () => { /* .. */ });
}

suite.run();

With the new CLI-only approach and the current benchmark resolution (named function exports starting with $ and default function export) strategy it's not possible to do this.
Does anyone have any idea how to bring this feature back?

Generating benchmarks
When it comes to generating benchmarks I think our safest bet is to do something like this:
const options = [ /* .. */ ];
const $$benchmarks = {};

for(const option of options) {
  $$benchmarks[`Thing ${option}`] = () => { /* .. */ };
}

export default {
  $$benchmarks
};

Benchmark events
Also right now we don't support benchmark events so I think we should bring them back like this:

Default function export

export const $$onBenchmarkStart = () => { /* .. */ };
export const $$onBenchmarkEnd = () => { /* .. */ };

export default () => { /* .. */ };

Default object export

export default {
  $$benchmark: () => { /* .. */ },
  $$onBenchmarkStart: () => { /* .. */ },
  $$onBenchmarkEnd: () => { /* .. */ }
};

Named object export

export const $forEach = {
  $$benchmark: () => { /* .. */ },
  $$onBenchmarkStart: () => { /* .. */ },
  $$onBenchmarkEnd: () => { /* .. */ }
};

Named function export

export const $$benchmark = () => { /* .. */ };
export const $$onBenchmarkStart = () => { /* .. */ };
export const $$onBenchmarkEnd = () => { /* .. */ };

Suite
I kind of got rid of suite as a concept since a suite is just a bunch of benchmarks grouped together. I think I should treat any context with multiple benchmarks as a suite (folder with default function export files, file with named function exports, etc.).
In the case where one file has many benchmarks it's very straightforward:

Default object export

export default {
  $$name: "Test suite",
  $$benchmarks: { /* .. */ },
  $$setup: () => { /* .. */ },
  $$onTeardown: () => { /* .. */ }
};

Named function export

export const $$name = "Test suite";

export const $forEach = () => { /* .. */ };
export const $forOf = () => { /* .. */ };
export const $while = () => { /* .. */ };
export const $for = () => { /* .. */ };

export const $$setup = () => { /* .. */ };
export const $$onTeardown = () => { /* .. */ };

But I'm not sure how to implement this with a folder acting as a suite.
Maybe we could have a file called $config.js which would use named exports or default object export to define all suite config.
Also I'm not sure what to do if we define suite in a folder with the $config.js file but we add a file containing a suite in the same folder. Is it a suite in a suite? If yes then how should that work?
Conceptually speaking I don't have a problem with variable suite/benchmark structure depth. It'd look similarly to Jest with many nested describe/test/it functions.
I'm thinking that we want a suite basically only for creating shared data with setup. Other than that suite just groups benchmarks which we've already accomplished with files and folders. The same applies to suite name which is now either file or folder name or it's specified with $$name.
So I'm thinking that we might create shared data by literally just creating a variable which we can then use in the benchmarks. Thanks to this we'll have correct types of the data which might have been impossible with just an exported function like $$setup. We can then reset or manipulate the shared data in the benchmark events.
I think this is a good solution but I'd be happy for any feedback on this.

Did you already deploy the CLI functionality?
I install the latest version but I could not figure out how to make it work.
The package.json says it calls ./dist/index.js but inside the installation folder it only have .cjs and .mjs files.

Hey yeah it's not released yet. You'd have to clone the repo and run build it yourself. I have big plans with this library and releasing it now when I change most of the code with every MR would kinda be pointless.

I'm currently working with a professional theoretical statistician to return meaningful and sound statistics from the benchmarks. Until then the CLI version basically just saves thousands of iteration measurements into a binary file and it's up to you what you do with it.

repo: yamiteru/isitfast


text:
Fix typo in docs

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=ru
Description of changes:
Without --folder-id flag command failing with error: ERROR: can't resolve object by name without folder id

Все готово!
Проверьте результат: RU,
Check the result: EN.

Все готово!
Проверьте результат: RU,
Check the result: EN.

Все готово!
Проверьте результат: RU,
Check the result: EN.

@podivilov, спасибо большое за правку! Пришлите, пожалуйста, идентификатор своего платёжного аккаунта из Биллинга, чтобы мы могли начислить грант в рамках контент-программы.

@podivilov, спасибо большое за правку! Пришлите, пожалуйста, идентификатор своего платёжного аккаунта из Биллинга, чтобы мы могли начислить грант в рамках контент-программы.

Имя: cloud-asessor
Идентификатор: dn212fe5omq7uucf3fec
Спасибо!

@iglunchadze

Грант выдан!

authors: iglunchadze podivilov yfm-team

repo: yandex-cloud/docs


text:
swift support

When will you add the swift support?

Hello!
Sorry, but this project doesn't support.
Please, see https://github.com/yandex-money/yandex-money-sdk-objc and create issue there.

authors: Exwell Raserad

repo: yandex-money/yandex-money-sdk-ios


text:
Enums in MySQL engine

Currently MySQL engine supports writing Enums, but doesn't support reading Enums.
mysql> create table mysql_enum ( `source` enum('IP','URL') NOT NULL ) ;
Query OK, 0 rows affected (0.07 sec)

:) create table mysql_enum_mapping ( source Enum8('IP' = 1, 'URL' = 2) ) Engine = MySQL('127.0.0.1','test','mysql_enum','root','');

:) insert into mysql_enum_mapping values ( cast('IP', 'Enum8(\'IP\' = 1, \'URL\' = 2)') );
Ok.
1 rows in set. Elapsed: 0.009 sec.

:) SELECT * FROM mysql_enum_mapping;

Error> executeQuery: Code: 50, e.displayText() = DB::Exception: Unsupported type Enum8('IP' = 1, 'URL' = 2), e.what() = DB::Exception (from [::1]:40808) (in query: select * from mysql_enum_mapping), Stack trace:

0. clickhouse-server(StackTrace::StackTrace()+0x16) [0x5e3f7e6]
1. clickhouse-server(DB::ExternalResultDescription::init(DB::Block const&)+0x368) [0x5de41f8]
2. clickhouse-server(DB::MySQLBlockInputStream::MySQLBlockInputStream(mysqlxx::Pool::Entry const&, std::string const&, DB::Block const&, unsigned long)+0x139) [0x5672439]
3. clickhouse-server(DB::StorageMySQL::read(std::vector<std::string, std::allocator<std::string> > const&, DB::SelectQueryInfo const&, DB::Context const&, DB::QueryProcessingStage::Enum, unsigned long, unsigned int)+0x22a) [0x4fa302a]
4. clickhouse-server(DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::InterpreterSelectQuery::Pipeline&, std::shared_ptr<DB::PrewhereInfo> const&, std::vector<std::string, std::allocator<std::string> > const&)+0x14de) [0x4dce87e]
5. clickhouse-server(DB::InterpreterSelectQuery::executeImpl(DB::InterpreterSelectQuery::Pipeline&, std::shared_ptr<DB::IBlockInputStream> const&, bool)+0x3f5) [0x4dd0a15]
6. clickhouse-server(DB::InterpreterSelectQuery::executeWithMultipleStreams()+0x3a) [0x4dd343a]
7. clickhouse-server(DB::InterpreterSelectWithUnionQuery::executeWithMultipleStreams()+0x5c) [0x4ddd6bc]
8. clickhouse-server(DB::InterpreterSelectWithUnionQuery::execute()+0x26) [0x4ddd956]
9. clickhouse-server() [0x4eadddc]
10. clickhouse-server(DB::executeQuery(std::string const&, DB::Context&, bool, DB::QueryProcessingStage::Enum)+0x70) [0x4eafec0]
11. clickhouse-server(DB::TCPHandler::runImpl()+0x547) [0x2bdc277]
12. clickhouse-server(DB::TCPHandler::run()+0x1c) [0x2bdd4dc]
13. clickhouse-server(Poco::Net::TCPServerConnection::start()+0xf) [0x5fc3cef]
14. clickhouse-server(Poco::Net::TCPServerDispatcher::run()+0x166) [0x5fc40b6]
15. clickhouse-server(Poco::PooledThread::run()+0x77) [0x62755a7]
16. clickhouse-server(Poco::ThreadImpl::runnableEntry(void*)+0x38) [0x6271768]
17. clickhouse-server() [0x6a7fa8f]
18. /lib64/libpthread.so.0(+0x7e25) [0x7fa97c380e25]
19. /lib64/libc.so.6(clone+0x6d) [0x7fa97bba434d]

Same problem with MySQL dictionaries:
<dictionary>
        <name>tt</name>
        <source>
            <mysql>
...

tt

            </mysql>
        </source>
...
        <structure>
            <attribute>
                <name>plan</name>
                <type>Enum8(...)</type>
            </attribute>
        </structure>
</dictionary>

DB::Exception: Unsupported type Enum8(

Same issue, had to import MySQL column as a string in such case.

Fixed in https://github.com/ClickHouse/ClickHouse/pull/11996.

authors: Crusader4Christ bkarlson filimonov ucasfl

repo: yandex/ClickHouse


text:
Cannot write to ostream at offset 2097152, e.what() = DB::Exception (from 10.133.37.111:59183) (in query:

ClickHouse 18.16.1

ClickHouse 18.16.1
query sql:


text:
OSX compilation error; ld: library not found for -lrt

This occurs from running make -j
g++ rnnlm.o hierarchical_softmax.o nce.o words.o maxent.o nnet.o recurrent.o -o rnnlm -Wall -march=native -funroll-loops -g -D__STDC_FORMAT_MACROS -I../ -DEIGEN_DONT_PARALLELIZE  -O3 -pthread -DNOCUDA -lm -lrt
clang: warning: argument unused during compilation: '-pthread'
ld: library not found for -lrt

If  -lrt is removed, this error occurs:
Undefined symbols for architecture x86_64:
  "Vocabulary::HashImpl::kMinSize", referenced from:
      Vocabulary::HashImpl::Rebuild() in words.o
  "Vocabulary::kWordOOV", referenced from:
      Vocabulary::HashImpl::Rebuild() in words.o
ld: symbol(s) not found for architecture x86_64

Try d3c9204d1512c636f69566bbc9466b27325f08d8

Wooooo, it works! Thanks Anton :)

I have a similar issue when I compile my makefile:
***********************************************
JustGarble
***********************************************
SRCDIR   = src
OBJDIR   = obj
BINDIR   = bin
TESTDIR   = test
OBJECTFULL = obj/*.o
SOURCES  := $(wildcard $(SRCDIR)/.c)
INCLUDES := $(wildcard $(SRCDIR)/.h)
OBJECTS  := $(SOURCES:$(SRCDIR)/%.c=$(OBJDIR)/%.o)
IDIR =../include
CC=gcc
CFLAGS= -O3 -lm -lrt -lpthread -maes -msse4 -lmsgpackc -lssl -lcrypto -march=native -I$(IDIR)
CFLAGS += $(shell $(CC) -dumpversion | awk '{if(NR==1 && $$1>="4.6") print "-Ofast -Wno-unused-result"; else print "-O3";}')
UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
CFLAGS += -DNORT
else
LDFLAGS += -lrt
endif
GWAS = MultyPartyGWASTest
GWAS2 = SpeedTestSmallerRealSumLinTest
GWAS3 = PartSmallerRealSumLinTest
GWAS4 = MultyPartySumLinTest
rm = rm --f
all: GWAS GWAS2 GWAS3 GWAS4
GWAS: $(OBJECTS) $(TESTDIR)/$(GWAS).c
$(CC) $(OBJECTFULL) $(TESTDIR)/$(GWAS).c -o $(BINDIR)/$(GWAS).out $(LIBS) $(CFLAGS)
GWAS2: $(OBJECTS) $(TESTDIR)/$(GWAS2).c
$(CC) $(OBJECTFULL) $(TESTDIR)/$(GWAS2).c -o $(BINDIR)/$(GWAS2).out $(LIBS) $(CFLAGS)
GWAS3: $(OBJECTS) $(TESTDIR)/$(GWAS3).c
$(CC) $(OBJECTFULL) $(TESTDIR)/$(GWAS3).c -o $(BINDIR)/$(GWAS3).out $(LIBS) $(CFLAGS)
GWAS4: $(OBJECTS) $(TESTDIR)/$(GWAS4).c
$(CC) $(OBJECTFULL) $(TESTDIR)/$(GWAS4).c -o $(BINDIR)/$(GWAS4).out $(LIBS) $(CFLAGS)
$(OBJECTS): $(OBJDIR)/%.o : $(SRCDIR)/%.c
$(CC) -c $< -o $@ $(LIBS) $(CFLAGS)
.PHONEY: clean
clean:
@$(rm) $(OBJECTS)
@$(rm) $(BINDIR)/$(AES)
@$(rm) $(BINDIR)/$(LARGE)
@$(rm) $(BINDIR)/$(FILE)
If I run make all, I will get error like: ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [GWAS2] Error 1
If I remove -lrt from CFLAGS, I will get errors like:
Undefined symbols for architecture x86_64:
"_ADDCircuit", referenced from:
_mul in SpeedTestSmallerRealSumLinTest-69ed37.o
_sum in SpeedTestSmallerRealSumLinTest-69ed37.o
"_ANDGate", referenced from:
_muxInt in SpeedTestSmallerRealSumLinTest-69ed37.o
_mux in SpeedTestSmallerRealSumLinTest-69ed37.o
_mul in SpeedTestSmallerRealSumLinTest-69ed37.o
_sumLinGWAS in SpeedTestSmallerRealSumLinTest-69ed37.o
"_NOTGate", referenced from:
_mul in SpeedTestSmallerRealSumLinTest-69ed37.o
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_XORCircuit", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_XORGate", referenced from:
_muxInt in SpeedTestSmallerRealSumLinTest-69ed37.o
_mux in SpeedTestSmallerRealSumLinTest-69ed37.o
_mul in SpeedTestSmallerRealSumLinTest-69ed37.o
_sumLinGWAS in SpeedTestSmallerRealSumLinTest-69ed37.o
"_countToN", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_createEmptyGarbledCircuit", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_createInputLabels", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_evaluate", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_extractLabels", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_finishBuilding", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_fixedOneWire", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_fixedZeroWire", referenced from:
_mul in SpeedTestSmallerRealSumLinTest-69ed37.o
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_garbleCircuit", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_getNextWire", referenced from:
_muxInt in SpeedTestSmallerRealSumLinTest-69ed37.o
_mux in SpeedTestSmallerRealSumLinTest-69ed37.o
_mul in SpeedTestSmallerRealSumLinTest-69ed37.o
_sumLinGWAS in SpeedTestSmallerRealSumLinTest-69ed37.o
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_mapOutputs", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_readCircuitFromFile", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_startBuilding", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
"_writeCircuitToFile", referenced from:
_garbleTest in SpeedTestSmallerRealSumLinTest-69ed37.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [GWAS2] Error 1

What should I do?

That Makefile shares a few lines in common with the faster-rnnlm one, but other than that your problem has nothing to do with this project. None of those symbols exist in the faster-rnnlm source.

authors: HLin00 akhti rversteegen scottyli

repo: yandex/faster-rnnlm


text:
当播放有误时，能否监听到是哪种错误？

当进入onPlayerError（）方法里，能否知道当前是什么原因播放错误，比如断网了，链接错了什么的

没有

repo: yangchaojiang/yjPlay


text:
能不能加上缓冲时显示网速，谢谢！

能不能加上缓冲时显示网速，有的客户一直说加载慢，想展示出来网速，让他们知道是自己的网络慢。

好的，我试试

已经解决呢。思路是在播放准备中和正在缓冲的状态，创建一个定时器，开启缓冲时更新网络加载速度。目前是100毫秒更新一次，同时注意需要在其他状态取消该定时器。具体可以看最新代码，我已经上传呢！
    /**
     * 更新进度，包括更新网络加载速度
     */
    @SuppressLint("SetTextI18n")
    @Override
    protected void updateNetSpeedProgress() {
        //获取网络加载速度
        long tcpSpeed = mVideoPlayer.getTcpSpeed();
        VideoLogUtil.i("获取网络加载速度++++++++"+tcpSpeed);
        if (tcpSpeed>0){
            int speed = (int) (tcpSpeed/1024);
            //显示网速
            mLoading.setVisibility(View.VISIBLE);
            mLoadText.setText("网速"+speed+"kb");
        }
    }


text:
🛑 Google is down

In e8ce09d, Google (https://google.icloudnative.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Google is back up in 0e368ef.

repo: yangchuansheng/upptime


text:
🛑 Docker Hub Mirror is down

In 1d08698, Docker Hub Mirror (https://docker.icloudnative.io) was down:

HTTP code: 503
Response time: 868 ms

Resolved: Docker Hub Mirror is back up in 04e6dde.


text:
🛑 Docker Hub Mirror is down

In 0ca0128, Docker Hub Mirror (https://docker.icloudnative.io) was down:

HTTP code: 503
Response time: 15531 ms

Resolved: Docker Hub Mirror is back up in 5d3d879.


text:
有没有类似这种快捷标题导航

看到官网在编辑模式下是有的，查看模式下没有，是要自己去实现吗，还是有此插件
没有找到相关文档

https://editor.aomao.com/zh-CN/plugin/plugin-heading#normalize 这个就是拿到h节点的数据，然后渲染出来就好了

authors: yanmao-cc zhaodeezhu

repo: yanmao-cc/am-editor


text:
Avoid keywords being interpreted as poetic number literals.

A previous commit (8698c4cbbd62cf31...) made a change that did not work for the keyword "empty", which was causing the fizz.rock translation to set "My world is empty" to "my_world = 5" when it should be "my_world = False". This commit makes sure none of the simple_subs are interpreted as poetic number literals.

Thanks for pointing that out, but this PR doesn't really fix the problem. Not every key on simple_subs cannot be interpreted as poetic number literals. Actually, only poetic type literal keywords can't (that's why I have poetic_number_literals_keyword). I'll close the PR and complete the list. Thank you!

Ah, got it!

authors: matthew-nm yanorestes

repo: yanorestes/rockstar-py


text:
保错了

java.lang.NullPointerException: Attempt to invoke virtual method 'com.yanyusong.y_divideritemdecoration.Y_SideLine com.yanyusong.y_divideritemdecoration.Y_Divider.getLeftSideLine()' on a null object reference

然后在高版本的 v7 28版本里面设置没有效果了 `


text:
Sparkline renders incorrectly when "tags" is set to false or unspecified

Small sample to reproduce the issue:
let blessed = require("blessed");
let blessedContrib = require("../");

let screen = blessed.screen();

let spark = blessedContrib.sparkline({
	"label": "Sparkline"
});

screen.append(spark);

spark.setData(
	[
		"Sparkline1",
		"Sparkline2"
	],
	[
		[10, 20, 30, 20, 50, 70, 60, 30, 35, 38],
		[40, 10, 40, 50, 20, 30, 20, 20, 19, 40]
	]
);

screen.render();

Unexpected result:

@brianjenkins94 will you able to provide a PR so we can review?
I don't have too much time to look into it

I wasn't planning on it. To be honest, I ran into a couple of bugs between blessed and blessed-contrib so I've started rewriting the whole thing in TypeScript. Probably won't reach feature-parity any time soon but I do this stuff for fun anyway. ¯_(ツ)_/¯

repo: yaronn/blessed-contrib


text:
set GO15VENDORECPIREMENT once in Makefile

cc @yarpc/golang

title / commit message have a typo, should be "GOVENDOR15EXPERIMENT". otherwise lgtm.

@prashantv good catch, fixed.

authors: breerly prashantv

repo: yarpc/xlang


text:
Is it possible to put Automatic CAPTCHA

Sir,
I think sometimes when this web app shown for availability it requires captcha. Is it possible to put CAPTCHA before opening up of slot or captcha already display at ur web app during tracking and when the availability come at site and app speak when can just press the button of book. So I can get my slot. Cause what happened there is some delay in availability announcement by ur web app. Telegram notification come before ur app speaks. If captcha will be present and book on one step then good.
2. The umang app and arogya setu app proceed with no captcha. Umag app is fast than arogya setu. Umang is available on web portal also. Can u take or link api of umang with cowin , where without captcha booking can be possible
Pls do any stable solution. I am relying on ur web app from last two days. Availability come through telegram notification but app speak after it . And slot gone
Pls try something

There's very little that can be done.
Many users are trying to book their slots. The availability is running out
within a fraction of a second. Keep trying.
Thank you.
On Thu, May 20, 2021, 9:12 AM cutemahesh @.***> wrote:

Sir,
I think sometimes when this web app shown for availability it requires
captcha. Is it possible to put CAPTCHA before opening up of slot or captcha
already display at ur web app during tracking and when the availability
come at site and app speak when can just press the button of book. So I can
get my slot. Cause what happened there is some delay in availability
announcement by ur web app. Telegram notification come before ur app
speaks. If captcha will be present and book on one step then good.
2. The umang app and arogya setu app proceed with no captcha. Umag app is
fast than arogya setu. Umang is available on web portal also. Can u take or
link api of umang with cowin , where without captcha booking can be possible
Pls do any stable solution. I am relying on ur web app from last two days.
Availability come through telegram notification but app speak after it .
And slot gone
Pls try something
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yashwanthm/cowin-vaccine-booking/issues/43, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJJ6MRJFJBJNTIKQ6ONUC3TOSALBANCNFSM45F632LQ
.

authors: cutemahesh yashwanthm

repo: yashwanthm/cowin-vaccine-booking


text:
create new manager class

diskpart と chksdk を app.xaml.cs 直書きから Manager クラスをそれぞれ作成して移動する

下記2つのclassを作成
Manager\DiskMaintenanceManager.cs
Manager\IpcClientManager.cs


text:
Update tips.md

Changes:

smart-enter.yazi: add support for zoxide
2 panes borders

Thank you!

Closing as full-border has been moved to https://github.com/yazi-rs/plugins/tree/main/full-border.yazi as a separate plugin from the tips page


text:
Cannot read song name and artist in full screen

As you see, black text on black shifting background makes it very hard to read the text.

Thabks gor pointing this out, i missed this while checking for inconsistencies

authors: KillerParticles yazninja

repo: yazninja/apple-cider-lite


text:
🛑 NDHU RPage is down

In 779b4c5, NDHU RPage (https://www.ndhu.edu.tw) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NDHU RPage is back up in 75bcac9 after 16 minutes.


text:
Visualize Epoch vs Loss

Haloo,
Is there a way in the your code where you can plot Epoch vs Loss?

Hi, the loss with in each epoch is recorded in the loss_value during training, you can maintain a global recorder to plot epoch vs loss.