Inconsistent payload passing to trigger for 'API Call' actions

For system events (like Insert/Update/...) payload of trigger consts of table row and passed in variable row. https://github.com/saltcorn/saltcorn/blob/844356d998807f084253d880cece68e0f404cad7/packages/saltcorn-data/models/trigger.ts#L250 (BTW: not all table operations uses this function. Is this a bug?)
For emitEvent() payload passed as argument and passed in variable row.
https://github.com/saltcorn/saltcorn/blob/844356d998807f084253d880cece68e0f404cad7/packages/saltcorn-data/models/trigger.ts#L211
Suddenly for 'API Call' triggers request body passed as variable body. https://github.com/saltcorn/saltcorn/blob/844356d998807f084253d880cece68e0f404cad7/packages/server/routes/api.js#L350

Another consequence is that in blockly actions you have only current payload block that refers row variable, and you can't directly implement 'API Call' triggers using it.

PR: #1725 1725


Added sys path to "import lib" block, as it was failing to find the libs

Added sys path to "import lib" block, as it was failing to find the libs

Seems that I forgot to change directory after restarting runtime. Thanks for the pr.


Remove repeated shipping API calls from checkout lines mutations

Reduces number of shipping API calls performed by Checkout Lines mutations from 4 to 1 by removing redundant API calls from fetch_checkout_info.
Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[x] Privileged queries and mutations are guarded by proper permission checks
[x] Database queries are optimized and the number of queries is constant
[x] Database migration files are up to date
[x] The changes are tested
[x] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

@rafalp We also have similar logic in CheckoutInfoByCheckoutTokenLoader dataloader. Should we introduce any change in them?

@fowczarek I haven't heard of any performance issues happening there, but IMHO we should have a task to cleanup changes introduced in this PR and propagating them to across similar places.

This looks like a massive conflict with #8737

@stnatic C'est la vie ;) I think we should consider either merging this and then adapting #8737 so it also doesn't cause extra webhook calls, or skipping this PR and adapting #8737 in its place. But I don't know how much time we have, I've got impression that getting rid of those extra API calls was urgent for us.

I made an alternative PR (#8772) that uses SimpleLazyObject in order to add lazy evaluation to the attributes in question, it seems to pass the latest test added by Rafał and it's the same solution that's used in #8737.

I've added asserts on webhook calls count to checkout benchmarks for two scenarios:

Add lines to checkout without shipping
Add lines to checkout with external shipping

Thanks @rafalp for pointing out the differences between our solutions and adding an extra test. I've made your tests pass on my original branch (#8737).

Since the performance issue is mitigated in main, let's assume that we'll clean up the code as part of #8737. I'm already working on merging changes from Rafał and me


Name and grafic bug

good day friend, I have started to play your port of ff3 and I have run into two strange bugs. 1 it does not matter what nick the player has (in this case leave the original) in the cinemas, P1 is shown instead of the nickname. 2: a strange line in the lower median part of the face of the characters as the image cracks

Thank you very much for your work, I wanted to inform that I also have the error of the player's name


Fix container logs/stats indexing

This PR fixes broken container logs/stats database indexing.

Looks good!


Document a getting started for authors

Create a simple Getting started for authors as a MD file in this repository, capturing the very basic things for a new HP author. I could imagine for example the following sections as being sufficient:

Changing your color
Changing the logo
Creating a page (do we need different page types perhaps?)
Linking your new page in the menu
Adding an external link in your menu

An explanation of what is in the repository (7 folders etc) might be a good introduction.

If your logo is online already then you can simply refer to that url.

Only if it's HTTPS, otherwise there's a warning, and I think I'd recommend copying it to the assets anyway -- hotlinking from an institutional website will inevitably break.

Create a file hello.md with the following content

Where? I think you might need to explain the difference between pages in the root of the repository, and the contents of _posts.

An explanation of what is in the repository (7 folders etc) might be a good introduction.

If your logo is online already then you can simply refer to that url.

Only if it's HTTPS, otherwise there's a warning, and I think I'd recommend copying it to the assets anyway -- hotlinking from an institutional website will inevitably break.

Create a file hello.md with the following content

Where? I think you might need to explain the difference between pages in the root of the repository, and the contents of _posts.

Thank you Matt.
It is a good idea to suggest a place to create that file.
Other than that I'm a bit reluctant to explain things that is explained better in the Jekyll documentation. Examples being: what is a page and how does it work with folders. That is why I start that task with a link to the documentation on pages and ask the user to spend 2 minutes reading that.

Thank you Matt.
It is a good idea to suggest a place to create that file.
Other than that I'm a bit reluctant to explain things that is explained better in the Jekyll documentation. Examples being: what is a page and how does it work with folders. That is why I start that task with a link to the documentation on pages and ask the user to spend 2 minutes reading that.

There is a limit to how simple we can make this, if the editors are to edit files themselves then they need to learn a bit about Jekyll, yaml etc. If we really believe it should be simpler, then we could integrate with something like Contentful and have that as an editor platform.

There is a limit to how simple we can make this, if the editors are to edit files themselves then they need to learn a bit about Jekyll, yaml etc. If we really believe it should be simpler, then we could integrate with something like Contentful and have that as an editor platform.


Transitions and animations

We have a few needs in this space! Currently, we offer some animation APIs via the backstack APIs, but let's try to flush this out into a full API.

[ ] Inspired by @oldergod's mention in his Broadway talk at Droidcon NYC, let's explore implementing an AnimationFactory API to allow providing animations between two given screens. This would allow us to contribute a transition for these screens as keys.
[ ] Batteries-included animations. We have one already where it defaults to CrossFade, let's make a few more available like PushLeft, PushRight, etc.
[ ] Is the current backstack animation API good enough for our needs? Do we want to make other changes to better support an AnimationFactory API? What about looking at what https://github.com/rjrjr/compose-backstack does?

A good example for this would be to make the petlist -> detail transition use the iamge as a shared hero element

Another option to consider: https://github.com/skydoves/Orbital

Ran into this while using this in CatchUp, something to be mindful of: https://issuetracker.google.com/issues/266401829

Someone sent me this as a good source of inspiration: https://medium.com/airbnb-engineering/motion-engineering-at-scale-5ffabfc878

Another thing to keep an eye on: shared element transitions: https://android-review.googlesource.com/c/platform/frameworks/support/+/2499518


Postprocessing for symmetric coloring in bicoloring

We need some way to detect useless colors

@gdalle
using SparseMatrixColorings

###################################################################
# Rectangle matrix
###################################################################

m = 20
n = 30
p = 2
J = zeros(m,n)
for i = 1:p
  J[i,:] .= rand()
end
for i = m-p+1:m
  J[i,:] .= rand()
end
for j = 1:p
  J[:,j] .= rand()
end
for j = n-p+1:n
  J[:,j] .= rand()
end

J = sparse(J)
H = [0*I J'; J 0*I]

###################################################################
# rectangle -- star bicoloring
###################################################################

problem = ColoringProblem(; structure=:nonsymmetric,
                            partition=:bidirectional)

order = NaturalOrder()

algo = GreedyColoringAlgorithm(order;
                               decompression=:direct)

result = coloring(J, problem, algo)

rcolors = row_colors(result)
ccolors = column_colors(result)
num_colors = ncolors(result)

Br, Bc = compress(J, result)

# H2[i,j] is the color of the column j of H.
#
# Because of the shape of H:
# - If the column j of H represents a column of J (1 ≤ j ≤ n),
# H2[i,j] stores the color of the row `i-n` of J such that J[i-n,j] != 0.
# - If the column j of H represents a row of J (n+1 ≤ j ≤ n+m),
# H2[i,j] stores the color of the column `i` of J such that J[j-n,i] != 0.
H2 = copy(H)
for j in 1:n+m
  for index in H2.colptr[j] : H2.colptr[j+1]-1
    i = H2.rowval[index]
    if i > n
      H2.nzval[index] = rcolors[i-n]
    else
      H2.nzval[index] = ccolors[i]
    end
  end
end
H2 = Int.(H2)

# `checker` is a vector of size `num_colors` that will store, for a given column `j` of H,
# the number of times each color is used in `rcolors` or `ccolors`.
#
# `checker[c]` stores the number of times that color `c` appears in column `j` of H2.
#
# If each non-zero entry in column `j` of H2 has a different color
# (checker[c] <= 1 for all c), it means we can use a neutral color 0.
# This implies that all non-zero entries in the column `j` of H can be recovered from the rows `i` of H where H[i, j] != 0.
checker = Vector{Int}(undef, num_colors)

# List of columns of H that be colored with the neutral colors 0.
neutral_columns = Int[]

# Here, we need to loop through the list of columns that don't have a diagonal entry H[k,k].
# This means all columns for bicoloring, but it could also be used on a subset of columns
# in more traditional star coloring for symmetric matrices!
for j in 1:n+m
  fill!(checker, 0)
  nnz_col = H2.colptr[j+1] - H2.colptr[j]
  neutral = true
  index = 1
  pos = H2.colptr[j] - 1
  while neutral && index ≤ nnz_col
    color = H2.nzval[pos+index]
    if checker[color] != 0
      neutral = false
    else
      checker[color] += 1
      index += 1
    end
  end
  if neutral
    push!(neutral_columns, j)
  end
end

# Use `neutral_columns` to set the neutral color 0 in `rcolors` and `colors`.
for val in neutral_columns
  if val ≤ n
    ccolors[val] = 0
  else
    rcolors[val-n] = 0
  end
end

# Remark: We can't avoid storing `H2` in a more efficient implementation.

@gdalle I did some plots and it seems to do (almost) what we want:

[rectangle] The number of colors before preprocessing is 10.
[rectangle] The number of colors after preprocessing is 8.

[arrowhead] The number of colors before preprocessing is 22.
[arrowhead] The number of colors after preprocessing is 20.

We can see in the last figure that some non-zeros are not colored, probably because we need to consider the previous neutral colors.
If we have a square matrix with a dummy coloring that assigns a distinct color to each row and each column, the post-processing will set the neutral color for everyone, because each column can be recovered from all rows and vice versa. Each row can be also recovered from all columns.


Fix KPI Reps stacks order

Coverage decreased (-0.01%) to 92.05% when pulling 10be870f6d6c236d8f370eaf53af0f5d5611e381 on comzeradd:kpi-stack-order into e723684f822783d5f33b89f63e72022e7421c668 on mozilla:master.

Reviewed on IRC.


cmake find_package(MPI REQUIRED)  Error.

Hi, I did all the steps in the installation of your document. but it failed at the step
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install ../SpinParserSource
Here， i pasted the error message.
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71") found components: regex thread system program_options filesystem timer date_time unit_test_framework
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.4") found components: C
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
CMake Error in /root/soft/SpinParser/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Imported target "MPI::MPI_C" includes non-existent path
"/root/soft/SpinParser/SpinParserSource/'/opt/intel/oneapi/mpi/2021.1.1/include'"

in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

The path was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and references files it does not
provide.

CMake Error in /root/soft/SpinParser/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Imported target "MPI::MPI_C" includes non-existent path
"/root/soft/SpinParser/SpinParserSource/'/opt/intel/oneapi/mpi/2021.1.1/include'"

in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

The path was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and references files it does not
provide.

CMake Error at /usr/share/cmake-3.16/Modules/FindMPI.cmake:1194 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindMPI.cmake:1245 (_MPI_try_staged_settings)
/usr/share/cmake-3.16/Modules/FindMPI.cmake:1505 (_MPI_check_lang_works)
CMakeLists.txt:29 (find_package)
-- Configuring incomplete, errors occurred!
See also "/root/soft/SpinParser/build/CMakeFiles/CMakeOutput.log".
See also "/root/soft/SpinParser/build/CMakeFiles/CMakeError.log".

Here is the CMakeError.log:
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /root/soft/SpinParser/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_de9a1/fast && /usr/bin/make -f CMakeFiles/cmTC_de9a1.dir/build.make CMakeFiles/cmTC_de9a1.dir/build
make[1]: Entering directory '/root/soft/SpinParser/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_de9a1.dir/src.c.o
/usr/bin/cc   -DCMAKE_HAVE_LIBC_PTHREAD   -o CMakeFiles/cmTC_de9a1.dir/src.c.o   -c /root/soft/SpinParser/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_de9a1
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_de9a1.dir/link.txt --verbose=1
/usr/bin/cc  -DCMAKE_HAVE_LIBC_PTHREAD    CMakeFiles/cmTC_de9a1.dir/src.c.o  -o cmTC_de9a1
/usr/bin/ld: CMakeFiles/cmTC_de9a1.dir/src.c.o: in function main': src.c:(.text+0x46): undefined reference to pthread_create'
/usr/bin/ld: src.c:(.text+0x52): undefined reference to pthread_detach' /usr/bin/ld: src.c:(.text+0x63): undefined reference to pthread_join'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_de9a1.dir/build.make:87: cmTC_de9a1] Error 1
make[1]: Leaving directory '/root/soft/SpinParser/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_de9a1/fast] Error 2
Source file was:
#include <pthread.h>
void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /root/soft/SpinParser/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_253e1/fast && /usr/bin/make -f CMakeFiles/cmTC_253e1.dir/build.make CMakeFiles/cmTC_253e1.dir/build
make[1]: Entering directory '/root/soft/SpinParser/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_253e1.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_253e1.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.16/Modules/Chec
Linking C executable cmTC_253e1
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_253e1.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTC_253e1.dir/CheckFunctionExists.c.o  -o cmTC_253e1  -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_253e1.dir/build.make:87: cmTC_253e1] Error 1
make[1]: Leaving directory '/root/soft/SpinParser/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_253e1/fast] Error

