AttributeError: module 'gym.wrappers' has no attribute 'Monitor'

Got this error after installing MARLLib on a fresh conda environment 😥
The script I ran is the first example in README.md. I have also ran marllib/patch/add_patch.py before.
PS: It can be fixed by manually downgrading gym to <=0.21.0, but I'm not sure it doesn't break something else

Relevant info : I installed marllib by cloning the repository and running pip install -r requirements

Require gym==0.21.0. The version info was deleted from requirements in commit 1366988 as gym version introduced some error while building the docs.
Sorry for the inconvenience.

fixed here.


ClientModel: Rework PipelineProcessor

Address quality concerns expressed regarding https://github.com/Azure/azure-sdk-for-net/issues/40569 and other APIView comments.

API change check
API changes are not detected in this pull request.

Closing in favor of https://github.com/Azure/azure-sdk-for-net/pull/40691


Local cache file permission issue

Due to caller privilege change, previously cached file cannot be accessed from subsequent calls. Specifically, local_cache_add() call from sgx_ql_get_quote_config() in dcap_provider.cpp throws exception because file access permission denied. This causes sgx_ql_get_quote_config() to return error.
Issues:

Local cache can be shared by all users. It should be in a folder/file that's accessible to all.
Caching failure should not be a fatal operation. After all, the mission of sgx_ql_get_quote_config() is to retrieve certificate.

@yentsanglee agreed, I have suggest /var/cache for this before (#66). If the cache is created with broad permissions, it should work for all users (synchronisation must be implemented, but that's also true for a per-user cache anyway).
The code and the cache is untrusted, so from a security perspective, this should be fine too.

Thanks! I'm working on #2 - lack of caching should not be a fatal error
In terms of having some other folder to put collateral do you have other suggestion?
/var/cache is not accessible to the user on our ACC VM:
derek@accTestVMUbuntu18:/$ mkdir /var/cache/.az_dcap_client
mkdir: cannot create directory ‘/var/cache/.az_dcap_client’: Permission denied
I've tried hunting for other locations but the users' home directory seems generally like the right place - For other scenarios what do we think about depending on the users or whoever is delivering Azure DCAP Client to setup the environment variable correctly?

@deschuma I've answer in #66, sorry, in short I would suggest $TMPDIR, or if that's also missing /tmp. I do agree that .cache/az_dcap_client or .az_dcap_client under $HOME is a reasonable first choice.

This is addressed here: https://github.com/microsoft/Azure-DCAP-Client/pull/97

@deschuma thank you!

@yentsanglee Do you have a way to confirm this is fixed and close?

Confirmed. Thanks for the fix in v1.4.


Zend DB SQLSRV: Prepared params not working

Hello, Zend Select with SQLSRV is only working with this method:
$this->tableGateway->select(array("Personalnummer = $personalnumber"));
With the other method
$this->tableGateway->select(array("Personalnummer" => $personalnumber));
is it not working.
Please add the second method to the code like its written in the Tutorial:
https://framework.zend.com/manual/2.4/en/user-guide/skeleton-application.html

@ezimuel or @alextech
Can you confirm this problem?

Other users confirmed it too:
http://stackoverflow.com/questions/42859322/zend-2-sqlsrv-prepareparams-is-not-being-set

@minimaex what is your connection driver? PHP supports parameterized queries only through PDO. Therefore, to get array("Personalnummer" => $personalnumber) to work, you need to have configuration driver key be pdo_sqlsrv. Sounds like you have 'driver' => 'Sqlsrv'

It was Sqlsrv, thank you its working now! :)


blob container

cant seem to create a blob container

@yanniekhoo can you please give us more details about your issue? Specifically:

the information from the issue template (Storage Explorer version, OS, etc.)
how you are connecting to your resources
any error messages you are seeing

