text:
feat: auto-setup with lazy-loading

Hey :wave:
I'd love to use this plugin, but I don't want to have to call a setup function to use it if I'm happy with the defaults.
This PR proposes to separate configuration from initialisation, automatically creating the DiffEditor command (initialising lazily upon the first invocation).
See also: https://github.com/nvim-neorocks/nvim-best-practices?tab=readme-ov-file#zap-initialization

Sure makes sense to me! Thanks.

authors: julienvincent mrcjkb


text:
🛑 OCI APEX Instance is down

In 129eb45, OCI APEX Instance (https://gabd18c80086d52-mustardleaf.adb.us-ashburn-1.oraclecloudapps.com/) was down:

HTTP code: 404
Response time: 601 ms

starting up. closing

source: gharchive/issue

repo: julioromero/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
fzf: allow trimmed url

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

I trimmed url with this command (it's too long to display on screen)
echo 'https://example.com' | awk -v len=10 -F '\t' 'BEGIN { OFS=FS  } { for (i=1; i<=NF; ++i) if (length($i)>len) $i = substr($i,1,len-3) "»"  }; 1'
https:/»

Then I pipe the output to fzf, how to make fzf understand the original url, I then take some actions on the full url - e.g: open the url link.

This sound similar to #1440 apparently its not possible

Matching against hiddens part of the string (--with-nth) is not supported.

authors: i-am-eva junegunn tuyenpm9

repo: junegunn/fzf


text:
Post hook issue for the plugin YouCompleteMe

Hello，
My GVim version is 8.0.160, which is running on Windows 7 SP1. The Vim-Plug setting on my _vimrc is as folloiwng:

After I run the command :PlugUpdate! on the Vim, for handling of the post hook for Plugin YouCompleteMe, it throw the following window.

As you seen, there two issues at here:

The current directory is "C:\Windows\System32" but not "D:\Vim\vimfiles\plugged\YouCompleteMe".

"ERROR: ycmd library is currently in use." on the CMD window.
What is the reason for above issues and how to solve them?

Kindly regards,
Tomas Janssen

C:\Windows\System32\cmd.exe is the full path of cmd.exe, not current working directory. Directory is correct. I can tell that because it found install.py.
I have no idea. Have you tried reaching out to the maintainers of YCM?

I have no idea. Have you tried reaching out to the maintainers of YCM?

@junegunn I think I can respond to this: when you are installing YCM we re-compile the ycmd server which has a compiled component. Now that component is loaded when YCM is in use and while on *nixes a loaded library can be swapped without problem on Windows loaded libraries are actually locked. So you are in vim with YCM loaded (hence the ycmd library is locked) and you're trying to remove it and re-compile it. So to make it short: on Windows you have to run the install.py script outside of vim and with YCM not loaded by any instance of vim.

@junegunn , @vheon , Thanks.

@vheon, I have found that there is different behaviour on my another system on same laptop, which is openSUSE Leap 42.2. The trace are following:
-------------------------------------------------- start -------------------------------------------------------------
error: Your local changes to the following files would be overwritten by checkout:
.gitignore
.travis.yml
TESTS.md
ci/appveyor/appveyor_install.bat
ci/travis/travis_install.linux.sh
codecov.yml
cpp/BoostParts/CMakeLists.txt
cpp/BoostParts/boost/atomic/detail/atomic_template.hpp
cpp/BoostParts/boost/atomic/detail/config.hpp
cpp/BoostParts/boost/atomic/detail/ops_emulated.hpp
cpp/BoostParts/boost/atomic/detail/ops_gcc_alpha.hpp
cpp/BoostParts/boost/atomic/detail/ops_gcc_arm.hpp
cpp/BoostParts/boost/atomic/detail/ops_gcc_atomic.hpp
cpp/BoostParts/boost/atomic/detail/ops_gcc_ppc.hpp
cpp/BoostParts/boost/atomic/detail/ops_gcc_sparc.hpp
cpp/BoostParts/boost/atomic/detail/ops_gcc_sync.hpp
cpp/BoostParts/boost/atomic/detail/ops_gcc_x86.hpp
cpp/BoostParts/boost/atomic/detail/ops_gcc_x86_dcas.hpp
cpp/BoostParts/boost/atomic/detail/ops_linux_arm.hpp
cpp/BoostParts/boost/atomic/detail/ops_msvc_arm.hpp
cpp/BoostParts/boost/atomic/detail/ops_msvc_x86.hpp
cpp/BoostParts/boost/atomic/detail/ops_windows.hpp
cpp/BoostParts/boost/bind/arg.hpp
cpp/BoostParts/boost/config/compiler/intel.hpp
cpp/BoostParts/boost/config/compiler/nvcc.hpp
cpp/BoostParts/boost/config/compiler/sunpro_cc.hpp
cpp/BoostParts/boost/config/compiler/visualc.hpp
cpp/BoostParts/boost/config/stdlib/dinkumware.hpp
cpp/BoostParts/boost/config/stdlib/libcomo.hpp
cpp/BoostParts/boost/config/stdlib/libcpp.hpp
cpp/BoostParts/boost/config/stdlib/libstdcpp3.hpp
cpp/BoostParts/boost/config/stdlib/modena.hpp
cpp/BoostParts/boost/config/stdlib/msl.hpp
cpp/BoostParts/boost/config/stdlib/roguewave.hpp
cpp/BoostParts/boost/config/stdlib/sgi.hpp
cpp/BoostParts/boost/config/stdlib/stlport.hpp
cpp/BoostParts/boost/config/stdlib/vacpp.hpp
cpp/BoostParts/boost/container/detail/copy_move_algo.hpp
cpp/BoostParts/boost/container/detail/iterators.hpp
cpp/BoostParts/boost/container/detail/pair.hpp
cpp/BoostParts/boost/container/detail/variadic_templates_tools.hpp
cpp/BoostParts/boost/container/detail/workaround.hpp
cpp/BoostParts/boost/container/uses_allocator_fwd.hpp
cpp/BoostParts/boost/container/vector.hpp
cpp/BoostParts/boost/core/lightweight_test.hpp
cpp/BoostParts/boost/current_function.hpp
cpp/BoostParts/boost/date_time/gregorian/greg_facet.hpp
cpp/BoostParts/boost/exception/detail/error_info_impl.hpp
cpp/BoostParts/boost/exception/errinfo_api_function.hpp
cpp/BoostParts/boost/exception/errinfo_errno.hpp
cpp/BoostParts/boost/exception/exception.hpp
cpp/BoostParts/boost/exception/get_error_info.hpp
cpp/BoostParts/boost/exception/info.hpp
cpp/BoostParts/boost/filesystem/operations.hpp
cpp/BoostParts/boost/filesystem/path.hpp
cpp/BoostParts/boost/format/alt_sstream_impl.hpp
cpp/BoostParts/boost/functional/hash/detail/hash_float.hpp
cpp/BoostParts/boost/functional/hash/hash.hpp
cpp/BoostParts/boost/graph/adjacency_iterator.hpp
cpp/BoostParts/boost/graph/adjacency_list.hpp
cpp/BoostParts/boost/graph/properties.hpp
cpp/BoostParts/boost/graph/reverse_graph.hpp
cpp/BoostParts/boost/interprocess/detail/nothrow.hpp
cpp/BoostParts/boost/interprocess/detail/shared_dir_helpers.hpp
cpp/BoostParts/boost/interprocess/detail/workaround.hpp
cpp/BoostParts/boost/interprocess/mapped_region.hpp
cpp/BoostParts/boost/interprocess/streams/bufferstream.hpp
cpp/BoostParts/boost/intrusive/detail/workaround.hpp
cpp/BoostParts/boost/lexical_cast/detail/converter_lexical_streams.hpp
cpp/BoostParts/boost/lexical_cast/detail/converter_numeric.hpp
cpp/BoostParts/boost/lockfree/detail/prefix.hpp
cpp/BoostParts/boost/lockfree/queue.hpp
cpp/BoostParts/boost/lockfree/stack.hpp
cpp/BoostParts/boost/move/detail/move_helpers.hpp
cpp/BoostParts/boost/move/detail/workaround.hpp
cpp/BoostParts/boost/move/make_unique.hpp
cpp/BoostParts/boost/mpi/communicator.hpp
cpp/BoostParts/boost/mpi/datatype.hpp
cpp/BoostParts/boost/optional/detail/optional_config.hpp
cpp/BoostParts/boost/optional/detail/optional_reference_spec.hpp
cpp/BoostParts/boost/optional/optional.hpp
cpp/BoostParts/boost/pending/container_traits.hpp
cpp/BoostParts/boost/property_map/parallel/parallel_property_maps.hpp
cpp/BoostParts/boost/property_map/property_map.hpp
cpp/BoostParts/boost/python/converter/registered.hpp
cpp/BoostParts/boost/python/converter/shared_ptr_from_python.hpp
cpp/BoostParts/boost/python/converter/shared_ptr_to_python.hpp
cpp/BoostParts/boost/python/detail/value_is_shared_ptr.hpp
cpp/BoostParts/boost/python/make_constructor.hpp
cpp/BoostParts/boost/python/object/class_metadata.hpp
cpp/BoostParts/boost/python/object/make_ptr_instance.hpp
cpp/BoostParts/boost/python/object/pointer_holder.hpp
cpp/BoostParts/boost/python/object/py_function.hpp
cpp/BoostParts/boost/python/object_core.hpp
cpp/BoostParts/boost/python/str.hpp
cpp/BoostParts/boost/python/to_python_indirect.hpp
cpp/BoostParts/boost/python/to_python_value.hpp
cpp/BoostParts/boost/range/size_type.hpp
cpp/BoostParts/boost/regex/pending/unicode_iterator.hpp
cpp/BoostParts/boost/smart_ptr/bad_weak_ptr.hpp
cpp/BoostParts/boost/smart_ptr/detail/sp_counted_base.hpp
cpp/BoostParts/boost/smart_ptr/detail/sp_counted_base_clang.hpp
cpp/BoostParts/boost/smart_ptr/detail/spinlock.hpp
cpp/BoostParts/boost/smart_ptr/make_shared_object.hpp
cpp/BoostParts/boost/test/execution_monitor.hpp
cpp/BoostParts/boost/test/impl/compiler_log_formatter.ipp
cpp/BoostParts/boost/test/impl/execution_monitor.ipp
cpp/BoostParts/boost/test/impl/framework.ipp
cpp/BoostParts/boost/test/impl/test_tree.ipp
cpp/BoostParts/boost/test/impl/unit_test_parameters.ipp
cpp/BoostParts/boost/test/included/unit_test.hpp
cpp/BoostParts/boost/test/tools/collection_comparison_op.hpp
cpp/BoostParts/boost/test/tools/cstring_comparison_op.hpp
cpp/BoostParts/boost/test/tools/fpc_op.hpp
cpp/BoostParts/boost/test/tree/test_case_template.hpp
cpp/BoostParts/boost/test/unit_test_log_formatter.hpp
cpp/BoostParts/boost/test/unit_test_parameters.hpp
cpp/BoostParts/boost/test/utils/is_cstring.hpp
cpp/BoostParts/boost/test/utils/is_forward_iterable.hpp
cpp/BoostParts/boost/test/utils/iterator/token_iterator.hpp
cpp/BoostParts/boost/test/utils/runtime/cla/parser.hpp
cpp/BoostParts/boost/test/utils/runtime/parameter.hpp
cpp/BoostParts/boost/thread/pthread/condition_variable.hpp
cpp/BoostParts/boost/type_index/detail/compile_time_type_info.hpp
cpp/BoostParts/boost/unordered/detail/allocate.hpp
cpp/BoostParts/boost/unordered/detail/buckets.hpp
cpp/BoostParts/boost/unordered/detail/equivalent.hpp
cpp/BoostParts/boost/unordered/detail/extract_key.hpp
cpp/BoostParts/boost/unordered/detail/fwd.hpp
cpp/BoostParts/boost/unordered/detail/map.hpp
cpp/BoostParts/boost/unordered/detail/set.hpp
cpp/BoostParts/boost/unordered/detail/table.hpp
cpp/BoostParts/boost/unordered/detail/unique.hpp
cpp/BoostParts/boost/unordered/detail/util.hpp
cpp/BoostParts/boost/unordered/unordered_map.hpp
cpp/BoostParts/boost/unordered/unordered_set.hpp
cpp/BoostParts/boost/utility/compare_pointees.hpp
cpp/BoostParts/boost/version.hpp
cpp/BoostParts/libs/atomic/src/lockpool.cpp
cpp/BoostParts/libs/filesystem/src/operations.cpp
cpp/BoostParts/libs/filesystem/src/path.cpp
cpp/BoostParts/libs/filesystem/src/unique_path.cpp
cpp/BoostParts/libs/python/src/str.cpp
cpp/CMakeLists.txt
cpp/ycm/CMakeLists.txt
cpp/ycm/ClangCompleter/CompilationDatabase.cpp
cpp/ycm/ClangCompleter/CompilationDatabase.h
cpp/ycm/CustomAssert.cpp
cpp/ycm/CustomAssert.h
cpp/ycm/standard.h
cpp/ycm/tests/CMakeLists.txt
cpp/ycm/ycm_core.cpp
test_requirements.txt
third_party/tern_runtime/package.json
ycmd/completers/all/tests/init.py
ycmd/completers/cpp/flags.py
ycmd/completers/cpp/tests/init.py
ycmd/completers/general/tests/init.py
ycmd/completers/javascript/tern_completer.py
ycmd/extra_conf_store.py
ycmd/handlers.py
ycmd/identifier_utils.py
ycmd/request_wrap.py
ycmd/tests/clang/init.py
ycmd/tests/clang/debug_info_test.py
ycmd/tests/clang/flags_test.py
ycmd/tests/clang/get_completions_test.py
ycmd/tests/client_test.py
ycmd/tests/get_completions_test.py
ycmd/tests/identifier_completer_test.py
ycmd/tests/identifier_utils_test.py
ycmd/tests/misc_handlers_test.py
ycmd/tests/testdata/.ycm_extra_conf.py
ycmd/utils.py
Please commit your changes or stash them before you switch branches.
Aborting
Unable to checkout 'd19f9c5e8e5ca47a9784a78a3aa39a49f8c3e7c6' in submodule path 'third_party/ycmd'
shell returned 1
------------------------------------------------------------- end ----------------------------------------------
  How to solve this problem on my Linux system?

looks like you have changes in the YouCompleteMe repo. Did you do something by hand?

@vheon , I think I have directly copied the YouCompleteMe folder from other drive to ~/.vim/plugged/YouCompleteMe before.  Any way I can do a fully revert the local change by git command for the repo and its submodules?

@jiangjianshan why copying plugin directory from one drive to another if you use a plugin manager that downloads the code for you? :confused: I think you either delete the directory and start fresh (maybe is better to avoid other problems ) or I think if you do git reset --hard HEAD && git submodule update --init --recursive but again, vim-plug will take care of it for you if you start fresh.

@vheon Thanks for the comment.
@jiangjianshan I believe you can figure it out now.

@vheon , Previously I have reinstalled my Linux system and want to avoid to wait for a long time to download the whole YouCompleteMe plugin again, so that I copied the previous .vim folder, which included the YouCompleteMe folder, from another drive. Now I follow your suggestion to do a fresh install for the YouCompleteMe plugin, it is work now for my setting on ~/.vimrc. Thanks very much.
But for the Windows system, I still have to find the solution to solve it.

But for the Windows system, I still have to find the solution to solve it.

I've already given you the solution: do the install outside of vim

@vheon , your solution is to run install.py script outside of vim, this is the way what I have done before I use Vim-Plug. This morning I have found another solution. It is I just type "vim +PlugInstall +qall" on the cmd windows. The reason why I use PlugInstall but not PlugUpdate, is because I have just deleted the whole YouCompleteMe folder inside $VIM\vimfiles\plugged, and do a fresh install for YouCompleteMe. It is just want to test whether I can use the following setting for Vim-Plug.

Now, the problem has been solved I think. Later I have put this comand but change "+PlugInstall" to "+PlugUpdate" into my script which name is build-vim.cmd. After test, It works well now.

  The whole scripts is as below:

------------------------------------- start ------------------------------------------------
@echo off
@rem to build big Vim with OLE, Perl, Python, Ruby and Tcl
set INCLUDE=D:\GnuWin64\include;D:\Lua\include;D:\Ruby\include;%INCLUDE%
set LIB=D:\GnuWin64\lib;D:\Lua\lib;D:\Ruby\lib;%LIB%
set TOOLDIR=D:
set INSTALL_DIR=D:\Vim
set VIM_SRC_DIR=E:\Gits\vim
cd /d %~dp0
@rem uninstall previous version if it exist
if exist %INSTALL_DIR%\Vim80 (
cd /d %INSTALL_DIR%\Vim80
uninstal
)
if exist %VIM_SRC_DIR% (
cd /d %VIM_SRC_DIR%
git fetch --all
git reset --hard origin/master
) else (
echo "Downloading Vim ..."
git clone https://github.com/vim/vim.git E:\Gits\vim
)
cd /d %VIM_SRC_DIR%\src
if exist .\ObjCULYHTRAMD64 rmdir /s /q .\ObjCULYHTRAMD64
if exist .\ObjGOULYHTRAMD64 rmdir /s /q .\ObjGOULYHTRAMD64
@rem build for no-GUI version
nmake -f Make_mvc.mak CPU=AMD64 FEATURES=HUGE debug=no GUI=no MBYTE=yes IME=yes DYNAMIC_IME=yes GIME=yes CSCOPE=yes ICONV=yes GETTEXT=yes NETBEANS=yes OPTIMIZE=MAXSPEED SNIFF=yes POSCRIPT=yes PERL=%TOOLDIR%Perl DYNAMIC_PERL=yes PERL_VER=524 PYTHON=%TOOLDIR%python27 DYNAMIC_PYTHON=yes PYTHON_VER=27 PYTHON3=%TOOLDIR%python35 DYNAMIC_PYTHON3=yes PYTHON3_VER=35  LUA=%TOOLDIR%Lua DYNAMIC_LUA=yes LUA_VER=53 RUBY=%TOOLDIR%Ruby DYNAMIC_RUBY=yes RUBY_VER=23 RUBY_VER_LONG=2.3.0 RUBY_PLATFORM=x64-mswin64_90 TCL=%TOOLDIR%Tcl TCL_VER=86 TCL_VER_LONG=8.6 DYNAMIC_TCL=yes %1
@rem build for GUI version
nmake -f Make_mvc.mak CPU=AMD64 FEATURES=HUGE debug=no GUI=yes OLE=yes MBYTE=yes IME=yes DYNAMIC_IME=yes GIME=yes CSCOPE=yes ICONV=yes GETTEXT=yes NETBEANS=yes OPTIMIZE=MAXSPEED SNIFF=yes POSCRIPT=yes PERL=%TOOLDIR%Perl DYNAMIC_PERL=yes PERL_VER=524 PYTHON=%TOOLDIR%python27 DYNAMIC_PYTHON=yes PYTHON_VER=27 PYTHON3=%TOOLDIR%python35 DYNAMIC_PYTHON3=yes PYTHON3_VER=35  LUA=%TOOLDIR%Lua DYNAMIC_LUA=yes LUA_VER=53 RUBY=%TOOLDIR%Ruby DYNAMIC_RUBY=yes RUBY_VER=23 RUBY_VER_LONG=2.3.0 RUBY_PLATFORM=x64-mswin64_90 TCL=%TOOLDIR%Tcl TCL_VER=86 TCL_VER_LONG=8.6 DYNAMIC_TCL=yes %1
@rem Copy the "runtime" files into "Vim80"
xcopy /I /Y /F /E ...\runtime* %INSTALL_DIR%\Vim80
@rem Copy the new binaries into the "Vim80" directory
xcopy /I /Y /F *.exe %INSTALL_DIR%\Vim80
xcopy /I /Y /F vimtbar.dll %INSTALL_DIR%\Vim80
xcopy /I /Y /F .\GvimExt\gvimext.dll %INSTALL_DIR%\Vim80
xcopy /I /Y /F .\xxd\xxd.exe %INSTALL_DIR%\Vim80
@rem Copy vimtutor into "Vim80"
xcopy /I /Y /F ..\vimtutor.* %INSTALL_DIR%\Vim80
@rem install vim
cd /d %INSTALL_DIR%\Vim80
install
xcopy /F /Y E:\Releases_vimrc %INSTALL_DIR%
xcopy /F /Y E:\Releases.ycm_extra_conf.py %INSTALL_DIR%
@rem Update the plugins
vim +PlugUpdate +qall
cd /d %~dp0
--------------------------------------------- end --------------------------------------
 Thanks for your hints before to help me to solve this issue.

authors: jiangjianshan junegunn vheon

repo: junegunn/vim-plug


text:
who to open vim-plug without a split?

When using :PlugUpdate or other commands, vim-plug opens the output window in a new vertical split. With let g:plug_window = ... I can change the splitting behavior. But I cannot see how to open the output window without a split.
Is that possible or can you include an option to do so?

:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 17 2017 12:13:35)
Included patches: 1-95
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by pkg-vim-maintainers@lists.alioth.debian.org
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl             +cscope          -footer          +menu            +num64           +startuptime     +virtualedit
+arabic          +cursorbind      +fork()          +mksession       +packages        +statusline      +visual
+autocmd         +cursorshape     +gettext         +modify_fname    +path_extra      -sun_workshop    +visualextra
+balloon_eval    +dialog_con_gui  -hangul_input    +mouse           +perl            +syntax          +viminfo
+browse          +diff            +iconv           +mouseshape      +persistent_undo +tag_binary      +vreplace
++builtin_terms  +digraphs        +insert_expand   +mouse_dec       +postscript      +tag_old_static  +wildignore
+byte_offset     +dnd             +job             +mouse_gpm       +printer         -tag_any_white   +wildmenu
+channel         -ebcdic          +jumplist        -mouse_jsbterm   +profile         +tcl             +windows
+cindent         +emacs_tags      +keymap          +mouse_netterm   -python          +termguicolors   +writebackup
+clientserver    +eval            +lambda          +mouse_sgr       +python3         +terminfo        +X11
+clipboard       +ex_extra        +langmap         -mouse_sysmouse  +quickfix        +termresponse    -xfontset
+cmdline_compl   +extra_search    +libcall         +mouse_urxvt     +reltime         +textobjects     +xim
+cmdline_hist    +farsi           +linebreak       +mouse_xterm     +rightleft       +timers          +xpm
+cmdline_info    +file_in_path    +lispindent      +multi_byte      +ruby            +title           +xsmp_interact
+comments        +find_in_path    +listcmds        +multi_lang      +scrollbind      +toolbar         +xterm_clipboard
+conceal         +float           +localmap        -mzscheme        +signs           +user_commands   -xterm_save
+cryptv          +folding         +lua             +netbeans_intg   +smartindent     +vertsplit
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linu
x-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.
0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/li
bpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x8
6_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/build/vim-8krYYf/vim-
8.0.0095=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1

Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -W
l,-E  -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0
 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lf
ontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm
-ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.24/COR
E -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -lpython3.5m -lpthread -ldl -lu
til -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm

Type:

[ ] Bug
[ ] Enhancement
[x] Feature Request
[x] Question

OS:

[x] All/Other
[] Linux
[ ] OS X
[ ] Windows

Vim:

[x] Terminal Vim
[x] GVim
[ ] Neovim

let g:plug_window = 'enew'

@junegunn tnx! I tried "new" but didn't know about "enew".

authors: junegunn thet


text:
cell overlap

pdf.Cell(5, 10, "Hello, world")
print "Hello Word"
but i want to print only width size like "Hello "
how can i restrict string to print more then width.

Will clipping help? See the text clipping example.

clipping not solve this issue.

i use multi line cell for same but multi line not print multiple cell in
row

pdf.SetFont("Helvetica", "", 24)
pdf.SetXY(10,10)
pdf.ClipRect(10, 10, 30, 20, true)
pdf.Cell(30, 20, "Hello, world")
pdf.ClipEnd()

Will print only Hello, bordered. X will be at 40, just after the border.
Hope to help, i just discover gofpdf !

authors: flibustenet jung-kurt veenutanwar

repo: jung-kurt/gofpdf

license: mit

license_source: bigquery


text:
Add 19기 Developers

1st-JIINNN
cokia
D3vle0
electrochemistry04
Gijuno
header1213
HyeokjinKang
min-uuu
rycont
smsmsmsmin
sqrtpi177
yeonpluie

Can you add the names in ALLOWLIST, line-by-line without duplicates, and then make a PR?

authors: junhoyeo rycont

repo: junhoyeo/github-rank-in-dimigo


text:
🛑 my-wiki-js is down

In 423d1fe, my-wiki-js (https://j-wiki.herokuapp.com/) was down:

HTTP code: 503
Response time: 371 ms

Resolved: my-wiki-js is back up in 930decd.

repo: junjanjon/WatchSomeSites


text:
dummy space added

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sanjaychaudhary151: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sanjaychaudhary151
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Gouravjoshi05, sanjaychaudhary151
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

source: gharchive/pull-request

repo: jupitermoney/amazon-eks-custom-amis


text:
ABI - Create Technical Workflow mermaid

Issue
As a user/contribor, I want to understand how ABI works.

https://files.slack.com/files-pri/T01E5188RNV-F07749N7351/image.png

@jravenel @Dr0p42

@FlorentLvr -> Integrate to README.md

repo: jupyter-naas/abi


text:
Fix ignoring empty update

Follow-up to #107.

https://github.com/jupyter-server/pycrdt/pull/111/commits/09efb37f82edc39e3a95c792c4173f388aa78ce7 adds a test that fails on main.

The new test passes with https://github.com/jupyter-server/pycrdt/pull/111/commits/7dd9a603091a1c106fdd95d900d3b447fa6793f5.

repo: jupyter-server/pycrdt


text:
Support windows/python<3.7

We are having the same issue with the OSError: [WinError 6] The handle is invalid over in nb_client. It turns out the patch looks quite simple (https://github.com/python/cpython/pull/15706), and it seems that applying it for python<3.7 works (see https://github.com/jupyter/nbclient/pull/77).
Maybe we could also have it in juyter_server and regain compatibility with python3.5 and 3.6 on windows?

fixed in #240.

authors: Zsailer davidbrochart


text:
Allow use of Git Large File Storage

Git is an imperfect tool for handling large files, and so Git Large File Storage (GLFS), an extension to Git, was developed. GLFS stores a small text file with a pointer to a larger file stored elsewhere, easing the burden on Git. A Git client with the GLFS extension installed will automatically download the large files when a repository is cloned.
Binder does not have GLFS installed. Thus when you clone a repository that uses GLFS, you get pointers to the data, not the data.
Here is an example repository:
https://github.com/suchow/binder-glfs
I propose that you install GLFS and use it when cloning the repository from GitHub.
If someone could point me towards the step where the repository is cloned, etc., I could take a stab at this and open a PR.

Given that this uses git clone under the hood,
https://github.com/jupyter/repo2docker/blob/2d31649d02d91f5e623006fbae0396632bfb5a63/repo2docker/app.py#L106
adding this feature may be as simple as installing GLFS on whatever machine generates the Docker image.

Closing this in light of https://github.com/jupyterhub/binderhub/issues/324.

You could install GLFS as part of the build and give users the option of turning the pointers into files at runtime. So only files they actually really wanted would be resolved/downloaded. Would that work?
If you want to host scientific data then maybe checkout osf.io and https://github.com/osfclient/osfclient which I worked on in the past.

authors: betatim suchow


text:
Replace theme with alabaster

For better display on RTD, let's change the theme to the default, generic alabaster theme instead of the jupyter theme. cc/ @Carreau @choldgraf

agree this is a good decision!
as it's design and that affects the whole site, I'll let somebody else (maybe @yuvipanda or @Carreau weigh in before merging)

I approve!

Going to merge since I don't see @Carreau objecting ;-)

I object to not merging :-) I should be able to start pitching in from a
computer later today.
On Oct 23, 2017 08:58, "Carol Willing" notifications@github.com wrote:

Merged #106 https://github.com/jupyter/repo2docker/pull/106.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jupyter/repo2docker/pull/106#event-1305961837, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAUez0hWExt1PCbJkwrOpvec96AzsSEtks5svLfBgaJpZM4QCwHa
.

authors: Carreau choldgraf willingc yuvipanda


text:
add R DESCRIPTION support

Addresses #396 and runs the R commands to install a package when a DESCRIPTION file is in the repo, hinting that the repo describes a complete R package.
I couldn't test it locally yet as FRA airport WiFi doesn't like me running repo2docker / downloading miniconda. 😂 ✈
Will test more extensively once I'm at a more proper WiFi spot.

Turns out it's even easier as devtools is already setup in the R images in any case! Now it just runs devtools::install_git(".") if a DESCRIPTION is present.
As for the install.R (at least that's how I interpret the docs) it is right now still necessary to have the runtime.txt with an r-YYYY-… present at the same time.
I also added a test-repo with a fake-R-package at https://github.com/gedankenstuecke/binder-r-description that successfully builds when running the repo2docker version with these changes and added it to the reproductions.repos.yaml and some docs for the DESCRIPTION.

really nice! Am I correct in thinking that DESCRIPTION is more geared towards developers?
and is this ready for review?

Yep on both accounts!
DESCRIPTION is the R equivalent of setup.py, so it's more or less exclusively used for automated package installs.

@choldgraf I think this would be good to go for a second review round!

Ok, I followed @betatim's ideas around the DESCRIPTION implementation that should be analogous to setup.py:

Now it will only run the package build if the DESCRIPTION is in the top-level directory
It doesn't require a runtime.txt any longer. Instead it builds with second-to-latest MRAN as snapshot as long as there's no runtime.txt specified.

Seems like now the error from travis is legit. Does the test run locally: pytest tests/r/start?

Locally it fails with:
Error in library("binderdescription") :
  there is no package called ‘binderdescription’
Execution halted

But that is after it prints the install stuff during the test (and the same error occurs locally on my machine for the simple test too!)
Also I'm not 100% sure how the tests are set up, I just tried c&p from the simple test, but where is the actual test config done? :-)

We have a custom kind of pytest test. This is what it does:
https://github.com/jupyter/repo2docker/blob/79cb2ba2405ce8397325b75c2322c49a3bb0fc2d/tests/conftest.py#L104-L109
The args are passed to the repo2docker script. My short summary is that we run r2d on the test directory and tell it to execute the verify script inside the container once built. If that exists with status code 0 the test passes, else it fails.
Looking at it now to see if I can work out why it fails.

Could it be that the R executable used in verify needs some help with search paths?

In an RStudio session it can also not find the package. So I think something doesn't quite work with the install process :(

Thanks for the explanation! I think I might run into issues with cached image builds on my end and that's why it doesn't fail if I do it locally? I just removed all the relevant images I had to force a new build (is there an easier way to achieve that?). I'll update once I found out what's going on there.

Ok, I think this was some weird caching error on my end which was just re-using stuff despite it actually being broken. After re-doing the image properly I could find the bug and I think it should work now, let's see whether Travis agrees/ 👍

Yep, that seems to have fixed it! 🎉

LGTM modulo the small comments.

ok, should all be fixed 😄

Thanks a lot! And congrats on your first PR to repo2docker!

In the deed! (as we Germans say)
Do you also want to attempt to deploy your changes to mybinder.org today? There is nothing quite like putting things into production :)

Yes, what do I have to do for that? 👍

We use https://github.com/jupyterhub/mybinder.org-deploy/ for the deployment. The README there contains a link to our "How to do a deployment" guide.

woooooooo go @gedankenstuecke !!!! 🎉 🎉 🎉 and thanks @betatim for helping guide this one through!

authors: betatim choldgraf gedankenstuecke


text:
Added route and handler to allow spawning from redirector

This is a WIP PR for #4. I'll ping you on here @rgbkrk if I need any help.

So, whenever I curl on the /api/spawn endpoint, I get a HTTP 405: Method Not Allowed error despite the fact that I am sending using POST (curl -X POST http://127.0.0.1:9000/api/spawn). Not sure, why this is happening, complete stack-trace below.
Traceback (most recent call last):
  File "/Users/safia/anaconda3/lib/python3.4/site-packages/tornado/web.py", line 1415, in _execute
    result = yield result
  File "/Users/safia/anaconda3/lib/python3.4/site-packages/tornado/gen.py", line 870, in run
    value = future.result()
  File "/Users/safia/anaconda3/lib/python3.4/site-packages/tornado/concurrent.py", line 215, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "/Users/safia/anaconda3/lib/python3.4/site-packages/tornado/gen.py", line 876, in run
    yielded = self.gen.throw(*exc_info)
  File "redirector.py", line 180, in post
    response = yield http_client.fetch(request)
  File "/Users/safia/anaconda3/lib/python3.4/site-packages/tornado/gen.py", line 870, in run
    value = future.result()
  File "/Users/safia/anaconda3/lib/python3.4/site-packages/tornado/concurrent.py", line 215, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
tornado.httpclient.HTTPError: HTTP 405: Method Not Allowed

I'm a confused cat and a frustrated ferret at the moment. I've tried laying out the request sending code in different ways but I don't think that's the problem.

@captainsafia I think it might be the trailing slash. Does it work if you do /api/spawn/ instead? I opened jupyter/tmpnb#173 to make tmpnb behave the same way whether the slash is there or not.
The fact that the error is in tornado.httpclient.HTTPError shows (not super clearly) that the error is not in the request between curl and redirector, but in the second request from redirector to tmpnb. And it's the upstream tmpnb that has /api/spawn/ as the URL (with trailing slash).

@minrk — You are absolutely right! That's one pesky bug,  but good to note in the future. Thanks!
I updated the code and it works now.

@rgbkrk — peep it!

Looking good!

In the next couple days I'll deploy this and see how thebe fairs with it.

authors: captainsafia minrk rgbkrk

repo: jupyter/tmpnb-redirector


text:
Can't install R kernel in Jupyter Lab Desktop app

I have always used this procedure inside an R session for the standard jupyter lab R kernal installation:
install.packages("devtools")
devtools::install_github("IRkernel/IRkernel")
IRkernel::installspec()
Anyway, the same procedure seems not to work for Jupyter Lab Desktop app.
Any help is appreciated. Thanks

To install R Kernel in JupyterLab Desktop follow the instructions in https://github.com/jupyterlab/jupyterlab-desktop/blob/master/user-guide.md#customizing-the-bundled-python-environment (i.e. set appropriate permissions to the environment) but then at the point, when %pip install scikit-learn example is suggested please run %conda install -c conda-forge r-irkernel instead. Please note that this will install a new copy of R from conda (which may use up a bit of space).
Please leave a comment sharing your experience: did it work for you? Is this what you would expect? Should we include it in the user guide, or do we need a different solution?

I've tried this (on Windows 10) and it seems to have worked.
However, it seems like I can only pick one kernel per notebook. Is it possible to use the R and python kernels side-by-side?

Kind of. You can install rpy2 to access R from the Python kernel and then use magics see https://rpy2.github.io/doc/v3.4.x/html/generated_rst/notebooks.html

It would be great to have details of how to install alternative kernels in the README or at least a link from the README to some instructions.
I've just followed this through on macOS with success.

Kind of. You can install rpy2 to access R from the Python kernel and then use magics see rpy2.github.io/doc/v3.4.x/html/generated_rst/notebooks.html

let's try

open ~/Library/jupyterlab-desktop/jlab_server, find under it share/jupyter/kernels/
install kernel (I just did it with https://github.com/evcxr/evcxr/tree/main/evcxr_jupyter)
copied installed files into kernel directory

 $ butuzov  ~/Library/jupyterlab-desktop/jlab_server/share/jupyter/kernels
 > tree
.
├── python3
│   ├── kernel.json
│   ├── logo-32x32.png
│   ├── logo-64x64.png
│   └── logo-svg.svg
└── rust
    ├── kernel.js
    ├── kernel.json
    ├── lint-LICENSE
    ├── lint.css
    ├── lint.js
    ├── logo-32x32.png
    ├── logo-64x64.png
    ├── logo-LICENSE.md
    └── version.txt

2 directories, 13 files

now you have new kernel and you can use it!

authors: AlasdairGray Dr-Albert-MD butuzov gal-lum krassowski

repo: jupyterlab/jupyterlab-desktop


text:
Dark Theme option not working on macOS Big Sur 11.6

Description
Dark Theme option not working on macOS Big Sur 11.6
Reproduce

Go to Settings -> JupyterLab Theme
Click on JupyterLab Dark
Nothing happens

Expected behavior
Dark Theme visible
Context

Operating System and version: macOS Big Sur 11.6
JupyterLab version: 3.1.12-2

Thanks for reporting this @AndrewKostandy . I am not able to reproduce the issue.

Have you made any customizations to your installation?
Do you see any error messages in App's Browser Console? You can check using App's macOS menu -> View -> Toggle Developer Tools and check Console tab in there.

It seems to be working for me. I'm also on Big Sur 11.6 and using the same JupyterLab version (3.1.12-2).
Could it be that you installed it for all users instead of Install for me only. Just guessing...

Yes, I had installed for all users. I've just deleted and installed the app again for me only but it still doesn't work.
I followed the steps above by @mbektas. When toggling Dark Theme I get the following errors:
PUT http://localhost.... 500 (Internal Server Error)
Uncaught (in promise) Error: Invalid response: 500
Internal Server Error
at SettingManager.save
at async SettingConnector.save
at async SettingRegistry._save

@AndrewKostandy appears like you don't have permission to save settings file. Theme Settings would be saved in /Users/<your_username>/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings. You can check if there are any permission issues along this path.

Thanks @mbektas. I  had the folder: /Users/<your_username>/.jupyter but it had only 1 file called "migrated" and not a "lab" folder. I checked the permissions of the folder and my username wasn't even listed. After deleting the .jupyter folder (it asked for my password in the process) and reopening JupyterLab, it recreated the folder but with the correct permissions. I can now switch to Dark Theme successfully.
I believe that may have happened because I initially installed the app for all users. Deleting the app and reinstalling it could not fix the permissions for the pre-existing folder.
Thanks again!

Glad to hear it is working now @AndrewKostandy !

authors: AndrewKostandy mbektas wooters


text:
failed to get qt6.5.1 occasionally

The configuration is like this
      - uses: actions/setup-python@v3
        with:
          python-version: '3.9'
      - name: Install Qt
        uses: jurplel/install-qt-action@v3
        with:
          version: 6.5.1
          arch: clang_64

          modules: qtwebengine qtwebchannel qtpositioning qt5compat qtmultimedia qtimageformats qtspeech
          setup-python: 'false'

sometimes it will fail
Notice:  A new release of pip is available: 22.0.4 -> 23.1.2
Notice:  To update, run: pip install --upgrade pip
/Users/runner/hostedtoolcache/Python/3.9.16/x64/bin/python3 -m aqt install-qt mac desktop 6.5.1 clang_64 --outputdir /Users/runner/work/goldendict-ng/Qt --modules qtwebengine qtwebchannel qtpositioning qt5compat qtmultimedia qtimageformats qtspeech
aqtinstall(aqt) v2.1.0 on Python 3.9.16 [CPython Clang 13.0.0 (clang-1300.0.29.30)]
Specified Qt version is unknown: 6.5.1.
Some of specified modules are unknown.
Failed to locate XML data for Qt version '6.5.1'.
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt mac desktop' to show versions available.
Error: Error: The process '/Users/runner/hostedtoolcache/Python/3.9.16/x64/bin/python3' failed with exit code 1

sometimes it success.

I am having the same issue for 6.5.0. This behavior started today.

Hi, i have same issue with QT5, only for windows and all the time.
@v2.14.0 is working

Just add more info in case it helps.
I am using this:
- name: Set up Qt
  uses: jurplel/install-qt-action@v3
  with:
    version: '6.*'
    cache: true

My Github Actions started to have this issue today:
Resolved spec '6.*' to 6.6.0
Specified Qt version is unknown: 6.6.0.
Failed to locate XML data for Qt version '6.6.0'.

This would probably be an issue at the aqtinstall level. It may be that we are using an old aqtinstall version. Maybe you can try reproducing it locally with different versions?

My Github Actions started to have this issue today:
Resolved spec '6.*' to 6.6.0
Specified Qt version is unknown: 6.6.0.
Failed to locate XML data for Qt version '6.6.0'.

Same problem here, I see there's a report upstream https://github.com/miurahr/aqtinstall/issues/694, but Qt 6.6 has not been officially released yet.

Same issue for us currently on Linux.

As mentioned above I think this is just an issue with aqtinstall. Please correct me if this isn't true.

same trouble for win64
"Specified Qt version is unknown: 6.6.0."

Hi, @Nelson-numerical-software !

"Specified Qt version is unknown: 6.6.0."

This is a warning, not an error. It just means that the version of aqtinstall (the backend of this GitHub Action) doesn't know Qt 6.6.0.
Each version of aqtinstall saves the info about Qt version and tool components in an offline database.
If you know some Python, please see https://github.com/miurahr/aqtinstall/blob/c035d2cdcb7d94fd5115541c590f298972fc57ae/aqt/installer.py#L303 .

Hmm I recently start to random get this issue too, when it failed, it is like
https://github.com/hongbo-miao/hongbomiao.com/actions/runs/7727686897/job/21066712717
Successfully installed aqtinstall-2.1.0 beautifulsoup4-4.12.3 bs4-0.0.2 certifi-2023.11.17 charset-normalizer-3.3.2 defusedxml-0.7.1 idna-3.6 patch-1.16 requests-2.31.0 semantic-version-2.10.0 soupsieve-2.5 urllib3-2.2.0
/opt/hostedtoolcache/Python/3.11.7/x64/bin/python3 -m aqt install-qt linux desktop 6.* --outputdir /home/runner/work/hongbomiao.com/Qt
aqtinstall(aqt) v2.1.0 on Python 3.11.7 [CPython GCC 11.4.0]
Resolved spec '6.*' to 6.7.0
Specified Qt version is unknown: 6.7.0.
The packages ['qt_base'] were not found while parsing XML of package information!
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt linux desktop --arch 6.7.0' to show architectures available.
Error: Error: The process '/opt/hostedtoolcache/Python/3.11.7/x64/bin/python3' failed with exit code 1

I think it is related with I am using
        uses: jurplel/install-qt-action@v3.3.0
        with:
          version: '6.*'

The succeed run is using Qt 6.6.1

The failed run is using Qt 6.7.0

Even the failed one ran earlier.
I am guessing it could be related with GitHub Actions workers having different states about Qt during upgrade which takes for a few days. It also explains why I reran, it could succeed. As a GitHub Actions worker using Qt 6.6.1 picking up the work and succeed.

Reopen if this issue still occurs with v4.

authors: EddyTheCo Hongbo-Miao Nelson-numerical-software VocalFan drfiemost hongbo-miao jurplel pzhlkj6612 surfzoid xiaoyifang

repo: jurplel/install-qt-action


text:
Added cryptocurrency conversion view and its activity test [US #130, Task#132]

User Story #108
Task #130 #132
WHAT kind of change does this PR introduce?

Added a new activity to be able to perform cryptocurrency conversions between the major coins BTC, ETH, XRP and USD fiat.
Added tests for this activity

...
HOW is this accomplished?
By adding a new button on the main activity screen menu that will launch the new cryptocurrency conversion view.
...
Checklist

[x] Docs have been added / updated to reflect the changes
[x] I have reviewed and tested the changes :white_check_mark:
[x] I have squashed my commits to have a reasonable amount of commits
[x] All of the code I have written adhere to the coding conventions outlined in the coding conventions section of the wiki

Small comment, instead of using -> why not use →

This PR will be closed and a new PR with the whole new feature will be opened upon its completion.

authors: jusleg miisaka

repo: jusleg/simple-calculator-FAMINGO


text:
feat:H1116-L5 - Card 3Ds for Bambora

Type of Change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates

Description

Additional Changes

[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[ ] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Thanks for the contribution @hey-ritikgupta  , We are merging the changes from different participant as it has more flows implemented. You can still continue your contributions on the open issues.

authors: hey-ritikgupta jagan-jaya

repo: juspay/hyperswitch


text:
Disable JbButton

I am trying to disable a button created by the JbButton  using the disabled attribute component but it's not working.

There was no such prop on the component, so it wasn't passed through. Now added.

authors: mojoblanco vikdiesel

repo: justboil/admin-one-vue-tailwind


text:
🛑 Misskey is down

In a60bb5e, Misskey (https://mkacg.social) was down:

HTTP code: 530
Response time: 1052 ms

Resolved: Misskey is back up in 63d4e3f after 40 minutes.


text:
🛑 Misskey is down

In 9c959b2, Misskey (https://mkacg.social) was down:

HTTP code: 530
Response time: 163 ms

Resolved: Misskey is back up in a61adf3 after 10 minutes.


text:
Not compatible with PhantomJS 1.x

ember-intl-tel-input/addon/components/intl-tel-input.js:    var notifyPropertyChange = this.notifyPropertyChange.bind(this, 'value');

Function.prototype.bind is not defined in Phantom JS 1.x: https://github.com/ariya/phantomjs/issues/10522
So, this fails when using eg. Travis CI test runners.

PhantomJS 2.0 has been out for quite a while. It has already addressed the Function.prototype.bind problem. I do not see a reason to support 1.x anymore.
If you insist to use PhantomJS 1.x, you could use any workarounds available on the issue you referenced.

@justin-lau That's fair, and this is your repo, but Travis CI still doesn't support PhantomJS 2.0 out of the box. This is the only addon we're using in our Ember project (including Ember itself) that doesn't support PhantomJS 1.9, and the only problem we've had with builds on Travis CI, and the provided PR fixes the only incompatibility you have with 1.9. It's a trivial fix, but if you aren't interested I'll just keep pointing at my fork. Thanks!

Thank you for understanding. A more common approach would be adding a polyfill at the beginning of the test scripts. This way you don't have to use a forked repository, and you make sure any addons you add in the future won't cause the same problem.

authors: davidgoli justin-lau

repo: justin-lau/ember-intl-tel-input


text:
Fix: Be more specific with error message

This PR

[x] attempts to be more specific with error messages when requiring a minimum / maximum number of items in an array

+1

authors: bighappyface localheinz

repo: justinrainbow/json-schema


text:
Argument 1 passed to Hanson\Foundation\Http::__construct() must be an instance of Hanson\Foundation\Foundation, null given, called in /var/www/epmms2-award/vendor/hanson/foundation-sdk/src/AbstractAPI.php on line 32

{
"name": "Exception",
"message": "Argument 1 passed to Hanson\Foundation\Http::__construct() must be an instance of Hanson\Foundation\Foundation, null given, called in /var/www/epmms2-award/vendor/hanson/foundation-sdk/src/AbstractAPI.php on line 32",
"code": -1,
"type": "TypeError",
"file": "/var/www/epmms2-award/vendor/hanson/foundation-sdk/src/Http.php",
"line": 55,
"stack-trace": [
"#0 /var/www/epmms2-award/vendor/hanson/foundation-sdk/src/AbstractAPI.php(32): Hanson\Foundation\Http->__construct(NULL)",
"#1 /var/www/epmms2-award/vendor/justmd5/duoduoke-sdk/src/Api.php(52): Hanson\Foundation\AbstractAPI->getHttp()",
"#2 /var/www/epmms2-award/vendor/justmd5/duoduoke-sdk/src/DuoDuoKe.php(25): Justmd5\DuoDuoKe\Api->request('pdd.ddk.goods.r...', Array)",
"#3 /var/www/epmms2-award/api/controllers/PddController.php(151): Justmd5\DuoDuoKe\DuoDuoKe->request('pdd.ddk.goods.r...', Array)",
"#4 [internal function]: api\controllers\PddController->actionIndex()",
"#5 /var/www/epmms2-award/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)",
"#6 /var/www/epmms2-award/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)",
"#7 /var/www/epmms2-award/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('', Array)",
"#8 /var/www/epmms2-award/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('pdd', Array)",
"#9 /var/www/epmms2-award/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))",
"#10 /var/www/epmms2-award/api/web/index.php(17): yii\base\Application->run()",
"#11 {main}"
],
"success": false
}

配置和请求参数发一下，只贴异常，看不出来什么问题

您好！我们当时的情况是这样的，当天上午我还在正常使用您的包进行开发测试，下午更新了一下composer包版本结果出错了，后来经过排查发现更新完之后"hanson/foundation-sdk": "^3.0",这个包的版本发生变化导致。于是我们后来就在composer.json里面指定了这个包的版本，现在配置如下："justmd5/duoduoke-sdk": "^2.0",
"hanson/foundation-sdk": "~3.0.5",
正常使用。
我们的开发环境是：yii2框架，PHP7.4。
非常感谢您的包支持，
愿您越做越好。
在 2020-06-15 09:08:22，"丁海军" notifications@github.com 写道：
配置和请求参数发一下，只贴异常，看不出来什么问题
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

好像是3.0.5版本有错误，然后我们手动指定了一下3.0的版本
| |
郑州科壮元信息技术有限公司
|
|
邮箱：ysw0110@163.com
|
签名由 网易邮箱大师 定制
On 06/15/2020 09:27, 郑州科壮元信息技术有限公司 wrote:
您好！我们当时的情况是这样的，当天上午我还在正常使用您的包进行开发测试，下午更新了一下composer包版本结果出错了，后来经过排查发现更新完之后"hanson/foundation-sdk": "^3.0",这个包的版本发生变化导致。于是我们后来就在composer.json里面指定了这个包的版本，现在配置如下："justmd5/duoduoke-sdk": "^2.0",
"hanson/foundation-sdk": "~3.0.5",
正常使用。
我们的开发环境是：yii2框架，PHP7.4。
非常感谢您的包支持，
愿您越做越好。
在 2020-06-15 09:08:22，"丁海军" notifications@github.com 写道：
配置和请求参数发一下，只贴异常，看不出来什么问题
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

已经查到问题，马上修复，另外，建议使用readme里边的pinduoduo-sdk,更换成本较低。当前项目只做bug fix

请稍后使用最新版本

已经修复，请使用最新版本


text:
settings.I18N causes endless loop

As you can see, Action.unicode renders a template when settings.I18N is true: https://github.com/justquick/django-activity-stream/blob/master/actstream/models.py#L87
So when Django Debug Toolbar template panel wants to show the context of a template which has an Action instance, it will call the unicode representation of the Action instance. Which will render a template (action_short.txt with context 'action'), which DJDT wants to add to the template panel with the context. So it will call the unicode representation of the Action instance which is part of the context. And so on :)
I didn't notice it on uWSGI because it's so brave at fixing my runtime, but with runserver/strace/pdb this is obvious.
Why are we using a template in unicode anyway ? Isn't there a better way (use gettext like blocktrans) ?

I'm running into this also.  Basically, it forces me to turn of the django debug toolbar in order to use it.  I hope this gets fixed soon, since the debug toolbar is something that is heavily used.

authors: crass jpic

repo: justquick/django-activity-stream


text:
Why does this error happen？ Is it wrong with the size of frames? ValueError: zero-size array to reduction operation minimum which has no identity

Traceback (most recent call last):
File "my_run.py", line 14, in
execute_multiple_people_tracking(video_loc, X, Dt, video_name, dmax, settings_loc)
File "/home/shaun/cabbage/cabbage/MultiplePeopleTracking.py", line 57, in execute_multiple_people_tracking
gg.build(Dt, X, W, batch_size=batch_size)
File "/home/shaun/cabbage/cabbage/MultiplePeopleTracking.py", line 95, in build
lookup = AABBLookup(Dt, X)
File "/home/shaun/cabbage/cabbage/features/combined.py", line 40, in init
im = get_element(X[frame-1], (x,y,w,h), (W, H), True)
File "/home/shaun/cabbage/cabbage/features/ReId.py", line 23, in get_element
I = resize(I, shape, mode='constant').copy()
File "/home/shaun/anaconda3/envs/tensorflow/lib/python3.6/site-packages/skimage/transform/_warps.py", line 135, in resize
preserve_range=preserve_range)
File "/home/shaun/anaconda3/envs/tensorflow/lib/python3.6/site-packages/skimage/transform/_warps.py", line 819, in warp
_clip_warp_output(image, warped, order, mode, cval, clip)
File "/home/shaun/anaconda3/envs/tensorflow/lib/python3.6/site-packages/skimage/transform/_warps.py", line 570, in _clip_warp_output
min_val = input_image.min()
File "/home/shaun/anaconda3/envs/tensorflow/lib/python3.6/site-packages/numpy/core/_methods.py", line 29, in _amin
return umr_minimum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation minimum which has no identity

Thank for your kindness,I will check it.

That`s It.Thank you.

I also meeted this issue.Coule you tell me what did you do.
Here are my code
video_name = 'video'
X = np.zeros((110, 1920, 1980, 3))  # the whole video loaded as np array
dmax = 100
Dt = np.zeros((110, 6))  # m=number of detections
Thank you very much for replying to my message.

authors: Shaun-Zhang dayekuaipao gyc521zsc

repo: jutanke/cabbage


text:
Error: after is undefined

When doing this:
    // Move the element to the right location in the DOM
    $animate.move(iElem, growlNotifications.element);

You are actually not specifiying "after" according to the Angular v1.4.4 documentation for $animate, this will give an error.
See: https://docs.angularjs.org/api/ng/service/$animate

Thank you @eduardoinnorway!
Are you interested in creating a PR for this?

@eduardoinnorway — According to the $animate documentation, the after argument is optional:
move(element, parent, [after], [options]);
Are you experiencing error(s)? If so, can you provide an error log?
Thanks in advance!

Closed due to lack of response.

authors: eduardoinnorway jvandemo

repo: jvandemo/angular-growl-notifications


text:
Add canonical links

Cross posted posts should have a field for a canonical link that is injected in the header, like this: <link rel="canonical" href="https://blog.example.com/dresses/green-dresses-are-awesome" />.
This improves SEO for the original site of the cross-posted content.

Closing this issue; decided to destroy cross-posted content rather than implement this feature.


text:
Explicit Google Fonts Array

I have a talk that uses two Google fonts, but one of them is only used in h1 and h2 tags and I can't seem to get mdx-deck to add that other Google font as a <link>. It got me thinking that it might be worthwhile to add an explicit option for googleFonts to force their linkage.
Could be something like:
{
  ...theme,
  googleFonts: [
    { name: 'Open Sans', weights: [300] },
    { name: 'Bungee' }
  ]
}

I could work on a PR for this feature if you thought it would be worth having in the project.

You can use the Head component to add font links. I’ll likely deprecate the automatic loading in the next major version fwiw

Thanks. Hadn't thought of that as a solution. Appreciate it.

authors: jxnblk kyleshevlin

repo: jxnblk/mdx-deck


text:
🛑 DPM WWW is down

In 649c191, DPM WWW (https://dpm.univ-grenoble-alpes.fr) was down:

HTTP code: 500
Response time: 1304 ms

Resolved: DPM WWW is back up in f786945 after 11 minutes.

repo: jyhem/upptime-jyhem


text:
Making array.jl a bit simpler

This PR just makes the structure of array.jl simpler by reducing the amount of code that is needed for various operations.

Coverage increased (+0.3%) to 94.301% when pulling ddbb91182b783f2b1184a31387bf4ea0b6fef1bb on array into 6b072fec4a1cc53f1e30c32f3f443db0037583f1 on master.

authors: coveralls jzuhone


text:
機能洗い出し

チャットアプリにほしい・必要な機能をどしどし書いていこう
・書き出すだけ書き出すフェーズ
・優先順位をつけるフェーズ

こめんと

トーク履歴の検索

かけるかな？

アイコンの設定

画像や動画の送信

メッセージが来たことを通知機能
件数のバッチの表示とか

状態表示が出来る
（忙しい。体調悪い。気分がいい。酔ってる。運転中。学校。仕事。とか)

最新のトークが一番上にくる

複数人での会話
slackのようなリアクションを送れるようにする

件数のバッチの表示とか

slackのようなリアクションを送れるようにする

テキストメッセージの送受信

ユーザー登録・ログイン機能

連絡先の管理（メッセージをやり取りしたい相手をリストにお互い追加したら、連絡が取れるようになるみたいな）

話題を勝手に振ってくれる（今日なんかいいことあった？とか）

QRなどの簡単な友達追加機能

アイコンやトークの設定へ飛べるような、マイページ

てきとーに打った文章を勝手に敬語に変換してくれる

皆さん色々ありがとうございました！一旦最初の段階の洗い出しは終わったということでCloseします


text:
[Help wanted] Support DirectML Execution Provider

See https://onnxruntime.ai/docs/execution-providers/DirectML-ExecutionProvider.html
and
https://learn.microsoft.com/en-us/windows/ai/directml/dml-intro
and
https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime.DirectML
It would be nice to also support DirectML

Hi, I see that there is a stale pr from May for this issue. Is it intended for merge in the future? If so, I'd be interested in bringing it up to date and making any changes that are required.

Thank you for your interest!
The comment in that PR says it does not improve the speed. Could you have a test on your side?


text:
if "sec-websocket-key" not in request_headers:

Hi, just wanted to point out that I had to change streaming_server.py:587
        if "sec-websocket-key" not in request_headers:

to
        if "sec-websocket-key" not in request_headers.headers.keys():

to get it to work / accept incoming requests. Original error message:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 353, in conn_handler
    await connection.handshake(
  File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 204, in handshake
    raise self.protocol.handshake_exc
  File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 146, in handshake
    response = await response
               ^^^^^^^^^^^^^^
  File "/workspace/sherpa-onnx/./python-api-examples/streaming_server.py", line 588, in process_request
    if "sec-websocket-key" not in request_headers:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'Request' is not iterable

Could you make a pull request?

I don't think I have the right permissions:
remote: Permission to k2-fsa/sherpa-onnx.git denied

Anyone can make.a.pull request.
Not everyone can push directly to.the. current repo.

authors: Fransie-dev csukuangfj


text:
[Release-1.28] - New k3s server flag: --write-kubeconfig-own or --write-kubeconfig-group

Backport fix for New k3s server flag: --write-kubeconfig-own or --write-kubeconfig-group

#9209

Validated using
$ COMMIT=a29d5552c5d60091c7e96e32fbabd2a94e3797c5
$ k3s -version
k3s version v1.28.10+k3s-a29d5552 (a29d5552)
go version go1.21.9

$ sudo groupadd newFeatureNewTest
$ sudo usermod -a -G newFeatureNewTest ec2-user
$ sudo INSTALL_K3S_COMMIT=$COMMIT INSTALL_K3S_EXEC="server --write-kubeconfig-group=newFeatureNewTest" ./install-k3s.sh
[INFO]  Using commit a29d5552c5d60091c7e96e32fbabd2a94e3797c5 as release
[INFO]  Downloading hash https://k3s-ci-builds.s3.amazonaws.com/k3s-a29d5552c5d60091c7e96e32fbabd2a94e3797c5.sha256sum
[INFO]  Downloading binary https://k3s-ci-builds.s3.amazonaws.com/k3s-a29d5552c5d60091c7e96e32fbabd2a94e3797c5
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s

$ ls -lahr /etc/rancher/k3s/
total 8.0K
-rw-r--r-- 1 root newFeatureNewTest 2.9K Jun  4 16:52 k3s.yaml
-rw-r--r-- 1 root root               138 Jun  4 16:45 config.yaml
drwxr-xr-x 4 root root                29 Jun  4 16:52 ..
drwxr-xr-x 2 root root                41 Jun  4 16:52 .

authors: VestigeJ brandond


text:
Documentation for etcd s3 config secret implementation

Environmental Info:
K3s Version:
k3s version v1.30.5+k3s1 (9b586704) go version go1.22.6

Node(s) CPU architecture, OS, and Version: NA

Cluster Configuration: NA

Describe the bug:
It appears a feature to support use a Kubernetes Secret to provide the configuration for etcd s3 backups was implemented and added in July. This is a great feature that I would like to use. It's listed in the release notes, and I can figure out how to use it from the proposal. However it doesn't appear to be documented. Is this feature supported or was documentation just missing.
Steps To Reproduce:
Look for documentation on the --etcd-s3-config-secret option
Expected behavior:
Find documentation and examples
Actual behavior:
Don't find documentation and examples
Additional context / logs:

It's supported, and planned for eventual integration via Rancher. We do need to document it tho.

authors: brandond evilhamsterman


text:
[Release-1.28] - Support for containerd 1.5+ config_path: On-the-fly container registry configuration

Backport fix for Support for containerd 1.5+ config_path: On-the-fly container registry configuration

#5568

Validated on release-1.28 branch with version v1.28.6+k3s2
Environment Details

Infrastructure

[x] Cloud
[ ] Hosted

Node(s) CPU architecture, OS, and Version:

$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"

$ uname -m
x86_64

Cluster Configuration:

HA: 3 server/ 1 agent

Config.yaml:

system-default-registry: test-private-registry.com
debug: true
token: xxxx
cluster-init: true
write-kubeconfig-mode: "0644"
node-external-ip: 1.1.1.1
node-label:
- k3s-upgrade=server

Registries.yaml

$ cat /etc/rancher/rke2/registries.yaml
mirrors:
  test-private-registry.com:
    endpoint:
      - https://test-private-registry.com
  docker.io:
    endpoint:
      - https://test-private-registry.com
  k8s.gcr.io:
    endpoint:
      - https://test-private-registry.com
configs:
  test-private-registry.com:
    auth:
      username: user
      password: password
    tls:
      ca_file: /home/ubuntu/ca.pem

Testing Steps

Copy config.yaml

$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s

Copy registries.yaml to /etc/rancher/k3s/registries.yaml
copy ca.pem to the user home directory (as per path provided in the registries.yaml file).
2. Install k3s
curl -sfL https://get.k3s.io | sudo INSTALL_K3S_VERSION='v1.28.6+k3s2' sh -s - server

Verify content of config.toml file for config_path:

$ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/config.toml

Verify content of config_path directory and the corresponding host.toml files:

 $ sudo ls /var/lib/rancher/k3s/agent/etc/containerd/certs.d
 $ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/test-private-registry.com/hosts.toml
 $ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/docker.io/hosts.toml
 $ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/k8s.gcr.io/hosts.toml

Validation Results:

k3s version used for validation:

$ k3s -v
k3s version v1.28.6+k3s2 (c9f49a3b)
go version go1.20.13
'''
Cluster Status:
'''
$ kubectl get nodes
NAME               STATUS   ROLES                       AGE     VERSION
ip-172-31-24-154   Ready    control-plane,etcd,master   4m6s    v1.28.6+k3s2
ip-172-31-24-217   Ready    control-plane,etcd,master   3m21s   v1.28.6+k3s2
ip-172-31-24-94    Ready    <none>                      2m41s   v1.28.6+k3s2
ip-172-31-29-236   Ready    control-plane,etcd,master   4m55s   v1.28.6+k3s2

$ kubectl get pods -A
NAMESPACE        NAME                                      READY   STATUS      RESTARTS   AGE
auto-clusterip   test-clusterip-576485fd68-tfps5           1/1     Running     0          55s
auto-clusterip   test-clusterip-576485fd68-vkrvl           1/1     Running     0          55s
auto-daemonset   test-daemonset-2dqph                      1/1     Running     0          55s
auto-daemonset   test-daemonset-bnbf4                      1/1     Running     0          55s
auto-daemonset   test-daemonset-rc4ch                      1/1     Running     0          55s
auto-daemonset   test-daemonset-vm2gc                      1/1     Running     0          55s
auto-dns         dnsutils                                  1/1     Running     0          55s
auto-ingress     test-ingress-6xfhf                        1/1     Running     0          55s
auto-ingress     test-ingress-c5hxv                        1/1     Running     0          55s
auto-nodeport    test-nodeport-7445df8f5b-2ft4c            1/1     Running     0          55s
auto-nodeport    test-nodeport-7445df8f5b-7sld5            1/1     Running     0          55s
default          clusterip-pod-demo                        1/1     Running     0          58s
default          clusterip-pod-demo-2                      1/1     Running     0          58s
default          clusterip-pod-demo-3                      1/1     Running     0          58s
kube-system      coredns-c489f67f7-4sjhg                   1/1     Running     0          4m17s
kube-system      helm-install-traefik-crd-4gz6d            0/1     Completed   0          4m17s
kube-system      helm-install-traefik-n8pbx                0/1     Completed   2          4m17s
kube-system      local-path-provisioner-7cc69c5cb7-nv4hk   1/1     Running     0          4m17s
kube-system      metrics-server-df8f6756d-dwzwq            1/1     Running     0          4m17s
kube-system      svclb-traefik-ed9c4027-cj86c              2/2     Running     0          3m22s
kube-system      svclb-traefik-ed9c4027-db94g              2/2     Running     0          2m42s
kube-system      svclb-traefik-ed9c4027-hkmdx              2/2     Running     0          3m46s
kube-system      svclb-traefik-ed9c4027-pd7q9              2/2     Running     0          3m46s
kube-system      traefik-7fd84897bb-8kl5z                  1/1     Running     0          3m46s
pvt-reg-test     pvt-reg-test-d8b6bcc4d-8l7wl              1/1     Running     0          42s
pvt-reg-test     pvt-reg-test-d8b6bcc4d-p5hsl              1/1     Running     0          42s

config.toml content:
$ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/config.toml
# File generated by k3s. DO NOT EDIT. Use config.toml.tmpl instead.
version = 2

.
.
.

[plugins."io.containerd.grpc.v1.cri".registry]
  config_path = "/var/lib/rancher/k3s/agent/etc/containerd/certs.d"

[plugins."io.containerd.grpc.v1.cri".registry.configs."test-private-registry.com".auth]
  username = "user"
  password = "password"

certs.d directory content:
 $ sudo ls /var/lib/rancher/k3s/agent/etc/containerd/certs.d
docker.io
test-private-registry.com
k8s.gcr.io

hosts.toml file contents:
 $ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/test-private-registry.com/hosts.toml
# File generated by k3s. DO NOT EDIT.

[host."https://test-private-registry.com/v2"]
  capabilities = ["pull", "resolve"]
  ca = ["/home/ubuntu/ca.pem"]

$ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/docker.io/hosts.toml
# File generated by k3s. DO NOT EDIT.
server = "https://registry-1.docker.io/v2"

[host."https://test-private-registry.com/v2"]
  capabilities = ["pull", "resolve"]
  ca = ["/home/ubuntu/ca.pem"]

 $ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/k8s.gcr.io/hosts.toml
# File generated by k3s. DO NOT EDIT.
server = "https://k8s.gcr.io/v2"

[host."https://test-private-registry.com/v2"]
  capabilities = ["pull", "resolve"]
  ca = ["/home/ubuntu/ca.pem"]

authors: aganesh-suse brandond


text:
Add aarch64 page size check to k3s check-config

Proposed Changes
Adds a check on arm64 architectures for a 4k page size. K3s does not support 64K or other page sizes on arm.

Types of Changes

Verification
Checked that it passes on a pi4 running Raspberry OS 64 bit. I don't have easy access to a non 4k OS to check for failure.

No change to x86_64 or other architectures

Testing

Linked Issues
https://github.com/k3s-io/k3s/issues/7288

User-Facing Change

Further Comments

I guess we don't need this since we fixed k3s-root.

authors: brandond dereknola


text:
nmap program was not found in path

After Executing "sudo python3 kickthemout.py" following was the result.
Scanning your network, hang on...

ERROR: Network scanning failed. Please check your requirements configuration.

If you still cannot resolve this error, please submit an issue here:
	https://github.com/k4m4/kickthemout/issues

Details: 'nmap program was not found in path. PATH is : /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'

Hi there. Have you downloaded NMAP, as documented in the readme file?

I have similar problems, but it says that the nmap port has not been configured or something like that

my out is :
Scanning your network, hang on...
ERROR: Network scanning failed. Please check your requirements configuration.
If you still cannot resolve this error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues
Details: module 'nmap' has no attribute 'PortScanner'


text:
[adguard-home] fix svc path

Signed-off-by: Ryan Holt ryan@ryanholt.net
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [radarr])

Yup, it seems

cat /sys/class/thermal/thermal_zone0/temp
55017


text:
operator trivy-operator (0.21.1)

Thanks submitting your Operator. Please check below list before you create your Pull Request.
Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/merge possible

authors: chen-keinan framework-automation


text:
resource not injected in a large K8s cluster

When we bringup a deployment which has 100 pod replicas, then some pods are not created because NRI doesn't inject required SRIOV VF resources into the pod.
From troubleshooting NRI (of course logging has to be improved by writing pod info as well in the logs), it looks NRI takes around 15 secs (because of GC ?) to respond to admission request for the failed pod whereas it just look  around 5 secs for the working pods. is admission response ignored due to timeout ? it happens though webhook timeout set to 30 sec (default value?).
After changing failurePolicy from Ignore to Fail, then all pods are injected with resources. Does Fail policy make any difference ? As per the documentation, it says it would cause pod admission to fail. isn't it ?
If Fail policy fixes the issue, then we would need to make failurePolicy as configurable parameter, currently it's hardcoded to use Ignore policy.

The fix #103 with Fail policy seem to working fine, I think #102 and #103 are good to go in.
but still we need to figure out if retries happen upon web hook's timeout (not sure if it's done by helm itself), enable profiling for web hook to find out hot spots.

/cc @janscheurich

@pperiyasamy: 5 seconds for successfully mutated pods seems already long. But 15 seconds is ages. What is going on there? Where does the NRI spend this time?

@JanScheurich Yes, your suspicion is correct. The retrieval of net-attach-def from k8 for every admission review request causes delay, could reproduce it with single deployment having 100 pod replicas. at times net-attach-def retrieval takes around 5-6 seconds. looks api server imposes rate limiter when requests goes beyond some rate, need to check on that.
can we make NRI to rely on local cache for net-attach-def ? The NRI can watch on net-attach-def events and update its local map, I think map[string]map[string]string would be sufficient, containing namespace + "/" + network-name as key and Annotations map as value.
@martinkennelly @zshi-redhat WDYT ?

@JanScheurich Yes, your suspicion is correct. The retrieval of net-attach-def from k8 for every admission review request causes delay, could reproduce it with single deployment having 100 pod replicas. at times net-attach-def retrieval takes around 5-6 seconds. looks api server imposes rate limiter when requests goes beyond some rate, need to check on that.
can we make NRI to rely on local cache for net-attach-def ? The NRI can watch on net-attach-def events and update its local map, I think map[string]map[string]string would be sufficient, containing namespace + "/" + network-name as key and Annotations map as value.
@martinkennelly @zshi-redhat WDYT ?

I think it makes sense to use cache so that NRI won't query the net-attach-def for every pod creation.
The cached content looks good, since we only care about the net-attach-def annotation (which contains the resource name).

+1 for caching the NAD annotations.
From: zshi @.>
Sent: Wednesday, 9 June, 2021 06:26
To: k8snetworkplumbingwg/network-resources-injector @.>
Cc: Jan Scheurich @.>; Mention @.>
Subject: Re: [k8snetworkplumbingwg/network-resources-injector] resource not injected in a large K8s cluster (#101)
@JanScheurichhttps://protect2.fireeye.com/v1/url?k=8aadb034-d5368905-8aadf0af-86e2237f51fb-72759b6af55eaad3&q=1&e=acb10523-75e2-4a5f-a634-66f0330792fd&u=https%3A%2F%2Fgithub.com%2FJanScheurich Yes, your suspicion is correct. The retrieval of net-attach-def from k8 for every admission review request causes delay, could reproduce it with single deployment having 100 pod replicas. at times net-attach-def retrieval takes around 5-6 seconds. looks api server imposes rate limiter when requests goes beyond some rate, need to check on that.
can we make NRI to rely on local cache for net-attach-def ? The NRI can watch on net-attach-def events and update its local map, I think map[string]map[string]string would be sufficient, containing namespace + "/" + network-name as key and Annotations map as value.
@martinkennellyhttps://protect2.fireeye.com/v1/url?k=8af5f150-d56ec861-8af5b1cb-86e2237f51fb-51945f8b4ff0017a&q=1&e=acb10523-75e2-4a5f-a634-66f0330792fd&u=https%3A%2F%2Fgithub.com%2Fmartinkennelly @zshi-redhathttps://protect2.fireeye.com/v1/url?k=ba5fcf3e-e5c4f60f-ba5f8fa5-86e2237f51fb-6a4a4294b08b3f66&q=1&e=acb10523-75e2-4a5f-a634-66f0330792fd&u=https%3A%2F%2Fgithub.com%2Fzshi-redhat WDYT ?
I think it makes sense to use cache so that NRI won't query the net-attach-def for every pod creation.
The cached content looks good, since we only care about the net-attach-def annotation (which contains the resource name).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect2.fireeye.com/v1/url?k=962d5161-c9b66850-962d11fa-86e2237f51fb-2551da6630f949a1&q=1&e=acb10523-75e2-4a5f-a634-66f0330792fd&u=https%3A%2F%2Fgithub.com%2Fk8snetworkplumbingwg%2Fnetwork-resources-injector%2Fissues%2F101%23issuecomment-857362307, or unsubscribehttps://protect2.fireeye.com/v1/url?k=4cc192b3-135aab82-4cc1d228-86e2237f51fb-da35344b9837da08&q=1&e=acb10523-75e2-4a5f-a634-66f0330792fd&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHGNJO4OOWBL6HD7LRKAD3TR3UOVANCNFSM45USJZYA.

thanks all for the feedback, let me work on a PR for implementing a local cache.

authors: JanScheurich pperiyasamy zshi-redhat


text:
Exclusive pooling

What would you like to be added?
Enable validation that a VF is only used in one resource pool.
What is the use case for this feature / enhancement?
Avoid scenario where a VF is in multiple resource pools. VF maybe consumed in one pool and available in another. Attempt to consume VF in additional pools will fail.
This will allow feedback for a bad configmap.
Thanks to @ahalim-intel  !

As I believe it would be fine feature I am wondering how this should be implemented. So here are my thoughts:

Should it be optional to not change the current behaviour (users can have their configs that would be interrupting with this feature)?
How to enable that? Should there be e.g. global exclusive: true flag in the config to treat all the pools as exclusive or just some pools should be tagged as 'exclusive'?
What should be the precedence of the pools? What I mean is, if the device fulfill selectors of multiple pools which one should be chosen by DP? Should it be the first pool in the config map that the device fits in, or should we add some kind of pool priority parameter?

As I believe it would be fine feature I am wondering how this should be implemented. So here are my thoughts:

Should it be optional to not change the current behaviour (users can have their configs that would be interrupting with this feature)?

I doubt this is desirable behavior in any usecases where user would like to have VFs overlapping on multiple pools. If someone's existing configMap allows that then it is most likely a bad configuration as @martinkennelly outlined above.

How to enable that? Should there be e.g. global exclusive: true flag in the config to treat all the pools as exclusive or just some pools should be tagged as 'exclusive'?

There are two options:
i). VFs should exclusive to a single pool only
ii). Allow overlap i.e. a VF on multiple pool.
For ii), once a VF is allocate through one endpoint/pool it should be removed from all other pools it may have included and device  plugin send updated device list again to the kubelet 'device manager'
So, a flag is not needed I suppose.

What should be the precedence of the pools? What I mean is, if the device fulfill selectors of multiple pools which one should be chosen by DP? Should it be the first pool in the config map that the device fits in, or should we add some kind of pool priority parameter?

As resource pools are ordered list, if a VF selected by a pool already it should be removed from the 'global' device list for subsequent pass to other pool(this is for option i) above ) when device pools are created.
For option ii) - trigger update after removing the allocated VF from a pool's device list once this is allocated by another pool. There is slight possibility of race condition here.

As Discussed in the NPWG meeting:
Gonna go with Scenario 1:
Add to single resource pool. e.g. pool 1.
If attempting to add to pool 2 let’s say, then just log it as a warning. And don’t add to pool 2.
Add VF into first pool it matches, then rest of pools it will be excluded.
It will mean that a tighter ConfigMap will be needed if it gets added to the wrong resource pool.

Closing as PR is merged.


text:
K8SSAND-182 ⁃ cass-operator should not modify spec

What is missing?
When setting spec.replaceNodes cass-operator will set it to  sepc.replaceNodes = [] after it has started replacing nodes. I would like cass-operator to not do that.
https://github.com/k8ssandra/cass-operator/blob/9c4c3692a90b0199ab002f23fcb08791bf7d7276/operator/pkg/reconciliation/reconcile_racks.go#L1078-L1080
Why do we need it?
This makes cass-operator hard to use with GitOps tools like Flux as it will continously apply the spec; causing a replacement procedure to be triggered over and over.
I guess cass-operator should look at status.NodeReplacements == [] && len(spec.ReplaceNodes ) > 0 to  decide whether to start a new replacement instead of at len(spec.ReplaceNodes) > 0
Environment

Cass Operator version:
Insert image tag or Git SHA here

**Anything else we need to know?**:

┆Issue is synchronized with this Jira Feature by Unito
┆friendlyId: K8SSAND-182
┆priority: Medium

Thanks for opening this @arianvp :) Unfortunately there are other properties in spec that the are modified:

rollingRestartRequested
stopped

Might be better to have a separate ticket for each of these and then a "parent" issues. What do you think?

For replaceNodes I was wondering is it a safe and sound technique to just always start up cassandra with -Dcassandra.replace_address=<previous-pod's-address> ?  Just not make this configurable and always see pod restarts as "Replacements"?
If the pod happens to be using something like reattachable storage (EBS) the data is already there and the replacement will be instant.  If there is no reattachable storage than it will replicate the data from other nodes.
I don't know enough about cassandra intricacies to tell if that is a good idea. But it would solve the issue at least for replaceNodes

It isn't necessary to use the replace_address flag if the data/ directory is intact. Cassandra is smart enough to know that it's the technically the "same" Cassandra node when the PV/storage is attached to a new pod.
For example, let's say Cassandra is running on bare metal servers not in a Kubernetes cluster. If the server experiences a hardware failure, you can simply pull the data disk out of the chassis and plug it into a new bare metal server. Provided that the OS + Cassandra is installed and configured, Cassandra will start up as expected even if the server has a new IP -- Cassandra will handle the change internally.
The same applies to EC2 instances (or any compute instances for other cloud providers). In the case where the EC2 instance dies for whatever reason, you can simply mount the EBS volume to a new EC2 instance and Cassandra will continue to operate as normal. :)

Please add your planning poker estimate with ZenHub @burmanm

I think both of these (rollingRestart & replaceNode) could be done as CassandraTasks, which would avoid any Spec changes. As for mentioned "Stopped", it's not cass-operator that modifies it, so that could remain.
We would then deprecate those older Spec properties, but not remove them. If they're not used, then the Spec won't be changed and all should be good.

ForceUpgradeRacks modifies the Spec also

After https://github.com/k8ssandra/cass-operator/issues/583 is done, this ticket can be closed as then all the spec modifiers are deprecated.

authors: ErickRamirezAU arianvp burmanm jsanda


text:
Cannot implement intent for picking attachment

This is not a true bug report, but instead a feature request against the documentation.
I made a filemanager that could be used to pick files for K9. Yet, at certain point, the android.intent.action.GET_CONTENT intent stopped working for K9.
I went to the documentation, and it says very little, only that OI filemanager implemented it properly.
Could you please update the documentation (and post it here) telling how to properly build the intent for K9 to use?

This is not an Intent specific to K-9 Mail. If you implement it according to the official documentation, things should work fine with K-9 Mail. Specifically, you'll have to return a content: URI, not a file: URI.

This is not an Intent specific to K-9 Mail. If you implement it according to the official documentation, things should work fine with K-9 Mail. Specifically, you'll have to return a content: URI, not a file: URI.

Actually, the documentation you referred to is to ask for the content (like in the K9 source code), not to answer for it. I am doing something wrong in the Manifest, since my app is not answering K9 request.

According to this answer by @CommonsWare in StackOverflow, on modern versions of Android is handled purely by the OS. So it seems that we are forced to use what the OS wants with K9. What a pity.

ACTION_GET_CONTENT works just fine. Apps supporting this Intent will be displayed in the side drawer of the system file picker.
Example of an app that supports ACTION_GET_CONTENT: https://github.com/cketti/AttachContact/blob/master/app/src/main/AndroidManifest.xml

ACTION_GET_CONTENT works just fine. Apps supporting this Intent will be displayed in the side drawer of the system file picker.

Yes. So you have to do perform extra clicks if you want to use your own app... My app handles that. I just wanted to bypass the system file picker completely. It seems this is no longer possible, and it was possible before.

I see. I believe the current behavior was introduced with Android 4.4. So it's not exactly a recent change.

I don't know when it changed, but I used my File Manager with Android 6 (Lineage). But that is also an old OS.
Anyway, the information in K9 documentation is kind of misleading since it says that OI Filemanager handles the ACTION_GET_CONTENT. Only after you open the system file picker...
It would be nice if K9 also implements other intent to bypass the OS.

The documentation was outdated anyway. I've removed it from the website. See https://github.com/k9mail/k9mail.github.io/pull/155

authors: cketti luisfl


text:
KSB-16: Re-factor sample applications tree

This is a copy of #427 without 6a780a7 commit as the latter conflicts with the yesterday code.

@tonyshkurenko please also update apptester.py configuration and photoframe app.
Without this change the PR will not pass Jenkins.

@kaa-leeroy test this fully please

The PR has conflicts with the latest master.
The #443 has been created to fix that which is just a re-based version.

repo: kaaproject/sample-apps


text:
NixOS does not wakeup after suspend even if touching USB input devices

https://nixos.wiki/wiki/Power_Management
https://wiki.archlinux.jp/index.php/電源管理/復帰トリガー
https://qiita.com/kunst1080/items/49d2de95181b62d7b01e

> la /sys/bus/usb/devices/usb*/power/wakeup
0644 4.1k 10-28 12:55 /sys/bus/usb/devices/usb1/power/wakeup
0644 4.1k 10-28 13:24 /sys/bus/usb/devices/usb2/power/wakeup
0644 4.1k 10-28 13:24 /sys/bus/usb/devices/usb3/power/wakeup
0644 4.1k 10-28 13:24 /sys/bus/usb/devices/usb4/power/wakeup

> cat /sys/bus/usb/devices/usb*/power/wakeup
disabled
disabled
disabled
disabled

> la /sys/bus/usb/devices/usb*/power/wakeup
0644 4.1k 10-28 12:55 /sys/bus/usb/devices/usb1/power/wakeup
0644 4.1k 10-28 13:24 /sys/bus/usb/devices/usb2/power/wakeup
0644 4.1k 10-28 13:24 /sys/bus/usb/devices/usb3/power/wakeup
0644 4.1k 10-28 13:24 /sys/bus/usb/devices/usb4/power/wakeup

> cat /sys/bus/usb/devices/usb*/power/wakeup
disabled
disabled
disabled
disabled

> cyme # Cutting with Keyboard and trackball tree
  3   2  *** *** USB2.0 Hub                                000000000 480.0 Mb/s
  3   3  *** *** 4-Port USB 2.0 Hub                        -         480.0 Mb/s
  3   4  *** *** REALFORCE 87 US                           -          12.0 Mb/s
  3   5  *** *** Kensington SlimBlade Pro Trackball(Wired) -          12.0 Mb/s

https://askubuntu.com/questions/848698/wake-up-from-suspend-using-usb-device#comment2435881_848699
https://askubuntu.com/questions/1422896/usb-switcher-not-allowing-wake-up-from-suspend

repo: kachick/dotfiles


text:
[Enhancement] Configure Webpack to include stubs instead of composers

Hi,
We are working on a project with Meteor and React, and we are using React Storybook for react components, and so far it is amazing.
But we have this issue, where in containers, we might need dependencies that cannot be available in react storybook, like Meteor (if we are calling a Meteor method).
We tried to come up with a solution using react-komposer's setComposerStub, but it attaches a stub to the original container, demanding its dependencies to be loaded in first place. Therefore, setComposerStub is not helping us at leaving Meteor's dependencies out of Storybook.
We thought about the problem and we came up with an idea that could be more effective than calling setComposerStub. What if we could create files with a .stub suffix that would be loaded only in storybook, replacing the original file? This way no dependencies from the original composer would need to be loaded.
Do you think it is possible, and would that be a good approach ?

I hope setComposerStub should work properly. You need to call following in your storybook config file:
import { setStubbingMode } from 'react-komposer';
setStubbingMode(true);

Also make sure to not to write any Meteor specific imports in the composer file.

You can also use React Stubber. Which is the same thing.
What you said is doable with a custom webpack config. But I think there are some easy ways to do it.

Thanks Arunoda,
We couldn't avoid importing Meteor specifics in the composer file.
And actually we went with "react-simple-di" solution for a while, but it takes a lot of time and effort.
We went with customising webpack config, and we came up with this solution: react-stubs, it would be great if you could take a look at it, and give us your thoughts.

@a-magdy This is too application specific and we can't land this on storybook by default.
But you could do this by writing a custom webpack config or edit our default config.
Check docs: https://getstorybook.io/docs/configurations/custom-webpack-config

@arunoda We went with customizing webpack config, and it worked.
Thank you :)

authors: a-magdy arunoda

repo: kadirahq/react-storybook


text:
BE: Logger unification

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
In the whole project only in one place @Log4j2 is used, in other places @Slf4j is used.
Therefore, I suggest to use Slf4j logger everywhere.
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[x] No need to
[ ] Manually (please, describe, if necessary)
[ ] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

@Haarolean Hello, please take a look at the minor change.

@wernerdv thanks!

authors: Haarolean wernerdv

repo: kafbat/kafka-ui


text:
Unable to verify the first certificate error over HTTPS

when using:
...
const schemaRegistry = new SchemaRegistry({host: 'https://serveraddress:8443'});
await schemaRegistry.encode(registryId, jsonPayload);
...

Answer is:
ResponseError: Confluent_Schema_Registry - Error, status 400
Stacktrace:
Error: Error: unable to verify the first certificate
        at Object.dispatchError (.../node_modules/jsdom/lib/jsdom/living/xhr-utils.js:65:19)
        at Request.<anonymous> (.../node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js:676:20)
        at Request.emit (events.js:215:7)
        at Request.onRequestError (.../node_modules/request/request.js:881:8)
        at ClientRequest.emit (events.js:210:5)
        at TLSSocket.socketErrorListener (_http_client.js:406:9)
        at TLSSocket.emit (events.js:210:5)
        at emitErrorNT (internal/streams/destroy.js:92:8)
        at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
        at processTicksAndRejections (internal/process/task_queues.js:80:21) undefined

Server has self signed certificate and I'm not able to set security context (ca, cert, key...) to SchemaRegistry
Did I miss configuration options?

You can pass an Agent instance to the constructor, which in turn can receive the secure context options, including ca, cert and key: https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options
For example:
import { readFileSync } from 'fs'
import { Agent } from 'https'

const registry = new SchemaRegistry({
  host: 'https://registry:8081/',
  agent: new Agent({
    key: readFileSync('/path/to/my-key.pem'),
    cert: readFileSync('/path/to/my-cert.pem')
  })
})

While the specific case of using self-signed certificates is not explicitly mentioned, the possibility of providing a custom agent is documented here: https://kafkajs.github.io/confluent-schema-registry/docs/usage#http-agent

@Nevon Thanks. However it probably worth a documentation update to cover that case.

repo: kafkajs/confluent-schema-registry


text:
jit script support

Add test case for activation function to work torch.jit.script

We created a test function to check jit support.
https://github.com/kaintels/torchact/blob/4bc9502f53f34eeb38e4d88aba1797157e4e25a3/tests/test_activation_function.py#L93

repo: kaintels/torchact


text:
chore(main): release 0.3.0

:robot: I have created a release beep boop
0.3.0 (2022-09-04)
Features

admin: use gRPC codes to clarify errors returned from proto/vmspb.UpdateLogStream RPC (8f539e1), closes #107

Bug Fixes

admin: contains all storage nodes registered to the cluster (28c02ab), closes #106

This PR was generated with Release Please. See documentation.

This change is

Codecov Report

Merging #111 (4e1d305) into main (b5052ae) will decrease coverage by 0.14%.
The diff coverage is 20.77%.

:exclamation: Current head 4e1d305 differs from pull request most recent head 4854f6e. Consider uploading reports for the commit 4854f6e to get more accurate results

@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   63.55%   63.41%   -0.15%
==========================================
  Files         124      124
  Lines       16632    16680      +48
==========================================
+ Hits        10570    10577       +7
- Misses       5534     5563      +29
- Partials      528      540      +12

Impacted Files
Coverage Δ

pkg/varlog/admin.go
0.00% <0.00%> (ø)

pkg/varlogtest/admin.go
41.42% <0.00%> (-2.68%)
:arrow_down:

pkg/verrors/errors.go
43.07% <0.00%> (ø)

internal/admin/admin.go
63.64% <38.46%> (-2.03%)
:arrow_down:

internal/storagenode/client/management_client.go
52.77% <100.00%> (ø)

internal/metarepos/raft_logger.go
33.33% <0.00%> (-33.34%)
:arrow_down:

internal/storagenode/replication_server.go
77.00% <0.00%> (-2.00%)
:arrow_down:

internal/metarepos/storage.go
79.79% <0.00%> (-1.33%)
:arrow_down:

internal/storagenode/logstream/committer.go
81.85% <0.00%> (-1.07%)
:arrow_down:

internal/metarepos/report_collector.go
77.59% <0.00%> (-0.68%)
:arrow_down:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:robot: Release is at https://github.com/kakao/varlog/releases/tag/v0.3.0 :sunflower:

authors: codecov-commenter ijsong

repo: kakao/varlog


text:
Карта ПВЗ

Подскажите, плагин умеет выводить ПВЗ на карте?

я ноль в java, но в файле edostavka.js ведь формируется какой-то массив вывода меток, или нет?

да, плагин отображает пвз на карте яндекса

отключил saphali появилась спасибо

Для спасибо есть ссылочка пожертвования в плагине ;)

authors: kalbac vguns

repo: kalbac/wc-edostavka


text:
support latest version of ember-changeset / ember-changeset-validations

This fixes two issues:

It adds support for latest version of ember-changeset. It does so by not relying anymore on private API but using a native getter together with the compatibility layer dependentKeyCompat for computed properties. This can be removed as soon as FormElement class of Ember Bootstrap is refactored to use tracked properties and/or to provide a different API for validation plugins. This was reported as #26.
It fixes a bug with validation of initial state. Ember Changeset does not validate the initial state. A property is not validated at all until a) it's set or b) validate() method is called for it (or for all properties). This conflicts with Ember Bootstrap's assumption that validation is always up to date. A form element may be shown as valid just cause no validation was run ever. This was reported as #22.

Fixes #26 and #22.

@simonihmig The current API for validation plugins does not seem to be flexible enough for common use cases. Or did I missed an obvious alternative to overriding showValidationOnHandler?

Rebased after #25 has been merged.

Hi, could it be that this change affects the displaying of nested properties element groups? After upgrading I seem to have forms not displaying errors for nested properties, while json this.changeset.errors clearly shows them to error. Same form with root properties do show the errors...

Yes. That could be caused by this change. Before it was using Ember.get(), which supports nested property readings: https://github.com/kaliber5/ember-bootstrap-changeset-validations/blob/c13b1d24557abcec3eb57726af831a4617493bb1/addon/components/bs-form/element.js#L17-L20
Refactored away from that one: https://github.com/kaliber5/ember-bootstrap-changeset-validations/blob/9034f0296e03d95fb61c99733d29b515178985c3/addon/components/bs-form/element.js#L10
Haven't considered that property may be a path itself. I think we need to use get to support that. Something like:
+ import { get } from '@ember/object';

- let error = this.model?.error?.[this.property]?.validation;
+ let error = get(this, `model.error.${this.property}.validation`);

Do you have time for a bug fix?

ley me try this...

this seems a legit fix, as that does return the correct validation message. The field is not rendered accordingly though...

authors: basz jelhan


text:
Documentation issues for v2.0.x

Thank you for the update to this add-on and for ember-bootstrap in general. However, while updating my app I noticed two small issues with the documentation:

The example on the README seems to be for ember-bootstrap-changeset-validations as it uses the changeset helper.
Version 1.x had a nice feature that in certain cases when the cp-validation included presence: true, then it would mark the form element as required (see this line). Given that this seem to not be the case anymore, I think it should have been documented as a breaking change; albeit it would be nice to have this feature back.

The example on the README seems to be for ember-bootstrap-changeset-validations as it uses the changeset helper.

Also noticed that one and opened #62.

authors: amauryt jelhan