Coincidentally, my installation also fails and shows the same error. Somewhere, some modification needed prior to installation?

Hi, it looks like CMake is having trouble locating the MPI package.
What system are you running on, and which MPI distribution did you install?
You can aid cmake in locating the MPI library by passing definitions like -DMPI_HOME=/path/to/mpi when calling cmake.
See the "Variables for locating MPI" section on https://cmake.org/cmake/help/latest/module/FindMPI.html for more detailed information.
To ensure that the compilation works smoothly without MPI, you can also define -DSPINPARSER_DISABLE_MPI=ON when calling cmake to disable the use of MPI.

Hi, it looks like CMake is having trouble locating the MPI package. What system are you running on, and which MPI distribution did you install?
You can aid cmake in locating the MPI library by passing definitions like -DMPI_HOME=/path/to/mpi when calling cmake. See the "Variables for locating MPI" section on https://cmake.org/cmake/help/latest/module/FindMPI.html for more detailed information.
To ensure that the compilation works smoothly without MPI, you can also define -DSPINPARSER_DISABLE_MPI=ON when calling cmake to disable the use of MPI.

Thanks for response. "-DMPI_HOME=/path/to/mpi" doesn't help.  I realized this is a BUG in cmake. I delete all the "/root/soft/SpinParser/SpinParserSource/"  in CMakeCache.txt as  the error message said error in "/root/soft/SpinParser/SpinParserSource/'/opt/intel/oneapi/mpi/2021.1.1/include'".
Then, cmake successfully.

After cmake.  and make . i run make test and  there is something  wrong with the tests. so i create a new issue about that.
thanking you anticipating your response on this issue.

Hi, it looks like CMake is having trouble locating the MPI package. What system are you running on, and which MPI distribution did you install?
You can aid cmake in locating the MPI library by passing definitions like -DMPI_HOME=/path/to/mpi when calling cmake. See the "Variables for locating MPI" section on https://cmake.org/cmake/help/latest/module/FindMPI.html for more detailed information.
To ensure that the compilation works smoothly without MPI, you can also define -DSPINPARSER_DISABLE_MPI=ON when calling cmake to disable the use of MPI.

Thanks for response. "-DMPI_HOME=/path/to/mpi" doesn't help. I realized this is a BUG in cmake. I delete all the "/root/soft/SpinParser/SpinParserSource/" in CMakeCache.txt as the error message said error in "/root/soft/SpinParser/SpinParserSource/'/opt/intel/oneapi/mpi/2021.1.1/include'".
Then, cmake successfully.

Thank you both for your responses. Indeed @QG-phy suggestion made it compiled successfully. Again, the same. Some of the tests fail in my case as well as been mentioned in the new issue.

The cmake bug is known to manifest in conjunction with Intel MPI 2021.1 and reported in https://gitlab.kitware.com/cmake/cmake/-/issues/21634 .
It has been fixed in cmake 3.19.3.


Reliability of scans triggering on push

Hi,
I read the statement "Image scans are triggered on every push" - how reliable is this? Does ASC rely on notifications from the ACR that may get lost over internet, or does ASC proactively checks for image versions and guarantees eventual consistency of scans?
Additionally, if I'd like to deny an image push in case of some vulnerabilities that are a no-go for production, is there a way to trigger a scan before deploying to an ACR, or should we use a 2nd ACR for scanning purposes before we go live with an image?

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

ID: ad7c05f1-f69c-c033-0409-39f5c8f03674
Version Independent ID: ebcceb7b-0d9c-618c-9576-b3b1713fe1ef
Content: Container Security in Azure Security Center
Content Source: articles/security-center/container-security.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

@Eldar1205 Thanks for the feedback. We are investigating the issue and will update you shortly.

Hi @Eldar1205,
Thanks for the questions. We're confident in the reliability of the scanning on push system. If you're seeing issues in your environment, please open a ticket with support.
As for your second question regarding denying a scan of a specific image, this is something that is planned but I can't commit to a timeline right now.
Please be in touch with any further questions.
#please-close


Handle negative reply for NNTP STARTTLS in s_client

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Description of change

Handle negative reply for NNTP STARTTLS in s_client as requested by @dot-asm in #2300.

Cool. Thanks for patience.

Though I'd like to also add that I'd expect these commits to be squashed upon commit to repository. I mean without contributor having to do it in the request that is.

I am sorry – and thank you for your patience.

thanks!


Completions for symbol names are shown after " in interactive window

Environment data

Language Server version: 2024.6.1
OS and version: Windows 11
Python version: 3.12.1

Repro Steps

Jupyter: Create Interactive Window
In the input box, type x = " and note the completion suggestions

Expected behavior
No completion suggestions, as you'd see in a .py file:

or in a regular notebook:

Actual behavior

Worse yet, after typing the close quote, you get the suggestions again:

Notebooks display the same completion (you need to start the kernel)
Given that users haven't reported this issue there's no plan to fix this, besides the completions are returned by the kernel.


ROS2 slam test test_005_hector.launch not working

Hello,
Trying to use the test_005_hector.launch with sick_nav_350 in ROS 2 Iron. It seems the launch file gets stuck after launching nav350. Communication with the nav 350 is working as it should but it does not launch hector or the rviz stuff. I've tried launching it in two different ways:
ros run sick_scan sick_scan_generic test_005_hector.launch
And i've written a python wrapper so it works with:
ros launch sick_scan test_005.hector.launch
Same result:
[sick_generic_caller-1] [INFO] [1693461766.148262524] [sick_scan]: SickScanServices: service "/SickScanExit" created ("/SickScanExit")
[sick_generic_caller-1] [INFO] [1693461766.148357365] [sick_scan]: SickScanServices: ros services initialized
[sick_generic_caller-1] [INFO] [1693461766.148383347] [sick_scan]: Setup completed, sick_scan_xd is up and running. Pointcloud is published on topic "cloud"
[sick_generic_caller-1] scanner_type                   string     sick_nav_350
[sick_generic_caller-1] slam_echo                      string     laser_POS_000_DIST1
[sick_generic_caller-1] slam_bundle                    bool       true
[sick_generic_caller-1] min_ang                        double     -2.3998277
[sick_generic_caller-1] max_ang                        double     +2.3998277
[sick_generic_caller-1] intensity_resolution_16bit     bool       False
[sick_generic_caller-1] hostname                       string     <IP_ADDRESS>
[sick_generic_caller-1] port                           string     2112
[sick_generic_caller-1] timelimit                      int        5
To me it looks like the launch file is not forking the process and won't continue working through the launch file.

I've realised that this test is for ROS 1 only. Are there any plans to add examples for ROS 2 with scan matching algoritms without the need for wheel odometry?
Tried the test again with ROS1, scanner, hector and rviz starts up but Global status, Pointcloud and TF are not happy. Complains about:
Global status > Fixed frame > Unknown frame map
Pointcloud2 > Status error > Transform > For frame [cloud]: Fixed frame [map] does not exist
TF: No transform from [xxxx] to frame[map]
Launch file looks like this:

