ConnextX missing - should I flash?

Hello, someone handed me a lenovo-made innova2. It is missing the connect-x device.
Should I try unconventional methods on it to flash another image than the supplied by lenovo so development could be possible ?
I think there is a problem with the card, but I can't diagnose it for now.
Note: To install all required software versions, I set up a virtual machine where I added the 2 mlx PCI-E devices using pci-e passthrough.  There is no third device neither on the host nor in the guest system.
sudo flint -d /dev/mst/mt4119_pciconf0 q
Image type:            FS4
FW Version:            16.24.4020
FW Release Date:       3.1.2019
Product Version:       16.24.4020
Rom Info:              type=UEFI version=14.17.13 cpu=AMD64
                       type=PXE version=3.5.603 cpu=AMD64
Description:           UID                GuidsNumber
Base GUID:             aaaaaa0300aaaaa0        12
Base MAC:              aaaaaaaaaaa0            12
Image VSD:             N/A
Device VSD:            N/A
PSID:                  LNV0000000025
Security Attributes:   secure-fw

Sudo ~/Innova_2_Flex_Open_18_12/app/innova2_flex_app -v
===============================================
 Verbosity:        1
 BOPE device:      None
 ConnectX device:  None
Cannot find appropriate ConnectX device

sudo ./mlxup
Querying Mellanox devices firmware ...

Device #1:
----------

  Device Type:      ConnectX5
  Part Number:      SN37A48123_Ax
  Description:      ThinkSystem Mellanox Innova-2 ConnectX-5 FPGA 25GbE 2-port PCIe Adapter
  PSID:             LNV0000000025
  PCI Device Name:  /dev/mst/mt4119_pciconf1
  Base GUID:        aaaaaa0300aaaaa0
  Base MAC:         aaaaaaaaaaa0
  Versions:         Current        Available
     FW             16.24.4020     N/A
     PXE            3.5.0603       N/A
     UEFI           14.17.0013     N/A

  Status:           No matching image found
.... ( the same for device 2)

my final goal is to setup a device on the fpga (w bus-master DMA) which will generate test data and stream it to the host memory. I'm still trying to learn what is QDMA and how it's different from XDMA, but for now I don't have what to test on :-)

