Failed to load the native TensorFlow runtime

Traceback (most recent call last):
File "C:\Users\Asus\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 70, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in
import tensorflow as tf
File "C:\Users\Asus\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_init_.py", line 38, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\Asus\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 85, in
raise ImportError(
ImportError: Traceback (most recent call last):
File "C:\Users\Asus\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 70, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.

The infamous DLL load failed error!
This error typically occurs when there's an issue with the TensorFlow installation or the underlying system configuration. Here are some common causes and potential solutions:
1.Missing or corrupted DLL files: TensorFlow relies on several DLL files, which might be missing or corrupted. Try reinstalling TensorFlow using pip.
2.Incompatible Python version: Ensure you're using a compatible Python version with TensorFlow. TensorFlow supports Python 3.7-3.10. You're using Python 3.11, which might not be supported. Try downgrading to a compatible version.
3.CUDA and cuDNN versions: If you're using a GPU, ensure you have the correct versions of CUDA and cuDNN installed. TensorFlow requires specific versions of these libraries. Check the TensorFlow installation guide for more information.
4.Visual Studio redistributable package: TensorFlow requires the Microsoft Visual Studio redistributable package to be installed. You can download it from the official Microsoft website.
5.System configuration issues: Sometimes, system configuration issues, such as corrupted registry entries or conflicting software installations, can cause DLL load failures. Try resetting your system or seeking help from a system administrator.
To troubleshoot further, you can try the following:
1.Check the TensorFlow installation logs for any errors.
2.Verify that the tensorflow package is installed correctly by running pip show tensorflow.
3.Try importing TensorFlow in a new Python environment or a different Python version to isolate the issue.
4.If you're using a GPU, try running TensorFlow on CPU-only mode by setting the CUDA_VISIBLE_DEVICES environment variable to an empty string.
I think this helpful for you

@lilisrachman26,
Could you please provide the tensorflow and the compatible version which you are trying to install. Also there are at least 3 possible scenarios:
- You need to install the MSVC 2019 redistributable
- Your CPU does not support AVX2 instructions
- Your CPU/Python is on 32 bits
- There is a library that is in a different location/not installed on your system that cannot be loaded.

https://github.com/tensorflow/tensorflow/issues/61887
Thank you!


Add v2.0.0-beta release notes

Add release notes for v2.0.0-beta release.

lgtm

Addressed comments. Unit test flake, will force merge.


HTTP cache not working in some cases

I have seen 2 people now having trouble with HTTP cache in combination with scrapy-zyte-api.
They set HTTPCACHE_ENABLED to True, and they get NotSupported("Response content isn't text").
I could not reproduce the issue myself with the tutorial spider, so I am not sure why it happens.
If someone affected by this issue can provide a minimal, reproducible example, that would be great!

I got someone else last week reporting the same issue. I could not reproduce it either.
I wonder if it is a simple matter of getting a random empty body response due to an undetected ban. The default cache policy will not ignore an HTTP 200 response even if its body is empty, so it will be cached and fail as reported when trying to use response.text (which is a separate Scrapy issue, empty responses should be considered text responses).
In those cases, creating a custom cache policy that ignores empty responses should be relatively easy (subclass the DummyPolicy, override should_cache_response).

One thing that does happen is that responses from the cache do not use the original response class, so you cannot access raw_api_response from cached responses.

@kmike @wRAR I see 2 possible approaches here:

Modify upstream Scrapy to support custom response classes declaring how they are serialized.
Implement a custom file system storage class for scrapy-zyte-api, to be configured as HTTPCACHE_STORAGE.

The first approach seems the best to me, but I am not 100% sure how to best implement such an API in a way that plays well with the existing storage classes (DBM and file system) in a backward-compatible way.
The second approach would be easier to implement, and cover most practical scenarios, but make corner case scenarios rather difficult (e.g. supporting additional Response classes beyond those from scrapy-zyte-api, or storing the cache somewhere other than the file system).

@Gallaecio I'm hitting this exact issue right now, and would love to know if going with option 2 is the preferred option for now. If yes, where to start? i see the raw_api_response is not cached here, so it should be straightforward? https://github.com/scrapy/scrapy/blob/67ab8d4650c1e9212c9508803c7b5265e166cbaa/scrapy/extensions/httpcache.py#L371-L382

Yes, you could implement option 2 on your own, subclass FilesystemCacheStorage, extend that method to include the serialization of raw_api_response, and also override retrieve_response to build a scrapy_zyte_api.responses.ZyteAPITextResponse that includes it, instead of a Response that does not. Then you configure your custom class as the HTTPCACHE_STORAGE backend.


Bug/fix error variants

fixed components that had the error text not working
updated snapshots
fixed test
changed false ternary values to undefined

Can you add tests that make sure that, if this happens again, the tests will pick it up?


⚠ Integs (redirect) has degraded performance

In c80de39, Integs (redirect) (https://integs.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1070 ms

Resolved: Integs (redirect) performance has improved in 13b91c1 after 10 minutes.


plugins.*.package should be nullable, to use package from system.

Discussed in https://github.com/nix-community/nixvim/discussions/1969

Originally posted by niksingh710 August  2, 2024
  plugins = {
    ltex-extra = {
      enable = true;
      # This has been made null so that nvix uses system latex package and nix run becomes faster (no downloads for test or build)
      # vimplugin-ltex_extra.nvim
      package = null;
    };
    vimtex.enable = true;
  };

I am trying this to make ltex-extra use the ltex-extra package that is available in my system.
but this throws an error
error: A definition for option `plugins.ltex-extra.package' is not of type `package'. Definition values:
       - In `/nix/store/fdn1lw1j5wlmpqxixr92hy8nvx7igshf-lang/tex.nix': null

My understanding is that we don't allow null in these package options because we need to be able to add something to neovim's rtp (via extraPlugins).
I don't know if there's a way to do this by getting system installed packages from the PATH, so this may be a WONTFIX.
@traxys @GaetanLepage Do you have any insight into this?

I don't know what such a feature would look like indeed, maybe we could allow strings, and this would add the corrsponding path to the rtp?

Perhaps just making the option nullable is enough, but we'd have to document clearly that users need to manually edit their rtp for the plugin to work.
I expect many users would wrongly expect to be able to just add vimPlugins.* to their home.packages or equivalent.
Instead they could either add to their rtp via extraConfigLuaPre or by adding their own package to extraPlugins... Although doing that would be no different from setting package.

Enabling null should be an option to set up a conditional configuration for nixd, statix, and deadnix such that the Language Server Protocol (LSP) only activates them if they are present on the system.
and if the user is explicitly making a package null then they should know the workaround.
Not only for lsp packages but others too.

Most package options in nixvim are nullable already; anywhere that the program can be loaded from the PATH.
It should only be plugin-related package options that aren't, because they need to be added to the rtp to be loaded by neovim.

Can Nixvim expose an attribute to set runtimepath via user input? Alternatively, can it read a specific directory where users can point to their packages so that they can be considered by plugins?

When you have a plugin package, you can simply add that package to the extraPlugins list. This will make the package available on the rtp.
If you want some other arbitrary path on the rtp, you can use extraConfigLua like so:
extraConfigLua= ''
  vim.opt.runtimepath:prepend('/some/random/path')
'';

Maybe it would be useful for extraPlugins to also accept paths/strings? Or to have some other way to configure the rtp from a nix option. However it'd only be a thin wrapper over the lua interface and I think the use-case is fairly niche?


When trying to build with SD_HIPBLAS I get a CUDA compilation errors that gfx1100 is not a supported architecture

Following the build instructions in the readme,
cmake .. -G "Ninja" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DSD_HIPBLAS=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS=gfx1100
cmake --build . --config Release -j 32

I get several failures that look just like this.
[1/74] Building HIP object ggml/src/CMakeFiles/ggml.dir/ggml-cuda/arange.cu.o
FAILED: ggml/src/CMakeFiles/ggml.dir/ggml-cuda/arange.cu.o
ccache /opt/rocm/lib/llvm/bin/clang++  -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DGGML_MAX_NAME=128 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DGGML_USE_HIPBLAS -DGGML_USE_OPENMP -DK_QUANTS_PER_ITERATION=2 -DSD_USE_HIPBLAS -DUSE_PROF_API=1 -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D__HIP_PLATFORM_AMD__=1 -I/home/user/p/stable-diffusion.cpp/ggml/src/../include -I/home/user/p/stable-diffusion.cpp/ggml/src/. -I/opt/rocm/include --offload-arch=gfx1100 -o ggml/src/CMakeFiles/ggml.dir/ggml-cuda/arange.cu.o  -c /home/user/p/stable-diffusion.cpp/ggml/src/ggml-cuda/arange.cu
clang++: error: unsupported CUDA gpu architecture: gfx1100

I pulled ggml separately at the same commit pinned in the repo, it also doesn't build, with the same errors. switching to master ggml builds completely, but there must have been some breaking changes, as when I try using it with the latest here, there are other compile errors.
Any tips or pointers for how I might fix this? I'm willing, but I've poked at this for a few hours now and haven't made any progress.

hipconfig:
% hipconfig
HIP version: 6.2.41134-0

==hipconfig
HIP_PATH           :/opt/rocm
ROCM_PATH          :/opt/rocm
HIP_COMPILER       :clang
HIP_PLATFORM       :amd
HIP_RUNTIME        :rocclr
CPP_CONFIG         : -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/opt/rocm/include -I/include

==hip-clang
HIP_CLANG_PATH     :/opt/rocm/lib/llvm/bin
clang version 18.0.0git (/srcdest/rocm-llvm 77cf9ad00e298ed06e06aec0f81009510f545714)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /opt/rocm/lib/llvm/bin
AOMP-18.0-12 (http://github.com/ROCm-Developer-Tools/aomp):
 Source ID:18.0-12-ce1873ac686bb90ddec72bb99889a4e80e2de382
  LLVM version 18.0.0git
  Optimized build with assertions.
  Default target: x86_64-pc-linux-gnu
  Host CPU: znver3

  Registered Targets:
    amdgcn  - AMD GCN GPUs
    nvptx   - NVIDIA PTX 32-bit
    nvptx64 - NVIDIA PTX 64-bit
    r600    - AMD GPUs HD2XXX-HD6XXX
    x86     - 32-bit X86: Pentium-Pro and above
    x86-64  - 64-bit X86: EM64T and AMD64
hip-clang-cxxflags :
 -isystem "/opt/rocm/include" -O3
hip-clang-ldflags :
--driver-mode=g++ -L "/opt/rocm/lib" -lamdhip64 -O3 -L/opt/rocm/lib --hip-link

== Environment Variables
PATH =/home/user/p/ggml/.venv/bin:/home/user/.pyenv/shims:/home/user/.cargo/bin:/home/user/.local/bin:/home/user/.cargo/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/brlcad/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/usr/lib/rustup/bin

egrep: warning: egrep is obsolescent; using grep -E
CUDA_PATH=/opt/cuda

== Linux Kernel
Hostname      :
jamesmonroe
Linux jamesmonroe 6.11.8-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000 x86_64 GNU/Linux
LSB Version:	n/a
Distributor ID:	Arch
Description:	Arch Linux
Release:	rolling
Codename:	n/a

I sadly can't give any advice, other than that ROCm ended up being too much of a headache for me to work with too. I ended up just using the Vulkan backend, and I recommend that you do the same.

@lcarsos I don't know too much about the AMD architectures, but if you check out the sdcpp workflow, there is a rocm build (but only on windows). That's using the rocm 5.5 with gfx1100 too:
defines: '-G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DSD_HIPBLAS=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS="gfx1100;gfx1102;gfx1030" -DSD_BUILD_SHARED_LIBS=ON'
And there is my cmake file in my project, where the sdcpp versions are built with the workflow sucessfully.
I hope this helps.


feat: Add ability to squash builds

Trying to support an older version of buildah and podman proved too difficult. Instead we'll just run the build inside a container. From my own testing with the squash builds, when you run buildah/podman inside a container, the builds can be incredibly slow with all the multi-stages and mounts on the RUN instructions. However, activating squash (--layers=false) the build runs just as fast as normal. Activating the squash feature will by default not make use of any cache abilities.

Can some code get reused from building cached image, instead of having to update CLI version twice & having 2 same codes for determining recipe?

Can some code get reused from building cached image, instead of having to update CLI version twice & having 2 same codes for determining recipe?

Good idea. I'll work on that


Support automatically manage workloads after kmesh rollout

What would you like to be added:
We should not require workloads to be restarted after kmesh restarted.  So we may need to auto reload bpf maps after kmesh restarted, but currently some map update depending on kmesh cni.
Why is this needed:
Requiring workloads restart is not acceptable in production

/assign @kwb0523

A little bit further, we may need to pin bpf sys on node, so even during kmesh daemon upgrade, iit wonot influence  traffic flowing through kmesh

This will be in implemented in next release


RPC to query if a handle is valid

Wallet proxy helping with handle creation would be served well by not having to duplicate handle validation code.  Request to provide custom RPC endpoint that checks if a provided handle is available and allowed, using the handle utils validation and also if it's run out of suffixes. Needs only to respond with a boolean.
This will prevent round trips for the user and dApp developer and having to try to deal with error responses via the proxy.

Fixed with #1672


Missing icons in activity bar

VSCode Version: 1.22.2
OS Version: MacOS 10.13.5

Description:
I am experiencing the same issue as #40531.
Steps that do not work to resolve:

Reload window
Reboot computer

Steps that do resolve:

Right click on activity bar and select all

Reproduces without extensions: Yes

Can you please update your VS Code and try to reproduce it?

Will do

Closing for now.  If I see this happen again I'll reopen.


ovftool: init at 4.6.2 for x86_64-darwin

Description of changes

Followup on #289999 and #305609. Needed to change stdenv.cc.libcxx.cxxabi to stdenv.cc.libcxx.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Here's the diff from #289999:
diff --git a/pkgs/tools/virtualization/ovftool/default.nix b/pkgs/tools/virtualization/ovftool/default.nix
index 76df36a1288a..34312c412511 100644
--- a/pkgs/tools/virtualization/ovftool/default.nix
+++ b/pkgs/tools/virtualization/ovftool/default.nix
@@ -76,7 +76,7 @@ stdenv.mkDerivation {
   ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];

   postUnpack = ''
-    # The linux package wraps ofvtool.bin with ovftool. Wrapping
+    # The linux package wraps ovftool.bin with ovftool. Wrapping
     # below in installPhase.
     # Rename to ovftool on install for all systems to ovftool
     if [[ -f ovftool.bin ]]; then
@@ -127,6 +127,7 @@ stdenv.mkDerivation {
     # Place the binary and those dirs in libexec.
     install -m 755 -d "$out/libexec"
     install -m 755 -t "$out/libexec" ovftool
+    [ -f ovftool.bin ] && install -m 755 -t "$out/libexec" ovftool.bin
     install -m 644 -t "$out/libexec" icudt44l.dat

     # Install other libexec resources that need to be relative to the `ovftool`
@@ -171,7 +172,7 @@ stdenv.mkDerivation {

     # Patches for ovftool binary
     change_args+=(-change /usr/lib/libSystem.B.dylib ${darwin.Libsystem}/lib/libSystem.B.dylib)
-    change_args+=(-change /usr/lib/libc++.1.dylib ${stdenv.cc.libcxx.cxxabi}/lib/libc++.1.dylib)
+    change_args+=(-change /usr/lib/libc++.1.dylib ${stdenv.cc.libcxx}/lib/libc++.1.dylib)
     change_args+=(-change /usr/lib/libiconv.2.dylib ${libiconv}/lib/libiconv.2.dylib)
     change_args+=(-change /usr/lib/libxml2.2.dylib ${libxml2}/lib/libxml2.2.dylib)
     change_args+=(-change /usr/lib/libz.1.dylib ${zlib}/lib/libz.1.dylib)

Result of nixpkgs-review pr 307143 run on aarch64-darwin 1

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1622


about time format?

2016-09-03T06:41:06.169Z
i i need 2016-9-03
soruces date:2016-11-5 23:46:13 or 2016-11-5  but json generator is 2016-09-03T06:41:06.169Z
format
请问应该怎么做呀,我不想 正则出前面的。后面的不知道是啥 看不懂格式

Hello, sorry for late response!
Ok, maybe I will try to add format options, but the current format is a universal date and time format. Most program languages understand it.
If you need a specific format, you can do it by treating the data on your consumer application.
For example, in JavaScript you can do this:
let dt = '2016-09-03T06:41:06.169Z',
    notime = dt.split('T')[0]

Or anything that give you the needed format.

Hello again!
New update was pushed and now this plugin support date formats using moment.
README simple documentation was updated too and can help you to understand how it works.
Get the latest version and enjoy!
👍

thank


Remove usage of deprecated string-based API

String-based APIs were marked deprecated and replaced by SocketAddress-based APIs in https://github.com/ARMmbed/mbed-os/pull/11914.
This PR switches the example to the new API and removes the deprecated one.
To get this compile I updated mbed-os.lib version to 5.15.
This blocks https://github.com/ARMmbed/mbed-os/pull/11942

@AnttiKauppila , @adbridge , this PR is now updating the code to 5.15, please review.


profiling fails if the user does not have read permission on exectuable

At LLNL, a user has execute permission on the executable, but not read permission, so that
callstack unwind fails.
The tool should recognize this situation, and warn the user.

This repository has moved to GitLab, please continue this issue there.


Tensorflow build fails with -mavx512f

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Fedora 25
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): latest commit f58e6ce , happens with older versions as well (23caaa5, f48673b, 9a15e0a to only name a few)
Bazel version (if compiling from source): 0.4.5
CUDA/cuDNN version: none
CPU model and memory: XEON PHI 7250, 96GiB ram
Exact command to reproduce:
./configure
specify optimization flags: -mavx512
bazel  build --config=opt --verbose_failures //tensorflow/tools/pip_package:build_pip_package

Describe the problem
Building Tensorflow from source fails when avx512 instructions are activated.
After managing to compile most of the source the build fails somewhere in the eigen part of the code.
builderror.txt
Don't let yourself get thrown off by the "MKL" in some path names, its just the name of the virtualenv, for this report MKL was turned off in the configure.
See also similar Issue #9849

Also seems to be like this #7530.
@benoitsteiner, could you take a look?

I guess my issue is the same.
Build Log.txt
On 16.04.2 with GCC 7.1.0

I can confirm the same issue with latest master ( #1209491913def44650d6457c60a6e41d56de3306) on a Skylake Xeon CPU, using either -march=native or -mavx512f, with either GCC 6 or 7.

Seems possibly related to https://github.com/tensorflow/tensorflow/issues/12781 also.

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!


throwing an instance of 'dmlc::Error

terminate called after throwing an instance of 'dmlc::Error'
what():  [16:41:36] src/van.cc:229: Check failed: obj timeout (5 sec) to wait App 0 customer 0 ready at 0
terminate called after throwing an instance of 'dmlc::Error'
what():  [16:41:36] src/van.cc:229: Check failed: obj timeout (5 sec) to wait App 0 customer 0 ready at 0
Stack trace returned 7 entries:
[bt] (0) ./ps_test() [0x409add]
[bt] (1) ./ps_test() [0x40a3bb]
[bt] (2) ./ps_test() [0x42668f]
[bt] (3) ./ps_test() [0x4291f3]
[bt] (4) /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7fedfb86fc80]
[bt] (5) /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7fedfbb406ba]
[bt] (6) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fedfafd541d]
is timeout too small?

What commit are you using and would you mind sharing the steps to reproduce?

I  just  download  ps-lite and https://github.com/Zminghua/pserver-LR.git , and then follow the step complied . then run the test shell:
~/pserver-LR/test$ ./local.sh 1 1 ./ps_test
启动Worker rank = 0
[11:49:03] ..//ps-lite/include/dmlc/logging.h:277: [11:49:03] src/van.cc:229: Check failed: obj timeout (5 sec) to wait App 0 customer 0 ready at 0
Stack trace returned 7 entries:
[bt] (0) ./ps_test() [0x409add]
[bt] (1) ./ps_test() [0x40a3bb]
[bt] (2) ./ps_test() [0x42668f]
[bt] (3) ./ps_test() [0x4291f3]
[bt] (4) /home/liao/anaconda3/lib/libstdc++.so.6(+0xc8421) [0x7f669b094421]
[bt] (5) /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f669a6726ba]
[bt] (6) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f669a09f41d]
terminate called after throwing an instance of 'dmlc::Error'
what():  [11:49:03] src/van.cc:229: Check failed: obj timeout (5 sec) to wait App 0 customer 0 ready at 0
Stack trace returned 7 entries:
[bt] (0) ./ps_test() [0x409add]
[bt] (1) ./ps_test() [0x40a3bb]
[bt] (2) ./ps_test() [0x42668f]
[bt] (3) ./ps_test() [0x4291f3]
[bt] (4) /home/liao/anaconda3/lib/libstdc++.so.6(+0xc8421) [0x7f669b094421]
[bt] (5) /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f669a6726ba]
[bt] (6) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f669a09f41d]

I meet the same error, have you solve this problem, if yes I am appreciate for your sharing ~

you should change some code in test.cpp like this:
 // start system  Start();   StartServer();  // run worker nodes  RunWorker();


testing blync

Blync Deploy!
The following files were deployed

courses/javascript-primer/01-syntax/01-variables-i/body.md


Using TypedBody with assertEqual in Nest.js

Question
I am attempting to use TypedBody with assertEqual instead of the default assert in a Nest.js application. Here's what I tried:
@TypedRoute.Put()
    update(
        @TypedBody({
            type: "assert",
            assert: typia.assertEqual,
        })
        updateUserDto: IUpdateUserDto,
    )

However, this results in an error, as depicted in the following image:

How can I successfully achieve this? Thank you.

You can do it by one of two ways below:
1. Global way
Configure tsconfig.json like below:
{
  "compilerOptions": {
    "plugin": [
      {
        "transform": "@nestia/core/lib/transform",
        "validate": "assertEquals",
        "stringify": "assert"
      }
    ]
  }
}

2. Individual way
If you want to configure it individually, call createAssertEqual function instead.
@TypedBody({
    type: "assert",
    assert: typia.createAssertEqual<IUpdateUserDto>(),
})


Change link because rawgit has shut down

See notice: https://rawgit.com/

Hey @josephrocca,
thanks for letting me know. This repo is discontinued, but I've updated the link over on the active one.

Ah okay, no worries! Might be worth adding a notice to the readme of this one.


Cannot read property 'outerHTML' of undefined

Started showing up in Bayes CT today, intermittently. Not sure if "intermittent" nature is just because CT hasn't been able to finish for a while.
scenery : pageload : /doc/accessibility.html : load
Uncaught TypeError: Cannot read property 'outerHTML' of undefined
TypeError: Cannot read property 'outerHTML' of undefined
    at docExample (https://bayes.colorado.edu/continuous-testing/snapshot-1530298297187/scenery/doc/accessibility.html:54:80)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1530298297187/scenery/doc/accessibility.html:284:7
Approximately 6/29/2018, 12:51:37 PM

This line:
var pdomHTMLBlock = $( display.domElement ).find( '.accessibility' )[ 0 ].outerHTML; // get the PDOM

because we no longer reference PDOM by className.

Fixed above. I also did a global search for references to "accessibility" className and couldn't find anymore. Closing.


TypeError: SPECTRA_Model.train() got an unexpected keyword argument 'label_factors'

hello, thanks for this great tool !!!
I run this tool with CPU successefully but failed with GPU:

#import packages
import numpy as np
import json
import scanpy as sc
from collections import OrderedDict
import scipy
import pandas as pd
import matplotlib.pyplot as plt

#spectra imports
import Spectra as spc
from Spectra import Spectra_util as spc_tl
from Spectra import K_est as kst
from Spectra import default_gene_sets

## GPU
from Spectra import Spectra_gpu as spc_gpu

#filter gene set annotation dict for genes contained in adata
my_annotations = spc_tl.check_gene_set_dictionary(
    adata,
    my_annotations,
    obs_key='Disease subtype2',
    global_key='global')

# fit the model (We will run this with only 2 epochs to decrease runtime in this tutorial)
model = spc_gpu.est_spectra(adata=adata,
    gene_set_dictionary=my_annotations,
    use_highly_variable=True,
    cell_type_key="Disease subtype2",
    use_weights=True,
    lam=0.1, # varies depending on data and gene sets, try between 0.5 and 0.001
    delta=0.001,
    kappa=None,
    rho=0.001,
    use_cell_types=True,
    n_top_vals=50,
    label_factors=True,
    overlap_threshold=0.2,
    clean_gs = True,
    min_gs_num = 3,
    num_epochs=500 #here running only 2 epochs for time reasons, we recommend 10,000 epochs for most datasets
)

and the running log:
CUDA Available:  True
Initializing model...
Building parameter set...
CUDA memory:  1.788089856
Beginning training...
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[<ipython-input-13-232fdfc3e7ab>](https://localhost:8080/#) in <cell line: 2>()
      1 # fit the model (We will run this with only 2 epochs to decrease runtime in this tutorial)
----> 2 model = spc_gpu.est_spectra(adata=adata,
      3     gene_set_dictionary=my_annotations,
      4     use_highly_variable=True,
      5     cell_type_key="Disease subtype2",

[/usr/local/lib/python3.10/dist-packages/Spectra/Spectra_gpu.py](https://localhost:8080/#) in est_spectra(adata, gene_set_dictionary, L, use_highly_variable, cell_type_key, use_weights, lam, delta, kappa, rho, use_cell_types, n_top_vals, filter_sets, **kwargs)
    886     spectra.initialize(gene_set_dictionary, word2id, X, init_scores)
    887     print("Beginning training...")
--> 888     spectra.train(X = X, labels = labels,**kwargs)
    889
    890     adata.uns["SPECTRA_factors"] = spectra.factors

TypeError: SPECTRA_Model.train() got an unexpected keyword argument 'label_factors'

Could you help with this problem ? Thanks !!!

Besides, after I remove those parameters not in the spc_gpu, I got the results.
However, there are no adata.uns['SPECTRA_overlap'],
So I do not konw the exact meanings of the index for adata.obsm['SPECTRA_cell_scores'], I do not where to find the info of index:
0-X-global-X-all_pyrimidine_synthesis
...
...
Thanks !!!


Triggering enterKeyPress on Blur event with Tags plugin

I'd like to trigger tags recognition when user just enters something in the textarea and moves on without pressing Enter.
Here what I do:
$('#my_tags_text').blur(function(){
$(this).trigger('enterKeyPress');
$(this).val('');
});
The problem is that after calling this the focus also moves back to #my_tags_text textarea, and there is no way I can select any other textarea after that. The focus stays with TextExt enabled textarea element forever.

See this patch for a working variant: https://github.com/alexgorbatchev/jquery-textext/issues/134#issuecomment-286739643


Investigate using HTML import for the list of categories.

This would drastically reduce the size of the main page and give us better caching behavior. Polyfill: http://webcomponents.org/polyfills/

HTML imports are not very well supported yet (or for the near future). 87d38f2039 is a workaround.


Ensure a PE that is initially underloaded never tries to transfer load.

With the new multiphase approach, as load thresholds change, it was possible
before that a PE which had accepted load became "overloaded" at a certain
threshold and would try to transfer load. This behavior could cause crashes
and/or hangs under the right circumstances and was never intended.

This is related to #2732, and fixes the crashes that occurred when using Kavitha's method for reproducing the issue. I also ran it on a long loop and couldn't get the hang to show up, so it may fix that as well too. The hang could have been due to underloaded PEs repeatedly transferring back and forth when they should never be transferring in the first place.

This looks mostly good, but does it impact the quality of the load balancing decisions? Perhaps an underloaded processor will try to move a small object off of itself when it gets a larger object from a different processor, which might make the final solution more equal.
If that indeed is the case, then perhaps we can instead check if there are any self migrates at the end and remove those from the migration.
This might not be a significant point at all, I'm not sure.

This looks mostly good, but does it impact the quality of the load balancing decisions? Perhaps an underloaded processor will try to move a small object off of itself when it gets a larger object from a different processor, which might make the final solution more equal.
If that indeed is the case, then perhaps we can instead check if there are any self migrates at the end and remove those from the migration.
This might not be a significant point at all, I'm not sure.

It should not affect quality at least from the perspective of the original algorithm. That algorithm did not allow for migrations off of an underloaded PE. I think the only reason we were running into this bug is because the algorithm allows for some very small tolerance for a PE to be slightly overloaded. But then with multiple phases, we must have been trying to migrate off of slightly overloaded, which probably just made other PEs "slightly overloaded" and then rinse and repeat. There was never any way for a PE to become more significantly overloaded.


Issue with creating the CFN stacks containing sagemaker inference endpoints

There is an issue with the cdk stack "GenerativeAiTxt2imgSagemakerStack" where the role gets created before inline policy is attached which leads to error:
The role 'arn:aws:iam::-----:role/GenerativeAiTxt2imgSagema-GenAISageMakerPolicyBF71-YHN96BM6FSVV' does not have BatchGetImage permission for the image: '763104351884.dkr.ecr.us-wes....
Had to change this in both the places:
generative_ai_txt2nlu_sagem...
generative_ai_txt2img_sagem...

.......
sts = iam.Policy(self, "sm-deploy-policy-sts",
statements=[iam.PolicyStatement(
effect=iam.Effect.ALLOW,
actions=[
"sts:AssumeRole"
],
resources=["*"]
)]
)

logs = iam.Policy(self, "sm-deploy-policy-logs",
statements=[iam.PolicyStatement(
effect=iam.Effect.ALLOW,
actions=[
"cloudwatch:PutMetricData",
"logs:CreateLogStream",
"logs:PutLogEvents",
"logs:CreateLogGroup",
"logs:DescribeLogStreams",
"ecr:GetAuthorizationToken"
],
resources=["*"]
)]
)

ecr = iam.Policy(self, "sm-deploy-policy-ecr",
statements=[iam.PolicyStatement(
effect=iam.Effect.ALLOW,
actions=[
"ecr:*",
],
resources=["*"]
)]
)

role.attach_inline_policy(sts)
role.attach_inline_policy(logs)
role.attach_inline_policy(ecr)

endpoint = SageMakerEndpointConstruct(self, "TXT2IMG",
.....
)
endpoint.node.add_dependency(sts)
endpoint.node.add_dependency(ecr)
endpoint.node.add_dependency(logs)

@arkaprava08 - Great suggestion. I've added it to the code. See:
https://github.com/aws-samples/generative-ai-sagemaker-cdk-demo/blob/main/stack/generative_ai_txt2nlu_sagemaker_stack.py
https://github.com/aws-samples/generative-ai-sagemaker-cdk-demo/blob/main/stack/generative_ai_txt2img_sagemaker_stack.py


env variables ES_HOME and ES_PATH_CONF lead to incorrect config being used and might even corrupt existing indizes

Embedded ES will not grab the wrong configuration like ports, data dirs or other stuff put into Settings when the environment variables ES_HOME and/or ES_PATH_CONF are set.
I discovered this on Windows were I recently installed a new ES6.5.4 via the new .msi-Installer.
Because I had an older (unzipped) "installation" before which indizes I wanted to upgrade, I supplied custom config and data dirs in the Installer.
Seems this installed global System/User wide environment variables ES_HOME and ES_PATH_CONF
pointing to the configured directories. I'm pretty sure that I did not set those environment vars myself.
The usual startup scripts on windows (and on a superficial inspection on *nix, too) use these environment vars to bootstrap all other config stuff.
Not sure if Linux package installation does the same thing, but other installers might?!
So when starting up the unzipped elastic instance and running the start script, (all) settings supplied by the builder will be useless, as the startup script even changes directory to the other installed instance pointed to by ES_HOME and also grabs all config from the config-dir in ES_PATH_CONF.
This might even corrupt existing indizes when running integration tests if the user is not aware of this behaviour and did not specify other names for test indizes.
As a fix I'd suggest to remove those preset (global/user wide) environment variables from the the forked process's environment, starting around here:
https://github.com/allegro/embedded-elasticsearch/blob/8e443c45ae0a192f1e447ad67303b121b2771c5a/core/src/main/java/pl/allegro/tech/embeddedelasticsearch/ElasticServer.java#L79
and add something like:
if (builder.environment().containsKey("ES_HOME")) {
    builder.environment().remove("ES_HOME");
}
if (builder.environment().containsKey("ES_PATH_CONF")) {
    builder.environment().remove("ES_PATH_CONF");
}

or put the "correct" pathes in there (like the just created/configured install and config directories).
Removing seems (as of now) not to be problematic for the zipped distributions, as those starter scripts do a fair amount of guessing the bootstrap directories themselves if they are not supplied.
At least you might want to insert a warning/comment about those environment variables into the README.md?

I added a PR with suggested quick fix. I admit I did not test it, as i have not build embedded-elastic from source yet ;-)


Cannot exclulde 'console' via autoImportFileExcludePatterns in VS Code

Bug Report
🔎 Search Terms
autoImportFileExcludePatterns, console
🕗 Version & Regression Information
At least in 1.79.2

This is the behavior in every version I tried, and I reviewed the FAQ for entries about autoImportFileExcludePatterns

⏯ Playground Link
N/A this is a VS Code issue
💻 Code
log

🙁 Actual behavior
When you type log VS Code suggests to import log from console despite it being blocklisted in autoImportFileExcludePatterns. See https://github.com/microsoft/TypeScript/issues/54135#issuecomment-1538603555
🙂 Expected behavior
The import is not suggested.

Can you try putting console.d.ts instead of console in those globs?

@andrewbranch using console.d.ts does lead to the expected behavior.

The glob-like patterns work exactly the same as tsconfig include/exclude patterns. This could be better documented, but I think it’s working as intended.


Return error instead of invalid JSON if response too large

With more data nodes than the buffer can fit, we got following ThingSet response:
Received Request (5 bytes): ?conf
:85 Content. { ... ,"Credit":0,"CustomMessage"}

ThingSet should always answer with valid JSON or an error message.
This commit fixes the issue. Now we get:
Received Request (5 bytes): ?conf
:E1 Response too large.

Strictly speaking this is good. However, I quite liked the previous characteristic where is would strip out the JSON value which is too large and still display the rest of the data. It was really useful in the case where I had a large buffer as a thingset object and when the buffer gets too full, I can still see the rest of the data in that category.

Unfortunately it didn't always strip out the entire JSON key/value pair, but sometimes only the value. This has to be avoided, I think. But we could think about a new error code "partial response" (not sure if this should be considered an error or a success though).
I suggest to merge and open an enhancement issue for the partial success return code.


cmd/operator: add http client timeout

This is the lightweight version of
https://github.com/coreos/prometheus-operator/pull/2154.
This should be good enough for http client based timeouts.

@squat trying to do that as we speak, not yet tested on my cluster.

hrm, setting a global timeout on the http client is apparently not good for watches :-(
E1122 14:27:46.344972       1 streamwatcher.go:109] Unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body)

closing this PR, as this is a dead-end unfortunately. We need per-use-case timeout settings.


Ipa replica build

build failed.

Codecov Report

Merging #104 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master    #104      +/-   ##
=========================================
- Coverage   18.14%   18.1%   -0.05%
=========================================
  Files          54      54
  Lines        2711    2717       +6
  Branches      303     305       +2
=========================================
  Hits          492     492
- Misses       2183    2189       +6
  Partials       36      36

Impacted Files
Coverage Δ

lib/python/treadmill_aws/bootstrap/aws_aliases.py
0% <ø> (ø)
:arrow_up:

lib/python/treadmill_aws/sproc/awscredential.py
0% <ø> (ø)
:arrow_up:

lib/python/treadmill_aws/sproc/ipa525.py
0% <ø> (ø)
:arrow_up:

lib/python/treadmill_aws/ipakeytab.py
0% <0%> (ø)
:arrow_up:

lib/python/treadmill_aws/sproc/ipakeytab.py
0% <0%> (ø)
:arrow_up:

lib/python/treadmill_aws/syscfg.py
0% <0%> (ø)
:arrow_up:

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 634be3d...ef8aea3. Read the comment docs.


Feature/yousong text

这个 PR 实现什么功能/修复什么问题:
多语言支持
是否需要 backport 到之前的 release 分支:
NONE
/area region
/area scheduler
/cc @zexi @yunionio/maintainer

Codecov Report

Merging #7487 into master will increase coverage by 1.24%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #7487      +/-   ##
=========================================
+ Coverage    5.91%   7.15%   +1.24%
=========================================
  Files         633     149     -484
  Lines      116316   22321   -93995
=========================================
- Hits         6880    1598    -5282
+ Misses     108894   20581   -88313
+ Partials      542     142     -400

Flag
Coverage Δ

#aFlag
7.15% <0.00%> (+1.24%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/appsrv/dispatcher/dispatcher.go
3.28% <0.00%> (ø)

pkg/appsrv/dispatcher/jointdispatcher.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/caller.go
25.00% <0.00%> (ø)

pkg/cloudcommon/db/db_dispatcher.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/fetch.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/project_resources.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/rbac.go
1.16% <0.00%> (ø)

pkg/httperrors/httperrors.go
0.00% <0.00%> (ø)

pkg/httperrors/i18n.go
0.00% <0.00%> (ø)

pkg/util/ansible/module.go

... and 466 more

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 27168fc...6b39de9. Read the comment docs.

进度
➜  ~/go/src/yunion.io/x/onecloud git:(feature/yousong-text) grep -F 'translation": ' locales/zh-CN/messages.gotext.json | wc -l
1358
➜  ~/go/src/yunion.io/x/onecloud git:(feature/yousong-text) grep -F 'translation": ""' locales/zh-CN/messages.gotext.json | wc -l
150

/lgtm
/approve


Support for calendar groups

Support operations for calendar groups:

Get
Create
Update
Delete

Reference: calendar groups

Done


modify logo as you rule,please check quickly!

modify logo as you rule,please check quickly!

请问被关掉的理由是什么呀？图片logo已经改了！！


Post-submit failures in Gold are disabled

This can be closed when https://bugs.chromium.org/p/skia/issues/detail?id=13072 is resolved and post-submit failures are re-enabled (see linked PR below).
This Gold bug is causing post-submit false negatives in testing.
Image triage is handled in pre-submit, so temporarily disabling the post-submit check should not disrupt the workflow.
https://flutter-gold.skia.org/ is being monitored during this temporary period to ensure the pre-submit workflow is in tact.
cc @mdebbar & @kjlubick

Switching to a P1 since it is un-breaking the tree, P0 is saved for that distinction. :)

This was fixed and the tree went green, but then new image changes were introduced and the issue returned.
Images changes from https://github.com/flutter/flutter/pull/100270 led to the same test cupertino.timer_picker_test.datetime.initial failing in post-submit again.

Build logs
Triage log

Other observations, this is only happening in one consistent image test, on the non-canvaskit web test shard.
This same test has had no issue on canvaskit web testing, MacOs, Linux, and Windows.

The passfail flag has been restored in #100576, will monitor the logs for a few days before enabling true post-submit failure.


Fix Watcher delay time when CD Server failure

This PR also fix lint warnings

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

could you bump version to 0.1.2


refractor bitmap serialize and deserialize refractor

Proposed changes
Issue Number: close #xxx
Problem summary
If bitmap column have too many rows, the stack will overflow, because of the big vector on stack.
So I refractor bitmap serialize and deserialize to fix this problem.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

rebase to trigger P0 again


xfreerdp cpu too high

Describe the bug
The CPU usage of Xfreerdp is higher than that of 1.0.x
Screenshots
same operation：

1.0.x:

2.x:

doubt that it is same operation, current xfreerdp utilizes gfx graphics pipeline and others, whereas 1.0 only had the legacy bitmap codecs
do not compare out of date versions (current 2.x release is 2.7.0)


Optimization of Data Augmentation and Latin Hypercube Sampling (LHS) for Improved Performance

In our current workflow, we generate 4000 samples using Latin Hypercube Sampling (LHS) for data augmentation. We are curious about the impact of sample size on model performance:

Have you observed any significant performance differences when increasing or decreasing the number of generated samples?

Is there an optimal sample size that has consistently produced the best results in your experience?

We are interested in learning from your insights or experiments regarding the relationship between sample size and performance in similar scenarios. Thank you!

Hello,
Thank you for showing interest in my code.
Regarding your question about performance comparisons based on the number of samples, we have conducted experiments on this topic, which are detailed in the experimental section of our paper. (A link will be provided once the paper is accepted. 😅 )
We conducted two types of experiments based on the sample size:

Comparison of AutoEncoder's reconstruction loss.

Performance improvement rate of DataTune.

These experiments were conducted on four MySQL workloads as described in the README.
The results showed that when the dataset size reached 5000 samples (1000 original samples + 4000 augmented samples), the AutoEncoder's reconstruction loss decreased the most. However, when the sample size exceeded this threshold, the loss started to increase again.
Consequently, the performance of DataTune also peaked at 5000 samples.
The reason for the increased reconstruction loss when the sample size exceeds 5500 is the finite amount of information present in the dataset and the limited learning capacity of the AutoEncoder. This indicates that, despite data augmentation, there is a ceiling to the meaningful information the model can capture, and exceeding this limit may lead to a degradation in the AutoEncoder's performance.


"Călăreți" is listed in the drop-down menu

Description:
"Călăreți" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Călăreți" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Călăreți, CĂLĂRAȘI (Tămădău Mare)".


Move federation out of core repo

 Issue by shashidharatd
Monday Sep 25, 2017 at 14:57 GMT
Originally opened as https://github.com/kubernetes/kubernetes/issues/52992

This issue is to track all the tasks associated with moving out federation related code out of core kubernetes repo into its own repo (k8s.io/federation).
Refer to the plan and discussion on moving out federation in this google doc
/cc @kubernetes/sig-federation-pr-reviews
/assign @irfanurrehman

 Comment by shashidharatd
Tuesday Oct 10, 2017 at 17:25 GMT

/sig multicluster

 Comment by tengqm
Sunday Oct 22, 2017 at 08:05 GMT

/cc

This task is complete, so closing.
/close


add Travis build to validate the codes

Add free travis pipeline to test terraform files automatically when merge to master branch.

validate all *.tf files (terraform validate)
check if all *.tf files are formatted (terraform fmt)
Check with terraform v0.8 and v0.9
auto check to avoid the issue as #10
if you like it, put the same to all community modules.

Repo wwner need to enable Travis integration in its Github setting
To get started with Travis CI #

You’ll need a GitHub account with admin access to at least one repository, and ideally you’ll already have a working build script that you run manually.

Sign in to Travis CI with your GitHub account, accepting the GitHub access permissions confirmation.

This is a great idea, but I'd prefer to use CircleCI

@antonbabenko & @tfhartmann
I have switched to CircleCI, please review and approve.

Thanks I'll take a look shortly!

On Aug 1, 2017, at 8:05 AM, Bill Wang<EMAIL_ADDRESS>wrote:
@antonbabenko & @tfhartmann
I have switched to CircleCI, please review and approve.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

The official 0.9.11 image took a while to drop, ( it was only released 6 days ago :/ ) after TF 0.9.11 was released and we needed one for testing, well probavly switch back to official now thst its been released!

On Aug 4, 2017, at 4:36 AM, Anton Babenko<EMAIL_ADDRESS>wrote:
@antonbabenko commented on this pull request.
In .circleci/config.yml:

@@ -0,0 +1,20 @@
+version: 2
+jobs:

build:
machine: true
@tfhartmann - there are official docker images for all recent Terraform versions including 0.9.11 - hashicorp/terraform:0.9.11. See all tags. Or do you do something special in your fitnesskeeper/terraform?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks @tfhartmann
several comments for your codes.
It is fine to run any v0.9.x terraform image. vadliate/fmt features are not updated frequently. Currently, v0.9.11 and v0.10.x is released already.
Secondly, terraform validate doesn't support sub-folders' validate. So I need to write the shell script to collect all sub-folders which include *.tf files and validate these sub folders and current folder.

@tfhartmann
The pipeline is ready, I got all green with circleci build (https://circleci.com/gh/BWITS/tf_aws_ecs/18?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link)
Please review and approve.

Awesome! LGTM


[Talk Proposal] IPFS from A to Y

About your talk
Title
IPFS from A to Y.
Languages

[X] 🇫🇷
[ ] 🇬🇧

Estimated duration
15min ~ 25min
Required knowledge level

Network
Cryptography
Blockchain
General Tech

[ ] None
[ ] None
[X] None
[X] None

[X] Beginner
[X] Beginner
[ ] Beginner
[ ] Beginner

[ ] Advanced
[ ] Advanced
[ ] Advanced
[ ] Advanced

[ ] Expert
[ ] Expert
[ ] Expert
[ ] Expert

Video recording

[ ] Yes (mandatory)
[X] Yes (if possible)
[ ] No

Description of your talk

Will specific technos be discussed / presented? If so, which ones?
ipfs.io the main goal
libp2p.io explaining dht and rough transport
multiformats.io protocols and cid, mainly to explain (what /ip4/<IP_ADDRESS>/udp/4001/quic/ipfs/bafFoo) and /ipfs/Qmfoo means.
ipld.io
Will you present a project? If so, is it yours / are you part of the team leading it or not? Is it an open-source project? A commercial project? At what stage of its realization is it? etc...
Yes, I'm a regular contributor and I'm not affiliated with protocols labs, ipfs is the tech backing filecoin (a blockchain CDN service (ipfs is the CDN part))
To what extent do you intend to explore the topics covered?
My goal is to give anyone the keys to understand ipfs what a file goes trough, The goal is not to be an expert of ipfs but what are the importants composants and why does this matters (like dht is not blockchain).

The 2 simple requirements are :

Knowing what is internet (a network of stuff) and how it can be used (sending stuff to other people) (I think anyone likely to see this talk already knows this).
And what is hashing and what does that implies (I can explain in one slide what is it fastly but that would be better if peoples have a rough understanding of it can be used and what does that implies for security (I think there is a huge gap beetween knowing that a one way function providing gibberish data in a predictable maner to this can be used in proof, security, handshakes, ...))

You can also provide a plan of the presentation by chapter.

IPFS in one sentance (IPFS is a distributed content addressed CDN.) (explaining each glossary word)
The journey of a file in the IPFS network :

API (very fly over)
IPLD how the file is cut and hashed
Bitswap how blocks are exchanged
DHT (main subject)

Libp2p modularity (mainly to explain how it was though, and how devs can choose very different things fullfilling their needs)

and the same faster in the way back on the receiving side.

A few example use cases

About you

Discord handle: Elpranocotro#4529
Links to your previous talks: none
Other (your projects, etc...): I don't think that fits in the subject, my goal is really to explain a technology wich I hope is gonna be widely relevent.
Availability (monthly number, date): mid august or later.

Validated & scheduled for the online P2P meet-up @ dec, 2, 2020 !

-> https://p2p.paris/en/talks/ipfs-ay/
Thank you @Jorropo \o/

Was done.

@Jorropo is there a video where I could see the talk? Thx

Sorry @zicmama no record this time


Not rotate in landscape mode

Hi, I'm trying to take a photo putting the cameraView in landscape mode, the problem is that it takes the final picture like the portrait mode (it does not rotate the photo). Is there a way to fix it?

Hi @ste9206 can you please try out the latest Snapshot build of 0.11.3-Snapshot and reOpen if this is still an issue? If so, please provide the information requested in .github/ISSUE_TEMPLATE.md
Thank you and hope the latest snapshot build works for you!


You can ignore those warnings. The setup packet when received is stored at a specific location. Different structures are used to access areas of the packet depending on the request type. Different areas of the setup packet will have different sizes and meanings depending on the current request; So having different structures for specific requests that all point to the setup packet address was the best solution for readability and efficient use of RAM... The warnings are nothing to worry about.

Thank you. Great project by the way!

No problem :).. I might word the warning more clearly. Thanks for taking the time to give some feedback.


Add files via upload

@Jaranwala308 First stage of verification passed, official domain is acecollege.edu.pk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Jaranwala308 Please provide us with an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course. Thank you.

All the courses are available at the following URL
https://acecollege.edu.pk/courses.php
On Fri, Mar 3, 2023 at 6:00 PM Philip Torchinsky @.***>
wrote:

@Jaranwala308 https://github.com/Jaranwala308 Please provide us with an
URL of a page on the official website where the school offers an IT-related
long-term (>1 year) course. Thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/16721#issuecomment-1453498705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5GFPH4WX7AQ2FMQY2UB7OTW2HTP5ANCNFSM6AAAAAAVI6CGP4
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Jaranwala308  Thank you for the clarifications. Pull request merged.
I believe the course that fits the requirements of this trusted list is https://acecollege.edu.pk/icom.php.


Version 3.4.0 constantly crashes with "exec format error"

Describe the bug: A clear and concise description of what the bug is.
I installed the latest OpenEBS helm charts in my single-node Kubernetes cluster running in Ubuntu 22.04 (64 bit)
Expected behaviour: A concise description of what you expected to happen
All PODs are running in namespace openebs
Steps to reproduce the bug:
$ helm repo add openebs https://openebs.github.io/charts
$ helm repo update
$ helm install openebs --namespace=openebs --create-namespace openebs/openebs

and after installation
$ helm list -n openebs
NAME    NAMESPACE       REVISION        UPDATED                                         STATUS          CHART           APP VERSION
openebs openebs         1               2023-06-24 13:09:14.851162273 +0200 CEST        deployed        openebs-3.7.0   3.7.0

$ kubectl get pods -n openebs
NAME                                           READY   STATUS             RESTARTS      AGE
openebs-localpv-provisioner-8488c699fb-stqjt   0/1     CrashLoopBackOff   3 (23s ago)   66s
openebs-ndm-operator-5f6bf6fb48-pmzmh          1/1     Running            0             66s
openebs-ndm-tq2p6                              1/1     Running            0             66s

The output of the following commands will help us better understand what's going on:
$ kubectl get pods -n openebs --show-labels
NAME                                           READY   STATUS             RESTARTS       AGE     LABELS
openebs-localpv-provisioner-8488c699fb-stqjt   0/1     CrashLoopBackOff   5 (2m3s ago)   4m58s   app=openebs,component=localpv-provisioner,name=openebs-localpv-provisioner,openebs.io/component-name=openebs-localpv-provisioner,openebs.io/version=3.6.0,pod-template-hash=8488c699fb,release=openebs
openebs-ndm-operator-5f6bf6fb48-pmzmh          1/1     Running            0              4m58s   app=openebs,component=ndm-operator,name=ndm-operator,openebs.io/component-name=ndm-operator,openebs.io/version=3.6.0,pod-template-hash=5f6bf6fb48,release=openebs
openebs-ndm-tq2p6                              1/1     Running            0              4m58s   app=openebs,component=ndm,controller-revision-hash=5ddf54dd65,name=openebs-ndm,openebs.io/component-name=ndm,openebs.io/version=3.6.0,pod-template-generation=1,release=openebs

$ kubectl logs -n openebs openebs-localpv-provisioner-8488c699fb-stqjt
exec /usr/local/bin/provisioner-localpv: exec format error

Anything else we need to know?:
If I install the version 3.3.0 there are no problems. Version 3.4.0, 3.5.0 and 3.6.0 also have the same error.
$ helm install openebs --namespace=openebs --create-namespace openebs/openebs --version=3.3.0

Environment details:

OpenEBS version (use kubectl get po -n openebs --show-labels):

3.7.0 (see above)

Kubernetes version (use kubectl version):

$ kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.11", GitCommit:"8cfcba0b15c343a8dc48567a74c29ec4844e0b9e", GitTreeState:"clean", BuildDate:"2023-06-14T09:57:26Z", GoVersion:"go1.19.10", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.11", GitCommit:"8cfcba0b15c343a8dc48567a74c29ec4844e0b9e", GitTreeState:"clean", BuildDate:"2023-06-14T09:49:38Z", GoVersion:"go1.19.10", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider or hardware configuration:

Contabo Virtual Private Server M 16GB / 6vCPU / 400 GB SSD

OS (e.g: cat /etc/os-release):

$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

kernel (e.g: uname -a):

$ uname -a
Linux vmd38168.contaboserver.net 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

others:

Looks like my installation was a little bit outdated.
I updated:

containerd to 1.7.2 (from 1.6.14)
runc to 1.1.7 (from 1.1.3)
cni-plugins to 1.3.0 (from1.1.1)

Now the problem is gone, the latest openebs helm chart (3.7.0) is installed and all PODs are running.
Sorry for the noise,
feri


Border on the right of the pane view

When opening the pane of the SplitView, there is a (almost) white border at the right.
Is there a reason, why this border exists? I do not like it as it does not match any official app made by MS.
I can (a) remove this border or (b) make it at least customisable (which includes reducing the border thickness to 0 to make it invisible)

Hmm. I agree. Let me look into what to do.

I can also take a look at this at the weekend ;-) The colour of the seperator does not match the colour used by offical apps neither :P

Okay. Added PaneBorderBrush and PaneBorderThickness. Defaults are as they are today. As a result, this should be a transparent change to developer who do not care about it, but enable those who do.

What is the official sep color?

Thanks :)
I am not sure how those colours are computed (maybe they are registered as ThemeResource), but here they are:

dark: #404040
light: #d3d3d3
high contrast: #ffffff

Taken from the Goove Music app ;-)


Add dabradley to repo owners

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Adding user dabradley to reviewer and approver ownership, now that I have k8s-sig membership.
https://github.com/kubernetes/org/issues/4668

Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

@joe-atzinger Should be all ready to go now


SWN Revised v2.4.4

Changes / Comments
A few fixes.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

@Karlinator I already merged this last week :D. I merged roll20/master into karlinator/master and almost all the diffs went away.
The translation diffs are still there since they were helpfully reverted by the automatic translation tool. I already pinged Cassie on another PR - the translations need to be regenerated from scratch so that it does not keep overwriting the fix for Initiative.

Right, guess I didn't see that. When I made this it still showed diffs on all the files I think. So you're saying I can just close this?

Yes, I saw all the diffs and was confused why they were there, so I merged explicitly.
Let's leave it open so we make sure that the issue with translations is handled somehow?

@joesinghaus
What would you like me to do for this request? I think I saw your notification in another ticket but I cannot find it now.

Thanks Cassie.
Whenever the translations are updated from Crowdin (?), they overwrite this change to Initiative for all the language-specific translation files (it's been fixed in translation.json for a while). Could you fix this?

I fixed it by changing the key instead. This can now be closed.

Cool


Missing parent: [ GO:0051225 spindle assembly ]

GO term ID and label for which you request a new superclass

GO:0051225    spindle assembly
GO:0090306    meiotic spindle assembly
GO:0090307    mitotic spindle assembly

New superclass (parent) suggested

chromosome segregation

Reference(s), if appropriate
PMID: 25253718

spindle assembly is one of the  steps in chromosome segregation

@pgaudet could you review.
I want to make a description of chromosome segregation that includes all of the parts (beginnings and end). I'll do that once the correct terms are under here.

@manulera do you agree?

Yes, so I will go ahead with this tomorrow. It will improve the chromosome segregation annotations a  lot

I don't know why this did not close automatically.


Proper PostgreSQL support

This is a new version of PR #521. I started from scratch but used #521 for inspiration.
Tackling PostGres one unittest at a time.
Fixes #804

The work for this is functionally done. Everything works, everything is tested locally. We will only support postgres 9.5.
Two steps are still left:

I need to tell travis somehow to install postgres 9.5
I want the unit test suite to automatically skip tests if we're connected to a postgres server that is older than 9.5.

After that, this can be merged.

Looks like there's currently not a sane way to enable postgres 9.5 in travis. So I'm leaving those tests skipped for now. All tests pass locally though, so postgres support is completed!


APOE E4 binary attribute

We need a new column for situations where data contributors do not have the full APOE genotypes, but do have a binary presence/absence variable for one or more E4 alleles. (see conversation here)
This PR creates a new column for apoe4Status with allowed values "no E4" and "one or two E4", plus "missing or unknown", and adds it to the individual human metadata template.
Because schematic still doesn't have namespaces we can't use 0/1 or T/F as valid values for binary variables, since they would get confused with other binary attributes and create a circular graph. Hence the somewhat clunky valid values.

Confirmed with Laura that this looks ok.


Problem

Describe the bug
after I have finished all setup steps at this link https://github.com/Fundator/IMO-Maritime-Single-Window
I try to open the url "http://localhost:4201/" but I get the following error:

can you help me to solve this problem?

I am currently travelling.Will look into this when I am available.

Have a nice trip and come back soon.
I'm waiting for your great reply

Are you sure you are on the latest release of the software?
"app-dpg-confirmation-view" was removed 15 days ago. Try cloning the repo again and let me know if the error persists.

the you very much for your reply,
I will try the latest release, then I will feedback you.

Hi bardlokas,
Hope you have a good day.
After I installed the latest version, I get login screen and entered credentials<EMAIL_ADDRESS>faced the following error "500 Internal server error"


fix: command lookup error when scope is cached

Fixed lookup to use .get() on the dictionary to prevent large log of error in the circumstance of a cache command showing on a changed scope
Pull Request Type

[ ] Feature addition
[x] Bugfix
[ ] Documentation update
[ ] Code refactor
[ ] Tests improvement
[ ] CI/CD pipeline enhancement
[ ] Other: [Replace with a description]

Description
Fixed lookup to use .get() on the dictionary to prevent large log of error in the circumstance of a cache command showing on a changed scope.
What happens is when no commands have been loaded to a Discord guild's scope, but they are cached, if a user tries to request one of these cached commands, an error occurs because of the way the lookup was handled (index notation)

Changes

Changed index notation to .get() on the dictionary.

Related Issues

Test Scenarios

Python Compatibility

[x] I've ensured my code works on Python 3.10.x
[x] I've ensured my code works on Python 3.11.x

Checklist

[x] I've run the pre-commit code linter over all edited files
[x] I've tested my changes on supported Python versions
[ ] I've added tests for my code, if applicable
[ ] I've updated / added  documentation, where applicable

@AstreaTSS need your help adding reviewers.

Reviewers don't need to be manually added - the contributors of interactions.py will see this and review whenever they can on their own.


Updated to most recent cucumber, fixed npm audit vulnerabilities.

This is still a draft, I've got some bits left to do.
I tried using the project and found it unusable on an M1 Mac, the cucumberjs version was quite out of date and there were various vulnerabilities.
I have updated dependencies (npm audit fix) and moved over to @cucumber/cucumber.  This required a significant change to the integration.  I have introduced a setup function which does this wiring as I couldn't see a way of autowiring it when someone uses the World.
If this is a change you'd like to bring in I'll keep working on the teardown, if not I'll use puppeteer and cucumberjs with the knowledge I've aquired while preparing this PR.

Thank you for this @natcarey; we've just run into the same issue. Did you make any more progress? If not, we'll pick it up from here


add network resources as new keys under requests/limits

Add network resources as new keys in the separate patches under requests/limits in the JSONPatches instead of adding whole resource/quantity map.
This fixes issue where preexisting resources were overwritten by webhook generated patches.
This fixes issue #4.

@zshi-redhat @ahalim-intel Please take a look.

@przemeklal thanks for the fix! I tested it and it worked fine.
One minor comment is that is it possible to detect whether device resource request/limit has been configured by user and only mutate the pod spec if it's not?

@przemeklal thanks for the fix! I tested it and it worked fine.
One minor comment is that is it possible to detect whether device resource request/limit has been configured by user and only mutate the pod spec if it's not?

btw, This is not a critical issue and could be fixed in later PR.
we can go ahead and merge this one.

@przemeklal thanks for the fix! I tested it and it worked fine.
One minor comment is that is it possible to detect whether device resource request/limit has been configured by user and only mutate the pod spec if it's not?

I think so, maybe something like skipping resource injection if it's already present in the spec - seems like an easy task. But yes, we could open a new issue and later a PR for this.


Do not ignore whitespace nodes

In #99 I've introduced a bug where foo bar would be formatted without any whitespace (foobar instead of foo bar). Parser was set up to ignore all whitespace-only html nodes; however, as previously a space was always added before any node, this wasn't an issue.
I've changed parser settings not to ignore any nodes. As both list formatters started generating a new item for whitespace nodes, I had to filter those out. I've also added tests to make sure that empty lists (

) are handled correctly.

Thanks.


WIP: Corrected SPAMS functions to handle Fortran order

Ensure that the Fortran ordered array returned by SPAMS remains that was so that the wrapper box functions behave correctly.
WIP: Still needs some more tweaks for testing.

Replaced by PR ( https://github.com/nanshe-org/nanshe/pull/416 ), which solves this in a much cleaner and maintainable way.


Series of modifiers (and conditions) that are unexpected (whereas the game process it correctly)

Hello, I went through a serious of modifiers and conditions that are unexpected by the extension, whereas the game process it correctly, I will post only one photo to show you what I mean:

movement_speed_onto_off_boat_modifier
accept_vassalization_reasons
institution_growth
extra_manpower_at_religious_war = yes (I recall this working, although I may be wrong)

Conditions:

ADM/DIP/MIL (used to refer the current adm/dip/mil stat of the ruler)
has_adm_advisor_1/2/3 as well as has_dip_advisor_1/2/3 and has_mil_advisor_1/2/3

Effects:

join_all_offensive_wars_of = TAG
join_all_defensive_wars_of = TAG

if I'll ever find others I'll write them down :)

unrest (both province and global) can accept negative value


Support closures for handler function

As far as I am aware this can't be expressed to the Rust compiler as the cookies argument to the HTTP handler is of type &mut CookieJar and the closure returns an async block that holds that reference.
If someone is galaxy brain and can fix this without requiring a heap allocation or reference counting (Box, Arc, Rc) I will be very thankful.
If this can be fixed we will remove the context system and rely on the closure capturing any state that the user wants in the handler.

Passing the CookieJar by reference didn't scale so I've gone back to it being owned which fixes the lifetimes and allows using a closure.


Feature Request: Option to disable base layer initialization

I want to request an enhancement. I am using this library to display PDFs rendered via android.graphics.pdf.PdfRenderer. This works great out of the box, but when I open big pdfs that result in full size images of a million pixels in height it does not work that good anymore. I copied this library and added the option to disable base layer loading. With that disabled, I even can open pdfs of 1000 pages in a few milliseconds. I can imagine that disabling base layer tiles could be useful in other usecases too, like rendering maps or other type of documents.
I could create a Pull Request with my changes but I found this library just today and I am not sure what side effects my changes might have or if this is more seen as missuse of this library.

@davemorrissey What about this feature? Can I implement pdf rendering functionality?


Observation reappears after deletion

Delete one observation from the main screen, and after a short while the observation reappears on the main screen.
Screen recording for the first observation in the list:
https://github.com/inaturalist/iNaturalistReactNative/assets/17345891/2b66b635-0b76-4d29-93d4-5649524c2955

This seems to be flaky though and does not happen every time I delete an observation.

FWIW, I think this might be related to caching in React Query, the app fetches your observation w/ React Query, you delete an observation and return to My Observations, which tries to fetch your obs again but it hits the React Query cache that still contains your deleted observation.

@jtklein why did you close this? Did you test and could not replicate, or do you think it was fixed by a specific commit?

FWIW, this is still happening for me in v0.18.1+66 (Pixel 8, Android 13).

So far I'm not able to replicate this in v0.19.0+67 (iPhone 15 Pro, iOS 17)

I can still replicate it with these steps on a simulated iPhone 15 Pro (iOS 17.2)

Sign in
Make a new obs without evidence
Tap the upload button the toolbar to upload, allow upload to complete
Delete the observation you just created
Back on My Observations, tap the sync button
The obs you deleted re-appears

I could not replicate this using the steps laid out above on a simulator iPhone 15 Pro (iOS 17.2) in 0.21.1. So, I assign it back to the creator.

FWIW, I can still replicate this on device and in a simulator, but you have to sync quickly after deletion. I have a fix ready in #1240


Multiple Icebreakers

Hello, first thanks for Icebreaker, we enjoy it a lot and for that we have requests to expand beyond my team.
Currently I have modified the logic app to run once a month (works better for my team size), yet I have 2 new teams interested in Icebreaker in team but want to meet up once a week (the default setup), how can I achieve this? should I run the full deployment again, or are there some component I can duplicate in Azure to have a different schedule?

We also need to have different Teams have different notification schedules and frequencies. I would love to know how to do this.

We also need to have different Teams have different notification schedules and frequencies. I would love to know how to do this.

@chartaam I ended up deploying the entire product once again using a different azure resource group 'to avoid conflict' using a different name IceB_Weekly, IceB_BiWeekly then changed the logic app trigger for the desired schedule. I hope this helps

@chartaam I ended up deploying the entire product once again using a different azure resource group 'to avoid conflict' using a different name IceB_Weekly, IceB_BiWeekly then changed the logic app trigger for the desired schedule. I hope this helps

@nalhemyariirexorg Hi we also tried your solution (different Resource group, different Azure App registration, different Github code (because different look and feel), different name, etcetera. But when we try to add it to Teams, we receive a message that the app is already in the Teams Catalog.
Did you have the same problem and how did you resolved that? Or do you know any solution for us?
Thanks in advance,
Sander

@nalhemyariirexorg Hi we also tried your solution (different Resource group, different Azure App registration, different Github code (because different look and feel), different name, etcetera. But when we try to add it to Teams, we receive a message that the app is already in the Teams Catalog.
Did you have the same problem and how did you resolved that? Or do you know any solution for us?
Thanks in advance,
Sander

@Office365-LUMC I had to change the app name in the xml app before uploading to Teams admin center

@Office365-LUMC I had to change the app name in the xml app before uploading to Teams admin center

@nalhemyariirexorg  Hi, do you mean the Short Name in Manifest.json? Because we upload only these three files"in a ZIP file: color.png, manifest.json and outline.png

@nalhemyariirexorg  Hi, do you mean the Short Name in Manifest.json? Because we upload only these three files"in a ZIP file: color.png, manifest.json and outline.png

@nalhemyariirexorg Hi, do you mean the Short Name in Manifest.json? Because we only upload these three files in a ZIP file: color.png, manifest.json and outline.png

Yes, my apologies for the confusion

@nalhemyariirexorg Hi, do you mean the Short Name in Manifest.json? Because we only upload these three files in a ZIP file: color.png, manifest.json and outline.png

Yes, my apologies for the confusion

You also need to change id to new GUID in manifest.json

Thank you for submitting this issue, as we work to ensure consistent responses with items logged in our issues list, we are working to address these items that did not get responses. Please let us know if you are still facing this issue and require assistance and we will be happy to discuss. If no further action is needed at moment and no response is received, we will close out the issue in 3 business days. You may also always open a new issue or respond here if something does come back up. Thank you!

I am not the original poster -- but I would love to see some work done on this issue. It is too complicated, the way it is now -- where if you want bots running on different schedules, you have to stand multiples up and jump through the right hoops.

You also need to change id to new GUID in manifest.json

What id do you mean?
We have multiple icebreakers for different teams and running on separate schedules, initially deployed by someone else.
I've just deployed another icebreaker bot for another team, followed that guide
https://github.com/OfficeDev/microsoft-teams-apps-icebreaker/wiki/Deployment-Guide-manual, but it does not explain anything on multiple icebreaker deployments.
All I did was to change the "App Name" field in the deployment template from icebreaker to something else e.g. icebreaker-FYI (This is because I was using the same resource group and didn't want to cause conflicts with previous deployments).
However, I didn't change that field in the manifest json file "name":  "short": "Icebreaker", I left it as it, however, the sideloading to the teams channel kept failing, until I added all the language files into the zip.
The app is now deployed, and got the notification in the channel, I've modified the schedule via the logic app settings https://blog.thoughtstuff.co.uk/2019/07/how-to-adjust-the-pairing-schedule-of-the-icebreaker-bot-teams-app-template/
I will wait and see if on the scheduled day, the bot will pair users.

HI @nalhemyariirexorg ,
Thank you for submitting this issue, as we work to ensure consistent responses with items logged in our issues list, we are working to close the long pending issues with no resolution/responses. You may always open a new issue if you are still facing the issue. We are closing this request. Thank you!

I just wanted to add my 2 cents here.
I have successfully just deployed 1 monthly and 1 weekly Icebreaker apps through manual deployment.
In this portion of the manifest.json, I had to change the ID, or else it kept telling me I already have this app. In this case, I only changed one letter at the end. This is the original ID.
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
"manifestVersion": "1.5",
"version": "1.0.0",
"id": "d55d08d9-bacb-4567-942f-afd85d632dcc",  (I CHANGED ONE OF THE C's to a F)
"packageName": "com.microsoft.teams.icebreaker",
*I also changed the Short Name on the 2nd app to match, such as Icebreaker Monthly
*You must also include ALL of the language packs in the zip file before it will actually deploy to a Team. You can upload the app without the language packs, but it won't work.


added Culex modestus / idCulMode1

Assembly review request

ToLID: idCulMode1
Species: Culex modestus
Project: ERGA-BGE
Affiliation: WSI

Hi @epaule, thanks for sending the EAR of Culex modestus.
I added the corresponding tag to the PR and appointed @tbrown91 as the assignee to supervise.
I will contact a reviewer ASAP.

*****
EAR Reviewer Selection Process
Date: 2024-05-30 16:44

All Eligible Candidates:

Github ID | Full Name             | Institution | Total Reviews | Last Review | Active | Busy | Calling Score | Adjusted Score
------------------------------------------------------------------------------------------------------------------------------
gitcruz   | Fernando Cruz         | CNAG        | 0             | NA          | Y      | N    | 1007          | 1107
jesgomez  | Jessica Gomez Garrido | CNAG        | 0             | NA          | Y      | N    | 1007          | 1107
tbrown91  | Tom Brown             | IZW         | 8             | 2024-02-21  | Y      | N    | 993           | 993

Selected reviewer: Fernando Cruz (gitcruz)
The decision was based on:
- different institution ('CNAG')
- active ('Y')
- not busy ('N')
- highest adjusted calling score in this particular selection (1107)
- randomly chosen to break a tie among the finalists

Hi @gitcruz, do you agree to review this assembly?
Please reply to this message only with Yes or No by 06-JUN-2024 at 16:52 CET.

Yes, I'll be happy to review it.

Thanks for agreeing :D
I appointed you as the EAR reviewer.
I will change your status to Busy until you finish this review.
Please check the Wiki if you need to refresh something.
Contact the PR assignee for any issues.

i added @SarahPelan , as she is the one who did the curation.

@gitcruz Have you had a chance to look at the assembly? It would be nice to get a through more through the BGE process.
Many thanks

Hi @tbrown91
Thanks for the reminder, my sincere apologies for the delay.
I had reviewed the assembly, my congratulations to @epaule and @SarahPelan dor the great work. These are my comments:

Contamination  could you confirm that the hits to other phyla (different than insecta or no-hit) are false positives forund by blobtools?. I bet they are, as they are small an within the same range of GC and coverage of other insecta contigs of similar size.
Curation great work i general makes sense and you recover centromere-telomere and T2T interactions. However in SUPER_2 I can see some translocations:

sequence around 84.58-84.7MB could be moved to 74.25Mb and it wold be well localized there.
around 93-93.99Mb I would place these sequence as Unloc
same for sequence at 97.9-98.28Mb

Please go over it and tell me if you and @tbrown91 agree on this.
Best regards,
Fernando

Hi @diegomics
I have been receiving notifications for other assemblies thta I am not reviewing and for which I did not even add comments. Would it be possible to adjust the notifications in a way that they are resticted to the last two cases (reviewed or commented by me)?
I'd appreciate reducind the email trafffic to he strictly necessary.
Thanks!
F.

@gitcruz are you receiving all activity? If so, please adjust your notifications to participating and @mentions 👇

Some comments:
The "avg_coverage" track appears to be zero everywhere, is this working as intended?
The coverage is so erratic that it is very difficult to tell if there are any duplications, especially with the resolution of this image.
Given the number of contigs, it's pretty amazing that it looks this good.
Some small things I have noticed. Maybe some of them should be unlocalised, but I don't think they are correct where they currently are:
SUPER_1 29.2Mb-29.3Mb - localises to SUPER_1 @ 137.6Mb
SUPER_2 29.6Mb-29.8Mb - localises to SUPER_1 @ 206Mb
SUPER_2 54.4Mb-54.7Mb - duplication or inversion? difficult to see from the map
SUPER_2 84.8Mb-85.3Mb - I agree with Fernando, something weird is going on here
SUPER_2 29.6Mb-29.8Mb - localises to SUPER_2 @ 74.0Mb
SUPER_2 93.6Mb & 99.0Mb - again something weird - does it look biological in the higlass map. e.g. repeat sequence, potential translocation between the two haplotypes?
SUPER_2 113.5Mb-113.7Mb - are you sure this belongs in SUPER_2?
SUPER_2 115.0Mb-115.2Mb - belongs in SUPER_3 centromere
SUPER_2 193.8Mb - localises to SUPER_1 @ 78.4Mb
SUPER_3 55.8Mb - localises to SUPER_2 @ 26.4Mb
SUPER_3 56.7Mb - localises to SUPER_1 @ 231.4Mb
SUPER_3 59.2Mb - localises to SUPER_1 @ 50.7Mb
Given the number of contigs, this is really picking. It's amazing to have such a fragmented assembly in chromosomes like this. Great job to @SarahPelan

Thanks @diegomics!!
it took me a while to find it. Went to manage notifications>watched repositories>unwatch and then selected "Participating and @mentions"

Sorry, I forgot my role as supervisor.
@epaule Can you please look through the highlighted areas and in particular address @gitcruz's comments regarding possible contaminants?
Many thanks,
Tom

@tbrown91 am currently looking through the comments, @epaule has looked at contaminants and we should have new files soon....
Thanks,
Sarah

Thanks @epaule and @SarahPelan
This is looking pretty amazing. @gitcruz can I ask you to give the map one last look through, and then I'm happy to merge

The non-arthropoda blobs in the last report are false positives, as we went through the ones without HiC contacts to the parent and they came back as insect hits in blast & NCBI-GX.

Thanks @gitcruz for the review.
I will add a new reviewed species for you to the table after merging ;)
Congrats on the assembly @epaule! (and @SarahPelan and team)
After the merging, you can upload the assembly to ENA


[wip] Add initial std definitions for redis an vlc

Hi:
Thanks for your work in luacheck.
I tend to write lua and vlc scripts, and I think could be a nice addition to
luacheck to add an std for both.
If you are interested in this change, I can complete the rest of globals, else
feel free to close this pull request.
Thanks in advance.

Hi,
Yes, I think this would be a good addition, thanks!

@marsam there is now a new format for describing stds. It allows listing all allowed fields within globals. But it's good enough to list just the globals and allow all fields within them.

@mpeterv I see, looks good!. I'll work in this pull request this weekend

Let me ask here. If I wanted to make a standard for the LÖVE game framework, would there be a chance of it being merged into Luacheck?
If so, should I declare all the functions that are available in each module? Or is it prefer to define love as a read_only global variable with other_fields and set the callbacks with read_only = false?
Wouldn't it be great to have a standards table where people can submit standards? or maybe even a repository that acts as a submodule of luacheck

@Positive07 if the interface of love2d is stable enough I will merge a PR adding a standard. But if functions inside modules are often added then it's probably better to have the standard available separately in some module. Then it could be imported with, say, stds.love = require "luacheck.standards.love" in .luacheckrc. It could be made more convenient if luacheck looked up used standards in luacheck.standards.* modules automatically.

Well it would change every version so I guess that it's pretty stable, versions are released with months of separation and older versions are deprecated instantly so we would only need to support the latest.
The problem is that the API is really broad and can make the standard file really long so I would prefer to split it out. Would that be fine?
I can also make a script that automatically updates this file by using the love-api repo which is updated immediately every time a new release is available. Then I would submit PRs when an update is needed. Would that be fine?

@Positive07 that's good, and of course the definition can be put into a separate luacheck module (e.g. luacheck.love_std) so that the main std file is not too long and changes are localized.

Alright I made this I'll make a PR later, I'll still have to merge this table with LuaJIT to get the real standard or see how busted is handled

Closing due to inactivity, feel free to reopen if necessary.


Azure OpenAI tools parameter not working at all

Package Name: @azure/openai
Package Version: 1.0.0-beta.11
Operating system: Windows 11
[x] nodejs

version: v20.11.0

[ ] browser

name/version:

[x] typescript

version: 5.3.3

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
A clear and concise description of what the bug is.
When trying to use the "tools" parameter, gives out an error. The "functions" parameter works fine which is deprecated but used for the same purpose before. Seems like tools used to work in other past issues, so not sure why it isn't working.
The code I tried with:
const { OpenAIClient, AzureKeyCredential } = require('@azure/openai');
require('dotenv').config();

const { setLogLevel } = require("@azure/logger");

setLogLevel("info");

const endpoint = process.env.ENDPOINT;
const azureApiKey = process.env.AZURE_OPENAI_API_KEY;

if (!azureApiKey || !endpoint) {
  throw new Error('The AZURE_API_KEY or ENDPOINT environment variables are missing or empty.');
}

const client = new OpenAIClient(endpoint, new AzureKeyCredential(azureApiKey));

// Define your messages and model
const messages = [
  {
    role: "user",
    content: "What's the weather in Chicago",
  },
];
const model = 'gpt-4';

// Define your options
const azureOptions = {
  toolChoice: "auto",
  tools: [
    {
      type: "function",
      function: {
        name: "get_weather",
        description: "get weather information",
        parameters: {
          type: "object",
          properties: {
            location: {
              type: "string",
              description: "location in format of city, state, nation.",
            },
          },
        },
      },
    },
  ],
};

// Call the API and log the result
client.getChatCompletions(model, messages, azureOptions)
  .then(result => {
    console.log(result);
  })
  .catch(error => {
    console.error('Error:', error);
  });

Terminal Error:
Error: {
  message: 'Unrecognized request arguments supplied: tool_choice, tools',
  type: 'invalid_request_error',
  param: null,
  code: null
}

And also these were the logs when I enabled azure logging:
azure:core-rest-pipeline retryPolicy:info Retry 0: Attempting to send request 0f31b5c8-c328-49f5-a577-43c0d48ef708
azure:openai:info Request: {
  "url": "https://north-chill-lol.openai.azure.com/openai/deployments/gpt-4/chat/completions?api-version=2023-12-01-preview",
  "headers": {
    "accept": "application/json",
    "content-type": "application/json; charset=UTF-8",
    "accept-encoding": "gzip,deflate",
    "user-agent": "azsdk-js-openai-rest/1.0.0-beta.11 core-rest-pipeline/1.12.3 Node/v20.11.0 OS/(x64-Windows_NT-10.0.22621)",
    "x-ms-client-request-id": "0f31b5c8-c328-49f5-a577-43c0d48ef708",
    "api-key": "REDACTED"
  },
  "method": "POST",
  "timeout": 0,
  "disableKeepAlive": false,
  "withCredentials": false,
  "requestId": "0f31b5c8-c328-49f5-a577-43c0d48ef708",
  "allowInsecureConnection": false,
  "enableBrowserStreams": true
}
azure:core-rest-pipeline:info No cached TLS Agent exist, creating a new Agent
azure:openai:info Response status code: 400
azure:openai:info Headers: {
  "content-length": "172",
  "content-type": "application/json",
  "access-control-allow-origin": "*",
  "x-content-type-options": "nosniff",
  "x-ratelimit-remaining-requests": "9",
  "apim-request-id": "59cabb33-9437-47d1-b056-1ff2ca4c60ca",
  "x-ratelimit-remaining-tokens": "9984",
  "x-request-id": "a678c3fb-9171-4c15-bac8-809c9d52ea90",
  "ms-azureml-model-error-reason": "model_error",
  "ms-azureml-model-error-statuscode": "400",
  "x-ms-client-request-id": "0f31b5c8-c328-49f5-a577-43c0d48ef708",
  "x-ms-region": "North Central US",
  "azureml-model-session": "d021-20231130084213",
  "strict-transport-security": "max-age=31536000; includeSubDomains; preload",
  "date": "Wed, 31 Jan 2024 20:17:54 GMT"
}
azure:core-rest-pipeline retryPolicy:info Retry 0: Received a response from request 0f31b5c8-c328-49f5-a577-43c0d48ef708
azure:core-rest-pipeline retryPolicy:info Retry 0: Processing 2 retry strategies.
azure:core-rest-pipeline retryPolicy:info Retry 0: Processing retry strategy throttlingRetryStrategy.
azure:core-rest-pipeline retryPolicy:info Retry 0: Skipped.
azure:core-rest-pipeline retryPolicy:info Retry 0: Processing retry strategy exponentialRetryStrategy.
azure:core-rest-pipeline retryPolicy:info Retry 0: Skipped.
azure:core-rest-pipeline retryPolicy:info None of the retry strategies could work with the received response. Returning it.

To Reproduce
Steps to reproduce the behavior:

try to use tools as a parameter to the Azure OpenAI API request.

Expected behavior
tools parameter to work.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context

after a bit of testing, seems like it for some reason it doesn't work with the gpt-4 model. tried with gpt-3.5 and gpt-4-turbo and both worked. although based on the official OpenAI website it says gpt-4 should have worked as well. https://platform.openai.com/docs/guides/function-calling

Hi @Ahmet-Dedeler, thanks for reaching out!
Per Azure documentation, the deployed model needs to be Version 0613 or later to perform tool calls. Could you check if the version of your deployed model conforms to that requirement?

Yeah the gpt-4 model that failed was version 0613

Thanks for the confirmation! Could you also confirm the region it is deployed to?
This seems to be a service issue so I'd recommend opening a support ticket in the Azure portal, so our support team can assist you better and resolve it as soon as possible. To open a support ticket, please refer to the guide here. Thank you for your patience and cooperation. Please let us know if you have any other questions.

Thanks for the confirmation! Could you also confirm the region it is deployed to?
This seems to be a service issue so I'd recommend opening a support ticket in the Azure portal, so our support team can assist you better and resolve it as soon as possible. To open a support ticket, please refer to the guide here. Thank you for your patience and cooperation. Please let us know if you have any other questions.

For sure, the gpt-4 model is deployed on North Central US.
Yeah you're right, seems like it's something different with Azure OpenAI that's causing the issue.
Regardless thank you for your support, I hope this can be fixed soon.

I am going to close this issue for now but if it turns out that something is broken in the SDK, please feel free to re-open it!


stdoutlock write output

Probloem
a user of this crate wants to display some command output of their program, they attempt to write to stdout at some point in their own crate source code, whether they use stdoutlock.write() or print!(), their output text will be displayed weirdly since their cli tool / program is in raw mode
Implementation Suggestions

make a trait and implement it for stdoutlock, it could have a method write_raw that that the crate owner uses instead of print! or stdoutlock.write() to render their own text on the terminal
make an independent function that does the above mentioned

Low priority; can easily be handled by the user of this crate like this
   // Single line output variable one_line
   print!("{}", one_line); // don't use println! it will add an empty line between prompt lines
   // or
   _ = sol.write(&one_line.as_bytes()); // sol is the StdoutLock instance

   // Multi line output variable many_lines
   print!("{}", {
      many_lines = many_lines.replacen("\n", "\r\n", many_lines.len());
      many_lines = many_lines.replacen("\r\n\r", "\r\n", many_lines.len());
      many_lines = many_lines.replacen("\r\r\n", "\r\n", many_lines.len());

      many_lines
   });
   // or likewise, use sol.write()