Thanks for your feedback. We will analyze hector_slam support for NAV-350 on ROS-1 and possibilities for a migration to ROS-2.

Please find attached launch and rviz configuration files adapted for NAV-350 and SLAM support. Just unzip file sick_scan_xd_slam_launch.zip into folder sick_scan_xd.
NAV-350 ROS-1 SLAM example
Build hector_slam and sick_scan_xd:
cd src
git clone https://github.com/SICKAG/sick_scan_xd.git
git clone https://github.com/tu-darmstadt-ros-pkg/hector_slam.git
cd ..
catkin_make_isolated --install --cmake-args -DROS_VERSION=1 -DCMAKE_ENABLE_EMULATOR=1 -Wno-dev

Run rviz, sick_scan_xd and hector_slam:
source /opt/ros/noetic/setup.bash
source ./devel_isolated/setup.bash
rosrun rviz rviz -d ./src/sick_scan_xd/test/emulator/config/rviz_slam_nav350.rviz &
roslaunch sick_scan sick_nav_350.launch hostname:=<IP_ADDRESS> &
roslaunch sick_scan test_200_slam_ros1_hector.launch scan_topic:=/sick_nav_350/scan &

The following rviz screenshot shows an example of a NAV-350 pointcloud created by sick_scan_xd and its map generated by hector_slam on ROS1:

NAV-350 ROS-2 SLAM example
Install the ROS2 slam-toolbox with sudo apt install ros-foxy-navigation2 ros-foxy-nav2-bringup ros-foxy-slam-toolbox (replace foxy by your ros distribution).
Build sick_scan_xd for ROS-2 as described in INSTALL-ROS2.md
Run rviz2, sick_scan_xd, slam_toolbox and static transforms:
source /opt/ros/foxy/setup.bash
source ./install/setup.bash
ros2 run rviz2 rviz2 -d ./src/sick_scan_xd/test/emulator/config/rviz2_slam_nav350.rviz &
ros2 launch sick_scan sick_nav_350.launch.py hostname:=<IP_ADDRESS> &
ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 base_link cloud  &
ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 base_footprint base_link  &
ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 odom base_footprint  &
ros2 launch nav2_bringup navigation_launch.py &
ros2 launch slam_toolbox online_async_launch.py &

Note: Laserscan messages need to be remapped to topic /scan (default is /sick_nav_350/scan). Use remappings=[ ('/sick_nav_350/scan', '/scan'), ] in the launchfile, e.g.:
node = Node(
    package='sick_scan',
    executable='sick_generic_caller',
    output='screen',
    remappings=[ ('/sick_nav_350/scan', '/scan'), ], # remap laserscan messages to topic /scan
)

The following rviz2 screenshot shows an example of a NAV-350 laserscan created by sick_scan_xd and its map generated by slam_toolbox on ROS2:

sick_scan_xd_slam_launch.zip

Thank you! I will give it a try.
I see that you are using slam_toolbox for ROS2 instead of Hector slam. I thought it was not possible to use slam_toolbox without wheel odometry feedback?

You are probably right. According to https://github.com/SteveMacenski/slam_toolbox/issues/221 and https://stackoverflow.com/questions/75864827/slam-toolbox-mapping-issue, you can use https://github.com/AlexKaravaev/ros2_laser_scan_matcher to create an odometry feedback. But I have not tested it (it is a bit beyond the scope of the driver).
Nevertheless, you can use the slam_toolbox to create an initial map. In navigational mode, the NAV-350 lidar generates pose- and landmark data, which are translated to TF messages. Using these TF messages, you can see in rviz, how the lidar moves on the map.

I tried the ROS 1 example but I get the following when launching hector:
[ INFO] [1694066953.126533259]: lookupTransform base_link to cloud timed out. Could not transform laser scan into base_frame.

Thanks for your update!

Can this be done only on nav350, or can it be done on lms-1xx as well?

@erknl I think the above "NAV-350 ROS-2 SLAM example" might work with humble and lms-1xx, if you swap foxy with humble and sick_nav_350 with sick_lms_1xx.


Block large payloads inside DocumentDeltaConnection, size due to the 1MB Kafka limit

See https://github.com/microsoft/FluidFramework/issues/7599
It would block message transmission and close the container but only with explicit feature gate.

@markfields @vladsud please take a look at this. There is a bit of a behavior change with regards to retrying on error in the deltamanager.

I know you looked into it before, but I want to poke more.
Is there really no way to determine that socket.io disconnect happened due to size violation?
Is there anything we can do to observe lower-level traffic to figure it out? That would be obviously much better direction to convert such errors to catastrophic errors (not sure about 0.9Mb limit).

Is there really no way to determine that socket.io disconnect happened due to size violation?