Thank you so much for the invaluable information ! You really inspire me to go further. Finally I managed to obtain a Xilinx-DLC10 JTAG adapter, installed the recommended ubuntu, vitis+vivado & all the drivers. I'm not sure why I need all drivers if I'm not using the network card.
My card looks not fully functional right out of the box, probably the firmware is not OK.
[sudo lspci -vvvnnxxx output(https://gist.github.com/AGenchev/f466b047b2a9cd13bc1114208c3828d2#file-gistfile1-txt)]
I'm going to test courrupting firmware by shortening pins. Just wonder when and for how long the pins should be shorted. I'm going to solder wires to the flash pins.

My next update: "A new hope"
Here is the prepared bed for the new W25Q128JVS IC

After my imperfect soldering job:

I'm not sure why I need all drivers if I'm not using the network card.

innova2_flex_app requires access to the first network interface to enable/disable JTAG and other features. The ConnectX-5 controls which FPGA bitstream to run.

how long the pins should be shorted

Until the driver for Recovery Mode is loaded. I fixed the notes to make that more clear.

Flint refuses to flash:
-E- PSID mismatch. ... (LNV0000000025) differs ... (MT_0000000158)

Yes I recently tried the procedure on a board with a PSID different than MT_0000000158 and had a similar experience. I was eventually able to get it to work using mstflint's Write Block (wb) command.

I decided to bypass the flint logic - ran the command
and after it started reading shorted DO.
... Flash is write protected.

This is very difficult to get right as flint reads from the same addresses multiple times. My guess is that when it was unable to read back data it had written it assumed the IC is write-protected.

After cold reboot, mlx drivers are still unhappy ...
Firmware over 120000 MS in pre-initializing state, aborting

This one is new for me. It is my understanding that the W25Q128JVS gets loaded once at boot then resides in CX5 memory.

Ran mlxup, after the following I gave it perm. to update to 16.28.2006

The ConnectX-5 works well enough to update its own firmware which is good news.
What is the FBGA Code on your board's DDR4 ICs (D9TBK or D9WFR)?

What is your cooling solution? The ICs get very hot very quickly which leads to all sorts of problems.

Could it be because the ports don't have SFP modules attached?

That would just make the board hotter. I run mine with no SFP modules or cables and it works fine.

Should I put in your example guids:
... 0xc0dec0dec0dec0de ...

Did your board not include a label with the MAC IDs? use the values you saw when you first ran flint query. However, this should not matter.
Description:           UID                GuidsNumber
Base GUID:             aaaaaa0300aaaaa0        12
Base MAC:              aaaaaaaaaaa0            12

Something prevents firmware from initializing?

Yes. I suspect it will take a while to figure out why.
What is the motherboard and CPU you are using? Does it support at least PCIe 3.0?

The flex app also doesn't like what it sees:

Yes, without the ConnectX-5 Ethernet Controllers there is no way for the drivers needed by innova2_flex_app to load.
sudo mst start
cd ~/Innova_2_Flex_Open_18_12/driver/
sudo ./make_device
sudo insmod /usr/lib/modules/`uname -r`/updates/dkms/mlx5_fpga_tools.ko
lsmod | grep mlx
cd ~
sudo ~/Innova_2_Flex_Open_18_12/app/innova2_flex_app -v

What does lspci show?
sudo lspci -nn | grep "Mellanox\|Xilinx"
sudo lspci -tv | grep "0000\|Mellanox\|Xilinx"

According your explanation, XDMA looks good for my case,
but I'm still far from it (have to learn)

I have been working on a Tutorial for XDMA and XDMA Communication. PCIe P2PDMA is a complex project I have not yet been able to get working.

I wrote in chronological order; "..Flash is write protected." IMHO was caused by write protection indeed, because if you saw my first flint query, it said at the bottom: Security Attributes:   secure-fw. I thought they likely used the lock bits in the flash. I released the DO pin after flint agreed that there is nothing so it will flash it. It really failed to write there so I had to replace the flash with new.

What is the FBGA Code on your board's DDR4 ICs (D9TBK or D9WFR)?

It seems you have nailed it:

It is for "ADIT" variant.

What is your cooling solution?

I i would hardly call it solution, because I basically attached 2 m.board north-bridge radiators which have springs using elastic rubber band to hold them in place and to provide pressure on the springs. Against the smaller I put a blower fan, which provides enough airflow.

Yesterday I ran mlxup to update FW to 16.28.2006.
After this, the drivers are loading, firmware initialized O.K. Today we have a whole lot different picture:

sudo lspci -tv | grep "0000|Mellanox|Xilinx"

-+-[0000:7f]-+-08.0  Intel Corporation Xeon E5/Core i7 QPI Link 0
 \-[0000:00]-+-00.0  Intel Corporation Xeon E5/Core i7 DMI2
             +-01.0-[03-06]----00.0-[04-06]--+-08.0-[05]----00.0  Mellanox Technologies Innova-2 Flex Burn image
             |                               \-10.0-[06]--+-00.0  Mellanox Technologies MT27800 Family [ConnectX-5]
             |                                            \-00.1  Mellanox Technologies MT27800 Family [ConnectX-5]

Flash is write protected ...
Security Attributes:   secure-fw

That makes sense and thanks for pointing it out. I have not come across this.

With FPGA power increased to 10 (what was that - overclock?)

Likely. My guess is that the FPGA runs some large DSP-heavy project.

it went to 80 C

That still seems safe.

All tests from innova2_flex_app fail (on my 4GB version).

Most fail for me on the 8GB ADLT variant as well. Luckily the tests have no relevance to the usefulness of the Innova-2.

I think with 4GB it still has plenty of memory to experiment with.

Yes, 4GB is enough for everything you could try with these boards.
The 8GB ADLT has both SFP GbE interfaces connected to the ConnectX-5 with the intent of using PCIe P2PDMA for communication between the FPGA and Ethernet.

From the 4GB ADAT Product Brief(manualzz.com) it appears to have at least one direct FPGA SFP interface. This is good news but it means that the 8GB ADLT firmware is not designed for it. innova2_flex_app requires the 8GB ADLT firmware to be able to program the FPGA but it means the ConnectX-5 is not likely to be usable with the ADIT/ADAT variants. The 8GB ADLT firmware also chooses which FPGA Bitstream Image gets loaded; User, Flex, or Factory.

Issue #3 has more on the differences between the boards.
Does your board have any markings that indicate it is the ADAT or ADIT?

I think with 4GB it still has plenty of memory to experiment with.
Only lack of documentation can be a culprit.
I will try to load your test for 8-bit DDR-4.

Yes, the bitstream from test_adit_mt40a512m16 will test 512MB of the 4096MB. I tried a straightforward port of innova2_8gb_adlt_xdma_ddr4_demo to the MT40A512M16 (D9TBK) but it fails. I need to run more tests to figure out why.

Yesterday I ran mlxup to update FW to 16.28.2006.
After this, the drivers are loading, firmware initialized O.K

Great news!

For now, JTAG doesn't work for me ...
so I'm using these steps:
disable JTAG and schedule the Flex image,
reboot,
program with innova2_flex_app,
reboot,
and then test your loaded bitstream.

Yes, that is the correct sequence to program a Configuration Flash Memory (MT25QU512 RW193 ICs) bitstream using innova2_flex_app. This is what gets loaded during system boot. It is best to disconnect or at least power off your JTAG adaptor when using innova2_flex_app.
Using JTAG to load a bitstream into the FPGA's Temporary SRAM Configuration Memory is useful for development but not required.

05:00.0 Class [2000]: Mellanox Technologies Innova-2 Flex Burn image [15b3:0264]

It looks like your FPGA Flash Configuration Memory already includes the latest Flex Image. What version does innova2_flex_app say it is at?

should I replace the MOSFET

No, your board seems to work. I had clear damage to my board.

For now, JTAG doesn't work for me ...

After 05:00.0 Memory controller: Xilinx Corporation Device 9038 shows up, run innova2_flex_app to Enable JTAG. Does that help? Are you able to use XSDB to communicate with the FPGA?

Accesses to /dev/xdma0_user work as expected - the LED turns on and off.

That is good news.

Sending 8k data to M_AXI BRAM Controller Block succeeded first time,
then fails, same for the read op. The read/write ops are very slow:
but the check sums (of written and read 8k blocks) match.

More good news, XDMA is working for at least some time. My first instinct is that something is overheating and therefore fails after some time. Do you have access to a Thermal Imaging Camera or Freeze Spray? The idea with Freeze Spray is that you spray the board and the hottest parts will return to normal fastest.
I notice you have an Nvidia Tesla in your system. Are you able to remove it and try testing again?

All subsequent operations on /dev/xdma0_h2c_0
end with "Unknown error 512" in xdma.

The driver cannot access the AXI Bus.
If removing the Tesla card makes no difference or you cannot, try updating dma_ip_drivers.
Uninstall dma_ip_drivers, then try the latest November 10, 2023, commit a93d4a4 version.
cd ~/dma_ip_drivers/XDMA/linux-kernel/xdma/
sudo make uninstall

cd ~
wget https://codeload.github.com/Xilinx/dma_ip_drivers/zip/a93d4a4870e41d152b33aebb3f869eefb11aa691 -O dma_ip_drivers-a93d4a4.zip
unzip dma_ip_drivers-a93d4a4.zip
mv dma_ip_drivers-a93d4a4870e41d152b33aebb3f869eefb11aa691 dma_ip_drivers

cd ~/dma_ip_drivers/XDMA/linux-kernel/xdma/
make DEBUG=1
sudo make install

sudo depmod -a
sudo ldconfig

cd ~/dma_ip_drivers/XDMA/linux-kernel/tools
make

sudo reboot

Do you have access to a large ultrasonic cleaner, a well-ventilated space such as a balcony or garage, and 99% Isopropyl Alcohol? It has been my experience that old server equipment that is flaky becomes usable after about a half hour of ultrasonic Isopropyl cleaning.

What version does innova2_flex_app say it is at?

*** FPGA image version:   0xc1

...but it means the ConnectX-5 is not likely to be usable with the ADIT/ADAT variants.

my goal is to use  ConnectX-5 as .. just a PCI-E bridge to allow the FPGA on the PCI-E bus.
I succeeded in running your test at the point "I ran a sanity check and tried sending 1GB of data. Only 512MB transfers as expected."
sudo ./dma_from_device --verbose --device /dev/xdma0_c2h_0 --address 0x0 --size<PHONE_NUMBER> -f recv.raw
dev /dev/xdma0_c2h_0, addr 0x0, aperture 0x0, size 0x40000000, offset 0x0, count 1
host buffer 0x40001000, 0x7fe0b4b6d000.
/dev/xdma0_c2h_0, read underflow 0x20000000/0x40000000 @ 0x0.
#0: underflow 536870912/1073741824.
#0: CLOCK_MONOTONIC 10.724906794 sec. read 536870912/1073741824 bytes

The results are repeatable, xdma works. The speed is ~ 50 MB/s when 512 MB of 1 GB are transferred.
Now I guess the unknown is how the memory is connected to the FPGA (which pin goes where).
The JTAG doesn't run as expected. The last test I did was to enable JTAG on the APP and then to run xsdb% targets
but nothing shows:
tcfchan#0
xsdb% after 7000
xsdb% targets
  1  whole scan chain (board power off)
xsdb% target 1
xsdb% fpga -state
No supported FPGA device found

the bitstream from test_adit_mt40a512m16
I flashed it and succeeded in running your test ...

So the checksums match for 512MB transfers?
More and more of the board is proving to work. Let's hope the success continues.

speed is ~ 50 MB/s when 512 MB

Please post the output of sudo lspci -nnvv for the Mellanox and Xilinx devices to confirm the links are all at the correct Width and Speed and whether there have been any RX and/or TX errors.

72-bit bus E.g. pin "constraints" are not known - am I right ?

Constraints for the 8GB ADLT are known. When I use the same constraints in innova2_8gb_adlt_xdma_ddr4_demo but change the Memory Part of the DDR4 IP Block to MT40A512M16LY-075 and load it into the 4GB ADIT I get incorrect data reads. When I then connect to the 4GB ADIT board via JTAG and access MIG_1 I get MIG Status: PASS.
If you have the time, try recreating innova2_8gb_adlt_xdma_ddr4_demo but change the DDR4 Block to use MT40A512M16LY-075 and the memory range to 4GB. It may be that my board has faulty memory ICs.

The JTAG doesn't run as expected.

Are you able to communicate with other Xilinx FPGAs using your debugger?
I am on my second 14-Pin JTAG cable(1). With everything powered off, check with a multimeter in continuity mode that all the JTAG signals connect between the Innova2 and your JTAG adapter and are not shorted to GND.

Thank you for the guidance! I will be able to do all this after 7th JAN 2024, because I am on vacation far from home till then w/o access to IT equipment.

I got DDR4 working on my Innova2 4GB ADIT board. The innova2_4gb_adit_xdma_ddr4_demo project includes bitstreams and instructions for testing.
My problem turned out to be a reset issue. When I tried porting the innova2_8gb_adlt_xdma_ddr4_demo project to the 4GB ADIT I also moved from Vivado 2023.1 to 2023.2 which changed how resets worked. I carefully updated the reset network and it now works and should be more robust.

I got DDR4 working on my Innova2 4GB ADIT board. The innova2_4gb_adit_xdma_ddr4_demo project includes bitstreams and instructions for testing.

This is really good news ! I'll try it. I only found time to test the JTAG adapter vs another board (an old NETFPGA-1G-CML) and it worked. This means I have also kind of problematic JTAG port on the innova2.

Now I'm trying to understand some basics: the block scheme of 4gb_adit_xdma_ddr4_demo looks rather complex, so it seems it does more than just being a XDMA to int.DDR4 memory controller. I see for the memory you set a different arbitration scheme (RD PRI REG) on the ADIT board while on ADLT. I have to read much more to get what is going on. I think to create a very basic block design using the DDR-4 guidelines from your demo, then to add to it more blocks trying to generate something into DDR4 and read it. Not sure if 2 devices try to access the DDR4 slave AXI at the same time what will happen.

4gb_adit_xdma_ddr4_demo looks rather complex

Yes, I added various blocks to test other parts of the board.

I have installed [Vivado] 2021 ...
basic block design using the DDR-4 guidelines from your demo

Yes, a much simpler design should work in Vivado 2021.2 to test DDR4:

I plan to eventually update my innova2_flex_xcku15p_notes notes for Vivado 2023.2 and Ubuntu 22.04.

you set a different arbitration scheme (RD PRI REG)

The AXI Arbitration Scheme should not matter for such a simple design. For designs with multiple AXI blocks that use DDR4 Round-Robin guarantees low-latency access at the cost of throughput. To be honest I forgot to change it from the default Read Priority. Refer to the Memory IP Guide (pg150) Pg#143.

xcku15p doesn't come with free license

Yes, unfortunately not. You can use an evaluation license or the AWS Vivado 2023.2 AMI by the hour.

JTAG adapter vs another board (an old NETFPGA-1G-CML) and it worked.
This means I have also kind of problematic JTAG port on the innova2.

The Innova-2 uses 1.8V for JTAG. Does your adaptor support that? I recommend one of the Officially-Supported JTAG Adaptors or the Waveshare Platform Cable clone. I am aware of inexpensive FT2232H-based JTAG SMT boards causing problems.

Why I'm trying to get JTAG working - to skip reboot
when I want to set a new image to the FPGA.

Working JTAG will also allow you to use XSCT/XSDB to debug soft-core processors like the RISC-V or MicroBlaze.

I report JTAG success ! The JTAG adapters I tried are on the picture.

First one I bought for US$17 on Aliexpress - it is a Chinese clone. The second one costs here $300 and I don't own it. Counterintuitive, the cloning performs slightly faster. You were right - my JTAG was not broken. I don't know now the reason it didn't work - very likely my misunderstanding the usage of innova2_flex_app:
When you set the FPGA image to boot, you need to reboot the computer. So probably I inferred that I need to enable the JTAG, then reboot the computer so it boots with JTAG enabled. When the cheap DLC9 arrived (yesterday) I observed that it lacks suitable connector, so I used the ribbon cable from DLC10 with it just to test whether it works, then decided to experiment without rebooting the computer on the innova2. And boom - it worked. Then tested DLC10, it worked as well.
Now I'm implementing the design you gave me above. After Vivado2023.2 (a new web install) killed the OS (OOM) with just 2 processes on 32GB RAM, i installed and configured zram and I it helped a lot.

I report JTAG success !

Excellent news!

misunderstanding the usage of innova2_flex_app

Thanks for pointing that out. I have [tried to improve my notes].(https://github.com/mwrnd/innova2_flex_xcku15p_notes/commit/c8ff37c2ea6f5e4ffe4256aa38bb74c110bf4ae0).

After Vivado2023.2 (a new web install) killed
the OS (OOM) with just 2 processes on 32GB RAM

When you run top do you have a swap partition? Vivado somehow manages to always get into swap even if a system has plenty of memory. Try the following which makes swap (Virtual Memory) less likely to be used. It is issues like these that make me wary of updating my notes for the latest Vivado too soon.
sudo su
echo 0 > /proc/sys/vm/compaction_proactiveness
echo never > /sys/kernel/mm/transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/defrag
echo vm.compaction_proactiveness=0 >>/etc/sysctl.conf
sysctl -w vm.compaction_proactiveness=0
sysctl -w vm.extfrag_threshold=1000
exit

succeeded and of curiosity overclocked the DDR4 to 2666. retention still OK

Good to know. I have added a comment to the innova2_4gb_adit_xdma_ddr4_demo project.

Shall i close this issue, because we solved everything and I went off-topic

Yes, please do. Create new issues if you encounter any problems.

When you run top do you have a swap partition?

Of course, but I had only 1 GB, because even though I use a PMR server HDD w 256MB cache, 32G swap would be awfully slow.
Thanks for kernel config ideas, before try them, I ran this script (for 32GB RAM):
#!/bin/sh
swapoff -a
modprobe zram
zramctl /dev/zram0 --algorithm zstd --size 32G
mkswap  /dev/zram0
swapon --priority 100 /dev/zram0
swapon -a
swapon -s

And top now shows:
MiB Mem :  32039,7 total,  16255,2 free,  11414,2 used,   4370,2 buff/cache
MiB Swap:  33744,0 total,  33744,0 free,      0,0 used.  18705,4 avail Mem

(Vivado is running ob background)


🐛 [firebase_app_check] Semantic Issue (Xcode): 'new' is unavailable

Bug report
Describe the bug
Semantic Issue (Xcode): 'new' is unavailable
/Users/ljsharp/.pub-cache/hosted/pub.dev/firebase_app_check-0.1.2/ios/Classes/FLTAppCheckProvider.m:18:55
Semantic Issue (Xcode): 'new' is unavailable
/Users/ljsharp/.pub-cache/hosted/pub.dev/firebase_app_check-0.1.2/ios/Classes/FLTAppCheckProvider.m:22:53
Semantic Issue (Xcode): 'new' is unavailable
/Users/ljsharp/.pub-cache/hosted/pub.dev/firebase_app_check-0.1.2/ios/Classes/FLTAppCheckProvider.m:30:57
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.
Steps to reproduce
Steps to reproduce the behavior:

Switch to ios directory and pod update
Install the package
Run the app and see the error

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.10, on macOS 13.3 22E252 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.77.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
animations: ^2.0.7
  awesome_snackbar_content: ^0.1.0
  badges: ^3.0.0-beta.1
  cached_network_image: ^3.2.3
  carousel_slider: ^4.2.1
  collection: ^1.17.0
  connectivity_plus: ^3.0.3
  cupertino_icons: ^1.0.2
  device_info_plus: ^8.0.0
  dio: ^5.1.1
  firebase_app_check: ^0.1.1+12
  firebase_auth: ^4.4.0
  firebase_core: ^2.9.0
  firebase_dynamic_links: ^5.0.14
  firebase_messaging: ^14.2.4

Closing this as a duplicate of https://github.com/firebase/flutterfire/issues/10694.
Kindly upvote the original issue.
Thank you


Add mediatype attribute data to generated metadata (#75)

Add mediatype attribute data to generated metadata

Actually merge with rightscale master (oops)

Co-authored-by: Geyer <>

@arangamani since you already approved the other one, can I merge this?


Update Pages “home”

Automatically generated by Netlify CMS

👷 Deploy Preview for shimmering-marigold-4f5b4a processing.

Name
Link

🔨 Latest commit
e539a713614a61da1ba0d394491e41891e823e8c

🔍 Latest deploy log
https://app.netlify.com/sites/shimmering-marigold-4f5b4a/deploys/6338078993a5bf00084af8fc


(gov) remove defikingdoms

Before submitting this PR, please make sure:

[X] Your code builds clean without any errors or warnings
[X] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:

Removed DeFiKingdoms connectors pursuant to https://snapshot.org/#/hbot.eth/proposal/0x70299258a513ab4fb7ad4dd106947fd017848470fc8ce63ba4eb41b91d0d755c

Tests performed by the developer:
Tips for QA testing:

I created new PR to remove zigzag and defikingdom without unnecessary changes
https://github.com/hummingbot/gateway/pull/161


Error while running python main.py

Hi, I got this traceback , although I have successfully installed the requirement.txt but: ~/workspace/nodegraphs/all_nodes$ python main.py
Traceback (most recent call last):
File "main.py", line 14, in
from all_nodes.analytics import analytics
File "/gate/homes/me/miniconda3/envs/py38/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 144, in _import
return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'all_nodes'
Please help how to resolve this issue? thanks

Hi! Thanks for raising this issue.
It seems to me that this package has not been added to your PYTHONPATH variable before running main.py
For that, if in WINDOWS, you could do the following:
Lets assume your all_nodes is in the folder D:\python\all_nodes. You would do in your terminal
set PYTHONPATH=D:\python;%PYTHONPATH%

Or, even easier, to just the parent directory of where the all_nodes is
set PYTHONPATH=D:\python\..\;%PYTHONPATH%

If in Linux, you would set the env variable like this:
https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-environment-variables-in-linux/
Cheers!

Thanks that solved it!


Move the extension pack to .NET 8

Also bump the version of the extension and update the changelog
Similar to the prior changes #393 and #394 for .NET 7 move

Thanks @colombod - addressed your feedback. Can you please approve if the changes look good to you?

this is the PR in .NET Interactive to release .NET 8 support https://github.com/dotnet/interactive/pull/3336

/azp run


Unrecognized Selector on label property

I have the following code in my app:
dispatch_async(dispatch_get_main_queue(), ^{ MBProgressHUD *hud = [MBProgressHUD HUDForView:self.view]; hud.label.text = @"Authenticating"; [hud showAnimated:YES]; });
Which results in the following:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MBProgressHUD label]: unrecognized selector sent to instance 0x7fa0d33f00b0'
I recently upgraded to v1.0 and previously my code was re-using a single hud and would show/hide and update the label text appropriately. After updating to v1.0 I can't for the life of me get this to work. I've even tried changing the way I was accessing the reusable hud from self.hud to what you see in the above code snippet.
It seems the only way I can get the label text to work is to use the deprecated labelText approach.

Are you sure you are linking the new MBProgressHUD.m and that the old one was replaced?

Yeah, it was really strange. While I was debugging and stepping my code I could see that the label object was there but when the code attempted to reference it I would get the above error. Now with that in mind, since I was using a reusable hud variable (instance object on my class), is the HUD removed as a subview when it's hidden? Not sure if that would make a difference. Also, I had just upgraded to cocoapods 1.0, and was experiencing other issues that seemed related to the upgrade. So perhaps it was still trying to link to the older MBProgressHUD library.
BTW, I've got it all working now, using this code:
MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; hud.label.text = @"Authenticating";
So I guess long story short, maybe we close the issue and if I experience it again I will try to come up with a more concrete example.
Thank you,
Travis

Also encountered this problem.
It is indeed cause by lib from cocoapods still linked the old MBProgressHUD.m, not knowing why and didn't look into it...
Clean the Project, Delete the Pods folder and Podfile.lock file, and do a pod install solve it

Same issue happened with my project. rm -r Pods/MBProgressHUD, clean the project and pod install solve it.


Add bolt variable support

Add support for passing variables to the Bolt commands being executed.

Parameter support has been added.


Define m_secmarker_skipped as an integer type

There's no reason to treat this this as a double, since it represents a human-readable data value that is only meaningful as an integer. In doing so we write cleaner audit logs and save a small amount of space.

Hi @p0pr0ck5,
Thanks for the patch. Indeed no need do show the decimal part to the user. However, I am afraid this patch will not write a cleaner audit logs or save any considerable amount of space as this specific variable is only used in the debug logs.
As a matter of fact, as of 6f92c8914a822f440b2280802b408a1c2e4c66c2 this variable is complete disable if ModSecurity is compiled without the debug logs.
m_secmarker_skipped Life Cycle

declared here:
https://github.com/SpiderLabs/ModSecurity/blob/a1b6cceb65978c76271e22d41d4a380b381f7caa/headers/modsecurity/rules.h#L83

initialized here:
https://github.com/SpiderLabs/ModSecurity/blob/a1b6cceb65978c76271e22d41d4a380b381f7caa/headers/modsecurity/rules.h#L51
https://github.com/SpiderLabs/ModSecurity/blob/a1b6cceb65978c76271e22d41d4a380b381f7caa/headers/modsecurity/rules.h#L57

incremented here:
https://github.com/SpiderLabs/ModSecurity/blob/a1b6cceb65978c76271e22d41d4a380b381f7caa/src/rules.cc#L185

displayed here:
https://github.com/SpiderLabs/ModSecurity/blob/a1b6cceb65978c76271e22d41d4a380b381f7caa/src/rules.cc#L188-L189

reset here:
https://github.com/SpiderLabs/ModSecurity/blob/a1b6cceb65978c76271e22d41d4a380b381f7caa/src/rules.cc#L191

As you can see, all those references are related to the debug logs. Let me know if you have any further question.


[druid] fix 'Unorderable types' when col has nulls

Error "unorderable types: str() < int()" occurs when grouping by a
numerical Druid colummn that contains null values.

druid/pydruid returns strings in the datafram with NAs for nulls
Superset has custom logic around get_fillna_for_col that fills in the
NULLs based on declared column type (FLOAT here), so now we have a mixed
bag of type in the series
pandas chokes on pivot_table or groupby operations as it cannot sorts
mixed types

The approach here is to stringify and fillna('') to get a
consistent series.
Related: https://github.com/apache/incubator-superset/issues/3029

Codecov Report

Merging #4771 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #4771      +/-   ##
=========================================
+ Coverage   72.59%   72.6%   +<.01%
=========================================
  Files         205     205
  Lines       15401   15406       +5
  Branches     1183    1183
=========================================
+ Hits        11180   11185       +5
  Misses       4218    4218
  Partials        3       3

Impacted Files
Coverage Δ

superset/connectors/druid/models.py
81.73% <100%> (+0.11%)
: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 92230b8...5e4888a. Read the comment docs.

Merging onto https://github.com/apache/incubator-superset/pull/4651


Normalize image before inference

Thanks for the helpful repo!
When using the pretrained models, should I normalize the image tensor before feeding it to the model?
For training, COCODataset applies the usual Normalize transform (code) when loading images. The config files also include NormalizeTensor steps in train_pipeline and val_pipeline, though that part of the config doesn't appear to be used in this repo.
On the inference side, however, the inference.py script only scales the image input to [0, 1], without normalizing (code). Is that a bug, or am I missing something?

Hello, thanks for your interest and for the bug report, I agree the preprocessing is different in inference, the original implementation I built on (https://github.com/jaehyunnn/ViTPose_pytorch) seems to contain this bug and I did not notice.
Should be fixed with c8a7a1460170e83a8120c1b9cf691776c6379b88, I inspected the inference results visually and they improve. I referenced this issue on the original implementation.

Feel free to close once you verify this fix works correctly for you as well!

Great, thanks for the quick response! The fix looks correct to me. I'm using the ViTPose model directly, so I'm happy to have confirmation on what preprocessing I should do.


The book now page under destination tab needs design change

The book now page under destination tab needs design change. It feels basic and needs the design elements of the overall website. Please assign me this under GSSOC'24. I have experience in UI designing and CSS. Here is a screenshot of the following.

@Anshravicode89 please try to raise issues with the help of the issue templates properly so that it will be more understandable


Fix UDP Socket Binding Issue on Linux for IPv4 and IPv6

On Linux, when using UDP sockets, both IPv6 and IPv4 addresses are bound to the same socket by default. This can cause issues when sending and receiving packets across different address families. Specifically, if we receive a packet from an IPv4 address, attempting to send a response using an IPv6 address fails.
Fixes #581

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

Project coverage is 76.12%. Comparing base (99a5d13) to head (5da2f7d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #582      +/-   ##
==========================================
+ Coverage   75.82%   76.12%   +0.29%
==========================================
  Files          73       73
  Lines        5915     5918       +3
==========================================
+ Hits         4485     4505      +20
+ Misses       1045     1033      -12
+ Partials      385      380       -5

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

@coderabbitai review


Ability to generally get UserData from the auth state

Feature request: Ability to generally get UserData from the auth state
Version info
Angular: 2.0.1
Firebase: 3.4.0
AngularFire: 2.0.0-beta.5
Use case
If I have multiple ways to authenticate, when pulling the user data from the auth state I have to specify each provider case by case. Why don't have a general object from where to pull the user info?
Here is what I mean - line 33
https://github.com/youpage/angular2-firebase/blob/master/src/auth/services/auth-service.ts
Expected behavior
Should be able to do authState.info.displayName.
Actual behavior
Now I have to do that for each provider:
authState.auth.displayName OR authState.google.displayName OR authState.facebook.displayName
Thank's

@youpage, isn't auth in authState.auth.displayName that general object that you are requesting for? The auth object is provider independent and has all properties like displayName, photoURL, etc.

I thought the same, but
it doesn't add up the properties from other providers, it looks like is just for the User&Password Auth.
In the provided sample when I log in with google, the photoURL is null in the auth object.

It looks like, based on the API reference, that there is already common info shared across the provides, including uid, displayName, email, and photoURL. It also looks like we're including that pretty much verbatim.
If you're not seeing that, please provide a minimal repro demonstrating the bug, so we can verify and fix!


Extends yii\base\ErrorHandler.php code

Disclaimer: I not sure if this is a bug or just system normal work. Even that, i think that base question was:
How can i extend or modify yii response when i get error 500 or other errors than dont go to normal errorHandler?
What steps will reproduce the problem?
Try to extends yii\base\ErrorHandler with code:
web.php
'errorHandler' => [
            'class' => 'app\base\MiError',
            'errorAction' => 'site/error',
        ],

MiError class
<?php
namespace app\base;

use Yii;
use yii\base\ErrorHandler;

abstract class MiError extends ErrorHandler
{
    protected function handleFallbackExceptionMessage($exception, $previousException)
    {
        exit('funciona!');
    }

}

What is the expected result?
Extends behaviour of yii\base\ErrorHandler (i need to modifiy error 500 code)
What do you get instead?
2018/03/21 06:48:16 [error] 988#988: *9 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught yii\di\NotInstantiableException: Can not instantiate app\base\MiError. in framework/vendor/yiisoft/yii2/di/Container.php:372
Stack trace:
#0 framework/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('app\\base\\MiErro...', Array, Array)
#1 framework/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('app\\base\\MiErro...', Array, Array)
#2 framework/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yii\BaseYii::createObject(Array)
#3 framework/vendor/yiisoft/yii2/base/Module.php(742): yii\di\ServiceLocator->get('errorHandler', true)
#4 framework/vendor/yiisoft/yii2/web/Application.php(151): yii\base\Module->get('errorHandler')
#5 framework/vendor/yiisoft/yii2/base/Application.php(347): yii\web\Application->getErro" while reading response header from upstream, client: <IP_ADDRESS>, server: erp.garrampa.local, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-erp.garrampa.local.sock:", host: "erp.garrampa.local"```

### Additional info

| Q                | A
| ---------------- | ---
| Yii version      | 2.0.14
| PHP version      | 7.2.3
| Operating system | CentOS

Yii tries to catch fatals but it cannot handle all possible cases. That's PHP limitation.

@samdark question here is: is there any way of extends yii\base\ErrorHandler ? (or any yii base class)

Sure. These are all components. You can extend from it and then re-configure Yii via components section in the config. It's in the guide, I think.

@macklus There is no problem to extends a ErrorHandler. Your example fails because you are using a abstract class.

The solution to all this is to replace "use yii\base\ErrorHandler" with "use yii\web\ErrorHandler" because "yii\web\ErrorHandler" extends already from "yii\base\ErrorHandler". It would be like this:
<?php
namespace app\base;

use Yii;
use yii\web\ErrorHandler;

abstract class MiError extends ErrorHandler
{
    protected function handleFallbackExceptionMessage($exception, $previousException)
    {
        exit('funciona!');
    }

}

The rest everything the same.

@ValiSum , @macklus . You cannot instantiate an abstract class. It's a OOP rule.
A concrete class must be provided in config.
Just remove the abstract keyword before class definition.

Sorry @berosoboy . I forgot to remove that too. It would remain like this:
<?php
namespace app\base;

use Yii;
use yii\web\ErrorHandler;

class MiError extends ErrorHandler
{
    protected function handleFallbackExceptionMessage($exception, $previousException)
    {
        exit('funciona!');
    }

}


Add stripe checkout

This PR integrates Stripe checkout for publishing of modules. This is a WIP.
My understanding of how Stripe Checkout works is the following:

api/checkout_sessions creates the Stripe Checkout session to fulfill the payment.
When Checkout completed, the user gets returned to whatever success link on R=
When Stripe completes the payment, it can send information to a webhook (e.g., api/stripe_webhook in this diagram)
api/stripe_webhook then completes the publication of the module on the relevant license

Note that payment completes instantaneously for some payment options, and is delayed for others.
Todo

[x] Add session creation
[x] Add checkout session request handling
[x] Add webhook for payment completion
[ ] Update module database for pending publications (payment ongoing, webhook not received)
[x] Add price_id to licenses
[ ] Add customer_id to User
[x] Figure out tax id collection
[ ] Retrieve customer_id upon signup for user based on email?

Resources

Stripe Checkout Quickstart
Handle delayed notifications
Webhooks

Payment pipeline is ready to go 😊
https://user-images.githubusercontent.com/2946344/147769313-be8bf1c9-98e6-4eb2-abbb-bffbccb430a6.mp4

Note that this PR adds a few environment variables to the mix:
DOI_PREFIX
STRIPE_SECRET_KEY
STRIPE_PUBLISHABLE_KEY
STRIPE_WEBHOOK_SECRET

It also requires setting up the payment webhook on Stripe's end.

Apple Pay needs a bit more setup to be supported, so will open an issue for that.

Now includes database seeding of prices for both production and testing modes 😊 The specific seed is dependent on the ALGOLIA_PREFIX being production or not.


Fixes #2042: Add a small "Take Nutrition Photo" and "Take Ingredient …

…photo" to the first tab when ingredent and/or nutrition photo are missing
Description
Prompts were added to the summary tab for adding images of ingredients and nutrition facts of a product, if no image has already been uploaded for each.
Related issues and discussion
#fixes #2042
Screen-shots, if any

@subhanjansaha  Also consider adding comments explaing what you did so that the code is well documented. It is not compulsory but it would be a good practice.


Getting Started in pt-BR

There are a lot of people using detox in Brazil but there are other people that would like to use it and They don't understand English.
We thought about translating the part of "Getting Started" for They to start using detox
So we’ve been working on this translation to help the community
Can We open a PR with this content ?

Hello,
Thank you for your offer!
Unfortunately, this is not something we can maintain in the long run (we are strained maintaining the English documentation). I think this effort would be better spent in creating a blog post or a website, and spreading it in your community. We can then link to that page.
Thanks


Fix typo in application.go (marathin -> marathon).

Super unspectacular PR that fixes a tiny typo in application.go.

everything help's :-)
merging :+1:


IndexError: list index out of range

Bug report
Your Environment

Netflix add-on version:
Operating system version/name: CoreELEC latest nightly
Device model:  S905X3 SOC (X96 Max Plus)

Used Operating system:

[ ] Android
[ ] iOS
[x] Linux
[ ] OSX
[ ] Raspberry-Pi
[ ] Windows

Describe the bug
Hi, since a few days I often get the error "IndexError: list index out of range" while I don't even use the (really great) Netflix app.
When I am activly using the Netflix app (in foreground) i don't get any errors and everything is working pretty well.
It's not a real problem, just annoying.
One thing that could be helpful is, that i placed a Netflix widget on my homescreen, so maybe this triggers the error.
Expected behavior
The error should not happen
Steps to reproduce the behavior

Install the app
Just start Kodi normally, the exception happens at some point when Netflix is running in the background

Debug log
2020-04-06 00:08:25.079 T:2968376192   ERROR: [plugin.video.netflix (11)] Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 182, in run
                                                route([part for part in g.PATH.split('/') if part])
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 33, in lazy_login_wrapper
                                                return func(*args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 68, in route
                                                execute(_get_nav_handler(root_handler), pathitems[1:], g.REQUEST_PARAMS)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/navigation/__init__.py", line 27, in execute
                                                executor(pathitems=pathitems)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/common/logging.py", line 133, in timing_wrapper
                                                return func(*args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/navigation/directory.py", line 97, in video_list
                                                list_id = api.list_id_for_type(menu_data['lolomo_contexts'][0])
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/cache.py", line 108, in wrapper
                                                output = func(*args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/api/shakti.py", line 202, in list_id_for_type
                                                list_id = list(root_lists().lists_by_context(list_type))[0][0]
                                            IndexError: list index out of range

a few lines later...
2020-04-06 00:08:28.306 T:3441341312   ERROR: GetDirectory - Error getting plugin://plugin.video.netflix/directory/video_list/continueWatching/continueWatching/?genre_id=None&reload=20200405220738

Additional context or screenshots (if appropriate)
Installation

[ ] I'm using other Netflix Repo
[ ] I'm using a different source
[x] I'm using the CastagnalIT repo

Before is needed to remove all the widgets, and check if no error occours again
widgets can perform bad unexpected access to addon, and are not really supported by this addon

All right, i will disable it and report if the error still happens after that

Yeah indeed it seems to be the widgets.
Can be closed


python310Packages.oslo-context: 5.0.0 -> 5.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.oslo-context is: Oslo Context library
meta.homepage for python310Packages.oslo-context is: https://github.com/openstack/oslo.context
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.1.0 with grep in /nix/store/bh6klrnypn3b582mrxv4dfkp07zwyhcw-python3.10-oslo.context-5.1.0
found 5.1.0 in filename of file in /nix/store/bh6klrnypn3b582mrxv4dfkp07zwyhcw-python3.10-oslo.context-5.1.0

Rebuild report (if merged into master) (click to expand)

13 total rebuild path(s)

13 package rebuild(s)

First fifty rebuilds by attrpath
manilaclient
python310Packages.oslo-context
python310Packages.oslo-db
python310Packages.oslo-log
python310Packages.python-manilaclient
python310Packages.subunit2sql
python310Packages.tempest
python311Packages.oslo-context
python311Packages.oslo-db
python311Packages.oslo-log
python311Packages.python-manilaclient
python311Packages.subunit2sql
python311Packages.tempest

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bh6klrnypn3b582mrxv4dfkp07zwyhcw-python3.10-oslo.context-5.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.oslo-context https://github.com/r-ryantm/nixpkgs/archive/ba333178e7fde383d56a8fee6b1e251147f70739.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bh6klrnypn3b582mrxv4dfkp07zwyhcw-python3.10-oslo.context-5.1.0
ls -la /nix/store/bh6klrnypn3b582mrxv4dfkp07zwyhcw-python3.10-oslo.context-5.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages marked as broken and skipped:

python311Packages.oslo-db
python311Packages.subunit2sql

5 packages failed to build:

python310Packages.tempest
python311Packages.oslo-context
python311Packages.oslo-log
python311Packages.python-manilaclient
python311Packages.tempest

5 packages built:

manilaclient (python310Packages.python-manilaclient)
python310Packages.oslo-context
python310Packages.oslo-db
python310Packages.oslo-log
python310Packages.subunit2sql

Maintainer pings
cc @emilytrau @SuperSandro2000 for testing.

@ofborg build python310Packages.tempest

tempest will be fixed by #217657 python 3.11 is not yet supported by openstack


allow to filter features by their names

Sometimes it is useful to check coefficients only for some of the features. For example, here (scroll down to "What are important features?") one may want to check how e.g. query:... features affect the result, without looking at all other features. This also can be helpful when adding a new feature.
What about adding 'feature_re' or 'feature_patterns' argument to explain_weights functions?

Yeah, that's useful! Let me add this.


fix: append v2 to module name

PR summary
Updated the SDK module name and appended /v2 as part of moving to release 2.0. Also picked up latest dependencies.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 2.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add deletion and raw http endpoint urls for Webhooks

WHY are these changes introduced?
I couldn't add a webhook, because it insists on making all HttpDelivery webhooks a path of Context::$HOST_NAME (which was myshop.myshopify.com), and I wanted a webhook on my server.
    public function getCallbackAddress(string $path): string
    {
        return 'https://' . Context::$HOST_NAME . '/' . ltrim($path, '/');
    }

I also couldn't delete a webhook.
WHAT is this pull request doing?
Added a new enum to Webhooks::Registry::register
            case self::DELIVERY_METHOD_RAW:
                $method = new HttpDeliveryRaw();
                break;

which doesn't try and get smart with the provided url
    public function getCallbackAddress(string $path): string
    {
        return $path;
    }

To allow deletion of webhooks with the maximum code re-use, I modified Webhooks::Registry::register to equate an empty $path with a request to delete the webhook.
        if (empty($path) && $webhookId) {
            $body = self::sendDeleteRequest(
                $client,
                $topic,
                $callbackAddress,
                $method,
                $webhookId
            );
            $registered = $method->isSuccess($body, $webhookId);
            return new RegisterResponse($registered, $body);
        }

Type of change

[ ] Patch: Bug (non-breaking change which fixes an issue)
[X] Minor: New feature (non-breaking change which adds functionality)
[ ] Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[X] I have added a changelog entry, prefixed by the type of change noted above
[-] I have added/updated tests for this change

There are no existing tests for DELIVERY_METHOD_HTTP, so no reason to add any for DELIVERY_METHOD_RAW
Possibly there should be a test written for the deletion functionality, and I will do so if this PR receives tentative approval.

[ ] I have updated the documentation for public APIs from the library (if applicable)
There's documentation?

because it insists on making all HttpDelivery webhooks a path of Context::$HOST_NAME

I also have this problem. Why does it do that?! Maybe an easier (with a smaller footprint) fix would be to try to detect http in the path?

Because it's retarded.
Making a clever fix like you suggest is how I would normally solve the problem myself, however with production code it is best not to change the behavior of existing functions.

I have signed the CLA!


Updated build guide for our latest processes

closes #66

Updated build guide for our latest processes
Additions

links to sample gruntfile in generator-cf
links to sample setup.sh in generator-cf

Removals

None

Changes

updates name of bootstrap script to setup.sh

Review

@cfpb/front-end-team-admin

Preview this PR without the whitespace changes
Notes

link to setup.sh won't actually work till that PR is merged, but figured it was easier to just set it once

Other than my question above, this looks a-ok to me.


Adding Dollar Shave Club

Thanks! Let us know what we can do to facilitate this merge.

@jakiestfu awesome, thanks!

Rad, appreciate it @jpadilla! :beers:


feat: enable wallet linking and guest mode for ecosystem wallets

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
The focus of this PR is to enable wallet linking and guest mode for ecosystem wallets.
Detailed summary

Enabled wallet linking and guest mode for ecosystem wallets
Updated WalletAuth component to accept EcosystemWalletId
Added walletConnect prop to various components
Added GuestLogin component for guest login functionality

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4740  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @joaquim-verges and the rest of your teammates on  Graphite


using an .env file

Hi,
I have added a .env file to pull in my firebase API key (FIREBASE_KEY) to the root of my project but I cannot get the variable out using process.env.FIREBASE_KEY. how do I go about doing this?

const dotenv = require('dotenv')
dotenv.config() // before process.env.FIREBASE_KEY is accessed

I'm actually working on a bigger PR to support this properly across all features / modes of this template in #1178
hiayutsaipersonal has already gotten th important part - using dotenv, I just want to make clear that this only gets you the API key into the node process that's running (ie.e webpack), not into your app.
So to get it into your app, you would have to add it to /config/dev,ev.js:
require('dotenv').config()

module.exports = {
  NODE_ENV: '"development"',
  FIREBASE_KEY: JSON.stringify(process.env.FIRBASE_KEY)
}

Awesome thanks. Yes that last part is the bit I was missing to pass the param through.
Kind regards,
Simon Smale

On 27 Dec 2017, at 09:56, Thorsten Lünborg<EMAIL_ADDRESS>wrote:
I'm actually working on a bigger PR to support this properly across all features / modes of this template in #1178
hiayutsaipersonal has already gotten th important part - using dotenv, I just want to make clear that this only gets you the API key into the node process that's running (ie.e webpack), not into your app.
So to get it into your app, you would have to add it to /config/dev,ev.js:
require('dotenv').config()
module.exports = {
NODE_ENV: '"development"',
FIREBASE_KEY: JSON.stringify(process.env.FIRBASE_KEY)
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Chrome and other browsers blocking post submits on server.

Expected behaviour
On submit, it should work like it does on local machine and navigates back to page using PHP with the data.
Actual behaviour
On submit, the browser blocks it with this error:
[Deprecation] Resource requests whose URLs contained both removed whitespace (\n, \r, \t) characters and less-than characters (<) are blocked. Please remove newlines and encode less-than characters from places like element attribute values in order to load these resources. See https://www.chromestatus.com/feature/5735596811091968 for more details.
I've even tried removing the PHP code from the attributes and still gives me the error. I'm using WPE, which seems to always act different with some installs.
Datepicker version used
1.9.0
Example code

    <input id="blog_date_after" name="blog_date_after" type="text" class="form-control input-field after-date" value="<?php echo $_REQUEST['blog_date_after']; ?>" autocomplete="off" placeholder="<?php if(isset($_REQUEST['blog_date_after']) && $_REQUEST['blog_date_after'] != ''){ echo $_REQUEST['blog_date_after']; } else { echo 'Blogs with date after'; } ?>" />

    <input id="blog_date_before" name="blog_date_before" type="text" class="form-control input-field after-date" value="<?php echo $_REQUEST['blog_date_before']; ?>" autocomplete="off" placeholder="<?php if(isset($_REQUEST['blog_date_before']) && $_REQUEST['blog_date_before'] != ''){ echo $_REQUEST['blog_date_before']; } else { echo 'Blogs with date before'; } ?>" />

Issue was with the form action using this:
action="<?php echo htmlspecialchars($_SERVER[‘PHP_SELF’]); ?>"
changed it to
action=""
and it works


Trouble using Singleton pattern to re-use Client and Producer

Hi,
I'm trying to use a Singleton pattern to re-use a single instance of Client and Producer to send messages in a node application. I've found that if I do not do this, the Client and Producer objects remain active and consume significant CPU resources.
However, in my sample code below, the Producer ready event never seems to fire.
Any advice would be greatly appreciated!
import kafka from 'kafka-node'
import * as register from 'avro-schema-registry'
import config from 'config/api'

const TOPIC_NAME = 'my.topic'

let kafkaServiceInstance = null

class KafkaService {

  constructor() {
    this.client = new kafka.KafkaClient({ kafkaHost: config.services.kafka.host})
    this.registry = register(config.services.kafka.schemaRegistryHost)
    this.producer = new kafka.Producer(this.client)
    this.producer.on('ready', () => {
      console.log('Kafka Producer is connected and ready.')
      this.isReady = true
    })
    this.isReady = false

    this.producer.on('error', (error) => {
      console.error(error)
    })
  }

  sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms))
  }

  async sendRecord(record, schema, callback = () => {}) {
    let retries = 0

    while (!this.isReady && retries < 3) {
      retries += 1
      await this.sleep(100)
    }

    if (!this.isReady) {
      console.log('Kafka producer is not ready.  Try again later.')
      return false
    }

    this.registry.encodeMessage(TOPIC_NAME, schema, record)
      .then((msg) => {
        const payloads = [{
          topic: TOPIC_NAME,
          key: record.id,
          messages: msg,
        }]
        this.producer.send(payloads, callback())
      })

    return true
  }
}

export const getKafkaServiceInstance = () => {
  if (!kafkaServiceInstance) {
    kafkaServiceInstance = new KafkaService()
  }
  return kafkaServiceInstance
}

Sorry - it turns out there was an issue with the server that was causing this code to fail! This actually works. I hope it might be helpful for someone.


feat: human readable doc path

This change provides more human readable document urls. Instead of just adding the whole
url as the 'location' parameter as an urlencoded parameter. Now the 'real path' is taken:
Before:
http://docat.local/#/project/0.0.0/http:%2F%2Fdocat.local%2Fdoc%2Fproject%2F0.0.0%2Finstallation%2F

Now:
http://docat.local/#/project/0.0.0/installation/

lgtm :tada: thanks for your hard work


neo4j Docker: Wait for neo4j server to complete building indexes before switching to read-only mode

Statement of Problem
The start.sh script called by the Dockerfile for the neo4j server appears to set the mode for the server to read-only before the server has completed building indexes.
This seems to be an issue for Linux, but not Mac.
Likely solution
Add a wait loop that confirms that all indexes are complete before progressing.

@AlanSimmons A more fine-grained and reliable approach I can suggest is to monitor the startup logging. Let the start.sh output all the logging details from log/debug.log and when you see lines like below:
2024-08-01 16:30:57.823+0000 INFO  [o.n.b.p.c.c.n.SocketNettyConnector] Bolt enabled on <IP_ADDRESS>:7687.
2024-08-01 16:30:57.823+0000 INFO  [o.n.b.BoltServer] Bolt server started
2024-08-01 16:30:57.823+0000 INFO  [o.n.s.A.ServerComponentsLifecycleAdapter] Starting web server
2024-08-01 16:30:59.164+0000 INFO  [o.n.s.CommunityNeoWebServer] Remote interface available at http://localhost:7474/
2024-08-01 16:30:59.164+0000 INFO  [o.n.s.A.ServerComponentsLifecycleAdapter] Web server started.
2024-08-01 16:30:59.169+0000 INFO  [o.n.g.f.DatabaseManagementServiceFactory] id: 8B844E5E83F71F8E06C685C8B86755E3D9E2E14EF1B170FA76C4246768E05127

Then do a grep and see if there are any java errors with Caused by:. If NO errors, change to read-only mode.
Because even though the logging says the server is started, it's NOT guaranteed there's no java errors that prevent the normal lifecycle.
	at org.neo4j.kernel.impl.api.index.IndexingService.dontRebuildIndexesInReadOnlyMode(IndexingService.java:361) ~[neo4j-kernel-5.11.0.jar:5.11.0]
	at org.neo4j.kernel.impl.api.index.IndexingService.lambda$start$3(IndexingService.java:303) ~[neo4j-kernel-5.11.0.jar:5.11.0]
	at org.neo4j.kernel.impl.api.index.IndexMapReference.modify(IndexMapReference.java:48) ~[neo4j-kernel-5.11.0.jar:5.11.0]
	at org.neo4j.kernel.impl.api.index.IndexingService.start(IndexingService.java:281) ~[neo4j-kernel-5.11.0.jar:5.11.0]
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:348) ~[neo4j-common-5.11.0.jar:5.11.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:92) ~[neo4j-common-5.11.0.jar:5.11.0]
	at org.neo4j.kernel.database.AbstractDatabase.start(AbstractDatabase.java:162) ~[neo4j-kernel-5.11.0.jar:5.11.0]
	... 11 more
	Suppressed: org.neo4j.kernel.lifecycle.LifecycleException: Exception during graceful attempt to stop partially started component. Please use non suppressed exception to see original component failure.
		at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:355) ~[neo4j-common-5.11.0.jar:5.11.0]
		at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:92) ~[neo4j-common-5.11.0.jar:5.11.0]
		at org.neo4j.kernel.database.AbstractDatabase.start(AbstractDatabase.java:162) ~[neo4j-kernel-5.11.0.jar:5.11.0]
		at org.neo4j.dbms.database.DatabaseLifecycles.startDatabase(DatabaseLifecycles.java:123) [neo4j-5.11.0.jar:5.11.0]
		at org.neo4j.dbms.database.DatabaseLifecycles.initialiseDefaultDatabase(DatabaseLifecycles.java:89) [neo4j-5.11.0.jar:5.11.0]
		at org.neo4j.dbms.database.DatabaseLifecycles$DefaultDatabaseStarter.start(DatabaseLifecycles.java:185) [neo4j-5.11.0.jar:5.11.0]
		at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:348) [neo4j-common-5.11.0.jar:5.11.0]
		at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:92) [neo4j-common-5.11.0.jar:5.11.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) [neo4j-5.11.0.jar:5.11.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:208) [neo4j-5.11.0.jar:5.11.0]
		at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:38) [neo4j-5.11.0.jar:5.11.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.11.0.jar:5.11.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.11.0.jar:5.11.0]
		at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:30) [neo4j-5.11.0.jar:5.11.0]
	Caused by: java.lang.NullPointerException: Cannot invoke "org.neo4j.scheduler.JobHandle.cancel()" because "this.usageReportJob" is null
		at org.neo4j.kernel.impl.api.index.IndexingService.stop(IndexingService.java:444) ~[neo4j-kernel-5.11.0.jar:5.11.0]
		at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:353) ~[neo4j-common-5.11.0.jar:5.11.0]
		... 13 more
