Search products

Description

user search the item or product name then display related their item like this:
Screenshots
1.user search groceries

user search rice

user search item with specific

Types of changes

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

@Varsani2520 great work you can use the template of the card and filter the item while writing it

Hey @MAVRICK-1 ,
choose the card UI:
first is:

second is :

2nd


Added a band annotation

Also removed unused keyValue property within line annotation
The band annotation can be used to plot vertical or horizontal bands. In terms of implementation, it is very similar to the line.

I can't think of any suitable 'handles' for this annotation, I can't think of many realistic examples where people would want to add element to the band.

As discussed, maybe an implementation which accepted y0/y1/x0/x1 and defaulted the values to the extent of the scale would make for a simpler and more flexible implementation (i.e. removing orient and allowing it to be used as a background)?

:+1:


AppImage build of 1.0.0 reports error loading FUSE

Prerequisites

[x] I'm using latest version: v1.0.0
[x] I've checked Known issues
[x] I've checked Open issues

Description
AppImage build reports error loading FUSE
Operating system: Ubuntu 19.10
Steps to Reproduce

Download Stretchly-1.0.0-i386.AppImage
Open Terminal in containing folder
Make AppImage executable
Run AppImage ./Stretchly-1.0.0-i386.AppImage

Expected behavior: Stretchly UI shows up
Actual behavior: Error in console:
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information

Reproduces how often: Always
Additional Information

stretchly-0.21.1-x86_64.AppImage works for me on the same system
AppImages should be self-contained, so I did not try to install any system dependencies.

Hi,
can you try downloading Stretchly-1.0.0.AppImage? From your comment about stretchly-0.21.1-x86_64.AppImage I think you downloaded for another architecture.

You're right. I completely missed the architecture suffix. It works with the non-suffixed version. My bad, sorry for the inconvenience and thanks for the quick response time! :bowing_man:


Add workspace version to Examples

The examples added in #30 should use the workspace version of this plugin, so that you can try your newest changes in the examples

They are examples and not a development environment. They are isometric with the released package as documentation should be. You can create a separate repo to test out things and use pnpm link <path_to_plugin>.


"LW_ERROR_LADAP_LOCAL_ERROR [code 0x00009d5f]"

