Noisy image with Raspberry Pi 5

Problem Description
Thank you for developing this Raspberry Pi camera driver. I'm currently using it with an IMX290 module on OpenAstroGuider project, recommended for its exceptional low-light performance.
However, I've encountered a problem where the captured frames appear corrupted. I tried both on Raspberry Pi 3b and Pi 5, the image captured from Pi 3b seems less corrupted but still has a grid pattern.
I found a discussion on the Raspberry Pi forums that may be related to the problem I'm facing: https://forums.raspberrypi.com/viewtopic.php?t=357256. The discussion in that thread seems to touch upon similar concerns.
libcamera commit is here: ipa: rpi: imx290: Hide one frame on startup
Steps to Reproduce
To reproduce the issue, follow these steps:
Install Bullseye 64bit on Pi 3b and Bookworm 64bit on Pi 5. Add/modify three lines in config.txt:
camera_auto_detect=0
dtoverlay=imx290,frequency=37125000
display_auto_detect=0
On the Pi 5, there is no official camera tune file for IMX290, so make a copy of the other sensor as follows:
sudo cp /usr/share/libcamera/ipa/rpi/pisp/imx296_noir.json /usr/share/libcamera/ipa/rpi/pisp/imx290.json
Reboot and test if the module is loaded:
libcamera-hello --list-cameras
Available cameras
-----------------
0 : imx290 [1920x1080 12-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/imx290@1a)
    Modes: 'SRGGB10_CSI2P' : 1280x720 [60.00 fps - (320, 180)/1280x720 crop]
                             1920x1080 [60.00 fps - (0, 0)/1920x1080 crop]
           'SRGGB12_CSI2P' : 1280x720 [60.00 fps - (320, 180)/1280x720 crop]
                             1920x1080 [60.00 fps - (0, 0)/1920x1080 crop]

Next, compile and install indi-core and phd2 on both machines.
Finally, install indi_pylibcamera.
libcamera-hello -t 0 works well on both machines, but the command libcamera-still -r --shutter 100000 --gain 1 --awbgains 1,1 --immediate -o test.jpg on Pi 3b works fine but not on Pi 5.
Images from PHD2:
Here are the images captured from PHD2, they are captured in a dark room where the monitor is the only light source:
On Pi 3b: https://i.imgur.com/uPmtzec.png

On Pi 5: https://i.imgur.com/mHLFGru.png

You can see the grid pattern on Pi 3 and the noise issue on Pi 5.
logs from Pi5:
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

pi@raspberrypi:~ $ indi_pylibcamera_print_camera_information
Testing numpy:
  numpy 1.24.2

Testing astropy:
  astropy 5.2.1

[9:57:31.373586602] [64054]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+99-4a23664b
[9:57:31.388339821] [64060]  INFO RPI pisp.cpp:652 libpisp version v1.0.0 ce5624ed8726 23-10-2023 (07:41:40)
[9:57:31.398565156] [64060]  INFO RPI pisp.cpp:1106 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx290@1a to CFE device /dev/media0 and ISP device /dev/media2 using PiSP variant BCM2712_C0
Found 1 cameras.

Hello,
thank you for the detailed report. In the past I got many issue reports related to IMX290. It is either a widely used camera or it makes more trouble than others. I have HQ (IMX477) and V1 (OV5647) cameras only and should bye one to make my own experience. By the way, I believe the V1 camera is useless for astrophotography and guiding.
Back to your issue. I have two questions:

Do you really have a IMX290? I had a discussion with someone who had a IMX462 which was reported by libcamera as IMX290.
You refer to a discussion in Raspberry Pi forum. The discussion there is about occasional (~40% of the exposures) black frames. But what I understand from your description is that your problems are (a) grid pattern and (b) large noise in Pi 5. Is that correct?

The 'indi_pylibcamera' is one layer in a stack of software:
    INDI client (for instance KStars, PHD2, CCDciel, ...)
        --> INDI server
            --> indi_pylibcamera
                --> picamera2
                    --> libcamera library
                        --> kernel driver

It can not work when the versions of libcamera and picamera2 are too old (both are in a dynamic development). And it can not work when the libcamera-tools (like libcamera-hello and libcamera-still) have issues with your camera.
You wrote that libcamera-still does not work on Pi 5. You need to fix this first! I can imagine that the Pi 5 is too new and the libcamera library or the kernel driver will get updates and bug fixes in near future.
The grid pattern you see is likely Moiré (https://en.wikipedia.org/wiki/Moiré_pattern) caused by de-bayering the color pixel in PHD2. You can verify this by showing the same image in KStars:
HQ camera test image (white wall, not in focus) seen in PHD2:

Same image displayed in KStars FITS viewer:

If it is Moiré than the pattern frequency will depend on the size of the image on the screen:

All these images are from the same exposure! The only difference is the size of the PHD2 window on the screen. The pattern is an artifact of the image display. As far as I know this does not influence the guiding algorithm in PHD2. If not you can try the "2x2 mean" noise reduction in PHD2:

With the "2x2 mean" the pattern is gone:

There is a different issue #53 regarding IMX290 crashing after the first exposure. Does it also crash in your setup? The next driver release will have a fix for issue #53.
Best Regards,
Ronald

Pretty sure the pattern above is simply the bayer matrix as it's a raw image vs some RGB JPEG?

Exactly. It is Moire between the Bayer pattern and the screen pixel grid.

Thank you for the thorough explanation.
My module is a WX-RP-290-327 from Waveshare.
After my initial test, I couldn't get it working properly on Pi 3 again, but I'm sure it is the Moiré pattern. Getting PHD2 compiled on Pi 3 is painful; It is unlikely that anyone would want to do it again, except for testing purposes.
Thankfully, after a rpicam-apps and python3-picamera2 update today, the libcamera-still -r --shutter 100000 --gain 1 --awbgains 1,1 --immediate -o test.jpg on Pi 5 is fully working now. I am still encountering the same issue of having noisy pictures on PHD2 despite my efforts.

It is an IMX290. I just wanted to be sure :-)
I compiled PHD2 on a Pi 3 with the scripts from https://gitea.nouspiro.space/nou/astro-soft-build .
It was needed to:

Set JOBS=1 in the scripts. That prevents compilation in parallel running threads which needs too much RAM.
Increase swap space to have at least 3GB memory. My Pi 3 has 1GB physical RAM only and I increased swap space to 2GB:
a.) Temporarily stop swap:
sudo dphys-swapfile swapoff
b.) Modify the size of the swap: As root, edit the file /etc/dphys-swapfile and modify the variable CONF_SWAPSIZE to 2048:
sudo vi /etc/dphys-swapfile
c.) Initialize swap file
sudo dphys-swapfile setup
d.) Start swap
sudo dphys-swapfile swapon

After that it compiles INDI, KStars and PHD2 without errors. But it takes ages! I left it run over night.
Regarding the noisy pictures on your Pi 5: are the pictures also noisy when you do exposures with KStars/EKOS or CCDciel?

I tried but kStars says the indi crashed immediately after starting the capture:
org.kde.kstars.ekos.guide: "The connection was refused by the peer. Make sure the PHD2 is running, and check that the host name and port settings are correct."
org.kde.kstars.ekos.capture: "Warning: option \"Always Reset Sequence When Starting\" is enabled and resets the sequence counts."
org.kde.kstars.ekos.capture: "Job requires 1.000-second  images, has 0/1 frames captured and will be processed."
org.kde.kstars.ekos.capture: "Capture exposure = 1 sec, type = Light, filter = , upload mode = 0, batch mode = true, seq prefix = Light, format = DNG, encoding = Native, Cannot bin, Cannot subframe"
org.kde.kstars.ekos.capture: "Capturing 1.000-second  image..."
org.kde.kstars.indi: LibCamera :  "[INFO] CCD_CAPTURE_FORMAT.DNG -> 1 "
org.kde.kstars.indi: LibCamera :  "[INFO] CCD_EXPOSURE.CCD_EXPOSURE_VALUE -> 1.000000 "
org.kde.kstars.indi: INDI driver  "indi_libcamera_ccd"  crashed!
org.kde.kstars.ekos: "LibCamera is offline."
org.kde.kstars.ekos: "INDI services stopped."

You used the wrong camera driver in KStars. No need to repeat when you see the same high noise with CCDciel.
Please can you run
indi_pylibcamera_print_camera_information

on Pi 3 and Pi 5 and send me both outputs? This program prints the camera information the driver gets from libcamera. Maybe I can see something strange in the Pi 5 output.

Hi, Thanks for helping me troubleshoot the issue.
You can find the camera_infomation output from the Pi 5 in the first post. I checked it hasn't changed.
Here is the camera_infomation from the Pi 3:
pi@raspberrypi:~ $ indi_pylibcamera_print_camera_information
Testing numpy:
  numpy 1.19.5

Testing astropy:
  astropy 4.2

[0:18:00.763671643] [2190]  INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:18:00.810257716] [2192]  INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/imx290@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:18:00.810503080] [2192]  INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Found 1 cameras.

Camera 0:
{'Id': '/base/soc/i2c0mux/i2c@1/imx290@1a',
 'Location': 2,
 'Model': 'imx290',
 'Rotation': 0}

[0:18:00.818061341] [2190]  INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:18:00.871329428] [2195]  INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/imx290@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:18:00.871464271] [2195]  INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Camera properties:
{'ColorFilterArrangement': 0,
 'Location': 2,
 'Model': 'imx290',
 'PixelArrayActiveAreas': [(12, 8, 1920, 1080)],
 'PixelArraySize': (1945, 1097),
 'Rotation': 0,
 'ScalerCropMaximum': (0, 0, 0, 0),
 'SystemDevices': (20749, 20737, 20738, 20739),
 'UnitCellSize': (2900, 2900)}

