ubuntu20.04 install failed

Hello ,Thanks for your repo.It's very nice!
when I run pip install gooey  or git clone the run python setup.py install ,I got the same error:
Building wheels for collected packages: wxpython
  Building wheel for wxpython (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/felix/PycharmProjects/daily/daily_venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/setup.py'"'"'; __file__='"'"'/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-dw6a1prv
       cwd: /tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/
  Complete output (143 lines):
  running bdist_wheel
  running build
  WARNING: Building this way assumes that all generated files have been
  generated already.  If that is not the case then use build.py directly
  to generate the source and perform the build stage.  You can use
  --skip-build with the bdist_* or install commands to avoid this
  message and the wxWidgets and Phoenix build steps in the future.

  "/home/felix/PycharmProjects/daily/daily_venv/bin/python" -u build.py build
  Will build using: "/home/felix/PycharmProjects/daily/daily_venv/bin/python"
  3.8.5 (default, Jul 28 2020, 12:59:40)
  [GCC 9.3.0]
  Python's architecture is 64bit
  cfg.VERSION: 4.1.0

  Running command: build
  Running command: build_wx
  wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']
  Configure options: ['--enable-unicode', '--with-gtk=3', '--enable-sound', '--enable-graphics_ctx', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl']
  /tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --enable-sound --enable-graphics_ctx --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl
  checking build system type... x86_64-pc-linux-gnu
  checking host system type... x86_64-pc-linux-gnu
  checking for toolkit... gtk
  checking for gcc... gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables...
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ISO C89... none needed
  checking whether we are using the Intel C compiler... no
  checking how to run the C preprocessor... gcc -E
  checking for grep that handles long lines and -e... /usr/bin/grep
  checking for egrep... /usr/bin/grep -E
  checking whether gcc needs -traditional... no
  checking for g++... g++
  checking whether we are using the GNU C++ compiler... yes
  checking whether g++ accepts -g... yes
  checking whether we are using the Intel C++ compiler... no
  checking whether we are using the Sun C++ compiler... no
  checking for ar... ar
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking for langinfo.h... yes
  checking for wchar.h... yes
  checking for sys/select.h... yes
  checking for cxxabi.h... yes
  checking for an ANSI C-conforming const... yes
  checking for inline... inline
  checking size of short... 2
  checking size of void *... 8
  checking size of int... 4
  checking size of long... 8
  checking size of size_t... 8
  checking size of long long... 8
  checking size of wchar_t... 4
  checking for va_copy... yes
  checking whether the compiler supports variadic macros... yes
  checking for _FILE_OFFSET_BITS value needed for large files... 64
  checking if large file support is available... yes
  checking for _LARGEFILE_SOURCE value needed for large files... no
  checking whether byte ordering is bigendian... no
  checking for std::wstring in <string>... yes
  checking for std::istream... yes
  checking for std::ostream... yes
  checking for type_traits... yes
  checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes
  checking for libraries directories... /usr/lib/x86_64-linux-gnu /usr/lib
  checking for cos... no
  checking for floor... no
  checking if floating point functions link without -lm... no
  checking for sin... yes
  checking for ceil... yes
  checking if floating point functions link with -lm... yes
  checking for strtoull... yes
  checking for pkg-config... /home/linuxbrew/.linuxbrew/bin/pkg-config
  checking pkg-config is at least version 0.9.0... yes
  configure: WARNING: Defaulting to the builtin regex library for Unicode build.
  checking for zlib.h >= 1.1.4... yes
  checking for zlib.h... (cached) yes
  checking for deflate in -lz... yes
  checking for png.h > 0.90... yes
  checking for png.h... (cached) yes
  checking for png_sig_cmp in -lpng... yes
  checking for jpeglib.h... no
  configure: WARNING: system jpeg library not found, will use built-in instead
  checking lzma.h usability... yes
  checking lzma.h presence... yes
  checking for lzma.h... yes
  checking for lzma_code in -llzma... yes
  checking for jbg_dec_init in -ljbig... no
  checking for LIBTIFF... not found via pkg-config
  checking for tiffio.h... no
  configure: WARNING: system tiff library not found, will use built-in instead
  checking for expat.h... yes
  checking if expat.h is valid C++ header... yes
  checking for XML_ParserCreate in -lexpat... yes
  checking for GTK+ version...
  checking for pkg-config... (cached) /home/linuxbrew/.linuxbrew/bin/pkg-config
  checking pkg-config is at least version 0.16... yes
  checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `gtk+-3.0.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'gtk+-3.0' found
  Package gthread-2.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `gthread-2.0.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'gthread-2.0' found
  no
  *** Could not run GTK+ test program, checking why...
  *** The test program failed to compile or link. See the file config.log for the
  *** exact error that occurred. This usually means GTK+ is incorrectly installed.
  configure: error:
  The development files for GTK+ were not found. For GTK+ 2, please
  ensure that pkg-config is in the path and that gtk+-2.0.pc is
  installed. For GTK+ 1.2 please check that gtk-config is in the path,
  and that the version is 1.2.3 or above. Also check that the
  libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
  --libs' are in the LD_LIBRARY_PATH or equivalent.

  Error running configure
  ERROR: failed building wxWidgets
  Traceback (most recent call last):
    File "build.py", line 1471, in cmd_build_wx
      wxbuild.main(wxDir(), build_options)
    File "/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/buildtools/build_wxwidgets.py", line 372, in main
      exitIfError(wxBuilder.configure(dir=wxRootDir, options=configure_opts),
    File "/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/buildtools/build_wxwidgets.py", line 85, in exitIfError
      raise builder.BuildError(msg)
  buildtools.builder.BuildError: Error running configure
  Finished command: build_wx (0m3.259s)
  Finished command: build (0m3.259s)
  Command '"/home/felix/PycharmProjects/daily/daily_venv/bin/python" -u build.py build' failed with exit code 1.
  ----------------------------------------
  ERROR: Failed building wheel for wxpython
  Running setup.py clean for wxpython
Failed to build wxpython
Installing collected packages: wxpython
  Attempting uninstall: wxpython
    Found existing installation: wxPython 4.1.1
    Uninstalling wxPython-4.1.1:
      Successfully uninstalled wxPython-4.1.1
    Running setup.py install for wxpython ... error
    ERROR: Command errored out with exit status 1:
     command: /home/felix/PycharmProjects/daily/daily_venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/setup.py'"'"'; __file__='"'"'/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ppv7xa_e/install-record.txt --single-version-externally-managed --compile --install-headers /home/felix/PycharmProjects/daily/daily_venv/include/site/python3.8/wxpython
         cwd: /tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/
    Complete output (143 lines):
    running install
    running build
    WARNING: Building this way assumes that all generated files have been
    generated already.  If that is not the case then use build.py directly
    to generate the source and perform the build stage.  You can use
    --skip-build with the bdist_* or install commands to avoid this
    message and the wxWidgets and Phoenix build steps in the future.

    "/home/felix/PycharmProjects/daily/daily_venv/bin/python" -u build.py build
    Will build using: "/home/felix/PycharmProjects/daily/daily_venv/bin/python"
    3.8.5 (default, Jul 28 2020, 12:59:40)
    [GCC 9.3.0]
    Python's architecture is 64bit
    cfg.VERSION: 4.1.0

    Running command: build
    Running command: build_wx
    wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']
    Configure options: ['--enable-unicode', '--with-gtk=3', '--enable-sound', '--enable-graphics_ctx', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl']
    /tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --enable-sound --enable-graphics_ctx --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking for toolkit... gtk
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether we are using the Intel C compiler... no
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking whether gcc needs -traditional... no
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking whether we are using the Intel C++ compiler... no
    checking whether we are using the Sun C++ compiler... no
    checking for ar... ar
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for langinfo.h... yes
    checking for wchar.h... yes
    checking for sys/select.h... yes
    checking for cxxabi.h... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking size of short... 2
    checking size of void *... 8
    checking size of int... 4
    checking size of long... 8
    checking size of size_t... 8
    checking size of long long... 8
    checking size of wchar_t... 4
    checking for va_copy... yes
    checking whether the compiler supports variadic macros... yes
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking if large file support is available... yes
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking whether byte ordering is bigendian... no
    checking for std::wstring in <string>... yes
    checking for std::istream... yes
    checking for std::ostream... yes
    checking for type_traits... yes
    checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes
    checking for libraries directories... /usr/lib/x86_64-linux-gnu /usr/lib
    checking for cos... no
    checking for floor... no
    checking if floating point functions link without -lm... no
    checking for sin... yes
    checking for ceil... yes
    checking if floating point functions link with -lm... yes
    checking for strtoull... yes
    checking for pkg-config... /home/linuxbrew/.linuxbrew/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    configure: WARNING: Defaulting to the builtin regex library for Unicode build.
    checking for zlib.h >= 1.1.4... yes
    checking for zlib.h... (cached) yes
    checking for deflate in -lz... yes
    checking for png.h > 0.90... yes
    checking for png.h... (cached) yes
    checking for png_sig_cmp in -lpng... yes
    checking for jpeglib.h... no
    configure: WARNING: system jpeg library not found, will use built-in instead
    checking lzma.h usability... yes
    checking lzma.h presence... yes
    checking for lzma.h... yes
    checking for lzma_code in -llzma... yes
    checking for jbg_dec_init in -ljbig... no
    checking for LIBTIFF... not found via pkg-config
    checking for tiffio.h... no
    configure: WARNING: system tiff library not found, will use built-in instead
    checking for expat.h... yes
    checking if expat.h is valid C++ header... yes
    checking for XML_ParserCreate in -lexpat... yes
    checking for GTK+ version...
    checking for pkg-config... (cached) /home/linuxbrew/.linuxbrew/bin/pkg-config
    checking pkg-config is at least version 0.16... yes
    checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-3.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gtk+-3.0' found
    Package gthread-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gthread-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gthread-2.0' found
    no
    *** Could not run GTK+ test program, checking why...
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occurred. This usually means GTK+ is incorrectly installed.
    configure: error:
    The development files for GTK+ were not found. For GTK+ 2, please
    ensure that pkg-config is in the path and that gtk+-2.0.pc is
    installed. For GTK+ 1.2 please check that gtk-config is in the path,
    and that the version is 1.2.3 or above. Also check that the
    libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
    --libs' are in the LD_LIBRARY_PATH or equivalent.

    Error running configure
    ERROR: failed building wxWidgets
    Traceback (most recent call last):
      File "build.py", line 1471, in cmd_build_wx
        wxbuild.main(wxDir(), build_options)
      File "/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/buildtools/build_wxwidgets.py", line 372, in main
        exitIfError(wxBuilder.configure(dir=wxRootDir, options=configure_opts),
      File "/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/buildtools/build_wxwidgets.py", line 85, in exitIfError
        raise builder.BuildError(msg)
    buildtools.builder.BuildError: Error running configure
    Finished command: build_wx (0m3.53s)
    Finished command: build (0m3.53s)
    Command '"/home/felix/PycharmProjects/daily/daily_venv/bin/python" -u build.py build' failed with exit code 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/felix/PycharmProjects/daily/daily_venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/setup.py'"'"'; __file__='"'"'/tmp/pip-install-f1q7skkv/wxpython_10d28874643f4081b9674c4948f63da5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ppv7xa_e/install-record.txt --single-version-externally-managed --compile --install-headers /home/felix/PycharmProjects/daily/daily_venv/include/site/python3.8/wxpython Check the logs for full command output.

[Ubuntu20.04 ] OS
[3.8.5 ] Python Version
[1.0.7 ] Gooey Version

Actually I can install wxpython by run pip install -U \     -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 \     wxPython
And the gtk2.0+ has installed.
but when I run pip install gooey, it will automaticly uninstall wxpython==4.1.1 and install wxpython==4.1.0 then got the before error.
What should I do?
Thanks! ^_^

Similar issue

Ubuntu 20.04
Python 3.8.5 (virtual env)
Gooey 1.0.8

I have wxPython 4.1.1 installed and demos working
However "pip install Gooey" seems to result in wxPython 4.1.1 being uninstalled, an expensive rebuild of wxPython 4.1.0 (?) which ultimately fails, aborting the Gooey installation and a rollback of the uninstallation of wxPython 4.1.1
  ERROR: Failed building wheel for wxpython
  Running setup.py clean for wxpython
Failed to build wxpython
Installing collected packages: wxpython, pygtrie, colored, Gooey
  Attempting uninstall: wxpython
    Found existing installation: wxPython 4.1.1
    Uninstalling wxPython-4.1.1:
      Successfully uninstalled wxPython-4.1.1
    Running setup.py install for wxpython ... error
    ERROR: Command errored out with exit status 1:
...
 Rolling back uninstall of wxPython
...

Similar issue

Ubuntu 20.04
Python 3.8.5 (virtual env)
Gooey 1.0.8

I have wxPython 4.1.1 installed and demos working
However "pip install Gooey" seems to result in wxPython 4.1.1 being uninstalled, an expensive rebuild of wxPython 4.1.0 (?) which ultimately fails, aborting the Gooey installation and a rollback of the uninstallation of wxPython 4.1.1
  ERROR: Failed building wheel for wxpython
  Running setup.py clean for wxpython
Failed to build wxpython
Installing collected packages: wxpython, pygtrie, colored, Gooey
  Attempting uninstall: wxpython
    Found existing installation: wxPython 4.1.1
    Uninstalling wxPython-4.1.1:
      Successfully uninstalled wxPython-4.1.1
    Running setup.py install for wxpython ... error
    ERROR: Command errored out with exit status 1:
...
 Rolling back uninstall of wxPython
...

Wx version has been unpinned from 4.1.0, so Ubuntu installations should go a little smoother these days. It should pull in 4.1.1 automatically now


Make it easier to spin up new demo environments and for anyone to deploy these environments

Description
We have civiform-demo.civiform.dev as an environment, but currently the owner (Nick) needs to deploy it to get updates from the latest release version. We should make it easier for others to be able to update that demo environment and also make it easier for new demo environments to be created.

This would be adding a github action to deploy these envs like we do with staging. The demo environments should all be defined in the civiform-staging-deploy repo.

I guess I should add the a11y demo instance configs to that repo then.  Right now, the configs for it are only on my machine.


Advice on adjusting output dimension in Resnet101conv4 for Deep Visual Geo-localization Benchmark

Hello, @gmberton!
I am currently working on a project involving deep visual geo-localization benchmark using a ResNet101conv4 model, which by default has an output dimension of 1024. For my specific application, I need to adjust the model's output dimension to 2048. I have identified two potential approaches to achieve this, and I would greatly appreciate your insights on which method might be more suitable or if there's another recommended strategy.
1. Utilizing a command-line argument to set the output dimension directly in the parser with --fc_output_dim=2048.
2. Modifying the network.py file to manually insert an additional Convolutional Layer into the existing CNN architecture, using the following code:
layers.append(nn.Conv2d(1024, 2048, kernel_size=(1,1), stride=(1,1), bias=False)).
Could you please provide guidance on the advantages or disadvantages of these approaches in the context of Deep Visual Geo-localization Benchmark? Which method would you recommend for effectively changing the output dimension while maintaining or enhancing model performance?
Looking forward to your reply. Thank you in advance!

Hello
In our experiments, using GeM + FC2048 (the first option that you mention) was one of the best configurations, it was better than keeping GeM only with 1024d.
I have never tried the second option that you mention, but I would suggest to use the first one that doesn't even require to add any code
lastly, if you are looking for a model to output 2048-d descriptors, you can check out one of our latest works, EigenPlaces, it performs much better than those trained with a triplet https://github.com/gmberton/EigenPlaces


Improve information about instance usage

$ now scale mydomain.com all 1 auto
> Fetched deployment "mydomain-yxozomuvye.now.sh" [452ms]
> Error! You can't scale to more than 10 max instances with your current plan.

Say how many instances a scale command requires. In this case, I think it's 2? (Minimum of one in each of 2 datacenters)
Say how many instances I'm using
Provide a better way to see which deployments are using instances. When I do now ls, I see the number of instances used by each most-recent deployment for each app. But I don't see a total for all deployments of an app—I would have to now ls -a appname and sum in my head, and repeat for all apps. And I have over 10 apps.

Also, I think there might be a bug in the scale command—I don't think I'm using more than 8 instances. I only see 4 in the top-level now ls.

Thank you so much for the effort you have put into this issue! 😊
However, since we completely re-worked the entire codebase of Now CLI and this issue does not apply to the new code anymore, I'm closing it now.
You can read more about our biggest release yet here: https://zeit.co/blog/now-2


getNext can only return "children" of requested OID or walk the full MIB tree

when I am sending a single getNext for SNMPv2-MIB::sysUpTime.0, I am expecting to get a reply with the single binding SNMPv2-MIB::sysContact.0
This is also, what I am getting when using the net-snmp command line tools:
# snmpgetnext -v 2c -r 0 -c public <some-ip>:161 SNMPv2-MIB::sysUpTime.0
SNMPv2-MIB::sysContact.0 = STRING: <some-string>
#

when I try to to the same with pysnmp using the command generator, I have two choices:
a)
nextCmd(SnmpEngine(),
	CommunityData(community),
	UdpTransportTarget((host, port)),
	ContextData(),
	ObjectType(ObjectIdentity('SNMPv2-MIB', 'sysUpTime')),
        lexicographicMode=False):

requesting with lexicographicMode=False (which is the default). In this case, I get no bindings as result (NoSuchObject).
b)
nextCmd(SnmpEngine(),
	CommunityData(community),
	UdpTransportTarget((host, port)),
	ContextData(),
	ObjectType(ObjectIdentity('SNMPv2-MIB', 'sysUpTime')),
        lexicographicMode=True):

requesting with lexicographicMode=True. In this case, I get the whole MIB tree following sysUpTime as result.
I can see no way to achieve the net-snmp behaviour (which is the correct behaviour in my opinion)
I think that this line is causing the problem:
https://github.com/etingof/pysnmp/blob/master/pysnmp/hlapi/asyncore/sync/cmdgen.py#L385
by checking for initialVars[idx].isPrefixOf(name), any siblings or parents of the initially requested OID are no valid results (which they should be)
would it be valid to remove this check?

First of, I am sorry for not handling this issue for so long... Life happens, you know. ;-)
Looking at the situation "a", I think this query should return  just sys.UpTime.0 if this object exists at the agent or nothing e.g. empty list of var-binds. At least this is how it is supposed to behave.
With situation "b" you should get the whole MIB, that's right. I'm interested to learn if sysUpTime.0 object is among the returned set?
Note that when you request sysUpTime, the likely next object is sysUpTime.0. If it is absent at the agent, the next object might be sysContact.0 which belongs to a different OID subtree than sysUpTime therefore it should not be returned. This is exactly what the condition you dropped is all about.
To figure out why GETNEXT sysUpTime does not return sysUpTime.0 we probably need to enable pysnmp debugging and look what's coming from your agent:
from pysnmp import debug
debug.setLogger(debug.Debug('all'))

What do you think?

regarding situation "a":
here is my complete source code for the test
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp import debug as pysnmpdebug

pysnmpdebug.setLogger(pysnmpdebug.Debug('all'))

mibVar = cmdgen.MibVariable('SNMPv2-MIB', 'sysUpTime', 0)
mibVar.addAsn1MibSource('/usr/share/snmp/mibs/')

errorIndication, errorStatus, errorIndex, varBinds = cmdgen.CommandGenerator().nextCmd(
    cmdgen.CommunityData("public"),
    cmdgen.UdpTransportTarget( ('<IP_ADDRESS>', 161)),
    mibVar,
    **({'lookupNames':'True', 'lookupValues':'True'})#, 'lexicographicMode':'True'})
)
print('varbinds: ')
print '[%s]' % ', '.join(map(str, varBinds))

and this is the output generated:
output.txt
In line 1038 of output.txt, you can see that the varBind is received but when printing varBinds (or checking it in the debugger), varBinds (in line 9 of my code) is an empty list
regarding situation "b":

varBinds[0] is SNMPv2MIB::sysContact.0
varBinds[1] is SNMPv2MIB::sysName.0
etc...

so sysUpTime.0 is missing

The old nextCmd is actually GET NEXT based WALK operation.
This was only fixed in recent releases, where nextCmd and walkCmd are both presented and serve different purposes.


Add documentation explaining the config files

We have recently added a lot of new attributes/features to our jdkxx_pipeline_config.groovy files (https://github.com/AdoptOpenJDK/openjdk-build/pull/2100,  https://github.com/AdoptOpenJDK/openjdk-build/pull/2051, https://github.com/AdoptOpenJDK/openjdk-build/pull/1952, etc.). Yet, we have no documentation explaining what attributes there are in the config files. We would like a piece of documentation explaining what the config files do and how they can be modified.

Dup of https://github.com/AdoptOpenJDK/openjdk-build/issues/2129 (this was made first but the other issue explains the problem better so we'll roll with that one) 🙂


Support RPC Service Binding

It would be nice to have the ability to generate and export JavaScript classes from Go structs and interfaces using the workers-cli command.
https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/rpc

RPC for Durable Objects will be separeted issue.


Autosave only when wandb is enabled

Copied the demo from your notebook. It tries to _autosave to wandb when it is not enabled. Made it check for this.

Thanks for the fix!


Is it possible for a bot to message each member of a team with a personal message when it gets added to a team?

I have a requirement for my teams app to inform users that it has been added to a team and what its capabilities are. I would like to do this through directly messaging each member of the team when the bot is added to the team and then to subsequently message any members who are newly added to the team.
I have read through the documentation on Proactive messaging and from what I can tell from looking at the samples, each seems to indicate that the user needs to either interact with the bot initially or it can post messages to a team that it is listening to for users being added.
Is there a clear example on how this might be accomplished and if it is even possible?

@Admiral-Skye - Thanks for reporting your issue.
We will check this at our end and will get back to you.

@Admiral-Skye -When you bot is added to the team, you can get a list of the users in the team.
You can use TeamsInfo.getPagedMembers to get members details in the team.
If you want to send the message to all members, see 3 point MessageAllMembers.,
The bot will send a 1-on-1 message to each member in the current conversation.
Code snippets  -
 private async Task MessageAllMembersAsync(ITurnContext<IMessageActivity> turnContext, CancellationToken cancellationToken)
        {
            var teamsChannelId = turnContext.Activity.TeamsGetChannelId();
            var serviceUrl = turnContext.Activity.ServiceUrl;
            var credentials = new MicrosoftAppCredentials(_appId, _appPassword);
            ConversationReference conversationReference = null;

            var members = await GetPagedMembers(turnContext, cancellationToken);

            foreach (var teamMember in members)
            {
                var proactiveMessage = MessageFactory.Text($"Hello {teamMember.GivenName} {teamMember.Surname}. I'm a Teams conversation bot.");

                var conversationParameters = new ConversationParameters
                {
                    IsGroup = false,
                    Bot = turnContext.Activity.Recipient,
                    Members = new ChannelAccount[] { teamMember },
                    TenantId = turnContext.Activity.Conversation.TenantId,
                };

                await ((CloudAdapter)turnContext.Adapter).CreateConversationAsync(
                    credentials.MicrosoftAppId,
                    teamsChannelId,
                    serviceUrl,
                    credentials.OAuthScope,
                    conversationParameters,
                    async (t1, c1) =>
                    {
                        conversationReference = t1.Activity.GetConversationReference();
                        await ((CloudAdapter)turnContext.Adapter).ContinueConversationAsync(
                            _appId,
                            conversationReference,
                            async (t2, c2) =>
                            {
                                await t2.SendActivityAsync(proactiveMessage, c2);
                            },
                            cancellationToken);
                    },
                    cancellationToken);
            }

            await turnContext.SendActivityAsync(MessageFactory.Text("All messages have been sent."), cancellationToken);
        }

Sample Link-https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/csharp

@sayali-MSFT Excellent! that worked flawlessly!
Follow up question, Is there a mechanism I can leverage to prevent the same user from receiving a message if the bot is added to another team that that user is also a member of?

@Admiral-Skye -There is no SDK or API to achieve the scenario. You need to add the custom logic to achieve this.

@sayali-MSFT is it possible to access the state object(a) for the newly created conversation?

@Admiral-Skye -Could you please elaborate more on your requirement?

@sayali-MSFT Most examples that make mention of remembering conversation with your bot make use of the state management documented here: https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-concept-state?view=azure-bot-service-4.0#state-management
Is it possible for me to access this state management when creating a new conversation?

@Admiral-Skye -Could you please refer the below sample- https://github.com/microsoft/BotBuilder-Samples/blob/main/samples/csharp_dotnetcore/45.state-management/Bots/StateManagementBot.cs

Hello @Admiral-Skye - We are closing this issue for now, please feel free to reopen it, if required.


Refactoring component reconciler metrics

TODO:

renaming reconciler_processing_time_bucket label metric to a meaningful name

proposal: state with value successful unsuccessful

add workpool occupency
Include DB statistics from #910

Functionalities of the Reconciler were migrated to the new architecture, this issue will not be worked on.


Unable to authenticate using an email address as a username

I was doing some testing to verify that Glip Pro users can login to the production API. In the process, I found a bug. It is arguable whether the bug is in the platform or the SDK, but I have verified that I can fix this issue by modifying the SDK. The bug is simple.
Glip Pro users login using an email address and a password. No extension is used. However, the Javascript SDK transmits an extension parameter in the call to https://platform.ringcentral.com/restapi/oauth/token:
 grant_type=password&username=byrne.reese%40xyz.com&password=xxxxxxxx&extension=

This causes an "Invalid resource owner credentials error." By modifying the SDK to not transmit the extension parameter in the request body, the error goes away.
I fixed the error on line 441 of sdk/src/platform/Platform.ts.
                    const re = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]\
+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0\
-9]+\.)+[a-zA-Z]{2,}))$/;
		    if (re.test(String(email).toLowerCase())) {
                       	 body.extension = extension;
                    }

