chore: speedup pak command in tests

added caching which can be turned on by setting an enviornment variable on local
to speedup your local dev loops while running pak
[#181404983]
Signed-off-by: James Norman<EMAIL_ADDRESS>Checklist:

[x] Have you added Draft Release Notes in docs/draft-release-notes.md?
[x] Have you followed the Conventional Commits specification?

Should there be changes to the Makefile to set the variable?
Does it make sense to expose this as a feature for brokerpak developers. Should there be a $HOME/.pakcache directory created as a default, to speed up the development process?

Should there be changes to the Makefile to set the variable?
Makes sense, added a new task to run integration tests cached. We dont want to change the default ci/flow to this one

Does it make sense to expose this as a feature for brokerpak developers. Should there be a $HOME/.pakcache directory created as a default, to speed up the development process?
Makes sense, added $PWD/.pak-cache instead


Anyone working on BeagleBone AI Should it be a new board?

The BeagleBone AI has been out for a while. The BegaleBone AI uses a dual-core ARM Cortex-A15. Not too bad on the CPU speed. The  BeagleBone AI has the same 2X44 pin connectors like the Black and Green.  However, the pinmux is completely different.  Some pins can have the same function but now there is up to 4 I2C buses, 4 SPI buses and 10 UART TX/RX.  The GPIO(chip)_(pin) numbering system is completely different.
The two questions are.  First is anyone working on an MRAA PR to support the new AI version?  The second question is if someone was going to build one, would it be better to put it in as a new board, or patch it in with the existing beaglebone files on MRAA?
Best regards
Chuck

I'm not aware of anyone working on it.
If you do submit a PR, please send it to https://github.com/eclipse/mraa
This repo will be locked soon.

Hello,
Does the UPM/MRAA libraries still work w/ the BBB or BBG boards? The OS has changed dramatically in the last one to four years.
...
I could never really get the UPM/MRAA libraries to work but I would like ot know if they are supposedly still working.
Seth

Yes the MRAA libs are working on BBB and BBG with the exception of the PWM.  I have been running with the latest Debian 9.9 release.  Here are my steps to build:

sudo apt-get install build-essential python-dev cmake automake libpcre3 libpcre3-dev byacc flex
git clone https://github.com/eclipse/mraa.git
cd mraa;mkdir build;cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
One other thing I have found is BBG takes over control of some pins with audio enabled so SPI1 can't be used.  To enable it so you can use either SPI0 bus and/or SPI1 bus disable audio in the uEnv.txt in /boot:

###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1

One other annoying thing is BB tends to use the uEnv.txt from the eMMC on boot, even with the SD card inserted. Then later it get read from the SD card for other configurations.  If you are running on the SD card, make the eMMC uEnv.txt the same as the SD card.
BB AI is a whole other board.  Some things are the same, but the pin mapping is completely different.  I have not gotten time to work on the AI version yet.

@Chuckduey ,
Hello Sir...this is good news. I will attempt this soon. Thank you for this update.
Seth

Hello @Chuckduey ,
Sir, I have found that w/ the newer image, there are some errors while compiling. I will try to test out each piece of source before I return service so there is some documented items from the 4/6/2020 image from https://elinux.org/Beagleboard:Latest-images-testing.
Seth

A few months back I did have problems getting Buster to work (Debian 10).  Currently I am sticking with Stretch version 9.9.

Hello...okay. I had some success but I am having issues w/ the UPM library. I will keep plugging at it.

Hello @Chuckduey ,
I figured out what is making the build unsuccessful so far on Buster.
-DBUILDSWIGNODE=OFF

At least on my machine, this has proven valuable. I have saw that there was not candidate for nodejs-dev in Buster. I am sure I can find out what took its place.
Seth
P.S. Thank you for posting.

Yeah, I am tempted to submit a patch setting SWIGNODE=off by default. So many issues with it :/

Hello @tingleby ,
Hello...do you think this could be the reasoning on why sudo make install is giving me errors when building? I am asking b/c make works and then errors galore happen w/ sudo make install on Debian 10/Buster.
...
Is there some sort of other command outside of just plain sudo make install that would stop the config. of NODE on my machine?
Seth

What error do you have after make install

Hello...I will test again soon. I will let you know. Sorry for the long delay.

@tingleby ,
Hello...well. This is odd. I used sudo make install and received no errors when not using -DBUILDSWIGNODE=OFF during the cmake command.
Seth
P.S. I am not sure what changed except for me not using the JSON-C library b/c I did not install it.


Access list didn't work

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
Are you sure you're not using someone else's docker image?
If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network?

Yes is the last docker jc21/nginx-proxy-manager:latest 2.7.3
Issue on Access List more precisely the client ip address is not good : always <IP_ADDRESS> (gateway on docker)
Describe the bug

A clear and concise description of what the bug is.
What version of Nginx Proxy Manager is reported on the login page?

Version 2.7.3 lastest ! when using access list -> always 403 Forbidden reach !
on the log file of the concern proxy host i can find that the ip client address register is in fact the gateway of the container <IP_ADDRESS> and not the real address of the client -> normal it doesn't work.
This Client address is obtain on both for Internal client requery of external with 4G mobile phone
I try different advanced option report on other issues "Nginx PM not recognizing my actual IP I am connecting with, but rather a Cloudflare IP. #811" and "IP address - Docker #112" without success
Can you help me please
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'

Screenshots
If applicable, add screenshots to help explain your problem.

Operating System

Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error.

Synolody DSM
Additional context
Add any other context about the problem here, docker version, browser version if applicable to the problem. Too much info is better than too little.

Just to precise, I have the same issue when I install Nginx Proxy Manager as addon in Home Assistant or with another docker jlesage/nginx-proxy-manager.
The issue seems to come froml the version 2.7.3

Hi,
I have a similar problem:
I want to access a Grafana dashboard which loads data from an influxdb.
Strangely, some data is read correctly and for some data I get the error 403 like in the post above.

Is this a bug in nginx itself?
Bye
Christof

Hi,
I played around with the rest API and found out, that the option "block common exploits" was the issue. I guess because the requests which was rejected contained the string "javascript".
Disabling this option made it work.
Hope that helps somebody else.
Bye
Christof

The solution to the original issue is here: https://github.com/jc21/nginx-proxy-manager/issues/1105#issuecomment-950384265


Change submodule command to do shallow checkout

It is probably a good idea to clone the library submodules in "shallow" mode.
    git submodule update --init libraries/sky130_fd_sc_hd/latest

See related issue @ https://github.com/google/skywater-pdk/issues/108

@mithro: Since they're properly configured on the skywater-pdk repo as shallow submodules (e.g., https://github.com/google/skywater-pdk/blob/master/.gitmodules#L6), the basic submodule command you mentioned does already clone the submodules shallowly, so it already passes --depth 1 to the clone command.
Cloning the skywater-pdk itself shallowly doesn't provide much gain; it only saves like 400 KB and then this https://github.com/google/skywater-pdk/blob/master/scripts/make/git.mk wouldn't work because it is looking for latest tag, which is lost in the case of a shallow clone.

Now need to update scripts/make/git.mk now that that's the instructions.


x-axis y-axis title is not displaying in bar graph

In user progress bar graph x-axis and y-axis title is not displaying

Re-tested x axis and y axis title is not showing

Retested not fixed

@Inchara98 do you mean x-axis and y-axis labels?

@pandutibil yes lables

Ok

@FaizanMohammed326 - Please update the ticket once it completed by11

@FaizanMohammed326 x-axis Y-axis tittle is not present in user unboarding (Courses) , Hear beat of nation (Dial resource), composite report

@Inchara98 added axis title in above reports as weel pls take a retest.

working as expected


data manipulation in vscode-r

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I handle data a lot with R. In R studio, it's easy to use $ to access some layers of a data frame but it doesn't work yet in vscode.
Thanks for your great work
Hoang
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

If you enabled R session watcher, then you should be able to complete the first level of names of any object.

G' day there
Perhaps, I didn't express it clearly. I wanted to mention the suggestion or autocompletion when working with data. E.g. a data frame usually contains a bunch of columns, it'd be great to have the suggestions/autocompletion of a column to use with just a simple $ sign or something.
Another thing is I can't handle python anymore. I tried to open a python file and execute it but the terminal is set to R automatically then it doesn't realize the python code. Did I miss something
Thanks a bunch for your beautiful work
H

I wanted to mention the suggestion or autocompletion when working with data. E.g. a data frame usually contains a bunch of columns, it'd be great to have the suggestions/autocompletion of a column to use with just a simple $ sign or something.

The session watcher supports session symbol completion (#165), i.e. $, @ and [ to trigger auto-completion of session symbols of list, data.frame and S4 objects. If you properly enabled this feature, it should work out of the box.

Another important thing with data handling is to view list. If a dataset is in a format of a nested list. It'd great to have a way to view the list to see its structure (such as view() in R studio). It's necessary to view when it comes to set some loops for the nested list of data.

We don't have the RStudio-like viewer of nested list at the moment. The session watcher currently only supports a naive list viewer implemented in #150.

Another thing is I can't handle python anymore. I tried to open a python file and execute it but the terminal is set to R automatically then it doesn't realize the python code. Did I miss something

You need to install Python extension to work with python scripts and optionally Pylance and a better language server for Python. Please visit https://code.visualstudio.com/docs/python/python-tutorial for more details.

In my case, auto-completion does not work for data.frame even though "r.sessionWatcher" is enabled. For example, I typed airquality$ in VSCode editor, but it does not suggest any related columns, such as Ozone, Month, etc.

Currently, the completion provided by session watcher is only capable of providing completions from global environment, i.e. variables created by user in globalenv, rather than symbols defined in packages (in this case, airquality comes from {datasets}).
If we implement #440 and use R's built-in completion in editor, we could provide completions like in RStudio but it will suffer from the same problem using such completion too.

@renkun-ken You know what you guys are doing great I love your work. It greatly helps me to make my code tidy and neat using format document in vscode. Perhaps, we are just too familiar with Rstudio for such a long time then we find the auto completion in data handling and some other features e.g. we can run all the codes inside {} with just ctrl + Enter.
I sometimes need to use Rstudio for quickly testing some chunks of codes and parallelly open my work in vs code


[beta] Improve instruction and formatting for "Applied Visual Design: Use the Text-transform Property to Make Text Uppercase"

Challenge use-the-texttransform-property-to-make-text-uppercase has an issue.
Firstly, I suggest we change the first instruction sentence to

The text-transform property in CSS is used to change the appearance of text. It's a convenient way to make sure text on a webpage appears consistently, without having to change the text content of the actual HTML elements.

Secondly, the "Note"-section is essentially a collection of definitions. I suggest we replace the current text with either a table of two columns (value - description), or format the css-values with  tags. Either way could work.
And finally: Maybe the word "uppercase" in the last paragraph should be formatted as ? Should this change also be done to "uppercase" in the message of the test case?

@Greenheart - good points! For putting a code tag around "uppercase" - when I originally went through this section, I generally put code tags around CSS property names, and didn't around the values. (However, I'm sure there's some inconsistency throughout the section). I don't have a preference either way, it was just a convention I followed to keep my head straight during my QA 😃

@HKuz I generally use  or ```` as a way to highlight that something should be read as code, as long as it's related to syntax. I think this makes it clear what you actually can add to your software :blush:

I'll create a PR for this, and we can continue the discussion there.

Fair points @Greenheart - and sounds good about the PR 👍


cups-filters: 1.20.2 -> 1.20.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/cups-filters/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/bin/foomatic-rip -h’ got 0 exit code
ran ‘/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/bin/foomatic-rip --help’ got 0 exit code
found 1.20.3 with grep in /nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3
directory tree listing: https://gist.github.com/aa62a318dc23326b357322da3e567915

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: cups-filters
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: cups-filters
Partial log (click to expand)
/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/lib/cups/filter/.musicxmltobrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/lib/cups/filter/.rastertopclm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/lib/cups/filter/.textbrftoindexv3-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/lib/cups/filter/.texttobrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/lib/cups/filter/.texttops-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/lib/cups/filter/.vectortobrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/lib/cups/filter/.vectortopdf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3...
moving /nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/sbin/* to /nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3/bin
/nix/store/h8hpf5fjx7fg0p1sv9yyvg6b803k61k4-cups-filters-1.20.3

Success on aarch64-linux (full log)
Attempted: cups-filters
Partial log (click to expand)
/nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/lib/cups/filter/.imageubrltoindexv3-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/lib/cups/filter/.imagetops-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/sh"
/nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/lib/cups/filter/.imagetobrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/lib/cups/filter/.gstopxl-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/sh"
/nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/lib/cups/filter/.gstopdf-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/sh"
/nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/lib/cups/filter/.brftopagedbrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/lib/cups/filter/.brftoembosser-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3...
moving /nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/sbin/* to /nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3/bin
/nix/store/k5yr73gvwd2p8wspbdnjzpv4jkk1ajfi-cups-filters-1.20.3


Duplicated information in output file (ParaView)

I use ParaView to visualize my results (ParaViewDataCollections). I have noticed that the output mesh is conformed of element/cell each with unique set of nodes, i.e., facets of contiguous elements will not share their nodes, generating duplicated information. I know I can use the Clean To Grid filter to fix this; however, it would be nice if MFEM could somehow circumvent this issue. The unnecessary duplication of data increases the size of an output file significantly for big problems and slows down loading and operating on them.

Hello @barreracruz,
MFEM doesn't currently support outputting VTU without duplicating the nodes on element interfaces. Because we support spaces that are more general than just continuous FEM (Nédélec, Raviart-Thomas, DG) on the same mesh, it is generally useful for MFEM to duplicate these nodes.
Of course one could imagine a special case to avoid duplication when only H1 fields are being saved, but this is not implemented.
You can achieve significantly smaller file sizes by calling ParaViewDataCollection::SetDataFormat with VTKFormat::BINARY32 (for most visualization purposes Float32 will be fine) and ParaViewDataCollection::SetCompression to enable compression (MFEM will need to be compiled with zlib support). In my experience this is enough to compensate for the duplication.

Thank you, @pazner

See also #1757


Archive upload release

What problems does this PR solve?
This PR adds archive upload and verify related workflows
How has the changes been tested?
Monika validated the workflows on mm-xart001 and mm-xart002
Reasons for careful code review
If any of the boxes below are checked, extra careful code review should be inititated.

[ ] This PR contains code that could remove data

Realized that this one "actions/workflows/ngi_uu_workflow.yaml" is not validated as well.


customisation options

How do i customise this wizard. I want to add wrapper for content and footer buttons and want separate navigation bar.

sorry, but I can't provide this type of support...


Task - Assignee assigned from user A is not shown in real time in user B task page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to https://staging.new.expensify.com/
As User A, tap fab
Tap assign task
Enter title and share somewhere to user B
Confirm task
Open user B account
Open bold created task received from user A
Now in user A account, in task page assign a user and note user B task page, not updated in real time

Expected Result:
Assignee assigned from user A must be shown in real time in user B task page
Actual Result:
Assignee assigned from user A is not shown in real time in user B task page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.73-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/97d2db61-ca11-426d-9636-57e05789c205
https://github.com/Expensify/App/assets/78819774/b83cc2f1-df4a-46f4-aa8b-77bd2bf5b515
https://github.com/Expensify/App/assets/78819774/54c3d6df-26a1-4ed8-a960-5f364549800e
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

I don't think we are treating these "live update" issues as bugs anymore. There have been several discussions about this, most recent one I can find is here.  Closing!


[UNDERTOW-2375] Minor fixes in contributing guide: broken links, types, style fixes.

Couple of minor fixes.
Jira: https://issues.redhat.com/browse/UNDERTOW-2375
2.2.x PR: #1583

Looks fine.

Thanks @fl4via !


[fix bug 1378264] Add activity data in event fixtures. Add  data in event fixtures.

I tested this locally and it's working OK. I am merging this since it only affects local development.


fraud detection in online payment

Utilize ML models for fraud detection and prevention in online payments and transactions. Detect suspicious activities such as fraudulent orders, stolen credit cards, or account takeovers to safeguard the integrity of the platform and protect users' financial information.

want to work on this issue

@palayushi293  I have assigned u the issue, you can start working on it. All the best!

pls, label it as  I am a gssoc'24 contributor

@palayushi293 I have labeled it. As in the cart section there is an order button which shows an alert when ordered, so can u add the payment page as well!

i have train the dataset for credit card fraud detection which consist of time amount , PCA fetures v(1-28) with an acuuracy of 99
% and f1 score should i deploy it and make a pull request


Add Chris Peng to Contributors list

Hey guys:
Thanks for making this intimidating procedure very straightforward and easy.

Hi  @chris-peng-1244, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


PIP Does not open when on second monitor, GIF attached

@tcpowell  It appears this plugin only works when you have Runelite open on your Primary monitor.
I have a Portrait to the right and i am unfocused and nothing pops up.
Appears to only work on the primary.
Thanks for the hard work!

https://cdn.discordapp.com/attachments/1162833699646218310/1238664334893252680/lawLcnKNif.mp4?ex=66401b8e&is=663eca0e&hm=ad05b841b39a5eed0071e9762fb5915b2bc6d55ad4fa119a8c46d49baaf87a0d&
I cannot seem to trigger the PIP when its on my secondary

Perhaps related to screen bounds?
https://github.com/tcpowell/picture-in-picture/blob/a381388a67326087636840320295cf00c65ec477/src/main/java/com/pip/PictureInPicturePlugin.java#L514-L525


Long freezes when opening/editing zig files

Describe the bug
I get huge freezes when opening a .zig source file (around 0.8-1.0 seconds), even when adding "zig" to disabled languages. I found this delay to be caused by nvim-ts-rainbow2 and for me only occurs with zig files so far.
Steps to reproduce
Open any .zig file, including the hello world example generated by zig init-exe:
const std = @import("std");

pub fn main() !void {
    // Prints to stderr (it's a shortcut based on `std.io.getStdErr()`)
    std.debug.print("All your {s} are belong too us.\n", .{"codebase"});

    // stdout is for the actual output of your application, for example if you
    // are implementing gzip, then only the compressed bytes should be sent to
    // stdout, not any debugging messages.
    const stdout_file = std.io.getStdOut().writer();
    var bw = std.io.bufferedWriter(stdout_file);
    const stdout = bw.writer();

    try stdout.print("Run `zig build test` to run the tests.\n", .{});

    try bw.flush(); // don't forget to flush!
}

test "simple test" {
    var list = std.ArrayList(i32).init(std.testing.allocator);
    // defer list.deinit(); // try commenting this out and see if zig detects the memory leak!
    try list.append(42);
    try std.testing.expectEqual(@as(i32, 42), list.pop());
}

Expected behavior
Either no freezes when editing a (simple) zig file (lag occurs on multiple events, like inserting new text or removing lines etc), or no freeze at all when adding zig to disabled languages.

I can reproduce the issue, but I doubt that anything can be done on my end. Here is what I have tried:

There is a new strategy on the current master branch called noop (require('ts-rainbow').strategy.noop) which does absolutely nothing, and yet the slowdown happens with that strategy as well.
I profiled the attach function in lua/ts-rainbow/internal.lua and the time spent is imperceptible
I commented out the contents of both the attach and detach functions, yet no speedup
In addition I also commented out the autocommand, still slow

I cannot think of any other function that could be the bottleneck. My best guess is that something about the Zig grammar itself that causes the slowdown. However, if I disable the rainbow module of nvim-treesitter Zig files do load quickly. Very strange indeed.

OK, it looks like I spoke too soon. Try the following: in the file lua/ts-rainbow/module.lua on line 29 there is a function is_supported. Change its contents to return true:
			is_supported = function(lang)
				return true
			end,

This should get rid of the slowdown or at least reduce it. The question is, why is out of all languages only Zig slow? I have tested Python and Lua, both are blazing fast.

OK, I think I'm done for now. The bottleneck is the function vim.treesitter.query.get when called on the rainbow-parens query.
vim.treesitter.query.get('zig', 'rainbow-parens')

Commenting-out the content of the query gets rid of the slowdown, but with every pattern I add back the call gets slower and slower. The following patterns result in a query that is still in the microseconds range:
(ParamDeclList
   "(" @opening
   ")" @closing) @container

(ForPrefix
   "(" @opening
   ")" @closing) @container

(AsmInputItem
   "[" @opening
   "]" @closing) @container

(AsmOutputItem
   "[" @opening
   "]" @closing) @container

(AsmOutputItem
   "(" @opening
   ")" @closing) @container

(Block
   "{" @opening
   "}" @closing) @container

(ContainerDecl
   "{" @opening
   "}" @closing) @container

(FormatSequence
   "{" @opening
   "}" @closing) @container

(Payload
  "|" @opening
  "|" @closing) @container

(PtrListPayload
  "|" @opening
  "|" @closing) @container

(PtrIndexPayload
  "|" @opening
  "|" @closing) @container

That's still quite slow compared to other queries of that size. Fennel and Rust are close in query size to the full Zig query and they are still in the microsecond range.
I don't know what more I can do here; we know that the bottleneck is the Zig parser. You can either live with the initial delay, reduce the query in size or report the issue to the Zig grammar maintainer. Once the query has been loaded future calls to the function will be almost instantaneous, so you only suffer the delay when opening the first Zig buffer.

Thank you for investigating this! I have disabled the rainbow brackets for zig for now, but I'll try reporting the issue further to the nvim-treesitter and/or zig parser.

This plugin is now deprecated because of upcoming changes to nvim-treesitter. The new rainbow plugin is here: rainbow-delimiters.nvim (GitHub mirror). Please file an issue over there if the problem still persists.


Update to use new PageFormSelectOrganization

Fixes refresh issue which makes select dialogs disappear.
Made a new AWX component PageFormSingleSelectAwxResource
Which will make updating all the code easier
<PageFormSelectOrganization<Credential> name="organization" />

Where PageFormSelectOrganization is implemented as simple as
export function PageFormSelectOrganization<
 TFieldValues extends FieldValues = FieldValues,
 TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
>(props: { name: TFieldName; isRequired?: boolean }) {
 const { t } = useTranslation();
 const organizationColumns = useOrganizationsColumns({ disableLinks: true });
 const organizationFilters = useOrganizationsFilters();
 return (
   <PageFormSingleSelectAwxResource<Organization, TFieldValues, TFieldName>
     name={props.name}
     id="organization"
     label={t('Organization')}
     placeholder={t('Select organization')}
     queryPlaceholder={t('Loading organizations...')}
     queryErrorText={t('Error loading organizations')}
     isRequired={props.isRequired}
     url={awxAPI`/organizations/`}
     tableColumns={organizationColumns}
     toolbarFilters={organizationFilters}
   />
 );
}

Note: A follow up PR will be made for PageFormMultiSelectAwxResource

Let's use styled components instead of adding custom css to global pf classes.
I am noticing 2 requests to orgs/ whenever the user clicks the "browse" button. We should try to limit the number of queries we're making to resources. I would expect when clicking "browse" from the select dropdown to not query the API since we already have an initial list of orgs.

One request is for the paginated with out a sort and will a page limit of 200.
The second one is use the awx view, has a page limit and a sort.


Fix: remove broken meetup links

I was reviewing the meetups page and noticed that there are many broken links. Several groups that were on meetup.com no longer appear, possibly because they are inactive or have changed their names.
Therefore, I decided to remove those links, as they only redirected to a page like this:

I submitted the same changes to the documentation in English, and they were merged.
I am a native Spanish speaker so if you ever need help updating this repo I'd be happy to help. I am also a member of the ExpressJS Organization where I help with translation and bug fixes in the documentation.

Why? The links are broken and this same change was merged into the official version

Hi, sorry, I didn't mean to close this one without an explanation, I was closing the stale automated sync PRs and yours got also closed by mistake. Anyways, I'm currently doing the periodic sync with the English repo, so these changes with your original commit will get merged, just not this PR. I haven't had the bandwidth to do the weekly sync, so that's why we still don't have these updates in the repo. Thanks for your contribution!

Hi, sorry, I didn't mean to close this one without an explanation, I was closing the stale automated sync PRs and yours got also closed by mistake. Anyways, I'm currently doing the periodic sync with the English repo, so these changes with your original commit will get merged, just not this PR. I haven't had the bandwidth to do the weekly sync, so that's why we still don't have these updates in the repo. Thanks for your contribution!

Oh don't worry


[Bug] The dns over proxy log is meaningless and too many

Verify steps

[X] I have read the documentation and understand the meaning of all configuration items I have written, avoiding a large number of seemingly useful options or default values.
[ ] I have not reviewed the documentation and resolve this issue.
[ ] I have not searched the Issue Tracker  for the problem I am going to raise.
[X] I have tested with the latest Alpha branch version, and the issue still persists.
[X] I have provided server and client configuration files and processes that can reproduce the issue locally, rather than a desensitized complex client configuration file.
[X] I have provided the simplest configuration that can reproduce the error I reported, rather than relying on remote servers, TUN, graphical client interfaces, or other closed-source software.
[X] I have provided complete configuration files and logs, rather than providing only parts that I believe are useful due to confidence in my own intelligence.

Operating System
Linux
System Version
Ubuntu 24.04 LTS
Mihomo Version
Mihomo Meta alpha-0e22876 linux amd64 with go1.22.4 Fri Jun 28 06:16:30 UTC 2024
Configuration File
mixed-port: 7890
socks-port: 7891
redir-port: 7892
tproxy-port: 7893
allow-lan: true
ipv6: true

mode: Rule

log-level: info
external-controller: <IP_ADDRESS>:9090
routing-mark: 255
secret: ''

dns:
  enable: true
  ipv6: true
  listen: <IP_ADDRESS>:53
  enhanced-mode: redir-host
  proxy-server-nameserver:
    - <IP_ADDRESS>
  nameserver:
    - <IP_ADDRESS>#Manual
  nameserver-policy:
    rule-set:override: <IP_ADDRESS>#Manual
    rule-set:private,direct: <IP_ADDRESS>

proxies:
  - {name: HK 01 | ss, type: ss, server:xxx, port:80, cipher: 2022-blake3-aes-256-gcm, password:xxx, udp: true, udp-over-tcp: true, udp-over-tcp-version: 2}
proxy-groups:
  - name: Manual
    type: select
    proxies:
      - HK 01 | ss
rules:
  - IP-CIDR,<IP_ADDRESS>,Manual
  - RULE-SET,override,Manual
  - MATCH,Manual

Description
This configuration <IP_ADDRESS>#Manual made the DNS query through a proxy directly. I think that Mihomo ignored the rule IP-CIDR,<IP_ADDRESS>,Manual is no problem, but it doesn't need to say [UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss continuesly
Reproduction Steps
Make DNS query over proxy by adding #Manual after the address <IP_ADDRESS>.，the log will continuously output [UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss
Logs
time="2024-07-11T16:25:37.530223886Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:37.540602361Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:37.831152372Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:37.831899427Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:37.901661119Z" level=info msg="[TCP] <IP_ADDRESS>:3685 --> www.google.com:443 match RuleSet(override) using Manual[HK 01 | ss]"
time="2024-07-11T16:25:37.963570755Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:38.173728803Z" level=info msg="[TCP] <IP_ADDRESS>:3687 --> www.gstatic.com:443 match RuleSet(override) using Manual[HK 01 | ss]"
time="2024-07-11T16:25:38.345639591Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:38.563408524Z" level=info msg="[TCP] <IP_ADDRESS>:3688 --> waa-pa.clients6.google.com:443 match RuleSet(override) using Manual[HK 01 | ss]"
time="2024-07-11T16:25:38.592730001Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:38.592821961Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:38.82851621Z" level=info msg="[TCP] <IP_ADDRESS>:3689 --> accounts.google.com:443 match RuleSet(override) using Manual[HK 01 | ss]"
time="2024-07-11T16:25:38.986061203Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:39.053829943Z" level=info msg="[TCP] <IP_ADDRESS>:3690 --> <IP_ADDRESS>:9090 match RuleSet(lancidr) using DIRECT"
time="2024-07-11T16:25:39.282227522Z" level=info msg="[TCP] <IP_ADDRESS>:3691 --> play.google.com:443 match RuleSet(override) using Manual[HK 01 | ss]"
time="2024-07-11T16:25:39.372180737Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:39.985388951Z" level=info msg="[TCP] <IP_ADDRESS>:3686 --> play.google.com:443 match RuleSet(override) using Manual[HK 01 | ss]"
time="2024-07-11T16:25:43.099966714Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:43.105410143Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:48.10119295Z" level=info msg="[TCP] <IP_ADDRESS>:3692 --> ogs.google.com:443 match RuleSet(override) using Manual[HK 01 | ss]"
time="2024-07-11T16:25:49.095072476Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:49.101421338Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:50.095340699Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:50.099879237Z" level=info msg="[UDP] mihomo --> <IP_ADDRESS>:53 doesn't match any rule using HK 01 | ss"
time="2024-07-11T16:25:50.252903484Z" level=info msg="[TCP] <IP_ADDRESS>:3695 --> ssl.gstatic.com:443 match RuleSet(override) using Manual[HK 01 | ss]"
time="2024-07-11T16:25:51.219195606Z" level=info msg="[TCP] <IP_ADDRESS>:3696 --> clients4.google.com:443 match RuleSet(override) using Manual[HK 01 | ss]"

This is the output generated after each connection, and it is not meaningless.

syntax error
change rule
- IP-CIDR,<IP_ADDRESS>,Manual

to
- IP-CIDR,<IP_ADDRESS>/32,Manual

ref: https://wiki.metacubex.one/en/config/rules/

@sleepm You have specified a policy for the DNS connection, so it does not match any rules. The default DNS connection does not follow the rules either.

@sleepm You have specified a policy for the DNS connection, so it does not match any rules. The default DNS connection does not follow the rules either.

This is the output generated after each connection, and it is not meaningless.

I'm a little confused. Should the DNS connection match the rule - IP-CIDR,<IP_ADDRESS>/32,Manual? If not, why does it say doesn't match any rule? How do I make it match some rules and stop outputting this same log?

You have specified a policy for the DNS connection, so it does not match any rules. The default DNS connection does not follow the rules either.


Ensure all section headings in same style use the same class

Different sections in the same kind of style are using different div classes or setup. Please ensure all are using the same.
Looking good for example is the area "proudly.."

The section "featured speaker" should follow the same style/implementation:

has been done at PR #707

Closed via #708

Thank you. Please see comment here https://github.com/fossasia/open-event-webapp/pull/708#issuecomment-242923728
Please only close issues after PRs have been merged and confirmed solved.

@mariobehling @championswimmer  Button also aligned now. Please close this.

With section heading - same style - it was not related to the alignment. The main goal is to have a consistent font and distance above and below the heading.
Please compare this to FOSSASASIA event sites. There are different alignment, but all section headings have the same height.
Event site:

Current generated site with little heading space:

done at #726

There are different alignment, but all section headings have the same height.

[ ] The last change also seems to have the area of "Proudly supported" increase more than required.
[ ] Alignment should be as on fossasia event sites: Featured speakers should be left aligned. Alignment should be in line with the respective design.

Please compare to http://2016.fossasia.org/


added column sorting feature on table

Added functionality for sorting table based on a column. #2
Most of the added code is for the new sorting feature.
I modified the BpfProgram class with additional fields from the columns (period avg runtime, total avg runtime, events per sec, cpu time percent) so that they don't need to be computed twice when first displaying to UI, and then when sorting.
I also added a new method for initializing a BpfProgram object so that it doesn't take up too much lines (which was in conjunction to the additional fields).

I don't have as much programs to work with at the moment, but here's how it looks like:

@tyrone-wu I think you pasted the gif for the filter feature.
I tried the feature locally and it's working great. The only thing I'd add functionally is to make Enter do the following when in sorting mode:

If no sorting is enabled on the column, sort by DESC and exit sorting mode
If sorting is already enabled, swap the direction and exit sorting mode

I don't think we need to add this to the footer, just make it a hidden feature for people that may want to do this due to muscle memory from other top-like apps.

The new hidden feature is now added! 👍
I also corrected the gif from earlier 😅, and here's the hidden feature in action.


form component breaks/not responsible when the width is less than 768

component path    : apps/www/app/examples/forms

Hi @mahaprabhu1994, that's the expected behavior. On small screen an image displaying the example is rendered.

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Issue in generate_with_mask.py Function - Image Generation Error

Traceback (most recent call last):
File "/storage/research/workspaces/gwangyeol/anomalydiffusion/generate_with_mask.py", line 191, in
images=model.log_images(batch,sample=False,inpaint=True,unconditional_only=True,adaptive_mask=opt.adaptive_mask)
File "/storage/research/workspaces/gwangyeol/anomalydiffusion/ldm/models/diffusion/ddpm.py", line 1451, in log_images
z, c,total_dict, x, xrec, xc = self.get_input(batch, self.first_stage_key,
File "/storage/research/workspaces/gwangyeol/anomalydiffusion/ldm/models/diffusion/ddpm.py", line 794, in get_input
c,position = self.get_learned_conditioning(xc,x=masked_img,name=name)
File "/storage/research/workspaces/gwangyeol/anomalydiffusion/ldm/models/diffusion/ddpm.py", line 633, in get_learned_conditioning
c,position = self.cond_stage_model.encode(c, cond_img=x,embedding_manager=self.embedding_manager,name=name)
File "/storage/research/workspaces/gwangyeol/anomalydiffusion/ldm/modules/encoders/modules.py", line 130, in encode
return self(text,**kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/storage/research/workspaces/gwangyeol/anomalydiffusion/ldm/modules/encoders/modules.py", line 122, in forward
z,position = self.transformer(tokens, return_embeddings=True, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/storage/research/workspaces/gwangyeol/anomalydiffusion/ldm/modules/x_transformer.py", line 615, in forward
x,position = embedding_manager(x, embedded_x,**kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/storage/research/workspaces/gwangyeol/anomalydiffusion/ldm/modules/embedding_manager2.py", line 123, in forward
placeholder_embedding.append(self.string_to_param_dict[i])
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/container.py", line 739, in getitem
return getattr(self, attr)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1695, in getattr
**raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")

AttributeError: 'ParameterDict' object has no attribute 'cable+cut_outer_insulation'**

CUDA_VISIBLE_DEVICES=0,1 python run-mvtec.py --data_path=/storage/image_datasets/mvtec_anomaly_detection_real --adaptive_mask
the generate_with_mask.py script creates the image, image-mask, mask, and ori folders, but no images are generated.
Could you please help identify the reason for this issue based on the error described above? Thank you.

you can check whether your name-anomaly.txt contains cable+cut_outer_insulation


Family of iSwap gates

What should we add?
It would be nice to add variable iSwap gates instead of the fixed one we have right now. These could be used as the two-qubit interaction within qiskit.circuit.library.ExcitationPreserving and Qiskit/qiskit-nature#462.
The current iSwap is defined as
exp(i pi/4 (XX + YY))

so the natural choice for a parameterized version would be just to replace pi / 4 by an angle and keep the interaction as XX + YY. What would be a good way to incorporate different interactions, such as YX - XY as in Qiskit/qiskit-nature#462?
@kevinsung @ajavadia

I just realized now that gate exponentiation is indeed supported by qiskit. It was hard to discover because gate**x doesn't work, but gates have a power method defined (see #7473). So the parameterized family of iSwap gates you mention is already accessible. I think the method of exponentiating basic gates to access different interactions is a good general approach.

Using arbitrary matrix powers isn't necessarily ideal; doing so creates a UnitaryGate, which is essentially just a wrapper around a dense matrix, so it requires exponentiating arbitrary matrices which is a bit slow.  The transpiler then has to perform fairly costly unitary synthesis to turn it back into useful basis gates as well.  If there is a reasonable decomposition available (and here I'm sure there is), it's likely better to keep the gate in that form, which needs a general representation defined.
If there is a general representation, we can override power to just multiply the rotation angle by the new power for these.  We'll need to go through a warning period for Gate.power, though, because we'd be changing its return type.

I agree that we should override power in cases where it is easily computed. The general representation of a gate can simply be the base gate along with the exponent. For example, the initialization of iSwapGate takes an exponent argument which defaults to 1.0.

I think defining this on top of iSwapGate is the wrong way around, but the principle is the same.  By analogy to rotation gates, I'd think the more natural choice for the "base" of the exponent is exp(i (XX + YY)) in this case (what Julien suggested at the top, though maybe we'd want a factor of 1/sqrt(2) here?), and then base ** (np.pi / 4) would be equivalent to the current iSwapGate.  In this form, calling the pi/4 parameter an "exponent" is probably confusing to users; by analogy to general rotations, it's like an angle rather than being defined as a ratio to the pre-existing pi/4.
Then we're back to the original question a little - we might want a slightly more general way of representing any such controllable n-qubit - we're interested in a general form that allows any Pauli vector as the interaction, while fitting within the transpiler requirements that gates separated by more than just Instruction.params have separate names.

I disagree that iSwapGate should be recovered by base ** (np.pi / 4). The "exponent" and "rotation angle" are distinct concepts which differ by a factor that involves pi, so it is confusing to define the base in a way that attempts to merge the concepts. While arbitrary powers of gates are not commonly referenced in the quantum computing literature, it is common to see references to the square roots of gates such as "square root of X" or "square root of iSwap" (exponentiation by 0.5), so this distinction is consistent with the literature.
It is definitely useful to be able to specify gates in terms of rotation angles rather than exponents. This can be achieved by providing constructor functions that take the angle as input:
def rxxyy(theta):
    return iSwapGate(exponent=-2 * theta / pi)

I just remembered that we recently added the XYGate. This is basically the same thing. A rotation about the XX+YY axis is typically called an XY gate in the literature (see https://arxiv.org/pdf/1912.04424.pdf) - though I don't love the name.
But I think there is nothing else to be added here, right?
It would be nice to override the iSwapGate.power() method so that it gives an XY gate, rather than a UnitaryGate. The UnitaryGate thing is just a fallback so any arbitrary gate can be raised to a power.

@ajavadia Thanks for telling me about XYGate. I have closed https://github.com/Qiskit/qiskit-nature/pull/462 because indeed, no new gate needs to be added.
We should still override the power method of iSwap gate (and others, for that matter) so that the resulting gate stays of the same type.

Should we make iSwapGate a subclass of XYGate?

We should still override the power method of iSwap gate

I agree

Should we make iSwapGate a subclass of XYGate

I'm not sure, what is the advantage? Our gates don't currently have a lot of deep structure to them (i.e. RX/RZ/RY could all be UGate, but they are not).

The advantage would be that we would only have to implement and maintain the gate decomposition and exponentiation in one class instead of duplicating it between two classes.


Can not support upload video

I have the same issue.
It looks like "resource_type" is not an accepted param of "params" inside the CloudinaryStorage config


Do we need really python to generate the doc's graphs?

Following some investigations for issue #160 , I removed the eye candy using python and PyCall to center one of the plots. I simply placed the three plots on top of each other. It works better for mobile devices, and keeps the documentation simpler to maintain.
@alebonfanti , @moustachio-belvedere , any views?

Looks fine to me! Thanks Alexandre

BTW, I'm not sure why but there's some installation output showing in the newly built docs that wasn't there before:
https://juliarheology.github.io/RHEOS.jl/dev/examples/

Thanks Louis. That's new indeed.

Looks good to me as well! Thanks!

In fact, I'm wondering if we should not switch to Gadfly or something similar for the tutorials. It may also help with #163.

what do you think of  Plots.jl?

Plots is great, but seems to be big - with many different backends. I was thinking about a package written in pure julia to remove dependencies as much as possible. Makie looks actually good.

I don't have a preference but good to note the main advantage of PyPlot is that it is more familiar to people with a Python background


[FLINK-33764] Track Heap usage and GC pressure to avoid unnecessary scaling

What is the purpose of the change
The autoscaler currently doesn't use any GC/HEAP metrics as part of the scaling decisions.
While the long term goal may be to support vertical scaling (increasing TM sizes) currently this is out of scope for the autoscaler.
However it is very important to detect cases where the throughput of certain vertices or the entire pipeline is critically affected by long GC pauses. In these cases the current autoscaler logic would wrongly assume a low true processing rate and scale the pipeline too high, ramping up costs and causing further issues.
Using the improved GC metrics introduced in https://issues.apache.org/jira/browse/FLINK-33318 we should measure the GC pauses and simply block scaling decisions if the pipeline spends too much time garbage collecting and notify the user about the required action to increase memory.
Complete GC pause tracking requires Flink 1.19 or the commit back ported to earlier versions, however heap usage tracking works already on earlier versions
Brief change log

Introduce TM level metrics for the autoscaler and track HEAP/GC usage
Trigger event and block scaling if gc is above threshold
Tests

Verifying this change
Unit tests + manual validation in various envs.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changes to the CustomResourceDescriptors: no
Core observer or reconciler logic that is regularly executed: yes

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs [TODO]

I addressed all comments I believe @1996fanrui @mxm .
Please note that I also added a second commit with the metrics improvements separately, not only does this fix the issue highlighted by @1996fanrui but it also remove some previously incorrectly reported per vertex metrics (those that we did not actually evaluate so were also nan) + adds LAG as an evaluated metric for metric completeness (I'm going to add a test for this before merging)

I feel like the solution to this problem is more complex, but the current code is definitely part of the solution. I'm not sure stopping to scale on GC pressure / heap usage is always desirable. In a lot of scenarios, scaling up might resolve GC pressure / heap usage issues. But after merging this PR, we might get stuck in a bad state. Users do not typically monitor their pipelines events that closely.
If we discover heap / GC pressure, it looks like we want to let the user know, scale up to solve the issue, and block scaling to a lower parallelism. Not allowing scaling might actually make the situation worse.

Sounds make sense!
Could we extract a common logic related to unhealthy? And unhealthy includes 2 parts:

How to check one job is unhealthy? Such as: GC severe or memory high is some type of unhealthy. We can introduce more types in the future.
What will autoscaler do when the job is unhealthy? In this PR, our strategy is stopping scaling. And we can revert to the last scaling history or scale up in the future.

These 2 parts can continue to be improved in the future. About the switch, I prefer to disable it in this PR, we can enable some switches when we think it's ready for massive production. (At least, disabling memory usage in this PR is fine for me, reason can be found from https://github.com/apache/flink-kubernetes-operator/pull/726#discussion_r1423346604)
We don't need to introduce new option to disable it, the Double.NaN can be used. When it's NaN, we disable the corresponding switch, WDYT?

I worry a bit about the implications of enabling this feature by default (also see #726 (comment)). Can we put this behind a flag?
I feel like the solution to this problem is more complex, but the current code is definitely part of the solution. I'm not sure stopping to scale on GC pressure / heap usage is always desirable. In a lot of scenarios, scaling up might resolve GC pressure / heap usage issues. But after merging this PR, we might get stuck in a bad state. Users do not typically monitor their pipelines events that closely.
If we discover heap / GC pressure, it looks like we want to let the user know, scale up to solve the issue, and block scaling to a lower parallelism. Not allowing scaling might actually make the situation worse.

@1996fanrui @mxm
I don't really want to add more on/off switches but we can consider setting the default limit larger or to 1 (effectively disabling this feature) initially if we think this needs more iteration.
However I am personally very much in favour of enabling it at least for the GC time for the following reason:
When you spend a considerable time in GC (30% is actually a lot) the processing is probably extremely slow compared to a state where you have normal gc time. In my experience when you are above 30% GC you are usually way above it and the degradation is massive, in most of these cases processing comes to almost a complete halt relatively speaking.
This means that true processing time and other time based measurements are completely off (very low compared to the actual value without memory pressure). So the scale up in this case would be very much overshooting, risking a large resource / cost spike that is basically 100% wrong. I think this is a big production risk that can affect trust in the autoscaler.
So I see 3 options here:

Keep the proposed 30% threshold
Increase the threshold to let's say 50% to be on the slightly safer side
Disable the check by default

I am personally +1 on 1 or 2 with a slight preference towards 1.
I agree with @1996fanrui s concern for the more simplistic heap check should be turned off by default. (threshold to 1)

However I am personally very much in favour of enabling it at least for the GC time for the following reason:

When you spend a considerable time in GC (30% is actually a lot) the processing is probably extremely slow compared to a state where you have normal gc time. In my experience when you are above 30% GC you are usually way above it and the degradation is massive, in most of these cases processing comes to almost a complete halt relatively speaking.

This means that true processing rate and other time based measurements are completely off (very low compared to the actual value without memory pressure). So the scale up in this case would be very much overshooting, risking a large resource / cost spike that is basically 100% wrong. I think this is a big production risk that can affect trust in the autoscaler.

I fully understand the rational for blocking scaling decisions but I think I draw different conclusions from these scenarios.
Consider the following scenario: We scaled down to parallelism 1 at night because there was no traffic. In the morning, either immediately, or as traffic ramps up and we scale up gradually, we get trapped by the GC feature. I would prefer overscaling as opposed to getting stuck. The scaling would be capped in resources either by the existing max parallelism setting or by an upcoming fairness feature which will allow allocating only a fraction of the max cluster resources.
I believe this PR is part of a solution to handle GC pressure / heap memory issues, but I'm not convinced blocking scaling is the behavior I would like to see. Ultimately, memoization of the processing capacity, processing rate, and GC pressure at each parallelism would help to build a simple model of what kind of scaling decisions to prevent. For example, if we end up in a high GC scenario under a certain input rate, we would block scaling to that parallelism (or a close parallelism). I feel quite strong about never blocking scaling because this is the worst kind of outcome for the user.
I'm ok with merging this feature but I would make sure it is disabled for us until we address the above concerns. Generally, I wonder whether it makes sense to go back to the drawing board for these kind of impactful features. It is good to have discussions upfront because the implementation can be a lot of work. Again, nothing wrong with this change, thank you for making it possible, but I feel like it needs additional work to deliver the full potential value to users.

Fair point @mxm , I will adjust the limits to effectively disable the blocking by default. And we can build some more robust mechanisms on top of these collected TM level metrics soon. I think @1996fanrui alreqdy started brainstorming around this

Do you have any further comments / concerns @1996fanrui @mxm ?
The thresholds have been adjusted so by default we do not ever block, and we plan to iterate and refine the behaviour based on these metrics in the upcoming improvements to make the behaviour a bit more graceful :)

Thanks @gyfora for the ping.
I don't have any comments, and I have approved.


Nutilweb reports - bugs

I tested Nutilweb with the PyNutil test dataset in September (artificial dataset generated with Python tested in live version of RodentWB - not dev). At the time I identified several bugs. I have not tested since then so am not sure if these have been fixed or not.
Reporting here for our records:

PPO reports look like they can be downloaded but are empty (no reports created).
PPP reports download correctly. There are several errors in the reports

The object_counts are "0" in all the csv reports (no counting done). This is a bug.
The pixel_counts are correct in all the reports.
The region_area values are similar to the Nutil results. But they are not exactly the same, and the difference varies considerably from region to region. I suspect this has something to do with the scaling between ilastik segmentation and atlas map. This needs investigation.
the area_fraction is calculated correctly based on the values in the reports.

Status update: Have performed PyNutil bug fixes for region_areas and object_counts: these now match the output of Nutil.

These errors have been fixed.


bump version to 0.29.2, fix test_data exclude

backport of #1315
reduce crate package from 1.7M to 500k

Looks like a new clippy lint is breaking CI

Should I fix clippy even if it's a backport?

Maybe we should bundle it together with a fix for #1307?

@RCasatta yeah, we might as well fix it even in a backport, since it's quick and easy.
@Kixunil yes, agreed, let's bundle those together.

Clippy fixed

Is the CI broken again :(

I think this is an old break -- turning off features in honggfuzz -- that we also need to backport.

Shouldn't the first commit be the last one?

I think it's fine -- both commits compile independently. There isn't really any hope for "every commit passes cargo clippy" as a rule, since clippy changes too often.

I mean a commit performing version bump usually also signifies "the crate was released in this state". So a different ordering could be confusing (yes, we also have tags which are better, but still).
Side note: I'm also kinda intrigued by the idea of adding a commit that bumps the version to the next one with the -dev suffix right after the release.

Now you mention it @Kixunil, I tend to agree. Perhaps we should have the patch from #1299, followed by the three Hongfuzz patches followed by the version bump patch? I don't think its super important bit its nice to set a good precedent since we are likely going to be backporting more often soon enough.

I'm thinking maybe we should fix #1343 ASAP and backport as well?

Perhaps so as not to put too much of a burden on @RCasatta we can do 0.29.2 with the changes in this PR then once we sort out #1343 I can do the backport and then we can release 0.29.3? (Unless of course you just love backporting so much Riccardo that you want to do it all :)

commits reordered, used @tcharding's clippy fixed
Ci all green

There are two approvals but neither is actually for the current tip of this branch.
@sanket1729 @tcharding can you re-ack?

Thanks @RCasatta!


upload to datamart button should verify dependent variable is of type quantity

otherwise it doesn;t work, so we may as well alert user

499857d648835309481565f24deee10e79646dde


Fix for segfault with void* parameter with LLVM >= 3.9

This PR is for bug reporting. chimera segfaults with void * parameter.
If the parameter type is changed to something else (e.g., void or int), the error goes away.

Interesting, it seems the error doesn't occur with LLVM 3.6. I tested with LLVM 5.0 + GCC 7.3.0.

Investigating further, I found that chimera + LLVM 3.6 prints warning for this case as:
Warning: Skipped function '<function_name> because the parameter at index 0 has an incomplete type 'void *'.

while other LLVM (> 4.0) versions just segfault.

Does this mean that it would be impossible to generate bindings to a function that takes a void * argument or returns void *?

It was skipped anyway even without this change so I keep the behavior as it was, but I'm not sure if that's the correct behavior. If we don't skip the case, the binding is generated anyway, and the void * type is binded as Python Capsule type in pybind11 (let me double check Boost.Python). I don't know how to use Capsule type, but it seems that's the correct conversion according to this doc. That being said, we shouldn't skip void * types.
By the way, this check seems to be used only for parameter types because I could still generate this void return function.

Alright, I changed the logic, and pybind works fine with void pointer (see this).

So is the current status that pybinddoes work, but boost.python does not work, or that both work now?

void parameter: both work
void pointer parameter: only pybind11 works


Add Gruvbox-N theme

This theme is inspired by https://github.com/morhetz/gruvbox and it kind of look like this:

could you fix the tests please and add your theme into the themes.json file?

done! 🚀


PowerToys PortableApp Variant

Description of the new feature / enhancement
PowerToys is one and only best productivity suite for Windows. I can be much more useful for productive and power users if there is its PortableVariant. The Best one PortableApp Suite is PortableApps.com Platform.
Scenario when this would be used?
It contains much awaited and productive tools which are needed for portable productivity as well.
Supporting information
No response

/dup #598


Improve the javascript webpages

A general issue, to gather together issues that relate to the javascript in the output webpages.
Changes that improve either usability and performance are to be included.

Issue #57 is a sub-issue of this.

#68 Improves the load time by compressing the JSON files.


hashsum: use file_stem() instead of file_name()

This program matches the binary name to determine which algorithm to use. On Windows, file_name() was matching against a string with .exe, causing binaries like sha256sum.exe to not properly detect the algorithm.
By using file_stem(), we exclude the .exe from matching, achieving similar and correct behavior on Windows.

Thanks for your PR :)

i was wondering if we could not add a test for this?
https://github.com/uutils/coreutils/blob/main/tests/by-util/test_hashsum.rs

@sylvestre how would you write a test for this? I tried to add one to test_hashsum.rs, though the test framework seems to use coreutils.exe and not <util>.exe.


Cannot create node bug

https://forum.casbin.com/admin/node/new
The tab select box shows nothing, even the tab table has data. Without selecting a tab, the node cannot be created.
See:

@Kininaru


SSPR for on-premises users

Can you please advise whether SSPR for on-premises users is fully supported in Azure Government? The above documentation would indicate so, but despite my and Microsoft Support's best efforts we have not yet been able to get it working.

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

ID: 4d495f3d-a30d-0e44-a0de-da201e95861c
Version Independent ID: fa8f545e-e154-16ee-c9ef-0e46ad1b9627
Content: Azure Government Security + Identity
Content Source: articles/azure-government/documentation-government-services-securityandidentity.md
Service: azure-government
GitHub Login: @gsacavdm
Microsoft Alias: gsacavdm

@dpravo , Thanks for the comment. Your feedback has been assigned to the content owner for further review.

Update: SSPR is working, the correct SSPR URL for the Azure Government is https://passwordreset.activedirectory.windowsazure.us/

@femsulu , can you assign this to @bernie-msft ?
I'll update the doc to indicate he's the owner.

@dpravo , SSPR for on-premises users should be working. If my memory serves me correctly, I believe I tested this a few months ago. Have you opened a case for the issue?


Roadmap 1.0.0

[ ] Remove Precss (use PostCSS plugins instead)
[ ] Update to React-Router 4
[ ] Update components generators
[ ] Add route generators
[ ] Add components
[ ] Preloader
[ ] Sound
[ ] YoutubeCustomPlayer
[ ] Rotate
[ ] Sharing (Twitter / Facebook)
[ ] Add async / await - spread operator examples
[ ] Add default props values
[ ] Add PWA example (ex: Service workers, etc)
[ ] Add tests example with Enzyme and Jest
[ ] Add documentation (ex: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#updating-to-new-releases )
[ ] Add HTTPS option in development
[ ] Add storyboard ( https://github.com/kadirahq/react-storybook )
[ ] Switch ESlint to Prettier ( https://github.com/prettier/prettier )
[ ] Rename project with generic name (ex: static-web-starter-kit)

R&D

[x] Switch to Preact - https://preactjs.com/guide/switching-to-preact (nope: weird issue with refs, missing some warnings, non-compatible with some React components)
[ ] Improve animations workflow (DOM / SVG)
[ ] Build generator with starter kit templates (ex: PHP, i18n, etc)

Some thoughts:

Base responsive breakpoints handled with either SASS mixins, Flexbox, or something else (IE fallbacks)?
R&D OOCSS, BEM and SMACSS or others, or maybe begin writing our our version?
Base components and CSS (buttons, links etc.), and SASS variables (fonts and colors etc.)
Langaue toggle and i18n
R&D accessibility (WCAG etc.)
Deployment documentation and documentation Wiki in general


subsys: usb: Migrate to new logger

Move usb subsys to new logger subsystem.
Depends on #9384

Codecov Report

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

@@            Coverage Diff             @@
##           master   #10168      +/-   ##
==========================================
- Coverage   52.58%   52.57%   -0.01%
==========================================
  Files         213      212       -1
  Lines       26148    26127      -21
  Branches     5636     5634       -2
==========================================
- Hits        13749    13736      -13
+ Misses      10145    10138       -7
+ Partials     2254     2253       -1

Impacted Files
Coverage Δ

subsys/usb/os_desc.c
50% <ø> (ø)
:arrow_up:

subsys/usb/usb_descriptor.c
0% <ø> (ø)
:arrow_up:

subsys/usb/usb_device.c
0% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Updated to resolve conflicts.

address comment from @jfischer-phytec-iot  please


Cannot import the package in Anki after running Ankdown with method A

I follow the method A to create a package.
An error occurs when importing the package with the Anki import tool:

Selected file was not in UTF-8 format. Please see the importing section of the manual.

The directory specified after -r has only one file which is a copy-paste of the cards example from README.
Tried out on Anki 2.1.11-1 and Anki 2.1.13 (dev).
Is ankdown supposed to produce files in UTF-8 format? When I run file -i package I can see charset=binary, so the output I get from ankdown isn't UTF-8.

it isn't meant to be text; it's supposed to be a .apkg file. Anki should be able to load it if you select "Packaged anki deck / collection" at the import selection screen.

This should be more clear in the README; thanks for reporting it.

It works thanks!
Yes adding that the package must have extension .apkg would have spared my embarrassment here. New to Anki.


Add State Previous DAX Code Does Not Work

The DAX code for the Add State Previous example is not working. Based on the DAX docs LOOKUPVALUE expects a scalar value for the search_value parameter. search_value can not refer to any column in the current table.

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

ID: 71c046b7-9bc7-2b63-9401-72af0e1a577e
Version Independent ID: d9d85ca9-74ba-63bd-0edf-8f95754d4991
Content: Add a time-in-state measure to a PowerBI report - Azure DevOps
Content Source: docs/report/powerbi/create-timeinstate-report.md
Product: devops
Technology: devops-analytics
GitHub Login: @thomps23
Microsoft Alias: kaelli

I'm working on finding an alternative formula, but I am by no means a DAX expert. If I find something I can make a pull request.

@rernst-IQ -- thank you for your feedback and researches.
@thomps23 -- please look into this issue 5983.


Rewrite / Update Documentation

This could either be via a seperate repository using GitHub Pages, or simply rework the wiki on this repo.
Personally, I am currently leaning towards the wiki on this repo.

Once FetchBot's typegen is done we can use JSDoc tooling to generate docs. Then the Wiki could just be used for specific/example guides


Convert String tests to table-driven style

Convert each subtest of the following tests to table-driven style:

TestString_IsEqual
TestString_IsEqualFold
TestString_InList
TestString_InListFold
TestString_Contains
TestString_ContainsFold
TestString_HasPrefix
TestString_HasSuffix
TestString_HasPrefixFold
TestString_HasSuffixFold

TestNumber_IsEqual/basic can be used as a reference for table-driven style.
For subtests that do only a few checks (e.g. TestNumber_IsEqual/invalid argument has only two checks), instead of table we can use the same approach as in TestNumber_IsInt/invalid argument, where we create a fresh number for each check.
Related issues: #309, #324

@gavv
Hi, I can work on this.
Btw for TestString_IsEqual (and other tests), should we separate the test for IsEqual and IsNotEqual?
From:
func TestString_IsEqual(t *testing.T) {
	reporter := newMockReporter(t)

	value := NewString(reporter, "foo")

	assert.Equal(t, "foo", value.Raw())

	value.IsEqual("foo")
	value.chain.assertNotFailed(t)
	value.chain.clearFailed()

	value.IsEqual("FOO")
	value.chain.assertFailed(t)
	value.chain.clearFailed()

	value.NotEqual("FOO")
	value.chain.assertNotFailed(t)
	value.chain.clearFailed()

	value.NotEqual("foo")
	value.chain.assertFailed(t)
	value.chain.clearFailed()
}

To (something like):
func TestString_IsEqual(t *testing.T) {

}

func TestString_IsNotEqual(t *testing.T) {

}

https://github.com/gavv/httpexpect/blob/master/string_test.go#L215
Wdyt?

Thanks!
I recently refactored all tests to cover IxXxx and NotXxx in the same test, because the set of checks is very similar.
It works especially well with table driven approach, take a look for Number tests.

@gavv
Ok, btw what does the term canonization means here? And why it is separated from basic?
I found a bit of clue here:

Why:
in basic, some checks should fail, and some succeed
in canonization, it's ok to include only successful checks
in invalid argument, all checks should fail

https://github.com/gavv/httpexpect/issues/309#issuecomment-1446827043
But still have no answer

See description of this issue
https://github.com/gavv/httpexpect/issues/288
It also has a lonk to documentation

"canonization" is a common features of many httpexpect methods
Correspondingly, each test has a subtest for this feature

@gavv
func (s *String) IsEqual(value string) *String {

Considering that the string.go methods (e.g. InList, IsEqual, etc) accept string instead of interface{}, does it mean we don't need the canonization tests for this issue? CMIIW

Oh, yes, you're right


fusionauth_application samlv2_configuration.0.callback_url is deprecated but also required

The samlv2_configuration block in the fusionauth_application resource specifies callback_url as deprecated, but also as required.
Running terraform apply with callback_url specified results in:
Warning: "samlv2_configuration.0.callback_url": [DEPRECATED] Deprecated in version 1.20

There doesn't appear to be any guidance in the docs as to what callback_url should be replaced with if it is deprecated.
Please could you provide some clarification on this?

Have this branch going https://github.com/gpsinsight/terraform-provider-fusionauth/pull/51


Update package.json with repository info

Current coverage is 100% (diff: 100%)

Merging #10 into master will not change coverage

@@           master   #10   diff @@
===================================
  Files           1     1
  Lines          48    48
  Methods         0     0
  Messages        0     0
  Branches        6     6
===================================
  Hits           48    48
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 7ccab6c...fdcda78


Laravel 8

Please add support for the new Laravel 8 :)

Hi @jetski423 thanks for the reminder. I will add the support for Laravel 8 as soon as possible.
Cheers

The new release is available now. Please check it out and have a good day. :)


FancyZones editor doesn't allow me to select number 1 or 2 for new designs

Microsoft PowerToys version
0.64.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
FancyZones Editor
Steps to reproduce
I just reinstall windows on my laptop and then install Powrtoys. I got a Powertoys backup copy (the new feature) and copied it in my recently windows installed laptop. When I tried to create a new design of FancyZones I couldnt assigned it the numer 1 (as seen in the screenshot), it directly jumps to number 3.

✔ Expected Behavior
Select number 1 or 2 for nuew FancyZones configuration.
❌ Actual Behavior
Jump directly to number 3 even though I have no other design
Other Software
No response

I have the same issue after trying to Restore my settings on a fresh install.
In my case it's because the Backup, at least in my case, created a copy of the hotkeys settings for FancyZones but did not create a copy for the layout. Only settings.json, layout-templates.json, and layout-hotkeys.json got backed up. The custom-layouts.json file did not, so I lost the settings.
Returning to your issue, if you go to %localappdata%\Microsoft\PowerToys\FancyZones and remove the layout-hotkeys.json file, it will allow you to use all 0-9 numbers again. At least that's why happened in my case.
I also had an issue with PowerToys Run crashing when attempting to access its settings. Deleting the .json config file in \PowerToys\PowerToys Run also fixed that.
Seems like that Backup/Restore function has some bugs for now.

Thanks! This work for me too.

is this issue still relevant in v0.74.1? /needinfo


Accessibility props not passed through

Many approaches to creating an accessible carousel require making the dots accessible and clickable. This is messier than it needs to be currently, because the <Dots> component does not accept/pass-through accessibility props, so doing so requires adding an extra wrapping <View>.
I've opened a PR to fix this issue - https://github.com/yasaricli/react-native-dots-pagination/pull/21.

Thanks @meatnordrink , Teşekkürler :)


Issue importing proplot

I have received the following error when trying to import proplot. I have tried switching to prior versions of the "packaging" module (with no luck) since it seems to have an issue with that in cartopy when proplot is imported.  Is this a proplot issue, cartopy issue, or some other issue? Any advice on how to fix it?
proplot version is 0.9.7
cartopy version is 0.22.0
packing versions 21.3 up to 24.0 have been tested
matplotlib version 3.4.3
python version is 3.9
In [1]: import proplot
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[1], line 1
----> 1 import proplot

File ~/anaconda3/envs/cf3/lib/python3.9/site-packages/proplot/__init__.py:38
     36     from .colors import *  # noqa: F401 F403
     37 with _benchmark('ticker'):
---> 38     from .ticker import *  # noqa: F401 F403
     39 with _benchmark('scale'):
     40     from .scale import *  # noqa: F401 F403

File ~/anaconda3/envs/cf3/lib/python3.9/site-packages/proplot/ticker.py:18
     16 try:
     17     import cartopy.crs as ccrs
---> 18     from cartopy.mpl.ticker import (
     19         _PlateCarreeFormatter, LatitudeFormatter, LongitudeFormatter
     20     )
     21 except ModuleNotFoundError:
     22     ccrs = None

File ~/anaconda3/envs/cf3/lib/python3.9/site-packages/cartopy/mpl/ticker.py:13
     10 import numpy as np
     12 import cartopy.crs as ccrs
---> 13 from cartopy.mpl.geoaxes import GeoAxes
     16 class _PlateCarreeFormatter(Formatter):
     17     """
     18     Base class for formatting ticks on geographical axes using a
     19     rectangular projection (e.g. Plate Carree, Mercator).
     20
     21     """

File ~/anaconda3/envs/cf3/lib/python3.9/site-packages/cartopy/mpl/geoaxes.py:43
     41 import cartopy.mpl.contour
     42 import cartopy.mpl.feature_artist as feature_artist
---> 43 import cartopy.mpl.geocollection
     44 import cartopy.mpl.patch as cpatch
     45 from cartopy.mpl.slippy_image_artist import SlippyImageArtist

File ~/anaconda3/envs/cf3/lib/python3.9/site-packages/cartopy/mpl/geocollection.py:13
      9 import numpy.ma as ma
     10 import packaging
---> 13 _MPL_VERSION = packaging.version.parse(mpl.__version__)
     16 def _split_wrapped_mesh_data(C, mask):
     17     """
     18     Helper function for splitting GeoQuadMesh array values between the
     19     pcolormesh and pcolor objects when wrapping.  Apply a mask to the grid
     20     cells that should not be plotted with each method.
     21
     22     """

AttributeError: module 'packaging' has no attribute 'version'

Have you tried downgrading cartopy? The error seems to be in this library

@julian-belina I ended up following the direction of https://github.com/proplot-dev/proplot/pull/450 which identifies this issue. @riley-brady mentions there he got a similar version error when importing proplot. Seems like it's all tied to incompatibility with newer matplotlib versions? I guess I am still not sure how this all ties back to the cartopy error above, but I am no developer by any means. I installed that commit and it seems that it downgraded my matplotlib to 3.5.3 and my proplot to 0.9.5, and things at least appear to be working for now...hopefully a full resolution is found for future versions.

A solution is being worked on https://github.com/proplot-dev/proplot/pull/459

Fixed with https://github.com/proplot-dev/proplot/pull/459#issuecomment-2291293343

Please see https://github.com/proplot-dev/proplot/pull/459! Until this gets merged in and released as an official version, you can install proplot via the following command to have compatibility with modern python versions and modern versions of matplotlib, cartopy, etc.
pip install git+https://github.com/proplot-dev/proplot.git@refs/pull/459/head


Tests are not executed properly

When executing mix test I am getting the following errors.
 Quantum.ExecutionBroadcasterTest: failure on setup_all callback, all tests have been invalidated
     ** (EXIT from #PID<0.422.0>) exited in: ExUnit.CaptureLog.remove_capture(#PID<0.490.0>)
         ** (EXIT) {:error, :module_not_found}

Quantum.ExecutorTest: failure on setup_all callback, all tests have been invalidated
     ** (EXIT from #PID<0.3948.0>) exited in: ExUnit.CaptureLog.remove_capture(#PID<0.3949.0>)
         ** (EXIT) {:error, :module_not_found}

The same errors appear in all latest coveralls pipelines. Notice that all remaining tests in the modules with issues are never executed and the tests appear as successful
The culprits are the following tests.  There seems to be an elixir issue about it: https://github.com/elixir-lang/elixir/issues/8507

This seems to be introduced by #462.
Test output after the addition of logger metadata:

Test output on the previous PR (#459):


PersistentCollections cannot be copied between databases

Setup: document with references

fetch document from db1
persist document in db2
remove document from db1

references in document are not persist in db2

Please see https://github.com/doctrine/mongodb-odm/pull/606#issuecomment-164594075


Remove unnecessary jdt.ls config

jdt.ls project lead here. I noticed the jdt.ls config referenced missing bundles or unsupported configuration, so I just removed them.

Thanks! I ran this locally and autocompletion still looks great, so, merging this!

While I've got you here, though, I was wondering, what would you recommend as the bare minimum way to set up a "project" that jdt.ls would be happy with, to clear the warning above? In Riju's environment, you only ever have one source file, but I assume Riju needs to automatically create a file in the directory to configure a "project" as well?

@raxod502 if you enabled jbang here it would generate the project info for you - just saying :)

@raxod502 you need the source directory and the jdt.ls workspace (-data) to be different, the workspace shouldn't be nested under the sources, and vice-versa, and send a triggerFile parameter
So, if your source lives in $PWD, basically start the server with -data=/someting/different/jdt/specific.
then add :

rootUri: file://$PWD
triggerFiles:

file://$PWD/Main.java

Thank you! I changed the data directory in https://github.com/raxod502/riju/commit/efaaf73012eafdcce4b6a22dde5113c3ecf1a26d and it appears to be working great (at least locally)!


Unexpected outlined Text Field

Hello !
I'm trying to get the outlined text field working the way it's presented in material.io:

But all I get is this:

Steps to reproduce:
Created the project with create-react-app
Run:
npm install
npm install @material/react-text-field
Change the script to what's in the README:
"scripts": {
    "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules ./src/App.scss -o ./src",
    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules --watch ./src/App.scss ./src/App.css",
    "start-js": "react-scripts start",
    "start": "npm-run-all -p watch-css start-js",
    "build-js": "react-scripts build",
    "build": "npm-run-all build-css build-js",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject"
  },

Run npm install -D node-sass-chokidar npm-run-all
Change App.scss to:
@import "@material/react-floating-label/index";
@import "@material/react-line-ripple/index";
@import "@material/react-notched-outline/index";
@import "@material/react-text-field/index";

App.js:
import React, { Component } from 'react';
import TextField, {HelperText, Input} from '@material/react-text-field';
import './App.css';

class App extends Component {
  render() {
    return (
      <div className="App">
        <TextField outline label='Label'>
          <Input/>
        </TextField>
      </div>
    );
  }
}

export default App;

And finally npm start
Maybe I'm missing something in my code ?

This is embarrassing, I was missing the d in outlined :man_facepalming:
Everything works now, keep up the awesome work !


feat(Analysis/Convex/Topology): closure of interior and interior of closure for a convex set

For a convex set s with non-empty interior, closure (interior s) = closure s and interior (closure s) = interior s.

bors r+


fix(docs): fix typo in $translateChangeSuccess

fix typo in event name in EN FR RU UK docs

if incorrectly copied the code did not work

Thanks, landed as 89e2569


Release tags and changelog

Can you please add release tags to your repository whenever a version is published? This should be done in seconds:
$ git tag -a `v.0.0.1` -m "Short summary."
$ git push origin master --tags

Further, it would be very helpful if you could maintain a changelog. This can be done either with a seperate file such as CHANGELOG.md or with the GitHub release notes feature.

Sure. Will do moving forward.


Handle errors during type conversions

In many places throughout the code we have to type cast to and from cgo types.
Currently (ex.), we're not handling errors during those conversions and will likely lead to panics during edge cases.

Hi @ImVexed if you need help with this one, I can try my hands on this.

That'd be appreciated @goku321 I'm tied up until next weekend but should be able to review any pull request related to this in the meantime.

Great @ImVexed ! I'll start getting familiar with the code.

@goku321 Any progress on this?

Hi @ImVexed I moved to a different city few days back  and just getting settled here so couldn't make progress on this. If it's okay, I can work on it this coming weekend. Thanks for your patience.

@goku321 Absolutely! No worries. Was mainly just a reminder in case it fell off your radar and others were interested in picking it up.

Hi @ImVexed I have made a couple of changes and would like to get your inputs just to know if I'm heading in the right direction or not. Here's the link to the commit

That code won't work the way you're thinking. JSValueMake* functions all return JSValueRef if I remember correctly. But more than that there's no need for us to ascertain their type.
I'm more concerned with places like https://github.com/ImVexed/muon/blob/master/muon.go#L215 and https://github.com/ImVexed/muon/blob/master/muon.go#L327 where we are blindly casting objects which will likely end in runtime panics given edge cases.


tests for PR #261

I swear this test suite has a mind of its own.
.. or maybe I'm just a moron. hang on here.


Goal?

Hey!
Is the idea here to use CLIP embeds through a transformer similar to alstroemeria's CLIP Decision Transformer?

Hey! I wasn't aware of this repo at all will have look.
Yes, I think it fits your description, basically input = clip embedding of text, output = vqgan's latent space, I am using an MLP mixer but it could also be a transformer. The loss function is minimizing the distance between the generated image CLIP embedding and the text CLIP embedding. No images are used at all, only captions. I started to get it working, by the way I am using your blog captions dataset for testing :D it's very helpful. Additionally, the input also contains noise input (generated from random normal) to have diversity on the images, for that to work I use a loss for diversity, otherwise for the same input text embedding I get the same image.

For the goal in general: to avoid optimizing the latent space for every single caption, similar to what has been done in the style transfer literature e.g. https://arxiv.org/pdf/1703.01664.pdf

Here is asltroemeria's ideas. She tends to work on colab notebooks and doesn't have a repository. I cleaned things up a little and renamed it to CLIP-E; which seemed fitting.
https://gist.github.com/afiaka87/ebdb95635f837a35acb1f11a1d7b28d7

Thanks!

I think your description is definitely subtly different. Her goal was to get good positional encodings for the already released CLIP weights from Open AI. Nevertheless - it definitely has code in there for getting CLIP embeddings into the appropriate format (digits) for a transformer or an mlp-mixer type of architecture.

@mehdidc It appears alstroemeria has a proper github repository now.
https://github.com/crowsonkb/cond_transformer_2

I saw this due to my repo being mentioned... If you're trying to output directly to the VQGAN latent space in one step (instead of autoregressive like my transformer model), then I've tried similar things before and can offer some advice. I made a StyleGAN-like generator (output was RGB) conditioned on CLIP embeddings, and tried to train it with a spherical distance loss, and it just learned to generate a "mean" image that varied slightly for each prompt, with almost no diversity. What worked better was a contrastive loss between an ordinary-sized batch of images and a large (10-20k) batch of text prompts, basically I modified the CLIP training loss into InfoNCE loss so I could use unequal batch sizes. This actually started to produce outputs that looked very different for different prompts. But the results were still blurry, so I added a discriminator to make the outputs look more like some set of reals. Here are some CLIP prompt interpolation videos from it: https://twitter.com/RiversHaveWings/status/1401653716495704068 https://twitter.com/RiversHaveWings/status/1416008149731971073. The results were never super good so I moved on to other stuff but you might have more luck. Hope this helps! :)

@afiaka87  Cool, I would be curious to see how it works on unseen words?

@crowsonkb " If you're trying to output directly to the VQGAN latent space in one step (instead of autoregressive like my transformer model)"
Yes, that is exactly what I am experimenting with currently.
Thanks a lot for the tips, contrastive loss + discriminator would be nice to try, I am looking for solutions to the diversity problem.
For now I am maximizing the distance between the VGG16 feature space of the generated images like in https://arxiv.org/pdf/1703.01664.pdf, but I am not fully satisfied.
Interpolations are actually a really nice application of this kind of model indeed.
Another thing I would be interested to look at is zero-shot generalization, as @afiaka87  mentioned, to see
if the model can generalize out of the training prompt distribution.
Here is a snapshot of the current state in my case: https://imgur.com/a/jHvzn9K
from left to right:
a female mannequin dressed in a brown pullover sweater and white wrap skirt
a photo of the national animal of guatemala
a chalk drawing of a turtle sitting in a forest at night
a charcoal drawing of a cougar sitting on a mountain during winter
a female mannequin dressed in an olive turtleneck sweater and orange pleated skirt
a photo of buena vista , san francisco , from a street in the morning
a photo of san francisco 's castro theatre
a professional high quality emoji of a chicken cat chimera . a chicken imitating a cat . a chicken made of cat . a professional emoji .

@mehdidc
In response to "words it hasnt seen"; it was my hope that training on the many "not-english words" (e.g. radiohead) artist names/album names as a caption and using their respective album covers as the image would help get the dalle to learn to re-represent text in the image if it thinks it's a "unique enough" word. Unfortunately; the dataset isn't as clean as I had thought; so there are a lot of pictures for a "not found" image (a 90's-looking vector graphic of a CD-ROM) - which has definitely confused the DALLE a lot.
At any rate; I just found a bug in my crop/overlay-text logic which I fixed and it's already starting to learn words which are common.

But yeah I don't think it's going to learn it in the general case anytime soon.