Raw sensor modes:
[0:18:00.892196612] [2190]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 1280x720-SRGGB10_CSI2P
[0:18:00.893077755] [2195]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx290@1a - Selected sensor format: 1280x720-SRGGB10_1X10 - Selected unicam format: 1280x720-pRAA
[0:18:00.923700798] [2190]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 1920x1080-SRGGB10_CSI2P
[0:18:00.926162458] [2195]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx290@1a - Selected sensor format: 1920x1080-SRGGB10_1X10 - Selected unicam format: 1920x1080-pRAA
[0:18:00.972935667] [2190]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 1280x720-SRGGB12_CSI2P
[0:18:00.973971601] [2195]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx290@1a - Selected sensor format: 1280x720-SRGGB12_1X12 - Selected unicam format: 1280x720-pRCC
[0:18:01.007548491] [2190]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 1920x1080-SRGGB12_CSI2P
[0:18:01.010113536] [2195]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx290@1a - Selected sensor format: 1920x1080-SRGGB12_1X12 - Selected unicam format: 1920x1080-pRCC
[{'bit_depth': 10,
  'crop_limits': (320, 180, 1280, 720),
  'exposure_limits': (22, None),
  'format': SRGGB10_CSI2P,
  'fps': 60.0,
  'size': (1280, 720),
  'unpacked': 'SRGGB10'},
 {'bit_depth': 10,
  'crop_limits': (0, 0, 1920, 1080),
  'exposure_limits': (14, 115686250, None),
  'format': SRGGB10_CSI2P,
  'fps': 60.0,
  'size': (1920, 1080),
  'unpacked': 'SRGGB10'},
 {'bit_depth': 12,
  'crop_limits': (320, 180, 1280, 720),
  'exposure_limits': (22, 115686258, None),
  'format': SRGGB12_CSI2P,
  'fps': 60.0,
  'size': (1280, 720),
  'unpacked': 'SRGGB12'},
 {'bit_depth': 12,
  'crop_limits': (0, 0, 1920, 1080),
  'exposure_limits': (14, 115686250, None),
  'format': SRGGB12_CSI2P,
  'fps': 60.0,
  'size': (1920, 1080),
  'unpacked': 'SRGGB12'}]

Camera configuration:
{'buffer_count': 4,
 'colour_space': <libcamera.ColorSpace 'sYCC'>,
 'controls': {'FrameDurationLimits': (100, 83333),
              'NoiseReductionMode': <NoiseReductionModeEnum.Minimal: 3>},
 'display': 'main',
 'encode': 'main',
 'lores': None,
 'main': {'format': 'XBGR8888',
          'framesize': 1228800,
          'size': (640, 480),
          'stride': 2560},
 'queue': True,
 'raw': {'format': 'SRGGB12_CSI2P',
         'framesize': 3110400,
         'size': (1920, 1080),
         'stride': 2880},
 'transform': <libcamera.Transform 'identity'>,
 'use_case': 'preview'}

Camera controls:
{'AeConstraintMode': (0, 3, 0),
 'AeEnable': (False, True, None),
 'AeExposureMode': (0, 3, 0),
 'AeMeteringMode': (0, 3, 0),
 'AnalogueGain': (1.0, 31.62277603149414, None),
 'AwbEnable': (False, True, None),
 'AwbMode': (0, 7, 0),
 'Brightness': (-1.0, 1.0, 0.0),
 'ColourGains': (0.0, 32.0, None),
 'Contrast': (0.0, 32.0, 1.0),
 'ExposureTime': (14, 115686250, None),
 'ExposureValue': (-8.0, 8.0, 0.0),
 'FrameDurationLimits': (16666, 115687148, None),
 'NoiseReductionMode': (0, 4, 0),
 'Saturation': (0.0, 32.0, 1.0),
 'ScalerCrop': ((0, 0, 64, 64), (0, 0, 1920, 1080), (240, 0, 1440, 1080)),
 'Sharpness': (0.0, 16.0, 1.0)}

Exposure time:
  min: 14, max: 115686250, default: None

AnalogGain:
  min: 1.0, max: 31.62277603149414, default: None

Hi.
I compared the two files and indeed there is something strange on the Pi 5:
The raw sensor modes have data format "SRGGB10_CSI2P" or "SRGGB12_CSI2P". But when creating a camera configuration the data format changes to "RGGB16_PISP_COMP1". It is now 16bit (expected are 12bit) and PISP COMP1. On Pi 3 (and on all my cameras with HQ and V1 camera) the format stays CSI2P. Maybe the reason for the noise is a different packing of the pixel data.
I searched the internet for PISP_COMP1 and could not find a description of that format. I will try to find out how libcamera and the libcamera-apps are handling this.

According to https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf, section 4:
The PiSP Compressed Raw Format is a fixed-rate lossy compression format with 8 bits per pixel.

It would be needed to decompress this before sending the INDI FITS image. And it will likely make artifacts when used for astrophotography. I will try to find a way to force CSI2P.

Great work, I hope it's an easy fix.
I tried an ov5647, and it has the same noise issue. I'll try the PI HQ camera when it arrives.
Since this issue is not limit to imx290, I'll change the issue title.

I received the Pi HQ camera. It has the same noise using indi_pylibcamera driver.
I also discovered another problem, the HQ camera can not be used with an extension cable on the pi 5. I'm using a 15-pin "FFC FPC Extension Board" to connect two PFC cables. The imx290 module worked without any problem, but the HQ camera will not work on the Pi 5 with an extension board. Maybe it's running on a much higher frequency than other modules.

My new P5 arrived Yesterday. Now I am waiting for the power supply and the heat sink. This should also arrive in the next days.
When I ordered the Pi5 accessories I saw that I need other cables for the cameras. The camera connector on the Pi5 has now a different size to the previous versions. What a pain! I suppose you also have the new cables.
I hope I get all together the next days and can start testing + debugging.

I can replicate the issue with a v1 camera. Unfortunately I can not test with my HQ cameras because I got the wrong adapter cable delivered (ordered camera cable, got display cable). I will complain about the wrong cable. In the meantime I can analyze the issue with the v1 camera.
I am surprised that the "official HQ camera" does not work on the "official Pi5". Maybe an OS bug that gets fixed later.

The modifications in branch 54-noisy-image-with-raspberry-pi-5 work on Pi 5 with V1 and HQ camera. I will merge and make a new release.
I do not have issues with the HQ camera directly connected to the Pi 5. I tested with Bookworm and did sudo apt update; sudo apt upgrade 2 days ago.


Migration: Component "States.coffee: markdown document (component with Prerequisites)

Description
The purpose of the component is manage the timeout and unauthorised components and these two are the pre requisite for this component. This main handles the error notification displays when it is a timeout or an unauthorized error.
Path to the component: doubtfire-web/src/app/errors/states
The migration plan is to review and complete the migration of states.coffee component as the timeout.coffee and unauthorized.coffee components.
Fixes # (issue)
No issues
Type of change

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

How Has This Been Tested?
Created the file and previewed the document.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have requested a review from ... on the Pull Request

You have attached a picture of the code in the markdown document. Please attach a picture of the UI related to this component instead


Fixes #549: Implements preload() method on images to help users avoid jank

Implements a preload() method to make it easier for users to setup an Image they can share about, which has the BGRA data loaded.
Update the tour example to use this technique.

Closing this as discussion should preclude code


Update python-publish.yml to remove sign step

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

Project coverage is 92.14%. Comparing base (28e1849) to head (7c6895d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #934   +/-   ##
=======================================
  Coverage   92.14%   92.14%
=======================================
  Files          19       19
  Lines        1756     1756
=======================================
  Hits         1618     1618
  Misses        138      138

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


TypeError: Cannot read property 'transform' of undefined

I receive TypeError: Cannot read property 'transform' of undefined when trying to compile any code that follows this pattern:
while( true ) {
    let foo = 1;
    ( () => { foo; } )();
}

It seems to involve the following components:

while loop (for loops seem unaffected)
variable declared within loop using either let or const (var is fine)
variable created in 2 is referenced inside a closure within the loop

I understand this code might be buggy or bad practice, but the error from Traceur is cryptic.
I am compiling using traceur v0.0.90 via grunt-traceur v0.5.4.

Wow!  You fixed that fast!

...because I'm addicted to the "Wow!"s


Adds a podcast feed URL

If I understood you well, this could be the basic idea :)
Linked to #3

If it looks OK to you, I can help collecting the URLs.

Thank you, It looks promising! 👍
I will take a closer look at the PR and change some things if you don't mind.
I'd be happy to have some help collecting the Media URL's. I will make sure they are added to the production DB once this has landed.

Hey! Of course please change it as you like, or do it another way, I will not mind :)

Hi @aubm, I merged your changes into a feature branch for me to work on. It turns out that we also need runtime (in seconds) for each episode so I have added a new field for that.

Ok cool :) I prefer your implementation by the way, it is simpler.

Can't wait to add the podcast to iTunes :p

Hey @aubm, would you mind testing to see if https://gopherpods.appspot.com/feed-audio works with iTunes.
It seems to work with the podcast app I use on android.

Hey! It seems to work fine, thanks! :)

Le 14 nov. 2016 à 22:10, rojters<EMAIL_ADDRESS>a écrit :
Hey @aubm https://github.com/aubm, would you mind testing to see if https://gopherpods.appspot.com/feed-audio https://gopherpods.appspot.com/feed-audio works with iTunes.
It seems to work with the podcast app I use on android.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/rojters/gopherpods/pull/5#issuecomment-260463451, or mute the thread https://github.com/notifications/unsubscribe-auth/AFx8O6BwXRBHx21pySzR4h2ortArek1gks5q-M4tgaJpZM4KXQ6q.


I am getting error building it for distribution

