WIP: RGBDEFORMATIONTRACKDEF

I want to test this out and see what it looks like - I'm not sure I got this right.  I'm not sure where "RGB" comes in here.

Just for posterity - the item with this trackdef is IT4 in gequip (the bow) - I'm guessing this fragment describes the animation of bending it.

🎉


Implement Flash Attention for 50% speedup

Check out this reddit post:
https://www.reddit.com/r/StableDiffusion/comments/xmr3ic/speed_up_stable_diffusion_by_50_using_flash/
Claims to achieve a 50% speedup by using Flash Attention.
Is it possible to implement this into this repo?

See here for a reference implementation:
https://github.com/TheLastBen/fast-stable-diffusion

Yep, I had just read that post. I'll take a look.

Repo for Flash Attention https://github.com/HazyResearch/flash-attention

The pace at which SD is maturing is unbelievable. The true power of going Open Source.

The only issue I see, at least in the  "official" paper-accompaniment repo, is that there's a CUDA-side c++ binary library (I guess? I don't see how it's being built) - building binaries via conda/pip is a non-starter in this repo. We have enough trouble with pure-Python installs 😂
If they are going to be releasing binaries for the Big Three platforms, then OK, otherwise...

There's am active thread on how to get it to work for non-Linux systems.  https://github.com/huggingface/diffusers/pull/532

There's am active thread on how to get it to work for non-Linux systems. huggingface/diffusers#532

That looks interesting. I couldn't get it to work on MPS, but curious to see if it works on CUDA.

@Any-Winter-4079;
I'm guessing that's because, as I said, "there's a CUDA-side c++ binary library" which has to be built per-platform; I doubt that it has been built for macOS/M* systems yet.

@tildebyte I was testing https://github.com/huggingface/diffusers/pull/532/files, with
pip install git+https://github.com/facebookresearch/xformers@51dd119#egg=xformers
and
export USE_MEMORY_EFFICIENT_ATTENTION=1
plus updating attention.py but got the error from above.
That seemed to be another repo different from the C++ one initially mention (this one is using xformers), although I might be tripping and internally be using the C++ lib, cause it's very late here, and I'm half awake/half asleep already  :)

There's a "Fast Attention" as well, different thing...

There's a "Fast Attention" as well, different thing...

No it’s the same idea actually, the xformers repo dispatches to the flash attention kernels when applicable, else uses it’s own kernels

@Any-Winter-4079
Here is an implemetation of xfromer from facebook research
https://github.com/facebookresearch/xformers
looking at the README, it can be compiled on MacOs. Read build from source section.
MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ pip install -e .

I installed via MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ pip install -e git+https://github.com/facebookresearch/xformers.git#egg=xformers
Now let's try to use it!

Update to say I tried ignoring the triton part, and searching a bit where the AttentionOpDispatch error comes from, it seems to come from import xformers.ops and ops.py file. There is a bunch of cuda stuff there so not sure how we would run it with mps.
Commenting out / replacing some cuda stuff, the furthers I could come is
NotImplementedError: Could not run 'xformers::efficient_attention_forward_cutlass' with arguments from the 'CPU' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'xformers::efficient_attention_forward_cutlass' is only available for these backends: [Metal, UNKNOWN_TENSOR_TYPE_ID, QuantizedXPU, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, SparseCPU, SparseCUDA, SparseHIP, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, SparseVE, UNKNOWN_TENSOR_TYPE_ID, NestedTensorCUDA, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID, UNKNOWN_TENSOR_TYPE_ID].