Hello, I cant seem to create blob container
<EMAIL_ADDRESS>From: Matthew Rayermann<EMAIL_ADDRESS>Sent: Tuesday, August 18, 2020 1:38 AM
To: microsoft/AzureStorageExplorer<EMAIL_ADDRESS>Cc: Khoo, Yannie<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/AzureStorageExplorer] blob container (#3398)
@yanniekhoohttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyanniekhoo&data=02|01|yannie.khoo%40bp.com|c7881a5bd8d64a69910108d842d44fe9|ea80952ea47642d4aaf45457852b0f7e|0|0|637332826925843571&sdata=5nh4ido71ntw1C1Tt4jkogJUB%2FISMWOgtw0s9ZqJMRM%3D&reserved=0 can you please give us more details about your issue? Specifically:

the information from the issue template (Storage Explorer version, OS, etc.)
how you are connecting to your resources
any error messages you are seeing

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FAzureStorageExplorer%2Fissues%2F3398%23issuecomment-675016324&data=02|01|yannie.khoo%40bp.com|c7881a5bd8d64a69910108d842d44fe9|ea80952ea47642d4aaf45457852b0f7e|0|0|637332826925853562&sdata=rAua7MOKqm5EETTggbpOP6serdLW593TGZkmKVOM8mI%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQUM4FCEXLZITV2YKWHTQ3LSBFTIDANCNFSM4QBIGYPA&data=02|01|yannie.khoo%40bp.com|c7881a5bd8d64a69910108d842d44fe9|ea80952ea47642d4aaf45457852b0f7e|0|0|637332826925853562&sdata=TGKnAo3Lh9Ybljf7R9CGJZDOQlmYdE9NjxmRsqbaV0s%3D&reserved=0.

@yanniekhoo if you're trying to upload an image you can only do that from the github website. You cannot do it via email.

Closing due to lack of response. If you are still having issues please open a new issue.


pretty nasty layout issue

I tried to get a hierarchy out of the debug navigator but it simply didn't work in swiftui.
In fact, I have no idea how to get a repro into your hands.
Sorry about the paucity of this bug report.  Maybe it's my fault, I couldn't tell you.
thanks?

@osheroff hi! I think u r using transparent color for layer. U should check my recommendation (using with transparent colored views) for this.

i'm getting closer.  finding the right view to dangle this of.  I can't attach it to the outermost view due to how I'm rendering stuff.  easy to manually space it out a bit?

if I add:
            .addSwipeAction(edge: .trailing) { // <= choose here .trailing or .leading
                HStack(spacing: 0) {
                    ...
                }
                .padding(EdgeInsets(top: 0, leading: 60, bottom: 0, trailing: 0))

I get close, but you can see the swipe-buttons when the ui first loads -- they "run out of the way".  hmph.

Please read for all recommendations
You should add .frame(maxWidth: .infinity) to your Text (with I'm a note)

nope, that's not it. but it's ok, i'll maybe screw around with it until i find something; i have a weird recursive view hierarchy that must be confusing the library somehow.. or padding somewhere, or something.

@osheroff  plz attach ur code) it's very difficult to suggest a solution without seeing the code)

@c-villain excerpting it is a bit much but I invited you to the private repo if you want to look -- the issue shows up in the SwiftUI preview of NoteIndex

sorry, on the ben/swipe branch

ok i got this sort of better my moving around where i was putting my .padding... but there's still the odd issue where I see a flash of the buttons while the view loads.  any ideas on a way around that?

had to turn off animations on a container.  just FYI.


python310Packages.miniful: init at 0.0.6, python310Packages.fst-pso: init at 1.8.1, python310Packages.simpful: init at 2.10.0

Description of changes
Dependencies to get gensim to build.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 229152 run on x86_64-linux 1

12 packages built:

python310Packages.fst-pso
python310Packages.fst-pso.dist
python310Packages.miniful
python310Packages.miniful.dist
python310Packages.simpful
python310Packages.simpful.dist
python311Packages.fst-pso
python311Packages.fst-pso.dist
python311Packages.miniful
python311Packages.miniful.dist
python311Packages.simpful
python311Packages.simpful.dist

Result of nixpkgs-review pr 229152 run on x86_64-linux 1
12 packages built:

is this review provide by https://github.com/SuperSandro2000/nixpkgs-review-checks?

is this review provide by https://github.com/SuperSandro2000/nixpkgs-review-checks?

No, nixpkgs-review


Fix typo

This change replaces "MAP@depth" with recip_rank@depth in the documentation of the method get_reciprocal_rank.

Thanks, @schmorak for your PR.


Add support for Doxygen's @bug command

Now they're displayed as a !!! danger admonition.

Before:

After:

Test failures on windows seem to be because the CI couldn't connect to julialang-s3.julialang.org to install Julia. Re-running them might help (though I don't have privs to do that).

(since the changelog is merged now I took the liberty of adding this PR to it in 0a441b4)


[* DateTimeV2] Resolving 2-digit year mentions

When faced with a 2-digit year, LUIS returns a timex with a century value of 20 if year is less than 30, 19 if the year is greater than 30, and it omits the year entirely if it's in the 30s.
input    =>  date string  => timex
12/12/29 => 12/12/29 => 2029-12-12
12/12/30 => 12/12      => XXXX-12-12
12/12/39 => 12/12      => XXXX-12-12
12/12/40 => 12/12/40 => 1940-12-12
Presumably this threshold will change over time.
We're wondering why the year is thrown out entirely (instead of returning both 1930-12-12 and 2030-12-12)

This is due to an old design decision. The goal is to allow users to specifify the thresholds if they want to override the default and to also return the alternatives. But this is currently a breaking change.
The 30s case seems to be a bug though. We'll double check.

checking this


Use id explicitly instead of auto to avoid warnings.

On Xcode 9 beta 2, a warning is raised when I built swiftXCTest-macosx-x86_64.

Drive-by CI'ing.  @gparker42 should actually review this
@swift-ci please test

Good.


VirtualBox stuck after the restart

Hi,
I created the iso using the prepare_iso.sh script and then ran
packer build \
    -var iso_url=OSX_InstallESD_10.11.6_15G31.dmg \
    -var autologin=true \
    -only virtualbox-iso \
    template.json

The box successfully started and installed OS X, but after the restart it got stuck at
hfs: created HFBT on Macintosh HD

packer then always times out waiting for the SSH connection.
Do you know what could cause this / how I can fix it to successfully build the vagrant box?

I'm having the same problems. Has it ever worked for you before? This is my first attempt at using it so I'm not sure if it's a bug or something that I'm doing wrong.

@xaocon This is also my first attempt to use it. But after a few unsuccessful attempts, I tested the same setup with the trial version of VMWare (using -only vmware-iso instead of -only virtualbox-iso) and it worked like a charm on the very first try. But to use the created VMWare Vagrant box you also need the VMWare vagrant driver, which you have to buy additionally to VMWare... And I don't need VMWare for my use case. Virtualbox would do just fine...

@ffittschen @xaocon Have you checked the caveats for VirtualBox support? https://github.com/timsutton/osx-vm-templates#virtualbox-support
I haven't built a new box in some time, but I was able to successfully do it on 10.11.4.

@zigg Yes, I added the -D DISABLE_REMOTE_MANAGEMENT flag during iso preparation and I installed the VirtualBoy Extension Pack

If you're thinking about buying VMware Fusion  compare it to Parallels
Desktop for Mac. The Vagrant provider for PD is free.
On Thu, Aug 25, 2016, 19:21 Florian Fittschen<EMAIL_ADDRESS>wrote:

@zigg https://github.com/zigg Yes, I added the -D
DISABLE_REMOTE_MANAGEMENT flag during iso preparation and I installed the
VirtualBoy Extension Pack
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/timsutton/osx-vm-templates/issues/72#issuecomment-242470969,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAiCg4RO5DN0HQJHxxgwWd-jTp5K1Dy5ks5qjc8fgaJpZM4JrDgK
.

Is this using VirtualBox 5.1.x? I can say that I haven't tested any of the vbox support on that version, only 5.0.x.

@timsutton Yes I tried it with VirtualBox 5.1.4

I don't see myself having time to troubleshoot this one in the near future, so I would encourage whoever is interested in seeing it work in VirtualBox to try building out a DMG and seeing if a manual installation works (see https://gist.github.com/zigg/d6e0aa895b30106967f0 https://gist.github.com/zigg/d6e0aa895b30106967f0 for a gist that I used to do this) and narrow down what might be failing that way.
Fair warning: it can be pretty time-consuming, and OS X fixes do not seem to be a high priority for VirtualBox (cf. https://www.virtualbox.org/ticket/14844 https://www.virtualbox.org/ticket/14844).

Confirmed that mine works once downgraded to VirtualBox 5.0.26.

Have a confirmation from someone running a Sierra guest with VBox 5.1.2, using these additional commands:
VBoxManage modifyvm "macOS Sierra" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
VBoxManage setextradata "macOS Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
VBoxManage setextradata "macOS Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macOS Sierra" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "macOS Sierra" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macOS Sierra" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage setextradata "macOS Sierra" VBoxInternal2/EfiGopMode 4```

Perhaps someone interested would like to test these out!

I'm hoping that entire configuration is not required.

Me too. Just thought there may be something specific in terms of CPU
instructions like what we saw before.
On Wed, Sep 28, 2016 at 12:45 PM, Matt Behrens<EMAIL_ADDRESS>wrote:

I'm hoping that entire configuration is not required.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timsutton/osx-vm-templates/issues/72#issuecomment-250225368,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHSPpwm4lThEaK2rgj7_yUkW_Le8YYyks5qupmYgaJpZM4JrDgK
.

I'm trying a few build variations in the background this afternoon.

Neither the complete set of tweaks above nor a few variations work. I'm staring at a box stuck after reboot in exactly the same place right now.
On top of that, on occasion the box didn't even reboot into its first post-install boot. 😞

Looks like there's another project claiming to have a Mac guest working with 5.1.x: https://github.com/geerlingguy/macos-virtualbox-vm, which on first glance looks to be just setting cpuidset. Not using Packer though, perhaps there's some other difference I'm not seeing there.

I (or someone else) probably needs to spend a little time with a basic DMG install and see if anything we're doing is tripping a VirtualBox bug, like Remote Management has in the past.

I can confirm downgrading to 5.0.26 make the problem disappear (mine was stopping a little earlier than the screenshot, in the line "VM Swap Subsystem is ON”.
@zigg with the “manual installation” you mean creating the DMG with the gist you provided above and click through the graphical installation. I might be able to try that later (I want to try if the working box works when I upgrade VirtualBox after the creation, or I need to keep the version frozen).

f933ff55c37063a8685dc10350a995bee2b5ec7e - Fixes this issue.

I also see someone else has implemented the same thing here: https://github.com/the-mx-group/osx-vm-templates/commit/e59a77f5b96309dcd170fccab658e5426fc55202

That's fine with me if people would like to go that way. It will mean VirtualBox VMs won't be able to support USB 2.0 devices, but that's probably not a particularly common use case.
Unfortunately, I don't have time to make that PR, so I'd encourage someone on this issue who has a good solution in hand to make that PR. Don't forget to update the documentation to note that we no longer need to install the extension pack.

Reopening as a reminder to myself to update the Vbox docs for this.


numberParser issue with parsing numbers

Hi, I'm trying to parse numbers in Swedish locale and got unexpected results:
var globalize = Globalize("se-SE");
var numberParser = globalize.numberParser({ minimumFractionDigits: 2 });
var numberFormatter = globalize.numberFormatter({ minimumFractionDigits: 2 });

console.log(numberFormatter(395839.580)); // outputs 395 839,58
console.log(numberParser("395839,580")); // outputs 395839.58
console.log(numberParser("395 839,58")); // expected 395839.58, but outputs NaN

Why formatting the number working well but parsing that number returns NaN?

Please, can you try the below and let me know your output?
numberParser(numberFormatter(395839.580))

If the above works, check if the blank space (used by the grouping separator) is the same for both your sample code and what you get when formatting.

Hi,
console.log(numberParser(numberFormatter(395839.580))); //outputs 395839.58

blank space (grouping separator) looks the same, I've copied output from
console.log(numberFormatter(395839.580));

into
console.log(numberParser("395 839,58"));

and the output is NaN. What I'm trying to reach is bind formatted numbers to inputs and allow user to edit it, but if user edit it with blank space I can't get parsed value.

Given the inverse operation works, it's working as expected. If you still have any question try checking the character codes of your sample and just let me know.
Having said that, normalizing no-break space to space when parsing is part of what's called Loose matching. It's described at #292 as a new feature to be implemented. We're looking for contributors interested in implementing it. Help appreciated.
https://github.com/jquery/globalize/issues/292
This is what you


Add work towards extra M. tb variant analysis workflows - WIP

This PR contains two new workflows for testing the last parts of the M. tuberculosis variant analysis tutorial. Neither of them work right now, but I'm starting a PR to bookmark this work and in case others want to take a look.
The workflow that uses kraken2 currently only works against usegalaxy.eu because the "Standard" databases get their date of production embedded in the name.

@pvanheus going through old PRs, what should we do with this one? is it still relevant? close or keep open?


Question: How to get the bitstream file of LFE5U-25F instead of LFE5U-12F based on r1.4.0 version?

Hello,
I have changed the device "LFE5U-12F" to "LFE5U-25F" in cynthion_r1_4.py,  set the system variable LUNA_PLATFORM ="cynthion.gateware.platform:CynthionPlatformRev1D4",  and have a dry run like this "python3 -m cynthion.gateware.analyzer.top -D --output myanalyezer.bit"
After that I compared the new bitstream file with old one(without device name change), they are all same, the head of the new bit stream binary file still have this string "Part: LFE5U-12F-8CABGA256"
Also I have get some study that the 0D7 version use device 25F, so I setting the LUNA_PLATFORM to 0D7, regenerate bitstream file, it does look like ok, the binary file have the string "Part:LFE5U-25F-8CABGA256"
so, my question is that did I miss some thing  else with r1.4 or other common setting?
Thank,
Jason

Changing the device type in the platform file should change the IDCODE tag in the bitstream, and I've just tested that this works.
Had you perhaps forgotten to reinstall the cynthion python package after modifying it? If you installed with pip install . then you will need to re-run that after making changes.
You can also use pip install -e . to do an editable install which refers to the original source files, and then any changes will take effect immediately.

Hi, Martin,
Thanks for your mention,
I changed the device name in cynthion_r1_4.py , and get the command pip install -e . run at cynthion package directory, but it reports such error:
tt@ubuntu:~/.local/lib/python3.8/site-packages/cynthion$ pip install -e .
/usr/bin/pip:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/tt/.local/lib/python3.8/site-packages/cynthion
Discard this error, I get a new dry run and  the new bitstream file have the head include the "25F" character, but file size is same with "12F",
-rw-rw-r-- 1  443766 Sep 23 06:36 facedancer_1d4_12F.bit
-rw-rw-r-- 1  443766 Sep 23 07:02 facedancer_1d4_25F.bit
So,  I wonder to know,  for the two FPGA device, only the ID code is different, the program routing or setting bits is same, is this correct or not ?
Thanks.

Oh, sorry - I didn't make that clear. The pip install command needs to refer to to the directory that contains the pyproject.toml file. So if you're in the python directory it's pip install -e ., but if you're in the top level of the repository you'd need to use pip install -e cynthion/python.
The bitstreams being the same size is expected, due to a fact about these FPGAs that I guess you didn't hear yet:
The 12F and 25F parts are actually the same die. They both have all 25K LUTs. The only thing that differs between them is the IDCODE, which I'm guessing is blown in via fuses at the factory to differentiate the two products.
If you use the proprietary toolchain, it will enforce a limit of 12K LUTs when you select the 12F part. But when the chips were reverse engineered for Project Icestorm it was discovered that these two parts actually have the same resources, and take exactly the same bitstream - only the IDCODE differs.
In theory the manufacturer could be binning the parts, with those marked 12F being ones that failed tests in one half of the LUTs. But in practice nobody has ever detected any difference that I know of. So all the open source tools just treat them as equivalent parts, and generate bitstreams that are the same for both except for the IDCODE.

Hi @knowic -- let's go through your questions:

may I know the detail version about python 3 and pip3 in your working environment?

I use https://github.com/pyenv/pyenv to manage my day-to-day working environment.
Generally, at the start of any new task I'll create myself a fresh virtual environment based on Python 3.8 (this is the minimum version we support) and whichever version of pip is the latest. That said, I'll often use newer Python versions instead when testing compatibility. Cynthion has been verified to work on all versions of Python from 3.8 to 3.12.
For me, the biggest advantage of virtual environments is that you can avoid conflicting dependencies between different tasks by simply creating a dedicated environment for each.

For the FPGA firmware design， the work of Cynthion is behaviored with Amaranth HDL code and translated into verilog for sythesis, is the file vexriscv_cynthion+jtag.v in build directory is the top cell file and includes all sub-modules ?

So, the verilog in the repository is only for the RISC-V processor we use in our SoC design. Given that it is originally coded in the SpinalHDL language and we use Amaranth for all our FPGA work, we compile it down to Verilog first to make interoperability easier as Amaranth has great support for instantiating Verilog modules directly. (see for e.g. https://github.com/greatscottgadgets/luna-soc/blob/d896057e8f2ad7754bc9a1cef02af3618839d9ae/luna_soc/gateware/cpu/vexriscv.py#L112)

For the Cynthion FPGA software design, we add one more step with Amaranth-HDL coding, why not use verilog language directly ? I have study that the Amaranth haven't get all the feature of verilog implemented now.

Amaranth operates at a level of abstraction higher than Verilog which makes managing complex projects a lot easier for us.
Given that Amaranth itself compiles down to Verilog it's made projects that require integration an absolute breeze! :-)

Hi， @antoinevg
Thanks,  I am newbie with the environment and development, your information is much helpful to me, let me get some further study.


Logging feature does not work correctly sometimes on docker container.

Reproduced Environment:
Docker on macOS 10.12.06 Sierra + Docker(18.06.0-ce-mac70)
container: ubuntu:18.04
tmux version: 2.4
bash version: 3.2.0
Same problem seems happened on the TravisCI link.
tmux pipe-pane is used for the logging feature of tmux-xpanes.
During the development for version 3.1.0, I noticed, the logging feature does not work correctly sometimes.
It seems that, running multiple pipe-pane processes does not work correctly.
Here is PoC.

Creating multiple named pipes.
Split tmux panes and start the processes to wait each named pipe updated.
Run tmux pipe-pane to redirect each pane's stdout.
Notify all the named pipes.
Some results of the pipe-pane is empty. Frequently.

#!/bin/bash

# Try this script on the docker container.
# Tested on macoOS High Sierra + Ubuntu 18.04 docker container.

rm -f "$HOME"/work/*

tmux -S "$HOME"/work/sess new-session -d

printf "%s\\n" A B C D | while read -r f;do
  mkfifo "$HOME/work/$f"
  echo "start to wait: mkfifo $HOME/work/$f"
  _pane_id=$( tmux -S "$HOME"/work/sess splitw -P "grep -q 1 $HOME/work/$f"$'\n'"echo 'This is $f'" )
  echo "start logging: pipe-pane cat >> $HOME/work/$f.log"
  tmux -S "$HOME"/work/sess pipe-pane -t "$_pane_id" "cat >> $HOME/work/$f.log"
done

printf "%s\\n" A B C D | while read -r f;do
  echo "notify to $f"
  printf "%s\\n" 1 > "$HOME/work/$f" &
done

sleep 5

printf "%s\\n" "$HOME/work"/*.log | while read -r file;do
  echo "$file"
  cat "$file"
done

# $ bash fifo.sh
# start to wait: mkfifo /home/docker/work/A
# start logging: pipe-pane cat >> /home/docker/work/A.log
# start to wait: mkfifo /home/docker/work/B
# start logging: pipe-pane cat >> /home/docker/work/B.log
# start to wait: mkfifo /home/docker/work/C
# start logging: pipe-pane cat >> /home/docker/work/C.log
# start to wait: mkfifo /home/docker/work/D
# start logging: pipe-pane cat >> /home/docker/work/D.log
# notify to A
# notify to B
# notify to C
# notify to D
# /home/docker/work/A.log
# This is A
# /home/docker/work/B.log
# This is B
# /home/docker/work/C.log <<<<<<<<<<<<<<<<<<< EMPTY !!!
# /home/docker/work/D.log <<<<<<<<<<<<<<<<<<< EMPTY !!!

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865756

Same issue does not reproduced in tmux 2.7.
Therefore, it would be known bug in tmux.

This issue seems fixed in tmux 2.6 and more.
https://travis-ci.org/greymd/tmux-xpanes/builds/410575182

Let me update Known Bug page.
https://github.com/greymd/tmux-xpanes/wiki/Known-Bugs

Fixed at v3.1.0


Fix Clone for Merkle Tree Path

Description

The derive of Clone trait for Path<P> doesn't work well, because it implicitly adds a trait bound P: Copy. In most cases, when cloneing a path, user might encounter the following compile error:
the following trait bounds were not satisfied:
            `P: Clone`
            which is required by `ark_crypto_primitives::Path<P>: Clone`

This PR removes the derive and implements Clone trait manually using Derivative instead.  Also added Clone for constraint path.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (main)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Wrote unit tests
[x] Updated relevant documentation in the code
[x] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer

I used derivative instead. Does that work for the application (I assume LDT)?

I used derivative instead. Does that work for the application (I assume LDT)?

Yes it works! Wow derivative is great. I'm going to learn how to use it

Derivative indeed is no magic. Just a macro that writes the code that we manually implemented Clone with.

Derivative indeed is no magic. Just a macro that writes the code that we manually implemented Clone with.

haha quite handy. The change looks good to me. Feel free to merge


topic permalinks follow up commits

Previously, when "adjusted_terms_if_moved" was called for non stream messages, it used to return "null" for adjusted terms. This is true for some extent since the non stream messages can not be moved.
However, in case of narrow containing "with" operator, this would be buggy since there, we want the narrow terms to be adjusted according to the "with" operand to point to the current narrow, rather than returning null.
This commit updates the method to return null only if  the "raw_terms" dont contain "with" operator. Else, adjust the "raw_terms" according to the message.

commit 1: Fixes checkbox 6 of https://github.com/zulip/zulip/pull/30114#issuecomment-2226642678
commit 2: Fixes checkbox 7 of https://github.com/zulip/zulip/pull/30114#issuecomment-2226642678

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

This PR only changes handling of adjusted_terms_if_moved if raw_terms contains with operator, so as to reflect how it is handled in backend (adjust the terms to contain only dm operator).

@zulipbot add "buddy review"

@Vector73 could you review this PR too.

I have gone through the changes and it looks good to me.

@zulipbot add "mentor review"

@zulipbot remove "buddy review"

Merged, thanks @roanster007!


Token Sale Issuance Contract

contract of the token sale issuance box for the minting of the token uniquely identifying the sale.


Revert "Flatlist: Let ArrowUp/ArrowDown bubble at the top/bottom of list"

Reverts microsoft/react-native-macos#1458

Not needed


Multi-mission radioisotope thermoelectric generator knowledge

If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

...
...
...

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[x] All commits are signed off (DCO)
[x] The qna.yaml file contains at least 5 seed_examples
[x] The qna.yaml file was linted and prettified (yaml-validator can do both)
[x] An attribution.txt file in the same folder as the qna.yaml file
[x] Content does not include PII or otherwise sensitive or confidential information
[ ] Content does not include anything documented in the project's Avoid these Topics guidelines

https://github.com/instructlab/taxonomy/issues/839

Please fix the linting issue(s).

I think that I have the changes taken care of now regarding signing.

Please fix the linting issue(s).

Linting issue should be fixed now. I broke up my answers into multiple lines

And if you can squash this down to one commit please.

@instructlab-bot precheck

@instructlab generate

@instructlab-bot generate

Closing due to combined PR here:  #1142


Add lower bounds on dependencies

What's the issue?
What's the issue?
Currently, most of Coreax's dependencies don't have lower bounds specified, so aren't accurate - we clearly don't support very early versions of most of our dependencies. Add minimum versions for each, ideally as loose as possible. This can be tested with uv's --resolution lowest strategy.

Blocked by #509


Add rpc batch call for zilliqa block

https://github.com/trustwallet/blockatlas/blob/012ffb68247a9bc39a40ffaf0d235c179cb1c53a/platform/zilliqa/rpc.go#L20
https://github.com/trustwallet/blockatlas/blob/012ffb68247a9bc39a40ffaf0d235c179cb1c53a/platform/zilliqa/rpc.go#L56

did you consider re using?

https://github.com/trustwallet/blockatlas/blob/012ffb68247a9bc39a40ffaf0d235c179cb1c53a/platform/zilliqa/rpc.go#L20
https://github.com/trustwallet/blockatlas/blob/012ffb68247a9bc39a40ffaf0d235c179cb1c53a/platform/zilliqa/rpc.go#L56

did you consider re using?

the first one is a simple GetTransaction, the second one is a batch call


Add willothy/wezterm.nvim

Repo URL:
https://github.com/willothy/wezterm.nvim
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

The description is not syntactically correct. I suggest:

Functions to interact with Wezterm from within Neovim.

Long day, sorry about that haha

No problem, thanks for the PR!


Allow configuring access token with an existing secret.

When we configure new clusters we would like to be able to configure the access token with an existing secret instead of needing to hard code the token in a values file that we commit to a repository.

This issue will be fixed in the upcoming 5.3 release. The current plan is to support accessToken being either a string, to maintain backwards compatible behavior, or an object with two fields, key and name.
Users will be able to specify the existing secret via the CLI:
helm --values laceworkConfig.accessToken.existingSecret.key='my-key' \
         --values laceworkConfig.accessToken.existingSecret.name='secret-name' \
         ...

or via the values file:
laceworkConfig:
     accessToken:
         existingSecret:
             name: secret-name
             key: my-key

This resolves my issue: https://github.com/lacework/helm-charts/pull/45


chore(refactor): Create magicExports in Rollup build

This PR removes all magicExports modules from the source code and emits the files via Rollup instead. This eliminates any issues with TS or Node module resolution that will occur from copying the build output into a dist directory alongside the package source.
This will unblock https://github.com/remix-run/remix/pull/3540 which in turn will unblock the work needed to implement Changesets.

The only thing I notice on a quick diff of a dev build/ versus here is these 2 lines are missing at the top of the generated files in this branch.  We don't need use strict - but unsure if the __esModule is relevant for anything in the bundle landscape or just rollup cruft though
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });


softDelete "Cannot read property 'hasOwnProperty' of undefined"

Module version
node 7.1.0
  "dependencies": {
    "feathers": "^2.0.2",
    "feathers-hooks": "^1.6.1",
    "feathers-hooks-common": "^2.0.1",
    "feathers-rest": "^1.5.2"
  }

The code
const feathers = require('feathers');
const rest = require('feathers-rest');
const hooks = require('feathers-hooks');
const commonHooks = require('feathers-hooks-common');

const app = feathers()
  .configure(rest())
  .configure(hooks());

const data = [{
  text: 'one'
}, {
  text: 'two',
  deleted: true
}];

const messageService = app.service('/messages', {
  find(params) {
    return Promise.resolve(data);
  }
});

messageService.before({
  find: commonHooks.softDelete()
});

app.listen(3000);

The error
TypeError: Cannot read property 'hasOwnProperty' of undefined
    at /Volumes/Data/development/dev/two/node_modules/feathers-hooks-common/lib/utils.js:49:16
    at Array.reduce (native)
    at setByDot (/Volumes/Data/development/dev/two/node_modules/feathers-hooks-common/lib/utils.js:47:16)
    at Object.<anonymous> (/Volumes/Data/development/dev/two/node_modules/feathers-hooks-common/lib/new.js:31:27)
    at process._tickCallback (internal/process/next_tick.js:103:7)

softDelete rewritten with tests in v2.0.2


Presenter links

Following https://github.com/symplify/symplify/pull/3807
In this PR I'm transforming links to presenter actions.
from:
{link Foo:default}

to:
/** @var App\FooPresenter $fooPresenter */
$fooPresenter->renderDefault();

I am doing it only if class and method exists.
For transforming from Foo to App\FooPresenter I'm using nette's PresenterFactory with application mapping in config.

@TomasVotruba Please check it now if it is good enough

Ouch, all Rector task failed. Is there some fix ready?

Looks good, thank you :+1:


Updated order of columns to make it more readable for CK metrics

This is PR is to fix
https://github.com/philips-software/cerberus/issues/23

Since we paired together and worked on all the changes, these changes look good to me!


Address compiler warning/notice

One exercise has errors with the latest compiler, two have warnings.
We might want to either fix github.com/vlang Test to use the same compiler version as github.com/vlang-test-runner, or update the exercises and test runner for a more recent V compiler version.
Checking allergies exercise...
---- Testing... ----------------------------------------------------------------
temp/run_test.v:197:17: error: sorted_with_compare callback function parameter `left` with type `voidptr` should be `&Allergen`
  195 | }
  196 |
  197 | fn compare(left voidptr, right voidptr) int {
      |                 ~~~~~~~
  198 |     return int(left) - int(right)
  199 | }
temp/run_test.v:197:32: error: sorted_with_compare callback function parameter `right` with type `voidptr` should be `&Allergen`
  195 | }
  196 |
  197 | fn compare(left voidptr, right voidptr) int {
      |                                ~~~~~~~
  198 |     return int(left) - int(right)
  199 | }
checker summary: 2 V errors, 0 V warnings, 0 V notices

Checking custom_set exercise...
---- Testing... ----------------------------------------------------------------
OK     302.047 ms /home/runner/work/vlang/vlang/temp/run_test.v
temp/run_test.v:3:1: warning: const () groups will be an error after 2025-01-01 (`v fmt -w source.v` will fix that for you)
--------------------------------------------------------------------------------
    1 | module main
    2 |
    3 | const (
      | ~~~~~
    4 |     empty         = CustomSet.new([]int{})
    5 |     another_empty = CustomSet.new([]int{})
...
checker summary: 0 V errors, 1 V warnings, 0 V notices

Checking isbn_verifier exercise...
---- Testing... ----------------------------------------------------------------
OK     332.486 ms /home/runner/work/vlang/vlang/temp/run_test.v
temp/isbn_verifier.v:6:1: warning: const () groups will be an error after 2025-01-01 (`v fmt -w source.v` will fix that for you)
    4 | import regex { regex_opt }
    5 |
    6 | const (
      | ~~~~~
    7 |     isbn_len = 10
    8 |
...
checker summary: 0 V errors, 1 V warnings, 0 V notices

We need something like this PR, now that the V test runner has been updated
Without this PR, tests for the Allergies exercise currently fail to compile.
https://exercism.org/tracks/vlang/exercises/allergies/

We might want to either fix github.com/vlang Test to use the same compiler version as github.com/vlang-test-runner

FWIW, this was the motivation behind https://github.com/exercism/vlang-test-runner/issues/10 which was completed (after a brief red herring) here: https://github.com/exercism/vlang-test-runner/commit/31c843fd7dda9a85f739a2a98b5bc5fbedb9047d
At the time I wasn't sure how the track worked, so focused on making the test-runner predictable. AFAIK that's working well, and I think you've been able to keep it up to date.
Turning my attention to the track, I see now that it uses a GitHub Action for obtaining v, relying on this: https://github.com/vlang/setup-v
That project seems to have supported a version: key to specify the version of v all along. I wonder if we should include that key here: https://github.com/exercism/vlang/blob/757a23fa178ffd781e49049c71dfe580e4fcc4b7/.github/workflows/test.yml#L37
Then at least they could be updated in lock-step, and you could test both before committing.


Native Federation Loading Library Files in Importmap/remoteEntry.json Shared Twice

Issue Description:
Native Federation Loading Library Files in Importmap/remoteEntry.json Shared Twice
When using native federation loading in Angular, the library files are being shared twice in the importmap/remoteEntry.json. Specifically, they are being shared once through a simple HTTP call (http://localhost:4200/_angular_router-17_3_11-dev.js) and once through a blob URL (blob:http://localhost:4200/37dd49b6-c9b2-4b0d-ad99-80b0722f8b53).
Expected Behavior:
Ideally, the library files should only be shared once in the importmap/remoteEntry.json, using a consistent method (preferably the HTTP call).
Steps to Reproduce:

Clone the repository dipu7388/multiple-entry.
Install dependencies (npm install).
Start the development server (npm start).
Open developer tools and search for any variable name (e.g., RouteConfigLoadEnd) to locate where it is defined or imported.
Observe how _angular_router-17_3_11-dev.js is referenced in the file.

Repository Link: dipu7388/multiple-entry

@manfredsteyer  please look into it, as it causes performance degradation, and increased in code duplication, api calls.
is there is a way to merge multiple chunk in one,  ex merge rxjs, and rxjsoperatores bundle into one then update importmap.json and remoteEntry.json.

It's indeed only loaded once. It just looks like it's loaded twice because the polyfill creates an object URL for it.


week display error

Describe the bug
moment('2019-12-30').format('YYYY-wo') // 2019-1st expect 2019-53st
moment('2019-12-30').week('w') // 1    expect 53
To Reproduce
https://codesandbox.io/s/ecstatic-curran-dvyhs?file=/src/index.js:329-505
please view console
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS 11.1
Browser chrome
Version 87.0.4280.88

Moment-specific environment
moment v2.29.1
Please run the following code in your environment and include the output:
console.log(moment("2019-12-30").format("YYYY-wo"));
console.log(moment("2019-12-30").year(), moment("2019-12-30").week());
console.log(moment("2020-01-03").format("YYYY-wo"));

Additional context
Add any other context about the problem here.

Same problem here. The following code:
console.log(moment("2020-12-28").isoWeekday(7).format("WYY"));
console.log(moment("2021-01-01").isoWeekday(7).format("WYY"));
console.log(moment("2021-01-03").isoWeekday(7).format("WYY"));

returns 5321 which means a 53 week of 2021.  I'm not sure what the correct value should be, maybe 5320 or 121. Similar Java code returns 020 which looks incorrect to me too lol, but 5321 is definitely incorrect.

Same problem here. The following code:
console.log(moment("2020-12-28").isoWeekday(7).format("WYY"));
console.log(moment("2021-01-01").isoWeekday(7).format("WYY"));
console.log(moment("2021-01-03").isoWeekday(7).format("WYY"));

returns 5321 which means a 53 week of 2021. I'm not sure what the correct value should be, maybe 5320 or 121. Similar Java code returns 020 which looks incorrect to me too lol, but 5321 is definitely incorrect.

Excuse me, did you get the correct way to solve this problem. I met same problem.

Same problem here. The following code:
console.log(moment("2020-12-28").isoWeekday(7).format("WYY"));
console.log(moment("2021-01-01").isoWeekday(7).format("WYY"));
console.log(moment("2021-01-03").isoWeekday(7).format("WYY"));

returns 5321 which means a 53 week of 2021. I'm not sure what the correct value should be, maybe 5320 or 121. Similar Java code returns 020 which looks incorrect to me too lol, but 5321 is definitely incorrect.

Excuse me, did you get the correct way to solve this problem. I met same problem.

To be honest, no, but I hope this issue is going to be solved soon ;-)

To be honest, no, but I hope this issue is going to be solved soon ;-)

To be honest, no, but I hope this issue is going to be solved soon ;-)

Try this solution。Use 'GGGG' instead of 'YYYY'。

To be honest, no, but I hope this issue is going to be solved soon ;-)

Try this solution。Use 'GGGG' instead of 'YYYY'。

Code in the original issue uses w which is the locale-aware week, so for completeness:

Use gggg with w, ww or wo
Use GGGG with W, WW or Wo

Code in the original issue uses w which is the locale-aware week, so for completeness:

Use gggg with w, ww or wo
Use GGGG with W, WW or Wo


[Feature/extensions] Remove CommonUtils ThreadContext User from AD user checks

Signed-off-by: Daniel Widdis<EMAIL_ADDRESS>Description
This copies the User class over from the Common Utils into a UserIdentity class.   Other than the class rename and addition of javadocs, there are no changes to the class.  This is done primarily to remove the external dependency but also preserve the intention (user and roles) as a placeholder until a replacement security authentication mechanism is implemented, and retains existing functionality.
In places where the User is retrieved from the thread context, a null user is used, as the original designers of this plugin determined that null = super user.  This will not be the path going forward but it is at least very convenient for us now.
Final changes were made to tests to recognize the lack of failed access, and coverage which is reduced by never executing code to respond to failures.
Issues Resolved
Fixes https://github.com/opensearch-project/opensearch-sdk/issues/23
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Submitted for review.  Can't get tests to run due to 403 on snapshot repo.  I believe the below test should fail and will comment it out if so.
https://github.com/opensearch-project/anomaly-detection/blob/4baf75ca46da02c4e70016d34982f2c5a34d0acd/src/test/java/org/opensearch/ad/transport/handler/ADSearchHandlerTests.java#L85-L92

@owaiskazi19 @saratvemulapalli This is ready for review.  Summary of commits:

66de852324fe9c439ba31b433dc450d6d1b99c13 Copied User class from Common Utils to a UserIdentity class here. Intention is:

Remove external dependency without changing other code (yet). This minimizes unnecessary code churn.
Keep a class as a placeholder where we will be using it to pass access tokens under the new security model.

4473415a487d8a942a8b83dc44a6ce6632ae70dd Deprecated the code which fetched the user from the Thread Context. Created a new temporary "null User" method that simply returns null (granting super-admin privileges).

Could have modified the other code to substitute null instead of calling a "null User" method but this approach makes it easy to find those methods again in the future by tracing call hierarchy, instead of looking for uses of "null" in the codebase.
Eventually there will be a new method here to query the security plugin/core API/etc. to get the user access token (split token model) which will replace the temporary "null user" code.

bd83a39abc38256bf5bb3abbd5595e01d2f428e7 Updated tests which were intended to fail the user access checks, which now always pass thanks to the null (superadmin) user, so all test pass
633c18d093fd930ce30d14e450b0e75469b9de1f The classes impacted by lack of failures have reduced code coverage.  Excluded them from JaCoCo coverage temporarily.  When the new security user code

I would rather those checks for a null user became checks for UserIdentity.Admin that was returned from getUser when security was disabled.

I completely agree with this preference and a future direction, but:

We haven't finished defining the UserIdenity class. Right now it's a carbon copy of User from Common Utils but we probably don't need any of the guts inside it.  They are there more as a reference for what a user used to be.
The fact is that the current code accepts null as a superuser, and hiding that flaw makes it less likely to fix it later!  I'd love to simultaneously switch from null user to an admin user along with disabling the superpower of null.  This is like putting a big orange cone on (or in) a pothole.  Doesn't fix the hole but at least you know driving down the street requires care and you can remove the cone when you fix the road.
There will be even more work with integrating identity in the future that we can integrate into the UserIdentity class, and the less I require now the more flexibility we have in defining exactly what we need later.

But I hope my snarky comments in the getNullUser() class indicate my feelings about that not being permanent. :)

