Is there any lightmap count limit ?

Hi laurenth , I have just got a new hope to start my day night swapping journey in my commercial game project after I have found out your cool asset here,
I have tried swapping day and night lighting in little scenes , like there is only a hut and bunch of trees, works definitely well.
But  in my actual scene which is very big , it has total 229 lightmaps for day and 229 lightmaps for night, no resolution changed , everything is same just the light , but when I swap between the night and day , only the skyboxes of night and day scenes are changing , the night lightmap doesnt turn to day lightmap at all, like, When I switch , the morning sky shows up , but still it's darkness on the island ,, no daylight at all,  I get no error messages , just the night lightmap stays forever no matter how many times I switch between day and night , I tried again with a simple scene , with the same method, there it works well, night days are swapped properly , but in my main scene ,, the lightmap isnt swapping at all, I baked the night last , and only the night lightmap is now in the scene and doesnt swap to day lightmap which I baked and stored at the first . is that a bug or something> like the total lightmap size of each day and night is around 4.5 gb , consists of 210 2k lightmaps, 15 1k lightmaps , 4x 512 lightmaps same for each scene, is there a limit for the lightmap swapper to do this action?
please help me out , Im totally stuck at this point

Hello,
I don't know of any limit and I see nothing about that in the documentation, but maybe there is.
Do you get the problem in the editor ? is there any error in the log ?
It sounds like a lot of data to swap at the same time, and the tool doesn't have any logic to delay the swap for some of the light maps right now.
It sounds like an interesting case but I don't think I can work on an update soon.
Unity's Adaptive probe volume should support switching too nowadays, have you tried using it ?

Hello, I don't know of any limit and I see nothing about that in the documentation, but maybe there is. Do you get the problem in the editor ? is there any error in the log ? It sounds like a lot of data to swap at the same time, and the tool doesn't have any logic to delay the swap for some of the light maps right now. It sounds like an interesting case but I don't think I can work on an update soon. Unity's Adaptive probe volume should support switching too nowadays, have you tried using it ?

thanks for the quick reply , but I fixed it somehow, I dont have idea about that error which says negative index or something like that , what I did is , drag and dropped lightmap data asset of the day scene in the baked lightmap tab , and then I clicked on the store button beside the day scene array , and now switching between day and night works well.
The main thing is when you wanna store a lightmap , just make sure that the lightmap data asset of that specific scene is currently assigned, then you can store it whenever you like. The asset is awesome, .
Btw, can you work on "blending" feature while swappng between lightmaps to prevent sudden pop up? i mean in the future at least?  because Adaptive probe volume is only for the URP and HDRP since unity has got divorce from the built in RP

Blending would not be very efficient as the light maps are Texture2D and they are not compatible with Render Texture. This means that essentially I'd need to make a render texture to blend the 2 light maps, and each frame save the result to a texture 2D which is quite inefficient and usually leads to hiccups.

Blending would not be very efficient as the light maps are Texture2D and they are not compatible with Render Texture. This means that essentially I'd need to make a render texture to blend the 2 light maps, and each frame save the result to a texture 2D which is quite inefficient and usually leads to hiccups.

I see, I think bledning the post processing would be a tricky way to prevent the pop up, whatever , Im sorry to knock here again, Now I switch between lightmaps, but the reflection data and light probes arent getting into the scene , I get this warning below:
Warning, error when trying to load lightprobes for scenario 0
UnityEngine.Debug:LogWarning (object)
LevelLightmapData:LoadLightProbes (int) (at Library/PackageCache/com.laurenth.lightingtools-lightmapswitcher@2019.3.1/Runtime/LevelLightmapData.cs:194)
LevelLightmapData/d__16:MoveNext () (at Library/PackageCache/com.laurenth.lightingtools-lightmapswitcher@2019.3.1/Runtime/LevelLightmapData.cs:122)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
do you know what could be wrong here?


Add a new sidebar tab for UnKenny NPCs

This could be helpful:
https://github.com/arcanistzed/sidebar-macros

It is not possible for modules to create new document types. Adding a new sidebar is therefore pointless.


Python: Update dev setup readme

Motivation and Context

The DEV setup readme does not clearly outline which workspace and formatter to use in VSCode. And some instructions also show inconsistencies in the project folder structures.
Description

Update the README to make things more obvious and consistent.
Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Python 3.10 Test Coverage Report • FileStmtsMissCoverMissingTOTAL636571889% report-only-changed-files is enabled. No files were changed during this commit :)
Python 3.10 Unit Test Overview

Tests
Skipped
Failures
Errors
Time

1511
1 :zzz:
0 :x:
0 :fire:
25.536s :stopwatch:


i18n(zh-cn): translation of sharing state

What kind of changes does this PR include?

New translation of Sharing State

Description

New translation of Sharing State

Thanks @LiHowe, good job! LGTM :purple_heart:
Just a note: this and other pages are marked as i18nReady: false. We strongly recommend not translating these pages because they are subject to big changes, so please only pick pages in the "Missing" or "Needs updating" sections of the Translation Status Overview issue so your effort doesn't have any chance of being wasted.

Oh... looks like I'm forgot to read the pinned issue, sorry about that. 😶🌫
I'll look for some page marked as i18nReady:false for translation later.


Changed the last of the camel case protobuffer definitions to use an underscore delimited format.

Fixed #34
PR on top of https://github.com/openid/OpenYOLO-Android/pull/73

Codecov Report

Merging #74 into master will increase coverage by 0.01%.
The diff coverage is 50%.

@@             Coverage Diff              @@
##             master      #74      +/-   ##
============================================
+ Coverage     70.94%   70.95%   +0.01%
  Complexity      436      436
============================================
  Files            58       58
  Lines          2437     2438       +1
  Branches        241      242       +1
============================================
+ Hits           1729     1730       +1
+ Misses          641      640       -1
- Partials         67       68       +1

Impacted Files
Coverage Δ
Complexity Δ

...java/org/openyolo/protocol/HintRetrieveResult.java
90.16% <0%> (+1.63%)
9 <0> (ø)
:arrow_down:

...rg/openyolo/protocol/CredentialRetrieveResult.java
91.8% <66.66%> (-1.54%)
10 <0> (ø)

Continue to review full report at Codecov.

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


Standard library function core::slice::<impl [T]>::split_first does not codegen

It relies on ProjectionElem::Subslice which is unimplemented
related #109

This is also blocking regex-syntax from https://github.com/rust-lang/regex

Also blocking the backtracecrate: https://doc.rust-lang.org/std/backtrace/index.html

With #609 these projects are not blocked anymore.
I am using a script similar to codegen-firecracker.sh to compile these projects:
export RUSTC_LOG=error
export RUST_BACKTRACE=1
export RUSTFLAGS=$(rmc-rustc --rmc-flags)
export RUSTC=$(rmc-rustc --rmc-path)
cargo build --target x86_64-unknown-linux-gnu

with rmc-rustc in my path. For regex I got:
    Updating crates.io index
   Compiling memchr v2.4.1
   Compiling regex-syntax v0.6.25 (/home/ubuntu/regex/regex-syntax)
   Compiling aho-corasick v0.7.18
warning: field is never read: `printer`
  --> regex-syntax/src/ast/print.rs:66:5
   |
66 |     printer: &'p mut Printer,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: field is never read: `printer`
  --> regex-syntax/src/hir/print.rs:74:5
   |
74 |     printer: &'p mut Printer,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^

   Compiling regex v1.5.4 (/home/ubuntu/regex)
warning: `regex-syntax` (lib) generated 2 warnings
    Finished dev [unoptimized + debuginfo] target(s) in 37.93s

And for backtrace I got:
    Updating crates.io index
  Downloaded libc v0.2.106
  Downloaded cc v1.0.71
  Downloaded 2 crates (612.2 KB) in 0.38s
   Compiling autocfg v1.0.1
   Compiling memchr v2.4.1
   Compiling cc v1.0.71
   Compiling libc v0.2.106
   Compiling gimli v0.25.0
   Compiling adler v1.0.2
   Compiling cfg-if v1.0.0
   Compiling rustc-demangle v0.1.21
   Compiling miniz_oxide v0.4.4
   Compiling object v0.26.2
   Compiling backtrace v0.3.61 (/home/ubuntu/rmc-dash/library/backtrace)
   Compiling addr2line v0.16.0
    Finished dev [unoptimized + debuginfo] target(s) in 27.88s


hotfix: restrict DiffEqBase.jl to let CI pass

Closes #1784
A better fix would be #1785 but there seems to be something missing for it right now...

Does not seem to work (yet)?

Installed DiffEqBase ─────────────────────── v6.144.1

That's the line from installing the package. I modified the settings for the tests. Thus, it should downgrade DiffEqBase.jl when running tests.

Ok. But shouldn't we then just restrict it for Trixi.jl itself, and not just the tests? Otherwise people might still end up with the wrong version, wouldn't they?

We don't depend on DiffEqBase.jl explicitly in Trixi.jl.


Incorrectly joined translation entities in the grids/repositories

Consider my use case: my application locale is english en, however, the admin user has polish locale set in his settings pl.
This is how your grid definition looks like:
sylius_grid:
    grids:
        bitbag_sylius_cms_plugin_admin_block:
            driver:
                name: doctrine/orm
                options:
                    class: "%bitbag_sylius_cms_plugin.model.block.class%"
                    repository:
                        method: createListQueryBuilder
                        arguments: ["%locale%"]

You inject the %locale% which is english, can you see the flaw? Now you use that locale code and force select joined translation:
        return $this->createQueryBuilder('o')
            ->addSelect('translation')
            ->leftJoin('o.translations', 'translation', 'WITH', 'translation.locale = :localeCode')

The result is, the entity only holds english translations in the translations collection. When the grid is displayed, it's trying to pull polish translations, so the final result is:

Related to https://github.com/Sylius/Sylius/pull/11381#discussion_r411380029

Ping @bitbager

Hello, issue has been resolved with: https://github.com/Sylius/Sylius/issues/11422 - closing.


This repository is over its data quota. (LFS)

