Cleanup: Remove dependency on nimbus-jose-jwt frompinot-adls

Cleanup: Remove dependency on nimbus-jose-jwt from the pinot-adls module.
This is already specified in the top level module. Specifying here leads to mvn idea:idea failing with the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-idea-plugin:2.2.1:idea (default-cli) on project pinot-adls: Unable to build project dependencies.: For artifact {com.nimbusds:nimbus-jose-jwt:null:jar}: The version cannot be empty. -> [Help 1]
[ERROR]

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (59551e4) to head (dc78210).
Report is 714 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (dc78210). Click for more details.
HEAD has 43 uploads less than BASE

Flag
BASE (59551e4)
HEAD (dc78210)

integration
7
3

temurin
12
3

java-21
7
2

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
2

unittests
5
0

unittests1
2
0

java-11
5
1

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13534       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2482       +46
  Lines        133233   137210     +3977
  Branches      20636    21298      +662
=============================================
- Hits          82274        0    -82274
- Misses        44911   137210    +92299
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
0.00% <ø> (-61.71%)
:arrow_down:

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <ø> (-61.75%)
:arrow_down:

skip-bytebuffers-true
0.00% <ø> (-27.73%)
:arrow_down:

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


argocd image updater and local regsitry "harbor"

I have a local registry 'harbor' with hostname "harbor.local".
But argocd Image updater couldn't resolve it.
It return in logs "level=error msg="Could not get tags from registry: Get "https://harbor.local/v2/\": dial tcp: lookup harbor.local on <IP_ADDRESS>:53: no such host" alias= application=testapp image_name=test_pfe/testapp image_tag=v0.1.80 registry=harbor.local" .
Even though argoCD deploy from the same registry.
Also I can pull  for example "docker pull harbor.local/test_pfe/testapp:v0.1.79" works.
Any suggestion?

For me, it works with the configuration like:
    registries:
    - api_url: "https://harbor.example.com"
      credentials: "pullsecret:argocd/registry-secret"
      defaultns: "project-name-in-harbor"
      name: "project-name-in-harbor"
      ping: true
      prefix: "harbor.example.com"

There is no actual problem with Harbor as repository image source. As @identw  it works with no problem, in my case (even not with ssl) and the secret be created following the docs https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/
  registries:
    - name: Harbor
      api_url: http://core.harbor.domain
      defaultns: test
      credentials: pullsecret:argocd/harbor-secret
      prefix: core.harbor.domain
      insecure: true

your error @mehdi1-3  looks a dns resolution error rather than harbor error

Yes it was dns resolution.
I have used host alias to argocd image updater deployment manifest.


[performance] Torch SDPA cuDNN backend vs FlashAttention v3

Target: Figure out if by default Torch scaled_dot_product_attention when executing in Hopper architecture, thus PLATFORM_SUPPORTS_CUDNN_ATTENTION and SM90OrLater evaluate to True, executes torch.ops.aten._scaled_dot_product_cudnn_attention.
I have created a simple benchmarking script whereas the FLOPs counting is done via Proton. We compare Torch SDPA with SDPBackend.CUDNN_ATTENTION and explicit aten op call. Both approaches launch the very same kernel: cudnn_generated_fort_native_sdpa_sm90_knob_7_64x128x128_4x1x1_kernel0_0 and achieve almost equal performance.
Without calling explicit aten op or setting the cuDNN backend, the performance of SDPA is significantly lower. Isn’t Torch supposed to auto-detect the optimal backend for SDPA based on the environment information (e.g. compute capability >= 90)?
I have also benchmark against FlashAttention v3 kernel, but the measurements from Proton are inconsistent with what is reported officially by the authors and the GPU HW specs for BFLOAT16.  (see FA and Torch SDPA shapes layout)
Q: Would be worth making this explicit when testing flash_attention operator in Tritonbench?
Benchmarking Results

Environment
Collecting environment information...
PyTorch version: 2.6.0.dev20241107+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.30.5
Libc version: glibc-2.35

Python version: 3.10.15 (main, Oct  3 2024, 07:27:34) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-117-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.4.131
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA H100 80GB HBM3
Nvidia driver version: 550.90.12
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.7
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        46 bits physical, 57 bits virtual
Byte Order:                           Little Endian
CPU(s):                               30
On-line CPU(s) list:                  0-29
Vendor ID:                            GenuineIntel
Model name:                           Intel(R) Xeon(R) Platinum 8462Y+
CPU family:                           6
Model:                                143
Thread(s) per core:                   1
Core(s) per socket:                   1
Socket(s):                            30
Stepping:                             8
BogoMIPS:                             5600.00
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd arat avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b fsrm md_clear serialize tsxldtrk avx512_fp16 arch_capabilities
Virtualization:                       VT-x
Hypervisor vendor:                    KVM
Virtualization type:                  full
L1d cache:                            960 KiB (30 instances)
L1i cache:                            960 KiB (30 instances)
L2 cache:                             120 MiB (30 instances)
L3 cache:                             480 MiB (30 instances)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-29
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Unknown: No mitigations
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI SW loop, KVM SW loop
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Mitigation; TSX disabled

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.4.127
[pip3] nvidia-cuda-nvrtc-cu12==12.4.127
[pip3] nvidia-cuda-runtime-cu12==12.4.127
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cudnn-frontend==1.7.0
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparselt-cu12==0.6.2
[pip3] nvidia-nccl-cu12==2.21.5
[pip3] nvidia-nvjitlink-cu12==12.4.127
[pip3] nvidia-nvtx-cu12==12.4.127
[pip3] pytorch-triton==3.1.0+cf34004b8a
[pip3] torch==2.6.0.dev20241107+cu124
[pip3] torchao==0.5.0+cu124
[pip3] transformer_engine_torch==1.11.0
[pip3] triton==3.0.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-cublas-cu12        <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cuda-cupti-cu12    12.4.127                 pypi_0    pypi
[conda] nvidia-cuda-nvrtc-cu12    12.4.127                 pypi_0    pypi
[conda] nvidia-cuda-runtime-cu12  12.4.127                 pypi_0    pypi
[conda] nvidia-cudnn-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cudnn-frontend     1.7.0                    pypi_0    pypi
[conda] nvidia-cufft-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-curand-cu12        <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusolver-cu12      <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cusparse-cu12      <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusparselt-cu12    0.6.2                    pypi_0    pypi
[conda] nvidia-nccl-cu12          2.21.5                   pypi_0    pypi
[conda] nvidia-nvjitlink-cu12     12.4.127                 pypi_0    pypi
[conda] nvidia-nvtx-cu12          12.4.127                 pypi_0    pypi
[conda] pytorch-triton            3.1.0+cf34004b8a          pypi_0    pypi
[conda] torch                     2.6.0.dev20241107+cu124          pypi_0    pypi
[conda] torchao                   0.5.0+cu124              pypi_0    pypi
[conda] transformer-engine-torch  1.11.0                   pypi_0    pypi
[conda] triton                    3.0.0                    pypi_0    pypi

@FindHao @xuzhao9

Without calling explicit aten op or setting the cuDNN backend, the performance of SDPA is significantly lower. Isn’t Torch supposed to auto-detect the optimal backend for SDPA based on the environment information (e.g. compute capability >= 90)?

I think torch.nn.functional.* doesn't have such capability because it directly calls the underlying implementations, but I'm not 100% sure. Aten API can do some dispatch irrc. You can also use torch.compile to wrap your function and enable max autotune. e.g., torch.compile(your_function, mode="max-autotune") and do benchmarking again? Torch compiled flash_attention has been added to tritonbench.

it looks like there is already a cudnn version. https://github.com/pytorch-labs/tritonbench/blob/main/tritonbench/operators/flash_attention/operator.py#L349

Thanks @FindHao for your detailed response. The first thing I tried was to use the existing attention implementations for the attention operator, but dealt with several issues (see #11) for making it work properly. Tomorrow I will apply --only for iterating each implementation in isolation.

Torch compiled flash_attention has been added to tritonbench.
I can only see FlexAttention compiled version . Am I missing other compilations?

As you mentioned, using Torch for compiling sdpa:
def compiled_sdpa():
    return torch.compile(
        scaled_dot_product_attention,
        fullgraph=True,
        backend="inductor",
        mode="max-autotune",
    )

flops = 4 * batch * seq_len**2 * num_heads * head_dim // (2 if is_causal else 1)

for _ in range(warmup_iter):
    _ = compiled_sdpa()(query, key, value, is_causal=is_causal)
with proton.scope("torch_scaled_dot_product_attention_compiled", metrics={"flops": flops}):
    flash_attention_compiled_op = compiled_sdpa()
    attn_out_sdpa_compiled = flash_attention_compiled_op(query, key, value, is_causal=is_causal)

Attention mathematical expression for FLOPS:

FlashAttention Hopper benchmark
Training Compute-Optimal Large Language Models, Appendix F

The updated benchmark results showcase a strange big performance gap. Torch compiled scaled_dot_product_attention becomes even faster than flash_attn_func_hopper, what seems incorrect. See the following Proton profiling results (double check with ncu):

I can only see FlexAttention compiled version . Am I missing other compilations?
Sorry, I misread the function name in the code. Yes, we don’t have torch compiled version.

Sill, the reported TFLOP/s for the Inductor compiled version of sdpa seems incorrect.
Can you compare the outputs of different implementations? using torch.allclose etc.

Can you share you execution time results for different implementations? Is the TFLOPS aligned with the execution time?

@FindHao do you mean the Proton results that I shared in the previous image? There you can see how is working as expecting, reporting coherent values, expect for when we compile sdpa op. That's why I thought is Proton's problem.

cc @fywkevin for Proton results when profiling compiled Torch kernels

@xuzhao9 @fywkevin any update?

I tried https://github.com/ai-compiler-study/test_attn/blob/main/test/test_sdpa_cudnn.py and I can reproduce the issue that native sdpa does not use CUDNN impl. I do not think there is an auto-switching backend in either PyTorch eager mode or Inductor right now. I can report this to pytorch upstream.
Sorry I do not understand why there is an issue with Proton+compiled Torch, can you please elaborate? @antferdom

Tritonbench reproduction:
$ python run.py --op flash_attention --batch 1 --n-heads 24 --seq-len 4608 --d-head 128 --only cudnn,sdpa,flash_v3,triton_tutorial_flash_v2
TMA benchmarks will be running with experimental grid constant TMA descriptor.
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:16<00:00, 16.71s/it]
  (Batch, Heads, SeqLen, Dhead)    sdpa-latency    cudnn_90100-latency    flash_v3-latency    triton_tutorial_flash_v2-latency