Undefined symbols for architecture arm64:
"_UIGetScreenImage", referenced from:
___25-[AppDelegate handleCall]_block_invoke in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
when i run it in iPhone 4 its working fine and i am trying to build for the distribution profile i am getting this error.
i am using the version 4.0.0
Help me regarding this...
Thanks in advance....

I don't think that this problem related to Tesseract lib.
Look at this: http://stackoverflow.com/questions/21640875/is-uigetscreenimage-function-removed-in-ios7

@gbmgee did @BamX's suggestion help you? If so, can you close this issue?

@kevincon, it seems not related to tesseract. Let's close this.
@gbmgee, let us know if you still has some issues related to tesseract.


Upgrade node-sass range to >=4.0.0 (install was failing on node 16)

The install of the package is failing due to node-sass dependency - see compatibility table on between node-sass and node on their readme : https://www.npmjs.com/package/node-sass
Just allowed the range to accept major versions above 4.0.0

@ryanbahniuk Can we have a merge on this ? It impact us also

I would need this as well !

Hi guys, I created a fork to update this repo! https://github.com/jairmedeiros/scss2json


project name fix

project name has to be exactly the same as repository folder name

Coverage remained the same at 73.085% when pulling 1c751500d5c49d1cef011e7ebe2e4339d29c4b1c on szymonlyszkowski:pybuilder-pycharm-project-wrongly-generated into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

What kind of problem did you experience? I'm using PyCharm on PyB without this fix without any issues.

I had two files inside .idea directory:

pybuilder.iml
PyBuilder.iml
This caused problem generation pyb PyCharm project incorrectly. It seems that  when .idea/project-name.iml file has the same name as root project directory then everything works correctly. Actually it would be nice to make PyCharm plugin ignoring it and fetch name from root folder. I've tested solution in PyCharm Professional 2016.2.3.

@szymonlyszkowski what OS are you using?

Ubuntu 16.04

@mriehl @esc will it affect published artifacts negavitely?

It shouldn't, as per pep 426:

All comparisons of distribution names MUST be case insensitive, and MUST consider hyphens and underscores to be equivalent.

On 16 Nov 2016, at 07:40, Arcadiy Ivanov<EMAIL_ADDRESS>wrote:
@mriehl @esc will it affect published artifacts negavitely?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


"Please set DEVKITPRO in your environment" error when DEVKITPRO is set.

I have "DEVKITPRO" set to "/Code/3dsdev/devkitPro" and "DEVKITARM" set to "$DEVKITPRO/devkitArm". I set it as such:
set DEVKITPRO="$HOME/Code/3dsdev/devkitPro"
set DEVKITARM="$DEVKITPRO/devkitArm"

However, I still get the "Please set DEVKITPRO in your environment" error.

Could you replace here https://github.com/Lectem/3ds-cmake/blob/master/DevkitArm3DS.cmake#L16 the mesage
"Please set DEVKITPRO in your environment"

by
"DEVKITPRO=${DEVKITPRO} | env(DEVKITPRO)=$ENV{DEVKITPRO}"

And tell me the results ?

The weird thing is, I tried it again and it worked flawlessly. Not quite sure what happened, but it works now.


Format issues in the references file.

The references file has been updated, there may be issues about the format that new updates aren't reflected.

We didn't install the Academic import tool when we updated the file, according to this document (https://wowchemy.com/docs/content/publications/). It seems to be working now, I'll check again before I close this.

What we did was:

Export BiBTex file from Zotero, and import it into the rcodi-blog directory.
Install academic library if you haven't installed it first from command - pip3 install -U academic
Process the bibtex file from command - academic import --bibtex publications.bib
You will see new publications created in the content/publication directory.
Commit new changes and push.


thread safety

The library is not thread safe, when accessing it async, it fails with the exception "the ressource is used".
Portable items can only be accessed by one thread at one time.
A simple lock in the read/download/write/upload function would fix this issue.

I've added a lock before every access to MediaDevice, but I still get this problem, if I call MediaDevice.UploadFile twice.
Did you solve this problem by adding some locks in your code?


[FEATURE] 建议

Checks

[x] I confirm that I have searched existing issues and couldn't find a similar proposal.
[x] I have read the documentation and test the software carefully and confirmed that this is not an existing feature.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
使用https://copilot.microsoft.com   的接口而不是sydney.bing.com
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This could be changed via settings.


[FEATURE] Methods for abstract cropper

#330 Showed, that you're currently using the same cropper model for both banner images and profile images in organisations. Is seems, that the better feature will be appliable for the different sort of images, the better for users experience. May you, please think in that direction and update the implementation of abstract cropper?

@DevITSharpPRO Thank you for reference this  issue. We are currently working to implement the abstract cropper with theoretical boundaries for images and special cases for banner images.


Move IAdaptiveDialogDependencies to Adaptive library

Fixes #5624
Description
Adds change requested in #5656 by @carlosscastro

Moves new interface IAdaptiveDialogDependencies to Adaptive library
Makes the new interface "internal"
Makes the implementation method in "ReplaceDialog" non-virtual.

Pull Request Test Coverage Report for Build 270421

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 77.356%

Files with Coverage Reduction
New Missed Lines
%

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

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

Totals

Change from base Build 270413:
-0.01%

Covered Lines:
23661

Relevant Lines:
30587

💛  - Coveralls


CLI batch import does stop due to failing creation of workes

Dear 3dCityDB team,
I created a (not so straight foreward) workflow for mass import of LoD2 CityGML data into the 3DCityDB.
I am performing spatial data analyses in R which was the reason why  I used this language as a starting point and for triggering everything else around GIS data import, preparation and analysis.
The work flow is more or less:

Create a CityDB in the Postgres database manually
in R scan directories for CityGML data files,
in R create a batch file with the impexp commands for the windows command line for the first data directory
from R via the command line execute batch file for data import (impexp; see code below)
from R via command line (psql) when import is finished exectue several psql commands on the imported data in the CityDB and start certain spatial analyses on the pre-processed data in R
when spatial analysis is finished redo steps 3-5 for the next directory

The workflow was successfull already, even with a large amount of .xml-files (>15k) to be imported in a single iteration of step 4 (above). Importing a data set with a lower number of files (~5k) leads now to the error prompt (while my routine is executing step 4)

[15:11:46 INFO] Cleaning temporary cache.
[15:11:46 ERROR] Failed to create import worker.
[15:11:46 ERROR] Caused by: org.postgresql.util.PSQLException: FATAL: tut mir leid, schon zu viele Verbindungen
[15:11:47 INFO] [db_importer_pool] Adapting pool size to 1 core worker(s) and 6 maximum worker(s).
[15:11:47 INFO] Importing file: W:\BKG Leipzig\300001068_LoD2\lod2\he\he.zip\LoD2_446_5622_2_HE.xml
[15:11:47 ERROR] Failed to create import worker.
[15:11:47 ERROR] Caused by: org.postgresql.util.PSQLException: FATAL: tut mir leid, schon zu viele Verbindungen
[15:11:47 INFO] [db_importer_pool] Adapting pool size to 1 core worker(s) and 1 maximum worker(s).
[15:13:35 INFO] Resolving XLink references.
[15:13:35 ERROR] Failed to create XLink resolver worker.
These error/info messages continue until the importer tool tried to import all files ( which are in one single zip-container) in the directory without success.

I assume that this comes from the restriction of maximum parallel workers in my PostgreSQL config file. However, I was wondering why this can happen. Since this is the second time, I am facing this error I already configured the  max. worker-threads parameter in the command line for impexp execution:
"C:\Users\MYNAME\3DCityDB-Importer-Exporter\bin\impexp.bat" import "W:\BKG Leipzig\300001068_LoD2\lod2\he\he.zip" -T postgresql -H localhost -P 5432 -d "[MYDBNAME]" -S citydb -u [MYUSER] -p [MYPASS] --worker-threads=6
The max. number of 6 is (i think well) below the configuration of PostgreSQL

#max_worker_processes = 12		# (change requires restart)
#max_parallel_maintenance_workers = 4	# taken from max_parallel_workers
#max_parallel_workers_per_gather = 4	# taken from max_parallel_workers
#parallel_leader_participation = on
#max_parallel_workers = 8		# maximum number of max_worker_processes that
# can be used in parallel operations

Since my PostgreSQL is a desktop server with nothing else connecting to PostgreSQL, the only operations at the time of the import is the import routine as describes above.
Is there an easy way to force a "check for free worker capacity and wait if no worker can be created" operation?
Thanks for any hints.
Best regards
André
[P.S.: In the meantime, I will check on what consequences the increase of max. workers in the PpstgreSQL config file will have for the stability of my  PostgreSQL server]

Can you share the data for testing purposes?

Dear Claus,
the data fromat is the  as provided by the German Federal Agency for Cartography and Geodesy.

Sample CityGML LoD2 data from the German Federal Agency for Cartography and Geodesy (LoD2-DE-utms-citygml.zip).

Unfortunately, the data is not available for public yet and the usage is restricted for the analyses in my PhD/research project.
If you think it is helpful, I can clone the sample buildings (from the link above) to create a dataset which has an equivalent size (no. of buildings and/or no. of xml files).

@AndreM84, I made several tests with imports including 5k files and more. I cannot reproduce the error. Please post more information about your settings (Importer/Exporter version, 3DCityDB version, PostgreSQL and PostGIS version, ...). And yes, having the same test datasets would help us to identify the problem on your side.
One question related to your process: Are you invoking multiple import operations in parallel and at the same time from your R code?
In general, the PostgreSQL error message:

Caused by: org.postgresql.util.PSQLException: FATAL: tut mir leid, schon zu viele Verbindungen