Version: <IP_ADDRESS>6
OS/Distro: Ubuntu 18.10 cosmic
Issue/Impact:
I am attempting to connect a linux virtualbox machine to a windows 10 server active directory domain controller using pbis.
I followed this guide: https://linoxide.com/ubuntu-how-to/configure-pbis-join-ubuntu-windows-ad/ to do so and have run into a problem that I can't seem to mitigate.
The purpose of the virtual network I've set up is to test sendmail configurations and be able to use the active domain name for doing so instead of a FQDM. It has two primary machines - the active domain controller itself using this guide: https://www.psattack.com/articles/20160718/setting-up-an-active-directory-lab-part-1/ and a firewall (also set up using this guide) using PFSense.
I've added the linux machine to the same host adapter that the firewall and domain controller are connected to and have no issues pinging back and forth, my linux machine was also assigned an IP from the DHCP also set up on the same machine as the domain controller.
When I attempt to use sudo domainjoin-cli join example.com administrator and answer the subsequent prompt requesting a password I am getting the error "LW_ERROR_LADAP_LOCAL_ERROR [code 0x00009d5f]".
My linux machine then shows up in my active directory administrative center as a machine in the active directory, but is not assigned a DNS name and thus can't be used for SMTP testing over this network (at least as far as I'm aware).
The only other reference to this error on the entire internet is some dude asking about it in Russian (https://forum.ubuntu.ru/index.php?topic=291204.0) and getting no response so I'm struggling to identify how to approach the problem.
I've tried editing /etc/resolv.conf and changing the IP address from the default (which in my case is the IP of the firewall) to the IP of the domain controller and still get the same error.
I've tried using the 4 latest versions of PBIS to no effect.
I've also tried most of the recommendations found in this thread: https://github.com/BeyondTrust/pbis-open/issues/51 considering it seemed the most similar to my problem to no effect.
I've also ensured that the outbound ports: 80, 443 are open per this: https://www.beyondtrust.com/docs/privileged-remote-access/getting-started/deployment/dmz/ports-firewalls.htm documentation.
All of these attempts were performed on a new clone of the machine that had only ran the command "sudo apt-get install openssh-server" prior to cloning
I'm doing all of this as a student for a machine learning project involving emails and am relatively inexperienced with networking in general so I apologize if this is a simple issue I'm missing.
I've also had no issues connecting other virtual machines to this active directory where they both receive a DNS name from it and are able to email eachother etc.
Thanks in advance for any help! Please let me know if I can provide any additional details. The suggested logging options for this post contained nothing pertinent to my problem as far as I can tell as the only relevant error is the one in the title.

For ports have a look at the installation guide section on Configure Firewall Ports.
As for the resolv.conf this needs to be the ip of the domains DNS server in order for the agent machine to resolve all the ldap queries. With Ubuntu by default this is managed via the Network Manager, so any changes to the file can get reset.


Extend the pitch effects limit

It's great having dynamic playback of sounds, especially having realtime volume controls and pitch effects.
I had wrote a synthesizer which utilizes the effects while playing the samples. However, having the pitch limit -360 to 360 seem not quite enough to manipulate the playback of a single sample, and it's also hard to alternate between two samples which has different octaves since there is no way to stop specific sound.
Having A-3 as the base note, with limit -360 and 360 will make it only go from A-0 to A-6, which is insufficient having full notes such as C-0 and B-7. I propose to extend the pitch limit instead from -360 to 360, it will go from -480 to 480, that'd be nice four octaves relative.

@ericrosenbaum
I don't think this is quite noticeable but, I hope there would be some consideration upon this. 😄

@ericrosenbaum
I don't think this is quite noticeable but, I hope there would be some consideration upon this. 😄

Hi @Kouzeru thanks for your interest and ideas! Your synthesizer project is impressive.
Generally speaking, we avoid making changes to the behavior of blocks. Extending the range of the pitch effect could cause unexpected changes to existing projects that rely on the current behavior.

Hi @Kouzeru thanks for your interest and ideas! Your synthesizer project is impressive.
Generally speaking, we avoid making changes to the behavior of blocks. Extending the range of the pitch effect could cause unexpected changes to existing projects that rely on the current behavior.

Hi @Kouzeru thanks for your interest and ideas! Your synthesizer project is impressive.
Generally speaking, we avoid making changes to the behavior of blocks. Extending the range of the pitch effect could cause unexpected changes to existing projects that rely on the current behavior.

Thanks for the response about that @ericrosenbaum - though I wanted them much simpler to develop.
Maybe, for the solution, I'd prefer to assign the effect parameter with something like:

Just like how Scratch handle hexadecimals as number

While preserving the behavior that the projects relied upon the pitch limits.
Please, provide a way to bypass it.

Hi @Kouzeru thanks for your interest and ideas! Your synthesizer project is impressive.
Generally speaking, we avoid making changes to the behavior of blocks. Extending the range of the pitch effect could cause unexpected changes to existing projects that rely on the current behavior.

Thanks for the response about that @ericrosenbaum - though I wanted them much simpler to develop.
Maybe, for the solution, I'd prefer to assign the effect parameter with something like:

Just like how Scratch handle hexadecimals as number

While preserving the behavior that the projects relied upon the pitch limits.
Please, provide a way to bypass it.


Crash while compiling version 1.3.1 in Archlinux with GNOME40

Hi,
I'm trying to install showmethekey  in Archlinux with GNOME 40 but it fails while compiling it.
Here is the installation log:
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  showmethekey-git-r35.daee517-1

:: Downloaded PKGBUILD (1/1): showmethekey-git
  1 showmethekey-git                 (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: showmethekey-git
==> Making package: showmethekey-git r35.daee517-1 (Sat 17 Apr 2021 12:42:04 PM CEST)
==> Retrieving sources...
  -> Cloning showmethekey git repo...
Cloning into bare repository '/home/fran/.cache/yay/showmethekey-git/showmethekey'...
remote: Enumerating objects: 357, done.
remote: Counting objects: 100% (357/357), done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 357 (delta 237), reused 233 (delta 117), pack-reused 0
Receiving objects: 100% (357/357), 102.97 KiB | 334.00 KiB/s, done.
Resolving deltas: 100% (237/237), done.
==> Validating source files with sha512sums...
    showmethekey ... Skipped
==> Making package: showmethekey-git r35.daee517-1 (Sat 17 Apr 2021 12:42:08 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating showmethekey git repo...
Fetching origin
==> Validating source files with sha512sums...
    showmethekey ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of showmethekey git repo...

The Meson build system
Version: 0.57.2
Source dir: /home/fran/.cache/yay/showmethekey-git/src/showmethekey
Build dir: /home/fran/.cache/yay/showmethekey-git/src/showmethekey/build
Build type: native build
Project name: showmethekey
Project version: 1.3.1
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.h using configuration
Found pkg-config: /bin/pkg-config (1.7.3)
Run-time dependency libevdev found: YES 1.11.0
Run-time dependency libudev found: YES 248
Run-time dependency libinput found: YES 1.17.1
Run-time dependency threads found: YES
Run-time dependency gtk+-3.0 found: YES 3.24.28
Run-time dependency glib-2.0 found: YES 2.68.1
Run-time dependency json-glib-1.0 found: YES 1.6.2
Run-time dependency gio-2.0 found: YES 2.68.1
Run-time dependency cairo found: YES 1.17.4
Run-time dependency pango found: YES 1.48.4
Run-time dependency xkbcommon found: YES 1.2.1
Found pkg-config: /bin/pkg-config (1.7.3)
Program glib-compile-resources found: YES (/bin/glib-compile-resources)
Program glib-mkenums found: YES (/bin/glib-mkenums)
Program glib-mkenums found: YES (/bin/glib-mkenums)
Program glib-compile-schemas found: YES (/bin/glib-compile-schemas)
Build targets in project: 9

Found ninja-1.10.2 at /bin/ninja
ninja: Entering directory `.'
[9/16] Compiling C object showmethekey-gtk/showmethekey-gtk.p/smtk-app-win.c.o
FAILED: showmethekey-gtk/showmethekey-gtk.p/smtk-app-win.c.o
cc -Ishowmethekey-gtk/showmethekey-gtk.p -Ishowmethekey-gtk -I../showmethekey-gtk -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/json-glib-1.0 -flto=auto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -march=x86-64 -mtune=generic -O2 -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIE -pthread -MD -MQ showmethekey-gtk/showmethekey-gtk.p/smtk-app-win.c.o -MF showmethekey-gtk/showmethekey-gtk.p/smtk-app-win.c.o.d -o showmethekey-gtk/showmethekey-gtk.p/smtk-app-win.c.o -c ../showmethekey-gtk/smtk-app-win.c
../showmethekey-gtk/smtk-app-win.c: In function ‘smtk_app_win_on_keys_win_switch_active’:
../showmethekey-gtk/smtk-app-win.c:77:5: error: format not a string literal and no format arguments [-Werror=format-security]
   77 |     g_warning(error->message);
      |     ^~~~~~~~~
cc1: some warnings being treated as errors
[15/16] Compiling C object showmethekey-gtk/showmethekey-gtk.p/meson-generated_.._smtk-enum-types.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: showmethekey-git

Hi, would you like to try the newest commit from master? Please tell me the result, thanks!

Sorry, yes. Now it compiles and works. Sorry for the delay

Nothing, thanks.


Folding - incorrect folding region when folding vscode.d.ts

pls see the screenshot.
The comment Represents a ... shows as collapsed and folded but it isn't.

The folding regions following the above comment are also incorrect


Fix README's location of JS map.

The README says that after building the map file will be available
in the doc directory.  This isn't true after commit SHA
3661d1caf389955e52ae93d4f451a8c5e7dc3c2d
I had built the library today and noticed this was changed, figured
the README should be updated as well.

Thanks


How to use this crates correctly in tokio runtime

I have a need to detect the load time of web pages, but I encountered some problems when processing a large number of pages in parallel. My entire program is performed in tokio runtime, I hope to run it in the form of task::spawn_blocking.
Problem OS Info: aarch64  debian
Below is a demo example of my code
// headless_chrome = "1.0.9"
// anyhow = "1.0.81"
// tokio = { version = "1.37.0", features = ["full"] }
// futures = "0.3.30"

use std::sync::Arc;
use std::time::{Duration, Instant};
use headless_chrome::Browser;

use tokio::task;
use futures::future::join_all;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let browser = Browser::default()?;
    let arc_browser = Arc::new(browser);

    let targets = vec![
        "https://www.rust-lang.org/".to_string(),
        "https://www.cloudflare.com/".to_string(),
        "https://aws.amazon.com/".to_string(),
    ];

    let mut tasks = vec![];
    let start = Instant::now();
    for target in targets {
        let browser = arc_browser.clone();
        let target = target.clone();
        let task_name = target.clone();
        let task = task::spawn(detect_target_5times(browser, target));
        tasks.push(async move { (task_name, task) });
    }

    let results = join_all(tasks).await;

    for (name, result) in results {
        match result.await {
            Ok(Ok(_)) => println!("{} done.", name),
            Ok(Err(e)) => println!("failed: {:?}", e),
            Err(e) => println!("join failed: {:?}", e),
        }
    }
    println!("Total time: {:?}", start.elapsed());

    Ok(())
}

async fn detect_target_5times(browser: Arc<Browser>, target: String) -> anyhow::Result<()> {
    println!("start browser: {}", target);
    let mut tasks = vec![];
    for _ in 0..5 {
        let arc_browser = browser.clone();
        let target = target.clone();
        let task = task::spawn_blocking(move || detect_once(arc_browser, target));
        tasks.push(task);
    }

    let results = join_all(tasks).await;
    let mut durations = vec![];
    for result in results {
        match result {
            Ok(Ok(d)) => durations.push(d),
            Ok(Err(e)) => println!("failed: {}", e),
            Err(e) => println!("join failed: {}", e),
        }
    }
    println!("target: {} total duration: {:?}", target, durations.iter().sum::<Duration>());

    Ok(())
}

fn detect_once(browser: Arc<Browser>, target: String) -> anyhow::Result<Duration> {
    let tab = browser.new_context()?.new_tab()?;
    let start = Instant::now();
    tab.navigate_to(&target)?;
    tab.wait_until_navigated()?;
    let duration = start.elapsed();
    println!("{}: {:?}", target, duration);
    tab.close(true)?;
    Ok(duration)
}

This is the result log of a run:
start browser: https://www.rust-lang.org/
start browser: https://aws.amazon.com/
start browser: https://www.cloudflare.com/
https://www.rust-lang.org/: 3.854869329s
https://www.rust-lang.org/: 4.119861796s
https://www.rust-lang.org/: 5.435828585s
https://www.rust-lang.org/: 8.424771699s
https://www.rust-lang.org/: 9.711593305s
target: https://www.rust-lang.org/ total duration: 31.546924714s
https://www.rust-lang.org/ done.
https://aws.amazon.com/: 18.602800925s
https://aws.amazon.com/: 19.842338577s
failed: The event waited for never came
failed: The event waited for never came
failed: The event waited for never came
target: https://aws.amazon.com/ total duration: 38.445139502s
failed: The event waited for never came
failed: The event waited for never came
failed: The event waited for never came
failed: The event waited for never came
failed: The event waited for never came
target: https://www.cloudflare.com/ total duration: 0ns
https://www.cloudflare.com/ done.
https://aws.amazon.com/ done.
Total time: 40.207492793s

This code runs without problems on my M2 macbook, but a similar problem occurs when I put it on an aarch64 box. Is there something wrong with what I am using? Can anyone help me?

I had a problem when spawning multiple browsers in parallel - don't know if it was my hardware or some other problems. I've also tried the other project chromiumoxide but I find it extremely unreliable compared to this project. In the end I've gone more sequential. I imagine that if it works fine on M2 macbook then it's some kind of hardware related issue - but I have no clue. For me it runs great in docker on a linux host - but just gets stuck or hangs  in a docker on my mac host.

i think this is due to using multiple tabs at the same time.
what i've done to do some parallelism is just launching a whole new browser window for each tab, which is really sad but it is how it is

I'm facing the same issue when I run headless chrome on an AWS lightsail instance but it works just fine when I run it on my machine (the same code, using multiple tabs). Both machines are running on an Intel CPU in this case and the browser is running inside a docker container. I just can't seem to figure out what is causing the issue.

Could this be an issue with chromium itself? The last working version that I know of is 124.0.6367.207-1. Can anyone test it to see if downgrading fixes the issue?

I was able to fix this issue by downgrading to an older version of chromium inside a docker container. Multiple tabs work just fine. So this issue appears to be caused by the new versions of the browser, but I still don't know how it affects only certain machines.
If anyone else wants to test this, you can use install an older version of chromium in a docker container this way:
FROM debian:bookworm-slim
RUN echo "deb http://snapshot.debian.org/archive/debian/20240511/ bookworm main" >> /etc/apt/sources.list
RUN apt-get update && apt-get -y upgrade && apt-get install -y chromium=121.0.6167.139-1~deb12u1 chromium-common=121.0.6167.139-1~deb12u1 && rm -rf /var/lib/apt/lists/*


dd-plist-120.jar not reported

https://mvnrepository.com/artifact/com.googlecode.plist/dd-plist/1.20
As per maven report dd-plist-1.20.jar has 1 CVE [CVE-2020-15250] . But latest ODC failed to find it. why?

Dependency
Vulnerability IDs
Package
Highest Severity
CVE Count
Confidence
Evidence Count

dd-plist-1.20.jar

<EMAIL_ADDRESS>
0

28

dd-plist-1.8.jar

<EMAIL_ADDRESS>
0

28

Same for the following jars

CVE-2016-1000027
spring-core-5.3.21.jar

CVE-2016-1000027
spring-beans- 5.3.21.jar

CVE-2016-1000027
spring-context-5.3.21.jar

https://mvnrepository.com/artifact/redis.clients/jedis/3.0.1
As per jedis-3.0.1.jar has lot of CVEs but ODC failed to match with CVE

please describe what exactly what you did and add the verbose log

jars.zip
scan the folder using the following command,
dependency-check-7.4.1-release/dependency-check/bin$ ./dependency-check.sh --scan jars

The CVE you mention is for Junit, a test-dependency of the dd-list project. If you were to scan the dd-list project and include test-scoped dependencies you would see it reported. However if you scan the resulting production code, then there is no vulnerability left, as the (transitive) test-dependencies are not included in the transitive dependency tree.

Same for the following jars
CVE-2016-1000027 	spring-core-5.3.21.jar
CVE-2016-1000027 	spring-beans- 5.3.21.jar
CVE-2016-1000027 	spring-context-5.3.21.jar

That CVE concerns only Spring-web and, due to high visibility of Spring has been explicitly suppressed to not being reported for other Spring libraries.

https://mvnrepository.com/artifact/redis.clients/jedis/3.0.1 As per jedis-3.0.1.jar has lot of CVEs but ODC failed to match with CVE

Again: those are test-dependencies, so if you depend on the library those are not of your concern (as you're not building/testing the library itself). Where you to scan the jedis project itself you should see them surface

Also note that dependency-check CLI only scans the jar files and has no logic to scan any transitive dependencies. The CLI is meant to scan a tree of all the ear/war/jar/js-files and does not perform any logic to try and find transitive dependencies. That's why we recommend to use the build-tool integrations to scan your source project (those use your build-tool to get the direct and transitive dependencies of your project)


Apply base64 to allow binary job contents

This applies base64 to allow job contents with binary data. So together with @roelvanduijnhoven I came up with this solution.
This PR does break some compatibility, since older jobs will not be compatible to be deserialized. We might work on a backwards-compatible solution for this later. Probably something that checks first if the content probably is base64-encoded or not.
Fixes #188

I removed the binary data from the QueueTest. Thanks for pointing me in the right direction there!

Reworked the PR in accordance with the ideas given in #188

thanks @kokx could you please add a note to the documentation? Then I shall merge and release 0.7.0

@basz I've added some documentation.

Thanks! I'll have merged, and I'll release tonight

Op 12 jan. 2017 om 13:46 heeft Pieter Kokx<EMAIL_ADDRESS>het volgende geschreven:
@basz I've added some documentation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Add tests for all functions

Tests for all functions created and tested on docker image
Tests will run for all functions on every push and pull request to the repository
Fixed issue in getBTCInvoice where label was not being urlencoded
Fixed issue where 400 or 404 responses were not throwing exceptions in getBTCRate and getBTCBalance

Yeah, awesome work on the 400/404 issues.  Admittedly, my hack is to get something working, it's good to know that you're finessing things to make it awesome.  Great job!


Remove user intent banner from smart answers

What
Remove the user intent banner from the application view template, the shared component will remain in place should anyone need to use it in the future, for example, this was previously used on the /check-travel-during-coronavirus smart answer.
Why
The only page using the user-intent banner, is the '/next-steps-for-your-business' smart answer, which it needs to be removed from.
The team working on the '/next-steps-for-your-business' smart answer are no longer doing user research, so they'd like this to be removed. This will ensure the team working on it don't get requests for user research help that they don't need anymore. Users don't also waste their time.
Visual Changes

Before
After

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Thanks @maxgds, I have removed the shared file /shared/_banner.html.erb


Feature Request - Report Secureboot configuration

T2 chip equipped Mac models i.e. MacBook Pro 2018 onwards, Mac mini 2018, Mac Pro 2019 and iMac Pro as standard have a feature called secureboot turned on which prevents them booting from external drives.
This can be configured to alternatively allow booting from external drives or only booting trusted operating systems.
As far as I can see MunkiReport does not currently report the status of this setting.
Obviously I could write my own script to report this but I feel it would be worthwhile this was added as standard to the security listing report since this is security related.
The following is a script used for Jamf that might help as a starting point.
#!/bin/bash

# Test Secure Boot status EA for Jamf.

function securebootstatus {
test=$(nvram 94b73556-2197-4702-82a8-3e1337dafbfb:AppleSecureBootPolicy 2>/dev/null )
	if [ "$test" ]
	then
test=$( nvram 94b73556-2197-4702-82a8-3e1337dafbfb:AppleSecureBootPolicy | awk '{ print $2 }' )
	fi
}

securebootstatus

case "$test" in
    %02)
        echo "<result>Full</result>"
    ;;

    %01)
        echo "<result>Medium</result>"
    ;;

    %00)
        echo "<result>Disabled</result>"
    ;;

    *)
        echo "<result>Secure Boot Not Present</result>"
    ;;
esac

This feature has been implemented in the security module.  See https://github.com/munkireport/security/pull/11


Enable dark mode

The dark mode has been disabled since quite a lot of builds ago. Changes have to be made to various SCSS files and styling code to get it working again. Not on priority

Closing as migrated to https://github.com/muellners/second.exchange


Support other filetypes

I've seen instructions out there for converting mp4's to webms via ffmpeg.
Research is needed to see if I could script this process to support arbitrary files in the same easy-to-use format as the vidswap tool.
Questions to answer:
Is 450x450 resolution a hard limit or does it end up being the default for filesize constraints? The original video is centered and 450x450 which I believe is why it does not need to be full screen.
What other types are easy to convert with ffmpeg?
Is ffmpeg also the tool for converting resolutions?

Not sure where I read 450x450, from running ffprobe on files that currently work, most are 1280x800.
Conversion command:
ffmpeg -i 'test.mp4' -map 0:v:0 -map 0:a:0 -filter:v "scale='min(1280,iw)': min'(800,ih)':force_original_aspect_ratio=decrease,pad=1280:800:(ow-iw)/2:(oh-ih )/2" -c:v vp9 -c:a libvorbis -crf 32 test_crf32_scaled.webm
increase crf value to reduce size (and quality)

For cropping conversion:
ffmpeg -i 'SegaSaturn.mp4' -vf "scale=w=1280:h=800:force_original_aspect_ratio=2,crop=1280:800" -c:v vp9 -c:a libvorbis -crf 32 SegaSaturn_crop_scaled.webm


Remove execution bits on all files

Next up: check this in Travis

I hope everyone will be glad to setup his git client to turn off execute bits.

I have no idea what you are talking about.

@taylorotwell This is something modified by the chmod command.

The execute permission grants the ability to execute a file. This permission must be set for executable programs, including shell scripts, in order to allow the operating system to run them. When set for a directory, the execute permission is interpreted as the search permission: it grants the ability to access file contents and meta-information if its name is known, but not list files inside the directory, unless read is set also.

https://en.wikipedia.org/wiki/File_system_permissions#Permissions

we know what execution bits are. can you explain why this change is necessary?

@browner12 If you want to keep a server with a POSIX filesystem clean, a part of this process is having files with 0664 permissions.

Of course scripts and binaries should have execute bit turned on.

By default git does not set execute bit on Windows. Someone may had special settings.

@taylorotwell @browner12 Any chance we switch to 0644 of all files in the project?

FYI, Taylor rarely looks at closed PRs. If you truly want this to go through I would open another one, and provide a much more thorough explanation this time, and why we need it / why it is better.


Synthesis failed for java-language

Hello! Autosynth couldn't regenerate java-language. :broken_heart:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the java-language API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
2021-05-20 15:24:27,572 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/java-language
2021-05-20 15:24:28,423 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-05-20 15:24:28,426 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-05-20 15:24:28,430 autosynth [DEBUG] > Running: git config user.email<EMAIL_ADDRESS>2021-05-20 15:24:28,434 autosynth [DEBUG] > Running: git config push.default simple
2021-05-20 15:24:28,438 autosynth [DEBUG] > Running: git branch -f autosynth
2021-05-20 15:24:28,442 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-05-20 15:24:28,462 autosynth [DEBUG] > Running: git clean -fdx
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 356, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 270, in _inner_main
    flags = autosynth.flags.parse_flags(synth_file_name)
  File "/tmpfs/src/github/synthtool/autosynth/flags.py", line 50, in parse_flags
    module = ast.parse(path.read_text())
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/pathlib.py", line 1196, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/pathlib.py", line 1183, in open
    opener=self._opener)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/pathlib.py", line 1037, in _opener
    return self._accessor.open(self, flags, mode)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: 'synth.py'

Google internal developers can see the full log here.

@Neenu1995 @chingor13 Could you guys take a look at this?


make NN URL a configuration parameter

currently the NN URL is hard coded. make this a configuration parameter.

this will be in the next depioy.

done


Implements pagination support for GetAll style endpoints

Description

Implements pagination for the following endpoints:

GET /v1/model_registry/{model_registry_id}/registered_models
GET /v1/model_registry/{model_registry_id}/registered_models/{registered_model_id}/versions
GET /api/v1/model_registry/{model_registry_id}/model_versions/{model_version_id}/artifacts

How Has This Been Tested?

Get registered models with pageSize of 1.

curl -i "http://localhost:4000/api/v1/model_registry/model-registry/registered_models?pageSize=1"

Verify one model is returned, pageSize = 1 and size = 1 and that nextPageToken is not empty.
Get registered models with pageSize of 1 and nextPageToken.

curl -i "http://localhost:4000/api/v1/model_registry/model-registry/registered_models?pageSize=1&nextPageToken=CAEQARoCCAE"

Verify the second model is shown on the second page (NOTE: use the nextPageToken from the previous step)
Get registered models ordered by last created time in descending order

curl -i "http://localhost:4000/api/v1/model_registry/model-registry/registered_models?orderBy=LAST_UPDATE_TIME&sortOrder=DESC"

Verify results are ordered correctly.
Repeat stage 7 but change order to ASC and verify they are reversed.

Merge criteria:

All the commits have been signed-off  (To pass the DCO check)

[x] The commits have meaningful messages; the author will squash them after approval or in case of manual merges will ask to merge with squash.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work.
[x] Code changes follow the kubeflow contribution guidelines.

If you have UI changes

[ ] The developer has added tests or explained why testing cannot be added.
[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Verify that UI/UX changes conform the UX guidelines for Kubeflow.

@alexcreasy you'll need to rebase so you can run the linter locally for the BFF

@ederign when you get a chance could you re-review and merge if you're happy? thanks :)

/lgtm


fix: Commissions milestone being at 5

Description
Fixes https://canary.discord.com/channels/738971489411399761/738990246825427084/1053330763153682522 (Hypixel changed Commissions milestone to 6 from 5)
Example

Before

After

Added Commissions field


start shared SDK project

Summary: start shared SDK library with Cocoapods depending on JSONModel, OHHTTPStubs, OCMock

lgtm


ENH: add a returns section

Add Returns section and a pass.

@tacaswell hi! Did you find any alternative, or maybe even write an own template?


Feature/content

Added i18n support for Header and Footer
Changed Bootswatch theme to Simplex
Added FortAwesome icons
Added i18n, Backend pages
Updated/added content to index, About, Privacy pages
Moved Privacy Policy link to the Footer (removed from Header)
Renamed locale messages.json to locale.json
Removed incomplete FR translation
Added link to i18n page in LanguageSelector button
Added i18n strings for pages (excluding privacy and about)
Preview: https://gusta-project.github.io

Going to look a this tonight - initial impressions are 💯


Weaken status should be -2

I have a new character in my game who applies lots of weaken and we noticed that the weaken status in the harm results only applies -1 when it should be -2 for icon version 1.5
https://github.com/whitespine/foundryvtt-icon/blob/0fe6895a2af8d4c8fa0486a3733d4439218cd985/src/util/harm.js#L134

I put this in manually on my end.
  if (flags.includes("weakened") && amount > 0) {     if(amount <=2){       amount = 0     } else{     amount=amount-2;     }     deltas.push(["weakened", -2]);   }


EPICSYSTEM-224: Create an empty landing page for staff with create staff button

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

Project coverage is 42.81%. Comparing base (466a004) to head (610fcc9).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop       #9   +/-   ##
========================================
  Coverage    42.81%   42.81%
========================================
  Files           38       38
  Lines          334      334
  Branches        61       61
========================================
  Hits           143      143
  Misses         178      178
  Partials        13       13

Flag
Coverage Δ

compliance-web
42.81% <100.00%> (ø)

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

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


Fix PyPi README

Check https://test.pypi.org/project/terrascript/0.8.0/.

Please see PR https://github.com/mjuenema/python-terrascript/pull/126


Suppress building static library

If I read the docs correctly you should be able to call
make BLIS_ENABLE_STATIC_BUILD=no BLIS_ENABLE_DYNAMIC_BUILD=yes

rather than editing the make_defs.mk file in BLIS/deps/build.jl
I will try this out.

That seems to work.  I can modify build.jl to use this method instead.
The version at present is set at "0.1.5", which is out-of-date.  Is there a reason not to use a later version?

No reason at all, other than I haven't touched this in some time.


Can't access host server on epiphany-browser

Your Windows build number: 19564

What you're doing and what's happening:

Prerequisite:

Install vcxsrv on Windows and run it.
Run export DISPLAY=$(grep -m 1 nameserver /etc/resolv.conf | awk '{print $2}'):0.0 on WSL2 Ubuntu to connect automatically.
Get epiphany-browser via apt install.

Steps:

On host Windows, run a simple local HTTP server e.g. using node-static on port 8080.
On WSL2, run epiphany-browser and access (your host ip):8080.

What's wrong / what should be happening instead: It should access the local server, but instead it gets network timeout.

Works here.

Ah, seems it's just node-static by default not exposing to the local network. static -a <IP_ADDRESS> works. Thanks!


IOGX Integration

As part of the ongoing effort to build a Developer Platform for IOG, the smart-contracts-dev-empowerment team is releasing IOGX - a Flake Template for Haskell Projects at IOG
The vision of IOGX is to provide a JSON-like, declarative interface to Nix, so that developers unfamiliar with the language may independently maintain and add to the Nix sources with minimum effort and maximum pleasure.
The goal is to integrate with all Smart Contracts repositories, and maybe more.
There are currently 3 repositories using this: marlowe-cardano, antaeus, quickcheck-dynamic.
This PR deletes all legacy nix code and integrates with IOGX, for a reduction of ~86% of nix lines of code (1153 -> 165).
As developers nothing changes for you: you will enter nix develop and you will get into a new shell.
There might be some rough edges but we will be prompt to smooth them.

Also note that while fourmolu and shellcheck support has been added, the hooks have been disabled temporarily in nix/pre-commit-check.nix.
After this PR is merged, someone will have to enable the hooks in nix/pre-commit-check.nix, and then while inside nix develop, run:
pre-commit run --all-files

Apply all the change and then open a new PR with the formatting changes.
Basically this is to keep both PRs separate and clean

ci/eval is pending but everything is actually green: https://ci.iog.io/eval/2471
It's a hydra thing

CI is getting confused again. Everything passes, even cross-builds. This can be reviewed

Also, I deleted .github/workflows/pre-commit-check.yml because it's now run on Hydra by default

We do have one failing test now https://ci.iog.io/build/231172/nixlog/1

@zeme-wana I believe that's a fiddle test case. You can force push again to see if it passes?

Yes all tests pass now, though CI is still confused


responsibleai: Add prediction wrapper to missing value tests

Description
responsibleai: Add prediction wrapper to missing value tests
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #2270 (f44625b) into main (cd1ab77) will decrease coverage by 1.80%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2270      +/-   ##
==========================================
- Coverage   89.95%   88.15%   -1.80%
==========================================
  Files         117       17     -100
  Lines        6438      287    -6151
==========================================
- Hits         5791      253    -5538
+ Misses        647       34     -613

Flag
Coverage Δ

unittests
88.15% <ø> (-1.80%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 100 files with indirect coverage changes


Pen thickness Pop Up panel when pen is clicked

@arzitmahajan Would you like to work on this ?

Yes I would
On Fri, Mar 4, 2022, 2:04 PM DhairyaBahl @.***> wrote:

@arzitmahajan https://github.com/arzitmahajan Would you like to work on
this ?
—
Reply to this email directly, view it on GitHub
https://github.com/hash-define-organization/Hash-Whiteboard/issues/26#issuecomment-1058949611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARTWUARWVZNFRGVXQUOBO33U6HDJ3ANCNFSM5P4RWAAA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@arzitmahajan Kindly provide some valid description and you can start working on the implementation.

First I will make panel whenever then pen tool is clicked and that panel will contain slide bar so that user can adjust pen's thickness. After doing so I will work on the main part that is whenever slide bar is used pen's thickness actually changes


log4j.txt takeover?

Hi,
the log4shell attacker ip list now has an entry (line 1) that reads <IP_ADDRESS> - i think this is a false positive, likely one that got planted for the kicks by a knowledgeable person.
( i know it's autogenerated, but I'm too tired to remember where to find the origina gist thread and you should also have more momentum in changing this)

Most likely. I'll get exclusions in, but it'll be tomorrow.

the list also has quad1 DNS

Yes. Unfortunately, one of the source feeds that builds this list loaded false positives.  That source has been removed, permanently. Updated commit coming now.

As promised, I've built-in filtering for all no-routable addresses and have removed <IP_ADDRESS> and <IP_ADDRESS>.
Unfortunately, this is an aggregation of community-data and the quality is based on that data.
I'll do my best to keep it solid.


Fix project creation scripts

Our project creation scripts currently fail, even though the tests pass.
Acceptance criteria

[ ] Ensure the project creation scripts work in QA environment
[x] Replace the tests with mediaflux integration tests so we can better detect when they fail in the future

Nevermind. It DOES work in QA, but you must use :8080 in the URL to actually see the qa mediaflux instance.


Playlist played in reverse changes direction after a few tracks

OS:
Windows 10 Pro
Issue Descriptions:
If you play a playlist in reverse order (order descending by track number and play from top), it changes the order to ascending after a few tracks, and continues to play in normal order, rather than reverse.
Means that you get a few tracks in, then end up listening to the same tracks again and then the playlist reaches the end (where it started).
Steps to Reproduce:
Play playlist in reverse.

This sounds very much like a GPM issue and not an issue on our side of things.  I would recommend raising this with Googles product support.


[BUG] Project Owner is forbidden to create endpoints

Rancher Server Setup

Rancher version: 2.7.1
Installation option (Docker install/Helm Chart): Helm chart, RKE2

Information about the Cluster

Kubernetes version: K3s v1.24.9+k3s2
Cluster Type (Local/Downstream): local

User Information

What is the role of the user logged in?  Project Owner

Describe the bug
A Project Owner is not allowed to create endpoints. Sample:
% vcluster create vcluster-hdu
info   Create vcluster vcluster-hdu...
info   execute command: helm upgrade vcluster-hdu /var/folders/7t/6d31st453rs107jjhvmkpvgcz8smc7/T/vcluster-0.14.0.tgz-2876634524 --kubeconfig /var/folders/7t/6d31st453rs107jjhvmkpvgcz8smc7/T/1438773474 --namespace sampleteam --install --repository-config='' --values /var/folders/7t/6d31st453rs107jjhvmkpvgcz8smc7/T/2904900695 --values values.yaml
fatal  error executing helm upgrade vcluster-hdu /var/folders/7t/6d31st453rs107jjhvmkpvgcz8smc7/T/vcluster-0.14.0.tgz-2876634524 --kubeconfig /var/folders/7t/6d31st453rs107jjhvmkpvgcz8smc7/T/1438773474 --namespace sampleteam --install --repository-config='' --values /var/folders/7t/6d31st453rs107jjhvmkpvgcz8smc7/T/2904900695 --values values.yaml: Release "vcluster-hdu" does not exist. Installing it now.
Error: roles.rbac.authorization.k8s.io "vcluster-hdu" is forbidden: user "u-4wzq7rucpg" (groups=["freeipa_group://cn=develop,cn=groups,cn=accounts,dc=example,dc=de" "freeipa_group://cn=users,cn=groups,cn=accounts,dc=example,dc=de" "system:authenticated" "system:cattle:authenticated"]) is attempting to grant RBAC permissions not currently held:
{APIGroups:[""], Resources:["endpoints"], Verbs:["create" "delete" "patch" "update"]}

% kubectl auth can-i create svc
yes
% kubectl auth can-i create endpoints
no

Expected Result
The comment to Project Owner role says "Owners have full control over the Project and all resources inside it." An endpoint is bound to a namespace, so the Project Owner should be allowed to create it.

I have found

https://github.com/kubernetes/kubernetes/issues/103675
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#write-access-for-endpoints

I am also getting same error, Project owner cannot create endpoint
Kubernetes version 1.23.x
Rancher Version 2.6.6.
Do we have any workaround on this


Clean up archive files stored to disk during an atomic transaction that rolls back

Summary Change Description
This actually addresses 2 concerns:

Calls to archive_file_record.delete() will clean up the files saved in the archive, but only if the record doesn't currently exist in the database.
If there's a rollback in the MSRunsLoader, the mzXML files created in the archive directory are deleted

Note that this DOES NOT clean up vestigial files that are orphaned due to a record update (save a changed existing record).
See the comment on the issue:

As I was working on this, I realized that this strategy of heading off the ArchiveFile creation by trying to front-load the code with anything that can go wrong so as to not create files on the file system is not a scalable strategy. Any exception after the creation of an ArchiveFile record, and subsequent rollback, will cause files to be left behind.
I did improve the msrun_sequence code, but the best solution IMO is to use a post_delete transaction.on_commit signal/method in the ArchiveFile model class.

Details:

Added a new tracebase test case class: TracebaseArchiveTestCase
Tweaked the settings to make them more straightforward to handle archive files.
Created the exception class MultipleRecordsReturned.
Handled a type issue reported in mypy about factory-created TestCase classes.
Added a post-delete signal method: post_archive_file_delete_commit and a delete_archive_file method, both in the archive_file.oy model file.
Added a method in MSRunsLoader for handling file cleanup in the event of a rollback: clean_up_created_mzxmls_in_archive.
Improved the get_msrun_sequence code.

Affected Issues/Pull Requests

Resolves #976

Review Notes

See comments in-line.
Checklist

This pull request will be merged once the following requirements are met.  The
author and/or reviewers should uncheck any unmet requirements:

Review requirements

Minimum approvals: 1
No changes requested
All blocking issues resolved by reviewers
Specific reviewers: @add_username_here

Review period: 2 days

Associated issue/pull request requirements:

[x] All requirements in affected issues marked "resolved" are satisfied
[x] All required pull requests are merged (or none)

Basic requirements

[x] All linters pass
[x] All tests pass
[x] All conflicts resolved

Overhead requirements

[x] New/changed method tests implemented/updated (or no change)
[ ] Updated Unreleased section of changelog.md (or no change)
[x] Migrations created & committed (or no change)

I'm putting this in draft.  @lparsons suggested I learn how to use cherry-pick -n with add -p, so I gave it a go and have broken this PR up into 4 stacked branches.  Each should pass tests and linting, but I'm going to make sure they do and try to create separate PRs out of them to replace this PR.


[DNM] upmerge to upsteram 42ad446

This is fast forward as NCS doesn't apply internal changes so far.

Found the following issues, please fix and resubmit:
Identity/Emails issues
e4ff8ac094edf0916f37fe29de4156c51dd2780a: author email (Thomas Stilwell<EMAIL_ADDRESS>needs to match one of the signed-off-by entries.


Add examples

@Sparticuz thank you for this example! I'm trying to set this up, but it's not clear to me where the chromium.zip is coming from:
      artifact: ../../chromium.zip

What is this relative file path? I don't see the zip anywhere in node_modules/@sparticuz/chromium

That specific relative path would be using the make chromium from the root directory.


Slideshow not starting on load

the autoswitch isnt workking properly until pressing a button, which ducks

20 secs delay, dunno what caused it, but fixed now :D


:sparkles: [#708] Re-introduce feature about supporting target method…

… attributes for resolving parameter annotations
Refs: #708
Example use-case: https://github.com/thecodingmachine/graphqlite-symfony-validator-bridge/blob/2f677f6dc5c81660505e6c73952661d4d98f1199/tests/Fixtures/Controllers/UserController.php#L37
If you want to deprecate such behavior - please hint how to deprecate it properly (symfony/deprecation-contracts, doctrine/deprecations, just a comment in the code, etc)

Codecov Report
Attention: Patch coverage is 71.42857% with 4 lines in your changes missing coverage. Please review.

Project coverage is 95.12%. Comparing base (53f9d49) to head (f5cd4b5).
Report is 94 commits behind head on master.

Files with missing lines
Patch %
Lines

src/AnnotationReader.php
83.33%
2 Missing :warning:

...notations/Exceptions/InvalidParameterException.php
0.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #709      +/-   ##
============================================
- Coverage     95.72%   95.12%   -0.61%
- Complexity     1773     1829      +56
============================================
  Files           154      174      +20
  Lines          4586     4939     +353
============================================
+ Hits           4390     4698     +308
- Misses          196      241      +45

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

@oojacoboo, please let me know if I need to change anything here

@andrew-demb please use the @deprecated tag - makes it easily searchable.

@oojacoboo but I need to deprecate only using "method target" annotation to be used for parameters.
I don't understand how to deprecate one feature from changed method logic, not  all the method.
I will add "trigger_error" with E_USER_DEPRECATED just like in other places in graphqlite

@andrew-demb That works - yep


Use canvas instead of canvas-prebuild in the next deploy.

Until https://github.com/node-gfx/node-canvas-prebuilt/issues/52 is fixed, we need to use canvas directly to avoid problems.

@sarvaje we can close this one, right? The issue you are linking is closed.

Yep, canvas-prebuild was updated, so no need to use canvas.


Adding onboarding guides

Added a guide to configure Azure API Management (APIM) for new Azure OpenAI resources and consumer applications. Consider this a draft, feel free to modify as needed.

Great guide. Thanks for the contribution.

This pull request introduces a comprehensive guide for onboarding new Azure OpenAI resources and consumers to Azure API Management (APIM). The guide includes detailed steps for configuring APIM to work with new Azure OpenAI deployments and consumers, along with several prerequisites and sample configurations.
Main changes:

guides/onboarding.md: Added a new guide for onboarding Azure OpenAI resources and consumers. The guide includes:

The prerequisites for starting the configuration.
A step-by-step guide for onboarding a new Azure OpenAI Resource, which includes ensuring line of sight to OpenAI, granting OpenAI user access to APIM user managed identity, identifying all deployment names associated with OpenAI, creating an APIM backend for OpenAI, updating routing configuration, testing the revision, marking the revision as current, and enforcing deployment-level RBAC.
A step-by-step guide for onboarding a new consumer, which includes creating a new product, creating a new subscription for the product, and sharing the APIM OpenAI endpoint, subscription key, and available models with the team.

 PERFECT

@microsoftopensource @msftgits because this pull request content never existed here now its added i had my subscription disabled due to risk abusive policy all kudos to the devs behind the repo now acting as if they never saw my deleted repository


Does this VirtualHIDDevice support Bluetooth keyboards?

From the Apple docs and why I ask:

Karabiner-DriverKit-VirtualHIDDevice is not a driver for actual hardware.
So, it does not support both USB and Bluetooth transport.
If you are asking about Karabiner-Elements, it is compatible with both USB and Bluetooth keyboards.

Karabiner-DriverKit-VirtualHIDDevice is not a driver for actual hardware.
So, it does not support both USB and Bluetooth transport.

So, I can't remap keys on my keyboard, modify my layout once, impacting both internal and external keyboards, eg. BT, with Apple's DriverKit or this VirtualHIDDevice?

If you are asking about Karabiner-Elements, it is compatible with both USB and Bluetooth keyboards.

How does Karabiner Elements then does this?

How does Karabiner Elements then does this?

IOKit provides a way to grab events and modify them. (kIOHIDOptionsTypeSeizeDevice)
https://github.com/pqrs-org/Karabiner-Elements/blob/master/docs/DEVELOPMENT.md#the-difference-of-event-grabbing-methods
You can use it instead of writing your keyboard driver unless you want to use keys which does not support generic keyboard driver (e.g., multimedia keys on some third vendor keyboards.)

You can use it instead of writing your keyboard driver

How is the latency of IOKit compared to DriverKit which grabs right the HID data?


⚠ Bofrost.at has degraded performance

In ce9db2b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1933 ms

Resolved: Bofrost.at performance has improved in 594bb55 after 7 minutes.


Add routing on faber inbound traffic

Signed-off-by: Ian Costanzo<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master     #654   +/-   ##
=======================================
  Coverage   98.70%   98.70%
=======================================
  Files         250      250
  Lines       13385    13385
=======================================
  Hits        13211    13211
  Misses        174      174


Shell integration: Write pwsh shell integration script

Parent issue https://github.com/microsoft/vscode/issues/133084
Main target is Windows but ideally it would just work on all platforms (might need some tweaking on how the process is launched).

We could cache $Error[0] and $LASTEXITCODE and use the latest one whenever $? is $False, this would let us get the actual latest exit code or exception.

Done, moved the improved exit code/exception checking to #140718


onClose event is not working for multiple select dropdown

I am using multiple select dropdown, when I click on the dropdown onOpen event is working fine, but onClose event is not triggering
Angular: "^5.2.0"
Multiselect: "^4.2.1"

<angular2-multiselect #dropdownElem [data]="PayerDetails" [(ngModel)]="PayerDetailsSelected" [settings]="dropdownSettings"
(onSelect)="onItemSelect($event)"
(onDeSelect)="OnItemDeSelect($event)"
(onSelectAll)="onSelectAll($event)"
(onDeSelectAll)="onDeSelectAll($event)"
(onOpen)="onOpen($event)"
(onClose)="onClose($event)">

I am also facing the same issue. Do we have any solution for this?
I am on
Angular: "^7.2.14"
Multiselect: "^4.2.1"

I shifted to Multiselect: "^4.2.6" and now onclose is working.
But now something new is happening,
After I close the dropdown, the onclose method is called. Expected :)
But After this, if I click anywhere on the page, it calls the onclose method. weird and not expected :(
Kindly provide the resolution for this as I need to use the onclose method critically.

Hi @foramkumar-parekh ,
Multiselect dropdown has clickOutside event, if you click anywhere on the body (page) this event will be called.
Please find the below reference code example.
(clickOutside)="onClickOutideDropdown($event)"
<angular2-multiselect [data]="itemList"                        [(ngModel)]="selectedItems"                        [settings]="settings"                        (onSelect)="onItemSelect($event)"                       (onDeSelect)="OnItemDeSelect($event)"                        (onSelectAll)="onSelectAll($event)"                        (onDeSelectAll)="onDeSelectAll($event)"                       (clickOutside)="onClickOutideDropdown($event)"> </angular2-multiselect>

That's great to know...
But this is happening with me with onClose.
And i have not used clickOutside for this. Also i don't want to call the function on clicking anywhere on the page.
I just need to get onClose

working as expected. refer to example at https://cuppalabs.github.io/angular2-multiselect-dropdown/#/multipledropdowns


upgraded to new API version

Purpose
The API of the ACI management libraries has changed since these examples were created, such that the examples don't work anymore with the current version of the API. This PR upgrades the examples to the current version of the API.

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

Thanks @akbo!
@dlepow This PR will require a corresponding PR to adjust the line numbers in the ACI Python ref overview. Would you like to prep a PR there before I merge this?


Added quirk for TuyaSmart TS0044 Remote Control

Added support for TuyaSmart TS0044 remote control
Fixes https://github.com/zigpy/zha-device-handlers/issues/525
Please bare with me, this is my first pull request ;-)

Codecov Report

Merging #603 (dee2f16) into dev (ca9ce60) will decrease coverage by 0.08%.
The diff coverage is 68.00%.

@@            Coverage Diff             @@
##              dev     #603      +/-   ##
==========================================
- Coverage   79.62%   79.54%   -0.09%
==========================================
  Files         154      155       +1
  Lines        3431     3456      +25
==========================================
+ Hits         2732     2749      +17
- Misses        699      707       +8

Impacted Files
Coverage Δ

zhaquirks/tuya/ts0044.py
68.00% <68.00%> (ø)

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 ca9ce60...dee2f16. Read the comment docs.

Pull Request Test Coverage Report for Build 387105295

17 of 25 (68.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 79.543%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

zhaquirks/tuya/ts0044.py
17
25
68.0%

Totals

Change from base Build 385667790:
-0.08%

Covered Lines:
2749

Relevant Lines:
3456

💛  - Coveralls

It may make sense to make the tuyaSmartRemote class in the init.py so it can be imported into other quirks, there are a bunch of tuya remotes that this will likely work - they just have a different number of buttons.

Not quite sure what broke the tests, but is this in general what you meant?
https://github.com/dumpfheimer/zha-device-handlers/commit/40d11dbff2362f5fbf7527c0b553869b33b879c7

I think so but will let the devs chime in with their opinions. I know a little bit and saw this as I have the 3 button and realized it would work with the same code so figured it would be wise to make it reusable.

agreed! do you have a device signature of the 3 button remote?

Yes, I is in #595 I also linked to the other issues with devices that look similar there.

@dumpfheimer welcome to quirks and thanks for the contribution! You need to rebase this PR because there are conflicts after merging some thermostat support. Let me know when you have some time and I can help you. My handle is the same on discord if you wanna ping me when you have free time. I can help you rebase and we can look at the tests.

okay, so I think I might have manged to rebase it, but the build isn't triggering automatically, like it did before. Not sure why?

Hi
Can you also fix #505  please ?
Thank you for your precious help

@dmulcahey do you have a police for these situations? Should I rather guess and check in the configurations for the other remotes (I do not know for sure if they have the same quirks) or should someone with such a device adapt the TS0044 implementation?

okay, so I think I might have manged to rebase it, but the build isn't triggering automatically, like it did before. Not sure why?

You still have conflicts so the rebase did not work.

@dmulcahey not sure what happened, again..
I did not close the pull request purposely =/

giving this up. created a new repo and new pull request: https://github.com/zigpy/zha-device-handlers/pull/608


virtualized table multiple sort

Hi.
Is it possible to add multiple sort some day?
For example like this table https://react-table.js.org/#/story/custom-filtering
As I think if change sortBy and sortDirection Table props from string and SortDirection to functions with following signature:
function sortDirection(dataKey):SortDirection {
	//do something with this stuff
}

function sortBy(dataKey):boolean {
	//do something with this stuff
}

By default it could be implemented as always true for sortBy and direction swap for sortDirection.
But if somebody wants to implement multiple sort (for example me) he could implement own sortBy and sortDirection functions

This isn't supported because I don't really understand the concept of multi-sort in a table. (When would you use this? How does it work?)
If you'd like to contribute a PR (with tests, docs, and example code) that adds this feature I'd be happy to review it 😄  but this isn't something I plan to add.
I'm going to close this issue since it's not one I plan to take action on. Happy to continue to discuss it though!

Ok that's a deal.
i'm ask this question just because of this

Please ask first before embarking on any significant pull request.

rule. Probably I will send a PR lil later.
Thnx for not rejecting this proposal at once.

No worries! I'm glad you asked. 😄


style position rounding

Hey, thanks for the package!
I run into an issue about placement with active browser page zooming. Positioning is off by a few pixels (which is not very noticable, but breaks some add-on behaviour we have). But it made me wonder, why does react-tooltip appear to truncate numbers when assigning element's position (style).
The fix for #146 involved adding parseInt as.. a means to do rounding? I wonder, can we replace this by proper rounding, or is there some advantage to parseInt over Math.round ?

sorry, did not mean to send that stub of an issue, but apparently "enter" means "publish".

Hi, @LennartSpitzner can you check if this still being a problem with the latest published version, please?
If yes, can you please do PR?
Thanks!

@danielbarion finally I was able to test this again, sorry for the delay.
Short answer: I could not reproduce any problem related to tooltip positioning when zooming any longer. Thanks!
(#743 simplified our code significantly without any need to reproduce rounding logic on our end. To check I reverted to an older version of our code that did not use #743, but I still could not reproduce any problem either. So all good.)


Android: pull/push different files for plain strings and string arrays

is it possible?
I don't like having them in a single strings.xml file, I used to split them into strings.xml and arrays.xml
How do I achieve this using this tool?

Yes, it is. Upload the files with a tag. This tag can then be used on downloading to put the different keys into seperate files again.
Use something like the following your .phraseapp.yml:
phraseapp:
  access_token: [your token]
  file_format: xml
  project_id: [your project]
  push:
    sources:
    - file: ./app/src/main/res/values/strings.xml
      params:
        locale_id: en
        tags: strings
    - file: ./app/src/main/res/values/arrays.xml
      params:
        locale_id: en
        tags: arrays
  pull:
    targets:
    - file: ./app/src/main/res/values-<locale_name>/strings.xml
      params:
          tag: strings
    - file: ./app/src/main/res/values-<locale_name>/arrays.xml
      params:
          tag: arrays

Does that help?


build_release is not appear in makefile rules

Bug Report
build_release is not appear in makefile rules， but it appear in Dockerfile
What version of TiKV are you using?

What operating system and CPU are you using?

What did you do?

What did you expect to see?
What did you see instead?

@dhcn Thanks for feedback. We will start to get it fixed.

#5017 fixes it.


What happens when the connection limit is hit?

It would be nice if this page described what happens when the default connection limit is hit. Does .Net throw an exception for that request? Does it queue the request so it will execute eventually? Something else?

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

ID: 6e46a6ee-6eeb-acfc-9c08-f0ea5a703ce3
Version Independent ID: 206a9d49-d6f1-2fa1-20d7-73a4fe951dd8
Content: Managing Connections - .NET Framework
Content Source: docs/framework/network-programming/managing-connections.md
Product: dotnet-framework
Technology: dotnet-networking
GitHub Login: @karelz
Microsoft Alias: ncldev

@antonfirsov Would you be able to help with this question?


Do you provide any weights?

I can't find .pt files in this repo. Is it possible to upload it?

I can't find .pt files in this repo. Is it possible to upload it?

Sorry, I was too busy in the past three months to pay attention to this code. And I will polish this code again in the coming week.


[WIP] scan tikv as a stream

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


openssl 3.1: can not cross compile on Windows for mingw64, using msys2

I plan to compile openssl 3.1 for Windows, using either msys2 or cross-compilation. Technically speaking, building with msys2 is cross-compilation.   Makefile wasn't produced.
Please read INSTALL.md and associated NOTES-* files.  You may also have to
look over your available compiler tool chain or change your configuration.

******************************************************************************
This perl implementation doesn't produce Unix like paths (with forward slash
directory separators).  Please use an implementation that matches your
building platform.

This Perl version: 5.32.1 for MSWin32-x64-multi-thread
******************************************************************************

but if I remove mingw64 in the Configure call above :
perl Configure \
    --cross-compile-prefix=x86_64-w64-mingw32- \
    --prefix=/opt/openssl-3.1 \
    --openssldir=etc/ssl \
    shared \
    zlib-dynamic \
    enable-camellia \
    enable-capieng \
    enable-idea \
    enable-mdc2 \
    enable-rc5  \
    enable-rfc3779

there is no such error and Configure succeeds, but the target is VC:
Le chemin d’accès spécifié est introuvable.
Configuring OpenSSL version 3.1.0 for target VC-WIN64A
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created makefile.in
Created makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL.md file first)      ***
***                                                                ***
**********************************************************************

does someone know a solution for this issue ?

is there a verbose mode in Configure to check what fails ?

It seems that Configure did give you an error you should address:
******************************************************************************
This perl implementation doesn't produce Unix like paths (with forward slash
directory separators).  Please use an implementation that matches your
building platform.

This Perl version: 5.32.1 for MSWin32-x64-multi-thread
******************************************************************************


Add implementation details of the assign and unassign command to DG

Resolves #210.
Added implementation details of the assign and unassign command to the developer guide.

Sequence Diagram:

this alt frame should be an optional one because our code looks like this:

this alt frame should be an optional one because our code looks like this:
everything else is ok!

Have modified the sequence diagram to use opt, and made some changes as referenced from a past semester. https://github.com/nus-cs2103-AY2021S1/forum/issues/378


Add parallelization to notebooks

As a first pass, I added a dask distributed LocalCluster to the ocean notebook. Running CUPiD on a casper compute node using 8 cores and 80 GB of memory, the ocean notebook took four or five minutes to run (instead of 10 minutes). Not the best speed-up, but the actual compute cells ran ~5x faster.
The atmosphere notebook runs in ~30 seconds, so I didn't bother adding parallelization there. The land notebook runs in ~1 minute, and adding a LocalCluster didn't improve the run time at all. Here's a table summarizing the timing experiments (runtimes are MM:SS)

notebook
serial runtime
parallel runtime

adf_quick_run
00:27 - 01:28
-

ocean_surface
08:41 - 09:44
04:06 - 05:08

land_comparison
00:54 - 01:05
01:03

Note that I ran this four times... twice on a casper compute node with 8 cores and 80 GB of RAM (once with only the ocean using LocalCluster, once with both ocean and land using it), once on a casper compute node with 1 core and 10 GB RAM, and once on a casper compute node with 1 core and 80 GB RAM (so all notebooks are run in serial, but in the first configuration it's very possible that everything slowed down due to having less memory available)

I am not entirely convinced
cluster = LocalCluster()
client = Client(cluster)

Is what we want... we might want to include an option to specify n_workers in the LocalCluster() call. At least with dask-mpi, the recommendation was to request N+2 workers from the queuing system if you wanted your cluster to be size N -- this provided a core for running the code, a core for the dask task manager, and then N cores for the workers. I'll test that out by running on 8 cores but setting n_workers=6, and if that shows improvement I'll solicit advise on how to include that in the config.yaml file.

I've added LocalCluster to seaice.ipynb (and also added some arguments to open_mfdataset() to further speed it up). I still want to split the README into a base README document and a "tips for running on the NCAR machines" document, and also update the new "tips for NCAR" page to mention requesting additional cores before running cupid-run.

Nice! I will give it a whirl.

@dabail10 -- I would run
$ qinteractive -l select=1:ncpus=12:mem=120GB

and then do the
$ conda activate cupid-dev
$ cupid-run config.yml

step on the allocation. (If you do this via JupyterHub, use Casper PBS Batch and request 12 CPUs and 120 GB of memory.)

2149459 just cleans up the documentation a bit. I moved the NCAR-specific tips regarding FastX out of README.md into a new NCAR_tips.md file, and then added a section about running in parallel. That markdown file is also included in the web documentation:


Help needed: Run collectstatic_schemas once a tenant is created by admin interface

As the title says, I need to run a collectstatic_schemas command after dynamically created tenant is saved.
I believe I should do it by capturing post_save signal, but I don't know how to run the command from the function called by the signal.
This is where i got to:
from django_tenants.management.commands import collectstatic_schemas
from django.core.management import call_command
from django.db.models.signals import post_save, pre_delete

@receiver(post_save, sender=Tenant)
def collect_static_tenant(sender, instance, **kwargs):
    # print(settings)
    call_command(collectstatic_schemas.Command(), schema=instance.schema_name, settings="deepmetrics.settings.tenants")

But I am getting the following error:

DatabaseWrapper' object has no attribute 'set_tenant'

Any help would be much appreciated.
Thanks

The is a post signal you can use called post_schema_sync

post_schema_sync

Thanks, I have just try that but it seems the signal isn't triggered after schema is saved

Looking at save method:
if has_schema and is_new and self.auto_create_schema:
            try:
                self.create_schema(check_if_exists=True, verbosity=verbosity)
                post_schema_sync.send(sender=TenantMixin, tenant=self.serializable_fields())
            except Exception:
                # We failed creating the tenant, delete what we created and
                # re-raise the exception
                self.delete(force_drop=True)
                raise

Should't this be
if **not** has_schema and is_new and self.auto_create_schema:

I realize part of the problem is with the architecture of my project.
I am trying to manage tenants from a project whose settings doesn't have 'django_tenants' in it's INSTALLED_APPS, but does have the tenant app where tenant model is defined.
How can I manage to do this?


Add avatar image to readme, update dependencies

Fixes #1

@myroslambda ping

Thanks :) This patch does several things (some of which are not included in the issue), so I'll merge it manually.

So, just to explain what happened:

We normally document all changes by creating one issue for each problem (dependencies, instructions, etc.). We commit each change independently, based on that.

We don't really use stack. Cabal works well, and that's simple enough. Stack instructions have not been added.

Because this is available on hackage, it's not necessary to install from the repo. People who know how to work with git know they can install directly by cloning. Otherwise, a simple cabal update and cabal install avatar-generator should do.

Thanks for the commit, @ad-si !

Sounds good. You still should remove all the trailing whitespace though (and configure your editor / ide to do it automatically) 😉


自定义侧边栏如何配置呢

Feature request
What problem does this feature solve?
How should this be implemented in your opinion?
Are you willing to work on this yourself?

请参考 vuepress 1.0 官方文档。


Create if not exists

Is there anyway to create if not exists feature? Can not find in documentation.

Hi @nikolas-dev,
Thank you for reaching out. The documentation was broken, see #141
Once it's fixed, you are looking for the Tag widgets.
Best Joe


Cannot insert PostgreSQL array

Our use case is very similar to this example from your documentation:
type Article struct {
	ID   int64
	Tags []Tag `bun:"tags,array"`
}

type Tag struct {
	ID    string  `bun:"tag_id,nullzero"`
	Label *string `bun:"tag_label,nullzero"`
}

However when trying to insert a new record with a non-empty Tags fields we're getting
ERROR: syntax error at or near "{" (SQLSTATE=42601)

as bun generates an ambiguous query containing {{:
INSERT INTO "articles" ("id", "tags") VALUES ('article-id', '{'{"ID":"tag-id-1","Label":"tag-label-1"}','{"ID":"tag-id-2","Label":"tag-label-2"}'}')

Reading through your documentation it seems that one should use pgdialect.Array to insert arrays. However changing the insert statement to something like:
tags := []Tag{{ID: "tag-id-1", Label: StringPointer("tag-label1")}, {ID: "tag-id-2", Label: StringPointer("label-id-c")}}
tx.NewInsert().Model(&article).Set("tags = ?", pgdialect.Array(tags)).Exec(db.context)

still results in the same error.
When changing the syntax manually as suggested here the insert does work:
INSERT INTO "articles" ("id", "tags") VALUES ('article-id', array['{"ID":"tag-id-1","Label":"tag-label-1"}','{"ID":"tag-id-2","Label":"tag-label-2"}']::json[])

There also seems to be a problem with slice of string pointers:
[]*string{ptr("foo"), ptr("bar")} is converted to '{'foo','bar'}' that results in a syntax error.
I have some kind of a working solution that seems to resolve both issues, but I'm not really sure if it's the best solution: https://github.com/svekko/bun/commit/7c749a736f6ec574737b2cd7f1899f0a38d5e3fb


Any plan to support TF=1.15 and CUDA=11.1?

Describe the feature and the current behavior/state.
Now tfra works on tf=1.15 and cuda =10 in gpu supporting.
I want to use it in  nvidia 3090 gpu. In TF<2.0 AND gpu card needs cuda >=11.0.
Do you have any plan to compile a version to support this condition?
Relevant information

Are you willing to contribute it (yes/no):
Are you willing to maintain it going forward? (yes/no):
Is there a relevant academic paper? (if so, where):
Is there already an implementation in another framework? (if so, where):
Was it part of tf.contrib? (if so, where):

Which API type would this fall under (layer, metric, optimizer, etc.)
etc
Who will benefit with this feature?
Many companies who use tf 1 and 3090 gpu.
Any other info.

Hi @karterotte ,thank you for your feedback, but unfortunately, we have no plan to support TF1.15+CUDA11.1, for official TF1.15 requires CUDA10.0,  TFRA following this. We recommend you update TF version to 2.5.1 , or maybe you can seek resolution from NVIDIA GPU CLOUD, there're some custom TF1.15 with different CUDA version, and then compiling the TFRA from resource back the NVIDIA custom TF release.


Reads data from a file

reads a file and displays its info. reads its file through command line
Description
Please include a summary of the program i.e what problem it solves.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have added my code in its respective language folder.
[x] I have mentioned a short description about the code at the beginning of the program.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have not deleted any files that already exist in the repository.

@Rhugaved12 please put your code in its respective language folder.


WIP els embedding pdf in document viewer

Description
This PR embeds pdfs directly in the document viewer rather than providing a link to them.
TODO: handle resizing
Reviewer Notes
@hlieberman-gov do you have any concerns changing X-Frame-Options and Content-Security-Policy from 'none' to 'self'?
Screenshots

Closing as we need design for what to do in IE if user doesn't have Acrobat.


videos of particular duration

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
can we download videos of  whose duration is  less than some predefined time duration?
Verbose log
No response

@pukkandan This --match-filter " duration >=?60"  works in terminal, but I am not able to use it in python script and can't find any documentation of how to use it.

'match_filter': match_filter_func("duration >=?60")

import yt_dlp

URLS = ['https://www.youtube.com/watch?v=BaW_jenozKc']

def longer_than_a_minute(info, *, incomplete):
    """Download only videos longer than a minute (or with unknown duration)"""
    duration = info.get('duration')
    if duration and duration < 60:
        return 'The video is too short'

ydl_opts = {
    'match_filter': longer_than_a_minute,
}

with yt_dlp.YoutubeDL(ydl_opts) as ydl:
    error_code = ydl.download(URLS)

OR
import yt_dlp

URLS = ['https://www.youtube.com/watch?v=BaW_jenozKc']

ydl_opts = {
    'match_filter': yt_dlp.utils.match_filter_func('duration >=?60'),
}

with yt_dlp.YoutubeDL(ydl_opts) as ydl:
    error_code = ydl.download(URLS)


An example for knowledge distillation. Especially for the load the teacher model's weights , and train the student model

Description & Motivation
No response
Pitch
A example for knowledge distillation. Especially for the load the teacher model's weight ,and train the student model.
Now I have a trained teacher_model. When I want to train the student model, I need to load the teacher model's weights and set the teacher model to eval().
I am confused about the specific steps to do above using the  Lightning.
Could I get an example for it?
Alternatives
An example for knowledge distillation. Especially for the load the teacher model's weight ,and train the student model
Additional context
An example for knowledge distillation. Especially for the load the teacher model's weight ,and train the student model.
cc @borda

Any news?


Some Doc image link is not valid

Seems doc url link changed like below

old : https://raw.githubusercontent.com/datahub-project/datahub/master/docs/imgs/
new : https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/

But some links still shows old version url, so doc image is not showing.
https://datahubproject.io/docs/domains/
https://datahubproject.io/docs/tags/

cc @yoonhyejin - I believe most of these issues are resolved now

Thanks for reporting on this @EunSeop , we pushed the fix here: https://github.com/datahub-project/datahub/pull/8771 & added markdown-link-check to spot the future broken links.

Will close this issue - Again, thanks so much for raising this! 👍


Update plugin for 5.x plugin ecosystem

Version: Latest
Operating System: Ubuntu
Sample Data: Logs here
Steps to Reproduce:

From within a new 5.3.0 install: ./logstash-5.3.0/bin/logstash-plugin install logstash-input-meetup

This is probably an easy fix somewhere in the Gemfile that other plugins have undergone for the 5.x family of Logstash, I'm just not privy to what those might be  🎱

I will look and help out :)
On Wed, Apr 5, 2017 at 6:58 AM Tyler Langlois<EMAIL_ADDRESS>wrote:

Version: Latest
Operating System: Ubuntu
Sample Data: Logs here
https://gist.github.com/tylerjl/64c238675d14237e2c4b7230e01c4b5d
Steps to Reproduce:

From within a new 5.3.0 install: ./logstash-5.3.0/bin/logstash-plugin
install logstash-input-meetup

This is probably an easy fix somewhere in the Gemfile that other plugins
have undergone for the 5.x family of Logstash, I'm just not privy to what
those might be 🎱
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/logstash-plugins/logstash-input-meetup/issues/9, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIC6hiSN28s1Fbd_RBm2zaFQHpv6lKpks5rs54WgaJpZM4M0SDL
.

Just as a note, you're welcome to keep using the older version of Logstash with this plugin.
I have a PR that may fix this, but I have no experience with Meetup.com and there are no tests for this plugin, so it is hard for me to evaluate the correctness of my patch alone.


Polyline.enablePointReduction(true) removes all points

Issue Type
[* ] Bug
Description and/or steps/code to reproduce the problem
By default all my Polylines are invisible unless I set this to false.
I'm building osmdroid from source, I can't get gradle to download:
compile 'org.osmdroid:osmdroid-android:6.0.0-SNAPSHOT'
Environment
Hardware accn on
If it's a bug, version(s) of android this affects:
5.1
Version of osmdroid the issue relates to:
6.0.0
3b909549 (ok in 67cf8fa2)

well that's not good.

do you have a set of input values that i can test with? and maybe the dpi for the device that this happened on?

Any points seem to be removed eg 2 at 1km separation.  XT1052 with 312ppi.

so you have a line with 2 points and ran through the reducer it became two points?

can you get some points and the zoom level?

Any number of points and span at any zoom level.  I am not able to make any line visible unless I turn it off.

With some debugging I have this in Polyline.draw():
densityDpi=320 latSpan=0.0559770206137955 tol=1.7492818941811095E-4

Ok, I see the problem: originalPoints is empty because I am using addPoint() rather than setPoints().

As an aside, I'm storing my points in a couple of double[] with the idea of avoiding object instantiation costs.  It would be interesting to compare the efficiency of this with ArrayList in LinearRing, is the difference negligible?

ahh i missed add point

alright holy hell. i'm rolling back the point reduction integration on master for polyline and polygon, then updating the snapshot. it can wait for the next release

Where should I find the snapshot these don't seem to exist:
https://repo1.maven.org/maven2/org/osmdroid/osmdroid-android/6.0.0-SNAPSHOT
http://jcenter.bintray.com/org/osmdroid/osmdroid-android/6.0.0-SNAPSHOT

stand by

https://github.com/osmdroid/osmdroid/blob/master/README.md#want-the-latest-and-greatest

snapshot updated

sorry, I should have seen that...

it's relatively new, don't worry about it. I'm glad this was discovered before cutting the version


Update plugin base and logging

In this PR we update the version of plugin-base and update config.

@armiol, @alexander-yevsyukov, PTAL.


Rocket list render to the DOM

Change introduced 😎

Display the list of Rockets to the dom.
Style the Rockets layout with react-bootstrap.
Install react-bootstrap and bootstrap(this is in case we would make some modifications to the Bootstrap itself).

NOTE

Package installation might cause a conflict if you have installed any package after the last pull request. watch out 😀

Thank you @Alexr16. Nice to have your review.


tests: running xdist

What does this PR do?
lets try if we can parallelize testing

Before submitting

[x] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?
Make sure you had fun coding 🙃

:books: Documentation preview :books:: https://torchmetrics--2127.org.readthedocs.build/en/2127/

Seems like this does not even start properly, could be because of:
https://github.com/Lightning-AI/torchmetrics/blob/886c09b01423a5013f289e95672373bfbc33de85/tests/unittests/conftest.py#L55-L73
cc: @SkafteNicki

Seems like this does not even start properly, could be because of?

Yeah that would definitely be the problem, if I remember correctly you cannot start a child process inside a child process. So I am not sure if we will be able to use xdist for testing.

I can get it to run locally, but it is complaining with error
AttributeError: module pytest has no attribute pool

meaning that we need to refactor the code where we initialize the pool used for multiprocessing testing if we want this PR do land.

this is stated from master:

so seems we get 15-40min boost on GPU

Great job @Borda ⚡

@Borda Wuaah, this is amazing! 🥇


Added allow hoe rightclick for some time

It's similar (heavely inspired) to the mute Pet alert feature
Screenshots:

I'll take a look tomorrow, maybe you could consider adding a keybind (your call)

I'll take a look tomorrow, maybe you could consider adding a keybind (your call)

I don't quite understand, what do you mean with keybind?

Press h and it does the same thing

Press  and it just right clicks with the hoe or press that key and you can right click?

I was think the latter but either one works

sounds a bit overkill, but sure
im bored anyway

make it toggleable

stop trolling :(
its already toggleable (of some sort)

nah make it be able to toggle between adding to for 3 minutes and clicking once

I could also change the time from minutes to seconds, and you just put your time on like 3 seconds or something

You choose if you want to do it or not (your feature) although leave the time in minutes

kind of considering adding that early disable also to the keybind, like a toggle

What if you made it a toggle (/allowrightclicks will disallow if it's triggered while right clicks are allowed) -- if you need help I can give you the code

so instead of the whole 3 mins thing, its just a toggle command?

No. It disables after 3 minutes, or after the command is run again, whichever comes first

oh, hm
I think I can do that

Tried to do it with one simple function, didnt work
Would appreciate if you could do that!

@j10a1n15 fixed your rebasing

Press [yourKeyHere] and it just right clicks with the hoe or press that key and you can right click?

Just realized this is probably illegal

Press [yourKeyHere] and it just right clicks with the hoe or press that key and you can right click?

Just realized this is probably illegal

I mean it's redirecting clicks to other keys, skyhanni also does that

Ooh you made a folder for it, nice
Tried that and it didn't work


Add sub-organization account recover capability

Purpose

Purpose of this is to add account recovery capability as a default behavior when creating sub-organizations.

Related Issues

Enable self password recovery for sub-organization users

Goals

Give account recovery capability when creating sub-organizations.

add unit tests


Detect types of sample metadata columns and use them when setting scale type when changing fields

Should be a property of the Q2 metadata. For standalone, can detect from pandas DataFrame or infer manually.
There's apparently a pandas function that infers datatypes: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.infer_objects.html but this has caveats (e.g. int sample ids).
c/o Yoshiki

I'm gonna reopen this. Yes, scale types are flexible now, but it'd be nice to not have to change the scale type manually every time you change the corresponding encoding's field. This doesn't have to be perfect, but some automation would be super useful.

If we autodetect column types using pandas in python, it should be easy to store these types as a list in the rank plot JSON. (This would also be easy-ish to test [in the python tests]: just retrieve the type list, and assert that the results from calling pandas on the corresponding columns from the sample metadata match the type list.)
Then, in the JS, we could use that list when changing the sample plot field (either in updateSamplePlotField() or the first time makeSamplePlot() is called) to also update the scale type encoding if desired.
As mentioned—this won't be perfect, but I think it should be convenient enough to make it worth it (depending on how good pandas' sniffer is).

An alternate, maybe easier way to do this -- once #92 is addressed, we can just see if the list of invalid samples for a quantitative scale is infeasible to display a quantitative scale (i.e. = 0? Or maybe < 2 for color gradients like in emperor). If so, we can just autoswitch to categorical, maybe displaying a warning to the user as to why that was done.