This makes the more dangerous kind of actions much clearer

Another thought, there should actually be no need under a new RBAC model for the extension to even know anything about whether the user is a superadmin or an anonymous user.  All we need is the access token that will be provided from the security features being moved from the plugin.  We won't know what access it gives, we'll just pass it along with our API requests and the security features will identify the access roles at that point.  So for the purposes of an extension, all users are the same.


Power set using Bit Manipulation

I want to work on this issue. Please assign this issue.

/assign


WebConsole: missing check box for select all addresses

@grs @vbusch @k-wall is this something you think could be implemented before beta?
I couldnt find a jira for it, so Ive created ENTMQMAAS-809 incase you think we can get it implemented. you will find it in backlog. Thanks

This will go nicely with the paging https://github.com/EnMasseProject/enmasse/issues/1305
It can also be done before paging, since there is a note in the downstream issue that paging can wait.

Create wireframes for paging and select all functions:  https://redhat.invisionapp.com/share/ZTOSMVORV57
The design task can be tracked through #1847


Destroy or Reset service(s)

I think it would be useful to have a button to effectively "destroy" and/or "reset" a set of service(s). This could be done fairly easily by implementing an API endpoint for docker-compose down -v. Essentially, what this would do is bring the container(s) and volume(s) back to the original committed state (for example, to reset a corrupt database, or to recover admin capabilities when somebody has lost a password).
Of course we need some clear prompts & warnings for this button, since it would effectively remove data.
If there is some interest in this issue I could look into creating a PR for this, time permitting.