2024-08-01 16:28:54.416+0000 INFO  [o.n.b.p.c.c.n.SocketNettyConnector] Bolt enabled on <IP_ADDRESS>:7687.
2024-08-01 16:28:54.417+0000 INFO  [o.n.b.BoltServer] Bolt server started
2024-08-01 16:28:54.417+0000 INFO  [o.n.s.A.ServerComponentsLifecycleAdapter] Starting web server
2024-08-01 16:28:55.363+0000 INFO  [o.n.s.CommunityNeoWebServer] Remote interface available at http://localhost:7474/
2024-08-01 16:28:55.363+0000 INFO  [o.n.s.A.ServerComponentsLifecycleAdapter] Web server started.
2024-08-01 16:28:55.367+0000 INFO  [o.n.g.f.DatabaseManagementServiceFactory] id: 8B844E5E83F71F8E06C685C8B86755E3D9E2E14EF1B170FA76C4246768E05127


Add bold highlights for section name comments %%

Is your feature request related to a problem? Please describe.
if you comment with %% in the begining of lines, Matlab editor will recognize it as a section divider, and mark the comment line with bold font. But in vscode there is no visual difference, and thus I find it hard to quickly locate the beginnings of different sections.
Describe the solution you'd like
As in Matlab editor does, make the comment line bold. Or highlight it with some bright colors, as other comment extensions of vscode does (Eg. better commments).
Additional context