@byrnereese  did you try specifying extension = undefined explicitly?  Such as rc.login({extension: undefined}).

@tylerlong I just tried this. It did not work.

Hi Tyler @tylerlong this is going to be a headache for developers/partners once they start to use our SDK for RingCentral Video API's. Can you please double-check the fix you suggested? I'll try it as well and share my comments here. Btw it was news to me that we can log in using email as well, I'll add that in the documentation as in code snippets we show phone numbers currently which not all ISV partners have or may have. Thanks

@embbnux  Did you have the chance to create a PR? I remember we talked about this in a Glip group.

@embbnux could you please have a look at this? Thanks

Update: I was able to leave the extension string empty and using the node.js SDK was able to create a bridge meeting for RCV without getting any error.

Hi @suyashjoshi @tylerlong this is fixed after https://github.com/ringcentral/ringcentral-js/releases/tag/4.4.3


Bug - Manager FAQ Links Show Applicant Info

Description
A clear and concise description of what the bug is.
Right now, when you visit the FAQ from the manager portal, the applicant accordion in the sidebar is expanded, and you're taken to the top of the page, which shows applicant related information.
Ideally:

the applicant accordion would be collapsed, and the manager accordion would be expanded
it would automatically scroll you to the first manager section

Already done.


Maybe add rustic?