-------------------------------  --------------  ---------------------  ------------------  ----------------------------------
             (1, 24, 4608, 128)        0.786048                0.39904            0.412928                            0.527136

In Torch 2.5.0 release notes, beta features, it states that if the GPU arch is Hopper, then SDPA backend would auto-detect and enable cuDNN. Thanks @xuzhao9 for reproducing my results, will be valuable to forward this to the Torch team.
Sorry for overlapping the issue with the Proton + compiled Torch. If you look at the above images, when profiling using Proton, results are reasonable except when profiling a Torch compiled function. Could you double check this to determine if it's a misuse on my end?

As for the proton issue, I could not reproduce.
Time:

Flops:

The time seems to be correct and flops are all nan. We are working to add proton support to Tritonbench and see if we can reproduce it in Tritonbench.

Compiled sdpa numbers also look good to me:
$ python run.py --op flash_attention --batch 1 --n-heads 24 --seq-len 4608 --d-head 128 --only cudnn,sdpa,flash_v3 --metrics proton --native-sdpa --pt2-sdpa

We are closing this issue as the sdpa backend is expected behavior, and we could not reproduce the proton bug.
Feel free to re-open it if there's any update.


Update icon

Icon is empty on plugin store

Can you try resolve conflict by merging in the main branch origin/plugin_api_v2 please.

I just merged the branch I created into plugin_api_v2.
Is that OK?
Thanks,
Fabio
Le mer. 27 sept. 2023 à 23:35, Jeremy Wu @.***> a
écrit :

Can you try resolve conflict by merging in the main branch
origin/plugin_api_v2 please.
—
Reply to this email directly, view it on GitHub
https://github.com/Flow-Launcher/Flow.Launcher.PluginsManifest/pull/289#issuecomment-1738108950,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA67MUOKVYXJDCDSQIO3LXTX4SLY5ANCNFSM6AAAAAA5JQHXUU
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


KHR_materials_pbrSpecularGlossiness extended model does not display properly

I tried a model added to glTF-Sample-Models.
However, it seems that it is not displayed properly in glTF loader of CZPG.js.

Babylon.js
CZPG.js

https://github.com/KhronosGroup/glTF-Sample-Models/tree/spec-gloss-vs-metal-rough/2.0/SpecGlossVsMetalRough

You are right, but i am rebuild whole project in rebuild branch, when finished will merge to master !


Vagrant image is not available for libvirt provider

I cant start a Vagrant image for lvm-libvirt backend.
Steps to reproduce on CentOS7 machine with Vagrant setup with libvirt-kvm backend
git clone https://github.com/coreos/rkt
cd rkt
vagrant up

Gives below error
rkt]# vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
    default: Box Provider: libvirt
    default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
    default: URL: https://atlas.hashicorp.com/ubuntu/trusty64
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Atlas, make sure the box is
released.

Name: ubuntu/trusty64
Address: https://atlas.hashicorp.com/ubuntu/trusty64
Requested provider: [:libvirt]

Yeah unfortunately that box does not support the libvirt provider. Can you try naelyn/ubuntu-trusty64-libvirt? If that works perhaps you could submit a patch to the Vagrantfile to set that one when libvirt provider is used? thanks!