Thanks for the request!
Note: This may be related to #69

This issue is duplicated with #69.


added re_formula and allow_new_levels

I modified the functions that obtain weights from MCMC outputs in weights_mcmc_lib.R to allow for situations when

the poststratification dataset does not have covariates that were included in the fitted model as random effects (e.g. poll random effect);

some categorical covariates in the poststratification dataset have more levels than in the survey dataset (e.g. not all US states are represented in the survey data)

Added content to examples

Fixed error in diagnostic script (ESS computation)


Newlines in url stopped working

The following yaml snippet isn't rendered properly
abc:
  - line1
  - line2

after being converted to url
https://carbon.now.sh/?code=abc%3A%0A%20%20-%20line1%0A%20%20-%20line2%0A

Everything after the first %0A character is discarded.  This breaks editor integrations.

@max-arnold can you please dig deeper into what you mean?
I did the following:

Pasted:

abc:
  - line1
  - line2

into Carbon
2. Copied the new URL that was generated
3. Opened a new tab with the just copied URL
4. And confirmed that it was rendered appropriately.
Which part of this is "broken" to you?

The broken part for me is the editor integration (https://github.com/veelenga/carbon-now-sh.el) which suddenly stopped working. I strongly believe that the integration itself is fine for two reasons:

I haven't changed anything in Emacs
Older carbon.now.sh urls that I found in my browser history also stopped working

The key to reproduce is not to paste manually anything into Carbon, but instead open the https://carbon.now.sh/?code= with urlencoded code.
An example of broken url: https://carbon.now.sh/?code=abc%3A%0A%20%20-%20line1%0A%20%20-%20line2%0A

Version 4.3.14 doesn't have this problem

I think this was broken by https://github.com/zeit/next.js/pull/9638/files.
CC'ing @timneutkens in case other apps are affected by this change.
I am holding the next dependency at 9.1.4 until I can investigate further

@max-arnold does version 4.3.16 (https://carbon-7z357teu2.now.sh) solve the issue for you?

@mfix22 4.3.16 works for me. Thank you Michael!

@max-arnold I am going to keep this open until we either fix it on our end, or it is solved here: https://github.com/zeit/next.js/issues/10066

@timer potentially this can be fixed on our end, but I wanted to tag you in case it was a regression.

Yup, I plan on investigating soon to figure out the correct/intended behavior.


Model just solved RAS accounting problem correctly

It's so amazing I'm flabbergasted. How did you do it.

And yes it solved it in Russian
Model A: deepseek-coder-v2
Just wtf


Falling rocks should roll off any solid tile

Repro board: CMAsGAJAgCwYAoCALBgDAIAsGALAg

Stabilized board:

Currently falling rocks only slide off of other rocks. This was originally designed behavior but after playing with it it seems arbitrary and strange. Falling rocks should slide off any solid tile.

Fixed by #7


updated description of parameter ID in .ProjectResourceNew

description of the paramter ID in in .ProjectResourceNew was wrong (looks like copy&paste from .ProjectBeforeResourceNew). This description should be more precise here.

Hi @macmeck, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

...and updated the remark on event not being fired.


**** No Code, now available on Google Play Store ****

Finally! "No Code" is now available on Android platform!
You can download "No Code" app from Google Play.

100% devices compatibility!
secure coding
no ads
no registration required

link: https://play.google.com/store/apps/details?id=com.secure.nocode.nocode

SHA256 :
MD5:
Thank you!

App installed.
It's perfect, no issues on P9.
5 stars.

Now pull req


Two instances of VS Code running - If file is not saved and opening the same file again

VSCode Version: 1.91
OS Version: Windows 10 Version 1607 (OS Build 14393.693)

Steps to Reproduce:

Open a File using code
Modify the file, don't save it. And close VSCode.
Now open the same file again - It will display two VS Code instances.

Here is the screenshot

https://github.com/Microsoft/vscode/issues/16820


Robust WebSocket sync server

Another stab at a sync server.
This was prompted by

React native not supporting server sent events
People wanting to use PartyKit
Needing a configurable DB provider on the client for different environments. E.g., browser, react-native, electron, ...
The existing ones being too hard to use in custom deployments

This PR started via syncing through PartyKit but the lack of being able to persist to disk in PartyKit is currently a blocker so this has been switched to native websockets.
Note: we can actually sync through partykit without persistence similar to how we do the p2p webrtc sync. It is pretty complex to do efficiently and is something I'll write about another time.
Users can easily add the Websocket server to their existing node/express/hapi/whatever servers like so:
const app = express();
const server = http.createServer(app);

attachWebsocketServer(server, {
  dbFolder: "./dbs",
  schemaFolder: "./src/schemas",
  pathPattern: /\/sync/,
});

server.listen(port, () => console.log("info", `listening on port ${port}!`));

Clients need to implement a dbProvider to bind sync routines to correct SQLite calls on their platform.
export interface DB {
  readonly siteid: Uint8Array;
  pullChangeset(
    since: readonly [bigint, number],
    excludeSites: readonly Uint8Array[],
    localOnly: boolean
  ): PromiseLike<readonly Change[]>;
  applyChangesetAndSetLastSeen(
    changes: readonly Change[],
    setId: Uint8Array,
    end: readonly [bigint, number]
  ): PromiseLike<void>;

  getLastSeens(): PromiseLike<[Uint8Array, [bigint, number]][]>;
  getSchemaNameAndVersion(): PromiseLike<[string, bigint]>;

  /**
   * Allow the sync layer to observe when the database changes as a result
   * of non-sync events.
   */
  onChange(cb: () => void): () => void;

  close(closeWrappedDB: boolean): void;
}

Users no longer need to fiddle with site_id or uuids. They can specify regular file names and site_id stuff is abstracted away from them.
TODO:

Always pass site id so this works for more than client-server setups and works in any topology
Use all excludes not one exclude for siteid filters
Add compression to the networking layer
Variable length encoding of bigint types
test cases!

This'll be the template for the #38 - native networking layer.


Using az webapp config appsettings set from Powershell results in python error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp config appsettings set
Errors:
not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
azure/cli/core/util.py, ln 244, in shell_safe_json_parse
    return json.loads(json_or_dict_string)
lib/python3.7/json/__init__.py, ln 348, in loads
    return _default_decoder.decode(s)
lib/python3.7/json/decoder.py, ln 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lib/python3.7/json/decoder.py, ln 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

...

cli/command_modules/appservice/custom.py, ln 192, in update_app_settings
    setting_name, value = s.split('=', 1)
ValueError: not enough values to unpack (expected 2, got 1)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp config appsettings set --name {} --resource-group {} --settings {} {}

Expected Behavior
Environment Summary
Darwin-18.7.0-x86_64-i386-64bit
Python 3.7.4
Shell: bash

azure-cli 2.0.72

Additional Context

This is not specific to webapp commands make sure you escape the parameters correctly when using CLI commands in Powershell. @qwordy do you have any tips on using CLI comamnds with Powershell?

Could you provide the concrete command you run? Thanks.

This is not specific to webapp commands make sure you escape the parameters correctly when using CLI commands in Powershell. @qwordy do you have any tips on using CLI comamnds with Powershell?

I guess the user adds space around '='.

@n3rd253 please re-activate this if you are still having trouble - also make sure before you reactivate you follow the suggestions @qwordy stated above plus give us more info (concrete command you are using). Thanks!


feature request - recovering material

Would it be possible to have a feature that allow a recipe to work the other way around?
for example, if the recipe asks for certain ingredients to produce an item, would it be possible to have a button that from that same recipe allows to get back the original ingredients? maybe with a percentage of risk to lose part of them?

Well everything is possible but its unlikly that i will work on it as this will make a lot of trouble.
Currently, the result and the ingridients are not symetric.
E.g. you have results that do not work as input e.g. RollTables. And you have input that does not work as output e.g. anyOf.
I will keep it in mind but do not expect anything. First of i would have to work towards symetry.


Invalid value of '@storybook/react' in the 'framework' field of Storybook config.

Hi,
When trying to run yarn storybook, it gives the following error:
`WARN Storybook will use the first one found and ignore the others. Please remove the extra files.
SB_CORE-COMMON_0002: Invalid value of '@storybook/react' in the 'framework' field of Storybook config.
Please run 'npx storybook@next automigrate' to automatically fix your config.
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api
at validateFrameworkName (./node_modules/@storybook/core-common/dist/index.js:52:4177)
at buildDevStandalone (./node_modules/@storybook/core-server/dist/index.js:116:1467)
at async withTelemetry (./node_modules/@storybook/core-server/dist/index.js:101:4155)
at async dev (./node_modules/@storybook/cli/dist/generate.js:502:401)
at async Command.<anonymous> (./node_modules/@storybook/cli/dist/generate.js:504:225)

WARN Broken build, fix the error above.
WARN You may need to refresh the browser.'`
Anybody experiences the same issue or already found an answer to this?

I think the issue you are seeing is as a result of an issue with the configuration of your storybook project. Specifically, it's complaining about an invalid value in the 'framework' field of your Storybook config. To resolve this issue, you can follow the suggested steps:
Run the npx storybook@next automigrate command as suggested in the error message. This command will attempt to automatically fix your Storybook configuration:
After running the automigrate command, it should attempt to update your Storybook configuration to be compatible with the new framework API. Make sure to carefully review the changes it makes to your configuration.
If the automigrate command doesn't resolve the issue or if you want to manually update your configuration, you should check your Storybook configuration file (typically named .storybook/main.js or similar) for the 'framework' field. Ensure that you have specified the correct framework, which should be '@storybook/react' if you are using React as your framework.
for example:
module.exports = {
// Other configuration options...
core: {
builder: "webpack5",
},
framework: "@storybook/react", // Make sure this is set correctly.
};
After making these changes, try running yarn storybook again. Hopefully, the error will be resolved, and Storybook should start without any issues.
Hopefully that helps


Create script for finding ids

Creating controller schemas is easier and more accessible now.

The reviewers did not express a willingness to conduct the review.


Added flags for using local images in sandbox

TL;DR
Currently, we always pull images from the registry but there are some cases where we want to use local images.
Small use case -
In flyte repo I want to test sandbox images before releasing them, For every pr, we don't push images, Those images are only available in the local registry.
Test:
~/workspace/flyteorg/flytectl on feature/use-local-sandbox-images *26 +3 !4 ?13 > go run main.go sandbox start --image test --local
🧑🏭 Bootstrapping a brand new flyte cluster... 🔨 🔧
delete existing sandbox cluster [y/n]: y
🐋 pulling docker image for release test
🧑🏭 booting Flyte-sandbox container
92021-11-12T09:59:59.047262600Z Starting Docker daemon...
%2021-11-12T10:00:08.046167300Z Done.
72021-11-12T10:00:08.046316000Z Starting k3s cluster...
%2021-11-12T10:00:20.083077100Z Done.
^Csignal: interrupt

~/w/flyteorg/flytectl on feature/use-local-sandbox-images *26 +3 !4 ?13 > go run main.go sandbox start --image test
🧑🏭 Bootstrapping a brand new flyte cluster... 🔨 🔧
delete existing sandbox cluster [y/n]: y
🐋 pulling docker image for release test
Error: Error response from daemon: pull access denied for test, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
exit status 1

Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/

Local is still a registry .
If we are trying to use cached image then should that be driven through a docker image pull policy instead of this explicit local flag

@EngHabu In this implementation user need to define pull policy in integer. Correct ?


JavaScript port?

I'm currently using the amazing LSEQ CRDT in a collaborative editor, and the new-ish JSON CRDT has me really excited. I'm trying to start on a port to JavaScript, but I'm afraid despite my CS background, the paper's notation is beyond me 😆
I would love to include this in an upcoming talk I'm giving on Collaborative Editing.
Since I'm basically a n00b to Scala and Haskell, what resources would you recommend for wrapping my head around this? Or better yet, would you (or someone else really familiar with the datatype) be interested in collaborating on a JS port?

The project does build a Scala.js module but I'm not sure if it's usable from JS.

Right, if I understand correctly, Scala.js just helps if you want to right the host app in Scala too, as opposed to just transpiling a Scala lib for use in native JS. I gave it a shot a couple days ago without much success :)

Scala.js code can be used from a JS host environment as long as what you want to use is exported https://www.scala-js.org/doc/interoperability/export-to-javascript.html
That said, I have no idea if the code base is annotated in any way.

Because the crjdt is implemented in Scala, I learned the language and love it now. Check out Martin's Coursera course and Haoyi's Hands-on. Regarding language design and elegance I think Scala is superior to JavaScript. In this gist I have some ugly code of a collaborative textfield using crjdt.

I'd love to see ports to other languages and would encourage you to do this. Unfortunately I lack the free time and experience with JavaScript for collaborating on a JS port. I agree that the notation of the paper is a little bit off-putting and understanding the whole data type without much type information can be hard (at least it was for me).
Btw, the code has no @JSExport annotations again because of unfamiliarity with JS and Scala.js. I'd happily merge a PR if someone wants to contribute this.
@Tamriel Your gist is great! This is AFAIK the first demo using crjdt!

@fthomas I will try the annotations method for a stop gap, but I would definitely love to create a first-class native JS implementation. If you do happen to come across some free time, let me know — even just walking through your understanding of the algorithm would help me immensely! No JS experience necessary :)