This error says that you should purchase more bandwith for using LFS files
It comes from the LFS file sqlcipher.tar.gz added here https://github.com/signalapp/better-sqlite3/commit/bd26a8145b9d2bbf8f26af1c02f99ab58c2401e7
Error downloading object: deps/sqlcipher.tar.gz (a23d694): Smudge error: Error downloading deps/sqlcipher.tar.gz (a23d6941a63307a5aec6a62d260d44406c378462b1d2e16b867f37817db20132): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
Complete logs :
user@fedora:$ git clone https://github.com/signalapp/better-sqlite3
Cloning into 'better-sqlite3'...
remote: Enumerating objects: 10206, done.
remote: Counting objects: 100% (585/585), done.
remote: Compressing objects: 100% (220/220), done.
remote: Total 10206 (delta 362), reused 569 (delta 353), pack-reused 9621
Receiving objects: 100% (10206/10206), 84.79 MiB | 24.03 MiB/s, done.
Resolving deltas: 100% (6598/6598), done.
Downloading deps/sqlcipher.tar.gz (28 MB)
Error downloading object: deps/sqlcipher.tar.gz (a23d694): Smudge error: Error downloading deps/sqlcipher.tar.gz (a23d6941a63307a5aec6a62d260d44406c378462b1d2e16b867f37817db20132): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Errors logged to '/home/user/git/me/signal-desktop-fedora/better-sqlite3/.git/lfs/logs/20220709T140309.592103276.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: deps/sqlcipher.tar.gz: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Seems fixed for me.

Seems fixed for me.

Indeed, seems to be fixed


Can I detect the Inversion?

Hi,
Can I detect the inversion using the Assemblytics.
Thx
Sincerely,
She

No, Assemblytics doesn't try to detect inversions. See the paper in Bioinformatics or BioRxiv for more information about what variant types are supported.

No, Assemblytics doesn't try to detect inversions. See the paper in Bioinformatics or BioRxiv for more information about what variant types are supported.


support for bootstrapping service with a load balancer

Currently bootstrap only works with services that do not need a load balancer. Because ECS does not allow modification of a service at a later point to attach to a load balancer, this needs to be done at creation.

probably the easiest thing to do would be to add a load_balancer_config: key to Target... then when you go to deploy broadside can check if the configured ELB is actually set up on the targeted service and fail if not.
if bootstrapping the service, you can use the AWS ELBv2 API to set up the load balancer prior to the service setup, then use the configured ELB in the service bootstrap.
doesn't sound that hard but probably most of a day's work so it really depends on how much time you're wasting setting up ELBs right now.

oh, damn. i just ran into this now.

Ok, with proper instructions/documentation, this is possible just with the changes in #83. Your config needs to be correct, and you need that extra code to strip off the service definition attributes that ECS doesn't allow for update (ELB, IAM). That PR isn't done, but it works.
I have my example service config (almost exactly real, minus image location and ECS cluster name) here for posterity/public view. We're just running this Redshift maintenance app in our cluster. It's pretty well annotated, but I can add more information, if necessary. This probably should go in the docs somewhere, after #83 is spec'd out and merged, because it took ~2h of reading docs and experimenting for me.

should we resolve this?


Consolidated OTel ES IndexNameProviders

Which problem is this PR solving?
There were two indexNameProviders with very similar code.  One for reading and one for writing.  These have been consolidated into one provider in the esclient package
Short description of the changes

Consolidated IndexNameProviders and tests

@pavolloffay If you have a chance to look at this I would appreciate it.


Change the direction of the arrow for " Vault"

Change the direction of the arrow on  "deposit" button
deposit - up arrow

checked

checked


Add detection for Termux terminal

Description
Adds detection for Termux (Termux sets the $TERMUX_VERSION environment variable, but doesn't expose its PID).

Changed the Termux detection to be after the PPID check. Termux doesn't show its own PID, so this catches an x11 terminal running off Termux.

This shows the terminal as "com.termux" for termux 0.118...
I fixed it by adding a special check

Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!


Corne Classic v2.0 OLED Power?

I have the v2.0 boards of the Corne Classic, and I can't seem to get the VCC pin for the OLED to have power.
I have the top OLED jumpers soldered on both sides. I'm currently using the Elite-C, and the test keypresses do work. Following the traces on the board, KiCad design, and schematic, it should have power.
Anyone else have this issue?

I have the top OLED jumpers soldered on both sides

Maybe it's mistake. You should solder one side.
Please check buildguide.

My apologies, I was unclear in that statement.
I have soldered the OLED Jumpers on the top side of the PCB for both left and right boards, according to the instructions in the buildguide. I'm not seeing anything that is different in my setup, besides the fact that the buildguide is for v1.1 of the board, and mine is v2.0

Anyone else have this issue?

No, I have not see this issue.
Please show me your assembly.


Show notification even when inside application

When I send a notification and the user is outside the app, it shows a normal notification.
However, If I send a notification while the user is inside the app, the app automatically processes the notification as if it was pressed, and no notification is shown.
Am I missing a config parameter or something that can disable this behavior?

This is nothing you control by changing the configuration of node-apn.

Thanks @oliversalzburg , Do you by any chance know how can I disable that behavior?

You will have to register your own handler: https://developer.apple.com/reference/uikit/uiapplicationdelegate/1623117-application?language=objc
This handler is only called if your app is running, otherwise the notification is purely handled by the OS. When you receive the notification, you can either show custom content or schedule a local notification for the same content.

iOS 10 added an option to display the system UI for a notification while your app is running: https://developer.apple.com/reference/usernotifications/unusernotificationcenterdelegate/1649518-usernotificationcenter
Before iOS 10 you had to manually display an alert or some other UI in your app.
@oliversalzburg I am not sure how scheduling a local notification would help in here.

Thanks @florianreinhart
A tiny bit irrelevant to me, as I am using a web application, but helpful nonetheless.

I thought the local notification is displayed to the user like a remote notification would when outside the app.
I'm really more of a backend guy here. So, sorry if the approach didn't make any sense :P In that case I'm also interested to learn how to achieve this :D

I don't have any experience with web apps.
For an iOS app it depends on your deployment target. In iOS 10 and up there is an API in the new User Notifications framework, see https://developer.apple.com/reference/usernotifications/unusernotificationcenterdelegate/1649518-usernotificationcenter
For iOS 9 and earlier you basically have to roll your own. The simplest solution would be to display an alert in your app from the UIApplicationDelegate method.


FIG/PSR compliance

Hello Hao and team!
I had the privilege of meeting some of your lovely colleagues at QuickBooks Connect in Melbourne Australia this week. They all speak very highly of you, and I was impressed by their enthusiasm.
I'd like to look into helping you get this repo to FIG PSR-2 compliance. Is this something you are open to?  I'd rather not start and put a PR in before I have a sense of your position on this.
https://www.php-fig.org/psr/psr-2/
I'm sure you're working on a number of features and so on. Is there a spot in the timeline which might best make sense for this?

Online meeting scheduled. Not bug related. close.


Add configuration for Ubuntu Server autoinstall

What is needed or missing to merge this?

This is tied with https://github.com/Dasharo/open-source-firmware-validation/pull/274 and I guess we need a successful verification by another pair of hands.
The Ubuntu server was perhaps not that pressing since then since we need to use desktop version anyways.


add coverage

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@3848f2b). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main      #9   +/-   ##
======================================
  Coverage        ?   0.00%
======================================
  Files           ?       2
  Lines           ?     111
  Branches        ?       0
======================================
  Hits            ?       0
  Misses          ?     111
  Partials        ?       0

Continue to review full report at Codecov.

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


Writing to local graphics memory causes llvm error: Invalid user of intrinsic instruction!

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

This numba cuda code:
import numba.cuda

@numba.cuda.jit(device=True)
def set_as_unit_rotor_device(array):
    for j in range(1,32):
        array[j] = 0.0
    array[0] = 1.0

@numba.cuda.jit(device=True)
def min_repoducer():
    r_running = numba.cuda.local.array(32, dtype=numba.float64)
    set_as_unit_rotor_device(r_running)
    return 1.0

@numba.cuda.jit
def min_repoducer_kernel():
    i = numba.cuda.grid(1)
    if i < 100:
        total_cost = min_repoducer()

blockdim = 64
griddim = 100
min_repoducer_kernel[griddim, blockdim]()

Produces this error:
Invalid user of intrinsic instruction!
void (i8*, i8, i64, i32, i1)* bitcast (void (i8*, i8, i64, i1)* @llvm.memset.p0i8.i64 to void (i8*, i8, i64, i32, i1)*)
Broken module found, compilation terminated!
Traceback (most recent call last):
  File "numbacudabug.py", line 23, in <module>
    min_repoducer_kernel[griddim, blockdim]()
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/compiler.py", line 753, in __call__
    kernel = self.specialize(*args)
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/compiler.py", line 764, in specialize
    kernel = self.compile(argtypes)
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/compiler.py", line 783, in compile
    kernel.bind()
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/compiler.py", line 500, in bind
    self._func.get()
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/compiler.py", line 378, in get
    ptx = self.ptx.get()
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/compiler.py", line 350, in get
    **self._extra_options)
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/cudadrv/nvvm.py", line 502, in llvm_to_ptx
    ptx = cu.compile(**opts)
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/cudadrv/nvvm.py", line 233, in compile
    self._try_error(err, 'Failed to compile\n')
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/cudadrv/nvvm.py", line 251, in _try_error
    self.driver.check_error(err, "%s\n%s" % (msg, self.get_log()))
  File "/usr/local/lib/python3.5/dist-packages/numba/cuda/cudadrv/nvvm.py", line 141, in check_error
    raise exc
numba.cuda.cudadrv.error.NvvmError: Failed to compile

NVVM_ERROR_COMPILATION

The error message is very cryptic (at least for me as someone who knows no llvm) and I think this might be a bug in numba.cuda

Thanks for the report. I'm afraid I cannot reproduce, here is an attempt to do so:
$ python -c 'import numba; import llvmlite; print(numba.__version__, llvmlite.__version__)'
0.42.0 0.27.0

$ cat issue3786.py
import numba.cuda

@numba.cuda.jit(device=True)
def set_as_unit_rotor_device(array):
    for j in range(1,32):
        array[j] = 0.0
    array[0] = 1.0

@numba.cuda.jit(device=True)
def min_repoducer():
    r_running = numba.cuda.local.array(32, dtype=numba.float64)
    set_as_unit_rotor_device(r_running)
    return 1.0

@numba.cuda.jit
def min_repoducer_kernel():
    i = numba.cuda.grid(1)
    if i < 100:
        total_cost = min_repoducer()

blockdim = 64
griddim = 100
min_repoducer_kernel[griddim, blockdim]()

$ python issue3786.py

$