None that I can find :( https://github.com/microsoft/FluidFramework/issues/8179#issuecomment-964626592 was the farthest I've gotten investigating/debugging this particular issue. I think the best way is to actually add the limitation to the server (our server) based on my notes here: https://github.com/microsoft/FluidFramework/issues/7599#issuecomment-961294411, push that value down using the client config, the documentdeltaconnection should read that config and either block OR if we fix the 1MB kafka limit do the fix in the runtime layer to support larger batches.
The current PR is to be explicit about a limit that is 'de facto' breaking things silently.


Add more information in the log when disk is not large enough

In zcc, unpackdiskimage
has error printError "Target disk is too small for specified image.”
Add more information here, similar like other functions.

@SeanHQF @bjhuangr @jichenjc @zhshuj Could you please review? Thanks.
Local UT and pep8 passed.


⚠ Bofrost.de has degraded performance

In 17c5d8b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1068 ms

Resolved: Bofrost.de performance has improved in 009be9a after 13 minutes.


helmfile panic with helm 3.4

I am getting this message when I run helmfile apply:
panic: error parsing helm verion 'v3.4+unreleased+g14a2aac'
This is happening on alpine linux with the latest helm 3.4 from the alpine package repository along with latest helmfile from github repository.
Full output of helm version command is here:
version.BuildInfo{Version:"v3.4+unreleased", GitCommit:"14a2aac38244afd14d093fdd32234385a1f94d43", GitTreeState:"dirty", GoVersion:"go1.15.6"}
Temporary solution for me is to use helm release from github instead of one from alpine repository.

Still wondering about the solution 🥇 ?!
tested with helmfile v0.144.0 and even latest 0.151.0 ... both returned:
panic: error parsing helm version 'v3.9.0+3.el8+ge09b16a'

@abdennour please post the new issue in helmfile/helmfile repo. And where did you download your helm binary?


fix cannot receive answer call on Android 11

fix cannot receive answer call on Android 11
https://github.com/flutter-webrtc/callkeep/issues/96

LGTM
Did you pass the test on your Android 11 device? I don't have a chance to test now, so I will merge after confirming that it is correct.

LGTM
Hey, did you pass the test on your Android 11 device? Because I don't have a chance to test now, So I just need to confirm that the patch can work properly before merging it

sure work fine


Sample Topics fixed

Describe your changes :

Worked on fixing the sample topics.

Type of change :

[x] Bug fix

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have performed a self-review of my own.
[x] I have tagged my reviewers below.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

Ingestion: @harshach

@ayush-shah @akash-jain-10 why is the integration tests still failing with this PR?


TypeScript shaders

This is based on @birkskyum's work on generating the shaders from MapLibre GL JS after the TypeScript migration.
To make the diff a bit smaller, I commented some lines in the GL JS submodule the generate-shaders.ts script to strip less white spaces.
I don't know if this works...
function glslToTs(code: string): string {
    code = code
        .trim() // strip whitespace at the start/end
        .replace(/\s*\/\/[^\n]*\n/g, '\n') // strip double-slash comments
        .replace(/\n+/g, '\n'); // collapse multi line breaks
        //.replace(/\n\s+/g, '\n') // strip identation
        //.replace(/\s?([+-\/*=,])\s?/g, '$1') // strip whitespace around operators
        //.replace(/([;\(\),\{\}])\n(?=[^#])/g, '$1'); // strip more line breaks

I'd love to help out, but I'm not sure I know how.
Ping me on slack and we'll discuss further.

The recent removal of MapLibre GL JS from this repo, as well as the transition of the shaders to OpenGL ES 3 makes this work obsolete.


Concurrent Mode Patterns Translation

Work In Progress Translation of Concurrent Mode Patterns

Hi there, i'm probably will be busy by a few month, so maybe i can't resume documenting, anyone is welcome to continue my work here 😄

@ahmad-reza619 Okay, I can take over for now: :+1:


[float string]different result vs origin after call Marshal & Unmarshal

testcase:
{"":[9020000000039351e-5]}
testcode:
func test(data []byte) {
	create := func() interface{} { m := map[string]interface{}{}; return &m }
	v := create()
	v1 := create()

	_ = json.Unmarshal(data, v)
	data1, _ := json.Marshal(v)
	_ = json.Unmarshal(data1, v1)

	fmt.Printf("v0: %#v, v1: %#v\n", v, v1)
}

when call test with "encoding/json" , get result:
v0: &map[string]interface {}{"":[]interface {}{9.020000000039351e+10}}, v1: &map[string]interface {}{"":[]interface {}{9.020000000039351e+10}}

when call test with json-iterator ,get result :
v0: &map[string]interface {}{"":[]interface {}{9.020000000039351e+10}}, v1: &map[string]interface {}{"":[]interface {}{9.020000000039352e+10}}

9.020000000039351e+10 vs 9.020000000039352e+10
How did I find the problem?
I refer to the test cases and test corpus for std json in the go-fuzz project to test json-iterator.
see ： https://github.com/dvyukov/go-fuzz-corpus/tree/master/json

It's the nature of double precision floating number(IEEE 754).
90200000000.39351 can't be present as it is since it's overflowed the max fraction part of float64 (1<<52-1)
9020000000039351
4503599627370495

https://en.wikipedia.org/wiki/Double-precision_floating-point_format
You can try
	f, err := strconv.ParseFloat("9020000000039351e-5", 64)
	if err != nil {
		return
	}
	fmt.Printf("%0.16f\n", f)
	fp := float64(9020000000039351)/float64(100000)
	fmt.Printf("%0.16f\n", fp )
	fmt.Println(fp == f)

//<PHONE_NUMBER>0.3935089111328125
//<PHONE_NUMBER>0.3935241699218750
// false

Although we can fix it by running the slow path if value is over 1<<52-1

This was found by oss-fuzz as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18867
@AllenX2018 are you fixing other bugs ?
https://bugs.chromium.org/p/oss-fuzz/issues/list?q=label:Proj-go-json-iterator


[Feature] Allow disabling no matches warning

Is this feature missing in the latest version?

[X] I'm using the latest release

Is your feature request related to a problem? Please describe.
If no matching files are found the action outputs a warning
Describe the solution you'd like?
An input to disable the warning, if youre expecting no files to potentially match this clogs up the annotation output
Describe alternatives you've considered?
No response
Anything else?
No response
Code of Conduct

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

Is there a reason you still want to use this action if it doesn't match any file?

Hi @danpowell88, Is there a reason you still want to use this action if it doesn't match any file?

I'm using it in reusable workflows to dynamically run certain parts based on if certain files are found


Adds python 3.8.9, 3.9.3 and 3.9.4, closes #3439

I am not sure if I also have to tweak some infra to test it 🤔

Looks like pyenv is not ready to support 3.8.9 yet:
        Dependabot::SharedHelpers::HelperSubprocessFailed:
         python-build: definition not found: 3.9.3

         See all available versions with `pyenv install --list'.

Now it looks like it should do it 👍

Sure!
You mean this README? https://github.com/dependabot/dependabot-core/blob/main/python/README.md
Or the main one?

Sure!
You mean this README? https://github.com/dependabot/dependabot-core/blob/main/python/README.md
Or the main one?

Wherever you would have hoped to find it 😄 I think the main one might be easier for visibility?

It looks like python/README.md is more intuitive.

Thanks @sobolevn 💛


This module is where all FS power is, but it's not well documented

For Nodejs this is go to library for FS programming. However, it lacks documentation and this is so painful. I got looking around and found this and thought this might help someone.
https://medium.com/makingtuenti/developing-applications-for-freeswitch-fccbe75ada81
I think this link or the entire article should just be included in the wiki or on the README so that it helps anyone starting out this path to get it right.
This is not the first time I have attempted to use this lib. I always got issues because of this lack of documentation.

This library implements the ESL Spec, so all the functions are what are listed there. All the events are documented here. There are also a number of examples. What is it that you find to be missing?


Update source-ip doc with new ESIPP fields

Fixes #4271.
/assign @ahmetb
cc @craigbox @bowei

This change is

/lgtm

Thanks for the quick review!

Indeed. You guys are great.
On Wed, 5 Jul 2017 at 21:20, Zihong Zheng<EMAIL_ADDRESS>wrote:

Thanks for the quick review!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/pull/4279#issuecomment-313215426,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIFnnJHtB7qNscERfhuwvwJ5Yib0J3Eks5sK_ANgaJpZM4OOyE_
.


fixture.clear() is really fixture.cleanup()

According to the docs, there's a fixtures.clear() method, but it's actually called fixtures.cleanup(). Can you please update the docs?

Unfortunate miss. Will do


Requesting additional standards

Please add some information about how we can submit requests for Microsoft to add additional standards

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

ID: a9fbe6ca-1f70-657b-fc1a-c488335bdef6
Version Independent ID: 4962534a-ec5a-bc9a-f0ec-2074cf446807
Content: The regulatory compliance dashboard in Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/update-regulatory-compliance-packages.md
Service: defender-for-cloud
GitHub Login: @memildin
Microsoft Alias: memildin

Hi, we are investigating your issue and will update you shortly.
Best,
James

The best place to make such feature requests is in our community forum here:
https://aka.ms/MDFCUserVoice
#please-close

Thanks, please include this reference in the documentation also


Braflix - Movies / TV / Anime

Source name
Braflix
Source link
https://www.braflix.gd/
Source language
English
Other details

18+/NSFW = NO
Movies / TV / Anime in 1080p / 4K
Custom Filters
Supports Multi Subs

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

RIP
Closing this!


Does not work

This plugin no longer works with the newer Statamic

Same here, the add-ons are really useful but I can't install it


Inspector variables not bound

In v...869 if I evaluate each of these two statements separately, the second fails because the temp is still nil. It works if both are evaluated at once

Fixed!


[SPARK-32788][SQL] non-partitioned table scan should not have partition filter

What changes were proposed in this pull request?

This PR fixes a bug FileSourceStrategy, which generates partition filters even if the table is not partitioned. This can confuse FileSourceScanExec, which mistakenly think the table is partitioned and tries to update the numPartitions metrics, and cause a failure. We should not generate partition filters for non-partitioned table.
Why are the changes needed?

The bug was exposed by https://github.com/apache/spark/pull/29436.
Does this PR introduce any user-facing change?

Yes, fix a bug.
How was this patch tested?

new test

@wangyum @viirya @maropu

Test build #128253 has started for PR 29637 at commit 40c3420.

Test build #128259 has started for PR 29637 at commit 3e4a6a5.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32887/
Test PASSed.

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128253/
Test PASSed.

Merged to master and branch-3.0.

Test build #128259 has finished for PR 29637 at commit 3e4a6a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128259/
Test PASSed.


em.create() initializes all entity properties with explicit undefined values

Describe the bug
Suppose I have a model that looks like this:
class Foo {
  @Property({ columnType: 'text' })
  name: string;

  @Property({ defaultRaw: 'now()', nullable: false })
  createdAt: Date;
}

In previous versions of mikro-orm (around 4.2.3), using em.create(Foo, { name: 'foo' }) would create the following entity:
{
  name: 'foo'
}

I recently upgraded to v4.5.6, and now the behavior seems to have changed such that this entity is created instead:
{
  name: 'foo'
  createdAt: undefined
}

Was this change intentional? I can't quite seem to find when or why this changed. The reason this is significant is that the current behavior will attempt to persist a NULL value to the createdAt column, which could trigger a not-null constraint exception in the case where the user expects the database to provide a default value (i.e., via @Property({ defaultRaw: 'now()', nullable: false })).
Expected behavior
I would expect em.create to not explicitly populate entity properties that weren't specified.
Versions

Dependency
Version

node
15.12

typescript
4.3.4

mikro-orm
4.5.6

your-driver
<EMAIL_ADDRESS>

Definitely nothing intentional, but I can't reproduce it, neither on 4.5.6, nor on master.

@B4nan Thanks for the very quick response. So to be clear, your master branch would still produce { name: 'foo' } (i.e., without the explicit undefined values)?

Not just master branch, 4.5.6 too. Tried it with the realworld example app after upgrading to 4.5.6. Ideally provide a failing test case or executable repro, might be some other detail or something configuration specific.

Ah yes you're right, it definitely has something to do with my specific configuration. When I downgrade from typescript 4.3.4 -> 3.9.7, this issue goes away. I'll close this issue for now, and can follow up if / when I figure out the root cause for this issue.

Looks like the issue still exist, I've faced with it too, and not sure if it's related to environment (will also check at another laptop).
In my case I had a default value in SQL, and non-nullable column.
Guess it's not an issue for MySQL because it can handle nulls at inserts, however, Postgres isn't so flexible in this question (https://www.postgresql.org/docs/current/sql-insert.html#id-<IP_ADDRESS>.9).
I've also checked with reflect-metadata and the issue is still there.
Repo: https://github.com/volo-maslow/mikro-orm-1984
Temporarily fixed it by adding an extra check to the @mikro-orm/knex->QueryBuilderHelper.ts@processData replacing all undefined variables with postgres 'default' statement.

JS file dirty fix
if (data[k] === undefined && (prop.nullable === false || prop.nullable === undefined) && (prop.default !== undefined || prop.defaultRaw !== undefined)) {
                data[k] = this.platform.usesDefaultKeyword() ? this.knex.raw('default') : undefined;
            }

This is not really about pg vs mysql, when I was trying to reproduce this, the em.create() did not produce the undefined props at all. I still cannot reproduce it in the ORM tests, but I am with the repository you provided.
After looking a bit deeper, I see the problem with your repo is that you target ESNext, and due to this, when you create new instance of a class, all the properties gets initialized to undefined even tho you are not defining any intializers for them.
console.log(new OrganizationEntity());

// prints with ESNext
OrganizationEntity {
  organizationId: undefined,
  name: undefined,
  description: undefined,
  isDeleted: undefined,
  createdAt: undefined
}

// prints with ES2021
OrganizationEntity {}

Don't ask me why ¯_(ツ)_/¯

Thank you, @B4nan. This is definately configuration-related issue, caused by useDefineForClassFields TypeScript compiled option.
Initially TS team built it before the spec was done, and now they changed the behaviour, spec says that undefined values are initial behaviour Ref: (TS Docs)
Looks like ESNext has this set to true by default. The fix is just do disable it in tsconfig.json:
{
  "compilerOptions": {
    "useDefineForClassFields": false,
  }
}

I guess it could find it's place somewhere in MikroORM docs.

I guess it could find its place somewhere in MikroORM docs.

PR welcome, at least a note in the FAQ page would be good.
We could also fix this internally, if this will become the next default in a year, we will need to anyway.

Per your request, I just opened a PR to address this in the FAQ (#2441). Hopefully this helps future developers!


ribbon

Is it very complex to realize the relatively complete function, as shown in the figure:

is tgus a qeustion? Im not sure what you try to say

I mean the technical complexity of the implementation. I want to achieve such a display effect

https://github.com/waliarubal/AvaloniaRibbon

@kekekeks
Thats what i told him in a earlier post https://github.com/AvaloniaUI/Avalonia/issues/3873#issuecomment-622949958
@jinyuttt You have to puzzle a bit it is not WinForms ;)
Good luck,
Remco

thanks


User types "~database ITEM"
NadekoBot returns "http://www.database.com/q=ITEM"

OR

NadekoBot returns information about ITEM
e.g. "{Icon} Name: Poisoned Dagger Type: Dagger Quality: {icon} Req. lvl: 100 Item Lvl: 150"

How I would go about doing this? I am a little out of my depth when it comes to these things but I'm a quick learner so even a point in the right direction would be tremendously helpful.  :)

There are a lot of examples in the source of how to add variables from command to a string. Look into SearchHelper.cs and SearchesModule.


Are there examples (code) of using Aneris?

Hi creators of Aneris. I am interested in this project and would like to play with it. There are several examples mentioned in the paper such as the "Add" client-server protocol. Do you mind sharing the source code (aneris program, spec, and proof) of such examples?
Thank you.

The Coq development from the ESOP paper is available on iris-project.org. There is also an artifact for our POPL 2022 paper. We are working on making all the developments available on GitHub (together with all the examples, newest version of the project, etc) very soon.

Much appreciated.

I am not very experienced with Iris and am studying it. If you don't mind, will you be so kind to show me how the calculator example (one server adding two ints) is proved with this GitHub version of Aneris? I notice that the esop examples are developed with an old version and I'm trying to redo it, but I'm having trouble proceeding.

The repository has now been updated and contains multiple example usages and case studies. For an introductory example, check out the ping_pong folder in aneris/examples. If you have other questions, you're welcome to send me an e-mail at<EMAIL_ADDRESS>


Cannot read property 'Constants' of undefined

After upgrading to RN 0.19 from RN 0.17, everytime I open my video page, I keep getting this error. Not sure what's causing this issue as my js file only contains a page that renders a single  component.

Have you run react-native upgrade and performed the suggested upgrades, especially the one for MainActivity.java? Note that after doing this you'll have to re-link all your native packages using rnpm or the manual process. But anyway, that should fix the issue.

Haven't upgraded and getting the same error..
Using react-native 0.14.2
@Proyoyo could you fix it?

I get the same error on react-native v0.20 with Android 6.0.
I am trying to load external video from a url.
<Video source={{uri: video_url}}
              rate={1.0}
              muted={true}
              paused={false}
              resizeMode="contain"
              repeat={true}
              onLoad={() => {
                console.log('loaded');
              }}
              style={styles.thumb} />

Possible Unhandled Promise Rejection (id: 0):
Cannot read property 'Constants' of undefined
TypeError: Cannot read property 'Constants' of undefined
    at Video.render (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:68438:50)
    at ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:28096:28)
    at ReactCompositeComponentMixin._renderValidatedComponent (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:28116:24)
    at wrapper [as _renderValidatedComponent] (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:2077:13)
    at ReactCompositeComponentMixin.mountComponent (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:27729:22)
    at wrapper [as mountComponent] (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:2077:13)
    at Object.ReactReconciler.mountComponent (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:26180:29)
    at ReactMultiChild.Mixin.mountChildren (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:37645:32)
    at ReactNativeBaseComponent.Mixin.initializeChildren (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:37256:22)
    at ReactNativeBaseComponent.Mixin.mountComponent (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false:37379:6)

which states this line:

@corbt That seems to fixed the issue. Thanks!

react-native: 0.22.2
Steps
npm i react-native-video --save
rnpm link react-native-video
Got the success message after linking
react-native run-ios
ERROR: Cannot read property 'Constants' of undefined
Not sure if it is relevant, but the Linked Frameworks and Libraries is missing the icon for libRCTVideo.a

Still not clear why I was seeing this issue, but was able to eventually resolve after uninstalling and reinstalling a couple of times.

I am having this issue as well. Would love to know how / if someone resolved.

reinstalling it mysteriously fixed it as well for me..

For me this crash happened when the source was set to the documentation example:
source={{uri: "background"}}
changing it to a valid uri stopped the error from occuring:
source={{uri: "https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8"}}

any solutions? I've tried unlink and uninstall and re install and re link but still not working

When using CocoaPods, one might have to link it manually in the podfile:
pod 'react-native-video', :path => File.join(node_modules_path, 'react-native-video/react-native-video.podspec')


[Feature Request] Redstone signal

The Obelisk could emit a Redstone Signal upon reaching a certain amount of XP
This would be individual, for example: if I had 10 obelisks, I would define the quantity of each one individually!

Sorry for the late reply.
Can you give me some use cases where the redstone output would be an improvement?
I don't get it, why would you have 10 Obelisk's The only thing that comes into mind is each on a different mobfarm... but then you could just simply plonk it down insert an pick it up ( to store in enderchest for example).

I could as the server owner, I thought about creating dungeons and some things in my main city that used experience.
To create a balance at the citizen level.
But your Obelisk is really pretty, so instead of creating a plugin or mod, I thought if your mod had that, it would be more immersive within the game!
My server is a Mediaval RPG.
I wanted, for example, to release a specific area on the map using experience.
But it would be a larger amount of XP so that all players would have to contribute to one day unlock that area.
But if the Obelisks didn't have individual settings, this wouldn't be possible!

This area would be released through redstone, upon reaching the required XP.
I just thought about a situation like this too, that it would be nice if the Obelisk had an option to enable XP consumption over time.
For example, every second it would consume X number of XP, causing players to always have to donate XP to gain access to the area.

If you approve of any of the ideas mentioned here, let me know so I can edit the main POST so it's clear and safe for anyone wanting to ask a similar question!


Revert "(PUP-3632) Update RPM packaging spec for AIO changes"

Reverts puppetlabs/puppet#3557 until the AIO pipeline is ready to go.

:+1:


Tasks with nested structures cannot be searched or are searched sporadically.

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
I have been using dataviewjs to summarize the task completion status into a curve chart, so that I can understand the task completion status in real time. But now, the tasks cannot be searched, even with the task filter.
Current behaviour
Thank you very much for the plugin you provided; it has been extremely helpful for my work. However, in the past couple of days, after updating Obsidian to version 1.63 and the Task plugin to the latest version, most of the tasks nested under the ">[!tldr]" format cannot be searched. It's not that they are entirely unsearchable, but only one or two are randomly found, or one document returns just one task. Only by moving the tasks out of the nested structure can I search for all the tasks in the document again. Even reverting to the older versions does not solve this problem. Everything was working fine before the update, and I could use Dataview+Chart to create graphs. Now, the data curve in the graphs has become a straight line.
The problem first appeared after the update when an error occurred while checking the task completion status. After the error, the tasks just disappeared, and the total number of tasks managed by Task went directly to 0. I tried reverting the plugin to version 7.0 and Obsidian to version 1.52, but returning to the previous state did not resolve the issue.
Could you please help me solve this problem? I have too many tasks to move them out of the nested structure one by one. Thank you again for the plugin; it has been very useful!
Steps to reproduce
测试1：
嵌套任务：

[!note]- 123 测试

[x] #task 测试 1  [priority:: high]  [due:: 2024-06-21]
[ ] #task 测试 2  [priority:: high]  [due:: 2024-06-21]
[ ] #task 测试 3  [priority:: high]  [due:: 2024-06-21]

常规任务：

[ ] #task 测试 1  [priority:: high]  [due:: 2024-06-21]
[ ] #task 测试 2 [priority:: high]  [due:: 2024-06-21]
[ ] #task 测试 3 [priority:: high]  [due:: 2024-06-21]

以下为任务过滤查询：
path includes youngnotes/123.md

得到的结果为：缺少嵌套任务1个

测试2：嵌套

[!note]- 123 测试

[ ] #task 测试 1  [priority:: high]  [due:: 2024-06-21]
[ ] #task 测试 2  [priority:: high]  [due:: 2024-06-21]
[ ] #task 测试 3  [priority:: high]  [due:: 2024-06-21]

以下为任务过滤查询：
path includes youngnotes/456.md

得到的结果为：缺少嵌套任务1个任务

Which Operating Systems are you using?

[X] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version
<IP_ADDRESS>
Tasks Plugin Version
7.4
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
No response

Yes, unfortunately this is an Obsidian bug, and nothing that Tasks can do about it.
I am already tracking it in the following, so when we have finished discussing it here, I will close this as a duplicate:

https://github.com/obsidian-tasks-group/obsidian-tasks/issues/2890

If you are an Insider, you can update to Obsidian 1.6.4, but note the comments at the end of that issue about extra things you still need to do, since 1.6.4 was not a complete fix.
If you are not an Insider, your options are:

downgrade to Obsidian 1.5.x
Remove all the text after [!note]-

(there may be typos in that text, as I don't think you provided me markdown text for me to copy.)

@youngaicheng  Please do read https://github.com/obsidian-tasks-group/obsidian-tasks/issues/2890 thoroughly for full details....

Closing as a duplicate of this:

#2890

Hi, I've written documentation for the Tasks plugin about the underlying Obsidian issue:
Missing tasks in callouts with some Obsidian 1.6.x versions
I will update the page as the Obsidian behaviour improves.

From the Obsidian team:

In version 1.6.5 a new advanced settings has been introduced to force rebuild the metadata cache.
If you are affected by this issue, go to Settings → Files and links → Advanced → Rebuild vault cache.

You will need to do this on all vaults, on all devices...
I've updated the Tasks notes on this issue.


Only overwrite ns config if it provided

Now we require including serverSideTranslation to every page that needed to translate
With this change, we can ignore that behavior by using all namespace available

Checklist

[x] only relevant code is changed (make a diff before you submit the PR)
[x] run tests npm run test
[x] tests are included
[x] commit message and code follows the Developer's Certification of Origin

Checklist (for documentation change)

[ ] only relevant documentation part is changed (make a diff before you submit the PR)
[ ] motivation/reason is provided
[ ] commit message and code follows the Developer's Certification of Origin

The tests are failing...
and I still don't get why ...(ns && { ns }) should change anything...
btw: I get this error with your example:

@adrai
To enhance comprehension and clarity, consider the following rephrased version:
Replacing {ns} with {...(ns&&{ns}} was necessary due to server-side behavior, as evident in the code at https://github.com/i18next/next-i18next/blob/master/src/config/createConfig.ts#L254. When ns isn't provided, the server loads all namespaces. However, for auto static, ns isn't defined in the configuration, resulting in it being set to undefined. Consequently, no translations occur.
Currently, I'm not having any a solution for handling this mismatch. Since rendering occurs on the server side, while the client side lacks namespace information for preloading, translations won't occur, leading to a mismatch.
For test fail, because I'm missing add build:example for that

The mismatch is exactly because setversideTranslations is not called... so this will never work.
The mismatch needs to be resolved else I can't merge this PR.

I update to use config ns and initImmediate: false to fix mismatch, the mismatch only happens in cache first time (the translation not fetched) or the cache expired

it's included in v15.3.0


Cannot install Nextra using instructions on Vercel.com

Followed instructions exactly.  Browser reports:
Unhandled Runtime Error
Error: Invalid  with  child. Please remove  or use .
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor
Call Stack
LinkComponent
node_modules\next\dist\client\link.js (252:22)
Any suggestions?

The latest (2.0.0-beta.41) is not currently support Next.js 13
They are currently working on https://github.com/shuding/nextra/pull/946 and once this pull request is merged it should work again.


An error(SIGSEGV(SEGV_MAPERR)) in the ui thread causes the Android application to crash during use

Steps to Reproduce

no fixed steps to reproduce，please see the error stack below

 1.ui
SIGSEGV(SEGV_MAPERR)

#00 pc<PHONE_NUMBER>5c81d8 /data/app/com.xxx.app-0Ba0Homk3I__g2pPAB8Q3w==/lib/arm64/libflutter.so [arm64-v8a::39158a956f52247fdf7a41778fee53a6]
#01 pc<PHONE_NUMBER>5c63f8 /data/app/com.xxx.app-0Ba0Homk3I__g2pPAB8Q3w==/lib/arm64/libflutter.so [arm64-v8a::39158a956f52247fdf7a41778fee53a6]
#02 pc<PHONE_NUMBER>6742e8 /data/app/com.xxx.app-0Ba0Homk3I__g2pPAB8Q3w==/lib/arm64/libflutter.so [arm64-v8a::39158a956f52247fdf7a41778fee53a6]
#03 pc<PHONE_NUMBER>a866b8 /data/app/com.xxx.app-0Ba0Homk3I__g2pPAB8Q3w==/lib/arm64/libapp.so (_kDartVmSnapshotInstructions+9912) [arm64-v8a::aed21ea8c5509d348c0f4ed59efb6e43]

parsed stack：
#00 pc<PHONE_NUMBER>5c81d8 Gradient_initLinear (../../flutter/lib/ui/painting/gradient.cc:30) [arm64-v8a]
#01 pc<PHONE_NUMBER>5c63f8 Canvas_drawAtlas (../../flutter/lib/ui/painting/image_filter.cc:53) [arm64-v8a]
#02 pc<PHONE_NUMBER>6742e8 ReadMessage (../../third_party/dart/runtime/vm/datastream.h:213) [arm64-v8a]
#03 pc<PHONE_NUMBER>a866b8 /data/app/com.xxx.app-0Ba0Homk3I__g2pPAB8Q3w==/lib/arm64/libapp.so (_kDartVmSnapshotInstructions+9912) [arm64-v8a::aed21ea8c5509d348c0f4ed59efb6e43]

@wtwsky
Is this coming from production or from debug ?
Can you provide flutter doctor -v on which this issue is occuring ?
Is this the only log you get or there's more log ? If so, please share complete log.

@wtwsky 这是来自生产还是来自调试？ 您能否提供flutter doctor -v发生此问题的原因？ 这是您获得的唯一日志还是更多日志？如果是这样，请分享完整的日志。

release,

@wtwsky Is this coming from production or from debug ? Can you provide flutter doctor -v on which this issue is occuring ? Is this the only log you get or there's more log ? If so, please share complete log.

Is production.
flutter doctor -v
[✓] Flutter (Channel stable, 3.3.4, on macOS 13.0 22A380 darwin-x64, locale zh-Hans-CN)
• Flutter version 3.3.4 on channel stable at /Users/wentianwei/Documents/sdk/flutter
• Upstream repository git@github.com:flutter/flutter.git
• Framework revision eb6d86ee27 (6 months ago), 2022-10-04 22:31:45 -0700
• Engine revision c08d7d5efc
• Dart version 2.18.2
• DevTools version 2.15.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
• Android SDK at /Users/wentianwei/Library/Android/sdk
• Platform android-33, build-tools 33.0.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• 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 11.0.11+0-b60-7590822)
[✓] VS Code (version 1.76.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (4 available)
• Pixel 3 (mobile)   • 943X1YHY3        • android-arm64  • Android 12 (API 31)
• M2101K7BG (mobile) • QSYLNRDU8HBEOZRC • android-arm64  • Android 11 (API 30)
• macOS (desktop)    • macos            • darwin-x64     • macOS 13.0 22A380 darwin-x64
• Chrome (web)       • chrome           • web-javascript • Google Chrome 111.0.5563.64
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
This is the only log

Returning to a certain page or entering a certain page has a higher probability of causing this problem

@wtwsky
Is there a way for you to upgrade your project to use latest stable version (3.7.7) and see if using it, you get same error or not ?

Sorry, I can't upgrade to version 3.7.7, and my Flutter version should be 2.10.5

2.10.5 is very old version. Even if there would be a potential fix, it would be using latest code and version. So I recommend you to upgrade to latest or recent versions to see if the issue is still replicable or not.


Assertion failure in -[SRWebSocket send:]

My app crashes with this assertion failure, similar to this closed issue: https://github.com/lukeredpath/libPusher/issues/46
The error occurs when I quickly tell the client to disconnect then tell it to reconnect with a different authorization url. Unfortunately the stack trace is not symbolicated, I'm not sure why. But socketrocket logs this statement twice before the crash, whereas it otherwise logs it only once: "SocketRocket: In debug mode.  Allowing connection to any root cert"

Closing as stale


 is NOT rendered on timeout

I tried timing out Marko async data provider. On timeout it renders blank page and it doesnt acknowledges async-fragment-timeout

I'm going to add some more test cases and will update soon. Thanks for reporting the issue.

Hey @SunnyGurnani. I reviewed the test cases related to timeouts and everything appears to be working. Are you specifying a timeout as shown below?:
<async-fragment data-provider="data.userInfo" var="user" timeout="300">
    <async-fragment-timeout>
        A timeout has occurred!
    </async-fragment-timeout>

    Success!
</async-fragment>

Here is the related test case:
https://github.com/marko-js/marko/tree/master/test/fixtures/async-templates/async-fragment-timeout
Please provide more details on your setup. Thanks!


Support new KMS KeySpec property

Fixes #362

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

Comparison is base (dbbda75) 71.05% compared to head (3d73cf2) 70.92%.
Report is 6 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #374      +/-   ##
============================================
- Coverage     71.05%   70.92%   -0.13%
- Complexity     1475     1476       +1
============================================
  Files           800      800
  Lines          9548     9545       -3
  Branches        689      690       +1
============================================
- Hits           6784     6770      -14
- Misses         2384     2396      +12
+ Partials        380      379       -1

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


Add test coverage for declaring @Priority on producers

Fixes #498
This is aimed to cover the addition to the spec with the assumption that basics are already covered.
More precisely, using a comment depicting this from the original issue (https://github.com/jakartaee/cdi/issues/556#issuecomment-1561343104), this PR aims to add coverage for producer2, producer3, producer4 and producer8. The remaining scenarios were already possible prior to this change.
Note that the test using @Resource producer is in the web profile of TCK and amongst integration test group.
This is a draft ATM because the related CDI PR isn't merged yet and because it hasn't been tested with any impl so far.

Moved from draft to ready for review as the proposal was approved and merged.

Looks good on the first sight. I'll check with ArC (it should already work there) and report back.


have an option permission to hide other users from Guest

hello,
Is that possible to have an option to choose if a guest is able to see all other users ?
Some of guest should not be able to see other users, and therefore not be able to private message them (they should just be able to interact in group there were allowed to)

Thanks for your request, @dmagniez ! Closing as a duplicate of #10970.


[FEATURE]: As a unity customer, I would like to use resiliency with my unity for NFS and iscsi.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Unity scalability to near around 90 pods.
Add additional protection for node cleanup by checking Container Runtime Interface to make sure containers of pods to be cleaned up on node are no longer running.
Add a similar test for scaling Unity as we have for PowerFlex.
Add a VolumeAttachment cache to reduce the number of K8S calls from controller on cleanup and improve scalability.

Describe alternatives you've considered
See above.
Additional context
Need change identified in the csi-unity driver to fix intermittent Unauthorized errors when node cleanup calls NodeUnpublishVolume.

@rbo54: Thank you for submitting this issue!
The issue is currently awaiting triage. Please make sure you have given us as much context as possible.
If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at<EMAIL_ADDRESS>

Committed PR #68 for this.


MSBUILD : error MSB1001: Unknown switch

Failing at step 10 of the deployment and receiving this error:
ASP.NET Core
Successfully installed the ASP.NET Core HTTPS Development Certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only). For establishing trust on other platforms refer to the platform specific documentation.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
Microsoft (R) Build Engine version 16.2.37902+b5aaefc9f for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1001: Unknown switch.
Switch: --nologo
For switch syntax, type "MSBuild -help"
[ 6/23/2021 11:29:30 AM ] - [ERROR] - Exception.Message [ Errors while building Function App [ AssignmentLearnContent ] ]
[ 6/23/2021 11:29:30 AM ] - [ERROR] - Exception.Type    [ System.Management.Automation.RuntimeException ]
[ 6/23/2021 11:29:30 AM ] - [ERROR] - Error occurred while executing the Script. Please report the bug on Github (along with Error Message & Logs)

I was able to get past this error by removing "--nologo" from line 58 in the "Install-Backend.ps1" script.


Convert ESMF_ConfigGetAttribute to MAPL_GetResource

Radiation still has some ESMF_ConfigGetAttribute calls. These should be converted to MAPL_GetResource where possible.

Closing because @dr0cloud says this is taken care of in another branch of his and, well, we have more pressing matters in GEOS. It will happen in the future!


In allocate, skip adding Job if its queue is not found

What this PR does / why we need it:
In allocate, skip adding Job if its queue is not found.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm
/approve


 I'm also testing on AKS, however, the scaling seems to take a lot longer and makes the test result flaky, especially test_cluster_autoscaler.py::test_cluster_autoscaler_backing_image. Probably need to check on the AKS cluster setup command.
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-5.3.1, py-1.11.0, pluggy-0.13.1 -- /usr/bin/python3.9
cachedir: .pytest_cache
rootdir: /integration, inifile: pytest.ini
plugins: order-1.0.1, repeat-0.9.1
collecting ... collected 3 items

test_cluster_autoscaler.py::test_cluster_autoscaler PASSED
test_cluster_autoscaler.py::test_cluster_autoscaler_all_nodes_with_volume_replicas PASSED
test_cluster_autoscaler.py::test_cluster_autoscaler_backing_image PASSED

======================== 3 passed in 2837.56s (0:47:17) ========================

Verified master-6280eb0 on GKE. I'm also testing on AKS, however, the scaling seems to take a lot longer and makes the test result flaky, especially test_cluster_autoscaler.py::test_cluster_autoscaler_backing_image. Probably need to check on the AKS cluster setup command.

Found the culprit I0610 18:02:02.382332 1 cluster.go:169] Fast evaluation: node aks-c3y1amuwtn-29569835-vmss000002 cannot be removed: default/longhorn-test-minio is not replicated. MinIO was on the node waiting to get downscaled, after removing MinIO the scaling seems to be working.
Testing in progress...

AKS testing is in progress, I will update the result later.

============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-5.3.1, py-1.11.0, pluggy-0.13.1 -- /usr/bin/python3.9
cachedir: .pytest_cache
rootdir: /integration, inifile: pytest.ini
plugins: repeat-0.9.1, order-1.0.1
collecting ... collected 3 items

test_cluster_autoscaler.py::test_cluster_autoscaler PASSED
test_cluster_autoscaler.py::test_cluster_autoscaler_all_nodes_with_volume_replicas PASSED
test_cluster_autoscaler.py::test_cluster_autoscaler_backing_image PASSED

======================== 3 passed in 3575.82s (0:59:35) ========================

@c3y1huang resolve the conflict, then let's move this forward. cc @longhorn/qa

@c3y1huang resolve the conflict, then let's move this forward. cc @longhorn/qa

Resolved.


Change architecture to allow async commit processing

Currently, commits in project history are processed one by one, syncronously. This could be done async.

It also could be probably solved using zio


How to use a custom UrlGenerator implementation in the RoutingServiceProvider ?

Hello !
I want to use a custom UrlGenerator implementation in my application. How it is possible ?
I tried different methods but none worked without updating the core...
Using the container seems the better idea but the name of the UrlGenerator class is hardcoded in the RoutinServiceProvider.
For me the right way is a container binding like :
$this->app->bind('Illuminate\Contracts\Routing\UrlGenerator', 'App\Library\Routing\UrlGenerator');

But for this method I need to change the registerUrlGenerator method to :
protected function registerUrlGenerator()
{
    $this->app['url'] = $this->app->share(function ($app) {
        $routes = $app['router']->getRoutes();

        // The URL generator needs the route collection that exists on the router.
        // Keep in mind this is an object, so we're passing by references here
        // and all the registered routes will be available to the generator.
        $app->instance('routes', $routes);

        $url = $app->make('Illuminate\Contracts\Routing\UrlGenerator', [$routes, $app->rebinding(
                'request', $this->requestRebinder()
            )
        ]);

        $url->setSessionResolver(function () {
            return $this->app['session'];
        });

        // If the route collection is "rebound", for example, when the routes stay
        // cached for the application, we will need to rebind the routes on the
        // URL generator instance so it has the latest version of the routes.
        $app->rebinding('routes', function ($app, $routes) {
            $app['url']->setRoutes($routes);
        });

        return $url;
    });
}

Thanks for your help !

Sorry, we don't process questions here.

Ok... So where they need to be asked ?

you can ask on http://laravel.io/forum

Thanks @kanakamvinaykumar  :smile:


don't import normalize from Base

all your methods here are on Base types, this is complete type piracy if imported

@albop what do you think we should do here?
@tkelman is right that we shouldn't be adding methods to a function from Base for types defined in Base.
If we merge this as is and don't extend the method from Base, then I think it becomes more difficult to use our version of normalize and the one from Base. Uses of it need be qualified with the module name:
julia> using Dolang
INFO: Recompiling stale cache file /Users/sglyon/.julia/lib/v0.6/Dolang.ji for module Dolang.

julia> normalize(:(x(0)))
WARNING: both Dolang and Base export "normalize"; uses of it in module Main must be qualified
ERROR: UndefVarError: normalize not defined

julia> Dolang.normalize(:(x(0)))
:_x__0_

An alternative would be to rename it. I'm not 100% attached to the name. We could go for lower or standardize.
Thoughts?

Well, apart from starting an uncertain fight about what the
normalize method in Base should be about, I guess, it makes sense to
rename. Is standardize taken ?
Thank you @tkelman for spotting this.
On Sat, Jun 17, 2017 at 3:26 PM Spencer Lyon<EMAIL_ADDRESS>wrote:

@albop https://github.com/albop what do you think we should do here?
@tkelman https://github.com/tkelman is right that we shouldn't be
adding methods to a function from Base for types defined in Base.
If we merge this as is and don't extend the method from Base, then I think
it becomes more difficult to use our version of normalize and the one
from Base. Uses of it need be qualified with the module name:
julia> using Dolang
INFO: Recompiling stale cache file /Users/sglyon/.julia/lib/v0.6/Dolang.ji for module Dolang.
julia> normalize(:(x(0)))
WARNING: both Dolang and Base export "normalize"; uses of it in module Main must be qualified
ERROR: UndefVarError: normalize not defined
julia> Dolang.normalize(:(x(0)))
:x__0
An alternative would be to rename it. I'm not 100% attached to the name.
We could go for lower or standardize.
Thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EconForge/Dolang.jl/pull/37#issuecomment-309218234,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ5KadE095F7D7WjMutLldaKdigJS8hks5sE-IlgaJpZM4N9KLF
.

standardize is available

Let's go for that one then

But, wait a sec, there is no urgency in doing that, right. If we follow the suggestion of not importing from base, the damage is very limited for now.

The snippet I showed above was what happens when we don't import from base.
In that case we create a new _function _ (not method)Dolang.normalize that coexists with Base.LinAlg.normalize. However after using Dolang In order to use either of those functions you need to prefix with the module name.
The damage is needing the Dolang. prefix

Not a big deal. People who will use the functions are supposed to be smart
enough for that...
On Sat, 17 Jun 2017, 18:01 Spencer Lyon<EMAIL_ADDRESS>wrote:

The snippet I showed above was what happens when we don't import from base.
In that case we create a new _function _ (not method)Dolang.normalize
that coexists with Base.LinAlg.normalize. However after using Dolang In
order to use either of those functions you need to prefix with the module
name.
The damage is needing the Dolang. prefix
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EconForge/Dolang.jl/pull/37#issuecomment-309227130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ5Kd5OgYRfHtRVW4P4dS0WO-JMi8kVks5sFAZqgaJpZM4N9KLF
.

Haha k sounds good to me.
Thanks again @tkelman


Show pod table on deployments page

Adds a pods table to the bottom of the deployment page. (We're already watching pods to show the donut.)

Hold, it looks a little strange at wide widths since the config above has a max-width :/

@jwforres Here is what I have right now after removing the max-width. I'm not crazy about it, but I'm not sure how to make it better? We already have problems at wide widths with the actions button being far from the content.
Putting the pod template to the right looks strange as well.

Replaced by https://github.com/openshift/origin-web-console/pull/183


LC0014 and PermissionSet caption Length

Analyzer 'BusinessCentral.LinterCop.Design.Rule0014PermissionSetCaptionLength' threw an exception of type 'System.NullReferenceException' with message 'System.NullReferenceException: Object reference not set to an instance of an object.
at BusinessCentral.LinterCop.Design.Rule0014PermissionSetCaptionLength.CheckPermissionSetNameAndCaptionLength(SymbolAnalysisContext context)
at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__DisplayClass49_2.b__0() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 658
at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock(DiagnosticAnalyzer analyzer, Action analyze, Nullable`1 info) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1079'

"it works on my machine" :D

Can you give me a minimalistic AL Project where this error can be reproduced?

Clean project has no error.
Probably conflict with "AL Language Tools" extension.
Adding MaxLength = 30 to PermissionSet caption solves the problem.
You can close this issue, thanks.

Hey Stefan,
The Following Caption is throwing this Error:
Caption = 'My Permissionset', Comment = 'en-US=My Permissionset|de-DE=Mein Berechtigungssatz';
So it looks like, that you are not handling the comment part.


Fields do not obey validation rules

When I use rules like this ->rules("required", "string", "min:3") nothing really happens when I give wrong input. I would expect an error message.

Yes, we've run in the same issue. Any projections when this could be fixed?

I have same issue, when it will be fixed?

Any update on this?

@KasparRosin @Tarpsvo Hey, issue seems to be open already for 1.5 years.. Have any updates on this?


Use DateTimeOffset for IClock

Use DateTimeOffset instead of DateTime in IClock
Refactor factory methods
Fix indent in source generation project

Codecov Report

Merging #95 (dbc4be5) into main (bd682ba) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #95   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           27        27
  Lines          335       334    -1
=========================================
- Hits           335       334    -1

Flag
Coverage Δ

Sweetener
100.00% <100.00%> (ø)

Sweetener.Linq
100.00% <ø> (ø)

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

Impacted Files
Coverage Δ

src/Core/Sweetener/Clock.cs
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Changing graphs while subgraph is open does not redraw

Enter subgraph like this:

Change to other graph like this:

Note, that AudioSources are loading, it's just not redrawing.

:thinking: exiting the subgraph causes it to go back to the correct main graph (audio in this case)


feat : package upgrade and add resource area

update module & use way rollup uglify

I added a resource area.
Look like this.

However, it doesn't support left pinning yet.

This looks great, any hope of merging it?

We're using #286 instead.


[💡 Feature]: Publish stateful.marquee to Open VSX

Is your feature request related to a problem?
Give non-MSFT VS Code derivatives/distributions access to Marquee.
Describe the solution you'd like.
Publish into the Open VSX Registry.
Describe alternatives you've considered.
No response
Additional context
Unclear what's standing in the way to make this work.
Code of Conduct

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

@sourishkrout changing namespaces is finally possible in the Open VSX registry. Can you transfer it from activecove to stateful? See https://github.com/eclipse/openvsx/pull/469 for details.

I tried. However, I think you have to be some sort of registry admin to
access /admin/change-namespace.
It's not available to me, unfortunately.
On Fri, Feb 24, 2023 at 7:55 PM Christian Bromann @.***>
wrote:

Assigned #133 https://github.com/stateful/vscode-marquee/issues/133 to
@sourishkrout https://github.com/sourishkrout.
—
Reply to this email directly, view it on GitHub
https://github.com/stateful/vscode-marquee/issues/133#event-8606833222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5FH6UX2K5WTCC5GJOJALWZFKAPANCNFSM5XZXJQAQ
.
You are receiving this because you were assigned.Message ID:
@.***>

@christian-bromann you should be able to publish against stateful.marquee now.

Release went through: https://open-vsx.org/extension/stateful/marquee


add regional engineering information to database

We have a couple of kml layers of the Coastal Bridge Registry (Nadina and Skeena Stikine) from Steve Page that show structures >2m such as major culverts and bridges.
Wondering how @smnorris might want to incorporate this info into bcfishpass .  There is extremely useful info here such as unique identifiers that can be used to tie modelled_crossing_id  to Structure #  and little beautiful details such as
Structure Type/Class = Permanent Bridge and
Structure Type/Class = Major Culvert
Building connections with the people that manage these databases is a logical step as it would be great for us to develop methods to pull the latest data raw at regular intervals so things stay up to date.

I’ll ask Steve again for a contact and @jessefraser might be a good Coastal connect to wrangle in on this too actually...

Couple of options:
A. Just flag known bridges by incorporating this as additional source in here:
https://github.com/smnorris/bcfishpass/blob/main/01_prep/01_modelled_stream_crossings/sql/08_identify_open_bottom_structures.sql
B. Treat it like PSICS and use it as a replacement for the modelled crossing in the crossing table.
Probably not much difference either way but my preference would be for B if the data is good enough.

🚤

@smnorris and @NewGraphEnvironment shoot me an email, and I can try to connect you to Coast Mountains district folks to see what they have for culverts.

Thanks Jesse.  Steve Page has forwarded along kmls for Nadina, Coast and Skeena-Stikine. We had a good conversation a couple days ago as well about looking at options for best ways forward for sharing info and keeping data formats as raw as possible. I will keep you in the loop.

@NewGraphEnvironment @jessefraser  Any feedback on this?

@NewGraphEnvironment @jessefraser
Going to close this.
Currently, additional crossing info can be added via the various csv data files.

Prince george district jackpot kmz direct from here
https://www2.gov.bc.ca/assets/gov/farming-natural-resources-and-industry/natural-resource-use/resource-roads/local-road-safety-information/prince-george/dpg_roads__bridges.kmz

Great - presuming that every point in the kmz is a bridge, we could use this as a one time QA tool for finding bridges mis-classified as culverts.
The inspection info in that file is interesting - I expect planning could be easier if we were able to link bcfishpass to existing infrastructure asset management databases :(


Caching issue? Trying to display stacked overlays

Hi,
Thank you for the library 👍
I have an issue that I think is related to VectorTileLayer and the underlying caching mechanism.
Context
I’m trying to display stacked, transparent vector "overlays" on top of a raster WMTS base layer:
 ^  GeoJSON polygons    ━━ polygons (PolygonLayer)
 │  roads               ━┓
 │  …                    ┃ overlays (VectorTileLayer)
 │  cadastre            ━┛
 │  base_layer          ━━ base layer (TileLayer)

where the base layer is always active, and each overlay may be toggled on/off.
My current implementation is available here, it builds upon https://github.com/greensopinion/flutter-vector-map-tiles-examples.
Issue
In principle it works fine, in practice it fails at properly toggling on/off the overlay layers. I feel like that might a caching issue.

✅ When starting with no overlays, then activating a first overlay, it loads and displays fine on top of the base layer.
❌ When enabling a second overlay, it loads fine but does not always displays fine (inconsistent behavior).
❌ When disabling the first overlay, the second (still enabled) overlay does not display fine.
❌ When moving around the map, the second (still enabled) overlay sometimes displays fine.
❌ When zooming in/out, the same inconsistent behavior.
❌ When enabling the first overlay again, it seems to load fine but displays the same data as the second overlay until moving to uncached tiles and/or zooming in/out to uncached tiles level.

All in all, it seems like the first enabled overlay loads and displays fine, but then that source/provider and the displayed tiles are cached and from there: 1/ the other overlays reuse that same data for any cached tile (location & zoom level wise) 2/ when moving around or in/out, it sometimes loads and displays the expected (refreshed, new source/provider) data, but not always.
Note: The GeoJSON layer (a PolygonLayer) is "by design" a transparent overlay as well and works fine no matter what, that’s why I feel like the issue is rooted in flutter-vector-map-tiles (ie. the way I use it, arguably not the proper way ;))
Question
How could I properly implement toggable vector overlays?
The goal here is to load them (from network or cache store) on demand. I could pre-load and display them all at once at widget’s startup, then use Opacity to mimic toggling on/off, but I’d rather not (bad UX due to loading and bandwidth footprint, not scalable, and also not really a working workaround from testing it).
Thank you!
Dataset

Vector tiles styles (overlays): 🇫🇷 https://geoservices.ign.fr/documentation/services/api-et-services-ogc/tuiles-vectorielles-tmswmts/styles (source code)
Raster tiles (base layer): 🇫🇷 https://igngp.geoapi.fr/ (source code)

I am hitting something that feels similar in our project as well. Unfortunately your implementation link sends me to a 404 so I cannot verify if this is indeed the same issue.
In our app, we have two layers with different tileProviders and different themes but rendering for the lower layer only works if the upper layer is not included in the stack.

@mvarendorff you're right, the static theme variable is used to support isolates. The idea is that we want to offload tasks without having to transmit a copy of the theme every time we offload a task onto an isolate.
Dedicated isolates are created for each VectorTileLayer so if it's working correctly it shouldn't be a problem to have multiple flutter maps or a single map with multiple VectorTileLayers each using a different theme. That is, unless you're running the app in debug mode. In debug mode, isolates aren't used since they perform horribly (some isolate optimizations aren't available in debug mode.) This is where the isolate decision is made: executor.dart#L55
It's easy enough to test it out. You can either try running the app in release mode, or look for newExecutor in this library and replace it with PoolExecutor(concurrency: concurrency)

I see! Is there any chance to bring development and production closer together perhaps? I haven't yet tried out the dev experience with the change you proposed (in the long term I'd rather not keep a fork around for this), so I am not sure how bad the performance is.
I also found a flaw with the suggestion I proposed in my previous comment about joining everything into a single theme; since everything is the same theme, it also generates the same key seemingly leading Flutter to sometimes re-use TileWidgets across multiple layers. Splitting the themes and running in production has everything work but is really confusing in development.

Things may have changed since we decided not to use isolates in debug mode. Feel free to try it out and issue a PR.

I've provided a multi-layer example: https://github.com/greensopinion/flutter-vector-map-tiles-examples
See https://github.com/greensopinion/flutter-vector-map-tiles-examples/blob/main/lib/examples/multi_layer.dart for details.
Feel free to reopen this issue or open a new one if needed.


Added async feature to Linux OS

In order to use async play of music in Linux I had to use threads.  There is a main section where a function is that plays the file Linux.  I start that function as a thread.  If block is true, I immediately join the thread so it must complete before its parent continues.  Otherwise it should execute on its own until completion.

I see the project is no longer active.  I plan to continue with this project.  My main goals are to fix the memory leak in windows if it exists and make async work in Linux.  I am pretty sure I know how to do both of these things.  Additionally, I may make a function to stop the sound being played (in async mode only)  Those simple features would allow this program to be used in video games much easier than other programs.  I will likely fork this project to do this, but if someone would like to help with testing the OSX functionality that would be great as I only use Linux and Windows at this point.

I recommend you look at Boombox - they forked this already and told me basically the same thing.
I agree with you that testing is an enormous issue… if I had a way of running automated tests for this project, I’d be much more willing to accept pull requests on it. When I did support it, I found that most pull requests would break it in one configuration while fixing another (IE, fix special characters in Windows 7 while breaking it for ASCII in Windows 10, or fixing one thing for Python 2.7 while breaking another for Python 3.)
I don’t know how I could easily test all the dozens of different configurations that people want supported…
And so I don’t. Having the list of working platforms remain static seems better than letting it randomly change from version to version.
Taylor
Sent from my iPhone

On Jun 18, 2021, at 09:17, garydavenport73 @.***> wrote:

Closed #70.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi Taylor,
Thanks for getting back to me.
Sorry for the late reply.
I think it makes sense to do what you are by sort of freezing the project
for the most part.  Its kind of hard to make it backwards compatible
and forward compatible because so many things change, like modules being
deprecated and so forth.
I do really like your module, so thanks for making it.  When I went from
Windows to Linux I hadn't realized that it only had the sync feature, so
I started looking at the module a little bit to see what I could do.  I am
a software engineering student right now and learned a lot from looking at
your code.
I did my best to address whatever issues I ran into and forked my project
here:
https://github.com/garydavenport73/playsoundtoo
which contains a single function.
The page does not look much different from yours at the moment, because
when you fork it makes an identical copy.  And without
much thought I named it playsoundtoo, which I plan to change.
Whatever module I make though, I wanted to have a function in it called
playsound with the same arguments.
In other words, I may make a module for example called 'garyssoundplayer'
and then in the code, you can put the statement:
from garyssoundplayer import playsound.  I kind of wanted to keep the
function name the same, so that it would be backwards
compatible with any prior code, except for the import statement.
I really appreciate that idea of making modules without dependencies.
I hope what I have done so far is ok with you, and I can rename all my
functions and github repository to be very different from yours if
you would like.  Of course, when you first fork, the fork is identical, so
I will need to work on making that fork more my own.  But I just
wanted to let you know what is going on.
Thanks again,
Gary
On Fri, Jun 18, 2021 at 1:46 PM TaylorSMarks @.***>
wrote:

I recommend you look at Boombox - they forked this already and told me
basically the same thing.
I agree with you that testing is an enormous issue… if I had a way of
running automated tests for this project, I’d be much more willing to
accept pull requests on it. When I did support it, I found that most pull
requests would break it in one configuration while fixing another (IE, fix
special characters in Windows 7 while breaking it for ASCII in Windows 10,
or fixing one thing for Python 2.7 while breaking another for Python 3.)
I don’t know how I could easily test all the dozens of different
configurations that people want supported…
And so I don’t. Having the list of working platforms remain static seems
better than letting it randomly change from version to version.
Taylor
Sent from my iPhone

On Jun 18, 2021, at 09:17, garydavenport73 @.***> wrote:

Closed #70.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/TaylorSMarks/playsound/pull/70#issuecomment-864188837,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARTSKF4PS5N7QUMJULOTZFTTTOA6DANCNFSM46YPC4CQ
.