sure, it would be really useful.
I think you could simply add this feature to the current docker-compose down implementation


[Cherry-pick][Branch-3.0][Enhancement] Compatible with the default partition value of the new hudi version (#29606)

Fixes #issue
What type of PR is this:

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

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE Incremental Coverage Report]
:heart_eyes: pass : 11 / 12 (91.67%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/NullablePartitionKey.java
0
1
00.00%
[24]

:large_blue_circle:
com/starrocks/catalog/DeltaLakePartitionKey.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/PartitionKey.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/HudiPartitionKey.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/HivePartitionKey.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergPartitionKey.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/connector/PartitionUtil.java
3
3
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)


KAFKA-14372: choose replicas only from isr for preferred read replica

The default replica selector chooses a replica on whether the broker.rack matches the client.rack in the fetch request and whether the offset exists in the follower. If the follower is not in the ISR, we know it's lagging behind which will also lag the consumer behind. there are two cases:

the follower recovers and joins the isr. the consumer will no longer fall behind
the follower continues to lag behind. after 5 minutes, the consumer will refresh its preferred read replica and the leader will return the same lagging follower since the offset the consumer fetched up to is capped by the follower's HWM. this can go on indefinitely

If the replica selector chooses a broker in the ISR then we can ensure that at least every 5 minutes the consumer will consume from an up-to-date replica.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Merged to trunk and 3.3