means that the limit of concurrent connections of your PostgreSQL database has been reached. The Importer wants to open another connection, but PostgreSQL refuses to do so. This has nothing to do with the max_worker_* settings in PostgreSQL. The number of maximum connections is rather controlled by the max_connections setting. So, increasing this number might solve your problem.
However, typically the default value is 100 concurrent connections, and the question is, why you are reaching this limit at all. The Importer uses approx. 3 connections per worker thread. Based on your above post, you use 6 worker threads (--worker-threads=6 parameter of the import command). Thus, you should have something around 18 connections and, thus, far less than 100.
I recommend that you monitor the open connections (sessions) to your PostgreSQL database during the import operation. One easy way to do this is to use pgAdmin and its dashboard view. In my tests, I always had a stable number of 12 open connections independent of the number of files I imported.

Dear @clausnagel,
thank you for the additional details on the difference of  max_worker* vs. max_connections. I was not aware, that the max_worker* error message was related to the inability to establish a new connection.
I checked the psql-config file and, in deed, the max_connections are set to 20.
I think I remember that I changed that on a basis of any increase the performance of your PostgreSQL database tutorial to allow few operations with high memory demand, but to avoid situations, where to many connections are demanding the relatively high memory.
I set back the default value (100) for  max_connections now and will check the import routine again. I am optimistic, that it will work fine now.
Regarding your question

One question related to your process: Are you invoking multiple import operations in parallel and at the same time from your R code?

The R script opens two DBI-connections to the PostgreSQL DB which are left opened all the time. The impexp is called via CMD sequentially and no other R code is executed in the meantime. However, pgAdmin4 in most cases is opened as well to have a low level monitoring on the PostgreSQl server/db activities and from time to time QGIS was connected to the PostgreSQL DB as well. So, the max. of 20 connections could be reached I think.
I will give you another feedback (and hopefully close the issue) as soon as the import is running well.
Many thanks and best regards
André

Thanks @AndreM84, looking forward to your feedback.
You can reduce the number of connections by reducing the number of import workers. For example, use --worker-threads=2 on the command-line when invoking the Importer/Exporter instead (you shouldn't use fewer than 2 worker threads though).

Thanks @clausnagel for your help.
I had to adjust some codes of line due to other resaons, but the automated citygml data import using IMPEXP import via R and CMD works fine now.


Make headless services work across multi-network gateways

The current implementation of multi-network gateways relies on SNI to identify the last hop.

In sidecars, headless services use original destination so they won't have EDS redirect traffic to the gateway

We will need fundamental changes to the transport to support this.

I kind of remember there is a umbrella issue about multi-cluster, could not find it now

We have this ~solved for single-network using DNS in agent


Change Action definition to accept empty event values

Please rebase on origin/master (or merge that branch in): the name of a required test has changed, and GitHub is waiting for the new name.
https://lakefs.slack.com/archives/C01APUNTSGH/p1648120054377969?thread_ts=1648120054.377969&cid=C01APUNTSGH


Rearrange token groups within the plugin

Current Behaviour:
Users can only change the order of token groups in a code-editor
Request:
To rearrange, users can click and drag groups

Slack Message 1
Slack Message 2

This request has been moved to our new feedback tool. Go check out https://tokensstudio.featurebase.app/ to create a free account. You can upvote and comment on existing posts, make a new request, and subscribe to be notified when requests move into our roadmap.

Added to Featurebase Roadmap : 🪙 Token organization enhancements


Migrate holocron to redux

Using custom store that works in the main process. It's like web workers, but in node! Such wow!


lighthouse2: only rely on C library for counts computation

fixes #62

Codecov Report

Merging #63 (8fcbe1f) into main (88af209) will decrease coverage by 0.45%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   78.14%   77.69%   -0.45%
==========================================
  Files          17       17
  Lines        1432     1399      -33
==========================================
- Hits         1119     1087      -32
+ Misses        313      312       -1

Impacted Files
Coverage Δ

dotbot/tests/test_lighthouse2.py
100.00% <ø> (ø)

dotbot/lighthouse2.py
48.40% <100.00%> (-7.03%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Make pip installable

See some discussion at pybind/pybind11#2326 on pip, CMake, and building dependencies.

Branch https://github.com/FEniCS/libtab/tree/skbuild now installs with pip and scikit-build.
It will also build and install with cmake, which is nice. It could probably be improved, and we still need to export the public C++ API headers somehow.

Now working, although still requires some tidying up.


changes to make heron compile with bazel 0.5.4

Verified with twitter's environment, the bazel 0.5.4 can compile the project successfully.
Please fix the falied check for travis here so that we can approve it.

@nlu90 It passes now

👍


⚠ BeyondHD has degraded performance

In 2624796, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 1062 ms

Resolved: BeyondHD performance has improved in 258411f.


How to trian the model?

Great work! And thanks for sharing the code.
I tried to combine another colorization method to this segmentation-colorization-fusion framework on a ubuntu computer with a GTX1080Ti GPU, but I'm confused that I did not find the file for training these models in your repo.
Could  you share how you trained the models?

Hi， sorry to disturb again.
I want to complete the codes needed to train your work and combine the fushio model with my image synthesis algorithm.
I have read your paper and codes carefully with reference to the relevant colorization-pytorch repository,
However, I am still not sure about training FusionGenerator and WeightGenerator.
The SIGGRAPHGenerator and InstanceGenerator can be trained with reference to the colorization-pytorch repository.
Are these loss and parameter update functions also applicable to FusionGenerator and WeightGenerator models without any change?
In addition, do you plan to expose the code related to training the model?
Any response from you is greatly appreciated！！

Hi!
Please follow this tutorial to train our model.

Thanks


[UX] Meshery Server:  Error code - Meshery-Server-1085 needs much better cause and remediations.

Current Behavior
"413 Fall to send design to remote provider." Doesn’t make sense to users.

Use the name of the remote provider.
State that design could be corrupt; to undo changes.

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@leecalcote i would like to work on this issue. What are the steps to reproduce this.


Failed to write when installing via Maven on Databricks

I am using Databricks (12.1 ML Runtime) and installed the connector via Maven with the following coordinates; io.weaviate:spark-connector_2.13:1.2.5. It installed just fine, but I got the following error when trying to write. I also tried downgrading to 1.2.5 but had no luck.
Manually uploading the JAR worked fine, but I would prefer to use Maven as it is easier when configuring job clusters.
Py4JJavaError: An error occurred while calling o639.save.
: java.lang.NoSuchMethodError: scala.collection.immutable.Map$.apply(Lscala/collection/immutable/Seq;)Ljava/lang/Object;
	at io.weaviate.spark.WeaviateOptions.<init>(WeaviateOptions.scala:33)
	at io.weaviate.spark.Weaviate.inferSchema(Weaviate.scala:17)
	at org.apache.spark.sql.execution.datasources.v2.DataSourceV2Utils$.getTableFromProvider(DataSourceV2Utils.scala:91)
	at org.apache.spark.sql.DataFrameWriter.getTable$1(DataFrameWriter.scala:315)
	at org.apache.spark.sql.DataFrameWriter.saveInternal(DataFrameWriter.scala:331)
	at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:258)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:380)
	at py4j.Gateway.invoke(Gateway.java:306)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:195)
	at py4j.ClientServerConnection.run(ClientServerConnection.java:115)
	at java.lang.Thread.run(Thread.java:750)

The issue here seems to be tied to the Scala version 2.13. Databricks runtime only uses Scala 2.12 (both ML and standard).
Using io.weaviate:spark-connector_2.12:1.2.5 or io.weaviate:spark-connector_2.12:1.3.0 (both built for Scala 2.12) has no issues.
I tried installing both from Maven and uploading the jar manually. I've managed to write to Weaviate in all cases.

@davidgibsonp please switch to spark-connector_2.12 version (built with Scala 2.12) and you should be able run your jobs.

@davidgibsonp please switch to spark-connector_2.12 version (built with Scala 2.12) and you should be able run your jobs.

Confirming that switching worked! Thank you.


Last (old) misc updates (1/3)

From #2132

Use cases copy edits

Wait something is wrong here... Should only be 2 changed files.


Do not create institutes by affiliation

[x] extend AuthorPublication by string field affiliation
[x] fill field in imports / enriches
[ ] display field in institute assignment
[x] do not create institutes while importing, only assign if alias match

[ ] option to add alias


(Possibly) Incorrect exercise: [courseId=grammar-intro_eng][lessonNumber=7][exerciseId=1342]

Description
It could be that I am just being dumb here, but I'm not sure I understand why this is wrong.
I would expect that

dunda fi do fe lo gerku

would be equivalent to

dunda lo gerku do

in that both have the selbri dunda with sumti x1 = zo'e, x2 = lo gerku ku, x3 = do, with the first being specified using an implicit zo'e, fi to fill x3, and fe to fill x2, while the second fills x2 and x3 using the natural positions.
Is this just my misunderstanding of the language, or is there a mistake here?
Diagnostics information (do not remove)

Exercise identifier: [courseId=grammar-intro_eng][lessonNumber=7][exerciseId=1342]
Exercise payload: {"sentences":[{"text":"The person said that she would give you the dogs.","lojbanic":false}],"title":"Translate without using "ku"","type":"typing"}
Attempted solution: {"text":"lo prunu cu cusku lo se du'u dunda fi do fe lo gerku"}
Attempted solution was classified as correct: no
Validation payload: {"canonicalAnswer":"lo prenu cu cusku lo se du'u dunda lo gerku do","correct":false}

I think the issue could be that prenu has been spelt prunu in the attempted solution.
Otherwise your solution has the same meaning as the correct answer. @jqueiroz is there a way to get back to an exercise directly to test?

I think the issue could be that prenu has been spelt prunu in the attempted solution.
Otherwise your solution has the same meaning as the correct answer. @jqueiroz is there a way to get back to an exercise directly to test?

aa that's almost certainly it.  I'm sorry for the trouble

aa that's almost certainly it.  I'm sorry for the trouble