What about adding rustic (made by me).
AFAIK this is the only project which implements a standalone restic client.
The other projects here are basically GUIs or wrappers for resic.

@aawsome please feel free to open a PR!

Great, thanks!


Update where to report vulnerabilities to in the docs

This is a minor change to security.md to link to the Security Advisories within in the KaTeX repo instead of Khan Academy's hackerone.com account.  This should streamline the reporting of vulnerabilities and make it easier for KaTeX maintainers to interact with reporters.

Hi @kevinbarabash! Unfortunately, regular users (and even I) cannot create security advisories at that link. It seems we need to receive email, and then someone with Admin privileges needs to make the security advisory and invite the user to report. We could use the maintainer mailing list that I created years ago, but I'm not sure whether it's up-to-date.

@edemaine I didn't realize it was so restrictive.  How would using the mailing list work?  If a report emails the list, but isn't on the list does that work?

I'm going to close this PR since it doesn't make sense.

GHSA docs recommend contacting the maintainers of a package to request that they (we) create a GHSA and invite the reporter to. I was suggesting listing the mailing list as the contact point, so we'd all get the notification and then whoever has time first can create the GHSA.

P.S. @kevinbarabash Are you receiving email from me? I sent a couple of messages in the past couple months. No worries if you're just busy; just want to make sure they're not going to the wrong email address.


Improve search pagination using the search_after parameter