(partial) solution for the discontinued pets problem

🚀 Feature Proposal
(BSO)
The biggest problem I see with discontinued pets is with the pets that have perks. The pets with perks can be (very) beneficial for an account and unlike perkless pets, the pets with perks have an impact on the on the gameplay that only they give but because they are so hard to obtain due to the price you'll need to pay to obtain them the vast majority of players is missing out on this gameplay.
A solution for this (part of the) problem could be to have the perks of these pets on a still obtainable pet in addition to on the discontinued pet. For this the perks can be given to an already existing pet that currently has no perk or can be given to a yet to be released pet.

The whole point with the discontinued pets is that the pet and pet mechanic is not obtainable for none ironman accounts in any other way than to buy them of other players.
If pets was introduced that had same mechanics as the discontinued pet there wouldn't been a reason to make it discontinued in the first place and that's what makes most of this pets valuable and interesting. Permanent Ironmen should be able to obtain this pets anyway if I'm not mistaken.


Cannot find property 'id' of undefined when  run as Standalone using --config parameter

As a user,
When I am running below command
gitlab-ci-dashbaord --config ./config.json
It opens a browser window and shows the error "Cannot find property 'id' of undefined".
After debugging I found that the issue is happening because of line: 423 in main.js file where it try to fetch the lastPipelineId and fails.
Due to this, the dashboard does not show any project status.
However running application as
gitlab-ci-dashboard --gitlab  --token  --projectFile
works perfectly fine.
Could someone please look into this.
Please let me know if you need more details.