Have a look at automerge.

I agree the notation used in paper is the biggest obstacle preventing more implementations (in different languages) of the great ideas published in this paper to exist. I personally also struggle to understand it properly. I've created a question on Computer Science Stack Exchange site (here: https://cs.stackexchange.com/questions/83770/help-understand-the-notation/85376) to clarify the notation, and some of the points were already answered there. Unfortunately, the still unanswered questions are crucial for proper understanding, and, apparently, it requires a deep familiarity with the paper to answer them, according to the people who posted some answers already.
It would be great if someone who made his way through the notation to chime in and post an answer for the reward of imaginary internet points and my (and probably other people's) gratitude. :) @fthomas any chance you could give it a shot some time in future?


model size

Hi, I download the model.zip,
Look like the LMTCNN-2-1 model size is around 60MB, but in a paper it  reported 30MB
Thanks

@pribadihcr  it's because that this is the model size of .pb file which is a frozen model in the paper.
I will upgrade the models in next week. Thank you very much.


Publish

Docs Build status updates of commit b775124:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/excel-add-ins-error-handling.md
:white_check_mark:Succeeded
View

docs/outlook/outlook-on-send-addins.md
:white_check_mark:Succeeded
View

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit b775124:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/excel-add-ins-error-handling.md
:white_check_mark:Succeeded
View

docs/outlook/outlook-on-send-addins.md
:white_check_mark:Succeeded
View

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Update config.yaml

Added environment Variables:
Line 56 "unsafe_ignore_certificate_errors"
Line 57 "use_image_magick"

Doesn't work


Dashboard with USE_SYSTEM_VXL need to be updated

CMake Error at Modules/ThirdParty/VNL/CMakeLists.txt:8 (find_package):
Could not find a configuration file for package "VXL" that is compatible
with requested version "2.0.0".
The following configuration files were considered but not accepted:
/usr/share/vxl/cmake/VXLConfig.cmake, version: unknown

faraway.kitware | Linux-Ubuntu-GCC-Doxygen |
eldorado.kitware | Ubuntu-g++-4.8.2-Release-System-VXL |
dash4win7.kitware.com | Win-VS14-Ninja-Release-Shared |

These should all be updated now.


Vuforia datasets don't load

We clone the react-native-unity-demo repository for "POCing around" with Unity + React Native. Wanting to play with some Vuforia, we add an ARCamera and an ImageTarget (with predefined assets).
When we build the project in Unity, AR works with no problem, but when we export it then install it on an iOS device, it doesn't work.
The application start, with the camera view (including the Vuforia watermark), but recognition doesn't work.
In logs, we found this line :
Dataset VuforiaMars_Images could not be loaded and cannot be activated.
I can see the files in UnityExport/Data/Raw/Vuforia, but maybe Vuforia search in an other directory ?
I don't know how to find more debugging informations, so any tip would be appreciated.

I fixed it !
During my search, I quickly found informations here.
But LoadDatabaseBehaviour doesn't exist anymore in Vuforia 7. By the way, the function AddExternalDatasetSearchDir is still in the documentation. I discover here how to call it in Unity code.
To fix the problem, I add a component "script" on the ARCamera. With the following code :
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Vuforia;

public class DataSetLoadController : MonoBehaviour {

	// Use this for initialization
	void Start () {
		var databaseLoader = DatabaseLoadARController.Instance;
		databaseLoader.AddExternalDatasetSearchDir(Application.dataPath + "/Raw/Vuforia/");
	}

	// Update is called once per frame
	void Update () {

	}
}
`
``

Just rebuild the project (Unity + iOS) and it works !

@Charlynux how do you even came this far :) ? I'm stucked in the compiling process. Do you have any tip on that?


[ERROR] Failed to execute goal on project mongodb-binding: Could not resolve dependencies for project site.ycsb:mongodb-binding:jar:0.18.0-SNAPSHOT: Failed to collect dependencies at com.allanbank:mongodb-async-driver:jar:2.0.1:

steps:
1 git clone https://github.com/brianfrankcooper/YCSB.git
2 run   mvn -pl site.ycsb:mongodb-binding -am clean package
show an error , how to fix it?

please use one of our releases by downloading precompiled binaries.


nfl.com

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following infos properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[x] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name: blu

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

api.nfl.com
(www.)googletagservices.com

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client:

Version:

Details:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:

http://www.nfl.com/videos/nfl-game-highlights/0ap3000001080506/Haskins-celebrates-first-win-as-starter-by-taking-selfie-with-fans?videoId=10103061-7033-0000-0108-05066a7bb9f4
api.nfl.com causes banner game scores to be blocked.
www.googletagservices.com causes video to not load. I don't think there's a way for you to whitelist this domain only on nfl.com?

Thank you for making Energized Protection great with your kind help!

A project by Ador with ❤

With host level blocking, it's all or nothing sadly. api.nfl.com seems to be a false positive, but www.googletagservices.com is notorious for both tracking and breaking sites when blocked.
One way around this is using uBlock Origin, which will redirect www.googletagservices.com to a non-tracking version, without breaking the site.
I also highly discourage visiting any site that loads javascript that does not support https.

Yes. As per @kah0922, I'm fixing the false positive, but googletagservices can't be whitelisted!


Objects slowing down when near edges of canvas

My window is at 1440x778
The objects slow down when near the edges and eventually freeze in midair.
In the following code: the objects fail to touch the ground plane:
https://gist.github.com/crimsonalucard/79ed64a7e5baf5882509

I think this is the same issue as #67, can you confirm?
Try the solution in the OP's comment


[Docs Bug 🐞 report]: Typo in error log

Describe the bug you found in AsyncAPI Docs.
I apologise if this isn't strictly a "Docs" bug, but there's what appears to be a small typo in one of the error messages. I figure that's closer to being a "Docs" issue than it is a functionality one.
At generator.js, line 264 the error message currently reads 'Input is not a corrent AsyncAPI document so it cannot be processed.' "Corrent" isn't a word in English, so this message could be a little bit clearer. Is it meant to be "correct", or "current", or something else? My suspicion (given the context) is that it is meant to be "correct", although I would recommend updating it to be "valid" as that seems like a slightly more appropriate word.
I'm happy to make the PR if there's concensus on what the right wording is - just let me know whether this is a "docs:" or a "chore:" commit.
Attach any resources that can help us understand the issue.
    if (!document) {
      const err = new Error('Input is not a corrent AsyncAPI document so it cannot be processed.');
      err.diagnostics = diagnostics;
      throw err;
    }

Code of Conduct

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

@michael-ball-ctct sorry for being late, yes, please open a PR.
chore will not trigger a release, so you need to do fix so we release a patch, and make new fixed error available in new release

@derberg Looks like Jonas bundled this change up with a bunch of other stuff 2 days after I raised it (in https://github.com/asyncapi/generator/commit/60f8e62cf391b2ff34103697af37578eafc520c6 ). I'm happy with that resolution, so closing the issue. Cheers!


Add DataGrid fluent Control Theme

See #7120
Merge after feature/7120-fluent-control-themes

Since DataGrid is already done, I'll look at this as an example and try to get ColorPicker updated tomorrow.

You can test this PR using the following package version. 0.10.999-cibuild0022406-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0022590-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TIME PLUS 0.1

Describe the bug
The time card "TIME PLUS 0.1" is not being read in correctly.
To Reproduce
Steps to reproduce the behavior:
TIME 01/01/2020

TIME PLUS 0.1

CONSTRAINTS
WELL1 PMIN 310
ENDCONSTRAINTS

A call of model.network.constraints.get_all() will return: NexusConstraint(date='PLUS', name='WELL1', min_pressure=310)
Expected behavior
Should read in the date as "PLUS 0.1" and ISO datetime as 2020-01-01 02:24:00
NexusConstraint(date='PLUS 0.1', name='WELL1', min_pressure=310, datetime=2020-01-01 02:24:00)

To complete this task:

Create a unit test with based upon test_load_basic_wellspec in test_load_wells.py that uses the TIME PLUS card, and currently fails.
Rename the 'start_date' parameter to 'date' in __load_wellspec_table_completions in load_wells.py.
Modify line 170 of load_wells.py to not change the current_date variable of the next keyword is PLUS.
Modify ISODateTime to check for the 'PLUS' keyword and add that number of days to the previously loaded date.


Disable deployment target specific optimizations for inlinable functions

The specified deployment target only applies to the currently compiled module, but not to any client modules, which use inlinable functions from the current module.
Therefore, optimizations which depend on the deployment target must not optimize inlinable functions, except they run after the module has been serialized.

constant folding of availability checks
simplification of ARC operations on immortal objects (which depends on the 5.1 runtime)

rdar://88117184
The same thing needs to be done in Sema. There is already a PR for this: https://github.com/apple/swift/pull/33855, but unfortunately currently reverted.

@swift-ci test

@swift-ci test

We also need to fix availability guarded prespecialization uses. Something like:
--- a/lib/SILOptimizer/Utils/Generics.cpp
+++ b/lib/SILOptimizer/Utils/Generics.cpp
@@ -2512,7 +2512,21 @@ usePrespecialized(SILOptFunctionBuilder &funcBuilder, ApplySite apply,
     auto specializationAvail = SA->getAvailability();
     auto &ctxt = funcBuilder.getModule().getSwiftModule()->getASTContext();
     auto deploymentAvail = AvailabilityContext::forDeploymentTarget(ctxt);
-    auto currentFnAvailability = apply.getFunction()->getAvailabilityForLinkage();
+    auto currentFn = apply.getFunction();
+    auto isInlinableCtxt = currentFn->getResilienceExpansion()
+      == ResilienceExpansion::Minimal;
+    auto currentFnAvailability = currentFn->getAvailabilityForLinkage();
+
+    // If we are in an inlineable function we can't use the specialization except
+    // it the inlinable function itself has availability we can used.
+    if (currentFnAvailability.isAlwaysAvailable() &&
+        isInlinableCtxt) {
+      continue;
+    }
+    else if (isInlinableCtxt) {
+      deploymentAvail = currentFnAvailability;
+    }
+
     if (!currentFnAvailability.isAlwaysAvailable() &&
         !deploymentAvail.isContainedIn(currentFnAvailability))
       deploymentAvail = currentFnAvailability;

Build failed
Swift Test OS X Platform
Git Sha - d38bb040474b6b2929cffd3f9b069c50c1607889

@swift-ci smoke test

@swift-ci smoke test


Enhancement: Add possibility to chat to multiple LLM at once in a multi split view

What features would you like to see added?
I would like to chat with GPT-4, Turbo, Gemini, Bing, and others in parallel. I think a 4-way split should be sufficient to allow chatting with 4 LLMs in parallel.
More details
It could look similar to this:

Which components are impacted by your request?
UI
Pictures
No response
Code of Conduct

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

Other than casual benchmarking, what is the benefit of this? I think this isn't a good fit for LibreChat, I hope the dev doesn't get bogged down in every creative idea the users have. Focus on the core use-case (ChatGPT replacement).

Other than casual benchmarking, what is the benefit of this? I think this isn't a good fit for LibreChat, I hope the dev doesn't get bogged down in every creative idea the users have. Focus on the core use-case (ChatGPT replacement).

I agree, not planned for now but something like multiple responses at a time, similar to when ChatGPT, is planned. It's a cool feature but happens randomly, and would be cool to have some control over that.

Other than casual benchmarking, what is the benefit of this?

Well, you can present a problem and consult multiple LLMs, such as GPT-4, Gemini Ultra, and more. Then, you can select the best solution. I used to operate in this manner in the past, and it is significantly better than receiving just one answer from GPT-4. But I can understand that this feature is out of scope for this project.

Not out of scope just not a priority at the moment. I would like to see something like this in the future


[ISSUE #3687] Incorrect method[TransactionalMessageBridge#addRemoveTagInTransactionOp()] description may mislead others.

Make sure set the target branch to develop
What is the purpose of the change
For issue #3687
Brief changelog
Fix wrong method comment about transaction message.

Coverage decreased (-1.2%) to 53.288% when pulling 92bf68cb77ed59bb659d3d93e3d7c078a87571dd on XiaoyiPeng:wrong_method_comment_about_transaction_msg into e24794da71beef185221220ba817e9b4aafbf8f2 on apache:master.


fix: don't suppress doc output

Will look for a better fix to avoid returning the whole thing from core.
In the meantime this works

Updated to use light_document_output @spolu