Here is a list of Ubuntu 14.04 images: https://atlas.hashicorp.com/boxes/search?provider=libvirt&q=trusty64
This one looks okay to me (it has a git repo that documents the build steps):
https://github.com/iknite/trusty64
https://atlas.hashicorp.com/iknite/boxes/trusty64
(haven't tried it myself yet, just started getting familiar with vagrant using libvirt)

We've since moved to vivid64 but unfortunately support for that with libvirt doesn't look much better: https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=libvirt&q=vivid64


Parallel build repository configuration

Description
A comment with reference to PR which describes how to update the repository configuration after changing the list of JDK's
Follow-up on #1787
Checklist

[X] PR description added
[ ] tests are added
[ ] KtLint has been applied on source code itself and violations are fixed
[ ] documentation is updated
[ ] CHANGELOG.md is updated

In case of adding a new rule:

[ ] Rule is added to rules documentation

Maybe you can merge this comment into #1804.

Not really related to #1804. Merged it separately.


[WIP] User mode networking

Prototyping with user mode networking concept. The idea is to run networking TX / RX threads in user mode which would isolate the networking code from kernel and improve safety of the system.
The code will create a net_domain memory domain, it places necessary networking objects into this domain when possible and sets permissions so that given threads can access these objects.
This is very much WIP and does not work properly yet. Currently there is a permission issue when submitting net_pkt to be sent to TX workqueue and when trying to run the work.
I converted two networking unit tests to use user mode networking, tests/net/mgmt and tests/net/vlan.
You can try these like this:
cd tests/net/vlan
cmake . -B build -DCONFIG_NET_USER_MODE=y -DCONFIG_USERSPACE=y -DBOARD=qemu_x86
make -C build run

Edit: I prepared a short presentation to May Networking Forum.
https://docs.google.com/document/d/1xJY-j62e87g9cpubnMTq55e0AHIKb6ZwKKP4ERuIlCY/edit?ts=5eaef197#heading=h.23483d4v9wp2

Hi Jukka,
Thanks for looking into this. Do you have any overview information on how you expect this to fit together in its final form? Specifically:

Do we continue to plan on having socket API calls be system calls? Basically, I'm trying to understand what parts of the networking stack will be part of the core kernel, what parts are controlled by user threads inside a special memory domain for networking, and what will be library code used by client applications -- and how these three parts talk to each other.
A thread using the network stack, will it require that any partitions be added to its memory domain in order for it to be able to use networking (I am hoping no)

I'm currently adding support for virtual memory to Zephyr, where we will support separate address spaces. I am thinking that the memory domain object will correspond to address spaces in the VM scheme. It will all be pretty similar, however sharing data between VM spaces will work differently. So that's why I'm asking about data sharing between the network user threads, the core kernel, and client user threads in different memory domains.
I haven't had time today to dive into the details of this PR, but I hope to this week.

Do we continue to plan on having socket API calls be system calls? Basically, I'm trying to understand what parts of the networking stack will be part of the core kernel, what parts are controlled by user threads inside a special memory domain for networking, and what will be library code used by client applications -- and how these three parts talk to each other.

I was not expecting that we would get rid of kernel mode networking but leave it to the end user to decide whether kernel/user mode would be used. But if kernel mode networking is not needed/wished then probably the system call APIs to networking can be removed.
As this work is just from couple of days hacking, atm I am still wondering in the dark regarding the user mode networking, but hopefully the picture clarifies.

A thread using the network stack, will it require that any partitions be added to its memory domain in order for it to be able to use networking (I am hoping no)

Yes, a thread that would need to use networking, would need to be added to network memory domain. I provided API for adding a thread to that but that is a bit cumbersome. Is there other alternatives for this?

there will be tighter restrictions on being able to write to memory in interrupts; basically it will be forbidden for an ISR callback to ever write to a memory address in the user part of memory (which has different mappings depending on what thread is active). You can have them write to kernel-side buffers and map them in the user thread's address space however.

Network drivers that receive data in ISR context will need to create a chain of net_buf's, and then pass that to RX threads for processing. So this would need some changes then.

It's our current efforts in VM enabling that I'm asking about data sharing between the network user threads, the core kernel, and client user threads in different memory domains.
I haven't had time today to dive into the details of this PR, but I hope to this week. Any 'big picture' details you can provide will be helpful.

I will present something about this in today's networking forum, created also a presentation that shows how the current networking is working, and some ideas for user mode networking. See the description of this PR for a link.

Replaced by another branch so closing this one.


Convert to AVI with DXT

Hi,
We are using Adobe Media Encodeer to convert the avi file on windows.
The option "use snappy compression" is checked by default and is not possible to uncheck it because the option is disabled.
Do you know how can I convert the .avi with DXT option?
We don't need to access the texture data...
We tried to generate with ffmpeg and quicktime with no luck.

Hi, this is a bug with AME. I do believe that you can fix it by deleting preference files. Maybe ping the Renderheads folks?! Anyway, snappy is additional compression for DXT and will generate readable files for ofxDSHapVideoPlayer. Hope that helps!


How to create in Ionic 2

Hi!
Thanks for this plug-in (I think)
I can't get it to work in my Ionic 2 project. It has probably nothing to do with the plugin it self.
In my ts I have:
import {MusicControls} from 'ionic-native';
//--
showMusicControls = function(){
MusicControls.create({
track       : 'Time is Running Out',        // optional, default : ''
artist      : 'Muse',                     // optional, default : ''
cover       : 'albums/absolution.jpg',      // optional, default : nothing
}, onSuccess, onError);
};
But I get three errors:
Cannot find name 'onSuccess'.at line
Cannot find name 'onError'.at line
Supplied parameters do not match any signature of call target.at line
Can you please show how to create Musiccontrols in Ionic 2?

You have to create onSuccess() and onError() on your own or simply delete them.

Thanks for amazingly fast respons!!
My ts looks now like this:
showMusicControls = function(){
MusicControls.create({
track       : 'Time is Running Out',        // optional, default : ''
artist      : 'Muse',                     // optional, default : ''
cover       : 'albums/absolution.jpg'      // optional, default : nothing
});
};
And now I got:
Argument of type '{ track: string; artist: string; cover: string; }' is not assignable to parameter of type 'MusicControlsOptions'.

I got it to work!! Thanks
I though that because some of the parameters is optional I didn't have to implement them. So when I
have all parameters with (as described) it works.
Thanks!!!


Refactor widgets code

Some widgets are now builded from scratch every time.
We need to standardize this part of the codebase

I'll start doing some work related to this issue while working on the ex Account modal for issue #90

Welcome! Yes, there are some widgets that are shared across multiple pages but are created from scratch on each of them. The goal is to define widgets that we can reuse across the page to make the code more organized and avoid having to rewrite the same things over and over. An example, is lib/custom_widgets/transactions_list.dart which I've worked on in my last PR #118.

Hello, sorry for my late response but I'm currently working and haven't had much time to devote to the project.
I noticed some strange things that did not allow me to understand in detail the functions of the app and the related widgets that control them, so I could not make changes.
Specifically , the app cannot find the "Main Account" .

@giuseppe-coco I think that that happens because you don't have any transactions, yet. Try to go to "Settings" and, in the "dev only" zone, do "clear and fill demo data". This will create a bunch of random transactions in the local database

Yes that was the problem, thank you!


How to flatten a partitioned 3D mesh onto 2D UV map?

I am pretty new to UVAtlas and have limited experiences with 3D graphics. I tested using "UVAtlasCreate" to partition an input 3D mesh (.obj) and got the result in .sdkmesh file. I could use "directxtkmodelviewer" (https://github.com/walbourn/directxtkmodelviewer) to see the partitioned 3D mesh. However, what I would like to have ultimately is a 2D UV map, such as the figures in Zhou, et al, 2004 and Sander, et al, 2002. I suspect (not sure) that the 2D UV map is in the form of a .mtl file and a corresponding .png file, both of which can be used together with a texture-less .obj mesh to visualize the textured 3D mesh in a mesh viewer (e.g., MeshLab). I have read the UVAtlas Wiki and the source code, but I have not found out how to flatten the partitioned 3D mesh onto a 2D UV map. Can anyone please kindly show me how to do that? Many thanks in advance!

The workflow for the tool is generally to output the UV mapping as replacement UV values in the model output. You can use the -wf switch to get a simple WaveFront OBJ output and the texture coordinates in that output are the ones generated by UVAtlas.
There are a number of command-line options for the uvatlastool that provide different visualizations of the result. This includes -c which modifies the output materials to help you see the way the tool partitioned the original model, and -t which outputs a 2D model where the generated UVs are set as positions.

@walbourn  Thank you for your quick reply! Sorry I did not explain my problem clearly. The WaveFront OBJ file I used as input for UVAtlas is a per vertex color OBJ file, so it does not have corresponding .mtl or .png file. What I would like to have as a result is a new .mtl file and a new .png file. Moreover, I will also hope to be able to put different weights to different 3D vertices, so that I could place more details to certain regions of the 3D mesh, such as that shown in Fig 1 in Sander et al, 2002 (https://hhoppe.com/ssp.pdf).
I followed your advice to generate OBJ output using -wf switch. I can see the 2D texture coordinate (vt in .obj file) is generated for each vertex. The 2D texture coordinates range from 0 to 1. I suppose they are the coordinates in a texture image (e.g., a .png file). However, I do not know how/where to get this texture image.
I once thought maybe I could use the color at each 3D vertex (in the input OBJ file) and its corresponding 2D texture coordinate  (in the output OBJ file) to construct a 2D texture image myself. However, I later noticed that the number of 3D vertices in the output OBJ file is different from the number of 3D vertices in the input OBJ file, so that I do not have the color info for each vertex in the output OBJ file.
Please excuse me if my question sounds naive, as I am pretty new to UVAtlas. Thank you very much!

I'm fairly sure the 2D image on the right of this is just a simple screenshot of a render of the output of -t where the vertex colors are the normals.

Thank you so much for replying my question so fast! I am afraid that I am a bit lost because of my poor background knowledge. When you said "output of -t", did you mean using both "-t" and "-wf" switches when runnng uvatlas? The resulting OBJ file looks like a 3D model (it contains 3D coordinates for all vertices). I tried to visualize it using MeshLab, it first popped up an error message "Some materials definitions were not found, a default white material is used where no material was available", then displayed a white 3D model.

Can you please kindly let me know how I could generate the 2D model as shown in the right figure? Thank you very much!

The -t output is called *_texture.* which shows the UV parameters as vertex positions. I just added a -vn option to visualize normals, but it doesn't look exactly like the figure.
It's also possible that figure was generated with the "gutter helper" ResampleTex feature which I don't yet have implemented for this open source version of UVAtlas.

https://github.com/microsoft/UVAtlas/commit/acf451e266307ef37245da28b666dab9b9712d75

@walbourn Thank you for your further explanation! My problem is that when I used "-t" and "-wf" switches, I got ONLY one ouput OBJ file. I did not see any _texture.obj file. Yet, when I used only "-t" switch (which should by default generate .sdkmesh output file), I had two output .sdkmesh files (.sdkmesh and *_texture.sdkmesh). Using your "directxtkmodelviewer" (https://github.com/walbourn/directxtkmodelviewer), I could visualize the partitioned 3D mesh saved in *.sdkmesh. But when I tried to visualize *_texture.sdkmesh, all I got was a blank window.
Did you mean that I should have another *_texture.obj file in my result when using "-t" and "-wf" switches? Then what did I go wrong?
Thank you very much!

Just now I did some further tests. I noticed that when I used "-t" and "-wf" switches, there was a warning message at the end of the process, which I overlooked previously. The warning message is as below:
WARNING: WaveFront Object (.obj) not supported for UV visualization (requires Vertex Colors)
):-> 'bun_zipper_texture.obj'80004001: Not implemented
I guess that is why I failed to get the *_texture.obj in the result. However, as we can see in the format of my input .obj file, which I showed above, that .obj file does contains vertex colors. (I assume the 6 values following flag "v" indicate 3D coordinate (x,y,z) and color (R,G,B)).
FYI, the input .obj file I used in my experiment is the Standford bunny (http://graphics.stanford.edu/data/3Dscanrep/). Since the original file is in .ply format, I first had to use MeshLab to export it to .obj format.
Maybe the vertex color should be set in a different way?
Thank you very much!

I realized when doing the normal visualization work that the block on writing _texture with WaveFront OBJ was wrong. Per-vertex colors are only needed for the visualization or when using -uv2, but not for basic -t or -c -t usage. That's fixed in the same commit. I also made it a fatal error if the requested file wasn't generated.
Support for 'per-vertex-color' in WaveFrontOBJ isn't widely supported, but I have a note to look at supporting at least importing it in the future here.
There's also a PR I need to work through for adding direct support for PLY to this tool. https://github.com/microsoft/UVAtlas/pull/70

Thank you for your further explanation! Using your latest commit, now I can generate the _texture.obj which contains the 2D model, although the color info is lost. Does this mean that right now, for per vertex color OBJ input, it is still not possible to get the 2D color UV map like shown in uvatlas2.jpg and uvatlas4.jpg? If so, in order to have 2D UV map like that, what type (format) of input OBJ file must I prepare?
BTW, I am really impressed by your quick reply and commit even during weekend. Thank you very much!

The specific images you see in those are both outputs of the -c option which sets the material colors to indicate the partition. The first image appears to have a texture on it as well, which I can't do in the tool but you can do with editing the resulting mtl.
Per vertex colors are only needed for the new normals visualization, but I have a work item to capture support for this in WaveFront OBJ: https://github.com/microsoft/DirectXMesh/issues/75
If you can attach the Wavefront OBJ you are using that has per vertex color, I can use it for testing. Thanks!

I see that I misinterpreted these two images. I previously thought they show an example of unwrapping a 3D colored mesh onto 2D UV map. Sorry about that.
I have attached a per vertex color OBJ file (archived into a zip as I am not allowed to upload an obj file directly). This is how to prepared this file: I first downloaded pittsburghbridge.zip from pittsburghbridge.zip, then chose processed.ply from it. Next, I used Meshlab to convert the .ply to .obj (File -> Export Mesh As...). After that, I still used Meshlab to add normals to the exported .obj file (Filters -> Normals Curvatures and Orientation -> Compute normals for point sets). Finally, this point cloud was turned into mesh (Filters -> Remeshing Simplification and Reconstruction -> Surface Reconstruction: Screened Poisson).
processed_meshlab_normal_mesh.zip
I tested using "-t -c -wf" switch on this OBJ file. I got the _texture.obj result. It shows the partitioned mesh on the uv plane, but the color is not there. I wonder if there is any way I could get the visualization similar to the "Color Map Results" in Fig 8 of Zhou et al 2004?
Thank you very much!

I must have broken something. It's not writing out the mtl file for the -c case which has materials like:
Unable to find material Chart01 (missing .MTL file?)
Unable to find material Chart02 (missing .MTL file?)
Unable to find material Chart03 (missing .MTL file?)
Unable to find material Chart04 (missing .MTL file?)
Unable to find material Chart05 (missing .MTL file?)
Unable to find material Chart06 (missing .MTL file?)
Unable to find material Chart07 (missing .MTL file?)
Unable to find material Chart08 (missing .MTL file?)

Doh! I see the bug. I didn't actually WRITE the mtl file for WaveFront export when I do the -c option :(

Try again :)
https://github.com/microsoft/UVAtlas/commit/48ddb5cee4a948319c0d196075916dd50bf4e551

Note that with VS 2015 or later, you can load WaveFront OBJ files directly into the IDE.

I see now I can generate _texture.obj, _map.txt and _charts.mtl if I turn on "-t -c -m" switches. I guess with the vertex correspondences in _map.txt, I should be able to map the per vertex color from the 3D mesh to the 2D UV map. Thank you very much for your help!


Fix support for x86 builds with Clang

Fixes #879

FYI @oldnewthing this is fixing a regression introduced in #662.

Done
happy to contribute !

Ah, I see. clang lambdas are implicitly convertible to __cdecl flat callbacks, but not __stdcall.

Yes, Visual C++ provides overloads for all calling conventions (a very cool feature) but this is apparently not required by the standard and Clang declines to do the same.


Add statistic about the number of comments during the last 30 days

Currently the data is just 30 zeroes. How should I implement this feature now?

There may be a better/more efficient  approach but I think this can work:
You record relevant information (new comment added on Timestamp, new comment approved on Timestamp) to an internal array in the database. Then when I request the data for the graph, you parse that array to give relevant numbers for the last 30 days (and remove more-than-30-day-old data if you want).
Put it to a separate route (or configure the routes so that this parsing isn’t executed when I load the overall dashboard).

Let's start working on this.

We also have a notification sidebar too, might be good to combine both? since both have more or less the same information.

I am not sure about whether we should combine them at the moment, as I am still looking for a good implementation.
I will decide about this matter later after I complete the initial design

@joulev Currently I don't have any solution to effectively record the total number of comments during the last 30 days.
We may not be able to delete old data if we want to report the total number of comments over time.

I don't think we need to delete old data.
A typical notification sidebar would be something like this
https://github.com/joulev/ezkomment/blob/ffe5afb769133cb04a1eeb02f69523afe6d6bdfc/client/components/app/notification.tsx#L28-L46

so we will need to persist a history entry in the database.

Notifications store information about page (if I am correct), not site.

hmm it actually makes sense. I forgot the scopes of the two.

For site statistic, I haven't come up with a good design.

We don't need to make everything as efficient as possible. We can improve this later anyway.

The easiest solution for sites is to just querry all comments (as all comments has siteId as a property, and then parse them.
I guess I will go with this solution at the moment.


chore: move express-request and transaction reversal to builder pattern

Closes #20 #43 #24

Hey @itsyaasir, I'm looking into the why the CI workflow is failing


Missing publisher location in book type

Greetings,
I was looking at the book templage in APA6th and it seems that the template is missing the publisher-place. (even the example posted at the top of the apa-template.html page includes the publisher-place). The code correctly outputs it to schema.org metadata, but then fails to output the data to the screen. The relevant line of code is https://github.com/loup-brun/hugo-cite/blob/3fb8de5fbff4f2fd475171acad8b253d79fde1f5/layouts/partials/bibliography/apa-style.html#L150
code
  {{ if isset . "publisher-place" -}}
  <meta itemprop="locationCreated"
        value="{{- echoParam . "publisher-place" -}}">
  {{- end -}}
  {{- with .publisher -}}

      {{- . -}}
    .
  {{- end }}

Actually, this is intended. The APA spec says:

Do not include the publisher location.

See here, under the first block of examples:
https://apastyle.apa.org/style-grammar-guidelines/references/examples
…but we’re still including the metadata in the HTML 😁
Closing since this is in line with the spec. (I would personally have the location show as in other styles, but this is APA. 😇)

Well this is interesting. Based on dates, I suspected when you started the
Hugh-Cite project the current version of APA was the 6th version, the
version I work with and what I have been contributing to the project.
However, the one you link to in this thread is the APA 7th version.  So,
yes there is a difference. All my contributions have been APA 6th as that
was the version I thought you were implementing (the word I heard was that
there was a “revolt” among many in the publishing industry against some of
the changes in the APA 7th Edition - precisely because it is seen as being
less descriptive). I’m not sure how widely used 7th edition is over 6th.
If you want to be APA 7th compliant I need to look at all my contributions
again and take that into consideration moving forward. Maybe the best
solution is to have a switch in the theme config file and have the option
to choose the style.  Then just have an apa6-style.html and an
apa7-style.html file. I saw someone on a fork even developed an IEEE
compliant style.

Hugh

On Sat, Jun 5, 2021 at 9:31 PM loup-brun @.***> wrote:

Actually, this is intended. The APA spec says:
Do not include the publisher location.
See here, under the first block of examples:
https://apastyle.apa.org/style-grammar-guidelines/references/examples
…but we’re still including the metadata in the HTML 😁
Closing since this is in line with the spec. (I would personally have the
location show as in other styles, but this is APA. 😇)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/loup-brun/hugo-cite/issues/34#issuecomment-855285352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAJ2JQLLROP5M27JGNIDV3TRJ3RPANCNFSM46BONVIA
.

--
All the best,
-Hugh
Sent from my iPhone
Paris, France

Well this is interesting. I had assumed when that the Hugo-Cite project was using the APA 6th version. Which is the version I work with and what I have been contributing to the project with....
However, the one you link to in this thread is the APA 7th version.  So, yes there is a difference. All my contributions have been APA 6th as that was the version I thought you were implementing (the word I heard was that there was a “revolt” among many in the publishing industry against some of
the changes in the APA 7th Edition - precisely because it is seen as being less descriptive). I’m not sure how widely used 7th edition is over 6th.
If you want to be APA 7th compliant I need to look at all my contributions again and take that into consideration moving forward. Maybe the best solution is to have a switch in the theme config file and have the option to choose the style.  Then just have an apa6-style.html and an apa7-style.html file. I saw someone on a fork even developed an IEEE compliant style.
let me know which direction you would like to take. (just APA 7th or two templates)

Hugh

You’re right indeed, there are some differences between APA 6/7… I definitely overlooked this.
A decision will have to be made, at first I think I would chose APA 7th ed. because it’s the most recent revision (2019) but I agree it is less descriptive. I don’t own the manual for either APA6 or 7, so I rely on the online documentation.


Serpent overhaul: fix string types

As discussed with @tinybike, the s type in Serpent actually support arbitrary binary data. Mapping it to string here would cause it to be processed as UTF8 possibly resulting in invalid output.
With using bytes the caller must make sure to encode using UTF8 if needed by supplying the result of new Buffer("hello", 'utf8') as the input.
Fixes #15 #16.

Coverage increased (+0.1%) to 81.695% when pulling 8706e93f196e82dc7f920464f3de275b8f3611cf on patch/serpent-fixes into 0d17bad020c397f25bc94b16a09af2fc9eb96032 on master.

Beautifully done, @axic!


Amazon MSK (provisioned) cluster is Offline.

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running master-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
We are building MSK (Managed Streaming for Apache Kafka) and trying to connect to MSK from EKS (Elastic Kubernetes Service) pods using IRSA (IAM Roles for Service Accounts).
However, the cluster appears offline, and brokers and other elements are not displayed on the screen. Additionally, error logs are being output.

Expected behavior
No response
Your installation details
App Version = v0.7.2
Helm chart version = kafka-ui-0.7.6
Your application config : none.
Any IAAC configs : none.
Steps to reproduce

helm upgrade --install -f kafka-ui-values.yaml kafka-ui kafka-ui/kafka-ui -n debezium

port-forward or create virtualservice(istio)

kafka-ui-values.yaml
replicaCount: 1
autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 2
  targetCPUUtilizationPercentage: 80
serviceAccount:
  create: true
  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::xxxxxxxxxx:role/odc-stg-kafka-ui
  name: "kafka-ui"
ingress:
  enabled: false
envs:
  config:
    KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: b-1.xxxxxxxxxx.r31ee1.c2.kafka.ap-northeast-1.amazonaws.com:9092,b-2.xxxxxxxxxx.r31ee1.c2.kafka.ap-northeast-1.amazonaws.com:9092,b-3.xxxxxxxxxx.r31ee1.c2.kafka.ap-northeast-1.amazonaws.com:9092
    KAFKA_CLUSTERS_0_NAME: spdkube-stg-cdc-msk
    KAFKA_CLUSTERS_0_READONLY: "true"
    KAFKA_CLUSTERS_0_ZOOKEEPER: z-1.xxxxxxxxxx.r31ee1.c2.kafka.ap-northeast-1.amazonaws.com:2181,z-2.xxxxxxxxxx.r31ee1.c2.kafka.ap-northeast-1.amazonaws.com:2181,z-3.xxxxxxxxxx.r31ee1.c2.kafka.ap-northeast-1.amazonaws.com:2181
    KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL: SASL_SSL
    KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM: AWS_MSK_IAM
    KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG: 'software.amazon.msk.auth.iam.IAMLoginModule required;'
    KAFKA_CLUSTERS_0_PROPERTIES_SASL_CLIENT_CALLBACK_HANDLER_CLASS: 'software.amazon.msk.auth.iam.IAMClientCallbackHandler'
    LOGGING_LEVEL_ROOT: info
resources:
  limits:
    memory: 512Mi
  requests:
    cpu: 300m
    memory: 512Mi

Screenshots
No response
Logs
2024-11-22 11:24:48,175 ERROR [parallel-2] c.p.k.u.s.StatisticsService: Failed to collect cluster spdkube-stg-cdc-msk info
java.lang.IllegalStateException: Error while creating AdminClient for Cluster spdkube-stg-cdc-msk
	at com.provectus.kafka.ui.service.AdminClientServiceImpl.lambda$createAdminClient$5(AdminClientServiceImpl.java:56)
	at reactor.core.publisher.Mono.lambda$onErrorMap$28(Mono.java:3783)
	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94)
	at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onError(MonoPeekTerminal.java:258)
	at reactor.core.publisher.FluxMap$MapConditionalSubscriber.onError(FluxMap.java:265)
	at reactor.core.publisher.Operators$MonoSubscriber.onError(Operators.java:1886)
	at reactor.core.publisher.MonoCacheTime$CoordinatorSubscriber.signalCached(MonoCacheTime.java:340)
	at reactor.core.publisher.MonoCacheTime$CoordinatorSubscriber.onError(MonoCacheTime.java:363)
	at reactor.core.publisher.MonoFlatMap$FlatMapMain.onError(MonoFlatMap.java:180)
	at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onError(MonoIgnoreThen.java:278)
	at reactor.core.publisher.MonoPublishOn$PublishOnSubscriber.run(MonoPublishOn.java:187)
	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68)
	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. Call: listNodes

Additional context
No response

I am having the same issue
org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. Call: listNodes


[wip] Update Combiner to accept cip40 requests

Description
Branched off of https://github.com/celo-org/celo-monorepo/pull/8950
Updates combiner's handleGetBlindedMessageSig() function to accept both existing phoneNumberPrivacy request types and the new domain restricted signature (cip40) request types.
Other changes
None
Tested
TODO
Related issues

Fixes https://app.zenhub.com/workspaces/identity-sprint-board-61015de9a849530010b49fc6/issues/celo-org/celo-monorepo/8645

Backwards compatibility
Yes
Documentation
None

closing in favor of https://github.com/celo-org/celo-monorepo/pull/9161


Backport2.7: Change buf size to a valid size

Description
Backport of #2208 which was already merged but not backported, because no On Target Tests available in version 2.7. However, there is a backport of the tests to version 2.7, so backporting this PR as well to mbedtls-2.7
Status
READY

The 2.7 branch has reached its end of life, so I am closing this pull request.


⚠ Auth has degraded performance

In 4f42454, Auth (https://auth.k2lin.com) experienced degraded performance:

HTTP code: 200
Response time: 7718 ms

Resolved: Auth performance has improved in 87d5315.


[Enhancement]  Create Quick Sorce File Progress

Create files for the source list
Wait for #14 to be updated first.
Closing this should close off milestone.

Adding notes for a plan of action:
Files when created will be pushed to the /source folder on main branch.
Credentials will then be stored in a separate file to be added possibly to a table that could be read via an indexer in a /directory type page.
To comment on further details and updates later.


Player Career Stats (Individuals) Page

Develop SQL Queries
Financial

[ ]

Offensive

[ ]
[ ]

Defensive

[ ]

Postseason

[ ]

Misc

[ ]

Develop Front End Modules/Visualizations
Financial

[ ]

Offensive

[ ]

Defensive

[ ]

Postseason

[ ]

Misc

[ ]

Reviews

[ ] Ryan
[ ] Lulu
[ ] Ron


Concrete Inheritance: Reverse query name for 'model.field' clashes with reverse query name  for 'another_model.field'.

I have a model called Document that is concrete.  I have multiple models that inherit directly from Document, such as WorkOrder(Document) and PurchaseOrder(Document).  The sub classes have audit logs, and I couldn't get the audit logs to work with the parent class Document.  It's okay because the PurchaseOrder and WorkOrder audit logs have a reference to the Document fields.  The problem is that the Document class has two ForeignKeys with a related_name attribute set.  django-audit-log does not handle them properly in its current incarnation.  I suggest something along the following changes, which better correspond to Django's own related_name conventions with class and app_label:
Source in AuditLog(object):
if field.rel and field.rel.related_name:
    field.rel.related_name = '_auditlog_%s' % field.rel.related_name
elif field.rel:
    try:
        if field.rel.get_accessor_name():
            field.rel.related_name = '_auditlog_%s' % field.rel.get_accessor_name()
    except:
        pass

Proposed change, which does take care of the error:
if field.rel:
    format_dict = {'class': model.__name__.lower(),
                   'app_label': model._meta.app_label.lower()}
    if field.rel.related_name:
        field.rel.related_name = '_auditlog_%s' % (field.rel.related_name % format_dict)
    else:
        try:
            if field.rel.get_accessor_name():
                field.rel.related_name = '_auditlog_%s' %
                                         (field.rel.get_accessor_name() % format_dict)
        except:
            pass

If I am handling it improperly, please let me know.

Actually, I continue to run into problems with AuditLogManager and concrete inheritance.  I'm trying to save a WorkOrder, which inherits from Document.  PurchaseOrder also inherits from Document. Django throws this error:
ProgrammingError at /documents/wo/create
column documents_purchaseorder.field does not exist

Why would the AuditLogManager try to use a field on the PurchaseOrder model when I'm saving a WorkOrder instance?  I suppose it's trying to get the Document fields, but it goes a step to far in getting all of the fields linked to the Document fields, which would include PurchaseOrder fields.
More details on the error seem to occur in the middleware in _disable_audit_log_managers(instance):
def _update_post_save_info(self, user, session, sender, instance, created, **kwargs ):
        if created:
            registry = registration.FieldRegistry(fields.CreatingUserField)
            if sender in registry:
                for field in registry.get_fields(sender):
                    setattr(instance, field.name, user)
                                _disable_audit_log_managers(instance) ...
                    instance.save()
                    _enable_audit_log_managers(instance)
            registry = registration.FieldRegistry(fields.CreatingSessionKeyField)
            if sender in registry:

And more details, it seems to be here, when getting the dir of the instance.  WorkOrder inherits from Document, which does of have an implicit attribute to PurchaseOrder and all the other models that inherit from Document.  Perhaps dir is the wrong way to go about it.  How about using __dict__ instead?
from audit_log import registration, settings
from audit_log.models import fields
from audit_log.models.managers import AuditLogManager
def _disable_audit_log_managers(instance):
    for attr in dir(instance):
        try:
                        if isinstance(getattr(instance, attr), AuditLogManager): ...
                getattr(instance, attr).disable_tracking()
        except AttributeError:
            pass
def _enable_audit_log_managers(instance):


New to gitbuub trying to figure out how to play the game

Sorry about this but could I have a step by step on how to download and start up the game?
Sorry if it's really obvious and I just can't see it

Hello there, to download the app you can go to the main repository, in the release section, download the apk from here if you are on Android
ex : https://github.com/Admiral-Billy/Pokerogue-App/releases/tag/v2.4.6


[Patient Intake Sample] Bots setup

Description

Adds page to upload bots
Adds build:bots command
Fixes handler function parameter order
Improves handling of undefined form fields

A few comments, but then feel free to merge


Add pass through args to run summary

Failing check is the non-monorepo examples failing to deploy, I don't think that's related to this PR.


Native start task isn't used

In the section "Prefetch images for container configuration", there are the lines:
// Set a native command line start task
StartTask startTaskNative = new StartTask( CommandLine: "" );
These imply that somehow we can execute a start task on the host in addition to the start task within the container, however I don't think this is possible - or if it is I'd like to know how, as this variable isn't used in the example code :)

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

ID: 206a4592-16ac-8ef7-7a33-508535c3ea50
Version Independent ID: 24785e7d-1caf-dd48-dc26-e5d258d899b1
Content: Container workloads on Azure Batch
Content Source: articles/batch/batch-docker-container-workloads.md
Service: batch
GitHub Login: @dlepow
Microsoft Alias: danlep

@gezzahead Thanks for the feedback! We are currently investigating and will update you shortly.

@dlepow can you assist on this one?

@gezzahead - Thanks or pointing this out! You're correct that it's not possible to run a start task both on the host and in the container, as the example implies. In a container-enabled pool, run a start task either on the host or in the container (using TaskContainerSettings). The more common scenario, according to the Batch engineering team, is to run it on the host, for example, to mount an external file server for use by later container tasks. I'll update that part of the article and the code snip soon.
#in-progress


How to use xxx.vue with slm ?（base on webpack）

slm is this https://github.com/WealthBar/slm-loader
webpack config like this

      {
            test: /\.vue\.slim$/,
            loaders: ["vue", "slm"]
      }

but webpack report error

ERROR in ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js!./~/vue-loader/lib/selector.js?type=style&index=0!./src/vue/app.vue.slim
Module build failed: TypeError: Cannot read property 'content' of undefined
at Object.module.exports (/home/dev/fund/node_modules/vue-loader/lib/selector.js:12:27)
@ ./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js!./~/vue-loader/lib/selector.js?type=style&index=0!./src/vue/app.vue.slim 4:14-213

ERROR in ./~/babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/vue/app.vue.slim
Module build failed: TypeError: Cannot read property 'content' of undefined
at Object.module.exports (/home/dev/fund/node_modules/vue-loader/lib/selector.js:12:27)
@ ./src/vue/app.vue.slim 3:17-185

ERROR in ./~/vue-html-loader!./~/vue-loader/lib/selector.js?type=template&index=0!./src/vue/app.vue.slim
Module build failed: TypeError: Cannot read property 'content' of undefined
at Object.module.exports (/home/dev/fund/node_modules/vue-loader/lib/selector.js:12:27)
@ ./src/vue/app.vue.slim 8:19-132

Please make sure to read the Issue Reporting Guidelines before opening new issues. The issue list only accepts bug reports and feature requests. Questions should be posted to the Gitter chat room,  forum or StackOverflow. Thanks.


[Bug]: Navigating back from 'Pay Bitcoin' page with keyboard visible can squash keypad

Describe the bug
On iPhone 8 (iOS16), on the 'Pay Bitcoin' screen I can show the keyboard by tapping the comment text input field. If I then navigated back by tapping the send value the previous page shows with a squashed numpad.
Reproduce

Go to pay a LN invoice
At the 'Pay Bitcoin' screen, tap the comment box
Tap the value at the top of the screen to navigate back (not the back button)
Observe numpad is squashed (see attached video)

Screenshots / Recording
https://github.com/user-attachments/assets/18dec299-bd71-4aca-bb1a-505326fcccc3
Operating system
iPhone8 (iOS16)
Bitkit version
v134
Log output
No response

Verified in v1.0.8 on iPhone8


DEVENGAGE-2251 dx-ui compatibility

bumps genesys-dev-icons version
adds main field to package.json

Please add a release notes entry for this version: https://github.com/purecloudlabs/genesys-react-components/blob/main/app/src/components/releasenotes/ReleaseNoteData.json

Please add a release notes entry for this version: https://github.com/purecloudlabs/genesys-react-components/blob/main/app/src/components/releasenotes/ReleaseNoteData.json

Added


Allow pushing tokens to the back by pressing 'z' while hovered over a token

Allow pushing tokens to the back by pressing 'z' while hovered over a token

I will accept the pr after a couple fixes:
1: you can access the currently hovered token with canvas.tokens.hover no need to add a custom function
2: Refactor the keybinding to use the foundry API for keybindings so it's also reconfigurable

I've updated it with your suggestions.

Refactored the code a bit, changed some things - pushing to public


TypeError: can only concatenate tuple (not "str") to tuple

After a fresh installation. I typed strpos($haystack, $needle); in a php script then right click, DocPHP: Show Definition. In the console I can see the following backtrace.
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 1082, in run_
    return self.run(edit, **args)
  File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 331, in run
  File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 344, in show_popup
  File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 412, in formatPopup
  File "./python3.3/html/parser.py", line 145, in feed
  File "./python3.3/html/parser.py", line 189, in goahead
  File "./python3.3/html/parser.py", line 372, in parse_starttag
  File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 528, in handle_startendtag
  File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 557, in get_tag_text
  File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 557, in <lambda>
TypeError: can only concatenate tuple (not "str") to tuple

Same happens to me.

Same here

+1

Same!

Same

same

The solution to this problem was found for ST 4. It is necessary in DocPHPManualer.sublime-package archive to change the file docphp.py starting from line 557 correct the function as follows:
def get_tag_text(self, tag, attrs, is_startend=False):
t=''
if type(attrs) == dict:
for key in attrs:
t=t+ key + '="' + attrs[key] + '"'
return '<'+ tag + ' ' + t + (' />' if is_startend else '>')


Change Project name to TEN due to rebrand

Obscuro rebranded to TEN. Changed name, links, etc.

GM
Thanks for the PR


Updated the cloud block service support. With new changes for AWS.

What type of PR is this?
/kind enhancement
What this PR does / why we need it:
This PR adds new functionality and enhances the current Cloud block service features and support for AWS backend.
User can now create different types of AWS Volumes. The different types of volumes are preconfigured with default settings and can be modified as per user requirements. There are min and max checks on size and iops as per AWS.
This PR does the following:

[x] Create Volume for AWS Backend

[x] Create Volume for AWS Backend based on different types

[x] List all Volume

[x] List Volume for AWS Backend

[x] Get Volume

[x] Delete Volume

Which issue(s) this PR fixes:
Fixes #389  #390
Test Report Added?:
/kind TESTED
Test Report:
List All Volumes

Expand Volume details

Create Volume page

Create Volume Different Volume type options

Create Volume Types

Create Volume - Provisioned IOPS

Create Volume - Creating status in expand details

Create Encrypted Volume

Create Volume - Max value validation for size and iops

Create Volume - Min value validation for size and iops

Create Volume Success - Creating status

Delete Volumes

Delete Volumes Success

AWS Cloud backend Volume listing

Special notes for your reviewer:

IOPS may not be mandatory for all types of volume, is it verified?

IOPS may not be mandatory for all types of volume, is it verified?

Yes. Where not mandatory the validation is removed.

IOPS may not be mandatory for all types of volume, is it verified?

Yes. Where not mandatory the validation is removed.

Can you please, give here for which all types of volume, IOPS are taken? From code i see only io1 takes InputText for IOPS. Maybe not clear to me.
Also, what is the max value of IOPS 64k?

IOPS may not be mandatory for all types of volume, is it verified?

Yes. Where not mandatory the validation is removed.

Can you please, give here for which all types of volume, IOPS are taken? From code i see only io1 takes InputText for IOPS. Maybe not clear to me.
Also, what is the max value of IOPS 64k?

@kumarashit
As per the AWS Volume creation page IOPS can be provided for General Purpose (gp2) and Provisioned IOPS (io1 and io2).
IOPS is mandatory only for Provisioned IOPS. For General Purpose it is not so removed the field.
As per AWS the min value for IOPS is 100 and max is 64000 as shown in the images below.
For General purpose there is a calculation in AWS as follows:

(Baseline of 3 IOPS per GiB with a minimum of 100 IOPS, burstable to 3000 IOPS)

Currently this calculation is not applied in our code.
I will update the PR.
General Purpose

Provisioned IOPS

For the rest, COLD HDD (sc1), Throughput Optimized HDD (st1) and Magentic (standard) the IOPS field is not applicable so it is not displayed and not mandatory.
Cold HDD

Throughput Optimised

Magnetic

Thanks @anvithks for the details.
Please check this too
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html

Thanks @anvithks for the details.
Please check this too
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html

@kumarashit Tracking this in #415


Vi Mode Not Read from Config

Hi,
I created the file ~/.ptpython/config.py and used this:  https://github.com/jonathanslenders/ptpython/blob/master/examples/ptpython_config/config.py as my config file
I then modified the following line:
repl.vi_mode = False

and set it to:
repl.vi_mode = True

However, when I then start a new ptpython session, it still defaults to Emacs mode.  Am I missing something?  Thanks.

Oops.  Silly mistake.  Found out that I had saved the file as ~/.ptpython/config instead of ~/.ptpython/config.py.  Once I renamed it, it worked fine.


Preequilibration

How would I specify preequilibration/presimulation fixed parameters?

Preequilibration parameters would be a row in the condition table (columns correspond to parameter names). The respective conditonId would be listed in the measurement file as preequilibrationConditionId.
For an example, see this measurement and condition table.


Production Key not working

Hey, Using the test key wasn't a problem, but now the production key won't work. How to configure that in the project? The problem I get is "CALLBACK_URL_NOT_ALLOWED
The oauth_callback URL isn't valid. The callback domain for this consumer is 'eckert.sam.url://xingapp' or 'eckert.sam.url://'

So is this about the Key or the Callback URL? From your description I think it is about the Callback URL.
Did you change the Callback URL between Test and production?

No

Can you please provide more information on that? Like code samples and screenshots? Where is the error thrown? Is it from an HTTP request or in your app?
Not having information makes it very hard to debug it.

Ok,
I have test and production Keys
Test Consumer Key: e9ce
Test Consumer Secret: 0499
Product Consumer Key: dd89
Product Consumer Secret: 1fe2
On the XING dev portal, I set up two callbackURLs:
1:    eckert.sam.url://xingappdd89
2:    eckert.sam.url://dd89
In my projects info.plist i set this up for the URL identifier:
eckert.sam.url://
And this for the URL scheme:
xingappdd89
Then, in my project in the class where it's requesting authetification I have this:
XNGAPIClient *client = [XNGAPIClient sharedClient];
client.consumerKey = @"dd89";
client.consumerSecret = @"1fe2";
When trying to call that IBAction I get the following UIAlertView (AlertView for failure):
                      failure:^(NSError *error) {
                          UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Oops" message:@"The Xing Authentication failed. Make sure you use the right credentials." delegate:nil cancelButtonTitle:@"Dismiss" otherButtonTitles: nil];
                          [alert show];
                      }];

In the XING Dev portal, I then get the following issue:

You have an idea, @pietbrauer ?

To debug it I would:

go to Notes.app on your phone
type in eckert.sam.url://
hit save
Tap the link

Does it go into your app?

No, it didn't. What I know did, was setting everything to this:

I did a small test project. I always set it in Target -> Info -> URL Types. It looks like this:

This registers eckert.sam.url://

Or you could set your Callback URL in dev.xing.com to cardbuddy:// that should do the same trick.

Ok, thanks. But the problem is, on the dev homepage, you can't just register cardbuddy://

You could also leave it empty on dev.xing.com and check I don't want to use a callback domain.. This will enable your callback URL as xingapp,your_consumer> as implemented.

Hey Piet, Finally the API Team replied to me and set the check. Still doesn't work. What to do now? I need a response pretty fast!

What does the error say now? In general it works for other apps using this library, so it has to be a configuration issue. Building up pressure doesn't help here.

Hey, thanks for responding so fast!: Here's the error:
CALLBACK_URL_NOT_ALLOWED
The oauth_callback URL isn't valid. The callback domain for this consumer is 'eckert.sam.url://xingappothercharactersdd89' or 'eckert.sam.url://othercharactersdd89'

Ok, I talked to the API team and we removed every callback URL completely from the database. Could you try again please?

Doesn't work, let me quickly get the error code from the developer console.

CALLBACK_URL_NOT_ALLOWED
The oauth_callback URL isn't valid. You have to use 'oob'

Seems the callback URL is not set on the client. Which Login method are you using?

[-loginOAuthWithSuccess:failure:]
(https://github.com/xing/XNGAPIClient/blob/master/XNGAPIClient/XNGAPIClient.h#L46-L47)
loginOAuthAuthorize:loggedIn:failuire:

We're using loginOAuthAuthorize in combination with Swift

But then you have to build your own ViewController with a WebView. You don't have to use the callback at all. See docs

But how should we create a UIWebView with that?


About Navier Stokes equations

Hello! I want to ask some question about  Navier Stokes equations. Are there examples of Navier Stokes equations? Or does LNO apply to solving Navier Stokes equations?

Hi, there! I don't have examples of N-S equations. You can try whether LNO works for N-S equation. Thanks for your interest in our mehtod.


Add travis-ci and coveralls badges

Coverage remained the same at 97.74% when pulling e0aa483404742d8eb639695c02e09667f03642ef on add-travis-ci-and-coveralls-badges into<PHONE_NUMBER>4af2826a123f0ee7f0b0893153aaa4 on master.


feat: set user permissions to objects when creating

Description

Set the user permissions for Datasources, Pages, Actions and JS Objects

Fixes https://github.com/appsmithorg/appsmith/issues/17870
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

This has been tested manually with running POST API calls.

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=1961d23

/perf-test ref=rhito/feat-upload-run-artificats-to-s3

Hi @nsarupr testing a feature for the perf-test CI. Can ignore the results.

/ok-to-test sha=8ce1583

/ok-to-test sha=d56a542

/ok-to-test sha=33c374e


NFDIV-3853 Store scanned documents in confidential collections if any applicant is confidential

Change description
When either applicant is confidential, store scanned docs in confidentialDocumentsUploaded
To avoid data breaches and handling sensitive documents incorrectly, we're moving scanned and reclassified
documents into confidential document arrays if any applicant is confidential on the case.
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/NFDIV-3853

Closing as requirements were incorrect. See comment on JIRA ticket on 12th Jan by Aaron Moriarty for more information.


Readme Readability Suggestions

I would like to say, compared to the alternatives you mentioned in the README, I found your README to be more accessible and readable.  Good job!
So, I thought I would try to help and gave the README a proof read. I have suggested some changes, take them or leave them. Thanks for sharing this code.

Thanks man


scope of restricting workflow on main repo

I notice that just one of the actions has the option to restrict the workflow to the original hub repo. Is this a more general option that should be included (even if just commented out) in all template actions posted on this repo?

Thanks for the issue!
Currently I've purposely allowed the validate-submission workflow to run on forks as this is something folks who may be using branches and pull requests within their team forks to collaborate on submissions might find useful.
The dependency caching workflow is a scheduled workflow which could use up resources unnecessarily on forks (and perhaps without teams realising) hence I felt it polite for it to be designed to only run on the main hub (where any pull requests from forks can access the cache anyways).  I note that, in response to complaints about this very issue, GitHub makes fork owners explicitly accept running scheduled workflows when they first fork a repository now and they are disabled by default.
For me these two settings make sense and I don't especially see a reason to include a commented out option for this in validate-submission as I don't see the purpose of a hub ever forcing forks not to be able to run the workflow on their own branches. On the other hand I consider only running the scheduled caching of dependencies on the main hub repo a must.
There are ways to enable/disable workflows in individual repositories/forks so perhaps we can include signposting to this for teams forking hub repositories and wanting to manage for workflows themselves? e.g. to here: https://docs.github.com/en/actions/using-workflows/disabling-and-enabling-a-workflow
I also am happy to touch upon this in a meeting, hearing other people's thoughts and perhaps design some more explicit criteria of when a workflow should be designed to:

work on forks as well
work only on main repo
be easily configurable to change from one state to the other


Static placeholders on different sites

I'm running into the same issue from #2797 using 3.4 and the develop branch. The static placeholder is the same across multiple sites regardless of the SITE_ID. I need every site to have a different footer and sidebar. Is this on purpose or is it another bug?

Hello @adonisnafeh,
By default, static placeholders have their site field set to None which causes them to show up in all sites. To change this behavior, you have to add the site flag to the {% staticplaceholder %} tag, this will cause a new static placeholder record to be created for each site the static placeholder is rendered in.
Example:
{% static_placeholder "staticplaceholder_1" site %}
Please checkout the docs for more information.

Yep, that works. Thanks


HistomicsUI brand name Actions label doesn't update

If the label for the HistomicsUI install is changed in the plugin settings.  The label in the actions doesn't update to the new value.

These two should match all times.

The link that "Open in HistomicsUI" should also be based on settings.  Specifically, this doesn't handle being in a proxy properly and also hard-codes the application webroot (incorrectly, too).
The proxy issue can be handled by using a relative path.  The correct webroot is in the histomicsui.webroot_path setting.  That is, the href should be `./${webroot}#?image=${this.model.id}".

Resolved in #54.


Build on Linux gives error: jsoncpp does not appear to contain CMakeLists.txt

Building on Linux gives an error
CMake Error: The source directory "/home/MAVSDK/build/default/third_party/jsoncpp" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
CMake Error at third_party/cmake/build_target.cmake:31 (message):
  /home/MAVSDK/third_party/jsoncpp failed to configure!
Call Stack (most recent call first):
  third_party/CMakeLists.txt:10 (build_target)

Following command was used for the build:
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MAVSDK_SERVER=ON -DBUILD_SHARED_LIBS=OFF -Bbuild/default -H.

Is it a clean build?

Thank you for your quick reply. Much appreciated.
It's in a Docker image build. So yes its a clean build. (Docker build with --no-cache option).
Here is the Dockerfile, maybe it provides more info:
FROM arm64v8/ubuntu:bionic

WORKDIR /home

RUN apt-get update
RUN apt-get install build-essential colordiff git doxygen wget libssl-dev -y
RUN wget https://github.com/Kitware/CMake/releases/download/v3.23.0-rc1/cmake-3.23.0-rc1-linux-aarch64.sh \
    -q -O /tmp/cmake-install.sh \
    && chmod u+x /tmp/cmake-install.sh \
    && mkdir /usr/bin/cmake \
    && /tmp/cmake-install.sh --skip-license --prefix=/usr/bin/cmake \
    && rm /tmp/cmake-install.sh

ENV PATH="/usr/bin/cmake/bin:${PATH}"

RUN git clone https://github.com/mavlink/MAVSDK.git
WORKDIR /home/MAVSDK
RUN git checkout main
RUN git submodule update --init --recursive

RUN cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MAVSDK_SERVER=ON -DCMAKE_INSTALL_PREFIX=install -Bbuild/default -H.
RUN cmake --build build/default --target install

Seems like something is wrong with your image. Have you seen the warnings?
[Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested

Thanks again for your help.
Yes indeed. You have to run an arm64 container on x86 via an emulator:
https://www.stereolabs.com/docs/docker/building-arm-container-on-x86/
But this is only for your info. Since it seems I’m the only one with this problem, it probably has something to do with my container or emulator. It will investigate it further.

Did you try running the same without the emulator?
Our CI builds a ton of scenarios, I would be surprised if that was a bug on our side: https://github.com/mavlink/MAVSDK/blob/main/.github/workflows/main.yml

The problem only occurs on Ubuntu 18. It does work on Ubuntu 20. We wil continue with 20.
Thanks for your help.


This fixes the build, which was failing because of a linting error

Coverage increased (+0.02%) to 96.482% when pulling 985028a4a1f03d4875cb7fee2cc8c21302af7eeb on fix-build into 4ecd68bae1a4845a78b4dd401bac00be8b2130da on master.


D435i IMU recording at inconsistent rate

Required Info

Camera Model
D435i {D400 }

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 20.04

Kernel Version (Linux Only)
5.15.0-76-generic

Platform
PC

SDK Version
<IP_ADDRESS> (downloaded via command line, not built from source)

Language
C++

Segment
Robot

Issue Description
Hi there, I am currently using a D435i camera and attempting to record some IMU data. However, when I record data, I am noticing a very inconsistent rate at which the readings are recorded. I have reviewed several issues in this forum to try and alleviate the problem across different product models but nothing seems to work for my case, hence why I am opening my own issue. I will do my best to go through what I've tried thus far.
First attempt: Gyro 400Hz, Accel 250Hz
USB 3.2 cable, port.
Launch file:
imu_recording.txt
Command line output
ryanalexander@ryanalexander-ThinkPad-P51:~/repos/custom/DataRecording$ roslaunch imu_recording imu_recording.launch
... logging to /home/ryanalexander/.ros/log/50baf114-1f71-11ee-b0ee-1b5bbb1d9f49/roslaunch-ryanalexander-ThinkPad-P51-12884.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ryanalexander-ThinkPad-P51:34191/

SUMMARY
========

PARAMETERS
 * /camera/realsense2_camera/accel_fps: 250
 * /camera/realsense2_camera/accel_frame_id: camera_accel_frame
 * /camera/realsense2_camera/accel_optical_frame_id: camera_accel_opti...
 * /camera/realsense2_camera/align_depth: False
 * /camera/realsense2_camera/aligned_depth_to_color_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/aligned_depth_to_fisheye1_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/aligned_depth_to_fisheye2_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/aligned_depth_to_fisheye_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/aligned_depth_to_infra1_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/aligned_depth_to_infra2_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/allow_no_texture_points: False
 * /camera/realsense2_camera/base_frame_id: camera_link
 * /camera/realsense2_camera/calib_odom_file:
 * /camera/realsense2_camera/clip_distance: -2.0
 * /camera/realsense2_camera/color_fps: 5
 * /camera/realsense2_camera/color_frame_id: camera_color_frame
 * /camera/realsense2_camera/color_height: 720
 * /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
 * /camera/realsense2_camera/color_width: 1280
 * /camera/realsense2_camera/confidence_fps: 30
 * /camera/realsense2_camera/confidence_height: 480
 * /camera/realsense2_camera/confidence_width: 640
 * /camera/realsense2_camera/depth_fps: 5
 * /camera/realsense2_camera/depth_frame_id: camera_depth_frame
 * /camera/realsense2_camera/depth_height: 720
 * /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
 * /camera/realsense2_camera/depth_width: 1280
 * /camera/realsense2_camera/device_type:
 * /camera/realsense2_camera/enable_accel: True
 * /camera/realsense2_camera/enable_color: False
 * /camera/realsense2_camera/enable_confidence: True
 * /camera/realsense2_camera/enable_depth: False
 * /camera/realsense2_camera/enable_fisheye1: False
 * /camera/realsense2_camera/enable_fisheye2: False
 * /camera/realsense2_camera/enable_fisheye: False
 * /camera/realsense2_camera/enable_gyro: True
 * /camera/realsense2_camera/enable_infra1: False
 * /camera/realsense2_camera/enable_infra2: False
 * /camera/realsense2_camera/enable_infra: False
 * /camera/realsense2_camera/enable_pointcloud: False
 * /camera/realsense2_camera/enable_pose: False
 * /camera/realsense2_camera/enable_sync: False
 * /camera/realsense2_camera/filters:
 * /camera/realsense2_camera/fisheye1_frame_id: camera_fisheye1_f...
 * /camera/realsense2_camera/fisheye1_optical_frame_id: camera_fisheye1_o...
 * /camera/realsense2_camera/fisheye2_frame_id: camera_fisheye2_f...
 * /camera/realsense2_camera/fisheye2_optical_frame_id: camera_fisheye2_o...
 * /camera/realsense2_camera/fisheye_fps: 5
 * /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
 * /camera/realsense2_camera/fisheye_height: 480
 * /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
 * /camera/realsense2_camera/fisheye_width: 640
 * /camera/realsense2_camera/gyro_fps: 400
 * /camera/realsense2_camera/gyro_frame_id: camera_gyro_frame
 * /camera/realsense2_camera/gyro_optical_frame_id: camera_gyro_optic...
 * /camera/realsense2_camera/imu_optical_frame_id: camera_imu_optica...
 * /camera/realsense2_camera/infra1_frame_id: camera_infra1_frame
 * /camera/realsense2_camera/infra1_optical_frame_id: camera_infra1_opt...
 * /camera/realsense2_camera/infra2_frame_id: camera_infra2_frame
 * /camera/realsense2_camera/infra2_optical_frame_id: camera_infra2_opt...
 * /camera/realsense2_camera/infra_fps: 30
 * /camera/realsense2_camera/infra_height: 480
 * /camera/realsense2_camera/infra_rgb: False
 * /camera/realsense2_camera/infra_width: 640
 * /camera/realsense2_camera/initial_reset: True
 * /camera/realsense2_camera/json_file_path:
 * /camera/realsense2_camera/linear_accel_cov: 0.01
 * /camera/realsense2_camera/odom_frame_id: camera_odom_frame
 * /camera/realsense2_camera/ordered_pc: False
 * /camera/realsense2_camera/pointcloud_texture_index: 0
 * /camera/realsense2_camera/pointcloud_texture_stream: RS2_STREAM_COLOR
 * /camera/realsense2_camera/pose_frame_id: camera_pose_frame
 * /camera/realsense2_camera/pose_optical_frame_id: camera_pose_optic...
 * /camera/realsense2_camera/publish_odom_tf: False
 * /camera/realsense2_camera/publish_tf: False
 * /camera/realsense2_camera/reconnect_timeout: 6.0
 * /camera/realsense2_camera/rosbag_filename:
 * /camera/realsense2_camera/serial_no:
 * /camera/realsense2_camera/stereo_module/exposure/1: 7500
 * /camera/realsense2_camera/stereo_module/exposure/2: 1
 * /camera/realsense2_camera/stereo_module/gain/1: 16
 * /camera/realsense2_camera/stereo_module/gain/2: 16
 * /camera/realsense2_camera/tf_publish_rate: 0.0
 * /camera/realsense2_camera/topic_odom_in: odom_in
 * /camera/realsense2_camera/unite_imu_method: linear_interpolation
 * /camera/realsense2_camera/usb_port_id:
 * /camera/realsense2_camera/wait_for_device_timeout: -1.0
 * /camera/stereo_module/emitter_enabled: 2
 * /rosdistro: noetic
 * /rosversion: 1.16.0

NODES
  /
    realsense_recording (rosbag/record)
  /camera/
    realsense2_camera (nodelet/nodelet)
    realsense2_camera_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [12899]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 50baf114-1f71-11ee-b0ee-1b5bbb1d9f49
process[rosout-1]: started with pid [12916]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [12923]
process[camera/realsense2_camera-3]: started with pid [12924]
process[realsense_recording-4]: started with pid [12925]
[ INFO] [1689028204.772858239]: Initializing nodelet with 8 worker threads.
[ INFO] [1689028204.862884523]: RealSense ROS v2.3.2
[ INFO] [1689028204.862946807]: Built with LibRealSense v2.50.0
[ INFO] [1689028204.862958928]: Running with LibRealSense v2.50.0
[ INFO] [1689028204.909855350]:
[ INFO] [1689028205.198879391]: Device with serial number<PHONE_NUMBER>49 was found.

[ INFO] [1689028205.198991213]: Device with physical ID 2-5-4 was found.
[ INFO] [1689028205.199047836]: Device with name Intel RealSense D435I was found.
[ INFO] [1689028205.199629143]: Device with port number 2-5 was found.
[ INFO] [1689028205.199766298]: Device USB type: 3.2
[ INFO] [1689028205.199878970]: Resetting device...
[ INFO] [1689028211.332208522]:
[ INFO] [1689028211.542669251]: Device with serial number<PHONE_NUMBER>49 was found.

[ INFO] [1689028211.542965430]: Device with physical ID 2-5-5 was found.
[ INFO] [1689028211.543106846]: Device with name Intel RealSense D435I was found.
[ INFO] [1689028211.545710826]: Device with port number 2-5 was found.
[ INFO] [1689028211.545824079]: Device USB type: 3.2
[ INFO] [1689028211.552824986]: getParameters...
[ INFO] [1689028211.612397394]: setupDevice...
[ INFO] [1689028211.612443762]: JSON file is not provided
[ INFO] [1689028211.612487214]: ROS Node Namespace: camera
[ INFO] [1689028211.612509189]: Device Name: Intel RealSense D435I
[ INFO] [1689028211.612528538]: Device Serial No:<PHONE_NUMBER>49
[ INFO] [1689028211.612553795]: Device physical port: 2-5-5
[ INFO] [1689028211.612591598]: Device FW version: <IP_ADDRESS>
[ INFO] [1689028211.612629482]: Device Product ID: 0x0B3A
[ INFO] [1689028211.612654813]: Enable PointCloud: Off
[ INFO] [1689028211.612679387]: Align Depth: Off
[ INFO] [1689028211.612703859]: Sync Mode: Off
[ INFO] [1689028211.612751740]: Device Sensors:
[ INFO] [1689028211.751948735]: Stereo Module was found.
[ INFO] [1689028211.778202035]: RGB Camera was found.
[ INFO] [1689028211.778513481]: Motion Module was found.
[ INFO] [1689028211.778582602]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1689028211.778647161]: num_filters: 0
[ INFO] [1689028211.778732099]: Setting Dynamic reconfig parameters.
hwmon command 0x80( 5 0 0 0 ) failed (response -7= HW not ready)
hwmon command 0x80( 5 0 0 0 ) failed (response -7= HW not ready)
hwmon command 0x80( 5 0 0 0 ) failed (response -7= HW not ready)
hwmon command 0x80( 5 0 0 0 ) failed (response -7= HW not ready)
[ INFO] [1689028215.377397569]: Done Setting Dynamic reconfig parameters.
[ INFO] [1689028215.377601674]: gyro stream is enabled - fps: 400
[ INFO] [1689028215.377669049]: accel stream is enabled - fps: 250
[ INFO] [1689028215.377714555]: setupPublishers...
[ INFO] [1689028215.379232134]: Start publisher IMU
[ INFO] [1689028215.380230355]: setupStreams...
[ INFO] [1689028215.749108067]: SELECTED BASE:Depth, 0
[ WARN] [1689028215.750000353]:
**[ WARN] [1689028215.750313720]: frame's time domain is HARDWARE_CLOCK. Timestamps may reset periodically.**
[ INFO] [1689028215.789152209]: RealSense Node Is Up!
 10/07 23:30:51,933 **WARNING [140112033740544] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11**

Rosbag investigation:
As you can see, the timestamps are consistently inconsistent, with drops occurring around every second.

Second attempt with camera enabled
When I enable the infra1 and infra2 cameras at 30Hz (640x480), I get the following output:

On the surface this output looks correct, but it should be operating at 400Hz, or every 0.0025 seconds. Instead, its alternating between producing a single message and then a couplet of two messages roughly every 0.0037 seconds. So on average, it produces three messages every 0.0075 seconds which lines up with 400Hz - the distribution of the messages is the problem.
Issues I referenced while attempting debug:

https://github.com/IntelRealSense/realsense-ros/issues/1756
https://github.com/IntelRealSense/realsense-ros/issues/1663
https://github.com/IntelRealSense/realsense-ros/issues/1469
https://github.com/IntelRealSense/realsense-ros/issues/1607#issuecomment-760128960
https://github.com/IntelRealSense/realsense-ros/issues/2127
https://github.com/IntelRealSense/librealsense/issues/10427

I tried decreasing the rates to 200Hz (Gyro) and 63Hz (Accel), but this didn't help. I also toggled global_time_enabled:=false (and true), neither of which solved the issue.
Please let me know if there is any more information I can provide in resolving this case. Thank you very much!

Hi @ryanalex98  Setting unite_imu_method to 'copy' instead of 'linear_interpolation' may provide more stable IMU data.  This can be done by including the command unite_imu_method:=copy in your roslaunch instruction.
As well as setting global time to false, you could also try setting enable_sync to true with the roslaunch command enable_sync:=true if you have not done so already.  When true, it gathers the closest frames of different sensors to be sent with the same timetag.

Thanks for the quick reply @MartyG-RealSense.
I updated the launch file with the unite_imu_method set to copy and launched with the following args:
roslaunch imu_recording imu_recording.launch global_time_enabled:=false enable_sync:=true

Still getting curious output behavior:

I think I have the versions aligned, I'm using sdk v<IP_ADDRESS> and firmware v<IP_ADDRESS>, which I believe are the most recent release pair?
Thanks for your help.

Thanks very much for the update.  Yes, SDK 2.54.1 and firmware <IP_ADDRESS> are the correct pairing.
https://github.com/IntelRealSense/realsense-ros/issues/898 is an interesting discussion about IMU stability which led to the original creation of the 'copy' mode of unite_imu_method to provide additional IMU data stability.  Within that discussion, a RealSense user reported at https://github.com/IntelRealSense/realsense-ros/issues/898#issuecomment-790278100 that they still had some erratic data after 'copy' mode was implemented and they shared their chart.

Hi @ryanalex98   Do you require further assistance with this case, please?  Thanks!


Clear typingInChannel session variable when message is sent

Fixes bug discovered by @dstollie (see comment).

@mpowaga thanks for the quick-fix!


Updated cards-actions.md

Editing tweaks and clarifying missing material.
First edit to cards / proactive messages.

:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/concepts/Cards/cards-actions.md
:warning:Warning

Details

msteams-platform/concepts/Cards/cards-actions.md

Line 210: [Warning] Invalid file link:(~/concepts/authentication/auth-flow-bot).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Enable checksum and publishing of archives

Summary
The following changes allow archive packages to participate in the publishing process (inclusion in the BAR manifest so that they are published to dotnetbuilds feed during Maestro promotion).
Overview of changes:

Update src/Directory.Build.targets to produce projectpath and projectprops (these are new in this PR to support specifying per-project properties when the project is invoked during publish) files for both product archives and symbols archives.
Update src/Directory.Build.targets to report correct archive name from GetPackageFileName target, which is invoked during publish.
Update eng/Publishing.props include archive file types, to use the projectprops file for each package file (if it exists), and to only apply Category=OTHER to nupkg files (this categorization forces publishing to blob feeds instead of NuGet feeds; all other 'binary layout' types are published to blob feeds automatically).

Example build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2086815&view=results

Release Notes Entry

I want to point out that this PR does not actually enable the archives to be published yet (it's still maked as IsShipping=false) but updates the targets to allow it to be published. The example build shows the behavior when the archives are marked as shipping.

/backport to release/6.x

/backport to release/7.0


Fix DER reading from stdin for BIO_f_readbuffer

Fixes #14559
The intitial implementation of the gets() function tried using the next bio's gets() function.
For a file BIO this returned incorrect data for binary data containing 0x00.
Just buffering all data during gets() did not work however since some
applications open and close the bio multiple times when dealing with pem
files containing multiple entries.. This does not work
when reading from stdin unless the data if buffered one byte at a time.

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

Manually verified that previous issues raised also still work... i.e.
> cat test/certs/leaf.pem | ./apps/openssl x509 -MD5 -fingerprint -noout -inform PEM
> cat test/recipes/20-test_dhparam_check_data/dhx_ffdhe2048.pem | ./apps/openssl dhparam -noout -text

looks like I have an off by 1 error here..

I did a double take on that 1 + but figured you knew what you were doing....

Obviously not :)

This is ready now

Thanks for reviewing. Merged to master.


Crashes when level file is missing

From Maoy on Discord: https://discord.com/channels/120295792266182656/1016311667468009555/1072182942442475530

Last opened pointing to a file that no longer exists?
Selecting a level node pointing at a level whose file no longer exists

Last opened file would cause a crash if LH workshop data pointed at a non-existing level


perhaps flags for to/from language switch

no, flag is for interface language, using flags for search language as well can be confusing


[1.12.1] elevator possibly not letting joining a server

put a premade map on a server, upon starting the server throws this

even though both the client and the server have the same jar/configs. if this is ignored, upon joining the client prints out [Netty Client IO #2/FATAL] [FML]: Failed to connect to server: there are 4 missing blocks and items. starting a fresh world doesn't help.
removing rftools from both the client and the server lets the client join the server without any problems. there are absolutely no meaningful logs neither on the client nor the server.
version: 6.12
forge: 2446

I need the logs anyway


MS Teams support on Windows OS LTSC

[Enter feedback here]
Hello Team,
Could you please confirm if the MS Teams client is supported on Windows Enterprise LTSC OS. (https://docs.microsoft.com/en-us/windows/whats-new/ltsc/)
Regards,
Rajkumar Das

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

ID: 29a61ff5-b3a5-158d-149a-dec344060e05
Version Independent ID: 97fac351-a283-aaa8-cde1-fbd9cf4e8504
Content: Hardware requirements for Microsoft Teams - Microsoft Teams
Content Source: Teams/hardware-requirements-for-the-teams-app.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Add ctx.BindJson<'T>(jsonSerializerOptions)

It would be nice if context.BindJson would allow passing custom JsonSerializerOptions.

@pkese have you seen the json custom configuration docs https://lanayx.github.io/Oxpecker/src/Oxpecker/#writing-json ?

Yes, I have, but I have different parts of API are expecting different types of data:
one part of my API is public, the other part is exposed to F# client sending Thoth.Json compliant data, so I need two sets of JsonSerializerOptions

I see. I think that current helpers like BindJson are just for the most common scenarios, but it should be very easy to add customize, for example
module My =
    let anotherSerializer = SystemTextJsonSerializer(myOptions)

and then
[<Extension>]
static member WriteJson2<'T>(ctx: HttpContext, value: 'T) =
    My.anotherSerializer.Serialize(value, ctx, false)

so give this is easy achievable I'm reluctant to extend API