I have the same problem running application as
gitlab-ci-dashboard --gitlab --token --projectFile
Something went wrong. Make sure the configuration is ok and your Gitlab is up and running. Details: Cannot read property 'id' of null


amx-project/f

@hfu is working on this. This would be an application of and contribution to UN Smart Maps Bazzar.
https://github.com/amx-project/f

The project was completed.
The purpose of this project was to make QGIS compatible with Map XML data.
In this project, the goal was to apply Map XML data to QGIS, a geographic information system software, to achieve seamless integration.
Modern geographic data tends to be handled through cloud-native interfaces. Our hypothesis was that PMTiles was a promising cloud-native interface for major vector data, followed by FlatGeobuf. To validate this hypothesis, we progressed with prototyping and evaluated the integration of FlatGeobuf with QGIS.
The outcomes of this project were expected to influence the efficient handling of vector data. Additionally, we considered whether a new cloud-native approach could replace using the traditional vector tile interface ({z}/{x}/{y}) naively with URLs.
As a result, the aim was to achieve innovative evolution in data handling and access methods, bringing forth new possibilities for the paradigm of geographic information systems.


how to add interactive response button?

im kindly seeking for assistance on adding response buttons like the one in the picture above , how can i do it?

bang cara nambahin agar bisa baca di database misal Mysql gmn ya ?


Date update incorrect format

Hi,
I've noticed that when I am selecting the date in the date picker I am getting the correct date format that I setup MM/DD/YYYY (ex: 06/17/2021).
After submitting the date to  be stored in my database, so far so good the date format is still correct MM/DD/YYYY (ex: 06/17/2021).
When I pull the date from my database, date format is still Correct MM/DD/YYYY  (ex: 06/17/2021).
However when I want to update the date I noticed that the date changed to this 06/18/06 instead of 06/18/2021
it's only when I click on the Reset button and click on the date that I want that I am able to have correct date format 06/18/2021
how can I fix this to avoid clicking manually the reset button to update the date? thank you

I found the problem, JSspreadsheet doesn't understand the stored date format MM/DD/YYYY as a string in the database, the date picker option: format convert that format to the format that I want that's how it breaks.


Disable heatlh-check by default

Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
Some aspects of kube-burner do not need to have health-check, such as the kube-burner-ocp index command.

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

I think this PR is overkill, health check is being used currently w/o specifying it in out CPT pipelines, if you want to skip it in the kube-burner-ocp index command you can just update this conditional to also include index
https://github.com/kube-burner/kube-burner-ocp/blob/d2588e055430f7de5f0f26d2407cf9cc658e9bbd/cmd/ocp.go#L76-L78

I find this PR a bit overkill, health check is being used currently in out CPT pipelines (w/o enabling it specifically), if you want to skip it in the kube-burner-ocp index command you can just update this conditional to also include index
https://github.com/kube-burner/kube-burner-ocp/blob/d2588e055430f7de5f0f26d2407cf9cc658e9bbd/cmd/ocp.go#L76-L78

I would argue if we should even have a health-check given there are other tools which do the exact same thing, like oc adm wait-for-cluster-stable
I prefer the oc method as if you run health-check which is fine for that point in time -- the oc command actually has a option to make sure the cluster is stable for > N number of minutes.
However, understood. I think we could also just update the workflow to --check-health=False


file input in branch remains disabled when branch becomes relevant

Reported by Rubem in user forum:
http://awzyb.enketo.formhub.org/webform
So, as you can see, after the last "image question" called "Deseja cadastrar nova foto?", when you choose "yes", another option to put new photo opens (Foto 04 do animal). The button to "choose file" keeps in grey and you can't click it. However, you are able to click where "Foto 04 do animal" is written. Despite this is a little bug, some people of my staff were confused by this, reporting me that they were not able to upload new photos.

Have you reported this bug to Chrome?  Still seems to be happening 2 years on!

I believe I did, but I can't find it. I should have added the link...


fix: Fix fq_names metrics parameter

Motivation
fq_names is a boolean sub-parameters that can be used to alter the metrics exposed by model-mesh. Unfortunately however its value is inverted, so setting it to "true" actually disables fully qualified method names (which is already the default).
Modification
Change to interpret anything other than false as enabling (default is still disabled).
Result
Metrics configuration behaves as expected.

Makes sense to me! Thanks Nick.
/lgtm


{@link} not being processed in method summary

Run this code in an empty directory:
echo '{"source": "./src", "destination": "./esdoc"}' > esdoc.json
mkdir src
echo -e '/** {@link func} is this. */\nexport function func() {}' > src/index.js
esdoc -c esdoc.json
cat esdoc/function/index.html

{@link func} will be processed for the detailed description of it but not for the summary.
esdoc/function/index.html line 61:

{@link func} is this.

esdoc/function/index.html line 92:

func is this.

@andy-hanson Hi! Thanks for this issue.
I reproduced it. I will fix it to next version. Please wait a little.

I published v0.4.1 that fixed this issue.


Cannot update a category which already has a parent category to get a no-parent category (parent_id = null)

Laravel Version: 5.3
Voyager Version: 0.10.10
PHP Version: 5.6
Database Driver & Version: MySQL