Thank you @Alch-Emi for reporting and thank you @bowdie for looking into this :)
bowdie is correct, after changing prunu -> prenu both sentences canonicalize to the same value ("lo prenu ku cusku lo se du'u dunda lo gerku ku do kei ku"), so Alch-Emi's solution is accepted.
Sorry for the delay in getting to this.

Thank you @Alch-Emi for reporting and thank you @bowdie for looking into this :)
bowdie is correct, after changing prunu -> prenu both sentences canonicalize to the same value ("lo prenu ku cusku lo se du'u dunda lo gerku ku do kei ku"), so Alch-Emi's solution is accepted.
Sorry for the delay in getting to this.


Colour scheme of list view

Improve it.

Color Layout color Improved anf fixed

Colour scheme is still not appropriate.

Please provide color scheme you think fit perfectly fine.

Provide color code of body.
Provide color code of button
Provide color code of list.

Color Schema improved need review from others community member.

Color Schema improved need review from others community member.

I think it's resolved, So, I am closing it.


How can i add signout option?

Hello,
Thanks for such a easy usefull library. Now i can successfully signin with your oidc client but i can't find any option for signout. How can i implement this?

There's a signoutRedirect API.


Oracle add data has error

Search before asking

[X] I searched in the issues and found nothing similar.

Flink version
1.18.1
Flink CDC version
3.0.0
Database and its version
oracle 11g
Minimal reproduce step
I run the document at https://ververica.github.io/flink-cdc-connectors/release-3.0/content/connectors/oracle-cdc.html,when i add a data to table,it has some error
Properties debeziumProperties = new Properties();
debeziumProperties.setProperty("log.mining.strategy", "online_catalog");
debeziumProperties.setProperty("include.schema.changes", "true");
debeziumProperties.setProperty("value.converter.schemas.enable", "true");
    OracleSourceBuilder.OracleIncrementalSource oracleChangeEventSource =
            new OracleSourceBuilder()
                    .hostname("hostname")
                    .port(1521)
                    .databaseList("ORCL")
                    .schemaList("FLINKUSER")
                    .tableList("FLINKUSER.CREATETABLE")
                    .username("flinkuser")
                    .password("flinkpw")
                    .deserializer(new JsonDebeziumDeserializationSchema())
                    .includeSchemaChanges(true) // output the schema changes as well
                    .startupOptions(StartupOptions.initial())
                    .debeziumProperties(debeziumProperties)
                    .splitSize(2)
                    .build();

    StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
    env.enableCheckpointing(3000L);

    DataStreamSource oracleChangeEventStream = env.fromSource(
                    oracleChangeEventSource,
                    WatermarkStrategy.noWatermarks(),
                    "OracleParallelSource")
            .setParallelism(4)
            .setParallelism(1);

    oracleChangeEventStream.print();

What did you expect to see?
Is it my configuration problem
What did you see instead?
null error
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

When i add column at table,id has other error.

Closing this issue as it has been migrated to Apache Jira.


Using depreciated Linux command to mount SMB shares

Problem with SMBMOUNT command.  It has been depreciated in Linux and is no longer available in cifs-utils.  The code needs to be updated to include the newer method to mount SMB shares.  See this thread on the SageTV forums: http://forums.sagetv.com/forums/showthread.php?t=63002

See SMBMOUNT in IOUtils.java don't know if that is where the problem I've got is coming from or not.

I think this got fixed because somebody changed it to check if 'smbmount' is available and if not then it uses 'mount.cifs' instead, so I'm going to close this now.

Yes I fixed it and you merged it a while ago.  Was I supposed to close it?
Didn't know the person reporting the problem could do that.  Sorry about
that.
BobPhoenix

I think this got fixed because somebody changed it to check if 'smbmount'
is available and if not then it uses 'mount.cifs' instead, so I'm going to
close this now.

You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
https://github.com/google/sagetv/issues/79#issuecomment-219884507

I don't really know how this is supposed to work. :)  I know when you do checkins, you can reference an issue # in it to link the checkin to the issue..but I've only done that sometimes when I actually remember to.  I don't think that actually closes the issue though.
I was just looking through them all again and closing ones that I thought were done. So no worries. :)
I think I may be able to still link it..let me try that. #80

Cool...looks like you can do it after the fact to some degree, although it's not part of the commit message then.

Typically I will say something like, "Fixed #NNN" in the commit message and it will close the issue for me.    It's handy.


Let's use mockito to unit test caching decorators

Mockito can be used to unit test the caching decorators.
For instance the unit test for CachedYamlLine.trimmed() would look like this:
@Test
public void cachesTrimmedValue() {
    YamlLine mock = Mockito.mock(YamlLine.class);
    //instruct mock to return "this line" on first call to trimmed
    //and throw exception on second call trimmed()

    YamlLine line = new CachedYamlLine(mock);
    String cached = line.trimmed();
    MatcherAssert.assertThat(cached, Matchers.is("this line"));
    MatcherAssert.assertThat(cached, Matchers.is("this line"));
}

In this way we will unit test other caching decorators to come as well.

@SherifWaly Do you know Mockito, or want to learn about it? :D This task should be easy; mockito is already declared as a test dependency to the project.

@amihaiemil I don't know about it but I would like to learn about it, so I will see some resources about it and change the test :D

@SherifWaly cool,  have a look. It's not hard and it's a must-know in general. It's one of the most used frameworks for mocking in Junit :)


Could ida for macOS use it ?

I use ida for macOS and I installed this plugin with the user_guide.pdf. I also installed retdec,but now I can't use it in IDA....There is no plugin in my tool

It seems like the plugin wasn't loaded

Hi. Since you have closed the issue, we assume that you have been able to resolve it by yourself. For future reference, can you please describe what you have done to fix it? It may be useful to someone else who stumbles upon it in the future.

If you used pre-compiled packages from Releases, they will most certainly not work in macOS. You can try to build the sources yourself, but we do not guarantee it will work. Explanation:
https://github.com/avast/retdec-idaplugin#installation-and-use


Chore: switch yarn to npm

Codecov Report

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

@@          Coverage Diff          @@
##           master    #21   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           9      9
  Lines         101    101
  Branches       15     15
=====================================
  Hits          101    101

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 daa7118...d99640d. Read the comment docs.


prl-2984

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PRL-2984
Change description
citizen frontend for testing purposes
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x] No

Closing as this has been a dummy pr for test.


unix: make uv_tcp_keepalive predictable

Current UNIX systems define various defaults for
TCP_KEEPINTVL and TCP_KEEPCNT, which makes the time
between TCP_KEEPIDLE delay is reached and timeout
effectively occurs unpredictable (Linux: /proc/sys
/net/ipv4/tcp_keepalive_intvl;tcp_keepalive_probes).
Do the following: set TCP_KEEPINTVL to 1 second (same
as Win32 default) and TCP_KEEPCNT to 10 times (same
as Win32 hardcoded value).

Inital review and comments made here:
https://github.com/libuv/libuv/pull/2664

Added a mention in the docs (tcp.html) :

After delay has been reached, 10 successive probes, each spaced 1 second from the previous one, will still happen. If the connection is still lost at the end of this procedure, then the handle is destroyed with a "UV_ETIMEDOUT" error passed to the corresponding callback.

No plan to make further changes to the PR now -unless requested.

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/1753/

Landed in https://github.com/libuv/libuv/commit/21aff3b4c430e73da8364ddfcec87746689988b4. Thanks!


refactor: increase code quality

Type of changes

[ ] Bug fix
[ ] New feature
[ ] Documentation / docstrings
[ ] Tests
[x] Other

Checklist