The current pagination mechanism has a (configurable) hard limit to 10k records. You cannot request more records after that.
In those cases, you can use the [search_after](https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html#search-after) parameter.

We need to validate how many versions include this parameter
rb.load could be benefited from this change. You could load the whole dataset by paginating into the records.

TODO:

[ ] Review current pagination workflow VS <Previous | Next>

https://github.com/argilla-io/argilla/issues/2484


refactor: Remove iUserSpace functions from Toolkit

Removed iUserSpace Functions from Toolkit:

docs
code
tests

Added test/functional/iUserSpaceFunctional.js
Part of #161

$ npm run test-integration

> ./node_modules/mocha/bin/mocha --timeout 3s test/functional/*.js

  CommandCall Functional Tests
    CL command tests
      ✓ calls CL command using idb transport (271ms)
      ✓ calls CL command using rest transport (183ms)
      ✓ calls CL command using ssh transport (763ms)
      ✓ calls CL command using odbc transport (228ms)
    SH command tests
      ✓ calls PASE shell command using idb transport (1323ms)
      ✓ calls PASE shell command using rest transport (1347ms)
      ✓ calls PASE shell command using ssh transport (1985ms)
      ✓ calls PASE shell command using odbc transport (1448ms)
    QSH command tests
      ✓ calls QSH command using idb transport (2147ms)
      ✓ calls QSH command using rest transport (2180ms)
      ✓ calls QSH command using ssh transport (2476ms)
      ✓ calls QSH command using odbc transport (1578ms)

  ProgramCall Functional Tests
    Test ProgramCall()
      ✓ calls QWCRSVAL program checks if it ran successfully using idb transport (70ms)
      ✓ calls QWCRSVAL program checks if it ran successfully using rest transport (114ms)
      ✓ calls QWCRSVAL program checks if it ran successfully using ssh transport (652ms)
      ✓ calls QWCRSVAL program checks if it ran successfully using odbc transport (87ms)
    Test ProgramCall()
      ✓ calls QWCRSVAL program and returns arbitrarily named parameter using idb transport (65ms)
      ✓ calls QWCRSVAL program and returns arbitrarily named parameter using rest transport (71ms)
      ✓ calls QWCRSVAL program and returns arbitrarily named parameter using ssh transport (582ms)
      ✓ calls QWCRSVAL program and returns arbitrarily named parameter using odbc transport (79ms)
    Test ProgramCall()
      - Should be successful with addReturn arbitrary attribute specified using using idb transport
      - Should be successful with addReturn arbitrary attribute specified using using rest transport
      - Should be successful with addReturn arbitrary attribute specified using using ssh transport
      - Should be successful with addReturn arbitrary attribute specified using using odbc transport

  Toolkit Functional Tests
    DataQueue Functional Tests
      sendToDataQueue
        ✓ sends data to specified DQ using idb transport (65ms)
        ✓ sends data to specified DQ using rest transport (61ms)
        ✓ sends data to specified DQ using ssh transport (674ms)
        ✓ sends data to specified DQ using odbc transport (82ms)
      receiveFromDataQueue
        ✓ receives data from specfied DQ using idb transport (66ms)
        ✓ receives data from specfied DQ using rest transport (70ms)
        ✓ receives data from specfied DQ using ssh transport (627ms)
        ✓ receives data from specfied DQ using odbc transport (80ms)
      clearDataQueue
        ✓ clears the specifed DQ using idb transport (71ms)
        ✓ clears the specifed DQ using rest transport (67ms)
        ✓ clears the specifed DQ using ssh transport (624ms)
        ✓ clears the specifed DQ using odbc transport (91ms)
    getTCPIPAttr
      ✓ retrieves TCP/IP Attributes using idb transport (102ms)
      ✓ retrieves TCP/IP Attributes using rest transport (102ms)
      ✓ retrieves TCP/IP Attributes using ssh transport (726ms)
      ✓ retrieves TCP/IP Attributes using odbc transport (99ms)
    getNetInterfaceData
      ✓ retrieves IPv4 network interface info using idb transport (108ms)
      ✓ retrieves IPv4 network interface info using rest transport (103ms)
      ✓ retrieves IPv4 network interface info using ssh transport (730ms)
      ✓ retrieves IPv4 network interface info using odbc transport (102ms)
    retrUsrAuth
      ✓ returns uses's authority for an object using idb tranport (73ms)
      ✓ returns uses's authority for an object using rest tranport (69ms)
      ✓ returns uses's authority for an object using ssh tranport (640ms)
      ✓ returns uses's authority for an object using odbc tranport (91ms)
    rtrCmdInfo
      ✓ returns command info using idb transport (86ms)
      ✓ returns command info using rest transport (69ms)
      ✓ returns command info using ssh transport (683ms)
      ✓ returns command info using odbc transport (84ms)
    retrPgmInfo
      ✓ returns program info using idb transport (75ms)
      ✓ returns program info using rest transport (72ms)
      ✓ returns program info using ssh transport (665ms)
      ✓ returns program info using odbc transport (87ms)
    retrSrvPgmInfo
      ✓ returns service program info using idb transport (74ms)
      ✓ returns service program info using rest transport (76ms)
      ✓ returns service program info using ssh transport (690ms)
      ✓ returns service program info using odbc transport (85ms)
    retrUserInfo
      ✓ returns specified user profile info using idb transport (68ms)
      ✓ returns specified user profile info using rest transport (63ms)
      ✓ returns specified user profile info using ssh transport (650ms)
      ✓ returns specified user profile info using odbc transport (83ms)
    retrUsrAuthToObj
      ✓ retrieves info for users who are authorized to an object using idb transpsort (69ms)
      ✓ retrieves info for users who are authorized to an object using rest transpsort (72ms)
      ✓ retrieves info for users who are authorized to an object using ssh transpsort (655ms)
      ✓ retrieves info for users who are authorized to an object using odbc transpsort (85ms)
    addToLibraryList
      ✓ appends lib to user's lib list using idb transport (71ms)
      ✓ appends lib to user's lib list using rest transport (70ms)
      ✓ appends lib to user's lib list using ssh transport (636ms)
      ✓ appends lib to user's lib list using odbc transport (82ms)
    getPTFInfo
      ✓ returns info for specified ptf using idb transport (85ms)
      ✓ returns info for specified ptf using rest transport (71ms)
      ✓ returns info for specified ptf using ssh transport (698ms)
      ✓ returns info for specified ptf using odbc transport (97ms)
    getProductInfo
      ✓ returns info for specified product using idb transport (75ms)
      ✓ returns info for specified product using rest transport (65ms)
      ✓ returns info for specified product using ssh transport (678ms)
      ✓ returns info for specified product using odbc transport (83ms)
    getInstalledProducts
      ✓ returns info for installed products using idb transport (812ms)
      ✓ returns info for installed products using rest transport (855ms)
      ✓ returns info for installed products using ssh transport (1371ms)
      ✓ returns info for installed products using odbc transport (844ms)
    getSysValue
      ✓ returns the value of system variable using idb transport (70ms)
      ✓ returns the value of system variable using rest transport (69ms)
      ✓ returns the value of system variable using ssh transport (755ms)
      ✓ returns the value of system variable using odbc transport (88ms)
    getSysStatus
      ✓ returns basic system status information about the signed-on users and batch jobs using idb transport (69ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using rest transport (85ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using ssh transport (686ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using odbc transport (83ms)
    getSysStatusExt
      ✓ returns more detailed system status info using idb transport (1158ms)
      ✓ returns more detailed system status info using rest transport (1150ms)
      ✓ returns more detailed system status info using ssh transport (1717ms)
      ✓ returns more detailed system status info using odbc transport (1177ms)
    getJobStatus
      ✓ returns status of specified job using idb transport (67ms)
      ✓ returns status of specified job using rest transport (71ms)
      ✓ returns status of specified job using ssh transport (654ms)
      ✓ returns status of specified job using odbc transport (82ms)
    getJobInfo
      ✓ returns info on specfed job using idb transport (74ms)
      ✓ returns info on specfed job using rest transport (66ms)
      ✓ returns info on specfed job using ssh transport (735ms)
      ✓ returns info on specfed job using odbc transport (84ms)
    getDataArea
      ✓ returns contents of a data area using idb transport (74ms)
      ✓ returns contents of a data area using rest transport (66ms)
      ✓ returns contents of a data area using ssh transport (610ms)
      ✓ returns contents of a data area using odbc transport (92ms)

  iSql Functional Tests
    prepare & execute
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:53:21
      ✓ prepares & executes stored procedure then fetch results using idb transport (555ms)
      ✓ prepares & executes stored procedure then fetch results using rest transport (571ms)
      ✓ prepares & executes stored procedure then fetch results using ssh transport (902ms)
      ✓ prepares & executes stored procedure then fetch results using odbc transport (522ms)
    addQuery & fetch
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:89:21
      ✓ runs a query and fetches results using idb transport (298ms)
      ✓ runs a query and fetches results using rest transport (540ms)
      ✓ runs a query and fetches results using ssh transport (793ms)
      ✓ runs a query and fetches results using odbc transport (312ms)
    added test to ensure issue #11 was resolved
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:117:21
      ✓ should parse SQL result set empty data tags correctly using idb transport (238ms)
      ✓ should parse SQL result set empty data tags correctly using rest transport (456ms)
      ✓ should parse SQL result set empty data tags correctly using ssh transport (838ms)
      ✓ should parse SQL result set empty data tags correctly using odbc transport (263ms)
    tables
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:146:21
      ✓ returns meta data for specified table using idb transport (249ms)
      ✓ returns meta data for specified table using rest transport (355ms)
      ✓ returns meta data for specified table using ssh transport (842ms)
      ✓ returns meta data for specified table using odbc transport (228ms)
    tablePriv
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:173:21
      ✓ returns privilege data for a table using idb transport (233ms)
      ✓ returns privilege data for a table using rest transport (238ms)
      ✓ returns privilege data for a table using ssh transport (777ms)
      ✓ returns privilege data for a table using odbc transport (274ms)
    columns
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:202:21
      ✓ returns meta data for a column using idb transport (268ms)
      ✓ returns meta data for a column using rest transport (299ms)
      ✓ returns meta data for a column using ssh transport (782ms)
      ✓ returns meta data for a column using odbc transport (282ms)
    columnPriv
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:242:21
      ✓ returns privilege data for a column using idb transport (284ms)
      ✓ returns privilege data for a column using rest transport (413ms)
      ✓ returns privilege data for a column using ssh transport (771ms)
      ✓ returns privilege data for a column using odbc transport (264ms)
    procedures
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:273:21
      ✓ returns meta data on for a procedure using idb transport (220ms)
      ✓ returns meta data on for a procedure using rest transport (213ms)
      ✓ returns meta data on for a procedure using ssh transport (796ms)
      ✓ returns meta data on for a procedure using odbc transport (239ms)
    pColumns
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:303:21
      ✓ returns meta data for procedure column using idb transport (255ms)
      ✓ returns meta data for procedure column using rest transport (246ms)
      ✓ returns meta data for procedure column using ssh transport (737ms)
      ✓ returns meta data for procedure column using odbc transport (265ms)
    primaryKeys
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:344:21
      ✓ returns meta data for a primary key using idb transport (389ms)
      ✓ returns meta data for a primary key using rest transport (301ms)
      ✓ returns meta data for a primary key using ssh transport (709ms)
      ✓ returns meta data for a primary key using odbc transport (236ms)
    foreignKeys
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:372:21
      ✓ returns meta data for a foreign key using idb transport (213ms)
      ✓ returns meta data for a foreign key using rest transport (224ms)
      ✓ returns meta data for a foreign key using ssh transport (767ms)
      ✓ returns meta data for a foreign key using odbc transport (251ms)
    statistics
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:409:21
      ✓ returns stats info for table using idb transport (380ms)
      ✓ returns stats info for table using rest transport (536ms)
      ✓ returns stats info for table using ssh transport (910ms)
      ✓ returns stats info for table using odbc transport (418ms)
    special
      - returns meta data for special columns using idb transport
      - returns meta data for special columns using rest transport
      - returns meta data for special columns using ssh transport
      - returns meta data for special columns using odbc transport
    rowCount
      - returns the number of rows affected by statement using idb transport
      - returns the number of rows affected by statement using rest transport
      - returns the number of rows affected by statement using ssh transport
      - returns the number of rows affected by statement using odbc transport

  iUserSpace Functional Tests
    createUserSpace
iUserSpace deprecated As of v1.0, class 'iUserSpace' is deprecated. test/functional/iUserSpaceFunctional.js:53:27
      ✓ creates a user space using idb transport (79ms)
      ✓ creates a user space using rest transport (63ms)
      ✓ creates a user space using ssh transport (601ms)
      ✓ creates a user space using odbc transport (94ms)
    setUserSpaceData
iUserSpace deprecated As of v1.0, class 'iUserSpace' is deprecated. test/functional/iUserSpaceFunctional.js:73:27
      ✓ sets data within the user space using idb transport (67ms)
      ✓ sets data within the user space using rest transport (66ms)
      ✓ sets data within the user space using ssh transport (550ms)
      ✓ sets data within the user space using odbc transport (81ms)
    getUserSpaceData
iUserSpace deprecated As of v1.0, class 'iUserSpace' is deprecated. test/functional/iUserSpaceFunctional.js:94:29
      ✓ returns specified length of data using idb transport (70ms)
      ✓ returns specified length of data using rest transport (60ms)
      ✓ returns specified length of data using ssh transport (579ms)
      ✓ returns specified length of data using odbc transport (81ms)
    deleteUserSpace
iUserSpace deprecated As of v1.0, class 'iUserSpace' is deprecated. test/functional/iUserSpaceFunctional.js:112:27
      ✓ removes a user space using idb transport (71ms)
      ✓ removes a user space using rest transport (63ms)
      ✓ removes a user space using ssh transport (606ms)
      ✓ removes a user space using odbc transport (85ms)

  168 passing (1m)
  12 pending

@kadler Resolved conflicts this is now ready for review.


Exclude some directories

These directories should be excluded from git: __pycache__

Thanks for letting me know. Fixed bb619d06e15798de8ceb0ddd252d7ae26a492947


Cannot read property 'unshift' of undefined on installing @ng-toolkit/universal package

ng add @ng-toolkit/universal
i ran this  ng add @ng-toolkit/universal  on a  new angular project without even writing a single line of code..
But its throwing an error as below:
INFO: Project property is set to 'prerender'. ERROR: Cannot read property 'unshift' of undefined ERROR: If you think that this error shouldn't occur, please fill up bug report here: https://github.com/maciejtreder/ng-toolkit/issues/new INFO: stacktrace has been sent to tracking system. Nothing to be done.
What to do ??
Where i am wrong here ??

I'm having the same issue

Please see #683.


[IGNORE] Bump go to v1.20.x

I'm just bumping the Golang version to the last one

the linter error is really weird. I need to take a deeper look at that ...

@Nexucis is this a PR we could close for the time being while it's in draft mode? (It's OK if the answer is "no, it helps to have it open")

yeah we can close it @cndonovan no issue on that :)


tests: add PHP 7.2

Coverage remained the same at 68.151% when pulling 31b6e97723c4ed9b307cd51d1d314bf156a9ed46 on DanielRuf:tests/add-php-72 into 950adca9cb33d3777357f21b155d4d69256f0666 on yswery:master.

Coverage remained the same at 68.151% when pulling 31b6e97723c4ed9b307cd51d1d314bf156a9ed46 on DanielRuf:tests/add-php-72 into 950adca9cb33d3777357f21b155d4d69256f0666 on yswery:master.

Coverage remained the same at 68.151% when pulling 31b6e97723c4ed9b307cd51d1d314bf156a9ed46 on DanielRuf:tests/add-php-72 into 950adca9cb33d3777357f21b155d4d69256f0666 on yswery:master.


Call status terminated , Error 500#3002 Internal server error

I'm having a weird issue where my bot was working perfectly fine, and then suddenly started throwing an error. I haven't changed any settings or code, so I'm completely baffled.
Is this a bug, or is there something else going on? Any help would be greatly appreciated!
Call status updated to Terminated - Server Internal Error. DiagCode: 500#3002.@"
Log
$>2024-07-23T08:30:54.7853789Z Info: NotificationQueue.cs:278 StartLoopAsync
ScenarioId: 291434f0-89f0-4817-a442-e74e633341a6
AppId: ed5db92e-18fc-4f1a-bbdc-453af8ad0c74
AppName: PsiBot.Service
Notification queue communications/calls/13004a80-17ce-4219-a258-6422d0d1dcfd is stopped.
$>2024-07-23T08:30:54.7100694Z Info: CallHandler.cs:163 CallOnUpdated
ScenarioId: 291434f0-89f0-4817-a442-e74e633341a6
CallId: 13004a80-17ce-4219-a258-6422d0d1dcfd
TenantId: 242e6438-4f4b-4645-9dfa-68c4590821c6
AppId: ed5db92e-18fc-4f1a-bbdc-453af8ad0c74
AppName: PsiBot.Service
Call status updated to Terminated - Server Internal Error. DiagCode: 500#3002.@
$>2024-07-23T08:30:54.7090706Z Info: CommunicationsClientExtensions.cs:151 LogAndCreateResponse
ScenarioId: 291434f0-89f0-4817-a442-e74e633341a6
AppId: ed5db92e-18fc-4f1a-bbdc-453af8ad0c74
AppName: PsiBot.Service
TransactionDirection: Incoming
TraceType: HttpRequest
request: POST https://95ef-2406-7400-56-a69f-b51b-bd8d-c458-a654.ngrok-free.app/api/calling
headers:
Accept: application/json
Accept-Encoding: (redacted)
Authorization: (redacted)
Host: 95ef-2406-7400-56-a69f-b51b-bd8d-c458-a654.ngrok-free.app
User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
Scenario-Id: 291434f0-89f0-4817-a442-e74e633341a6
X-Forwarded-For: (redacted)
X-Forwarded-Host: 95ef-2406-7400-56-a69f-b51b-bd8d-c458-a654.ngrok-free.app
X-Forwarded-Proto: https
X-Microsoft-Skype-Chain-Id: d6a5367e-c45c-45ae-8cb1-d96ad233f0b5
X-Microsoft-Skype-Message-Id: 1520b6a6-8774-47a6-b2e8-e7e2bb730de2
Content-Type: application/json
Content-Length: 973
{
<EMAIL_ADDRESS>"#microsoft.graph.commsNotifications",
"value": [
{
<EMAIL_ADDRESS>"#microsoft.graph.commsNotification",
"changeType": "deleted",
"resourceUrl": "/communications/calls/13004a80-17ce-4219-a258-6422d0d1dcfd",
"resource": "/app/calls/13004a80-17ce-4219-a258-6422d0d1dcfd",
"resourceData": {
<EMAIL_ADDRESS>"#microsoft.graph.call",
"state": "terminated",
"resultInfo": {
<EMAIL_ADDRESS>"#microsoft.graph.resultInfo",
"code": 500,
"subcode": 3002,
"message": "Server Internal Error. DiagCode: 500#3002.@"
},
"chatInfo": {
<EMAIL_ADDRESS>"#microsoft.graph.chatInfo",
"threadId"<EMAIL_ADDRESS>"messageId": "0"
},
"meetingInfo": {
<EMAIL_ADDRESS>"#microsoft.graph.organizerMeetingInfo",
"organizer": {
<EMAIL_ADDRESS>"#microsoft.graph.identitySet",
"user": {
<EMAIL_ADDRESS>"#microsoft.graph.identity",
"id": "5f60030e-b6b3-4fea-956e-539e28ac8f4a",
"tenantId": "242e6438-4f4b-4645-9dfa-68c4590821c6"
}
}
},
"callChainId": "d6a5367e-c45c-45ae-8cb1-d96ad233f0b5",
"id": "13004a80-17ce-4219-a258-6422d0d1dcfd"
}
}
]
}

@InDieTasten
Thanks for sharing..
I'm using a wildcard certificate and have been developing my bot locally for a while now. Today, after closing and restarting it (2mins), the bot failed to appear in Teams. I'm seeing this error in my logs:

@abhi161 Every certificate expires at some point. Perhaps the wildcard certificate you've been using expired at exactly that moment?

@InDieTasten
Actually I checked already the expiry is after 27th Dec 24.

@InDieTasten  i tried using another certificate but some error

@InDieTasten I tried with another certificate but error persist. Also checked firewall,  updated ports , checked thumbprint mismatch, connections all seems good.
Will really appreciate any help

@abhi161 did you check #729, so your wildcard certificate is valid for your domain. E.g. a certificate for *.example.com would not be valid for bot.test.example.com

probably this is the cause

working fine now


chore(dep) Remove unused markdown transform deps

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Coverage remained the same at 95.466% when pulling 011dee7e58acb1cbe80cd07af6aea385c2969792 on jeromesimeon:js-chore-dep into d1f68d9165e78aadcbc8ce01e85839ce5048ae83 on accordproject:master.


Missing icons for previous and next year

Hi, thanks for this fantastic plugin.
Tried to make my own html with the full example, but the icons for previous and next year keep missing. I think I downloaded all references, but somehow they don't appear. Where do I find their origin?
Thanks in advance,
Fran

More info: I downloaded all css and js files into the same folder, but somehow it still happens. There must be some reference to a js folder or something similar, because all reference files are present. Any ideas?

Hi, @fvarona
If you use Bootstrap, you should change icon classes on .js file. Glyphicons are not supported by BS4. I used Font Awesome on my website, so I added similar icons from the same icon pack to solve this problem.


Handle tags when creating a queue

Hello,
I found that when we create a queue via the rest api the tags are not processed.
I tried the fix using localstack and it seems to react as expected.
I couldn't find any test on this part of the code (but I am a newby in Scala / Akka), please help me if you want me to add some (even if it's a really small fix).
Thank you for the tool :)

Released in 0.15.4. Thanks!


Added check for availability of ffmpeg.

I've had the same trouble as ReinerBanken had (see #49 ) and added a simple check for availability of the ffplay command. Even if the requirements already state that ffmpeg needs to be installed I thinks it's nicer to also tell the user when running the script.
(I only have the means to test on linux since I dont own a Mac.)

I've updated the title of this pull request and updated my changes to the script. It will now correctly test for ffmpeg and give the appropriate error message.


Add workflow for updating rules

Added a workflow that runs every two weeks to update the list of managed rules. If changes are found then a PR is opened and reviewers are automatically assigned. If for some reason no one reviews the PR before the next workflow run, the workflow should update the existing PR with changes again so multiple PRs aren't cluttering the repo.
The first PR using this workflow can be found here: https://github.com/niaid/terraform-aws-managed-config-rules/pull/31

Looks good. Thanks for adding this. We need to also update the conformance pack by running the script scripts/generate-rule-pack-info.rb

Good idea! I've added a new workflow for that here too. This one is manually triggered but also opens a new PR with any changes. I rewrote the script in Python and reorganized the scripts to all be in the same scripts directory. The new rule_pack_info_generator.py script was tested locally and behaves the same as the old Ruby script. You can test it locally yourself to see the changes, too.


feat: re-introduce __default__ entrypoint

Feature Request
In Cairo Zero, we had the __default__ entrypoint. When you tried to invoke an entrypoint that didn't exist in the contract class, your call could be redirected to this __default__ entrypoint and you could handle it as wanted.
The main motivation for this is to re-introduce the transparent proxies and beacon proxies pattern. Consider an application where you deploy a contract for your users. Eventually, as your needs grow and you add features, you will need to upgrade potentially all deployed instances by users; which will require a manual action from your users. Then, you're forced to keep compatibility with older versions, which rapidly becomes a pain.
With beacon proxies, you could simply create a pattern where all calls are delegated to an external class, that can be updated in a single contract, by using the __default__ entrypoint.

+1 to this

doesn't replace_class_syscall solve this usecase? or did i misunderstand the usecase?

No, replace class allows replacing the class of one single contact at a time.
We're in the situation of using a pattern called the beacon proxy that allows you to deploy a new implementation contract and upgrade all proxies simultaneously.
Example use case: you're deploying contracts for an applications where you are deploying one contract for each entity.
As your application gets new features, you need each entity to support the new features. So you might need to add entrypoints, modify some behaviors, add some storage vars, etc.
Currently the only possibility is to have an owner contract that would call replace_class on ALL the deployed entities. If you have 50 thousands contracts deployed, you would need to manually update these 50k contracts
With my proposal, entities would simply make a library call to a class that is known to be the most up to date. You only need to change, in one single location, the hash of the latest class

@enitrat if you had get_class_hash_at, couldn't you have a distinguished upgradable instantiation of it, and point all the other contracts to it? (Perhaps I completely misunderstood your problem though 😱)

I'm not sure i understood your proposal @iliav-starkware, but here is another description of the issue https://docs.openzeppelin.com/contracts-cairo/0.15.0/upgrades#proxies_in_starknet
Its true than in most cases replacing the class hash by an admin might suffice but in some cases a general proxy is needed and more elegant, like for the use case of beacon proxies. The fallback would make the implementation more simple.

@iliav-starkware using get_class_hash_at or reading a storage variable in a registry contract is similar, but doesn't solve the main issue.
TLDR: __default__ ensures transactions don't fail if an entrypoint is not found, and you can define arbitrary logic in case that entrypoint is not found. By only having the __default__ entrypoint in your contract, in which you library call to a specific class, you make sure that if you update that class, the upgrade is automatically reflected in all contracts
Let me know if the problem is clearer with the concrete example of Kakarot.
Each EOA in the Kakarot system is represented by a unique starknet contract, such that 1 EOA = 1 Starknet Contract. As such, everytime an account is created within Kakarot, an Account Contract is deployed on Starknet.
When we update Kakarot, we often make breaking changes to how these account behave: adding paymaster mechanism, optimising calldata, caching values in the account's storage, creating new entrypoints to access specific informations, etc.
Everytime we make such a change, we break the existing compatibility of accounts with Kakarot. If we introduce a new entrypoint, or change the signature of an entrypoint, then the old account becomes unusable within Kakarot, as calling this entrypoint would make the transaction revert.
As such, we must manually update all accounts deployed withing Kakarot. Today, that's more than 50k+ contracts, that we would need to update one by one, calling replace_class. Of course, this imposes a security risk, as to upgrade these accounts, we need admin rights on them.
What the proposal achieves is the ability to redirect any call to a contract's entrypoint to a __default__ entrypoint instead of reverting. This __default__ entrypoint can be programmed to execute a library_call to a class, or another contract_call or anything.
In our case, this means that if inside our __default__ entrypoint, we simply forward the call to the class in the registry, updating one single registry contract with the new account class to use will update the logic of all deployed accounts. We can add entrypoints, remove entrypoints, change the logic at will, and never worry about having a manual upgrade process on 50 - 100k accounts that might fail, takes time and requires downtime, etc.


Option for minimap background color or shading

Currently minimap has the same background, this is an enhancement request to have a way to shade the minimap, so it is visually more distinct from the editor area

Added minimap background color.


Update to nom 1.0

Hi!
nom 1.0 is here, and comes with a few breaking changes. To help the transition, and to test the beta version before release, I took the liberty to test and upgrade (if needed) your code to the 1.0 version. It should work right away, but if there are still issues, or if the code needs to be updated to your latest master, please let me know!
If you want an explanation of the changes, please take a look at the upgrading documentation.
By the way, could you go to one (or all) of those links and write a few kind words about your experience writing parsers in Rust? It would really help me!

nom 1.0 release blogpost
Reddit post
Hacker News post

Thank you for using nom!

Thanks for everything!

You're welcome :)

@Geal Commends on this PR, really class act. :)


feat: Convert Events and FavouriteEvents RecyclerAdapter to ListAdapter

Fixes #1231
Changes:
Converts EventsRecyclerAdapter and FavoriteEventsRecyclerAdapter to
ListAdapter for async diffing and animated changes. Koin scopes have
been used to ensure that adapter references are cleaned up when the
fragments are destroyed
Help needed
Click events on items of SimilarEventsFragment sometimes randomly crashes the app with cryptic errors like these:
java.lang.IllegalStateException: Fragment SimilarEventsFragment{93ace7b (0f76e728-661d-48e7-993e-36f8672e5abf)} not associated with a fragment manager.
I am not sure why these errors occur. Any help with this would be appreciated.

@iamareebjamal @liveHarshit I have finally decided to not use lambdas as arguments to the RecyclerView Adapter's constructor. Lambda click listener constructor arguments works fine in most of the cases, but cause errors when using Navigation AAC with child fragments because it is difficult to predict when the view used to find the nav controller is torn down/recreated. The view I used previously was the root view of the fragment, but it caused a lot of runtime errors randomly.
Please review when you can.

Instead of passing the listeners in bind. Declare them as mutable properties of the view holder

@iamareebjamal Okay, I have now implemented the click listeners as mutable properties on the EventViewHolder class. I was not sure if I should take add them as constructor parameters, though. Right now they are simple mutable class properties. Let me know if you want to change this.

The scoped dependency injected adapters are an overkill IMO

They will prove useful over time as the app grows. One less place to worry about memory leaks, I guess.

It gets tricky to work with child fragments this way, though.

@iamareebjamal Are there any other changes required? Do you want me to remove the scoped adapter injection?

I'll review this later. Meanwhile you can remove the redundant name property from scopes enum

@iamareebjamal The scopeName property is not redundant. The scope builder in Koin requires a scope name of type string to be passed as a parameter. To associate a string value with an enum constant, I added the scopeName property to them.

@iamareebjamal Did you get a chance to review this?

@iamareebjamal Updated the PR to resolve merge conflicts. Please review when you can.

@iamareebjamal I'm not sure why the build is failing. This is not related to changes I made in my PR because i have not made any new changes.
This is the error message on Travis:
Could not determine the dependencies of task ':app:kaptFdroidReleaseKotlin'.
> Could not resolve all task dependencies for configuration ':app:kapt'.
   > Could not find org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.0.5.
     Searched in the following locations:
       - file:/usr/local/android-sdk/extras/m2repository/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.pom
       - file:/usr/local/android-sdk/extras/m2repository/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.jar
       - file:/usr/local/android-sdk/extras/google/m2repository/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.pom
       - file:/usr/local/android-sdk/extras/google/m2repository/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.jar
       - file:/usr/local/android-sdk/extras/android/m2repository/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.pom
       - file:/usr/local/android-sdk/extras/android/m2repository/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.jar
       - https://dl.google.com/dl/android/maven2/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.pom
       - https://dl.google.com/dl/android/maven2/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.jar
       - https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.jar
       - https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.pom
       - https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.0.5/kotlinx-metadata-jvm-0.0.5.jar
     Required by:
         project :app > androidx.room:room-compiler:2.1.0-alpha05

Yes it was my mistake. I merged a dependency upgrade PR which was failing. Will check and revert it. But if you can fix the build, it'll be better

I'll investigate this tonight. I'm also not sure why #1294 was approved and merged.
Converting to List Adapter provides animated changes for free.

That's what I mentioned in the PR

@iamareebjamal I've updated the PR to include the Room library fix.

There are many changes to make in the PR before it becomes final. I'll review it tomorrow
Remind me again if I forget

@iamareebjamal Please review.

@iamareebjamal Reminder. Please review when you can.

My laptop is broken. @liveHarshit Can you please review it

@iamareebjamal Oh. All the best with the repair. I'll try and help review more PRs too help reduce the amount of work for you and other maintainers.

@liveHarshit I have reverted the changes you asked for. Does everything look good now?

@liveHarshit Updated PR with latest changes in dev branch.

@liveHarshit Updated the PR with latest changes again.

@iamareebjamal Can this be merged now?

Create a new issue mentioning this PR to polish the implementation where I'll mention the nitpick

@iamareebjamal Alright, on it now.


No grid is shown when editing a config file

PR: https://github.com/rockmelonqa/rockmelonqa-ide/pull/216


VSCode SEARCH cannot work with regexp "[a-zA-Z][\n\r]{"

Issue Type
Bug
Description
It just is a VSCode specific issue.
Reproduce it that:

create a text file
type some characters, for example:
abcd
{
Search (open with Ctrl + Shift + F) with regular expression [a-zA-Z][\n\r]\{
You can find that:

VS Code Info
VS Code version: Code 1.20.1 (f88bbf9137d24d36d968ea6b2911786bfe103002, 2018-02-13T15:34:36.336Z)
OS version: Windows_NT x64 10.0.16299
Extensions (1)

Extension
Author (truncated)
Version

csharp
ms-
1.14.0

Reproduces without extensions

You are right, but this is a feature request in https://github.com/Microsoft/vscode/issues/13155


Publish manifests automatically when released

Automates attaching of manifests during release pipeline

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 29.696%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2966

Relevant Lines:
9988

💛  - Coveralls


resources/tools: Expand with more tools

Expand on Security Tools with more tools related to AppSec and maybe some resources

To old, closing :)


Browser theme infobar shows even though there are no settings available to change

You can see in the image above the "Dark theme is enabled by default..." toolbar that makes sense in the browser DevTools but not the Code extension.

In the latest roll of DevTools the dark theme InfoBar tip is removed, so I'm closing this issue. The bit about settings being unavailable should be fixed with #45


account for possible step application failure during rebase

hi @marijnh 👋
we intermittently see steps which can be applied cleanly locally, but induce an error when rebased on top of remote confirmed steps.
i am aware that maybeStep() possibly throwing is by design. locally i'm seeing desirable behavior with the patch here, which simply ignores the failed steps altogether.
things i'm unsure of:

does more need to be done to purge these failed steps from any other unconfirmed steps that may be present?
is there something i could be doing outside of the collab plugin to make these steps more invertable/rebasable?

i haven't been able to isolate a simplified repro case for this error yet but i'm happy to describe the scenario in more detail if it would be helpful. the short version is (unsurprisingly), 'its complicated' :upside_down_face:
fwiw, with the same code, we're seeing this error orders of magnitude more frequently in<EMAIL_ADDRESS>than<EMAIL_ADDRESS>

we intermittently see steps which can be applied cleanly locally, but induce an error when rebased on top of remote confirmed steps.

This suggests there is a problem in the way you are collecting or rebasing these steps. This patch is definitely not the solution. Code that silently swallows errors here is not something I'm going to merge.


Adding Scalpel Module to sample app

Thought this would be a cool addition. Let me know what you think!

Thanks for contributing!
Scalpel was one of my top modules which should be added in the next release
Added some comments on your PR.


User defined path shortcuts defined in tsconfig.json are not resolved in transpiled code

Hi there!
I am using shortcut paths in my tsconfig.json file. For example:
{
  "compilerOptions": {
    ...
    "paths": {
      "@app/*": ["./src/*"],
    }
  }
}

Paths are not expanded/resolved in transpiled code. This is a known feature/bug of Typescript https://github.com/microsoft/TypeScript/issues/26722
There are a few workarounds as discussed in the issue above. One suggestion is to resolve the problem at the level of the output bundler (e.g. webpack and, in our case, this plugin).
I was just wondering if this plugin could resolve shortcuts before/after transpiling the code.
thanks

Any news on adding this feature?
Thanks :)

Here's a quick fork off v1.1.7  to resolve this
npm install<EMAIL_ADDRESS>

any news on this issue?

Same issue with baseUrl.
My absolute imports won't work.
For now I'll switch to relative imports because it's a small project.
But would be nice to have something more robust here.

If you are using serverless-webpack (installed by default if you used sls create --template aws-nodejs-typescript)
In your webpack.config.js
// webpack.config.js
resolve: {
  extensions: ['.ts'],
  alias: {
    '@app': path.resolve(__dirname, './src'),
  },
},

// tsconfig.json
"baseUrl": "./src/",
"paths": {
    "@app/*": ["./*"]
},

Found in this thread

Will this feature be implemented?

Sent a PR implementing this is #241 ... but like my other PRs to this repo, there is no sign of it ever getting merged in...

Would be super useful to have this! +1


How to read HTTP response headers?

What's the proper way to combine reading a PDF with HTTP URL source via getDocument and reading last-modified headers for instance without firing an additional request?

Sorry, but it's unfortunately quite difficult to understand exactly what you're asking about here.
Please note that the PDF.js library has no functionality to read arbitrary HTTP headers, since that's not really relevant to its intended use-case (which is parsing and rendering PDF documents).
When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md and please also note https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

Here is a concrete example: use pdf.js to render page thumbnails, cache the page thumbnails on the client, until the PDF changes. Do I need to do a separate HTTP HEAD request to check that the PDF has changed (for instance with 'last-modified' response header) or is there a way to retrieve this information from the return value of getDocument?

As alluded to above, the PDF.js API does not expose any way to access HTTP headers.

OK! That answers my question. I will have to work around it somehow.

One thing that might help is the PDF document ID, since that should be unique to each PDF document.[1]
That data can be accessed on the PDFDocumentProxy-instance that's available from the getDocument-call; please see https://github.com/mozilla/pdf.js/blob/234aa9a50e33599c28877ac3b5fff3542c55cd61/src/display/api.js#L731-L739

[1] Correctly implemented PDF creation software should be be generating a unique ID.


Automation of CSR Interaction (SPIKE)

Background
Currently, notifications are sent out when a certificate is due to be renewed. The next logical step in the overall SSL certificate renewal process is to handle the CSRs that are sent to us from the users and use them to interact with Gandi.
Investigation
This SPIKE will be to look into ways in which we can automate those process, the main points to investigate being:

Can Gandi's API do everything we'll need it to do?
In what way are we going to obtain the CSRs from our users?
Can we validate the CSR to reduce risk of failed attempts?
Can this process be fully automated, or will there be a need for manual intervention?
What will the flow look like should something go wrong?

Spike Outcome
Spike Document

Spike outcome attached.


Can't display applicatoins or bookmarks, constantly shows loading icon

Logged in with 2 week duration and 1 year. Page keeps loading and apps doesn't show.
No bookmarks either.
I was thinking of cache so used private window, still couldn't load.
Version 2.0, portainer stack.

Any errors in:

browser console
container logs?

Any errors in:
* browser console

* container logs?

Logs look ok:
[2021-11-15 15:00:39.477 UTC+0] [INFO] Executing pending migrations

[2021-11-15 15:00:39.531 UTC+0] [INFO] Connected to database

[2021-11-15 15:00:39.537 UTC+0] [INFO] Socket: listen

[2021-11-15 15:00:39.537 UTC+0] [INFO] Server is running on port 5005 in production mode

Console Error:
XHRGEThttps://home.example.com/api/categories
[HTTP/2 401 Unauthorized 64ms]

XHRGEThttps://home.example.com/api/apps

That would mean I can no longer use nginx basic auth with it right? Currently it is implemented with nginxproxymanager.

Alright boys no more nginx basic auth for your flame.


Default url parsing logic does not enforce trailing slash or not

If you have actionIndex in SiteController, site/index and site/index/ both work. But if you create a url rule, e.g.:
'foo/<action:\w+>' => 'site/<action>'
then only foo/index will work, because of #1807.

duplicate of #7670?

No. site/index/ should not work either, for the same reasons as #1807, but that would break BC.


Boot from ipxe failed

When I finished deploy the RackHD server by following https://github.com/RackHD/RackHD/blob/master/example/README.md. And it can demo successfully.Then I change the VM the network Adapter to Brideged Adapter.Connect it to Dell Server(R710). It gets stuck in "Try to free Memory without Signature".Just like the picture show.
https://goo.gl/photos/hSecwSJQu8aQdnmz7

There's an internal/NAT adapter which gives the RackHD VM access to the internet through your local machine, and a second adapter which is connect to the "closed-net" private host-only network. If you want to connect the RackHD instance to a local network connection to support PXE booting on that network connection, you'll need to update the second NIC from closed-net to bridged.
Given the picture showing a system PXE booting, it looks like you've got that connected successfully, but wanted to make sure.
The Try to free Memory without Signature message is coming from the embedded Broadcom PXE code - the ipxe development team has seen this issue in the past as well, and it seems to be an issue with the broadcom iPXE stack loading of the network provided iPXE. See

http://lists.ipxe.org/pipermail/ipxe-devel/2012-August/001766.html
http://lists.ipxe.org/pipermail/ipxe-devel/2012-August/001789.html
for some relevant messages if you're interested in the low-level details.

We haven't explicitly tested the Dell R710, but we have seen these kinds of issues before with embedded PXE in the NIC and memory constraints when loading PXE.
Possible work-arounds to this issue are using a different version of iPXE for your default setup. We built and provide iPXE from the ansible-based mechanisms in https://github.com/RackHD/on-imagebuilder. Right now it's set to build from the committish: 28149d30f56113f1047a7a348a67bd3e854fe4c0 from ipxe.org, you might try changing that value to "master" in https://github.com/RackHD/on-imagebuilder/blob/master/vars/ipxe.yml, building iPXE, and seeing if the resulting file works more effectively.

@heckj  I already changed the second NIC from closed-net to bridged.I am sure the server can get the service from the RackHD server.Cause I have tested a VM with the NIC Adapter is Brideged Adapter , and that VM can demo normally.
And I am trying to choose another server(DELL R610) to test , this error are gone.But it get stuck in another place.It doesn't look like a error You can get the information from the picture.
https://goo.gl/photos/4BWb6Sid4QoGUU13A

I'm much less sure what's hanging there, or if it is hanging. It looks like the initrd kernel isn't completing its boot up on the R610. We have used R610's internally, and know they're working (although if you go to install ESXi on them, they need a custom driver set).
You may have run into the same issue @stevemendes did when we was trying to boot and load a Cisco UCS setup. We provided him with microkernels built on physical machines, and it booted right though. Something in our microkernel building process may not (haven't verified) be including all relevant drivers when created in VM's or using cloud resources.
I have older microkernels in a zip file, let me get those available for you to try and let's see if those resolve the issue for you. I'll follow up in comment here with a dropbox link where you can download a zip file to try.

Hey @Gary15, I've got the older microkernel files in a zip file at https://www.dropbox.com/s/ph372nd29fw320s/old_microkernel.zip?dl=0 that you can download. Replace the files in your VM at /home/vagrant/src/on-http/static/http/common/ with these files, and let's see if that resolves the issue.
I opened a bug specifically for this issue (assuming it works for you) - but also because we saw this with another system and I didn't open it earlier: #57 .
Hopefully this helps resolve - please let me know.

Thanks, @heckj .The microkernel worked successfully. The discovery task can be done.I am trying to write the json file to install the OS. Any suggestion would be grateful.

@Gary15 @heckj  I see the issue 'Try to free Memory without Signature". I also face this before, a possiable alternate way is to use undionly.kpxe. just rename undionly.kpxe to monorail.ipxe than overwrite monorail.ipxe in directory /var/renasar/on-tftp/static/tftp/, then have a try

Given that the alternative worked, I'll close our this issue as a functional a duplicate of #57.
For the workflow, there's examples in the code base that are great to follow, and if you want something to "just install directly when it first finds a machine", then I'd recommend looking at the example in the VM based demo that installs CentOS and make some minor tweaks to install your preferred OS. In that case, you'd want to have both a sku definition (https://github.com/RackHD/RackHD/blob/master/example/samples/virtualbox_sku.json) and a workflow that it invokes when the SKU is identified (https://github.com/RackHD/RackHD/blob/master/example/samples/virtualbox_install_coreos.json)


Map initialization through initializer_list

Feature request: the ability to define maps via initializer lists.
e.g.
Map<String, String> m = {
    {"Example key", "example value"},
//...
}`

...that was more straightforward than I expected


HP Procurve connector, ANSI escape codes in the output

When I was working on a connector for HP Procurve device, initially in order to handle annoying login banner asking to press a key to actually get to a CLI prompt, but despite the fact that the banner was handled properly with custom login(), read_until_prompt() hadn't matched the prompt pattern. The issue was caused by the presence of ANSI escape codes in the output. I managed to workaround it by incorporating strip_ansi_escape_codes() function from
https://github.com/ktbyers/netmiko/blob/0aa11265ea962f743f0ffa97d35ed4fa9aa0837d/netmiko/base_connection.py#L1777 in custom read_until_prompt() within my connector.
Are you interested in a PR which includes connector for HP Procurve in the code base and if so maybe there is more elegant way to handle the issue with escape codes?

Hi @antonalekseev - My apologies for being MIA for a while.  I am curious if you have found a "more elegant way".  I've also been tracking news of netmiko of their new version; not sure how that might better/affect.  Please let me know.
As a next step you are welcome to issue the PR and I will review it to see what it is doing.


Use logic in swift-syntax to translate sequential edits to concurrent edits

Depends on https://github.com/apple/swift-syntax/pull/2527
Turns out that translation of sequential to concurrent edits is not trivial to implement. Use the logic in swift-syntax that is already well-tested.
rdar://123880677

https://github.com/apple/swift-syntax/pull/2527
@swift-ci Please test


Added constants for storage permissions.

Added constants for storage permissions.

Why closed?

@Dimon4eg Looks like this was a duplicate of https://github.com/heroiclabs/nakama/pull/303.

Oh I see

I'm trying to implement #181 . I just PR'ed wrong commit .


Add support for editing custom RPC servers

Closes #3409

Some feedback. Also:

Add Expanse chain
Swipe to edit
Tap Edit
Tap Save Network
Tap Cancel (for the warning)

Expected

Warning closes, back to editing

Observed

Pop up with error "No blockchain explorer URL provided"

Refer to #3421 for resolution.

Added a few commits and force pushed after rebase master.
@eviltofu can you help to squash the 4 commits into one?


libphal: Add sbe halt state handling for threadStopProc chipop

Sbe stop instruction chip-op is reporting error during sbe halt state.
based on sbe  design direction in the power-off/error recovery path
If the secondary SBE is in halt state, issue sbe  hreset to get sbe
operational state to run chipop.
Tested: verified in driver verification test

Looks good


Added README and other md docs

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   83.02%   83.02%
=======================================
  Files          27       27
  Lines         707      707
=======================================
  Hits          587      587
  Misses        104      104
  Partials       16       16

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6c9590...484b4c2. Read the comment docs.


Reconnection

low rent reconnection logic; enhancements will include multiple server support and back off

I'm just gonna add a quick test in to make sure it runs.

Please see this pull request instead https://github.com/digital-science/baton/pull/8


[Bug]: CohereForAI/c4ai-command-r-plus KeyError: 'model.layers.5.self_attn.k_norm.weight'

Your current environment
Collecting environment information...

Steps to reproduce:
pip install 'git+https://github.com/huggingface/transformers.git'
pip install vllm
python3 -u -m vllm.entrypoints.openai.api_server --host <IP_ADDRESS> --model CohereForAI/c4ai-command-r-plus --tensor-parallel-size 4 --load-format safetensors

Result:
(RayWorkerVllm pid=427167) INFO 04-11 17:19:20 pynccl_utils.py:45] vLLM is using nccl==2.18.1 [repeated 2x across cluster]
Traceback (most recent call last):
  File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/entrypoints/openai/api_server.py", line 157, in <module>
    engine = AsyncLLMEngine.from_engine_args(
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/engine/async_llm_engine.py", line 348, in from_engine_args
    engine = cls(
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/engine/async_llm_engine.py", line 311, in __init__
    self.engine = self._init_engine(*args, **kwargs)
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/engine/async_llm_engine.py", line 422, in _init_engine
    return engine_class(*args, **kwargs)
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/engine/llm_engine.py", line 110, in __init__
    self.model_executor = executor_class(model_config, cache_config,
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/executor/ray_gpu_executor.py", line 62, in __init__
    self._init_workers_ray(placement_group)
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/executor/ray_gpu_executor.py", line 192, in _init_workers_ray
    self._run_workers(
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/executor/ray_gpu_executor.py", line 324, in _run_workers
    driver_worker_output = getattr(self.driver_worker,
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/worker/worker.py", line 107, in load_model
    self.model_runner.load_model()
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/worker/model_runner.py", line 95, in load_model
    self.model = get_model(
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/model_executor/model_loader.py", line 101, in get_model
    model.load_weights(model_config.model, model_config.download_dir,
  File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/model_executor/models/commandr.py", line 325, in load_weights
    param = params_dict[name]
KeyError: 'model.layers.5.self_attn.k_norm.weight'
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44] Error executing method load_model. This might cause deadlock in distributed execution.
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44] Traceback (most recent call last):
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]   File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/engine/ray_utils.py", line 37, in execute_method
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]     return executor(*args, **kwargs)
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]   File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/worker/worker.py", line 107, in load_model
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]     self.model_runner.load_model()
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]   File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/worker/model_runner.py", line 95, in load_model
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]     self.model = get_model(
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]   File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/model_executor/model_loader.py", line 101, in get_model
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]     model.load_weights(model_config.model, model_config.download_dir,
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]   File "/home/sohail.rajabi/venv_scratch/lib64/python3.9/site-packages/vllm/model_executor/models/commandr.py", line 325, in load_weights
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44]     param = params_dict[name]
(RayWorkerVllm pid=426596) ERROR 04-11 17:19:59 ray_utils.py:44] KeyError: 'model.layers.5.self_attn.k_norm.weight'

pip install 'git+https://github.com/vllm-project/vllm.git'

I also encountered the same problem

I also encountered the same problem

我用源码安装，会出现pyproject.toml的相关错误，你试过吗

I also encountered the same problem

我用源码安装，会出现pyproject.toml的相关错误，你试过吗

正在装，还没装完， 暂时还没碰到这个问题

I also encountered the same problem

我用源码安装，会出现pyproject.toml的相关错误，你试过吗

我用源码安装解决了问题，没遇到这个错误，可能是环境没配好吧

Closing this as it has been in the main branch.


Few fixes to work with Centos 7

I have struggled with errors cause by those lines so I tought I would share as a pull request.
First one is about java when java executable is not in the path.
Second one is return code 4 when deleting non existing file with rm -Rf

I am not seeing an issue with the java path on centos 7.0 and I've been testing fairly heavily over the last month.

@filipgorny The exec resources are no long present in jenkins::plugin.  I've been unable to reproduce java path issues on el7 so I'm going to close out this PR.  If you are still able to reproduce this, please let us know.


58 move to src layout

This is a really big layout shift, motivated by the updates to Hatch.
Hatch can now create installable apps, that could be helpful for managing installation on
windows and avoiding console horror.
Installation of a python package (even if it is an app rather than library)
makes using cli commands simpler.

Moves all modules to hatch src layout
Ignore blame for src layout shift

closes #58