Description:
When updating a category to get a null parent_id instead of a value, it doesn't work and the parent_id is not updated and not set as null.
Here is the content of the options field of the parent_id column in the BREAD
{     "default": "__null__",     "null": "__null__",     "options": {         "__null__": "Main"     },     "relationship": {         "key": "id",         "label": "name"     } }
and it is a dropdown input type.
Steps To Reproduce:

Add a category with a null parent_id.
update it to get a parent category.
update it to get a null parent_id.

Result:  The update action has no effect  and the category is still with the parent category selected in step 2.

Confirmed this is a bug.
Anyone understands these 3 lines https://github.com/the-control-group/voyager/blob/master/src/Http/Controllers/Controller.php#L56-L58 . Why do we set the value of the field back to previous value when the new content is null

I imagine that was done so that fields could be left blank to "not override old values".  Not sure if that has a purpose anymore.

@fletch3555 thanks for pointing me out, will try to get a fix for this issue soon.

@EngHazem can you test this fix https://github.com/the-control-group/voyager/pull/587 again?


Where does file writing/reading happen when running with Docker?

I installed with docker and run in browser http://localhost:8282
I want to write a file. But when I run this code, but there is no file created in /tmp/dat1.  Is there some volume I am supposed to attach to?
package main

import (
	"os"
)

func check(e error) {
	if e != nil {
		panic(e)
	}
}

func main() {

	d1 := []byte("hello\ngo\n")
	err := os.WriteFile("/tmp/dat1", d1, 0644)
	check(err)
}

@wyattbiker code is running in isolated environment. By default it's executed by an official Go playground server.
You can still read files inside your program (example).


MGMT-19344: adding retry to static network apply as it it will fail in ibi case for some period of time and log and error

MGMT-19344: adding retry to static network apply as it it will fail in ibi case for some period of time and log and error

Background / Context
In case we apply static network in ibi flow , it will fail for first time cause of disabled dbus of network manager, service will be restarted and everything will work though it creates confusing error , this change removes it

Issue / Requirement / Reason for change

Solution / Feature Overview

Implementation Details

Other Information

I think a better a fix is to update the systemd service with After: whatever we require


Move LoadBalancer support to separate module

In GitLab by @arisilon on Apr 1, 2020, 22:22
The LoadBalancer objects in the servermgr module should be moved to a separate module.

In GitLab by @arisilon on Apr 1, 2020, 22:24
mentioned in commit 236638b31d0279fd0c419019a4f0301da522853b


Allow for directed dir installation

Ask where the users wants it installed, with some defaults if you want to be nice.
Forcing install in /usr/local/bin is unusable in containers and other file system mapped configurations

Hi @vRobM! Thanks for creating an issue. For a customized install see the Linux guide which contains the full install steps


update tutorial not to use ‘kubectl run’ for creating deployment

When I use the command in the tutorial which is as followed:
"kubectl run hello-world --replicas=2 --labels="run=load-balancer-example" --image=gcr.io/google-samples/node-hello:1.0  --port=8080"
kubectl gives me the response which is as followed:
"kubectl run --generator=deployment/apps.v1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead."
So, I changed the tutorial to use yaml file for creating deployment.

I fix it and sorry to make three commits. Can you squash them?

/approve
/lgtm


The source code of http://www.material-ui.com ?

There is little useful docs could be found on the official site http://www.material-ui.com.
But i guess there are some scenaries look like the official site.So, would you guys make the site opensource or post the code snippet below each guides?

https://github.com/callemall/material-ui/tree/master/docs
I find it though odd though that you think there as little useful documentation on http://www.material-ui.com. The full API is documented, and every example comes with source code.


Document Analysis Code

Create documentation on how the analysis code (generate_stats_figs.R) works.
Flic to do this, makes sense as I'm working on the refactoring in #32.
Separate to #152 as this (Document Analysis Code) is about documenting the analysis process, whereas that issue (152) was about documenting/interpreting outputs.

I suggest documenting inputs and outputs by:

first moving the functions to separate scripts, e.g. read_count_functions.R,
second, documenting inputs and outputs etc in roxygen2 format, which will make it easier to turn the scripts into an R package in the future.

As per #181, we have added a number of functions to get specific data items out of the h5 file, in the rscripts/read_count_functions.R file:

GetGeneDatamatrix
GetGeneReadLength
GetGeneDatamatrix5start
GetGeneDatamatrix3end
TidyDatamatrix - turn those data matrices into tidy data frames.

These functions still need tests and documentation.

Working on this ahead of Riboviz Hackathon next week.  Aiming to add code documentation via roxygen2 to functions in read_count_functions.R.
Created branch document-analysis-code-flic-153 from latest develop branch.
Installed roxygen2 and devtools via some dependency issues and updated documentation for riboviz install in user/ and developer/ install pages.

Working on this ahead of Riboviz Hackathon next week.  Aiming to add code documentation via roxygen2 to functions in read_count_functions.R.
Created branch document-analysis-code-flic-153 from latest develop branch.
Installed roxygen2 and devtools via some dependency issues and updated documentation for riboviz install in user/ and developer/ install pages.

Wasn't sure if I ought to use roxygen2::roxygenise() or devtools::document(), but checked what TidyQPCR use and they point to this: https://r-pkgs.org/man.html#man-workflow which says use devtools::document() workflow.
Added an example roxygen comments for 1 function readGFFAsDf().
Tried devtools::document(). It failed: "Error: Could not find package root, is your working directory inside a package?"
Seems like the R-scripts can't be roxygenised without making a package directory structure? https://stackoverflow.com/questions/27948768/can-i-generate-comments-using-roxygen2-without-building-an-r-package
roxygen2 doesn't support single files: https://github.com/r-lib/roxygen2/issues/273
Suggestion to use https://stat.ethz.ch/R-manual/R-devel/library/tools/html/Rd2HTML.html to create .html help files out of .rd file?
Maybe just need to use this comment format 'stupidly' to give the info, but not the ?help functionality?

Wasn't sure if I ought to use roxygen2::roxygenise() or devtools::document(), but checked what TidyQPCR use and they point to this: https://r-pkgs.org/man.html#man-workflow which says use devtools::document() workflow.
Added an example roxygen comments for 1 function readGFFAsDf().
Tried devtools::document(). It failed: "Error: Could not find package root, is your working directory inside a package?"
Seems like the R-scripts can't be roxygenised without making a package directory structure? https://stackoverflow.com/questions/27948768/can-i-generate-comments-using-roxygen2-without-building-an-r-package
roxygen2 doesn't support single files: https://github.com/r-lib/roxygen2/issues/273
Suggestion to use https://stat.ethz.ch/R-manual/R-devel/library/tools/html/Rd2HTML.html to create .html help files out of .rd file?
Maybe just need to use this comment format 'stupidly' to give the info, but not the ?help functionality?

Stackoverflow post explaining how to create Rd help files for objects not in a package.

Stackoverflow post explaining how to create Rd help files for objects not in a package.

@ewallace suggests: maybe during the hackathon try test_that super-basic testing for each function in read_count_functions.R script - for example: "does this function create a data frame output?" - and think about what we can have 'to test' for each function.
@FlicAnderson will think (/add comments perhaps?) about how we test this stuff, and how/whether the @examples examples can be used for this; e.g. does function readGFFAsDf(orf_gff_file) create a tidy dataframe as expected?

@ewallace suggests: maybe during the hackathon try test_that super-basic testing for each function in read_count_functions.R script - for example: "does this function create a data frame output?" - and think about what we can have 'to test' for each function.
@FlicAnderson will think (/add comments perhaps?) about how we test this stuff, and how/whether the @examples examples can be used for this; e.g. does function readGFFAsDf(orf_gff_file) create a tidy dataframe as expected?

I'm currently 3/4 through adding the roxygen2-style comments to all functions in rscripts/read_count_functions.R, and found the riboviz developer documentation on interactive debugging in R was really helpful at refreshing me on how to do this, as it's been necessary to figure out 'working examples' for the docu-comments.
I've been adding ideas for simple things to test for each function as I go, underneath that function definiton, in the format:
#TEST: functionname(): thing we could test, and what we're looking for (e.g. function returns a tibble: TRUE)
This should be done by the end of Friday 08th at the latest, as there's not much left to do and I'm cracking through it quite nicely.

I'm currently 3/4 through adding the roxygen2-style comments to all functions in rscripts/read_count_functions.R, and found the riboviz developer documentation on interactive debugging in R was really helpful at refreshing me on how to do this, as it's been necessary to figure out 'working examples' for the docu-comments.
I've been adding ideas for simple things to test for each function as I go, underneath that function definiton, in the format:
#TEST: functionname(): thing we could test, and what we're looking for (e.g. function returns a tibble: TRUE)
This should be done by the end of Friday 08th at the latest, as there's not much left to do and I'm cracking through it quite nicely.

Sounds good. We should also add a brief section on R documentation to /docs/developer/coding-style.md, summarizing how we approached this.

Sounds good. We should also add a brief section on R documentation to /docs/developer/coding-style.md, summarizing how we approached this.