Please could you paste the output of numba -s (redact any parts you don't want to share first!)? Thanks.

Ah apologies, just retried this with a different machine, it was a numba version config problem. Thought I was on 0.42.0 but was on 0.40.0!

Thanks for confirming and closing.


Vulnerability roundup 114: cifs-utils-6.13: 2 advisories [7.8]

search, files

[ ] CVE-2022-27239 CVSSv3=7.8 (nixos-21.11)
[ ] CVE-2022-29869 CVSSv3=5.3 (nixos-21.11)

CVE details
CVE-2022-27239
In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.
CVE-2022-29869
cifs-utils through 6.14, with verbose logging, can cause an information leak when a file contains = (equal sign) characters but is not a valid credentials file.

Scanned versions: nixos-21.11: 3c5ae9be1f1.

21.11 is unsupported, this is fixed in 22.05 (6.15) and unstable (7.0)


Add Vorbis benchmark.

Resolves https://github.com/google/fuzzer-test-suite/issues/115.

LGTM with a nit

Can't see the nit.  Did you submit the review?

git clone https://github.com/googlecodelabs/accelerated-mobile-pages-foundations.git


WIP: Add documentation

Let's see how this turns out…

why is CI not running here ? :(

No clue :( Maybe I broke sth in the config, but I linted the file and it seems clean

https://status.circleci.com/incidents/bkjyrv8fj1rg

Build artifact:
https://793-167957354-gh.circle-artifacts.com/0/site/index.html

CircleCI artifact web server doesn't seem to deliver index.html by default, so here are links to the artifacts>
https://793-167957354-gh.circle-artifacts.com/0/site/index.html
https://793-167957354-gh.circle-artifacts.com/0/site/settings/index.html


[Bug]: Website is not working

What happened?
Website is not working properly, components on the Navbar are falling down.
Will you assign this issue to me.
I'm in GSSOC'23
Add screenshots

What browsers are you seeing the problem on?
Chrome
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@shaikahmadnawaz Please check with other devices because I haven't received any complaints about this. I have personally checked it as well. However, if you still encounter any issues, please let me know so that we can  work on resolving them.

As the website is working fine ,I'll be closing this issue @shaikahmadnawaz


Installing lightning 2.3.3 also installs numpy<3

Bug description
I have hard time installing lightning with numpy<2. From what I see in the 2.3.3 source distribution on PyPI, I think that numpy<2 is properly set.
As you know, numpy>=2 causes all kinds of issues.
What version are you seeing the problem on?
master
How to reproduce the bug
docker run -it python:3.11 bash

# In the container
pip install lightning

Error messages and logs
root@f4bc9fb0a09d:/# pip install lightning
Collecting lightning
  Downloading lightning-2.3.3-py3-none-any.whl.metadata (35 kB)
Collecting PyYAML<8.0,>=5.4 (from lightning)
  Downloading PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting fsspec<2026.0,>=2022.5.0 (from fsspec[http]<2026.0,>=2022.5.0->lightning)
  Downloading fsspec-2024.6.1-py3-none-any.whl.metadata (11 kB)
Collecting lightning-utilities<2.0,>=0.10.0 (from lightning)
  Downloading lightning_utilities-0.11.3.post0-py3-none-any.whl.metadata (4.7 kB)
Collecting numpy<3.0,>=1.17.2 (from lightning)
  Downloading numpy-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB 104.0 kB/s eta 0:00:00
Collecting packaging<25.0,>=20.0 (from lightning)
  Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting torch<4.0,>=2.0.0 (from lightning)
  Downloading torch-2.3.1-cp311-cp311-manylinux1_x86_64.whl.metadata (26 kB)
Collecting torchmetrics<3.0,>=0.7.0 (from lightning)
  Downloading torchmetrics-1.4.0.post0-py3-none-any.whl.metadata (19 kB)
Collecting tqdm<6.0,>=4.57.0 (from lightning)
  Downloading tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 279.9 kB/s eta 0:00:00
Collecting typing-extensions<6.0,>=4.4.0 (from lightning)
  Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting pytorch-lightning (from lightning)
  Downloading pytorch_lightning-2.3.3-py3-none-any.whl.metadata (21 kB)
Collecting aiohttp!=4.0.0a0,!=4.0.0a1 (from fsspec[http]<2026.0,>=2022.5.0->lightning)
  Downloading aiohttp-3.9.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.5 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.11/site-packages (from lightning-utilities<2.0,>=0.10.0->lightning) (65.5.1)
Collecting filelock (from torch<4.0,>=2.0.0->lightning)
  Downloading filelock-3.15.4-py3-none-any.whl.metadata (2.9 kB)
Collecting sympy (from torch<4.0,>=2.0.0->lightning)
  Downloading sympy-1.13.0-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch<4.0,>=2.0.0->lightning)
  Downloading networkx-3.3-py3-none-any.whl.metadata (5.1 kB)
Collecting jinja2 (from torch<4.0,>=2.0.0->lightning)
  Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting nvidia-cuda-nvrtc-cu12==12.1.105 (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-runtime-cu12==12.1.105 (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-cupti-cu12==12.1.105 (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cudnn-cu12==<IP_ADDRESS> (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_cudnn_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cublas-cu12==<IP_ADDRESS> (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_cublas_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufft-cu12==<IP_ADDRESS> (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_cufft_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-curand-cu12==<IP_ADDRESS> (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_curand_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cusolver-cu12==<IP_ADDRESS> (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_cusolver_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparse-cu12==<IP_ADDRESS> (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_cusparse_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-nccl-cu12==2.20.5 (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl.metadata (1.8 kB)
Collecting nvidia-nvtx-cu12==12.1.105 (from torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.7 kB)
Collecting triton==2.3.1 (from torch<4.0,>=2.0.0->lightning)
  Downloading triton-2.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.4 kB)
Collecting nvidia-nvjitlink-cu12 (from nvidia-cusolver-cu12==<IP_ADDRESS>->torch<4.0,>=2.0.0->lightning)
  Downloading nvidia_nvjitlink_cu12-12.5.82-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting aiosignal>=1.1.2 (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning)
  Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting attrs>=17.3.0 (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning)
  Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting frozenlist>=1.1.1 (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning)
  Downloading frozenlist-1.4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning)
  Downloading multidict-6.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.2 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning)
  Downloading yarl-1.9.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (31 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch<4.0,>=2.0.0->lightning)
  Downloading MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy->torch<4.0,>=2.0.0->lightning)
  Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning)
  Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Downloading lightning-2.3.3-py3-none-any.whl (808 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 808.5/808.5 kB 471.6 kB/s eta 0:00:00
Downloading fsspec-2024.6.1-py3-none-any.whl (177 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.6/177.6 kB 268.0 kB/s eta 0:00:00
Downloading lightning_utilities-0.11.3.post0-py3-none-any.whl (26 kB)
Downloading numpy-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.3/19.3 MB 774.4 kB/s eta 0:00:00
Downloading packaging-24.1-py3-none-any.whl (53 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 1.2 MB/s eta 0:00:00
Downloading PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 757.7/757.7 kB 780.2 kB/s eta 0:00:00
Downloading torch-2.3.1-cp311-cp311-manylinux1_x86_64.whl (779.2 MB)
...

Environment

Current environment
#- PyTorch Lightning Version (e.g., 1.5.0): 2.3.3
#- PyTorch Version (e.g., 2.0): 2.3.1
#- Python version (e.g., 3.9): 3.11
#- OS (e.g., Linux): Linux f4bc9fb0a09d 5.15.0-113-generic #123-Ubuntu SMP Mon Jun 10 08:16:17 UTC 2024 x86_64 GNU/Linux
#- CUDA/cuDNN version: nvidia-cudnn-cu12==<IP_ADDRESS>

More info
No response

@wsascha Have you tried pip install lightning numpy<2.0?

Did that as workaround. But that shouldn’t be the case as you restrict the numpy version. I just don’t understand why pip thinks it’s ‘<3‘.

Ok, I did some RTFMing in the requirements directory and it seems you drop the upper bound and maybe just restrict the major version (but that’s a guess, I haven’t looked into the code).
But I still think that allowing numpy >=2 isn’t a very good idea.

Yes we drop the upper bounds in general, unless they are marked with the # strict marker. This is to allow users to install newer dependencies if they want to, because after the package is released on a certain date, we don't go back and bump dependencies. This is all intentional.
Which feature in Lightning is not compatible with numpy 2? Can you please explain that? We don't use numpy in many places.
Note, after #16649, numpy won't be a required dependency anymore.

I understand it's much easier to not maintain upper limits because you cannot make guarantees if stuff still works. However, can guarantee things covered in your tests work well in the ranges you test it for.
So why not set these upper limits? – Imho, users have two options:

Use a more recent lightning version and just update their code base (obvious I guess) :rofl:
Install lightning first, then install whatever dependency they want on top (it's not nice but works for pip)

#16649 sounds good and makes sense to me.

Regarding bug hunting with numpy>=2, I later figured out it's not a bug in lightning.
Although it's an exception raised in
https://github.com/Lightning-AI/pytorch-lightning/blob/50af052b3129164e28efa8b9321d733311b7b459/src/lightning/fabric/loggers/tensorboard.py#L256
it's actually an issue with the as_dtype function in tensorboard.compat.tensorflow_stub.dtypes.

Stack Trace
`np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.
  File "/tmp/foo/.venv/lib/python3.11/site-packages/numpy/__init__.py", line 397, in __getattr__
    raise AttributeError(
  File "/tmp/foo/.venv/lib/python3.11/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py", line 677, in as_dtype
    if type_value.type == np.string_ or type_value.type == np.unicode_:
                          ^^^^^^^^^^
  File "/tmp/foo/.venv/lib/python3.11/site-packages/tensorboard/util/tensor_util.py", line 405, in make_tensor_proto
    numpy_dtype = dtypes.as_dtype(nparray.dtype)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/foo/.venv/lib/python3.11/site-packages/tensorboard/plugins/hparams/metadata.py", line 32, in <module>
    NULL_TENSOR = tensor_util.make_tensor_proto(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/foo/.venv/lib/python3.11/site-packages/torch/utils/tensorboard/summary.py", line 192, in hparams
    from tensorboard.plugins.hparams.metadata import (
  File "/tmp/foo/.venv/lib/python3.11/site-packages/lightning_fabric/loggers/tensorboard.py", line 256, in log_hyperparams
    exp, ssi, sei = hparams(params, metrics)
                    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/foo/.venv/lib/python3.11/site-packages/lightning_utilities/core/rank_zero.py", line 42, in wrapped_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/tmp/foo/.venv/lib/python3.11/site-packages/pytorch_lightning/loggers/tensorboard.py", line 181, in log_hyperparams
    return super().log_hyperparams(params=params, metrics=metrics)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/foo/.venv/lib/python3.11/site-packages/lightning_utilities/core/rank_zero.py", line 42, in wrapped_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^

I'll close this issue here. Thanks for your prompt response. – Much appreciated! :blush:

Thanks for the feedback. If it comes up more from users (this dependency pinning in general), we'll think about changing things up.
I think it's also a bit an extreme case here where a super popular library made a major version jump.
Regarding testing, we do have a dependabot that auto-bumps dependencies for us (on the master branch), so we do end up testing generally the latest versions in our CI. And we should eventually also let it bump numpy to 2.0.


Be able to use http-reuse to make connections pooling with backends

Be able to use http-reuse to make connections pooling with backends (introduced with hap 1.6)

Thanks!
Yea, we're going to need to sync up with 1.6 at some point, it's been a while ...

:-) Thank you guy !


Dynamic Listbox

Here is what I am trying to do:
I am writing a simple MP3 player. I have a layout with 2 columns. The 1st column has a ListBox with the playback controls and a couple of other widgets. What I would like in the 2nd column is a ListBox containing the list of songs available to play. However, I won't know what that list is until run-time, so I would like to be able to dynamically determine the number of rows and their contents.

If I were you, I'd make your ListBox in the 2nd column fill the space available (http://asciimatics.readthedocs.io/en/latest/widgets.html#filling-the-space) and then just set the options property (http://asciimatics.readthedocs.io/en/latest/asciimatics.html#asciimatics.widgets.ListBox.options) once you know what the tracks are.

Thanks! I figured it out!


Allow override for preload in Dataloader Ecto

We can already override run_batch, but preload is hard coded. It would be nice to be able to add a customizable preload here.

Hi @jfrolich can you elaborate?

🙈Can't remember anymore. Sorry for this poorly described issue. I can remember I had some dirty workaround so I will probably run into this later on, and then try to create a better issue.

All good!


User productivity stats - could be implemented on individual models, or on entire dataset.

This is a vb code used to calculate productivity of users working on the collection database.
Productivity is defined as number of specimen records entered to the database during one hour period. Total working time is calculated as time between the first and last records (CreatedOn) during period of time + 5 min (assuming that at least 5 min is required to create one record). So if you have only one record during the period, you spent 5 min on the database.
One period is calculated as set of consecutive data entries which are not separated from each other more than 60 min. So if you have 2 records in the database with interval of 45 min, the total work time will be 50 min. Two records with interval of 70 min produce two working periods 5 min each, the total work time is 10 min.
Example of statistics:

Original vb script:
objCmd.CommandText = "SELECT CreatedOn FROM dbo.tbl3iCollectionSpecimensNew WHERE CreatedBy = @myParameter ORDER BY CreatedOn DESC"
     objCmd.Connection = objConn
     objConn.Open()
     Dim dr As SqlClient.SqlDataReader = objCmd.ExecuteReader

     Dim dtable As New DataTable
     Dim row As DataRow
     Dim n, nTotal, minute, timeDif, recMax As Integer
     dtable.Columns.Add(New DataColumn("Date/Time", GetType(String)))
     dtable.Columns.Add(New DataColumn("Records", GetType(Integer)))
     dtable.Columns.Add(New DataColumn("Hours", GetType(Double)))
     dtable.Columns.Add(New DataColumn("Minutes", GetType(Integer)))
     dtable.Columns.Add(New DataColumn("Records/Hour", GetType(Integer)))
     dtable.Columns.Add(New DataColumn("Width", GetType(Integer)))
     Dim dateStart, dateEnd As Date
     n = -1
     nTotal = 0
     Do While dr.Read
        n += 1
        nTotal += 1
        If dateEnd = Nothing Then
           minute = 5
           dateEnd = CDate(dr("CreatedOn"))
        Else
           timeDif = CInt(DateDiff("n", CDate(dr("CreatedOn")), dateStart))
           If timeDif > 60 Then ' max time in between consecutive records.
              row = dtable.NewRow()
              row("Date/Time") = Format(dateStart, "MM/d/yyyy h:mm tt") & " - " & Format(dateEnd, "h:mm tt")
              row("Records") = n
              row("Hours") = CInt(minute / 6) / 10
              row("Minutes") = minute
              row("Records/Hour") = CInt(n * 60 / minute)
              dtable.Rows.Add(row)
              If CInt(n * 60 / minute) > recMax Then recMax = CInt(n * 60 / minute)
              n = 0
              minute = 5
              dateEnd = CDate(dr("CreatedOn"))
           Else
              minute += timeDif
           End If

        End If
        dateStart = CDate(dr("CreatedOn"))
     Loop
     lblTotalNumberRecords.Text = CStr(nTotal)
     If nTotal = 0 Then Exit Sub
     If dateStart <> Nothing Then
        n += 1
        row = dtable.NewRow()
        row("Date/Time") = Format(dateStart, "MM/d/yyyy h:mm tt") & " - " & Format(dateEnd, "h:mm tt")
        row("Records") = n
        row("Hours") = CInt(minute / 6) / 10
        row("Minutes") = minute
        row("Records/Hour") = CInt(n * 60 / minute)
        dtable.Rows.Add(row)
        If CInt(n * 60 / minute) > recMax Then recMax = CInt(n * 60 / minute)
     End If

We have nice implementation of this calculating total amount of time spent on the DB. I would like to extend it to keep track of work periods of hourly employees. When the system stores working periods for each person. Inactive time of 1 hour was proved as a good breackout (see the diagram above).

Confirming that  you see this for colleciton objects @proceps, it's implemented there.

where can I see it?

Can we also visualize the time spent on project for each member of the project (when I go to the project overview page)

Ok, I got a report page. Is it just based on "created_at" values? Or it is using the same metrics as user activity?

It is using your algorithim. It is not the same as activity.

Yes, quite easily.  But note that batch uploads break all this (e.g. DwC) unless we include origin relationships for all of them (which we do for DwC, so in theory we could exclude those records).

Well, ask for a date range, so it should not be matter in a longer run.
So I would like to add:

User activity stats and add this to the list of people in project (yes, this will show the totals stats if the person is signed in more than one project; may be to put an asteric for such users).
Exted the "Collection work report interface" to add a model picker at the top. (potential models: asserted distribution, biological associations, observations, taxon_names).


Fixed symbol ERANAMES for locales de, de_AT, de_CH

Fixed symbol ERANAMES for locales de, de_AT, de_CH
Removed duplicated comments
Added space to symbol ERAS for locale nl

Oh oh, looks like changes must happen via http://cldr.unicode.org/ project...

Reason why it's "v. Chr." and not "vor Christus" for wide version-> https://st.unicode.org/cldr-apps/v#/de/Gregorian/

See also https://github.com/dart-lang/intl/pull/297#issuecomment-651469562 for details

Todo: check every week if Survey Tool is open: https://sites.google.com/site/cldr/translation and set request with change...

Linked: https://github.com/dart-lang/intl/issues/270


Add catch-all handler for consume/3 in Nerves.Network.DHCPManager.

Otherwise, it crashes.  Instead of doing that, I propose we add a catch-all handler that warns when something isn't handled.

This is fine. My view had been that if an unknown event was sent through that it meant that some aspect of the system wasn't understood. I can't say that I've learned much from missed events whenever I've seen a crash, though.

Cool!  @mobileoverlord and @GregMefford were pairing with me when I added this, so I'm going to go ahead and merge it.


Continuous sliding ?

Hi, I was wondering if there is a way to achieve continuous sliding with Slick?
Something like that : http://coolcarousels.frebsite.nl/c/23/
If there is a way, I could not find it in the documentation sorry!

hey, I think you might be able to achieve something similar by setting the cssEase to linear and the speed to the same value as the autoplaySpeed ... if this doesn't make sense then create a JSFiddle and I'll try to edit it for you :smile:
Simon

That does makes sense, I will try and let you know how it went!
Thanks

The continuous scrolling example above built with [carouFredSel version <= 6.2.1]
(https://github.com/gilbitron/carouFredSel) uses very high CPU

After some testing, it works with a linear easing, a very low auto play speed (I used 1ms), and then a high transition speed (like 10000ms).
Thanks for the insight!

@ierpe can you post an example?

http://jsfiddle.net/ierpe/qrL0vor8/4/
You can just change the transition speed to get the desired speed

Thank you @ierpe looks very nice

Is there a good way to pause this while hovering? I can call, 'slickPause', but it will only stop after the transition speed is complete.

sorry, @rossthedevigner  ... I cannot think of a way that would be possible...
only theory I have is that you calculate which slide is closest when hover (ie, has it scrolled past 50%? maybe u can check the interval for that}, then change the options so that
waitForAnimate is false
speed is 100
and then use .slick("goTo") method to go to the closest slide ?
it's not really going to pause it where it currently is, but honestly you could create your own mini-plugin to do a continuous-scrolling div that pauses on hover with not much effort :smile:
Si.

@Simeydotme It's a bit of an edge case really for much larger views > 1200px, instead of the intended usage.
I haven't taken a solid look myself, but from what I did see I was going to try $.stop() on .slick-track or use animation-play-state: paused

Anyone using this hack have an issue with the slider running really fast at first? It looks like the slider is doing some initial 'correction' and then it's fine.

Continuous sliding? Anyone have any update on that. The feature is really needed. We can use some tricks but it’s not smooth as like e.g http://coolcarousels.frebsite.nl/c/23/

Any updates here for the best practice?  The given samples are not working well when there are more than 15 images and showing 6 images per round.

I'm also looking for a solution for the continous infinite scroll problem. In my case, the speed of the carousel is changing everytime the speed duration hits even through cssEase is set to 'linear'.

Hi, I stucked, any ideas how to fix it?
There's problem after last slide, another loop doasn't start immediately but first slide is delayed.
https://codepen.io/urbi/pen/zbjeWz

The suggested 'linear + speed' solution does a weird back and forward loop when it gets to the end of the slides 😭
https://codepen.io/bananafarma00/pen/OJLOpxG

@BB-000 You wanna add centerMode:true, that'll fix that wierd jerk at the end. Not really sure why it happens though

@BB-000 You wanna add centerMode:true, that'll fix that weird jerk at the end. Not really sure why it happens though

Man! thanks a lot, magic!

Anyone using this hack have an issue with the slider running really fast at first? It looks like the slider is doing some initial 'correction' and then it's fine.

Did you ever find a solution to this? @gina-gregory

Personally, I ended up switching to Embla Carousel for my needs, as I could never fix all issues with Slick, and I think the development has stopped for this plugin.


feat(API): Add properties available in NI-XNET 18.0.

[x] This contribution adheres to CONTRIBUTING.md.
[x] New tests have been created for any new features or regression tests for bugfixes.
[x] tox successfully runs, including unit tests and style checks (see CONTRIBUTING.md).

This change adds the new properties listed in #255.
This change does not address the two new methods for
converting byte arrays.
Add a new enum value:

DevForm.PCIE

Add new error codes:

NX_ERR_LOW_LEVEL_COMMUNICATION_TIMEOUT
NX_ERR_CDAQ_TRANSFER_ABORTED
NX_ERR_DATABASE_IMPORT_VERSION
NX_ERR_EVENT_UNEQUAL_PAYLOAD_LENGTH
NX_ERR_EVENT_UNEQUAL_CHECKSUM_TYPE
NX_ERR_CRIO_BAD_DRIVER_VERSIONS
NX_ERR_CRIO_MISSING_SLOT_SUPPORT
NX_ERR_INTF_ALREADY_IN_USE_BY_NI_XNET
NX_ERR_INTF_ALREADY_IN_USE_BY_NI_XCL
NX_ERR_BYTE_ARRAY_NOT_ALLOWED
NX_ERR_NO_BYTE_ARRAY_MIX
NX_ERR_ONLY_ONE_BYTE_ARRAY

Sort existing errors (matches changes made in nixnet.h):

NX_ERR_SESSION_TYPE_FRAME_INCOMPATIBILITY
NX_ERR_DIAGNOSTIC_SCHEDULE_NOT_DEFINED

Add two new driver properties, along with unit tests for them:

Interface.lin_checksum_to_in_strm
J1939.include_dest_addr_in_pgn

Here is the equivalent C API documentation for the new properties:

http://zone.ni.com/reference/en-XX/help/372841T-01/nixnet/nxpropsession_intflinchecksumtoinstrm/
http://zone.ni.com/reference/en-XX/help/372841T-01/nixnet/nxpropsession_j1939includedestaddrinpgn/

Coverage decreased (-5.2%) to 62.549% when pulling 0d2d8c29bd674d10ca79c030e1408c2df401af5c on d-bohls:add_18_0_props into efe3f4eb299572f35917617cebb1ddfb151d87d0 on ni:master.

Coverage decreased (-5.2%) to 62.549% when pulling 0d2d8c29bd674d10ca79c030e1408c2df401af5c on d-bohls:add_18_0_props into efe3f4eb299572f35917617cebb1ddfb151d87d0 on ni:master.

After I changed the tests from unit to integration tests, the integration tests started failing on Jenkins because the test machine has an older XNET driver that doesn't support the newer properties. I'll upgrade the XNET driver on the test machine and run the tests again.


how to add sound,video like image

what about  adding  sound and video

It is not supported yet.

Hello there!
This enhancement is going to happen?
Thanks in advance.


Replace pyff by a simpel bash script

Pyff's memory requirements are ridiculous, and not suitable for the SC docker environment.  Therefore, let's just replace Pyff by a simple bash script that selects the correct entities and resigns the XML.
We could then move the scripts from a docker how to a regular SURFconext management host.
As a bonus, this would make metadata signing using HSMs possible.
See https://gitlab.surf.nl/surfconext/surfconext-metadata-publish for inspiration on how SURFconext handles this (specifically the sign_metadata.sh scrip)t.

This needs to be deployed for test2.

We have an update metadata tools machine for SC, lets put in on there.  For the old TAP, we keep the current metadata servicer.


Should mention adding references too

This feature can also add in a reference to the project in some situations. One such example is a reference to another project in the same solution.

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

ID: 9e4d9b29-d1e3-1ef9-7169-28c098c56fac
Version Independent ID: 103bb41e-4db7-dc1f-84f0-560da4a53d0b
Content: Generate usings - Visual Studio
Content Source: docs/ide/reference/generate-usings.md
Product: visual-studio-windows
GitHub Login: @kendrahavens
Microsoft Alias: kendrahavens

@henke37 Thanks, we will get this added.

Fixed in https://github.com/MicrosoftDocs/visualstudio-docs-pr/pull/6081


[#6292] Update CosmosDbPartitionedStorage from Functional to Unit tests

Addresses #6292
#minor
Description
This PR removes the existing Functional tests and as a replacement, it adds support for internal testing to the CosmosDbPartitionedStorage class, and introduces all the necessary unit tests, increasing the code coverage up to 86%.
Specific Changes

Updates the CosmosDbPartitionedStorage class, adding a new internal constructor.
Updates the CosmosDbPartitionedStorage.DocumentStoreItem class accessibility from private to internal, so it can be accessed from the tests.
Adds new unit tests to the CosmosDbPartitionedStorageTests class for each method, constructor, method validations, etc.

Testing
The following image shows the new unit tests and the code coverage.

Pull Request Test Coverage Report for Build 301894

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.003%) to 78.708%

Files with Coverage Reduction
New Missed Lines
%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetNextViableTime.cs
1
90.91%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetPreviousViableTime.cs
1
90.91%

Totals

Change from base Build 301524:
0.003%

Covered Lines:
25292

Relevant Lines:
32134

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll

Hi, @gabog, sorry I had to fix a mistake with the commits, but it's ready now.


Fix XML indention of comments (close #3200)

cc @chrisbra

Codecov Report

Merging #3248 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3248      +/-   ##
==========================================
+ Coverage   76.44%   76.44%   +<.01%
==========================================
  Files          93       93
  Lines      136804   136805       +1
==========================================
+ Hits       104580   104582       +2
+ Misses      32224    32223       -1

Impacted Files
Coverage Δ

src/version.c
82.06% <0%> (-0.9%)
:arrow_down:

src/gui_gtk_x11.c
47.38% <0%> (-0.7%)
:arrow_down:

src/if_py_both.h
76.57% <0%> (ø)
:arrow_up:

src/window.c
81.73% <0%> (+0.03%)
:arrow_up:

src/getchar.c
75.21% <0%> (+0.04%)
:arrow_up:

src/normal.c
74.44% <0%> (+0.07%)
:arrow_up:

src/ex_cmds2.c
82.72% <0%> (+0.09%)
:arrow_up:

src/if_xcmdsrv.c
84.71% <0%> (+0.17%)
:arrow_up:

src/gui.c
49.58% <0%> (+0.2%)
:arrow_up:

src/os_unix.c
57.6% <0%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks! I fixed it in https://github.com/chrisbra/vim-xml-ftplugin Will send an update to Bram for inclusion soon.


[Extensiblity Request / Event Request] page 9658 "Vendor Report Selections" - FilterVendorUsageReportSelections / page 9657 "Customer Report Selections" - FilterCustomerUsageReportSelections

Could you please restructure the procedure FilterVendorUsageReportSelections that we can add Usages to the filter string?
OLD
local procedure FilterVendorUsageReportSelections(var ReportSelections: Record "Report Selections")
var
    CustomReportSelection: Record "Custom Report Selection";
begin
    ReportSelections.SetFilter(
        Usage, '%1|%2|%3|%4',
        CustomReportSelection.Usage::"P.Order",
        CustomReportSelection.Usage::"V.Remittance",
        CustomReportSelection.Usage::"P.V.Remit.",
        CustomReportSelection.Usage::"P.Ret.Shpt.");
end;

NEW:
    local procedure FilterVendorUsageReportSelections(var ReportSelections: Record "Report Selections")
    var
        CustomReportSelection: Record "Custom Report Selection";
        ReportSelectionUsageFilterList: List of [Enum "Report Selection Usage"];
        FilterString: Text;
    begin
        //+Resturcturing
        //-ReportSelections.SetFilter(
        //-    Usage, '%1|%2|%3|%4',
        //-    CustomReportSelection.Usage::"P.Order",
        //-    CustomReportSelection.Usage::"V.Remittance",
        //-    CustomReportSelection.Usage::"P.V.Remit.",
        //-    CustomReportSelection.Usage::"P.Ret.Shpt.");
        ReportSelectionUsageFilterList.Add(CustomReportSelection.Usage::"P.Order");
        ReportSelectionUsageFilterList.Add(CustomReportSelection.Usage::"V.Remittance");
        ReportSelectionUsageFilterList.Add(CustomReportSelection.Usage::"P.V.Remit.");
        ReportSelectionUsageFilterList.Add(CustomReportSelection.Usage::"P.Ret.Shpt.");
        OnFilterVendorUsageReportSelectionsOnBeforeBuildFilterString(ReportSelectionUsageFilterList);
        FilterString := BuildVendorUsageReportSelectionFilterString(ReportSelectionUsageFilterList);
        ReportSelections.SetFilter(Usage, FilterString);
        //-Resturcturing
    end;

    [IntegrationEvent(false, false)]
    local procedure OnFilterVendorUsageReportSelectionsOnBeforeBuildFilterString(var ReportSelectionUsageFilterList: List of [Enum "Report Selection Usage"])
    begin
    end;

We would also need that for the corresponding page 9657 "Customer Report Selections".
local procedure FilterCustomerUsageReportSelections(var ReportSelections: Record "Report Selections")
var
myList: List of [enu ];
begin
    ReportSelections.SetFilter(
        Usage, '%1|%2|%3|%4|%5|%6|%7|%8',
        "Report Selection Usage"::"S.Quote",
        "Report Selection Usage"::"S.Order",
        "Report Selection Usage"::"S.Invoice",
        "Report Selection Usage"::"S.Cr.Memo",
        "Report Selection Usage"::"C.Statement",
        "Report Selection Usage"::JQ,
        "Report Selection Usage"::Reminder,
        "Report Selection Usage"::"S.Shipment");
end;

Hi,
You can overwrite applied filter inside the existing events OnAfterFilter...


the big red bar

Includes #867.
See the second commit, the big red bar, for a detailed summary of what's changing exactly, and some rationale.
This changes/adapts the logo. But it should be trivial to use the current one instead, if the logo change is not acceptable.
Live version: http://ag0aep6g-dlang.rhcloud.com/ (If you've visited this before, you may have to clear your cache to see the proper logo color.)
Going to make a forum thread about this PR.
Changes since the last incarnation of this (which was discussed in the forum):

Other bits and pieces I had in there that were independent of the big red bar have since been merged or rejected.
I darkened the red a bit, because people hinted it was too bright. I can't speak with authority about the exact color. I'd happily follow suggestions here.
The mobile header changed a little.
Other very minor things, probably. Haven't been keeping record.

Screenshots
wide:

narrow:

narrow with menu:

Forum thread<EMAIL_ADDRESS>

Walter is determined to keep the current logo, completely as-is:
https://github.com/D-Programming-Language/dlang.org/pull/853
So I think any design  which touches the logo will not be accepted.

This looks professional. The logo fits the page design very well, both wide and narrow. But the red is very dominant (viewed wide) and D seems married to its current logo; although its button-like styling makes it difficult to use harmoniously on a website (constraints on style and layout).
How does this look when the red is replaced with the same background as the tweets, and the old logo is used?
The "Improve this page" and "Page wiki" buttons cause words to break when viewed narrow, maybe these should vanish when viewed this narrow.

Looks great!

How does this look when the red is replaced with the same background as the tweets, and the old logo is used?

Looks like this:
Live: http://ag0aep6g-dlang.rhcloud.com/variants/grey-oldlogo/
Screenshot:
I'm not sure if I like the color, but it's certainly workable.

The "Improve this page" and "Page wiki" buttons cause words to break when viewed narrow, maybe these should vanish when viewed this narrow.

That's the way it's on the current website, too. I didn't touch that. So if that needs fixing, it can be done independently.

Pull request for the grey version: #876

I don't think the D Logo in this PR deviates much from the current logo, and I suspect Walter might be ok with it.  However, the red menu is a little too much.  I suggest combining elements of the gray version and this red version to find a better equilibrium.
Mobile.  Keep the "{D Logo} The D Programming Language" and red bar across the top, but make the menu gray.
Desktop.  Keep the "{D Logo} The D Programming Language" in the corner, but make the menu gray.

I like @JinShil's version. I like the red more, but I seem to be in the minority :)
IMO, the new logo is way way better.

I took @JinShil's suggestion and ended up here:
http://ag0aep6g-dlang.rhcloud.com/variants/grey-newlogo/

I didn't include the search box in the red, because I think it's conceptually closer to the navigation than to the logo/title. This way, the whole red is clickable as one. Also, the search function isn't all that great (it's just a glorified link to google), and I don't feel like putting even more focus on it.
Also colored the border of the logo.
And updated the header of the narrow layout:

I like grey-newlogo best. There is a 1px error in the red border above and below the logo when rendered by Safari on OS-X:

There is a 1px error in the red border above and below the logo when rendered by Safari on OS-X:

I set some more widths. Can't test. May be fixed now?

I set some more widths. Can't test. May be fixed now?

Did not help. It is the same on iPad.

Did some playing on safari. It appears the oddity is the width of the logo overflowing by 1 px into the border.
For example, without the logo enabled as the background:

I'm not well-versed enough with how to fix this. I noted that if I change the width like so:
div#top, div#navigation, div#header, span#d-language-mobilehelper, a#d-language
{
	display: block;
	width: 224.5px;
}

It seems to look right. 224px is what was calculated for 16em. I added a .5 and it seems to fix the issue, but I have no idea how finicky it is.

There was a similar issue with the header of the narrow layout that also showed here on Ubuntu:

The height of both elements was set to 3.2em, but the right one has display: table and apparently Chrome calculates the height a tiny bit differently then. Solved it by setting the height in em once for the common root, and then going with 100% for the children.
Did the same with the logo width in the wide layout. Did it help?

Hm... seems to have caused a different problem (this doesn't look as noticeable to me):

On the right edge, there is a 1 pixel red line outside the border now.
Note that this screenshot was taken on my retina screen, which is why it's bigger than the others. I'm not at work, so my secondary non-retina monitor is not available to test with.

To be honest, I think these slight 1 pixel errors on one browser are not worth holding back this change to me.

This looks really good, I'm fine with the gray-oldlogo or the gray-newlogo variant.

I really like grey-oldlogo.
grey-newlogo seems a bit abrupt to me.
We should probably go forward with grey-oldlogo, since everyone (incl. Andrei) seems to like it, and it doesn't go against Walter's veto.

Agreed, let's go on with #876.


Add proxy protocol support for ingress controller

Adds support for proxy protocol in listeners using https://www.envoyproxy.io/docs/envoy/latest/configuration/listeners/listener_filters/proxy_protocol
Fixes: #21438
add Ingress controller proxy protocol support

tests should fail still, I could not find way to run tests in my arm m1 mac.

that commit does not exist in the PR anymore which did not have signed-off. The bot is out of sync. No idea how to refresh that and remove label

@zetaab can you please rebase the PR? There are conflicting changes to the vendor directory unfortunately.
Maybe you could also extend the commit message?

@lmb done

Also, please make sure you're doing the DCO signoff as per the instructions - we won't be able to accept the PR without all the commits having that.

there are two commits and both have that?

Hmm, weird, sorry about that.

Tests are still running as I write this, but looks like the Travis run failed because the listeners are in the opposite order, and also looks like there's some Helm changes that are needed as well.
Once the CI is green, this should be good to go.

@youngnick should be fixed now

oh I rebased the PR because there is label. I was thinking that its added/removed automatically by bot, but its not.

/test

so there are 6 approvers but nothing happens? Because of those 2 failing tests or? I have no idea what is wrong with those

I suspect some of the testing issues may have been unreliable tests, it seems like re-running them got them to pass. I'm not exactly sure why it took this long for the maintainer's little helper to set the label, but now that I look all of the reviews are in and the required CI jobs are passing so this is good to :ship: .
Thanks for your contribution @zetaab!


Query Using Date Range

Hi,
I would like to query payments created from 2/1/2018 to 2/28/2018. Can I query using a date range?
    public List<ARPAYMENT> SearchPaymentsByDate(DateTime beginDate, DateTime endDate)
    {
        GreaterThanOrEqualToDateTime query = new GreaterThanOrEqualToDateTime()
        {
            Field = "WHENCREATED",
            Value = beginDate
        };

        LessThanOrEqualToDateTime query = new LessThanOrEqualToDateTime ()
        {
            Field = "WHENCREATED",
            Value = endDate
        };

        ReadByQuery readByQuery = new ReadByQuery()
        {
            ObjectName = "ARPayment",
            Fields = { "*" },
            Query = query
        };

        Task<OnlineResponse> task = Client().Execute(readByQuery);
        task.Wait();
        OnlineResponse response = task.Result;
    }

Yeah, you can use the AndCondition class with your two queries as conditions in it.  Check out the test for it here - https://github.com/Intacct/intacct-sdk-net/blob/master/Intacct.SDK.Tests/Functions/Common/Query/Logical/AndConditionTest.cs#L40


Failed to remove SceneContext from SceneContextRegistry

Describe the bug
I'm getting this warning message in the console for no significant reason: "Failed to remove SceneContext from SceneContextRegistry"
To Reproduce
Add this static class to a project to unload a scene in case when the projected is started from the wrong scene:
public static class StartSceneController
{
    [RuntimeInitializeOnLoadMethod]
    private static void onAppLoaded()
    {
        Scene scene = SceneManager.GetActiveScene();

        if (scene.buildIndex != 0)
                SceneManager.LoadScene(0);
    }
}

Expected behavior
No warnings in the console.
Extenject and Unity info (please complete the following information):

Zenject version: 9.2.0
Unity version: 2021.3.6f1
Project's scripting backend [e.g. Mono/IL2CPP]: mono

I shamelessly copied this over to the Extenject repo


Revert some of "[vcpkg] Remove powershell from the 'run vcpkg ci'"...

This reverts some of commit f2c46e717d61945fbd51dfd382f46416aa199566.
While using the cmd script bit avoids the hangs we were experiencing when msys broke, using the cmd script path causes azure pipelines to replace all hashes with ***, making much of the CI output useless. This goes back to just running the command directly.

That didn't fix it :(


"failed to find path in svg"

Installing a fresh copy of this I get errors in every conversion.
To reproduce:
docker run -it golang:latest bash
go get -u github.com/denisbrodbeck/sqip/cmd/sqip
curl https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/SIPI_Jelly_Beans_4.1.07.tiff/lossy-page1-256px-SIPI_Jelly_Beans_4.1.07.tiff.jpg -o tst.jpg
sqip tst.jpg

So far in my investigation, it looks like the minify dependency has changed such that it isn't converting "polygon" tags to "path" tags, which ruins some of the regexes used to modify it further on. Rolling back to an earlier version on minify might fix it, I am exploring solutions.

Figured out why it's happening although I don't have a perfect solution yet. I had been building simply with go get which ignored the package lock files in the repo. However the build process i'm using isn't super conducive to using a 3rd party package manager. What I've worked out for the time being is that if i change the import of github.com/tdewolff/minify to github.com/tdewolff/minify/v2 and likewise for the github.com/tdewolff/minify/svg I can do a git clone, go mod init and go get and it will install the newer version of minify which seems to act the same as the older one.
Do you think dep is required for this package or is there a better way to handle the imports?


Make requirements, test requirements more explicit; add [test] pip extra

(factored out of #612)

@ryan-williams If you can address the comment in the PR, we can merge this in.

Just rebased this, not sure what this failure in "R tests on macos-latest" is about:
==> Pouring checkbashisms--2.21.7.all.bottle.tar.gz
installer: Package name is gfortran
installer: Installing at base path /
installer: The install was successful.
/usr/bin/sudo hdiutil detach /Volumes/gfortran-8.2-Mojave
hdiutil: couldn't unmount "disk2" - Resource busy
Error: Failed to get R 4.1.1: Failed to get R 4.1.1: Failed to umount /Volumes/gfortran-8.2-Mojave: Error: The process '/usr/bin/sudo' failed with exit code 16
🍺  /usr/local/Cellar/checkbashisms/2.21.7: 6 files, 72.2KB

I think the above was a spurious failure, fwiw; I tweaked this PR once more to alphabetize requirements-test.txt, mostly just to get the CI to run again, and it passed.
So, this should be ready for another look if anyone has time.

thanks @savingoyal 🙏 looks like this is good to merge?

Not sure how to parse "Testing[44] had 3 FAILURES." above. Where does that CI run?


[ODS-5738] Introduce general-purpose caching interceptor and apply to Profiles metadata provider

Added an overload to the ExpiringConcurrentDictionaryCacheProvider that takes an Action that is invoked when the cache period expires. This is injected by the registration code to send the ProfileMetadataCacheExpired notification out through Mediatr to all handlers.
Added a couple extension methods to make the syntax around the registration of "ResolvedParameters" in Autofac simpler.
Implemented the INotificationHandler<T> interface on classes (see the Handle methods) that do work with the Profile metadata and the store the results in memory. This allows that work to be reset.
Changed Autofac registrations of the components to register the classes using all their interfaces so that the handlers are registered and Mediatr can find them.
Added debug logging entries around the resetting and in some cases, the initialization, of Profiles-related work.

@mjaksn @vimayya Closing this PR because the functionality in this branch consists of ODS-5738 + ODS-5757 (a new ticket introducing Mediatr and the support for resetting all work done based on the Profile metadata when the cache period expires).
We will first review and merge the PR for ODS-5738, and then rebase the latter commits on this branch as ODS-5757 on the end of main branch after the merge.


Url is not working even after adding & in the url in app.config file

I am using https://iedcfinaluat.crm9.dynamics.com/main.aspx?forceUCI=1&paetype=apps but it keep giving me an error that Entity pagetype is not defind.
I have also tried adding & instead of & but then my url doesn't work.
Any other ideas>
Thank you.

Hi Nikita,
Please check the spelling of "PageType" in URL as it is misspelled as PaeType.
If that doesn't work, please use the URL till dynamics.com, no need to specify other parameters https://iedcfinaluat.crm9.dynamics.com/


client library for Python example does not use Python

The guide here completes SEVERAL steps using Azure CLI, and not Python. For example in order to access a KeyVault I must first authorize the SP. These are the provided instructions...

This does not help me to complete this with Python.

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

ID: 414e1303-766e-58be-23d6-494dd15952fb
Version Independent ID: 333cafe8-4fe6-b020-5309-01191620807c
Content: Azure Key Vault Secrets client library for Python
Content Source: docs-ref-services/latest/keyvault-secrets-readme.md
Service: keyvault
Product: azure
Technology: azure
GitHub Login: @maggiepint
Microsoft Alias: magpint

Thanks for your feedback.
This is key vault client SDK which is used to operate Azure Key Vault services.
E.g. you can use our SDK to set/get/delete/etc. secrets.
In order to demo how to use the SDK, we have some prerequisites such as provisioning a key vault service and grant proper permissions which are the usage of other SDKs (key vault management SDK).
Hence we use CLI rather than python code to take care of the prerequisites.
Does this make sense?
Thanks.


When headerDataGetter() returns null, respect label then

I have a table here, using the headerDataGetter() to adjust the table headers for some special cases on some but not all columns.
For the other columns I want to specify the header text through a label as usual but this does not seem to work. Having a headerDataGetter() seems to ignore ALL labels, unfortunately.

This definitely seems like a good behavior to have, and we'll make note of it for our next release. In the meantime, you can calculate the header text using another function, as you are given the column index. Otherwise, you may be interested in applying a custom headerRenderer for the columns in question.

This should be possible and easy to implement.

Indeed, this is indeed very possible and not very difficult to implement. However, with any change in the behavior of the table, we need to make sure to check our internal uses to make sure that it doesn't break anything before we sync it up with the public repo, and report changes. Thank you for your patience.

This has been fixed for version v0.4.0.


After upgrade grafana to 5.X and zabbix pluggin to 3.9, zabbix triggers panel is not working

I'm submitting a ...

[X] Bug report
[ ] Feature requestdd
[ ] Question / Support request

Software Versions

Grafana
Zabbix
Grafana-Zabbix Plugin

5.1.2
3.2.6
3.9.1

What did you do?
I upgraded Grafana to 5.1.2 and Zabbix plugin to 3.9.1
What was the expected result?
All dashboards to work
What happened instead?
Zabbix Triggers Panel is not working, I receive error in next image. All other dashboards are working normally

Looks like a cache issue? Can you reset browser cache and try again?

Issue cleared by clearing browser cache.

Hi ,
I just install the grafana 5 , instaled the zabbix plugin using the grafana-cli , configured successfully my zabbix datasource and then import a zabbix template where get this same error:

Plugin Error
Fetch error: 404 Not Found Instantiating http://jdivm04:3000/public/react Loading http://jdivm04:3000/public/plugins/alexanderzobnin-zabbix-app/panel-triggers/module.js Loading plugins/alexanderzobnin-zabbix-app/panel-triggers/module

I check the plugin path and doesn't match with the error message where the folder panel-triggers are into the folder dist .
root@jdivm04:/var/lib/grafana/plugins
# find . -name panel-triggers
./alexanderzobnin-zabbix-app/src/panel-triggers
./alexanderzobnin-zabbix-app/dist/panel-triggers

There is a quick fix for this ?
I tried to create a symbolic link but the error keep occurring .
Then I tried to trick the server where I mount using bind the folder and still not recognizing it.
I enable at grafana.ini the parameters below but the log files doesn't change when I refresh the dashboard and they show the error.
(between all theses steps I restarted the server)
[log]
mode = console file
level = error

Hi @alexanderzobnin ,
I just install the grafana 5 , instaled the zabbix plugin using the grafana-cli , configured successfully my zabbix datasource and then import a zabbix template where get this same error:
I tried clear the browser cache or opening it in private mode (firefox), the error still occuring.

Plugin Error
Fetch error: 404 Not Found Instantiating http://jdivm04:3000/public/react Loading http://jdivm04:3000/public/plugins/alexanderzobnin-zabbix-app/panel-triggers/module.js Loading plugins/alexanderzobnin-zabbix-app/panel-triggers/module

I check the plugin path and doesn't match with the error message where the folder panel-triggers are into the folder dist .
Not sure if this could be relationed
root@jdivm04:/var/lib/grafana/plugins
# find . -name panel-triggers
./alexanderzobnin-zabbix-app/src/panel-triggers
./alexanderzobnin-zabbix-app/dist/panel-triggers

I enable at grafana.ini the parameters below but no useful data appear at the log files .
[log]
mode = console file
level = debug

-----

t=2019-03-15T14:28:54-0300 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/react status=404 remote_addr=<IP_ADDRESS> time_ms=3 size=7210 referer="http://jdivm04:3000/d/IjsnQZqmz/linux-zabbix-server?orgId=1"
t=2019-03-15T14:28:54-0300 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/react-dom status=404 remote_addr=<IP_ADDRESS> time_ms=4 size=7210 referer="http://jdivm04:3000/d/IjsnQZqmz/linux-zabbix-server?orgId=1"

Also, when I create a new dashboard when I tried to include the "Zabbix Problem" panel, give the same error.
How can I collect more information to try understand what is happen ?
Ps.: I'm new to grafana, no experience with it yet.

@ceinmart Plugin should work with Grafana 5.4.3. Ensure you have latest 5.x version.

I installed v5.0 from the openSuse repository.
Removed it and installed the last version tarball , 6.0.2 , it's working now!
Thank you!

my use grafana-cli plugins install alexanderzobnin-zabbix-app
install fils


fix(spacers): BREAKING CHANGE spacers is now a map, added negative sp…

…acers. if you rely on $spacers[1].x , you will have to rely on $spacers[1]
bootstrap-styled
Thank you for contributing! Please take a moment to review our contributing guidelines
to make the process easy and effective for everyone involved.
Please open an issue before embarking on any significant pull request, especially those that
add a new library or change existing tests, otherwise you risk spending a lot of time working
on something that might not end up being merged into the project.
Before opening a pull request, please ensure:

[ ] You have followed our contributing guidelines
[ ] Double-check your branch is based on dev and targets dev
[ ] Your are doing semantic commit message using commitizen and our commit message convention
[ ] Pull request has tests (we are going for 100% coverage!)
[ ] Code is well-commented, linted and follows project conventions
[ ] Documentation is updated (if necessary)
[ ] Description explains the issue/use-case resolved and auto-closes related issues

Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
IMPORTANT: By submitting a patch, you agree to allow the project
owners to license your work under the terms of the  License.

:tada: This PR is included in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Multiple Lines and Picture

Using local push notification, how can i use embedded image assets in push notification? something like this:

FCM.presentLocalNotification({
    ...,
    picture: require("path/to/image.png")
})

How to make push display the body in multiple lines?

I need to display body in multiple lines too...

I have found an approach on android: big_text: body

you can put image in mipmap and do "picture: your_image.png"
big_text has been implemented.

let me know if it doesn't work

@evollu no it still coming in single line

@sidd123456 you need to pull down the notif to see multiple lines


Gedit v3 and this plugin

New folder plugins in ubuntu 11.10:
~/.local/share/gedit/plugins
New regulations:
.gedit-plugin extension should be named .plugin
[Gedit Plugin] header should be [Plugin]
IAge=2 should be IAge=3
All plugins must have a .plugin file along side it.
But this does not help. The plugin does not work in gedit 3.
http://itmag.es/42H2K

Check this one out: https://github.com/rtlong/gmate/tree/master/plugins3/zencoding
I'm using it with gedit 3. Only problem I found was Right moves a word right (similarly with Left) instead of moving to the next edit point.
I couldn't figure out why it was doing that, so I switched the next/previous edit point shortcuts.

This one seems to work - https://github.com/mtrovo/zen-coding-gedit3.


DOMException: Failed to execute 'transaction' on 'IDBDatabase'

If you remove an existing <emoji-picker> element and append a new one in the same tick, this error is logged to the console:
Uncaught (in promise) DOMException: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.

I'm encountering this in the real world using Turbo – my <emoji-picker> element is inside an element marked with data-turbo-permanent, so it is effectively removed, cloned and re-added to the page on navigation, causing this error.
Doesn't seem to impact functionality as far as I can tell.
Minimal reproduction: https://jsbin.com/seyocoyeqa/edit?html,output

Interesting. I assume the workaround is to use the same <emoji-picker> element, or to wait a tick using Promise.resolve() or something?
Also yes, you're right, this doesn't affect functionality. It's just a logged error; emoji-picker-element recovers.
FWIW the error message in Firefox is:
DOMException: IDBDatabase.transaction: Can't start a transaction on a closed database

Hi, I have the same issue, using Turbo in Rails application for chat. picker is part of the form and is being refreshed when I submit the form. I would get the same message in console.

@pruzicka This is just a warning message and you may safely ignore it. Although it indicates that the picker element is probably not being removed from the DOM / unloaded before a query is being executed on it.
Do you have a minimal repro test case?

It has to do something how the  Turbo handle things. When I put it on the page just once and mess with the rest of the page with Turbo frames life is good. But as soon as I put it to one of the Turbo frames, replace it, change it, update it with the rest of the HTML, I got the message. I've tried to delay the initialisation, without success
  connect() {
    setTimeout(() => {
      this.initializePicker()
    }, 1000)
  }

I was able to solve for this by assigning the initialized Picker to a window global.  This way the Picker isn't reinitialzed on turbo-frame refreshes.
    if (window.trixChatEmojiPicker) {
      this.picker = window.trixChatEmojiPicker
    } else {
      this.picker = new Picker({
        customEmoji: [
          {
            name: 'Meow Party',
            shortcodes: ['meowparty'],
            url: 'https://emojis.slackmojis.com/emojis/images/1643514596/5999/meow_party.gif',
            category: 'Cats',
          },
         ...
        ],
      });
      window.trixChatEmojiPicker = this.picker
    }


Not working on my desktop theme

Hello Support,
I have installed amazon payment extension in my magento 1 site. It is working on mobile theme but not working on desktop theme. Please let me know what will the issue.
Site url: https://alpha.sharbor.com/
Thanks @jonahellison

Hello @baljinderimpinge
The console error that comes up when the Login and Pay with Amazon radio button is selected is:
"Uncaught TypeError: Cannot read property 'triggerEvent' of undefined
at HTMLInputElement.eval (eval at (prototype.js:612), :17:55)
at HTMLInputElement.responder (prototype.js:5598)"
this issue can be resolved by making the code change shown in the link here: https://github.com/amzn/amazon-payments-magento-plugin/commit/45187d7a084f0e88a23132b64a6e847b7eceb165
Look forward to hear from you on how this goes.
Tarini S.
Amazon Pay

Hello @tarishah
I have already implemented this but still not working. Also amazon login button is also not displaying there. I can only see radio button to select the payment method.
Thanks

Hi @baljinderimpinge Are you sure you have implemented these changes (https://github.com/amzn/amazon-payments-magento-plugin/commit/45187d7a084f0e88a23132b64a6e847b7eceb165) at 'app/design/frontend/base/default/template/amazon_payments/button.phtml' ?
Once you make these changes, did you flush cache, just to make sure you are not seeing an old copy?
Additionally, are you using any customized theme?
Can you please reach out to us at<EMAIL_ADDRESS>with the Amazon Pay settings screenshots?
Thanks,
Tarini

hello @tarishah
Yes, I am sure I have added that changes and still getting error.
Also I have contacted support but there is no reply from there end.
Thanks

Hello @baljinderimpinge - We have not received email from you at<EMAIL_ADDRESS>Would you mind reaching out to us again with the Amazon Pay settings screenshots?
Additionally, please let us know if you are using any custom themes as well.
thanks,
Tarini


File status not visually updated in VSCode explorer after submission

Hi! First of all, great extension, it works like a charm.
I do not see a way of updating (visually speaking) the status of various files after submission to Perforce.
For example:
I edit some files using p4 edit -> This highlights the files in the explorer in green, with an 'E' symbol.
or:
I add some files using p4 add-> This highlights the files in the explorer in green, with an 'A' symbol.
After submitting these files onto Depot, the VSCode explorer still shows these files in green with their respective symbols, although they are not in the changelist anymore. The only solution for now (that I know) is to close and open VSCode again. Updating the explorer with the "Refresh Explorer" button does not update the files' status either.
EDIT: I submit using p4v, not the vscode-perforce extension, as it doesn't support more than single-file submission.

HI @timoteogb - I think maybe you meant to post this in my fork - mjcrouch/vscode-perforce ? The original extension doesn't have the decorations on the explorer afaik since I added them in my fork.

it doesn't support more than single-file submission.

You can manage and submit changelists with multiple files from the source control view on the left hand panel.
When you make submit files outside of the IDE we can't immediately pick that up. You should find that refreshing the source control view for perforce will update the state for the explorer decorations as well.


YJIT-Metrics CI Benchmarking: Benchmark at 2021-12-03-071104 is significantly slower than the one before (2021-12-02-191023)!

Error running benchmark CI job on Linux ip-172-31-8-3 5.8.0-1038-aws #40~20.04.1-Ubuntu SMP Thu Jun 17 13:25:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux:

Latest failing benchmark: blog_speed_details_2021-12-03-071104.tripwires.json
Compared to previous benchmark: blog_speed_details_2021-12-02-191023.tripwires.json

Failing benchmark names: ["liquid-render"]

Failure details:

[
  {
    "benchmark": "liquid-render",
    "current_mean":<PHONE_NUMBER>1499618,
    "second_current_mean":<PHONE_NUMBER>7727653,
    "current_stddev": 6.227553652498511,
    "current_rsd_pct": 4.8831132272506315,
    "second_current_stddev": 2.1387423507668024,
    "second_current_rsd_pct": 1.8285027271960737
  }
]

This was transient and it's now fine.


2023 refactor for the large Testimonial

Summary
Updates the design of the Testimonial component to match the 2023 refactor specs.
List of notable changes:

makes the quote mark proportional to the quote text
adds the ability to highlight a portion of the quote text
makes the quote mark color customizable

What should reviewers focus on?
Does it look right?
Steps to test:

Go to the Storybook
Go to the "Highlighted Portion" story under "Testimonial"

Supporting resources (related issues, external links, etc):

Figma
Primer Web branch (WIP)
https://github.com/github/primer/issues/2506

Contributor checklist:

[ ] All new and existing CI checks pass
[ ] Tests prove that the feature works and covers both happy and unhappy paths
[ ] Any drop in coverage, breaking changes or regressions have been documented above
[ ] New visual snapshots have been generated / updated for any UI changes
[ ] All developer debugging and non-functional logging has been removed
[ ] Related issues have been referenced in the PR description

Reviewer checklist:

[ ] Check that pull request and proposed changes adhere to our contribution guidelines and code of conduct
[ ] Check that tests prove the feature works and covers both happy and unhappy paths
[ ] Check that there aren't other open Pull Requests for the same update/change

Screenshots:

Please try to provide before and after screenshots or videos

 Before  After

Will be converted to "ready for review" once I get some questions answered: https://github.com/github/primer/issues/2506#issuecomment-1664443660

LGTM!
have we consider updating the avatar section on these?


Update migrations.rst

The drop() method is not returning anything, therefore calling save() fails.
// Table.php

...
    /**
     * Drops the database table.
     *
     * @return void
     */
    public function drop()
    {
        $this->getAdapter()->dropTable($this->getName());
    }
...

Also dropTable method is not returning anything.

Are you sure?
https://github.com/cakephp/phinx/commit/5c555079a0c6e9c0d79209e815d646d283728a6a shows that this has been explicitly added after recent changes, and as such you might be on an outdated version (major) instead?

 I am sorry. But in this case, I would update the major version, because it would not work (or should not work) with the old way. Or?

@dereuromark can we close this PR? It is not relevant anymore.


Publish withSSE/withAVX options

Hi, it's handy to be able to enable/disable SSE and AVX, at least it's useful for AVX512 as it can lead to CPU downclocking

Cool, thanks for merging all 4 PRs! :)


How to render surrounding elements conditionally?

Description:
Do we have a chance to render a partial with or without some surrounding divs conditionally, but without re-rendering the partial? Eg:
{{#if somecase}}
    <div class="xyz">
        {{>myPartial}}
    </div>
{{else}}
    {{>myPartial}}
{{/if}}

It's obvious that I want to show div.xyz around myPartial when somecase occurs. Above code will work, but the problem is that when somecase is falsy then myPartial will render without the surrounding div. When somecase occurs, myPartial will be unrendered and re-rendered with surrounding div.
This will cause performance issues since there are lots of CPU intensive operations are triggered on render of myPartial, so re-rendering causes doubling the operation costs.

This trick is easy to do in template systems that just do string interpolation (i.e. Handlebars, Mustache) or string generation, like on servers (i.e. Twig, Django, PHP). But it's different in Ractive because the template is parsed into a tree. The contents of {{#if somecase}} is a different subtree from {{else}}.
If all that matters is class="xyz" and that <div> is harmless when left there, maybe you could just leave the div in there, and just conditionally toggle the class. Similar to how you'd toggle an "active" class for accordions, hovers, collapse, etc.

Maybe decorator can help here. Something like:
as-wrapped_if="somecase"
and inside the decorator we can add/remove any nodes.

As it stands now, this is one of the scenarios that ractive just can't handle. My approach to this sort of thing is usually to leave the wrapper always in place and have the conditional toggle attributes (classes) that make it appear or disappear (border, bgcolor, etc) as necessary.

@evs-chris Then I'm closing this issue because it seems a wontfix, at least for now. I'll stick with @fskreuz 's suggestion (as well as yours).


FR: for a GUI based small tool

Use case

Proposal
Kindly create a small tool that will, that will help us to download recommend android SDK , additional libs and other tools to setup a proper developement environment.

@PtPrashantTripathi
Can you elaborate on your request. What you are proposing can be already done by installing the sdk from official flutter website. How different is your request from it ?


Inside NuxtAuthHandler we cannot use useRequestEvent and useRequestHeader

Environment

Operating System: Linux
Node Version:     v22.7.0
Nuxt Version:     3.13.1
CLI Version:      3.13.1
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
we cannot reproduction
Describe the bug
We are trying to use useRequestEvent and useRequestHeaders to access the request cookies but they are not available.
Also we try to access $fetch('/api/session', {method:'GET'}) (this is an access to H3 session) but the cookies not are sending.
There is any option to send cookies to NuxtAuthHandler?
Additional context
No response
Logs
No response

Could you please elaborate a bit? What are you trying to achieve? Some code examples would be nice to understand the problem, thanks

We manage a session with https://h3.unjs.io/examples/handle-session outside nuxt-auth.
This session its bassed on cookies, this session contains a field called createdAt, this value we must checked in JWT session, because its expiration session of auth.
This field can be changed, this is the reason because we want read it in JWT function, but NuxtAuthHandler doesnt have access to :

useRequestEvent to return cookies object
useRequestHeaders to access headers and cookies
$fetch('/api/session', {method:'GET'})  because this is a endpoint to access H3 cookie session, but we havent the cookies to pass to endpoint hence this session its blank session

Can you provide at least a minimal reproduction? I have hard time following your usecase. You can use CredentialsProvider with hardcoded credentials similar to playground-authjs:
https://github.com/sidebase/nuxt-auth/blob/main/playground-authjs/server/api/auth/[...].ts
You can base it off playground-authjs to save some time or from one of the templates below (from bot comment).
NuxtAuthHandler normally works according to Authjs flow: https://authjs.dev/getting-started/installation#configure

https://stackblitz.com/edit/nuxt-starter-embl4u @phoenix-ru here you are a reproduction, but we cant test it because stackblitz are very slow compiling

you can see in plugins/01.session.ts we initialize the H3 cookie session.
In server/routes/api/session.get.ts we retreive this H3 cookie session.
In server/api/auth/[...].ts in JWT validation, we want to check this H3 cookie session, but returns blank, not the session created in plugin, because in NuxtAuthHandler seems that cookies arent accesible

Tried to check the reproduction but you're right - Stackblitz is slow - or support of Stackblitz in Nuxt is broken. Unfortunately, need to de-prioritize in favor of #883

@phoenix-ru don't worry, prioritize #883, We can advance our development on the other hand, this issue is not a priority. In a few days I will contact you again


fix: respect +no_background on a +exec_replace block

Fixes #381

@mfontanini I'm assuming that this hasn't been incorporated into presenterm as of 0.9.0 since that was three weeks ago. Any chance of getting a bump to 0.9.1? I'm using presenterm for my upcoming talk (https://neovimconf.live/speakers/chip) and the deadline for submitting my presentation is end of this month, so want to squeeze in the fix if possible. 😄


Allow the switch between filter and non-filter graphs

In the implementation, I intend to make as few changes as possible to the vega-lite specifications so that we do not need to keep a copy of the original specifications but in the meantime, we are able to switch between the filter view and non-filter view.  As a result, when the user switches off the filter graph, there are some noteworthy points.

Since we do not want to change the number of specs, we still keep the first filter count graph but only shows the number of filtered data points instead.
For the other graphs, we still keep the legend Is Filtered even though all bars are blue (which means that they are all of the true group). Ideally, we should remove this unnecessary legend (which then involves removing the colour and order channel) but this seems good to me since it informs the user that current visualizations are of the filtered dataframe.

Another point is about the UI. I am not quite sure whether the current design of the switch button and the button label sounds good to you. Always feel free to make it more user-friendly.


Update frequently-asked-questions-page.mdx

SUMMARY
refine answer for first question, added SQL Lab query description.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@kurtiswen fix pre-commit issues, you can use:
tox -e pre-commit -- --all-files   and fix any manual fixes that are needed