[x] I've run the latest black with default args on new code.
[ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. (I don't know if I should add myself there)
[ ] I've added tests for new code. (Not applicable)
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
Sourcery-AI refactored the code in my fork. So I want to push it upstream. Also, I've run the latest black on the whole code base.
Changes details: https://github.com/wizard-28/rich/pull/1

Countless pointless changes, and you broke the tests. Please do not submit anything from Soucery again or I will block you.


Added strimzi-kafka-operator

This is ready to go now.

@sayar can you push an update to your fork to re-run the test?


Incorrect PowerShell Command

[Enter feedback here]
$ApplicationId = (Get-AzADApplication -DisplayNameStartWith exampleapp).ApplicationId
Should be ".AppID" at end of command, not .applicationID
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6329b3a8-32d6-c327-d3bc-2f6805d22ec8
Version Independent ID: a3fcf4d5-fb74-6f38-97f6-80dfafa66e06
Content: Create an Azure app identity (PowerShell) - Microsoft Entra
Content Source: articles/active-directory/develop/howto-authenticate-service-principal-powershell.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@heuristik1
Thanks for your feedback! We will investigate and update as appropriate.

@heuristik1
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly

You're right, thanks for pointing this out.  I just pushed some updates.  #please-close

I j

you're welcome.  if only it were that easy convincing the wife when I'm right ;)


Controls shift with song name length

The controls for "play", "forward" and "back" shift with the length of the title. This is only effective when the window is not in full screen or is pulled very small.

If you just jump through an album and the forward button keeps jumping from one place to another, it feels strange.
A fixed range for the length of the song name could be created so that the length of the title does not affect the controls.

Indeed that's not great, thanks for the report!

Fixed, will be in next version! I removed the clamp alltogether


ssp should be needs_id when obs.community_taxon coarser than obs.taxon

if observation.taxon.rank_level = 5 (e.g. ssp), should be needs_id unless observation.taxon = observtion.community_taxon
That would prevent obs like this of being RG at the ssp level with just one ID at the ssp level
which is consistent with our intention that RG obs with observation.taxon = X should have at least 2 IDs at observation.taxon X or finer

linking to related forum bug report https://github.com/inaturalist/inaturalist/issues/3322


using yolox_keras as backbone/pretrained model wanted

many will try using different backbones like yolo/VGG/ENet for their models and it will be usefull if you have a pretrained model that doesn't include top layers for them.
I also tried to find the saved model as it has to be in this directory :'model_data/yolox_s.h5' but it isn't
if you still have the model I'll appreciate to upload it again. because I tried to train the model but found some issues with utils and loading data.
Thanks

The official code don‘t offer the weights of backbone, it can only split from coco weights


Do not require associations to be wrapped in changesets

See comments here: http://blog.roundingpegs.com/an-example-of-many-to-many-associations-in-ecto-and-phoenix/

Closed by https://github.com/elixir-ecto/ecto/commit/16d99ed8a98d16c0a4d542cb2d0261d32d8d5ae7


Mark slowest tests as slow and add nightly slow test job

Summary
This commit makes two changes to hopefully improve CI throughput. The first is to mark the majority of the shor's algorithm testing and some other particularly slowly executing as slow. This prevents the tests from running as part of normal CI runs which should hopefully improve the runtime of a full unit test job. To make sure we don't forget about these tests and regress the functionality this commit also adds a new nightly CI job to github actions to run all the tests including the ones decorated with @slow_test. If the nightly job fails we can track it with an issue and fix it.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
303 unchanged lines in 10 files lost coverage.
Overall coverage decreased (-0.4%) to 84.138%

Files with Coverage Reduction
New Missed Lines
%

qiskit/circuit/controlflow/if_else.py
1
96.28%

qiskit/opflow/list_ops/tensored_op.py
1
91.49%

qiskit/utils/arithmetic.py
2
75.32%

qiskit/algorithms/linear_solvers/matrices/tridiagonal_toeplitz.py
3
88.56%

qiskit/circuit/library/arithmetic/exact_reciprocal.py
4
87.1%

qiskit/algorithms/linear_solvers/matrices/numpy_matrix.py
8
68.24%

qiskit/algorithms/linear_solvers/linear_solver.py
11
71.43%

qiskit/utils/circuit_utils.py
20
12.0%

qiskit/algorithms/linear_solvers/hhl.py
102
26.56%

qiskit/algorithms/factorizers/shor.py
151
36.15%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
60480

Relevant Lines:
71882

💛  - Coveralls


Sprint challenge pull request

Great job!
Comprehension Questions: Good work here, I can tell you get these concepts.
MVP: Home page / About page: Really solid work on your home and about pages. The HTML looks good. Your class names are really descriptive which is super helpful when looking at your style sheets. It's clear you really understand the different properties of flexbox.
Commit History: Pretty good commit frequency for the size of this project, there could be a few more.   Describe exactly what you did for each commit. Overall good though.
Stretch Goals: Seemed like you were solid on the core objectives so I'd like to see you dive into stretch goals next time.
Rating: 2


Add service principal to virtual network subnet using Azure CLI or PowerShell

I'm trying to script provisioning of an AKS cluster using a custom vnet. I can do all of this quite happily but cannot perform the final step of giving the service principal Owner rights to the subnet so Kubernetes can automatically provision a load balancer without throwing permission issues.
Is there an 'az' CLI command or PowerShell cmdlet that can achieve this or is this only possible through the Azure portal resource explorer?
Ideally something like:
az network subnet add user --name MySubnet --vnet-name MyVnet --resource-group MyRG --service-principal MyServicePrincipal --role Owner

Hi, the issue is mentioned here https://github.com/Azure/AKS/issues/357, there is a workaround which I can perform manually through the Azure portal but I was simply wondering if there is a way of scripting the following:

In the Azure portal, go to Virtual Networks and select the VN (not the generated aks-vnet-xxx VN).
Go to Subnets and select the subnet you choose in the advanced network option during creation of your AKS cluster.
Pick ‘Manage Users’ and add a user.
Pick the role Owner (Contributor won’t resolve the error).
Select the Service Principal that was created for your AKS cluster. It doesn’t appear in the list by default, but you can search by the first few chars of your AKS cluster’s name.


Add "subtitle" support for terminal-notifier

terminal-notifier supports a -subtitle flag which is very helpful and would be great to support.
For other notifiers without a subtitle option, maybe the subtitle could be prepended to the message with a delimiter when subtitle: is passed to Notifier.notify.
What do you think?
Edit: Just FYI I'm using this for notify-push.
Erik

Added through 11caa066d5ae3783bf4ca83f473849d64628f62d.
Sorry for taking this long.


Seek for access to the annotation files of IsoGD dataset used in this paper

The annotation files of IsoGD dataset (for instance "rgb_train_lst.txt") used in this paper not found!
The official annotation file of IsoGD dataset has three columns and looks like this:
valid/001/M_00001.avi valid/001/K_00001.avi 109
valid/001/M_00002.avi valid/001/K_00002.avi 241
...

However, in your dataset parser codes like Videodatasets, it seems that the columns are different from official annotation file.
def get_data_list_and_label(data_df, typ):
      T = 0  # if typ == 'M' else 1
      return [(lambda arr: ('/'.join(arr[T].split('/')[1:]), int(arr[1]), int(arr[2])))(i[:-1].split(' '))
              for i in open(data_df).readlines()]

Would you like to share your annotation files or provide a detailed explanation.
Looking forward to your reply! Thanks!

I assume the second column of the annotation file is frame counts of videos.

The preprocessed list is shared in the link below:
https://drive.google.com/drive/folders/14pddCQBvlj43pxJJENi8pqp9YAPEeGBX?usp=sharing

The preprocessed list is shared in the link below: https://drive.google.com/drive/folders/14pddCQBvlj43pxJJENi8pqp9YAPEeGBX?usp=sharing

Thank you for your sharing!


Slivers not being clipped in CustomScrollView with SliverMainAxisGroup on Flutter 3.13

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Run the code sample below you and you will see that the list items are not clipped by the CustomScrollView when using SliverMainAxisGroup. The attached video show this in action.
Wrapping the CustomScrollView in a ClipRect is a workaround at present but adds an extra ClipRectLayer. Removing the SliverMainAxisGroup widget makes the problem also go away. This explains that the issue relates to the new SliverMainAxisGroup widget and CustomScrollView.
Expected results
The CustomScrollView should adhere to it's clipBehavior and clip its content.
Actual results
The CustomScrollView should be clipping its content.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Material(
        color: Colors.red,
        child: Padding(
          padding: const EdgeInsets.symmetric(vertical: 128.0),
          child: DecoratedBox(
            position: DecorationPosition.foreground,
            decoration: BoxDecoration(
              border: Border.all(color: Colors.blue, width: 3.0),
            ),
            child: CustomScrollView(
              clipBehavior: Clip.hardEdge, // default value
              slivers: [
                SliverMainAxisGroup(
                  slivers: [
                    const SliverToBoxAdapter(
                      child: Material(
                        child: Padding(
                          padding: EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0),
                          child: Text('Heading'),
                        ),
                      ),
                    ),
                    SliverList.builder(
                      itemBuilder: (BuildContext context, int index) {
                        return Material(
                          child: ListTile(
                            title: Text('Item #$index'),
                          ),
                        );
                      },
                    ),
                  ],
                ),
              ],
            ),
          ),
        ),
      ),
    ),
  );
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/906564/1ea4b59a-32a9-4515-a6b3-9adc75970f03

Logs
No response
Flutter Doctor output
Doctor output
# flutter doctor -v
[√] Flutter (Channel stable, 3.13.0, on Microsoft Windows [Version 10.0.19045.3324], locale en-GB)
    • Flutter version 3.13.0 on channel stable at C:\Android\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (2 days ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Android\SDK
    • Platform android-33, build-tools 33.0.0
    • ANDROID_SDK_ROOT = C:\Android\SDK
    • Java binary at: C:\Program Files\Java\jdk-17\bin\java
    • Java version Java(TM) SE Runtime Environment (build 17.0.7+8-LTS-224)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.11.18)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32802.440
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at C:\Users\Simon\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\232.8660.185
    • Flutter plugin version 75.1.4
    • Dart plugin version 232.8660.129

[√] VS Code, 64-bit edition (version 1.27.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.18.0

[√] Connected device (4 available)
    • Pixel 4 (mobile)  • 99171FFAZ000F8 • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows        • windows-x64    • Microsoft Windows [Version 10.0.19045.3324]
    • Chrome (web)      • chrome         • web-javascript • Google Chrome 115.0.5790.171
    • Edge (web)        • edge           • web-javascript • Microsoft Edge 115.0.1901.203

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

@Piinks @thkim1011 pulling you in as you are code owners for this.

Great catch @slightfoot. I can see on the latest master too.

expand to view the code sample
[✓] Flutter (Channel master, 3.14.0-8.0.pre.9, on Microsoft Windows [Version 10.0.22621.2134], locale en-US)
    • Flutter version 3.14.0-8.0.pre.9 on channel master at C:\Users\Taha\Code\flutter
    • Upstream repository git@github.com:TahaTesser/flutter.git
    • FLUTTER_GIT_URL = git@github.com:TahaTesser/flutter.git
    • Framework revision 6875827f46 (16 minutes ago), 2023-08-18 20:48:05 +0300
    • Engine revision 58f7d8ee3e
    • Dart version 3.2.0 (build 3.2.0-84.0.dev)
    • DevTools version 2.26.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34009.444
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2023.1)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)

[✓] VS Code (version 1.81.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.2134]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 115.0.5790.173
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 115.0.1901.203

[✓] Network resources
    • All expected network resources are available.

• No issues found!

+1

🥳 Thanks @Piinks!


Update install-rtfctl.adoc

updating incorrect link
Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Hi @tim-daly-mulesoft Thank you for your contribution. We have merged it into our documentation.


Provide ability to bundle dev dependencies for Node adapter