Note that gffdf is a data.frame (well, a tibble, but it only needs to be a data frame), with defined columns which we could list. Probably more descriptive than calling it an 'object. I wonder which packages document data frame inputs nicely?

Note that gffdf is a data.frame (well, a tibble, but it only needs to be a data frame), with defined columns which we could list. Probably more descriptive than calling it an 'object. I wonder which packages document data frame inputs nicely?

Update: I haven't managed to finish off #153 code comments yet, so haven't got those pushed yet, they're still in the document-anlaysis-code-flic-153 branch as yet. This is what I plan to do for a couple of hours tonight after the Hackathon Day 1 meeting.

Update: I haven't managed to finish off #153 code comments yet, so haven't got those pushed yet, they're still in the document-anlaysis-code-flic-153 branch as yet. This is what I plan to do for a couple of hours tonight after the Hackathon Day 1 meeting.

Added roxygen2-style comment headings for all functions in read_count_functions.R now, adding in all parameters.
Added TODO flags for remaining code examples required, and things to test required for each function.  These still need to be completed, but at least the framework is in place.
Some changes have been made to generate_stats_figs.R and stats_figs_block_functions.R for style changes to some function names, and reordering parameters of some functions.

Added roxygen2-style comment headings for all functions in read_count_functions.R now, adding in all parameters.
Added TODO flags for remaining code examples required, and things to test required for each function.  These still need to be completed, but at least the framework is in place.
Some changes have been made to generate_stats_figs.R and stats_figs_block_functions.R for style changes to some function names, and reordering parameters of some functions.

@ewallace notes: it's potentially worth thinking about "see also" and "keywords" to link related functions. Probably best to do this as separate issue, particularly if trying later to create r-package from functions.

@ewallace notes: it's potentially worth thinking about "see also" and "keywords" to link related functions. Probably best to do this as separate issue, particularly if trying later to create r-package from functions.

Had a code review chat with @ewallace about this & integrated feedback and changes then created pull request.
There are still a lot of TODOs in the documentation in the PR code, but after discussion we agreed it's best to make new issues for those to let this documentation get integrated asap for use by other folks.

Had a code review chat with @ewallace about this & integrated feedback and changes then created pull request.
There are still a lot of TODOs in the documentation in the PR code, but after discussion we agreed it's best to make new issues for those to let this documentation get integrated asap for use by other folks.


Lineage between BigQuery and Metabase does not work

Describe the bug
Before the most recent update, lineage between BigQuery and Metabase would somewhat work, but now lineage has completely disappeared between the two.
To Reproduce
Steps to reproduce the behavior:

Ingest a table from BigQuery
Ingest a chart/dashboard from Metabase that uses the BigQuery table
Go to lineage on both assets and see that they are not linked

Expected behavior
Lineage should show a link between the assets.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS
Browser: Chrome
Version 110.0.5481.100 (Official Build) (arm64)
Datahub v0.10.0

Additional context
Add any other context about the problem here.

Still an issue on 10.2.1.


Apache to Nginx transition (need to stop service)

If running through the examples in order, students will error on nginx examples as the http port is busy.  Need to include a playbook to stop httpd and or have the students perform that before moving onto nginx.

Agreed. This could also be addressed by #92 and using a different port with nginx examples. Would need to check the provisioner has created a security group with that port open.

I've written the basic playbook and roles workshops with extra credit assignments to create a stop and remove playbook/tasks. Need to provide the solution in the nginx examples at a minimum.

Implemented with 0db28a8.


fix: use better contrastsecurity.com URL

As suggested by Matt.

Matt === @mgc ?

Good point.


alarm activation problem

i installed the add-on via hacs, but when i try to activate the alarm from the panel nothing happens.
How can I solve?
thank you

not a valid bug


Support Unicode 9.0

UAX#14 is updated to revision 37 for Unicode 9.0 support.  It adds some rules such as emoji.  I would like to add Unicode 9.0 rules to xi-unicode.
http://www.unicode.org/reports/tr14/tr14-37.html

Thanks!


Rewrite decompose_globals to work at tree level

We should rewrite the decompose_globals transformation to work with non-flattened constraints.
This way, less auxiliary variables are introduced.
Some special edge cases to take care of in this transformation:

Nesting of global numerical constraints:
For example: AllDiff(max(x,y,z), p,q) when AllDiff is supported but not max should become [AllDiff(aux,pq), max(x,y,z).decompose_comparison('==',aux)]
Global constraints in negative context: make sure to use decompose_negation
Partial global constraints: see discussion in #184

In essence, this function should walk trough the expression tree and decompose any unsupported global constraint/function BEFORE flattening. This allows downstream transformations to completely ignore global constraints and allows solvers such as z3 which directly work on the expression tree level to not worry about special global constraint cases.

The advantage of flattening first however, is that there is no need for the whole decompose_negation thing
Do you have an example or insight of why this leads to more auxiliary variables?


Added event handler for paste

All Submissions:

[x] Have you followed the guidelines stated in CONTRIBUTING.md file?
[x] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

New Feature Submission:

[x] Does your submission pass the tests?
[x] Have you linted your code locally prior to submission?

Changes To Core Features:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.
Description
Added event handler of on paste event
Linked Issue
Closes #3055

I'm confused at the definition of the event signature, shouldn't we expect to receive the pasted content in the function ?
Also can you provide a small example where this new trigger work ?

I'm confused at the definition of the event signature, shouldn't we expect to receive the pasted content in the function ?
Also can you provide a small example where this new trigger work ?

Sure Will do today

Example on how to use the on paste event
"""Welcome to Reflex! This file outlines the steps to create a basic app."""

from enum import Enum

from rxconfig import config

import reflex as rx

docs_url = "https://reflex.dev/docs/getting-started/introduction/"
filename = f"{config.app_name}/{config.app_name}.py"

class ButtonOption(Enum):

    PROFILE = "Profile"

    ACCOUNT = "Account"

    APPEARANCE = "Appearance"

    NOTIFICATIONS = "Notifications"

    DISPLAY = "Display"

class State(rx.State):

    clicked: ButtonOption = ButtonOption.ACCOUNT

    def set_clicked(self, option: str):

        self.clicked = option

    def get_clicked(self):

        return self.clicked

    def catch_pasted_data(self, data:any):
       print(data)

def index() -> rx.Component:
    return rx.center(
        rx.theme_panel(),
        rx.vstack(
            rx.heading("Welcome to Reflex!", size="9"),
            rx.input(on_paste= lambda c: State.catch_even(c)),
            rx.button(
                "Check out our docs!",
                on_click=lambda: rx.redirect(docs_url),
                size="4",
            ),
            rx.logo(),
            align="center",
            spacing="7",
            font_size="2em",
        ),
        height="100vh",
    )

app = rx.App()
app.add_page(index)

So i was reading back through the original ticket and i think 2 requested items are missing in this implementation:

the handler isn't "global", as in, the element in question has to be focused in order to receive the paste event
the handler cannot receive images, which was one of the example use cases

I don't know if i have any recommendations from the top of my head for how to best handle these issues though. For global event handling, i think we would need to register an event handler on document, similar to the global hot key monitor example in the docs https://reflex.dev/docs/api-reference/browser-javascript/#using-react-hooks
As for handling other data types, i think this would need to be specified somewhere for the event handler to pick it up in the mapping var.
Maybe instead of adding on_paste as a common event trigger, it might make sense to have an Clipboard component that uses a hook to register the paste event handler on document and then it would have an on_paste trigger that could get data of the type specified as a component prop?

OK I will try to implement that, are there any references which might be helpful ?

this feature would be highly appreciated!

Will wrap it up next week.

@wassafshahzad just wanted to know whether you already found time for wrapping it up?

Will complete it over the weekend. Sorry for the delay

Should perhaps someone else work on this?

Further development in #3513


Feature Request: For REST API, ability to turn off CSRF.

When trying to use archive box as a separate docker container, when I try and use any of the endpoints that require auth, I get:
"POST /api/v1/cli/add HTTP/1.1" 403 31
Forbidden (CSRF cookie not set.): /api/v1/cli/add
Forbidden: /api/v1/cli/add

because CSRF is required.  There should be a setting to remove this requirement so that the API can be used from other domains without issue.
Type

[ ] General question or discussion
[ ] Propose a brand new feature
[x] Request modification of existing behavior or design

How badly do you want this new feature?

[ ] It's an urgent deal-breaker, I can't live without it
[x] It's important to add it in the near-mid term future
[ ] It would be nice to have eventually

[x] I'm willing to contribute dev time / money to fix this issue
[x] I like ArchiveBox so far / would recommend it to a friend
[ ] I've had a lot of difficulty getting ArchiveBox set up

This should be fixed in the latest pre-release: https://github.com/ArchiveBox/ArchiveBox/releases/tag/v0.8.3-rc
Comment back if you're still having trouble!