I am not rly sure what I am testing there 🙈, but with python3 benchmarks/benchmark_encoder.py --activations relu --plot -emb 256 -bs 32 -heads 16 things are realy slow without even utilizing cpu/gpu, also canot get the missing packages installed (and sorry for this long codeblock,
python3 xformers/benchmarks/benchmark_encoder.py --activations gelu --plot -emb 256 -bs 32 -heads 16
Triton is not available, some optimizations will not be enabled.
This is just a warning: No module named 'triton'
Either FairScale or torch distributed is not available, MixtureOfExperts will not be exposed. Please install them if you would like to use MoE
Testing the following parameters:
 {
    "activation": [
        "gelu"
    ],
    "attention_name": [
        "favor",
        "global",
        "linformer",
        "local",
        "nystrom",
        "orthoformer",
        "random",
        "scaled_dot_product",
        "compositional",
        "pooling",
        "lambda",
        "fourier_mix",
        "visual"
    ],
    "autocast": [
        true
    ],
    "batch_size": [
        32
    ],
    "causal": [
        false
    ],
    "embed_dim": [
        256
    ],
    "feedforward_name": [
        "MLP"
    ],
    "heads": [
        16
    ],
    "sequence_length": [
        576,
        1024
    ]
}
  0%|                                                                                | 0/26 [00:00<?, ?it/s]Testing: xFormerEncoderBlock(
  (pose_encoding): SinePositionalEmbedding()
  (wrap_att): PostNorm(
    (norm): LayerNorm((256,), eps=1e-05, elementwise_affine=True)
    (sublayer): Residual(
      (layer): MultiHeadDispatch(
        (attention): FavorAttention(
          (attn_drop): Dropout(p=0.1, inplace=True)
          (feature_map): SMReg()
        )
        (in_proj_container): InputProjection(
          (q_proj): Linear(in_features=256, out_features=256, bias=True)
          (k_proj): Linear(in_features=256, out_features=256, bias=True)
          (v_proj): Linear(in_features=256, out_features=256, bias=True)
        )
        (resid_drop): Dropout(p=0.1, inplace=False)
        (proj): Linear(in_features=256, out_features=256, bias=True)
      )
    )
  )
  (wrap_ff): PostNorm(
    (norm): LayerNorm((256,), eps=1e-05, elementwise_affine=True)
    (sublayer): Residual(
      (layer): MLP(
        (mlp): Sequential(
          (0): Linear(in_features=256, out_features=1024, bias=True)
          (1): GELU(approximate=none)
          (2): Dropout(p=0.1, inplace=False)
          (3): Linear(in_features=1024, out_features=256, bias=True)
          (4): Dropout(p=0.1, inplace=False)
        )
      )
    )
  )
) 32 576 256 True cpu favor
/Users/mauwii/.pyenv/versions/miniconda3-latest/envs/xformer_env/lib/python3.8/site-packages/torch/amp/autocast_mode.py:198: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling
  warnings.warn('User provided device_type of \'cuda\', but CUDA is not available. Disabling')
/Users/mauwii/git/facebookresearch/xformers/xformers/components/positional_embedding/sine.py:39: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
  div = torch.exp(-math.log(10000) * (2 * (dim // 2) / self.dim_model))
  4%|███████▏                                                                                | 1/26 [00:07<02:56,  7.05s/it]Testing: xFormerEncoderBlock(
  (pose_encoding): SinePositionalEmbedding()
  (wrap_att): PostNorm(
    (norm): LayerNorm((256,), eps=1e-05, elementwise_affine=True)
    (sublayer): Residual(
      (layer): MultiHeadDispatch(
        (attention): FavorAttention(
          (attn_drop): Dropout(p=0.1, inplace=True)
          (feature_map): SMReg()
        )
        (in_proj_container): InputProjection(
          (q_proj): Linear(in_features=256, out_features=256, bias=True)
          (k_proj): Linear(in_features=256, out_features=256, bias=True)
          (v_proj): Linear(in_features=256, out_features=256, bias=True)
        )
        (resid_drop): Dropout(p=0.1, inplace=False)
        (proj): Linear(in_features=256, out_features=256, bias=True)
      )
    )
  )
  (wrap_ff): PostNorm(
    (norm): LayerNorm((256,), eps=1e-05, elementwise_affine=True)
    (sublayer): Residual(
      (layer): MLP(
        (mlp): Sequential(
          (0): Linear(in_features=256, out_features=1024, bias=True)
          (1): GELU(approximate=none)
          (2): Dropout(p=0.1, inplace=False)
          (3): Linear(in_features=1024, out_features=256, bias=True)
          (4): Dropout(p=0.1, inplace=False)
        )
      )
    )
  )
)

.....

62%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████▊                                                                       | 16/26 [06:51<06:13, 37.33s/it]Testing: xFormerEncoderBlock(
  (pose_encoding): SinePositionalEmbedding()
  (wrap_att): PostNorm(
    (norm): LayerNorm((256,), eps=1e-05, elementwise_affine=True)
    (sublayer): Residual(
      (layer): MultiHeadDispatch(
        (attention): CompositionalAttention(
          (in_proj_container): InputProjection(
            (q_proj): Linear(in_features=256, out_features=256, bias=True)
            (k_proj): Linear(in_features=256, out_features=256, bias=True)
            (v_proj): Linear(in_features=256, out_features=256, bias=True)
          )
          (dropout_module): Dropout(p=0.1, inplace=False)
          (out_proj): Linear(in_features=256, out_features=256, bias=True)
          (value_q): Linear(in_features=256, out_features=256, bias=True)
          (score_network): Linear(in_features=32, out_features=1, bias=True)
        )
        (in_proj_container): InputProjection(
          (q_proj): Linear(in_features=256, out_features=256, bias=True)
          (k_proj): Linear(in_features=256, out_features=256, bias=True)
          (v_proj): Linear(in_features=256, out_features=256, bias=True)
        )
        (resid_drop): Dropout(p=0.1, inplace=False)
        (proj): Linear(in_features=256, out_features=256, bias=True)
      )
    )
  )
  (wrap_ff): PostNorm(
    (norm): LayerNorm((256,), eps=1e-05, elementwise_affine=True)
    (sublayer): Residual(
      (layer): MLP(
        (mlp): Sequential(
          (0): Linear(in_features=256, out_features=1024, bias=True)
          (1): GELU(approximate=none)
          (2): Dropout(p=0.1, inplace=False)
          (3): Linear(in_features=1024, out_features=256, bias=True)
          (4): Dropout(p=0.1, inplace=False)
        )
      )
    )
  )
) 32 576 256 True cpu compositional

........

but hey - at least everything is responding superslow while runing this :godmode:
Wow - Swap-memory is >40GB now, going to die soon

Ok, it crashed the script (would have bet that the mac will die ....). These where the last lines:
65%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉                                                                | 17/26 [10:06<12:41, 84.59s/it]Testing: xFormerEncoderBlock(
  (pose_encoding): SinePositionalEmbedding()
  (wrap_att): PostNorm(
    (norm): LayerNorm((256,), eps=1e-05, elementwise_affine=True)
    (sublayer): Residual(
      (layer): MultiHeadDispatch(
        (attention): CompositionalAttention(
          (in_proj_container): InputProjection(
            (q_proj): Linear(in_features=256, out_features=256, bias=True)
            (k_proj): Linear(in_features=256, out_features=256, bias=True)
            (v_proj): Linear(in_features=256, out_features=256, bias=True)
          )
          (dropout_module): Dropout(p=0.1, inplace=False)
          (out_proj): Linear(in_features=256, out_features=256, bias=True)
          (value_q): Linear(in_features=256, out_features=256, bias=True)
          (score_network): Linear(in_features=32, out_features=1, bias=True)
        )
        (in_proj_container): InputProjection(
          (q_proj): Linear(in_features=256, out_features=256, bias=True)
          (k_proj): Linear(in_features=256, out_features=256, bias=True)
          (v_proj): Linear(in_features=256, out_features=256, bias=True)
        )
        (resid_drop): Dropout(p=0.1, inplace=False)
        (proj): Linear(in_features=256, out_features=256, bias=True)
      )
    )
  )
  (wrap_ff): PostNorm(
    (norm): LayerNorm((256,), eps=1e-05, elementwise_affine=True)
    (sublayer): Residual(
      (layer): MLP(
        (mlp): Sequential(
          (0): Linear(in_features=256, out_features=1024, bias=True)
          (1): GELU(approximate=none)
          (2): Dropout(p=0.1, inplace=False)
          (3): Linear(in_features=1024, out_features=256, bias=True)
          (4): Dropout(p=0.1, inplace=False)
        )
      )
    )
  )
) 32 1024 256 True cpu compositional
[1]    19942 killed     python3 xformers/benchmarks/benchmark_encoder.py --activations gelu --plot
/Users/mauwii/.pyenv/versions/miniconda3-latest/envs/xformer_env/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

hey there, this benchmark tests a really big chunk of all the building blocks available on xformers and is mostly run on production GPUs, no worries if that does not work for you (you can see the options here, if you limit it to a given attention mechanism or activation if should run a lot less options, and have a chance to finish). You can see it run here on a CUDA gpus for sanity checking, but really if you're interested in mem efficient attention you should not bother.
What you can run though is this one (may not make too much sense outside of cuda), else just focus on running it in your particular case

Wait, so if i install Flash Attention 2, invokeai can utilize it right?


[service-bus] Sending

There are two methods for sending messages in Service Bus:

[x] Sending messages via a ServiceBusBatch. This batch tracks the maximum size allowed (received via Service Bus, when the link is initialized) and should NOT be hardcoded. The batch will have a method (TryAdd() bool) that lets you add a message and returns false if the message cannot be added due to size restrictions.
This method is used for efficiency. There should be a sample showing it's use.

[x] Sending individual messages directly

Optional:

Sending an array of messages. The typical implementation of this simply creates a batch in the underlying method so that sending is an all-or-nothing deal (ie, no partial sends of the array). [moved to https://github.com/Azure/azure-sdk-for-go/issues/15691]

The work for this has been completed, with a separate issue carved out for the 'send array of messages' work.


worldofgoo: deprecate phases

Description of changes
part of #28910
@amaxine could you test this?
Things done

Built on platform(s)

[ ] 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

[ ] 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
[ ] 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.

No, sorry. Please refer to #307171.

oh sorry. Did not see this. (was looking at the maintainers list of 23.11)
Thanks for the fast response.


Do we need Windows special LIBRARY and INC appends?

conda-build has the following code:
fo.write('set "INCLUDE={};%INCLUDE%"\n'.format(env["LIBRARY_INC"]))
fo.write('set "LIB={};%LIB%"\n'.format(env["LIBRARY_LIB"]))

Things seem to work OK without but I guess we should still add these variables.
In an old xtensor build I can observe:
2024-01-25T22:30:24.7610181Z (base) %SRC_DIR%>set "INCLUDE=%PREFIX%\Library\include;"
2024-01-25T22:30:24.7615463Z
2024-01-25T22:30:24.7616111Z (base) %SRC_DIR%>set "LIB=%PREFIX%\Library\lib;"

@isuruf wrote on Element: LIB and INCLUDE are used by MSBuild. Also some projects use it to find the SDK directories and VS directories as these env variables are appended to by vsvarsall.bat.

I think we should add it but ideally we add a function to rattler to "append" variables so that we can do it cleanly.

Fixed by #1118


Unable to execute LXD on Arm emulator

Required information

Distribution:
Distribution version:
The output of "lxc info" or if that fails:

Kernel version:
LXC version:
LXD version:
Storage backend in use:

Issue description
I have qemu for arm64 running on my debian VM. I was able to generate the toolchain for arm64 using yocto and cross compile the LXD for my arm64 setup on qemu . I transferred the files and libraries to run lxd on the qemu setup in which i have the network connection enabled but when i execute LXD i am seeing the below error.
Steps to reproduce

Start LXD daemon
Run LXD init successfully
Launch a container with the below command
root@ls1043ardb:/dev/temp# ./lxc launch ubuntu:16.04
Creating the container
Error: Failed container creation: Get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: x509: failed to load system roots and no roots provided
root@ls1043ardb:/dev/temp#

Kindly let me know if i am missing any setup
I googled for this error and found that it could be related to ca-certificate and just for testing purpose i transferred the content from /etc/ssl/* on my debian system to my arm emulator /etc/ssl folder but this did not solve the issue for me.
Information to attach

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

Yep, that's the Go TLS stack failing to validate the certificate, most likely because you don't have the certificates in the location it expects. I'd recommend just running LXD under strace and see where it's looking.
Closing as not a LXD bug.

Thanks for your quick response.
Can you please provide me the instructions as to how i can run LXD under strace  or point me to any documentation for the same ?

Just run strace -f -p pid-of-lxd

Hi ,
I was able to run strace and i saw that the below errors are causing my LXD launch to fail.
newfstatat(AT_FDCWD, "/home/root/.config/lxc/client.crt", 0x4420114938, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/root/.config/lxc/client.key", 0x44201149f8, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/root/.config/lxc/client.ca", 0x4420114ab8, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/root/.config/lxc/servercerts/local.crt", 0x4420114b78, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
But i am not sure how/when to generate these files ?
Since this is an external dependency to LXD , how can i generate these file explicitly in my arm board so that the launch of LXD doesnt fail.

Those are irrelevant. I told you to strace lxd, not lxc.


[VS2017]Angular-CLI 6 not working on ASP.NET Core with Angular 5.2 project

I create default Asp.net Core Angular project. Is it possible to used Angular -CLI 6 with Angular 5.2. I did try a bit with by updated the version of typescript and angular cli version in package.json and added angualr.json but still ran it not issues.

Thanks for contacting us, @tkumark.
As far as I know, ASP.NET Core has no limitations in terms of the mentioned compatibility. The https://github.com/angular/angular-cli would be a better place to ask this question.
@SteveSandersonMS, please correct me if I'm wrong.

@mkArtakMSFT I agree with your comments.
@tkumark The easiest way to use Angular 6 with ASP.NET Core will be to use the updated Angular template that will ship in ASP.NET Core 2.2. In the meantime you could compare your implementation with our sources to figure out the differences.


[BUG] The prop 'resourceName'  of 'ListButton' does not take effect

Describe the bug
The prop 'resourceName'  of 'ListButton' does not take effect
To Reproduce
Use 'ListButton' with custom 'resourceName'
Additional context
Look at the following codes
https://github.com/pankod/refine/blob/9b3fd9128228bc48eb0f75e0d524202daae3d7e2/packages/core/src/components/buttons/list/index.tsx#L46
https://github.com/pankod/refine/blob/9b3fd9128228bc48eb0f75e0d524202daae3d7e2/packages/core/src/components/buttons/list/index.tsx#L68
resourceName is defined, but not used in the onClick function.
Other buttons have similar problem too.

Hey @wy-z ,
Thank you for referring to the issue. This is a known issue. Unfortunately, we couldn't find an easy solution.
Can you temporarily use the 'list, create, show, submit, etc...' methods of the 'UseNavigation' hook?

Hey @wy-z , This is a known issue. Unfortunately, we couldn't find an easy solution. Can you temporarily use the list, create, show, push, etc... methods of the useNavigation hook?

Ok, thanks for your support~

Hey @wy-z ,
I've created a new PR. #1401. I hope it will merge next week after discussing it with the core team.

Hey @wy-z , I've created a new PR. #1401. I hope it will merge next week after discussing it with the core team.
Thanks for everything.
May you have the best New Year ever~

Hey @wy-z ,
We've released 2.5.3! Could you approve the fix?

Hey @wy-z , We've released 2.5.3! Could you approve the fix?

Yes, thanks again.


Backup to s3

It'd be good to reference the JIRA issue/feature url in the commit message for obvious reasons like understanding the feature background, design decisions etc., to name a few.


ensure correct udp socket concurrent handling by mutex

Description
Sporadic crashing of UDP layer shutdown (triggered by eCAL::Finalize ) by resetting the socket while still handling receives. Socket needs to be protected by mutex.

Windows tests not passed anymore. Will not be applied to 5.11.x


undefined reference to `exception_memory::__cxx::cxa_free_exception(void*)'

I had the following issue when trying to compile the static_exception library:
CMake Warning at /usr/src/gtest/CMakeLists.txt:54 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.
static_exception/test/static_exception_test.cpp:37:20: warning: inline function ‘void exception_memory::__cxx::cxa_free_exception(void*)’ used but never defined
37 | extern inline void cxa_free_exception(void vptr) noexcept;
|                    ^~~~~~~~~~~~~~~~~~
static_exception/test/static_exception_test.cpp:36:20: warning: inline function ‘void exception_memory::__cxx::cxa_free_dependent_exception(void)’ used but never defined
36 | extern inline void cxa_free_dependent_exception (void vptr) noexcept;
|                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: CMakeFiles/static_exception_test.dir/static_exception_test.cpp.o: in function StaticExceptions_MemoryLeak_Test::TestBody()': static_exception/test/static_exception_test.cpp:193: undefined reference to exception_memory::__cxx::cxa_free_exception(void)'
/usr/bin/ld: static_exception/test/static_exception_test.cpp:194: undefined reference to `exception_memory::__cxx::cxa_free_dependent_exception(void*)'
collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/static_exception_test.dir/build.make:90: test/static_exception_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:153: test/CMakeFiles/static_exception_test.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
I used colcon build to build it.
gcc/g++ version are: 9.4.0.
Do you have any idea on how to solve this?
Thank you!

@EleonoreJ good catch! Looks like there was a missing #include <cstdlib> in there somehow.  I've opened up https://github.com/ApexAI/static_exception/pull/3 with the fix as well as added some CI to check for these types of errors in the future.  Feel free to use the CI script as a template on how to build and run the repo.

@flynneva Thank you for answering! Do you know when the issue will be solved?
And quick question: is it compliant with hard real-time requirements?
Do you know if it violates some Autosar's rules?
Many thanks!


ffmpeg: add missing variant requirements for amf

Things done

Built on platform(s)

[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[ ] Fits CONTRIBUTING.md.

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

I mean, does it hurt to have it in regular ffmpeg?
As far as ffmpeg itself is concerned, it's just the headers as an additional input and it's up to the user to install the AMF driver at runtime right?

I mean, does it hurt to have it in regular ffmpeg?

Probly not, was intending to fix an error i made while rebasing in #300764, will update this pr to make it clear that it should be in headless ffmpeg.

Yeah since the full variant has a lot of stuff that is of really questionable utility and security status I’d like for everything people could reasonably actually want to use to be in the other variants where possible. That way we wouldn’t run into things like MPEG’s dead‐on‐arrival codecs breaking the Handbrake build because it uses -full.

Switched it over to just make it explicitly set when headless is selected.


token hack kinda works

WELL IT SYAS IT WORKS BUT IT DOSE NOT FOR SOME REASON?

Working cheats here: https://github.com/Minesraft2/Blooket-Cheats


[BugFix] fix invalid equal range predicate construction for mv rewrite

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #14921
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 9 / 14 (64.29%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/ColumnRewriter.java
7
12
58.33%
[41, 57, 73, 80, 81]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/RangeSimplifier.java
1
1
100.00%
[]

run starrocks_admit_test

@Mergifyio backport branch-2.5


Dump adds quotes to some keys when using custom tag

As written in the title, yaml.dump adds quotes to some keys when using custom tags.
I've made a code sandbox (you can find here) and below a code sample where the issue is visible:
// sample.ts
import yaml from "js-yaml";

interface PoseType {
  x: number;
  y: number;
  z: number;
  rx: number;
  ry: number;
  rz: number;
  rw?: number;
}

class PoseTag {
  public pose: PoseType;
  constructor(props: PoseType) {
    this.pose = props;
  }
}

const PoseYamlType = new yaml.Type("!Pose", {
  kind: "mapping",
  resolve: (data) => {
    const val =
      typeof data.x === "number" &&
      typeof data.y === "number" &&
      typeof data.z === "number" &&
      typeof data.rx === "number" &&
      typeof data.ry === "number" &&
      typeof data.rz === "number" &&
      typeof data.rw === ("number" || "undefined");
    return val;
  },
  construct: (data: PoseType) => new PoseTag(data),
  instanceOf: PoseTag,
  represent: (obj: PoseTag) => obj.pose
});

// create schema
const schema = yaml.DEFAULT_SCHEMA.extend([PoseYamlType]);

const testPose: PoseType = {
  x: 2.46,
  y: 26.853,
  z: -9.792,
  rx: -0.969,
  ry: -0.001,
  rz: -0.233,
  rw: 0.078
};

const obj = new PoseTag(testPose);

const output = yaml.dump(obj, { schema: schema });
console.log(output);

expected output:
!Pose
x: 2.46
y: 26.853
z: -9.792
rx: -0.969
ry: -0.001
rz: -0.233
rw: 0.078

received:
!Pose
x: 2.46
'y': 26.853 # <---
z: -9.792
rx: -0.969
ry: -0.001
rz: -0.233
rw: 0.078

y without quotes is a boolean true value in YAML 1.0, old version of the spec: https://yaml.org/type/bool.html
so it's intentional, but we probably should drop support for that at some point

gonna close this, duplicate of https://github.com/nodeca/js-yaml/issues/645


the error when build tests dirctory

Build Process
Describe how you build polybar, list the exact commands you are using:
cd polybar/tests
mkdir build
cd build
cmake ..
make
If you build polybar directly from this repository:

Output of git describe --tags:

If you use some other way (like the AUR):
List exactly where you are building from and which version you are building.
Build Log
Post everything that is output to the terminal while building polybar below. This HAS to include the output of the cmake and make commands, if you used them.
LaMar# make
[  5%] Built target gtest
[ 11%] Built target gmock
[ 17%] Built target gmock_main
[ 20%] Building CXX object CMakeFiles/unit_test.utils_math.dir/unit_tests/utils/math.o
In file included from /usr/include/c++/5/tuple:35:0,
                 from /home/lamar/linzr/polybar/tests/build/googletest-src/googletest/include/gtest/internal/gtest-port.h:275,
                 from /home/lamar/linzr/polybar/tests/build/googletest-src/googletest/include/gtest/internal/gtest-internal.h:40,
                 from /home/lamar/linzr/polybar/tests/build/googletest-src/googletest/include/gtest/gtest.h:60,
                 from /home/lamar/linzr/polybar/tests/common/test.hpp:13,
                 from /home/lamar/linzr/polybar/tests/unit_tests/utils/math.cpp:1:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
/home/lamar/linzr/polybar/tests/unit_tests/utils/math.cpp:2:26: fatal error: utils/math.hpp: No such file or directory
compilation terminated.
CMakeFiles/unit_test.utils_math.dir/build.make:62: recipe for target 'CMakeFiles/unit_test.utils_math.dir/unit_tests/utils/math.o' failed
make[2]: *** [CMakeFiles/unit_test.utils_math.dir/unit_tests/utils/math.o] Error 1
CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/unit_test.utils_math.dir/all' failed
make[1]: *** [CMakeFiles/unit_test.utils_math.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Environment:

Distro (with Version):

Additional context
Add any other context that you think is necessary about the problem here.

That's not how we compile the tests.
You compile the tests in the polybar/build directory, just as you would when compiling polybar regularly. But you add the -DBUILD_TESTS=ON argument to cmake. make should then build polybar and its tests. If you only want to build the tests run make all_unit_tests.
We should start to write documentation for that though.


Document pod-template-hash label

Fixes https://github.com/kubernetes/kubernetes.github.io/issues/3569
@kubernetes/sig-apps-misc

This change is

@kargakis Is this for the 1.7 release? If so, I'm going to tag it w/ the 1.7 Milestone and move it to the release-1.7 branch.

pod-template-hash label is implementation detail. It should be documented in developer docs, not user docs IMO. @chenopis WDYT?

Do users need to know about the pod-template-hash label at all? If it's an important concept for them to know in order to perform common tasks, then it's fine to be here. Otherwise, if they can get by without knowing this at all, then I would agree that it should go in the developer docs instead.

pod-template-hash label is a mechanism for Deployment to separate its children (ReplicaSets) so that they won't fight with each others over the control of the grandchildren (Pods). Users only need to know how to update Deployments and how to interpret Deployment statuses, without knowing anything about this label.

Ok, then I would be inclined to put this in the developer docs. @janetkuo Can you suggest a location? Thx

https://github.com/kubernetes/community/blob/master/contributors/design-proposals/deployment.md

@kargakis If you agree, then I will close this PR.

pod-template-hash label is implementation detail. It should be documented in developer docs, not user docs IMO. @chenopis WDYT?

The fact that users are confused with this label and ask questions about it, warrants adding a section in user docs.

Well, if users are asking questions about it, I don't see the harm in having it in the user docs as well.

@chenopis can we move forward with this one?

@chenopis ping

Sorry for the delay, taking a look now

@kargakis Sorry for the delay. I was out of town last week. If you can address @janetkuo comments, I can merge this.

@chenopis @janetkuo comments addressed, ptal

I'm good w/ this. Once @janetkuo gives the tech lgtm, I will merge it.


Material combine mode hash table

Store default on world. Each shape can have a material index 0-255 which 0 being default and using the world setting for 0-0.
I don't have a hash table now, just a hash set.

mixing-patch.patch
I think it would be more than adequate to do what PhysX does here for mixing friction/restitution per-shape by simply using the mixing rule that has the max value rather than a look-up table/hash: https://nvidia-omniverse.github.io/PhysX/physx/5.4.2/_api_build/struct_px_combine_mode.html?highlight=pxcombinemode#
They could also be compressed to a byte each and combined into a uint16 if memory was a concern.

Rapier also has per-collider mixing rules like PhysX: https://rapier.rs/docs/user_guides/rust/colliders#friction

To add, the above patch would like use the following instead:
`static inline float b2MixRules( float value1, float value2, b2MixingRule rule1, b2MixingRule rule2 )
{
b2MixingRule mixingRule = (b2MixingRule)b2MaxInt( rule1, rule2 );
switch ( mixingRule )
{
	case b2_mixAverage:
		return 0.5f * ( value1 + value2 );

	case b2_mixGeometricMean:
		return sqrtf( value1 * value2 );

	case b2_mixMultiply:
		return value1 * value2;

	case b2_mixMinimum:
		return value1 < value2 ? value1 : value2;

	case b2_mixMaximum:
		return value1 > value2 ? value1 : value2;

	default:
		B2_ASSERT( false );
		return 0.0f;
}

}`

Is there any justification for the precedence rule? It seems arbitrary. Why not have a hash table to look up the combine rule for two materials?


Events are not shown in week view in case of multiple days event with 00:00:00 endtime

Condition:
start:  2019-07-12 00:00:00
end:  2019-07-14 00:00:00
Possible Root cause:
In cell.vue, multiple days event case is not considered in events():get():line 189

Thanks for reporting @louhuaidong, this will be fixed in the v2 coming very soon.
Meantime you can set an end time at 23.59

Hi @louhuaidong, the V2 is out, if you want to end an event at the end of the day, you will have to set the end time at 24:00 instead of 00:00, which is more explicit and internally processed to stay on the same day.
Please have a look at the documentation from the API section > events:

You can set an event end at 24:00 if for some reasons that's what you want, but internally the date will be set at 23:59:59 so the date stays the same instead of natural behavior of taking the next day at 00:00:00.
When returned from emitted events, this event endDate will contain a date ending at 23:59:59.
If you want to end an event at 00:00, you have to set 24:00 instead, to keep it to the same day you intended.

Hope it helps.

Hi,
Thanks for the update.  I hav tried out V2.  The bahavior is just same as you and the doc described.  But in my case, it is still a little bit tricky and confused.  For example, if an event is ended at 2019-07-27 00:00 for some reason (like user input), I cannot transfer it to 2019-07-27 24:00, instead I have to set it to 2019-07-26 23:59:59.  It is still a workaround I think.  It would be cool if the vue-cal can do this automatically.
Thanks
Huaidong

I understand @louhuaidong, @arminmsg.
I leave this open and will try to handle this case internally if it's possible.

I had to work around this by converting the date emitted by my date picker  to milliseconds, deduct 1 millisecond, and then convert back to a date string before saving the event to my database. I think you should solve this issue in a future version because one never knows when an emitted date could be a millisecond past the hour and this problem would re-occur.

I have been experimenting with this bug and have found which options do work and which options do not work. I hope this helps those experiencing this issue:
  data: () => ({
    selectedDate: '2019-01-01',
    events: [
      {
        startDate: new Date('2019-01-01T00:00'),
        // Does Work
        end: '2019-01-01 24:00',

        // Does not work
        // endDate: new Date('2019-01-02T00:00'),

        // Gets converted to the same as directly above; Does not work
        // endDate: new Date('2019-01-01T24:00'),

        // Does not work
        // end: '2019-01-02 00:00', // Does not work
        title: 'FooBar'
      }
    ]
  }),

Hi @louhuaidong, @eakenbor, @Arminmsg, @Twoody,
I added support for events ending at 00:00 in version 2.15.0.
Demo: https://codepen.io/antoniandre/pen/MRZqaO?editors=1010


Autoformat Java examples

[x] Need to merge #3903 first because it's built directly on top of it to reduce conflicts.

Change 2/3 for #3829

I updated the PalantirFormatModule.scala so that it didn't create a ton of noise when there's actually no issues such as no java code changing. I think this is a good thing to do, but I'm not 100% since some users might feel this change in some way.
Bugfix: The Github Action now fails on any error instead of only ./mill -i __.fix --check (was using ; instead of &&)
Added Palantir formatting into the Github Action
Removed a lot of cruft so that the example java modules could use the PalantirFormatModule.

@lihaoyi I'm missing some fixes on keeping the linting examples there. Otherwise I think this one is about ready.

@lihaoyi I think this one is ready for a review when you get a chance.

 I'm guessing those expect their test data to be mis-formatted, so we might need to figure out a way to skip those

So PalantirJavaFormat does not provide any builtin flags to ignore files or folders, instead Mill manages the listing of files to pass to the tool.
https://github.com/com-lihaoyi/mill/blob/4c05156ccd8eca733411139b40886af7fcc485dc/scalalib/src/mill/javalib/palantirformat/PalantirFormatModule.scala#L173-L181
So we likely need to add some logic in Mill to allow PalantirJavaFormatModule to ignore particular globs, and then use that in Mill's own build (after rebootstrapping) to ignore the files and roll out enforcement internally.
To do this, I suggest we overload PalantirFormatModule.formatAll to take an additional optional parameter excludedGlobs: Seq[String]. We can then plumb those through to the java-file-listing above and use it to ignore files matching a glob (may need to find a glob-matching implementation online). We'd need to preserve the current formatAll signature for binary compatibility, but it can be a dumb forwarder to the new implementation

I had actually already implemented skipping some files from the .mill side
but I guess I missed something.
On Sat, Nov 9, 2024, 15:40 Li Haoyi @.***> wrote:

So PalantirJavaFormat does not provide any builtin flags to ignore files
or folders, instead Mill manages the listing of files to pass to the tool.
https://github.com/com-lihaoyi/mill/blob/4c05156ccd8eca733411139b40886af7fcc485dc/scalalib/src/mill/javalib/palantirformat/PalantirFormatModule.scala#L173-L181
So we likely need to add some logic in Mill to allow
PalantirJavaFormatModule to ignore particular globs, and then use that in
Mill's own build (after rebootstrapping) to ignore the files and roll out
enforcement internally.
To do this, I suggest we overload PalantirFormatModule.formatAll to take
an additional optional parameter excludedGlobs: Seq[String]. We can then
plumb those through to the java-file-listing above and use it to ignore
files matching a glob (may need to find a glob-matching implementation
online). We'd need to preserve the current formatAll signature for binary
compatibility, but it can be a dumb forwarder to the new implementation
—
Reply to this email directly, view it on GitHub
https://github.com/com-lihaoyi/mill/pull/3919#issuecomment-2466104002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAP4ANE3JV22YFYEZLKXVLLZ7W355AVCNFSM6AAAAABRLLUVESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGEYDIMBQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

The glob solution seems like a good way to go but I'm not sure when I can
do it. Kotlin needs a similar mechanism and I think it would be good to
have all the linter modules have roughly the same interface (where
possible) which they don't currently.
On Sat, Nov 9, 2024, 15:43 Myyk Seok @.***> wrote:

I had actually already implemented skipping some files from the .mill side
but I guess I missed something.
On Sat, Nov 9, 2024, 15:40 Li Haoyi @.***> wrote:

So PalantirJavaFormat does not provide any builtin flags to ignore files
or folders, instead Mill manages the listing of files to pass to the tool.
https://github.com/com-lihaoyi/mill/blob/4c05156ccd8eca733411139b40886af7fcc485dc/scalalib/src/mill/javalib/palantirformat/PalantirFormatModule.scala#L173-L181
So we likely need to add some logic in Mill to allow
PalantirJavaFormatModule to ignore particular globs, and then use that
in Mill's own build (after rebootstrapping) to ignore the files and roll
out enforcement internally.
To do this, I suggest we overload PalantirFormatModule.formatAll to take
an additional optional parameter excludedGlobs: Seq[String]. We can then
plumb those through to the java-file-listing above and use it to ignore
files matching a glob (may need to find a glob-matching implementation
online). We'd need to preserve the current formatAll signature for
binary compatibility, but it can be a dumb forwarder to the new
implementation
—
Reply to this email directly, view it on GitHub
https://github.com/com-lihaoyi/mill/pull/3919#issuecomment-2466104002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAP4ANE3JV22YFYEZLKXVLLZ7W355AVCNFSM6AAAAABRLLUVESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGEYDIMBQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah I just noticed your skipping code in Mill's own build. Not sure why it's not working

Pushed some fixes, let's see if this works

Oh interesting. I see you changed the sources in example/build.mill, is that what added a lot more linting to this? That found a lot of files I missed.

@myyk yeah, previously we only used lintableJavaSources in PalantirFormatModule/, and didnt use it in ScalafmtModule/ so the Scala .mill files were not picked up. Furthermore, sources was pointed at testRepoRoot, which for the javalib/ examples contains a copy of the files and not the original ones so formatting them doesn't do anything.
By re-using the name sources, both PalantirFormatModule/ and ScalafmtModule/ pick up all of them, which is why now the .mill files in the Java folders are being picked up. And I re-targeted sources directly at millSourcePath, so it doesn't get affected by the override of testRepoRoot in ExampleCrossModuleJava

That all makes sense. Oh, I think I fixed some of that in the next change #3923 and didn't back port it because I thought it was working enough in this PR. Sorry about that. But also, I wasn't sure about fully redefining sources like that because I'm new to the project. That makes a lot of sense though and I'm glad for the help.


Font used on Filtered Users does not show difference between I and l

The difference between I and l should be shown in the list of users and on the filtered posts count on the page.

Changed to Roboto Slab font in version 2.2.1. Better but the difference between upper case i and lower case L is subtle at the font size used.


No reason for zabbix to able to change its own config

Configs should be owned by root, so zabbix daemon can't change them

Yes, you are right. Thanks!


Fixed memory issues with data classification

Codecov Report

Merging #985 into dev will decrease coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #985      +/-   ##
==========================================
- Coverage   78.71%   78.59%   -0.12%
==========================================
  Files          25       25
  Lines        8127     8139      +12
==========================================
  Hits         6397     6397
- Misses       1730     1742      +12

Impacted Files
Coverage Δ

...x86/php-7.1.29-src/ext/sqlsrv/shared/core_util.cpp
46.12% <0%> (-1.23%)
:arrow_down:

...php-7.1.29-src/ext/pdo_sqlsrv/shared/core_util.cpp
43.53% <0%> (-1.16%)
:arrow_down:

...x86/php-7.1.29-src/ext/sqlsrv/shared/core_stmt.cpp
84.42% <0%> (-0.46%)
:arrow_down:

...php-7.1.29-src/ext/pdo_sqlsrv/shared/core_stmt.cpp
77.8% <0%> (+0.45%)
: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 e02db62...ced1e0c. Read the comment docs.

Coverage increased (+0.01%) to 73.965% when pulling<PHONE_NUMBER>9eef10ef8b62d59cb8bac1d7e1b47e on yitam:fixClass into e02db623df77ef028ce8b133713efa0022265e71 on Microsoft:dev.


Bump carbon-commons version

$note subject
Related PRs:

https://github.com/wso2/carbon-commons/pull/485

Already bumped


Fix Tomcat URL handling fallout

Issue https://github.com/flyway/flyway/issues/1549
Untested proposed fix.
Patch against 4.1.2

@thomasmey Could you please get in touch with me by email? (axel at boxfuse.com) Thanks!


⚠ Bofrost.nl has degraded performance

In f07dc0e, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1607 ms

Resolved: Bofrost.nl performance has improved in 3e75bb8.


Failed to Connect.

Update: I believe the issue was my firewall between my home network and my IoT network.   It seems to be cocifgured and running.  DId not see a way to delete this.  Thanks!
I set-up the local access.
I am getting failed to connect.   Not sure how/where to debug.  I am only providing the IP address in the configuration.
I shutdown and restarted the hayward omnilogic controller with no change.
Access via the app and cloud home assistant integration works great.  I confirmed the IP address directly from the unit.   Can ping the IP just fine (not sure if there is another way to validate the service is accessible)
Any suggetions?
Thanks.

And I am still relatively new - I don't see a way to get back to the configuration screen to enter the ip address again.   I am cruious if my IoT wifi network and my firewall were causing issues so I re-did the WIFI but don't see a way back to the set-up screen.

Ok - got it to connect with "Success" but am now getting Failed Setup - will retry.

Not an issue with the add-on - most likely was a firewall issue on my end,.


Resnet Strikes Back Pretrained Models

Hello, are there other models such as Resnet 101 in mmlab? Or can I directly use the models from here:  https://github.com/rwightman/pytorch-image-models/releases/tag/v0.1-rsb-weights

We use checkpoints of backbone provided by mmclassification, and ResNet 101 is not supported yet in mmclassification. The pretained model provided in timm may can not be used directly, because the name of weights in checkpoint of r101 provided by timm may be different from the naming conventions resnet101 in mmdet. You can try to replace the name of weights, and load them.


Only UCSC is allowed to log-in

Currently the system limits login to only those with a ucsc.edu email. We need to make it so that you can dynamically assign a list of domains that are allowed to login into the system.

Release 1.0.6 lifts this restriction. In the future we would modify this so you have a database of allowed users rather than restrict it by domain.


npm and package.json

Hi, coud you please add a main file direction and publish the latest version to npm which you'll need to update the package.json version number.
package.json
{
  "name": "angularSlickCarousel",
  "version": "3.0.9",
  "main": "dist/angular-ui-router.js"
}

$ npm publish

Adding a  main allows users to use it as a npm module in Browserify/Webpack
var angularSlickCarousel = require('angular-slick-carousel');
// or with in ES6
import angularSlickCarousel from 'angular-slick-carousel';

Otherwise it throws this error
ERROR in ./app/scripts/app.js
Module not found: Error: Cannot resolve module 'angular-slick-carousel'

Updated
But it seems someone has published this package.
So i can't publish it now. But i have sent a email to him that tel him it is available to publish new version.


any sample?

is here any sample for usage? thx!

No, there is no need for one. Usage is like any other image package in Go, i.e. jpeg, gif, etc.


Add prepend and append operators to FluentSequence

And modify return type on all implementing types.

Merged in https://github.com/aol/cyclops-react/pull/451


[Fix #6266] Run HasManyOrHasOneDependent only for ActiveRecord class

Closes: https://github.com/rubocop-hq/rubocop/issues/6266

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run rake default. It executes all tests and RuboCop for itself, and generates the documentation.

The changes look good, but your branch has to be rebased on top of the current master branch due to merge conflicts.

@bbatsov Done.

@tejasbubane Btw, other ActiveRecord specific cops should probably behave similarly.

PR #6315 fixes a regression of this change.
Apart from that, we need to consider false negative when using mix-in.
https://github.com/rubocop-hq/rubocop/issues/6266#issuecomment-422651337
I have not ideas yet, but this approach to directly check superclass will have false negative problem.

This is one idea. It seems better to check whether it is ActiveResource::Base instead of ActiveRecord::Base or ApplicationRecord. It does not check if the superclass is ActiveResource::Base.


fix pass num local sink to backends

Proposed changes
FE should inform a BE how many sinks are created on it.


[Request] Boxed container color icon combinations

Add color for combinations of icons for boxed container.
Icon combinations:
unownedIcon + cardIcon
unownedIcon + decommissionedIcon
unownedIcon + decommissionedIcon + cardIcon

Done! Please check out https://github.com/Revadike/SteamWebIntegration/releases/tag/V1.12.0


Update config.yml

Why?

I'm deleted line

world_nether.

Yeah, but why should this be changed on the default config?

?

Merged as I think it would be better for new users.


Assertion !"unreachable" failed.

This was triggered by pasting more than 64 bytes to the terminal. I fixed this easily for my own purposes by increasing ENOUGH_DATA_FOR_PARSING, but I thought it would be worth noting.
Great job on the library, by the way, I love the design of it. :-)

That's a bug actually, I'll fix it.

Oh and if you like Go, or maybe haven't had a chance to check it out. Go's termbox version is the most featureful one: https://github.com/nsf/termbox-go
Just a silly suggestion to check it out. I like Go mostly because it provides built-in primitives for dealing with event loops, while C version ideally should be embeddable into various main loop libraries (such as GMainLoop or libev or you name it).

Should be fixed by a pull request: https://github.com/nsf/termbox/pull/52

I've tested it in the same use-case with pastes of various lengths (up to 32768 bytes) and I had no issues with this new commit.


The implementation difference of VTN in this repo comparing to VTN paper and retraining results report.

Thanks a lot for making your codes and dataset publicly available. And also congratuations to authors becasue recursive cascaded strategy of base networks dose work well for image registration.
Recently, I have downloaded your dataset and tried to retrain the model with tensorflow 1.5 and CUDA 9.1. I found the following questions:

According to this repo, the checkpoint is saved every 6 hours and 99500-epoch cpkt is saved for evaluation, is this setting also adopted to report the final results in your paper (it is not mentioned in the paper if the results listed are top results or others)?

2, The  implementation of VTN in this repo is different from the original VTN paper "Unsupervised 3D End-to-End Medical Image Registration with Volume Tweening Network". The architecture shown VTN paper Fig3 and Fig4, do not have conv3_1 (see basenet.py, line 68& line 210) in the affine and deform subnetwork. And also, it is mention by another issue that the decoder uses 5 additional upsampling branches ((see basenet.py, line 95 etc.), this is also not mentioned by VTN. (And it is worth nothing but these upsampling branches do not use LeakyReLU after conv and decon as activation interestingly)

And maybe due to the above reason，when I retrain your "improvemented VTN" on live CT scan, the resulst of 1-cascade VTN is dice: 0.915 and landmark 13.1 by evaluating 99500-epoch ckpt closing to your  results in "Recursive Cascaded Networks for Unsupervised Medical Image Registration". But I adjusted to retrain the original VTN (remove conv_3 and 5 upsampling branches) , the result of  1-cascade VTN is dice: 0.909 and landmark 13.2 . A relatively obvious difference existed in dice score results.

This findings do not influence the success of  recursive cascaded strategy. Maybe you can address the difference between "improvemented VTN" and "original VTN"? or do I misunderstand anything?
Again, thanks a lot.

Yes, the results listed are the 99500-epoch ckpt.
The original VTN also uses this implementation. The upsampling branches are not mentioned because it was originally designed for deep supervision but we did not do it so we did not think it is going to affect that much.
This finding is interesting. However, in our reported results, the score is higher than the original VTN paper only because the loss function is only evaluated on the very end images.

Yes, the results listed are the 99500-iter ckpt.
The original VTN also uses this implementation. The upsampling branches are not mentioned because it was originally designed for deep supervision but we did not do it so we did not think it is going to affect that much.
This finding is interesting. However, in our reported results, the score is higher than the original VTN paper only because the loss function is only computed on the very end images.

Hi， thank you for your kind answers.
For your #2 comment， I am just afraid that there may be something wrong in the pratical implementation of VTN and what is described in VTN (IJBHI) paper. The "deep supervision" branches is concatenated and used as a part of the input of the next deconv layer, but the original paper only metioned skip connection. And you can have a look at the number of conv layers in the encoder part and affine net, it is different from what is drawn in the figure 3 of VTN.
For your #3 comment， maybe there is something misunderstood. I do not reproduce the results reported in VTN, because the training set and testing set are different in two works. And I don't understand what is "the very end images" . What I try to report is that, I implement a VTN the same as what is drawn in IJBHI(VTN) (because in this recursive cascaded paper, it says "inherit VTN" ) but a relatively obvious difference occurs when the architecture is adjusted to be exactly the same as what is descirbe in VTN.

Yes, thank you for your interest; I acknowledge that the VTN paper is unclear about the upsampling branches. Here we can assume that VTN is supposed to have them.


Add audit event for failed login

Summary
We have an audit event type defined for user_auth_failed but this
doesn't seem to have been added to the appropriate API endpoint. We've
had a support query come in that we are unable to properly investigate
due to being unable to tie up login attempts with requests. This now
adds an audit event on failed login which will store the email address
of the account, the client IP making the request, the hashed password
and the number of failed login attempts currently on the account (after
adding one for the current requests).
Ticket
https://trello.com/c/iSAzWgQk/466

Another thing that would help would be binding the traceid to the AuditEvent

Have just realised that including a freshly-hashed password is pointless as it'll have a different salt and be completely incomparable. Do we think it's worth including a hashed version of the password using the same salt as set for the current user's password, or just drop this from the audit event altogether? I suspect it's probably not of much use, so maybe best to just not insert it.

I think this is badly non compliant with GDPR. We'd be collecting and storing personal data without any defensible lawful basis.
https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/lawful-basis-for-processing/
Let me have a think and see what I can come up with.

Thanks for the chat offline.
This PR will only store audit events for users with accounts, which means they've agreed to our terms & conditions. As we've both concluded, this should cover us in terms of GDPR.
Let me know if you have any other issues with this, though :)


Allow using ESLint's formatters

There's probably a valid reason for this not being a thing, but as it's an easy change, I threw together this PR anyways :smile:
Basically, I prefer the default (stylish) output, and not the boring one included in this package.
Another approach would be to have it as a flag, and not a string. Then only allowing either the included formatter, or eslint default (stylish atm).
Need to add it to package.json config as well (and docs), but as that wasn't immediately apparent to me how to accomplish, I'll wait for this to be an accepted change. No reason wasting time on it if you're not interested in this :smile:

I would prefer to solve this outside of standard core, since it's not an essential feature.
I published a new package snazzy that does just what you need: it transforms "compact" output to "stylish".

Compared to before:

install
npm install -g snazzy

usage
Pipe "compact" text into the snazzy command to get back pretty results:
$ standard --verbose | snazzy

Or, just run snazzy directly and it will run standard and give you pretty results:
$ snazzy

snazzy supports all command line flags that standard supports:
$ snazzy --format --verbose test1.js test2.js

Sweet, I'll use that. Thanks!


A bit more detail required

I think it would be helpful to make it completely obvious that you need to add
inputs:
categories: 'secrets'
to the MicrosoftSecurityDevOps@1 step in the YAML.

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

ID: 6d49f01c-0bc4-eff0-fe01-ff3cbb26046d
Version Independent ID: 740d06a0-b122-0e95-b6f4-d29f5e5e9b5a
Content: Detect exposed secrets in code - Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/detect-exposed-secrets.md
Service: defender-for-cloud
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

@adityasm96
Thanks for your feedback! We will investigate and update as appropriate.

#reassign:elazark

#label:"backlog-item-created"

Thank you for your comment. We'll investigate and get back to you.

@LaughingJohn I've spoken to the appropriate people and found out they are actually working on this feature at the moment and there will be changes coming in the future. They have asked me not to make any changes to the documentation at this time.

#please-close


Different types of switches

Hi!
Could be possible to add different types of switches?
Like a push button or a stateless switch

This repo is mainly to be a base repo for people to build there own of. We don't want to add to many features as then it wouldn't meet the original goal. If you like do a PR and we'll consider it


Fetch channel in migration when there are multiple channels with same currency code

What I'm trying to achieve
I am studying the new Channel feature. Thanks for providing it! It can be useful.
I have one question.
From the documentation, we can create a currency for each channel. We can also create multiple channels with the same currency. (E.g., one web-channel, one mobile-channel.)
When I look at the code, I notice this migration snippet, which gets the channel by the currency_code. Seems to me it would cause a problem if there are multiple channels with the same currency code.
Note that it happens in multiple migration files as well, including vouchor/order/shippingmethod/collection_channel_listing.py,
File saleor/product/migrations/0134_product_channel_listing.py
def migrate_products_publishable_data(apps, schema_editor):
...
    channels_dict = {}

    for product in Product.objects.iterator():
        currency = product.currency
        channel = channels_dict.get(currency)
        if not channel:
            name = f"Channel {currency}"
            channel, _ = Channel.objects.get_or_create(
                currency_code=currency,
                defaults={"name": name, "slug": slugify(name)},
            )
            channels_dict[currency] = channel

Do you have thoughts on this? Thanks.
Steps to reproduce the problem
Not yet.
What I expected to happen
Maybe add logics to deal with multiple Channels with the same currency_code when migration.
System information

[ ] dev (current main)

Operating system:

[ ] Linux

I don't think that there is anything to worry about here. Assuming that, you're migrating from 2.10 or 2.11 to 3.0. Previous versions didn't support multiple currencies, and Saleor was using a currency defined in settings.py. At the end of migrations, you will finish with a single channel with a single currency (used in Saleor previously).


Enabled 3D header REQ-VIDEO-LAYOUT https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis

I am trying to parse a 3D video manifest and it requires REQ-VIDEO-LAYOUT tag
As per the draft RFC https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis
Have updated the changes accordingly, please have a look and let me know if something to be updated

@carlanton please have a look at the changes, let me know if you have some suggestions

Hello and thanks for the PR.

Can you add test vectors for REQ-VIDEO-LAYOUT?
Would it make sense to model it as a list of strings? Like CODECS https://github.com/carlanton/m3u8-parser/blob/master/src/main/java/io/lindstrom/m3u8/model/Variant.java#L40.

Best regards,
Anton


Show or detect code completions/suggestions from external plugins/frameworks

Hello, have problems when using external frameworks/plugins inside Neovim.
Let say i want to use RxSwift functionalities in my iOS app project. Then i install the frameworks with SPM like usual, and the frameworks was successfully installed and ready to use.
if i use the frameworks inside XCode, it will show the code suggestions/completions perfectly, like the screenshoots below.

And this screenshoots below shows that nvim cannot export and show/detect the installed frameworks inside XCode.

This screenshoots below shows that external frameworks installed correctly.

And this is my questions:

Are you have the same problems when working with nvim, or there's something missing from my nvim configuration?
Is that possible to work with the external frameworks inside nvim?
Or nvim with lsp just can help with code completions/suggestions from server, and cannot provide the same behavior when working with external frameworks?

I hope you're not confusing with my explanations. Thanks 🍻

Hello,
it's a matter of LSP, it looks like in your case it doesn't understand the project. Try opening the project in Xcode, clean build, run xcode-build-server command again, open Neovim in root directory where buildServer.json is (call just nvim from there) and see again if it works.

Hello again, mate.
So i've just try to delete my own NeoVim configuration and replace it with yours, and these are the results:

Try to correct neovim config with your config.

NeoVim starts and installing plugins based on your NeoVim configurations:

I've changed the LSP path, LLDB path, and the others to match with my computers path:

This is my generated buildServer.json from xcode-build-server:

I try to open my XCode directories which i was generated the buildServer.json file in the root of the directories

I try to import some library from Apple inside my Swift file in the XCode directories, and i think LSP failed to run, without knowing what the import is.

I try to open LspInfo for check the LspStatus, but it says successfully start.

I try to open LspLog to try find out whats happening, and these errors was thrown:

And, with your config, the LSP for other languages was died/failed to start, i don't know what the reasons.
So, that was my report for you.
Have a good day, mate 🍻

I see that your "buildRoot" is incorrect in buildServer.json it should point to project in DerivedData folder.
Try clean build from Xcode and run then xcode-build-server again. If buildRoot is still incorrect, try setting it manually.
You can also report issue to: https://github.com/SolaWing/xcode-build-server
This repository would be more relevant to resolve issues with LSP. As this plugin doesn't affect any LSP behavior.

Hello, i've try to create and generate simple project from XCode to try your suggestions. And i think the old issue still persist.

This is my simple generated project structure from XCode:

This is my generated buildServer.json:

And this is the results when i'm trying to import Foundation:

I will try to report into this repo too: https://github.com/SolaWing/xcode-build-server
Thank you very much for your attention.


Update example "Train a Vision Transformer on small datasets" from keras 2 to 3 version

I am excited to contribute to this project. This is my first one. I have updated the example from keras 2 to keras 3.

I converted another example (vit_small_ds.py) to version 3, but under the same branch (mine). Should I add those files as well

Yes, it's fine to do 2 examples in a single PR!


Create New-NavContainerNavUser Error

Describe the issue
Getting an issue while creating a new nav user in a container.

I always need the script needed to create the container and the full output of that process.
Also, I need the script that causes the error - above you are specifying SUD as credential - what is that? credential should be a PSCredential object - a variable or like.

Hi @freddydk ,
Based on above script i was able to create a NavUserPassword type user earlier.
But this time i am getting this issue.
SUD in above command automatically pick the username in the windows shown for entring password like below. Then i pass the credentials from there.

Let me know what else you need!!
Thanks
SUD

Try to run PowerShell as administrator.
Else you need to provide the script and the output from the container generation - not the New-NavContainerNavUser statement alone. I can run that - and that works fine, so something is wrong with PS or your container.

Yes tried to run with Administrator also.
Below is the script for container generation.
#install-module navcontainerhelper -force

# set accept_eula to $true to accept the eula found here: https://go.microsoft.com/fwlink/?linkid=861843
$accept_eula = $true

docker login "bcinsider.azurecr.io" -u "xxx" -p "xxx"

$containername = 'BC17'
$navdockerimage = 'bcinsider.azurecr.io/bcsandbox-master:us'
$appbacpacuri = ''
$tenantbacpacuri = ''
$licensefile = 'C:\Users\dockeradmin\Documents\ V16_02_JUN.flf'

$publicdnsName = 'BC17'

#$additionalParameters = @("--env PublicDnsName=$publicdnsName")

if ($appbacpacuri -ne '' -and $tenantbacpacuri -ne '') {
    $additionalParameters = @("--env appbacpac=""$appbacpacuri""","--env tenantBacpac=""$tenantbacpacuri""")
}
$additionalParameters = @("--env PublicDnsName=$publicdnsName","--publish 8080:8080",
"--publish 443:443","--publish 80:80",
"--publish 7046-7049:7046-7049")

$credential = get-credential -UserName $env:USERNAME -Message "Using Windows Authentication. Please enter your Windows credentials."
New-NavContainer -accept_eula:$accept_eula `
                 -containername $containername `
                 -auth NavUserPassword `
                 -memoryLimit 5GB `
                 -Credential $credential `
                 -includeAL:$true `
                 -alwaysPull `
                 -usessl:$false `
                 -licenseFile:$licensefile `
                 -updateHosts `
                 -assignPremiumPlan `
                 -shortcuts Desktop `
                 -imageName $navdockerimage `
                 -additionalParameters $additionalParameters

Setup-NavContainerTestUsers -containerName $containername -password $credential.Password

I dont know how to check output of a running container. Because i closed the previous powershell session and now i cant copy output.
Thanks
SUD

Then you would have to run it again.
As you can imagine - the New-NavContainerNavUser is being used a lot and of course it doesn't fail always.
It fails because something else is wrong - and if I cannot get any other information, then I cannot help.

Also - running it as administrator - what error did that give (probably not the same as I could see on the other error that it was running as non-admin).

Hi @freddydk
Below is the output for above container creation command.

docker : WARNING! Using --password via the CLI is insecure. Use --password-stdin.
At line:6 char:1
+ docker login "bcinsider.azurecr.io" -u "2151f4c8-8fc2-4c87-a360-4f6c7 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (WARNING! Using ...password-stdin.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

WARNING! Your password will be stored unencrypted in C:\Users\dockeradmin\.docker\config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
NavContainerHelper is version <IP_ADDRESS>
NavContainerHelper is running as administrator
Host is Microsoft Windows Server 2016 Datacenter - ltsc2016
Docker Client Version is 19.03.5
Docker Server Version is 19.03.5
Removing container BC17
Removing BC17 from host hosts file
Removing C:\ProgramData\NavContainerHelper\Extensions\BC17
Pulling image bcinsider.azurecr.io/bcsandbox-master:us-ltsc2016
us-ltsc2016: Pulling from bcsandbox-master
Using image bcinsider.azurecr.io/bcsandbox-master:us-ltsc2016
Creating Container BC17
Version: 17.0.14286.0-us
Style: sandbox
Platform: 16.0.14248.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.14393.3443 (ltsc2016)
Host OS Version: 10.0.14393.3750 (ltsc2016)
WARNING: The container operating system matches the host operating system, but the revision is different.
If you encounter issues, you might want to specify -isolation hyperv
Using locale en-US
Using process isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\Users\dockeradmin\Documents\ V16_02_JUN.flf
Additional Parameters:
--env PublicDnsName=BC17
--publish 8080:8080
--publish 443:443
--publish 80:80
--publish 7046-7049:7046-7049
Files in C:\ProgramData\NavContainerHelper\Extensions\BC17\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container BC17 from image bcinsider.azurecr.io/bcsandbox-master:us-ltsc2016
a83c95b07b04b50dabb6b6976cddaecf4bb5bcb7916d878607f352cb46b53c29
Waiting for container BC17 to be ready
Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is BC17
PublicDnsName is BC17
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint E473A80E84B621E270C2A9483911715A78A2D8F0
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating dockeradmin as SQL User and add to sysadmin
Creating SUPER user
Assign Premium plan for DOCKERADMIN
Container IP Address: <IP_ADDRESS>
Container Hostname  : BC17
Container Dns Name  : BC17
Web Client          : http://BC17/BC/
Dev. Server         : http://BC17
Dev. ServerInstance : BC
Setting BC17 to <IP_ADDRESS> in host hosts file

Files:
http://BC17:8080/ALLanguage.vsix

WARNING: You are running a container which is 152 days old.
Microsoft recommends that you always run the latest version of our containers.

Initialization took 97 seconds
Ready for connections!
Reading CustomSettings.config from BC17
Creating Desktop Shortcuts for BC17
Creating .net Assembly Reference Folder for VS Code
Copying DLLs from C:\Windows\assembly to assemblyProbingPath
Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\160\Service to assemblyProbingPath
Copying DLLs from C:\Program Files (x86)\Microsoft Dynamics NAV\160\RoleTailored Client to assemblyProbingPath
Copying DLLs from C:\Test Assemblies\Mock Assemblies to assemblyProbingPath
Copying DLLs from C:\Program Files (x86)\Open XML SDK to assemblyProbingPath
Container BC17 successfully created
Copy from container BC17 (C:\Applications\system application\test\Microsoft_System Application Test Library.app) to C:\ProgramD
ata\NavContainerHelper\Extensions\BC17\_Microsoft_System Application Test Library.app
Publishing C:\ProgramData\NavContainerHelper\Extensions\BC17\_Microsoft_System Application Test Library.app
Synchronizing System Application Test Library on tenant default
Installing System Application Test Library on tenant default
App successfully published
Downloading C:\Users\dockeradmin\AppData\Local\Temp\CreateTestUsers.app
Publishing C:\ProgramData\NavContainerHelper\Extensions\BC17\_CreateTestUsers.app
Synchronizing CreateTestUsers on tenant default
Installing CreateTestUsers on tenant default
App successfully published
You need to specify credentials when you are not using Windows Authentication
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\Api\Invoke-NavContainerApi.ps1:78 char:13
+             throw "You need to specify credentials when you are not u ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (You need to spe... Authentication:String) [], RuntimeException
    + FullyQualifiedErrorId : You need to specify credentials when you are not using Windows Authentication

And fortunately this time a new NavUserPassword type user has been created with the same command like below.
New-NavContainerNavUser -Credential xxx -containerName BC17 -PermissionSetId SUPER

I am not sure what was missed!!
Let me know if you found anything here!!
Thanks for your help!!
Thanks
SUD

In order to avoid the last line error - you should add
-credential $credential to the line with Setup-NavContainerTestUsers

Also, you should look into using artifacts instead of images - they will go away eventually.

Hi @freddydk ,
When you say use artifacts. Do i need to specify anything extra in below script for getting bcartifacts for insider builds of V17?
My NavContainerHelper version is 7.0.9.
Script.
#install-module navcontainerhelper -force

# set accept_eula to $true to accept the eula found here: https://go.microsoft.com/fwlink/?linkid=861843
$accept_eula = $true

docker login "bcinsider.azurecr.io" -u "xx" -p "xx"

$containername = 'BC17'
$navdockerimage = 'bcinsider.azurecr.io/bcsandbox-master:us'
$appbacpacuri = ''
$tenantbacpacuri = ''
$licensefile = 'C:\Users\dockeradmin\Documents\V16_02_JUN.flf'

$publicdnsName = 'BC17'

#$additionalParameters = @("--env PublicDnsName=$publicdnsName")

if ($appbacpacuri -ne '' -and $tenantbacpacuri -ne '') {
    $additionalParameters = @("--env appbacpac=""$appbacpacuri""","--env tenantBacpac=""$tenantbacpacuri""")
}
$additionalParameters = @("--env PublicDnsName=$publicdnsName")

$credential = get-credential -UserName $env:USERNAME -Message "Using Windows Authentication. Please enter your Windows credentials."
New-NavContainer -accept_eula:$accept_eula `
                 -containername $containername `
                 -auth NavUserPassword `
                 -memoryLimit 5GB `
                 -Credential $credential `
                 -includeAL:$true `
                 -alwaysPull `
                 -usessl:$false `
                 -licenseFile:$licensefile `
                 -updateHosts `
                 -assignPremiumPlan `
                 -shortcuts Desktop `
                 -imageName $navdockerimage `
                 -additionalParameters $additionalParameters

Setup-NavContainerTestUsers -containerName $containername -password $credential.Password

@freddydk

https://www,freddysblog.com will tell you a lot about this.


Add examples of GraphQL multiple mutations with single queries

Currently the docs show how to use the GraphQL API to run single actions e.g., delete 1 Pipeline; but it is possible to write a single query that runs multiple mutations e.g., to deletes multiple Pipelines
Additionally, added examples of Archiving and Unarching Pipelines with a bit of refactoring to reduce repeating instructions to get the Pipeline ID as it's required for most of the examples

Thanks very much for your docs contribution @tomowatt !
Just made one minor suggestion to merge in (above). Also, is there a process to unarchive multiple pipelines?

Thanks very much for your docs contribution @tomowatt !
Just made one minor suggestion to merge in (above). Also, is there a process to unarchive multiple pipelines?

@gilesgas I can add one if required but it follows the same pattern as Archiving Multiple Pipelines, above, so was not sure if it would be too redundant given the minor changes i.e., pipelineArchive -> pipelineUnarchive
But if you feel there is merit for being added I'll get it added

@gilesgas I can add one if required but it follows the same pattern as Archiving Multiple Pipelines, above, so was not sure if it would be too redundant given the minor changes i.e., pipelineArchive -> pipelineUnarchive
But if you feel there is merit for being added I'll get it added

I can see your point here, but for documentation, this should still be spelled out as a possibility (with at least a bare minimum explanation on how it's done) rather than expecting the reader to infer this knowledge.
I've compromised and added a brief section explaining how this is done from what you've described above. Hope this is OK?

@gilesgas I can add one if required but it follows the same pattern as Archiving Multiple Pipelines, above, so was not sure if it would be too redundant given the minor changes i.e., pipelineArchive -> pipelineUnarchive
But if you feel there is merit for being added I'll get it added

I can see your point here, but for documentation, this should still be spelled out as a possibility (with at least a bare minimum explanation on how it's done) rather than expecting the reader to infer this knowledge.
I've compromised and added a brief section explaining how this is done from what you've described above. Hope this is OK?

Thanks for that, will keep it in mind for the future!


New fakeOrigin testing tool

What does this PR (Pull Request) do?

This PR adds a new fake origin testing tool to Apache Traffic Control named fakeOrigin.  It is to serve as the beginning of a collaboration point when it comes to simulating upstream origins.  A separate feature list can be found in the markdown documentation for the tool.
Which Traffic Control components are affected by this PR?

This is an optional testing tool and does not affect current documentation.
What is the best way to verify this PR?
Build the binary or RPM and watch the sample video with a player such as VLC or QuickTime.
If this is a bug fix, what versions of Traffic Ops are affected?

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3659/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3729/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3766/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3923/
Test PASSed.

still not clear on the purpose of a BodyInterceptor

It allows the HTTP handling code to defer writing the status code, headers, and body until after the real wrapped handler returned, but still let the real Handler be a standard http.HandlerFunc.
For example, here it's being used to add a header after the "real" handler has written everything (which wouldn't normally be possible, because headers must be written before the body):
https://github.com/apache/trafficcontrol/pull/3567/files#diff-414b9bb76c9e75065ecc98b9d0470b07R137
And here it's being used to get the size of the body written, to log it:
https://github.com/apache/trafficcontrol/pull/3567/files#diff-414b9bb76c9e75065ecc98b9d0470b07R109

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3928/
Test PASSed.

I just wanted to point out that I was unable to get the client-side header overrides working

I just wanted to point out that I was unable to get the client-side header overrides working

Fixed that as well @dsouza93


feat(controller): Use easyjson for faster JSON marshalling.

Checklist:

[x] My organization is added to USERS.md.

#4560

I believe this could halve reconciliation time. However, it is a bit impact change (it force JSON keys to be case-sensitive) and I'm not clear the benefit is here. Shelving for the time being.

where @alexec


Upgrade HttpCore5/HttpClient5 to support ExtendedSocketOption in HttpAsyncClient

Description
Upgrade the httpcore5 version from 5.2.5 to 5.3, to use the ExtendedSocketOption in highlevelClient.
Related Issues
Resolves #15927

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kkewwei I think I find out the issue with upgrades, do you mind if I push a few changes into you pull request? thank you

@kkewwei I think I find out the issue with upgrades, do you mind if I push a few changes into you pull request? thank you

Of course, please feel free to continue.

The issue with Reactor Netty and Upgrade flow is fixed and should be available in 1.1.26 release (verified against 1.1.26-SNAPSHOT): https://github.com/reactor/reactor-netty/issues/3538


Bullets - Spacing on Chrome vs Other Browsers

It looks like bullets are being rendered with extra spacing inside of Chrome right now. They appear fine in Safari and Firefox.
Attached is a screenshot of Chrome.

d2l-bullets-code.txt

User error. 🤣


Fixes 'teams team add' output

Made response consistent. Currently it was possible to get 2 different responses while not using --wait.
Closes #4755

Merged manually. Thanks for your awesome work 🤩


Refactor indentexpr() to fix noindent indentation for lists.

Closes https://github.com/nvim-orgmode/orgmode/issues/473.
I tried doing small fixes to this code, but kept running into edge cases. Hence, this complete rewrite. :) The important points:

The queries in indent.scm no longer match on top-level (i.e un-nested) lists, but instead on list items of all levels.
List item indentation no longer relies on the previous non-empty line. Each list item stores whether it's in a top-level or a nested list and calculates its indent based on that.
The check whether we are in bulleted line or not no longer uses str.match(), since its pattern was buggy and forgot a few kinds of bullets. (namely, indented * bullets and a. ordered bullets) Instead, we compare the current line number to match.line_nr. We can do that because we query list items instead of lists now.

There is an edge case when the user is appending to a list. We want that next line to be indented (see https://github.com/nvim-orgmode/orgmode/issues/472), but it's technically outside of the list. At the same time, if an unindented line follows a list, it should not become part of the list.
The best solution I found for this was to make the behavior of indentexpr() depend on whether we are in insert mode. If yes, the line after a list is part of the list. If not, it isn't.
The new code also correctly takes into account that two consecutive empty lines always end a preceding list.

Let me know if there are any changes that should be made. It's kind of a big PR, so I assume it'll take a while to review. Thanks as always for maintaining this plugin! :+1:

As far as I can tell, the latest test failure is a fluke. I can't seem to rerun the test though.
Fail	||	Todo mappings should add last repeat property and state change to drawer (org_log_into_drawer)
            .../orgmode/orgmode/tests/plenary/ui/mappings/todo_spec.lua:114: Expected objects to be the same.
-             *[4] = '  :LAST_REPEAT: [2023-10-01 Sun 23:00]'
+             *[4] = '  :LAST_REPEAT: [2023-10-01 Sun 23:01]'

Thanks for the PR @troiganto!
@jgollenz if you find some issue regarding this PR please open up a separate issue, thanks!


Include diapers in kits in NDBN report values that are based on 'number of diapers'.

Summary
The values in the NDBN report that are for number of disposale diapers distributed, and other associated values do not include disposable diapers distributed in kits.   They should.
Why
Why not?
Details
Look at the services/reports/acquisition_report_service and services/reports/children_served_report_service
Assume 1 kit per child for the children served part
Criteria for completion
[ ] number of disposable diapers distributed on NDBN report includes disposable diapers in kits
[ ] children served with disposable diapers on NDBN report takes into account disposable diapers in kits
[ ] tests demonstrating the above changes.

I'd like to take this on :)

Please do.

Sill being worked on at this point - we had a delay to settle on terminology

@jadekstewart3 -- you were still working on this as of Feb 22 -- checking in -- do you need someone to step in on the gnarly SQL?

@cielf I think I do, I'm having a heck of a time getting it :/

Honestly,  I expected as much -- I'm pretty sure it's really quite hard!

Very nearly done!


zh,en: update dmctl commands for v2.0.3

First-time contributors' checklist

[ ] I've signed Contributor License Agreement that's required for repo owners to accept my contribution.

What is changed, added, or deleted? (Required)

Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v3.0 changes)
[x] v2.0 (TiDB DM 2.0 versions)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Need modification after applied to another branch
[ ] Might cause conflicts after applied to another branch

Does this PR still work in progress? Seems like the Git Commit Hash is not a value.

Does this PR still work in progress? Seems like the Git Commit Hash is not a value.

author says he wants to left these fields as templates
/lgtm

/lgtm

/merge


--from and --to not correctly creating the gif to the desired time

I am trying to create a gif using the --from and --to options. For demonstration purposes, I'm creating a gif that should be 1 second long.
My command is gifify movie.mp4 -o movie1.gif --from 33 --to 34 --resize 500:-1. The problem is that regardless of the time that I specify, I'm always getting a 25-second gif
I have also tried using the full hh:mm:ss timestamp and the video length is still the same. Am I using the command line incorrectly?
The below commands also produce the same 25-sec output:
gifify movie.mp4 -o movie2.gif --from 00:00:33 --to 00:00:34 --resize 500:-1
gifify movie.mp4 -o movie1.gif --from 00:00:33.000 --to 00:00:34.000 --resize 500:-1

weird, best option would be to 1. cut the video yourself for example with https://online-video-cutter.com/ and then use gifify and see how it goes.
if you're just looking for easy to use desktop tools, maybe https://github.com/sindresorhus/Gifski would be easier nowadays, good luck!

Thanks very much for the response. I figure this might have been an issue with an update to FFmpeg. I have run the FFmpeg commands directly and the video is correctly trimmed to the time.


Wrap only code comments

It would be great if the plugin were able to hard wrap code comment lines in filetypes normally ignored. In theory you could toggle on/off hard wrapping based on the treesitter node currently selected, however, I have no idea what the performance implications are.

@nianiam hi, it's definitely an interesting idea, I agree! And I think it could work, I'm not sure of the perf implications either although gut feel tells me it wouldn't be a problem.
Just to set your expectations, I think it's unlikely I'll be able to work on this any time soon. But I'll keep the issue open in case anyone else wants to contribute a patch or discuss the feature request.
Thanks for your idea and hope you still enjoy using wrapping.nvim!

OK, I've thought about this one; unfortunately I just don't think this is going to work in NeoVim as currently implemented. The wrap option is global to a file; if you change it between soft and hard wrapping, it makes display changes to the entire file immediately. There is - as far as I know - no way to limit it to only part of a file.
I think resolving this would involve significant changes to NeoVim itself, which I think is out of the scope of this plugin and the time I have. But if folks want to raise this with NeoVim directly, I'd be interested in building support into this plugin if such a capability did become available.
Thanks for your thoughts!


How to use date-picker?

This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
Feature Request
please first make sure your request falls under the official Material Design spec guidelines https://material.google.com/
Bug Report
please provide steps to reproduce and if possible screenhots, animated Gifs and/or a Plunker (or similar).
you can easily create animated Gif with this free PC/OSX App: http://www.cockos.com/licecap/ and a Plunker to help us reproduce it
Plunker template: http://plnkr.co/edit/7uZQn4mLNJkL6XN9WSNd
Screenshots or link to CodePen/Plunker/JSfiddle
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Which version of Angular and Material, and which browser and OS does this issue affect?
Did this work in previous versions of Angular / Material?
Please also test with the latest stable and snapshot versions.
Other information
(e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)

@gozeon Covalent does not have it's own date picker component. You can use the official angular material component:
https://material.angular.io/components/datepicker/overview

only use timepicker ...


Add example mimicking wget --mirror-like functionality?

So, I'll admit that I haven't had a chance to dig very deeply into the code/docs of chromedp much yet, but from my cursory look at the current examples, it didn't really seem like any covered one of the first use-cases for this awesome repo that came to my mind: wget --mirror-like functionality.
Unless I've misunderstood what I've come across so far, chromedp could be great for mirroring websites much like wget -m does (recursively requesting all links to download all assets locally), with two additional amazing benefits:

free/built-in concurrency for faster results (hooray for Go!)
the ability to actually execute javascript (i.e. mimic human-using-browser types of behaviors)

Just wanted to throw this out there to see if it might make for a valid use-case/example for chromedp. Either way, super cool repo, thanks for putting it out there :)

That's an interesting idea, and I'm definitely thinking of adding a simple example that "crawls" pages in general. It wouldn't be difficult to implement this.

After thinking about this some more, this is really left to a separate package / project, as I'd like to keep chromedp focused on "driving" Chrome + the debugging protocol. When you start getting into "crawling" kind of functionality, you really need significantly more advanced logic / behavior than what I think chromedp should be providing.

it would be a cool package/project :+1:

If anyone wants to contribute, a PR in the examples repo is welcome. But it's unlikely we'll have time to work on this ourselves.


pipeline: The difference between the request time and the server's time is too large.

What kind of request is this (question/bug/enhancement/feature request):
Issue when running new or existing pipelines
Steps to reproduce (least amount of steps as possible):
Any pipline, new or existing in different namespaces/projects are all exhibiting exact the same issue.
Create a pipeline
Run it/triger it
Result:
I see the message when executing the pipeline, after 5/6 seconds the red error-message appears in the browser.
The state of the pipline run then changes to failed. And the slaves from jenkins are terminated.
Other details that may be helpful:
Checked time/timezones on cluster. Also tried solution from: https://github.com/rancher/rancher/issues/16293
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):
rancher 2.1.5  HA install

Cluster information

Cluster type (Custom):

Machine type: Cloud, 3 nodes total 16 cores 32gib ram.

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-21T11:46:00Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.3", GitCommit:"a4529464e4629c21224b3d52edfe0ea91b072862", GitTreeState:"clean", BuildDate:"2018-09-09T17:53:03Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

Docker (use docker info):

1.13.1

@bdue Hey!Could you tell me how you solve this issue in detail?I see the same message when running pipelines, but I don't konw the server's time and which timezone should I set.Thank you.

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it