Describe the problem
Currently, the Node adapter will not bundle any external server side dependencies. This means that you need to make all of the dependencies you might need at runtime be prod dependencies. This differs from its (recent) previous behavior, and from Sapper's behavior, and from (I would argue) expected behavior.
Until now, it's been standard operating procedure to bundle as many of the server-side dependencies as possible, to reduce the deployed app size, parse time, and startup time. If there's some good reason to stop doing this, it should certainly at least be documented.
This issue may also well apply to other adapters (other than the static one), but I haven't tried to validate that.
Describe the proposed solution
I'm not entirely sure. It would be nice to be able to provide sensible default Vite configuration so that we have Vite do it, rather than do this in a separate esbuild step afterwards (either automatically or manually).
I don't know whether some different behavior from Vite would make this easier on our end, or whether this is something that Vite ought to change.
Below, I describe what I'm currently doing in userland to deal with this, but I'm not positive that this would have an equivalent in-framework analogue. (Do we have convenient access to the user's project's package.json?)
Alternatives considered
Currently, I have a vite.ssr.noExternal setting of process.env.NODE_ENV === "development" ? undefined : Object.keys(pkg.devDependencies) (where pkg is the parsed JSON from package.json) to force Vite to bundle all of my dev dependencies.
The check for development vs prod mode is there because I was having an issue using Object.keys(pkg.devDependencies) in dev mode that I haven't fully tracked down or tried to reproduce in a minimal repo, but which seem to stem from having a CJS-only dependency that Vite doesn't try to convert to ESM during dev mode.
Importance
would make my life easier
Additional Information
No response

So there used to be an esbuild step in adapter-node, which would bundle everything. It was removed in #2931.
@Rich-Harris was this an unintended side-effect of that? I can't see it mentioned in the PR or discussion.

I ran into a similar issue to @Conduitry since upgrading and taking inspiration from this thread I added my package dependencies manually to the vite.ssr.noExternal config and got things working again.  This definitely feels like a breaking change in how the Node adapter previously worked though.
A path forward would be a welcome discussion.

Hello,
I agree with @Conduitry that it could be interesting to have an option to bundle dev dependencies when using node adapter. The workaround is working well but an option would be simpler to use.
I think it should not create a single entry file (like before) but bundles only dev dependencies as suggested by Conduitry.
An option directly on svelte-kit that apply the above workaround may also be ok.

Doing this makes the system harder to understand in my opinion because it makes dev different than prod (though perhaps that ship has sailed) and SvelteKit different from Vite. It also adds another way in which adapter-node is different from the rest (the others are also different because they use esbuild).
If the adapters were Vite plugins (or could provide Vite plugins) then we could at least make this functionality available with a single option like bundleDependencies: boolean.

Yeah, this is really annoying. Currently my docker image is 1.5G and could be 50-100M if everything was bundled

FWIW, we presently use a postbuild step using esbuild. This reduces our docker image size from 1GB to 20MB.
// File: scripts/postbuild.js
// In package.json: scripts.postbuild = "node scripts/postbuild.js"
require('esbuild').buildSync({
  entryPoints: ['./build/index.js'],
  outfile: './build/index.bundle.js',
  format: 'esm',
  target: 'esnext',
  platform: 'node',
  // When outputting ESM, any require calls will be replaced with the __require
  // shim, since require will not be available. However, since external paths
  // will not be bundled, they will generate a runtime error. This matters only
  // for built-in node modules.
  // https://github.com/evanw/esbuild/pull/2067#issuecomment-1152399288
  banner: {
    js: `
    import { createRequire } from 'module';
    import { fileURLToPath as urlESMPluginFileURLToPath } from "url";
    import { dirname as pathESMPluginDirname} from "path";
    const __filename = urlESMPluginFileURLToPath(import.meta.url);
    const __dirname = pathESMPluginDirname(urlESMPluginFileURLToPath(import.meta.url));
    const require = createRequire(import.meta.url);
    `,
  },
  bundle: true,
});

With the now-latest version of SvelteKit, @sveltejs/kit itself now has prod dependencies that need to be bundled at app build time - it used to be that these dependencies were bundled in @sveltejs/kit itself - so my above workaround doesn't work anymore. The same would presumably happen with other dev dependencies that have prod dependencies.
My new workaround is something that I think did not used to be possible in Vite 2 but which is now possible in Vite 3. Rather than telling Vite which dependencies to bundle, I tell it to bundle all dependencies, but exclude the ones that are prod dependencies of the app:
export default ({ command }) => ({
	plugins: [sveltekit()],
	ssr: command === 'build' && {
		external: Object.keys(pkg.dependencies),
		noExternal: true,
	},
})

Issue https://github.com/sveltejs/kit/issues/5944 was marked as duplicate, yet I found out recent version of sveltekit and adapter-node makes the build dependent on the devalue package. Installing it solves the issue.

With the now-latest version of SvelteKit, @sveltejs/kit itself now has prod dependencies that need to be bundled at app build time - it used to be that these dependencies were bundled in @sveltejs/kit itself - so my above workaround doesn't work anymore. The same would presumably happen with other dev dependencies that have prod dependencies.
My new workaround is something that I think did not used to be possible in Vite 2 but which is now possible in Vite 3. Rather than telling Vite which dependencies to bundle, I tell it to bundle all dependencies, but exclude the ones that are prod dependencies of the app:
export default ({ command }) => ({
	plugins: [sveltekit()],
	ssr: command === 'build' && {
		external: Object.keys(pkg.dependencies),
		noExternal: true,
	},
})

Hi @Conduitry in your work around you are getting the keys of pkg.dependencies but how are you defining or importing pkg? Are you just manually reading the dependencies from package.json or is this a special vite / node import to list them?

Nope, I'm just manually reading the file.

Awesome, thank you for the quick reply @Conduitry. I assumed that was the case - but wanted to double check just in case something else was happening.
Do we have any idea when this workaround may be able to be reverted and sveltekit / adapter-node will either bundle these required dependencies or some alternative solution?
For now I have tested this solution and it works well - well, once I moved some other dependencies that were breaking this workaround from dev to production in my package.json. Which dependencies go in which in package.json section is a whole other topic :)

I tried @Conduitry's suggestion but I'm still getting Cannot find package 'devaule', 'cookie', 'set-cookie-parser' and so on.
Also, I have some /foo.json/+server.ts endpoints where I'm importing { json } from '@sveltejs/kit' and when I hit those it also complains that it Cannot find package '@sveltejs/kit'.
My current versions:
vite: 3.0.9
@sveltejs/kit: 1.0.0-next.427
@sveltejs/adapter-node: 1.0.0-next.86

Edit: As others pointed out, adding devalue, cookie and set-cookie-parser as production dependencies and running npm ci --prod fixes the issues, including the import { json } from '@sveltejs/kit' error I mentioned above.

I think the process of build need to add adapter node dependencies in production. It' very confusiong if every time this dependencies was changed, we would need to start the app in production to discover that some packages is not there.

Opened a PR that adds @Conduitry's solution to the default Vite config https://github.com/sveltejs/kit/pull/6301

@fmaclen can you share a reproduction on the latest SvelteKit? I just tried @Conduitry's suggestion and it works fine for me

@benmccann just tried @Conduitry's solution on my project again (with the latest version and the one I was using when I posted my comment) and both work as expected so the error was probably caused by some other issue specific to my repo 👍

Edit: As others pointed out, adding devalue, cookie and set-cookie-parser as production dependencies and running npm ci --prod fixes the issues, including the import { json } from '@sveltejs/kit' error I mentioned above.

I think the process of build need to add adapter node dependencies in production. It' very confusing if every time this dependencies was changed, we would need to start the app in production to discover that some packages is not there.

If I install devalue, when run builded occurs:
file:///home/node/app/build/server/chunks/index.js:3
import devalue from "devalue";
       ^^^^^^^
SyntaxError: The requested module 'devalue' does not provide an export named 'default'
``
If I not install, the App don't work because it don't find devalue.

Would someone help me?

@moisesbites you should pin the devalue version to 2.0.1 (last version is 3.0.0 but the upgrade as not yet been done in kit)
here are the version that I used with a successful build yesterday :
    "cookie": "^0.5.0",
    "devalue": "2.0.1",
    "set-cookie-parser": "^2.5.1",

"devalue": "2.0.1",

@vboulaye Thank you!
It would be nice for the adapter to keep the libraries up to date with the latest versions, as for now the build installation has been delegated to the developer at the end. That would be less confusing, at least for now.

This should be good to go now in 1.0.0-next.88 of the Node adapter. When you update, you should remove any workarounds you added for this issue, including my ssr Vite config and including adding SvelteKit's runtime dependencies as direct prod dependencies of your app.


Help to Revert to previous version

I unfortunately am using an old High Sierra system. I was working fine with (I believe) 3.09 installed, but I accidentally updated via the companion to 3.1 and now it doesn't work. I downloaded/installed the 3.09 and 3.06 versions of aerial, but if I open the companion it gives a message saying it needs the latest version...but it used to work...Can I get it to work again?

In my High Sierra installation, after the update to 3.10 it showed a moving text telling me that "this version of Aerial does not work with your version of MacOS".
I reverted to 3.09 by downloading the kit directly, and after unzipping it, copy it directly to ~/Library/Screen Savers/ .

Strange. I was just about to respond this, looked over at my screen, and it was working.
Thank you for the kind replies.
I did the same thing @mvori did, i.e. download the 3.09 zip and install manually, but was getting the moving text they describe, and the screensaver was inoperative. It seems to have fixed itself, aka showing the screensaver, no message, and companion is telling me 3.1 is ready.
If I remember correctly at one point running the companion gave me a message about being installed for all users, so it needed to upgrade, but I am not sure if that was originally or during one of my attempts to fix it, which involved various deletes and reinstalls. Eventually I installed it for one user only. Sorry not to be able to give a more detailed breakdown. I should have been less happy-go-lucky.
The companion seems to be working for the most part. I can open the settings, for example. Launch now isn't working, but it may be something else on my computer is wonky.

So, a few things @mvorl & @ksdavidc
First, the "You cannot use the Aerial screen saver with this version of macOS." is not exactly a new bug. It can happen anytime you update Aerial while having your System Preferences panel open, or if you switch between screen savers (on anything <10.15). The quick fix is, go to System Preferences, make sure Aerial is selected, close System Preferences (the whole window) and reopen. I have more details here if you are interested, see the first "Very common issues..." at the bottom of this page : https://aerialscreensaver.github.io/troubleshooting.html
So I would make sure that whichever version you try, you are aware of this.
Also, if you have multiple version of Aerial showing up in the Screen saver panel, remove them all, and reinstall fresh (don't try to find which one is which, those old versions of macOS will not load them correctly when you have multiple of them).
It's possible that there's another specific issue with 3.1.0 as it's compiled using the latest Xcode, and Apple periodically breaks/remove support for old versions of macOS. I've confirmed that 3.1.0 "works" with 10.14, but I no longer have anything to test on 10.13 to verify what could be happening.
If you have issues with auto updates, you can disable them via companion (just say Notify me instead of install automatically in the menu). You can either uninstall companion (trash the app) or just stay like until a fix pops up, if any.
If you want to manually install, you can get  any version here : https://github.com/JohnCoates/Aerial/releases just grab the zip, close System Preferences, and double click the .saver. When prompted, install for your user only (and not all users).
Finally, and I'm just putting this here, you may want to have a look at something like this patcher that lets you install a version of macOS on unsupported hardware :
http://dosdude1.com/mojave/
http://dosdude1.com/catalina/
Again, use at your own risk, have multiple backups, try installing on a separate drive, etc etc. I do use this to run 10.14 on a 2011 Macbook Air. Extra tip : I wouldn't recommend installing Catalina if you only have 4 GB of RAM.
If you have more specific info about what fails with 3.1.0 (after making sure it's not the bug at the top), please let me know. I try to do a best effort to support old versions of macOS but Apple makes it really hard, so things will break at some point or another.

Wow. That is interesting.
So I bit the bullet and updated again, with settings closed. It looked like it was working at first. If I loaded full screen, it was ok. (no go on "load now"). When I closed it, though, the companion closed by itself(!). When I opened it again, again I got the scrolling msg, and even full screen did not work. I got a blank screen. I tried opening and closing settings, to no avail. I am trying a restart...[muzak plays. ad for car insurance plays]... nope. no go. will revert.
Have reverted as before, and companion is showing old version, but screen saver is blank and still getting text. Have restarted twice. This is where I was before, when it magically cured itself.
It seems unable to launch aerial settings even from the companion, so I wonder if somehow I have broken the connection to the settings???
I re-downloaded 3.9, and installed by double clicking instead of by moving it manually to the folder. It warned me I was using an older version, and gave me the option to replace, which I did. That seems to have fixed it. It works under 3.9.
I should try that with 3.1 I suppose. So let's do it again. first, via companion. why not, eh.
Okay, it worked the first time I loaded to full screen. I went to settings, and bam, not working again. (again, similar behavior as before)
Okay, I'll try downloading 3.1. I downloaded, unzipped and double clicked. msg: Could not install (nill) screen saver.
I will add that the first time I tried to download/unzip 3.1 it gave me a file corrupted msg. the second time it worked ok. (bug in archiver?) Also I had another screensaver that was giving me the same scrolling text, but i deleted it.
Sticking with 3.9 for now. Maybe next time.
It's a lovely screensaver, my daughter (8) loves all the fish, and it makes us happy to see the weather, the time, and all the lovely images. Thank you, and for being a conscientious developer. :-)

Thanks @glouel. I experienced the same as @ksdavidc and will take the opportunity to bite the bullet to upgrade my trusty old High Sierra installation (MacBookPro8,1 w/ 16GB of RAM) to Mojave. I also love the screen saver and it's a worthy reason to upgrade ;-)

Very quick update , I did release 3.1.2 yesterday with a very specific settings fix that would have also been an issue on 10.13, but it's likely that this isn't the fix for 10.13 (it only affected saving some settings, it's unlikely this error was the same). I'll try to reinstall 10.13 on my old macbook this weekend and see if I can figure something out.

It's a lovely screensaver, my daughter (8) loves all the fish, and it makes us happy to see the weather, the time, and all the lovely images.

Hearing that always make my day ! Give her an extra hug from me next time !

Fwiw I have a MacPro 3,1 running 10.13 thanks to the magic of DosDude's tool. I had a very old version of Aerial running and recently updated to the latest version and was disappointed to find it didn't work any more. Same problems as others have described here. I downloaded 3.09 and I'm up and running again!
Thanks for all your continued work on supporting Aerial. It is my favourite screensaver by far.

Just a quick update, I reinstalled High Sierra on an old mac and the issue seems to be that the Swift libraries are not loading under 10.13. Aerial does bundle the swift libraries for older macOS systems to avoid that issue, but they just don't load. I believe Apple may have messed up some compatibility thing in the latest Xcode, or there's a deprecation notice I can't find.
As best as I can tell, the latest version of Xcode has "only" dropped support for 10.12 and still supports deployment for 10.13, but this may not be correct for Swift apps. I tried inspecting the libraries and it looks like they use the 10.14 SDK.
Long story short, I'll try a couple of things and see if I can raise an issue or get clarification from Apple, but this may be the end of the line for 10.13 with the latest Xcode. I'll see if there's something that can be done, or maybe make a build with some older version but at some point that will break too.

After a bit more digging, it looks like this may be a plugin (screensaver) specific bug. I'm filling a bug with Apple and will keep all of you posted.

Thanks Guillaume, I really appreciate your efforts to support our poor old High Sierra.
My Mac Pro 3,1 is supposed to be capped at Mavericks but runs beautifully on High Sierra. I’ve tried to go newer but had problems so I’ve settled for HS and will stick with this OS as long as I can.
Aerial 3.09 seems to run flawlessly on HS so I’m glad to have a working version even if you’re no longer able to keep it updated for HS.
Cheers,
Rob
Sent from my iPhone

On Sep 3, 2022, at 10:57 AM, Guillaume Louel @.***> wrote:

After a bit more digging, it looks like this may be a plugin (screensaver) specific bug. I'm filling a bug with Apple and will keep all of you posted.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

I had the same problem for the same reason (Mac Pro 3,1).
Downgrading to 3.0.9 helped -- thanks for the tip!

So to all, 3.1.3 works again on 10.13, it's complied with Xcode 14 release candidate. However this doesn't mean the issue won't crop up again later. Hopefully Apple fixed the bug that blocked things, but let me know if you hit the issue again in the future.

Thank you, I have updated and all is well again. Appreciate the support!


docs: improve param documentation

How to make tinymist to support #example()? Syntax like
/// #example(`
/// #alternatives-match((
///   "1, 3-5": [this text has the majority],
///   "2, 6": [this is shown less often]
/// ))
/// `)

will make docs disappear.

Now I'm using
/// Example: `#something()`

We can completely follow format of tidy docs rather than workaround bugs, as we'll finally fix them. And, we can add more features if there should be missing ones.


!!Color Copied Images!!

https://stackoverflow.com/questions/44453942/fastimagecache-on-ios-using-copied-images
As per documentation :
Color Copied Images—Sometimes the way that backing images are created means that Core Animation is forced to make a copy of the image and send it to the render server instead of just sending a pointer to the original. This option colors such images blue in the interface. Copying images is very expensive in terms of memory and CPU usage and should be avoided if possible.
Please see the image from FastCacheImage Demo project (https://i.stack.imgur.com/sGSZr.jpg)
Here all the images showing with blue overlay, mean they are copied. How to fix it?

Closing it, As on simulation it shows like this. On actual device it is proper.


Verify system software status before and after the upgrade

Is your feature request related to a problem? Please describe.
When upgrading PAN-OS on a firewall using the pan-os-upgrade utility, it is important to ensure that all critical system processes are running properly before and after the upgrade. Currently, the utility does not have a built-in mechanism to check the status of system processes, which may lead to upgrades being performed on firewalls with pre-existing issues or upgrades being considered successful even if some processes fail to start after the upgrade.
Describe the solution you'd like
Enhance the pan-os-upgrade utility to include a system software status check before and after the upgrade process. The utility should:

Before initiating the upgrade, run the show system software status command on the firewall to retrieve the status of all system processes.
Parse the output of the command and check if all critical processes are in the "Running" state.
If any critical process is not running before the upgrade, display a warning message to the user and prompt them to either proceed with the upgrade or abort the process.
After the upgrade is completed and the firewall is back online, run the show system software status command again.
Compare the post-upgrade process status with the pre-upgrade status to ensure that all critical processes are still in the "Running" state.
If any critical process is not running after the upgrade, consider the upgrade as failed and display an error message indicating which processes are not running.
If all critical processes are running both before and after the upgrade, consider the upgrade as successful.

Describe alternatives you've considered
An alternative approach could be to rely on the existing upgrade status messages provided by the firewall itself. However, these messages may not always cover the status of all critical processes, and relying solely on them might not provide a comprehensive view of the system's health before and after the upgrade.
Additional context
Here are a few additional points to consider:

The list of critical processes to be checked should be configurable or derived from best practices recommended by Palo Alto Networks.
The utility should provide clear and informative messages about the status of system processes, both before and after the upgrade.
In case of any process not running, the utility should log the details and provide troubleshooting information to assist users in resolving the issue.
Consider adding a flag or configuration option to allow users to skip the system software status check if they prefer to manage it separately.
Update the project's documentation to include information about this new feature, explaining how it enhances the upgrade process by verifying the system software status.

By implementing this feature, the pan-os-upgrade utility will provide an additional layer of assurance by checking the status of critical system processes before and after the upgrade. This will help identify potential issues early in the upgrade process and ensure that the upgraded firewall is functioning as expected.

will revisit when time permits, closing for now