chore: update package versions for examples

Please provide the issue number

Issue number: #560
Summary
Update examples dependencies to latest
Changes

Please provide a summary of what's being changed

update nuget packages
User experience

Please share what the user experience looks like before and after this change

Checklist
Please leave checklist items unchecked if they do not apply to your change.

[x] Meets tenets criteria
[ ] I have performed a self-review of this change
[ ] Changes have been tested
[ ] Changes are documented
[ ] PR title follows conventional commit semantics

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

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

Project coverage is 72.24%. Comparing base (9148d02) to head (e4e8179).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                    Coverage Diff                    @@
##           update-nuget-examples     #564      +/-   ##
=========================================================
- Coverage                  72.37%   72.24%   -0.14%
=========================================================
  Files                        109      109
  Lines                       4489     4489
  Branches                     455      455
=========================================================
- Hits                        3249     3243       -6
- Misses                      1106     1111       +5
- Partials                     134      135       +1

Flag
Coverage Δ

unittests
72.24% <ø> (-0.14%)
:arrow_down:

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

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


Windows 10 unresolved libheif externals when linking my app against openimageio static

Hi,
Vcpkg installed latest dependencies for OIIO when building OIIO vcpkg <IP_ADDRESS>#4
Build SUCCESS -
C:\Users\chris\vcpkg>vcpkg install openimageio[core,gif,openjpeg,webp,libraw,webp]:x64-windows-static
Computing installation plan...
The following packages will be built and installed:
openimageio[core,gif,libraw,openjpeg,webp]:x64-windows-static -> <IP_ADDRESS>#4
Detecting compiler hash for triplet x64-windows-static...
Restored 0 packages from C:\Users\chris\AppData\Local\vcpkg\archives in 288.2 us. Use --debug to see more details.
Starting package 1/1: openimageio:x64-windows-static
Building package openimageio[core,gif,libraw,openjpeg,webp]:x64-windows-static...
-- Using cached OpenImageIO-oiio-9f74cf4d9813bfdcad5bca08b4ff75a25d056cb0.tar.gz.
-- Cleaning sources at C:/Users/chris/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-9f74cf4d9813bfdcad5bca08b4ff75a25d056cb0.tar.gz
-- Applying patch fix-config-cmake.patch
-- Applying patch fix_static_build.patch
-- Applying patch disable-test.patch
-- Applying patch fix-dependencies.patch
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows-static
-- Building x64-windows-static-dbg
-- Building x64-windows-static-rel
-- Installing: C:/Users/chris/vcpkg/packages/openimageio_x64-windows-static/share/openimageio/copyright
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst.
-- Using msys root at C:/Users/chris/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\chris\AppData\Local\vcpkg\archives\04\04ffb3cf9bcaa21ecdbdfd40773866eb89aebdfa2f912c4cbcbe931b71e505e2.zip
Installing package openimageio[core,gif,libraw,openjpeg,webp]:x64-windows-static...
Elapsed time for package openimageio:x64-windows-static: 3.818 min
Total elapsed time: 3.867 min
The package openimageio provides CMake targets:
find_package(Modules CONFIG REQUIRED)
target_link_libraries(main PRIVATE OpenImageIO::OpenImageIO)
find_package(OpenImageIO CONFIG REQUIRED)
target_link_libraries(main PRIVATE OpenImageIO::OpenImageIO OpenImageIO::OpenImageIO_Util)
C:\Users\chris\vcpkg>
The problem when static linking my app -
heif.lib(heif_decoder_libde265.cc.obj) : error LNK2019: unresolved external symbol __imp_de265_get_version referenced in function "char const * __cdecl libde265_plugin_name(void)" (?libde265_plugin_name@@YAPEBDXZ)
heif.lib(heif_decoder_libde265.cc.obj) : error LNK2019: unresolved external symbol __imp_de265_get_image_width referenced in function "struct heif_error __cdecl convert_libde265_image_to_heif_image(struct libde265_decoder *,struct de265_image const *,struct heif_image * *)" (?convert_libde265_image_to_heif_image@@YA?AUheif_error@@PEAUlibde265_decoder@@PEBUde265_image@@PEAPEAUheif_image@@@z)
heif.lib(heif_decoder_libde265.cc.obj) : error LNK2019: unresolved external symbol __imp_de265_get_image_height referenced in function "struct heif_error __cdecl convert_libde265_image_to_heif_image(struct libde265_decoder *,struct de265_image const *,struct heif_image * *)" (?convert_libde265_image_to_heif_image@@YA?AUheif_error@@PEAUlibde265_decoder@@PEBUde265_image@@PEAPEAUheif_image@@@z)
....
All 20 Unresolved externals (LNK1120: ) errors refer to : heif.lib(heif_decoder_libde265.cc.obj) .
Here's the OIIO static lib link line -
-L C:\Users\chris\vcpkg\installed\x64-windows-static\lib -l OpenImageIO -l OpenImageIO_Util -l OpenColorIO -l lcms2 -l bz2 -l libpng16 -l zlib -l libwebm -l lzma -l tinyxml -l libszip -l bz2 -l gif -l freetype -l jpeg -l turbojpeg -l raw_r -l openjp2 -l webp -l libhdf5_hl -l libhdf5 -l tiff -l jasper -l Half-2_5 -l IexMath-2_5 -l Iex-2_5 -l IlmImf-2_5 -l Imath-2_5 -l IlmThread-2_5 -l IlmImfUtil-2_5 -l assimp-vc142-mt -l x265-static -l libde265 -l heif -l squish -l webpdecoder -l webpdemux -l boost_thread-vc140-mt -l boost_filesystem-vc140-mt -l boost_system-vc140-mt
I also tried changing libheif-config.cmake -
Before Change:
set_target_properties(heif PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "LIBHEIF_EXPORTS;HAVE_VISIBILITY"
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
)
After Change:
set_target_properties(heif PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "LIBHEIF_STATIC_BUILD;LIBHEIF_EXPORTS;HAVE_VISIBILITY"
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
)
Vcpkg cache folders were removed after editing libheif-config.cmake, and before re-installing openimageio.
Reinstalled openimageio -
C:\Users\chris\vcpkg>vcpkg remove openimageio[core,gif,openjpeg,webp,libraw,webp]:x64-windows-static
C:\Users\chris\vcpkg>vcpkg install openimageio[core,gif,openjpeg,webp,libraw,webp]:x64-windows-static
Build : SUCCESS
But when linking, exact same link errors (as listed above).
Is there an option for omitting libHEIF (& its dependencies... de265) when building OIIO static. Please, any ideas.
Thank you,

Hi @plettplett
Thanks for posting this issue. It's duplicated to #13354, let's move the attention to that issue #13354.

Hi Nancy,
Not sure I follow. Are you proposing I edit the CMakeLists.txt of both libde265 and libheif described at: Fix static linking #18107
Not sure it applies to me as ny issue listed at : Linking against OpenImageIO failed #13354 is Windows, not Linux
Thank you
Chris Spence
Digital Devoid, Inc.
7300 Biscayne Blvd, Suite 405
Miami, FL  33138
Tel:<PHONE_NUMBER>
@.***
www.digitaldevoid.com

On Nov 8, 2021, at 4:34 AM, NancyLi1013 @.***> wrote:
Hi @plettplett https://github.com/plettplett
Thanks for posting this issue. It's duplicated to #13354 https://github.com/microsoft/vcpkg/issues/13354, let's move the attention to that issue #13354 https://github.com/microsoft/vcpkg/issues/13354.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vcpkg/issues/21238#issuecomment-962969239, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ4AWUYJTSCLQY54LD3SXDUK6KR7ANCNFSM5HQYDC4A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Use Test symbol to assign dependency scopes

Same as https://github.com/circe/circe/pull/534/commits/4272a2efb58e2717ac9edfc16f2c5c297daffda4

Current coverage is 87.25% (diff: 100%)

Merging #15 into master will not change coverage

@@             master        #15   diff @@
==========================================
  Files            11         11
  Lines           102        102
  Methods          93         93
  Messages          0          0
  Branches          5          5
==========================================
  Hits             89         89
  Misses           13         13
  Partials          0          0

Powered by Codecov. Last update bf33f04...3bd6d25


Update recipe

The intent is to use conda's compiler jinja variable to
take care of DSO warnings emitted by conda-build
@Alexander-Makaryev @fschlimb

Merging. build_pypi is failing because of the patches and upgrade of scikit-learn.


[Event Request] Table 336 "Tracking Specification" - OnCheckItemTrackingByTypeOnBeforeIfHandle

We are migrating our code from NAV 2018 to BC16.4. In the Table 336 "Tracking Specification", in the procedure CheckItemTrackingByType, we would like to englobe the procedure in a repeat pattern. To do so, we need a IsHandled flag and an event publisher, like this :

With this integration event :

Do you think it could be possible ?
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


OTP Tool: Support BLE Addr and HWID

Enable the OTP Tool to program and read
BLE Address and HWID in the OTP Area.
BLE Address is 6 bytes long. It is generated using internal APIs.
HWID can be up to HWID Length as defined in BSP.
Read BLE Address
./repos/apache-newt-core/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py otp-read-ble-addr -u
Generate BLE Address
./repos/apache-newt-core/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py otp-write-ble-addr -u
Write HWID
./repos/apache-mynewt-core/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py otp-write-hwid -u
Read HWID
./repos/apache-mynewt-core/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py otp-read-hwid -u
Signed-off-by: Naveen Kaje<EMAIL_ADDRESS>

I am under the impression that every function starts with:
    try:
        ser = serial.Serial(port=uart, baudrate=1000000, timeout=1,
                            bytesize=8, stopbits=serial.STOPBITS_ONE)
    except serial.SerialException:
        raise SystemExit("Failed to open serial port")

    cmd = cmd_no_payload(0xaa55aa55, Cmd.READ_HWID)
    msg = struct.pack('II', *cmd)

    try:
        ser.write(msg)
    except serial.SerialException:
        raise SystemExit("Failed to write to %s" % uart)

where the only difference is the command used in cmd_no_playload, maybe a bit of refactoring for reuse?
Also default baudrate of 1_000_000 looks a bit weird, but I assume you know it works! ;-)
Apart from the comments, code looks fine.

what type of address is this?  Also, is BSP using this at all?

@nkaje In light of the discussion we're having about using existing factory-written OTP data to obtain the HWID. I don't think we need or want a HWID Read/Write API in the script.
For others reading this, we're proposing to derive the HWID using 6 words of OTP data that are written by Dialog during chip fab. For details see JIRA SM-217

I do not really think this should be in default upstream BSP for DA1469x DK. This BSP does not use these information at all and also DA1469x MCU has unique id already written to OTP so default DK BSP should just use it. Any custom product based on DA1469x MCU should have its own BSP which can handle these settings in any way it wants.


Make Components.get ignore components with confidence = 0

Resolves #1637

Travis acting up again 😕

I suspect this might also fix a number of other bugs around rules too-greedily warning on non-components. Would you mind checking the open issues and seeing if there's additional test cases that could apply here?

Added tests for the original issue in #1800, plus https://github.com/yannickcr/eslint-plugin-react/issues/1800#issuecomment-399331285
I had high hopes for #512, but since that returns createElement, it gets a non-zero confidence value.


'SwipeableViews' cannot be used as a JSX component.

'SwipeableViews' cannot be used as a JSX component.
Its instance type 'SwipeableViews' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'import("d:/vuongnh/Web/Avm.Vietbank/Avm.Vietbank/Avm.Vietbank.SunSpa/ClientApp/node_modules/@testing-library/react/node_modules/@types/react/index").ReactNode' is not assignable to type 'React.ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.

In your tsconfig.json, try adding
{
  "compilerOptions": {
    "paths": {
      "react": ["./node_modules/@types/react"]
    },
    ...
  },
  ...
}


eos_validate_state/Anta - Interface Filtering based on peer_type

Enhancement summary
Allow interfaces to be omitted from tests based on the peer_type
Which component of AVD is impacted
eos_validate_state
Use case example
Currently the eos_validate_state Anta integration has the ability to skip tests based on test category/name.  Customer would like to filter out tests for endpoint interfaces based on the type of peer.  For example they would want to test interfaces facing firewalls, load balancers and 3rd party devices, but don't care about servers (they have no control over them, not their responsibility, etc).
Describe the solution you would like
The skip_tests schema should be extended to take a list of ethernet_interfaces peer_type keys.  If a given ethernet_interface's peer_type is on this list, the test should not be included in the test catalog passed to Anta.
Schema could look like this:
skip_tests:
  - interface_peer_types: # Skip any interface-based tests for these interface peer_types
      - servers
      - phones
      - printers
      - etc
  - category: <str>
    # Optional tests
    tests:
      - <str>

Describe alternatives you have considered
None, but accept the schema above may need some work.
Additional context
Required because with legacy eos_validate_state, it takes 3 hours to run for this customer.  Obviously Anta is much improved but the clutter in the resulting report from servers being down (maintenance, not deployed yet, etc) is distracting from genuine issues.
Contributing Guide

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

We already support setting validate_state: false on the adapter config or network_ports. This can be set using a port-profile to easily apply it to all ports.

Ah! Perfect - I missed that.  I will close this Issue.


camera and gallery doesn't show

I have already implemented

implementation 'com.github.dhaval2404:imagepicker-support:1.5'
implementation 'com.github.florent37:inline-activity-result-kotlin:1.0.1'

on my gradle.
and this is my code
ImagePicker.with(this)                 .compress(600)                 .start { resultCode, dataIntent ->                     Log.e("image-picker", "picker start")                     if (resultCode == Activity.RESULT_OK){                         val imageUri = dataIntent?.data                         imageView.setImageURI(imageUri)                         val imageFilePath = ImagePicker.getFilePath(dataIntent)                         Log.e("image-picker", "image path:$imageFilePath")                     }else if (resultCode == ImagePicker.RESULT_ERROR){                         Log.e("image-picker", "image picker error")                     }else{                         Log.e("image-picker", "task cancelled")                     }                 }
I try at the AppCompatActivity. Dialog for choose taking image from camera or gallery is showed. but when I choosed  camera or gallery it doesn't show anything. it doesn't show camera or my gallery to take image.

@ilhamfidatama Can you please try below code:
ImagePicker.with(this)
        .compress(600)
        .start()

@Dhaval2404 I've tried it, but it didn't work

@ilhamfidatama Are you facing crash issue? Can you please help me with any error log?

my apps isn't crash, just didn't show my camera or gallery for taking picture.
I just got this from log

I/Timeline: Timeline: Activity_launch_request time:43392182 intent:Intent { cmp=com.ilhamfidatama.srapp/com.github.dhaval2404.imagepicker.ImagePickerActivity (has extras) }
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@eca3db3
I/Timeline: Timeline: Activity_launch_request time:43392283 intent:Intent { act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.google.android.packageinstaller (has extras) }

I solved it
it because I used permission to read and write storage on manifest. so I deleted it.

I solved it
it because I used permission to read and write storage on manifest. so I deleted it.

Not works in my case


npm test should fail when no tests are present on for the lint-test workflow

          apparently if there are no tests with ```npm test``` the test suite still "passes".

npm test command should be updated to run vitest
by default, the Github workflow should fail when no tests are present

Originally posted by @rngadam in https://github.com/ai-cfia/nachet-frontend/issues/108#issuecomment-2022881160

closing as I saw too late that issue for this was already created in https://github.com/ai-cfia/github-workflows/issues/107


encoding/openapi: remove use of deprecated identifiers

Originally opened by @myitcv in https://github.com/cuelang/cue/issues/1015

What version of CUE are you using (cue version)?

$ cue version
cue version +aa61ee7f linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
Use of encoding/openapi requires using cue.Runtime and friends, all of which are deprecated. This triggers errors in tools like staticcheck that catch use of deprecated identifiers.
What did you expect to see?
An API which does not require using deprecated identifiers.
What did you see instead?
As above.
Adding this as a tracking item; I will work on this as part of fixing up https://github.com/istio/tools/tree/master/cmd/cue-gen

Even though this issue came first, I think it's best to tackle deprecation warnings as flagged by staticcheck in https://github.com/cue-lang/cue/issues/2480. Having one issue per package doesn't seem necessary to me.


Add automatic conversion for DateTimeImmutable and Enum

We use GraphQLite in Yii 2, where ActiveRecord keeps DATETIME fields as strings. Maybe we can add automatic conversion from string values to DateTimeImmutable?
The same for Enum. Often there is a situation when existing class has enum properties as integers, and other source code contains a logic that depends on it, but it's better to use enums in GraphQL API.

Are you intending on using annotations for informing the parser to convert?  Personally, I'm not a huge fan of this and would rather see it handled another way.

I would not say this is informing. This is automatic conversion - If output type is set as DateTime and actual value is string, then parser will automatically convert string value to DateTimeImmutable. I don't see real reason to throw exception about types here, GraphQL is not a linter or something, it should not check type correctness in source code on backend. If we manually set output type to be DateTime or some Enum, then we need this type in response, I think the library for GraphQL should provide the way to do this.
Maybe I will add some config setting for this? People who want conversion will enable it, for others it will work as it currently does.

@michael-vostrikov I don't think a configuration is necessary here.  Adding this would certainly end up being a bit of a hidden "feature".  There are a couple other ways of solving this issue for you though which I think are better solutions.

Use a custom type mapper (instance of TheCodingMachine\GraphQLite\Mappers\Root\RootTypeMapperInterface)
Use extended output types

I'd rather we not adapt a library for use with legacy codebases, using coding practices that are rather dated.  I'm not sure what ActiveRecord ORM you're using, but it should be able to output DateTimeImmutable objects instead of strings.  I know I've done this with Propel ORM before.  I realize that means refactoring other code for you, possibly.

not adapt a library for use with legacy codebases, using coding practices that are rather dated

Good point, I agree.
Probably custom output types really is better solution here, thanks.


overload timeseries methods to be used with forecasts.

There are very useful time series indexing and exploration methods in the package that we should overload to enable the functionality within forecasts types.
In particular we should support https://juliastats.github.io/TimeSeries.jl/stable/indexing/
and https://juliastats.github.io/TimeSeries.jl/stable/split/

Featured available as part of IS.


feat(table): added column settings feature

Summary
This PR is regarding the feature where the user will be able to hide/show columns and freeze a selected column.
For more details, here is a video Robert walked us through what the feature is https://kyndryl.sharepoint.com/:v:/r/teams/BridgeDesignSystem/Shared%20Documents/Design%20Discussion/Freezing%20First%20Column.mov?csf=1&web=1&e=bfcLt2&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D
And Figma link https://www.figma.com/file/P3l7EMKOWmohY4aqYfGh1e/Florence-Prototypes?type=design&node-id=5003%3A42510&mode=design&t=ajNzavtg2AEy7jQz-1
ADO Story or GitHub Issue Link
Link here (if applicable).
Notes

Detailed change notes
can go here

To Do

Anything else
left to do

Checklist

[ ] Used Conventional Commit messages as outlined in the contributing guide.

[ ] Noted breaking changes (if any).

[ ] Documented/updated all props, events, slots, parts, etc with JSDoc.

[ ] Ran the analyze command to update Storybook docs.

[ ] Added/updated Stories with controls to cover all variants.
[ ] Ran test locally to address any failures.
[ ] Added/updated the Figma link for the Story's Design tab.
[ ] Added any new component exports to the src/index.ts file

Testing Instructions
Provide guidance to reviewers/testers here.
Screenshots
(if any)

if you don't mind can you add description what all about this PR ? So that I can understand. You can use Summary and description for this. Thanks..!!

if you don't mind can you add description what all about this PR ? So that I can understand. You can use Summary and description for this. Thanks..!!

Sure. Updated.

Only had one specific comment on the Drawer/Settings button, but I am getting concerned that some of these table features that are not baked-in (they are more patterns really at this stage) are going to be difficult for devs to integrate into their own apps. Lots of copy/paste and translating from Lit. I wonder if in a future release we could condense some of this stuff into more reusable functions/components that we could provide for a more streamlined adoption experience.

I wanted to make the open drawer as the

Only had one specific comment on the Drawer/Settings button, but I am getting concerned that some of these table features that are not baked-in (they are more patterns really at this stage) are going to be difficult for devs to integrate into their own apps. Lots of copy/paste and translating from Lit. I wonder if in a future release we could condense some of this stuff into more reusable functions/components that we could provide for a more streamlined adoption experience.

I wanted to use it as the anchor, but I haven't yet found a way. The global header has its own named slot, 'actions', and to use it as an anchor, it needs to be slotted in the side drawer.

I wanted to use it as the anchor, but I haven't yet found a way. The global header has its own named slot, 'actions', and to use it as an anchor, it needs to be slotted in the side drawer.

You should be able to do this for example:
<kyn-global-filter>
  <kyn-side-drawer slot="actions">
    <kd-button slot="anchor">Test</kd-button>
  </kyn-side-drawer>
</kyn-global-filter>

I wanted to use it as the anchor, but I haven't yet found a way. The global header has its own named slot, 'actions', and to use it as an anchor, it needs to be slotted in the side drawer.

You should be able to do this for example:
<kyn-global-filter>
  <kyn-side-drawer slot="actions">
    <kd-button slot="anchor">Test</kd-button>
  </kyn-side-drawer>
</kyn-global-filter>

This way it won't be a part of the global filter

I wanted to use it as the anchor, but I haven't yet found a way. The global header has its own named slot, 'actions', and to use it as an anchor, it needs to be slotted in the side drawer.

You should be able to do this for example:
<kyn-global-filter>
  <kyn-side-drawer slot="actions">
    <kd-button slot="anchor">Test</kd-button>
  </kyn-side-drawer>
</kyn-global-filter>

getting accessibility errors with this

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


flatpandas: flatten jaggedness and records into MultiIndex rows and columns

Like the old topandas(flatten=True).

In the end, there are two functions, ak.pandas.df (returns one DataFrame) and ak.pandas.dfs (returns several DataFrames). Apart from heterogeneous data (UnionArrays), any Awkward array can be expressed as a set of DataFrames, each with a different jagged structure. For example, one table of muons, one table of jets, etc. The ak.pandas.dfs function is more general and less convenient. The ak.pandas.df function uses Pandas to merge all the DataFrames, and we can pass on the "how" join modifier.
Here's an example:
>>> array = awkward1.Array(
    [
     [
      [{"x": 0.0, "y": []}, {"x": 1.1, "y": [1]}, {"x": 2.2, "y": [2, 2]}],
      [],
      [{"x": 3.3, "y": [3, 3, 3]}, {"x": 4.4, "y": [4, 4, 4, 4]}]
     ],
     [],
     [
      [{"x": 5.5, "y": [5, 5, 5, 5, 5]}]
     ]
    ])

The x and y columns can't be expressed in the same DataFrame because they have different jaggedness. (This would also be true if they had the same depth of jaggedness but different index values.)
>>> ak.pandas.dfs(array)[0]
                              x
entry subentry subsubentry
0     0        0            0.0
               1            1.1
               2            2.2
      2        0            3.3
               1            4.4
2     0        0            5.5
>>> ak.pandas.dfs(array)[1]
                                           y
entry subentry subsubentry subsubsubentry
0     0        1           0               1
               2           0               2
                           1               2
      2        0           0               3
                           1               3
                           2               3
               1           0               4
                           1               4
                           2               4
                           3               4
2     0        0           0               5
                           1               5
                           2               5
                           3               5
                           4               5

But there are natural ways to combine them, but one must make some choices (the normal issues involved in joining relational tables). For full power, the user should call pd.merge explicitly, but having a singular ak.pandas.df for easy cases is more convenient than always dealing with the plurality of ak.pandas.dfs results.
>>> ak.pandas.df(array)  # how="inner" (default); the x associated with y=[] is gone
                                             x  y
entry subentry subsubentry subsubsubentry
0     0        1           0               1.1  1
               2           0               2.2  2
                           1               2.2  2
      2        0           0               3.3  3
                           1               3.3  3
                           2               3.3  3
               1           0               4.4  4
                           1               4.4  4
                           2               4.4  4
                           3               4.4  4
2     0        0           0               5.5  5
                           1               5.5  5
                           2               5.5  5
                           3               5.5  5
                           4               5.5  5

>>> ak.pandas.df(array, how="outer")  # the x associated with y=[] needs placeholders
                                             x    y
entry subentry subsubentry subsubsubentry
0     0        0           NaN             0.0  NaN
               1           0               1.1  1.0
               2           0               2.2  2.0
                           1               2.2  2.0
      2        0           0               3.3  3.0
                           1               3.3  3.0
                           2               3.3  3.0
               1           0               4.4  4.0
                           1               4.4  4.0
                           2               4.4  4.0
                           3               4.4  4.0
2     0        0           0               5.5  5.0
                           1               5.5  5.0
                           2               5.5  5.0
                           3               5.5  5.0
                           4               5.5  5.0


Remove deprecated module ready labels on nodes

This change removes kmm.node.kubernetes.io/<module>.ready labels on all nodes, as it was deprecated in v1.1 and removed in v2.0.

/lgtm


Spring Boot apps hanging for 30sec on shutdown after updating to spring-amqp 2.4.14

In what version(s) of Spring AMQP are you seeing this issue?
The issue appeared after updating Spring Boot from 2.7.13 to 2.7.14, which bumps spring-amq to 2.4.14.
The problem does not show up anymore when reverting (only) the spring-amqp version to 2.4.13.
Describe the bug
When the Spring Boot application shuts down (e.g. via stop button in IntelliJ), it will not immediately shutdown anymore. Instead, there is a delay of 30sec, followed by a Spring error message:
...ecycleProcessor$LifecycleGroup | Failed to shut down 1 bean with phase value<PHONE_NUMBER> within timeout of 30000ms: [org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry] [stop(), DefaultLifecycleProcessor.java:384]
Expected behavior
Upon application shutdown, all listener containers are either already stopped or will be stopped within a few seconds, so there is no bean shutdown timeout error after 30 sec.
To Reproduce
I guess this could be related to the changes to the shutdown behaviour in https://github.com/spring-projects/spring-amqp/commit/95631d8f56c5bf00ea7dabc3dfb147a050985736
I was not able to create a small-scale sample yet, but I've debugged the related Spring code and think I might have found the the reason and a possible solution for the delayed shutdown. See the "sample" below :)  However I don't understand why the code worked in earlier versions of spring-amqp.
Analysis
To analyze what is happening, I defined several logging debugger breakpoints in spring-amqp and then triggered an application exit.
These breakpoints log the current method and the queues of the listener container. Here is what`s happening:
shutdown() called in AbstractMessageListenerContainer:1366 with queues: [reporting-service.Replication-4ulJUMIkRnG2K-fG4aDp1g]
  -> shutdownAndWaitOrCallback called in SimpleMessageListenerContainer with queues: [reporting-service.Replication-4ulJUMIkRnG2K-fG4aDp1g]
    -> stopping consumer: [reporting-service.Replication-4ulJUMIkRnG2K-fG4aDp1g]
    -> stopped consumer: [reporting-service.Replication-4ulJUMIkRnG2K-fG4aDp1g]
    -> callback executed? true
shutdown() called in AbstractMessageListenerContainer:1366 with queues: [reporting-service.LiveSync]
  -> shutdownAndWaitOrCallback called in SimpleMessageListenerContainer with queues: [reporting-service.LiveSync]
    -> stopping consumer: [reporting-service.LiveSync]
    -> stopped consumer: [reporting-service.LiveSync]
    -> callback executed? true
shutdown() called in AbstractMessageListenerContainer:1366 with queues: [reporting-service.SnapshotSync-4ulJUMIkRnG2K-fG4aDp1g]
  -> returning because if(!isActive), but not executed the callback although one is defined!

My conclusion:

there are 3 SimpleMessageListenerContainer beans in the application context (2 active, 1 inactive)
on app shutdown, Spring`s DefaultLifecycleProcessor creates a countdown latch of 3 and calls shutdown(Runnable callback) on all 3 container beans. The callback function will decrease the latch when executed.
only the currently active listener containers do execute the callback
an inactive listener container does not execute the (non-null) callback method before the return in AbstractMessageListenerContainer.java:1370. However Spring seems to rely on the callback being executed by shutdown() in any state.
therefore the countdown latch is never decreased to 0, so the timeout exception is raised after 30sec

Just for fun, I made the breakpoint execute the callback function in AbstractMessageListenerContainer.java:1370.
That fixes the problem and the application shuts down immediately.

Some notes on the setup:
That "reporting-service.SnapshotSync" queue is started and stopped later by the application. It is running only during a certain phase of the application lifetime. This is done by auto-wiring the RabbitListenerEndpointRegistry and calling start()/stop() as in the following snippet:
endpointRegistry.getListenerContainer(RabbitConfig.LISTENER_ID_SNAPSHOT_SYNC).start()
// ...
endpointRegistry.getListenerContainer(RabbitConfig.LISTENER_ID_SNAPSHOT_SYNC).stop()

The problematic queue is an non-auto-startup, exclusive queue as defined by
@RabbitListener(
    queues = "#{snapshotSyncQueue.name}",
    autoStartup = "false",
    id = RabbitConfig.LISTENER_ID_SNAPSHOT_SYNC,
    exclusive = true
)
public class SnapshotSyncRabbitController {
// ...

The fix you are mentioning has not been released yet: https://github.com/spring-projects/spring-amqp/issues/2492.
Probably this https://github.com/spring-projects/spring-amqp/commit/b98847cd945eae3f0a50df4acdaefd55926ae58e or this https://github.com/spring-projects/spring-amqp/commit/95631d8f56c5bf00ea7dabc3dfb147a050985736.
It would be great if you can test your project against 2.4.15-SNAPSHOT. It is going to be released in a couple weeks: https://calendar.spring.io/

Hi @artembilan ,
thanks for your response, but the 2.4.15-SNAPSHOT version does not fix the issue.
I double-checked the classpath of the running app to ensure it is using the correct spring-amqp version
.gradle\caches\modules-2\files-2.1\org.springframework.amqp\spring-rabbit\2.4.15-SNAPSHOT\b3a16ac4af72a8cc4aca73236df4d90cde140442\spring-rabbit-2.4.15-SNAPSHOT.jar(.gradle\caches\modules-2\files-2.1\org.springframework.amqp\spring-amqp\2.4.15-SNAPSHOT\389a7a17bb5c73e1ed4cc09d11ac427a6f22845\spring-amqp-2.4.15-SNAPSHOT.jar;)

Hi @artembilan ,
thanks for your response, but unfortunately using the 2.4.15-SNAPSHOT versions of spring-amqp and spring-rabbit does not fix the issue. I think it is not related to the forceStop() flag, which I already tried to set on my own via a ContainerCustomizer bean.
The error message stays the same:
Failed to shut down 1 bean with phase value<PHONE_NUMBER> within timeout of 30000ms: [org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry] [stop(), DefaultLifecycleProcessor.java:384]
I double-checked the classpath of the running app to ensure it is using the snapshot version:
.gradle\caches\modules-2\files-2.1\org.springframework.amqp\spring-rabbit\2.4.15-SNAPSHOT\b3a16ac4af72a8cc4aca73236df4d90cde140442\spring-rabbit-2.4.15-SNAPSHOT.jar
.gradle\caches\modules-2\files-2.1\org.springframework.amqp\spring-amqp\2.4.15-SNAPSHOT\389a7a17bb5c73e1ed4cc09d11ac427a6f22845\spring-amqp-2.4.15-SNAPSHOT.jar

I know it is a long text 😉 But I guess the problem is the same as in my original issue conclusion:
In AbstractMessageListenerContainer.java:1370 the method can return without executing a given (non-nulll) shutdown callback, therefore missing to decrease a countdown latch in the DefaultLifecycleProcessor.

This is a minimal sample app that reproduces the issue with 2.4.15-SNAPSHOT. Just start and then stop the application to see the issue:
DemoApplication.java
@SpringBootApplication
@EnableRabbit
public class DemoApplication {

    @Bean
    public Queue queue1() {
        return new Queue("reporting-service.queue1", false);
    }

    @Bean
    public Queue queue2() {
        return new Queue("reporting-service.queue2", false);
    }

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}

DemoRabbitController.java
@Controller
public class DemoRabbitController {

    @RabbitListener(queues = "#{queue1.name}")
    public void receive1(String message) {
        System.out.println(message);
    }

    @RabbitListener(queues = "#{queue2.name}", exclusive = true, autoStartup = "false")
    public void receive2(String message) {
        System.out.println(message);
    }

}

Result
The graceful shutdown hangs for 30sec and then prints the Failed to shut down 1 bean error before the process exits:
...
2023-08-09 10:21:03.267  INFO 6860 --- [           main] o.s.amqp.rabbit.core.RabbitAdmin         : Auto-declaring a non-durable, auto-delete, or exclusive Queue (reporting-service.queue1) durable:false, auto-delete:false, exclusive:false. It will be redeclared if the broker stops and is restarted while the connection factory is alive, but all messages will be lost.
2023-08-09 10:21:03.267  INFO 6860 --- [           main] o.s.amqp.rabbit.core.RabbitAdmin         : Auto-declaring a non-durable, auto-delete, or exclusive Queue (reporting-service.queue2) durable:false, auto-delete:false, exclusive:false. It will be redeclared if the broker stops and is restarted while the connection factory is alive, but all messages will be lost.
2023-08-09 10:21:03.302  INFO 6860 --- [           main] c.example.shutdownhang.DemoApplication   : Started DemoApplication in 1.67 seconds (JVM running for 2.138)
// --------  triggered application stop via InteliJ --------
2023-08-09 10:21:13.318  INFO 6860 --- [ntContainer#0-2] o.s.a.r.l.SimpleMessageListenerContainer : Waiting for workers to finish.
2023-08-09 10:21:14.319  INFO 6860 --- [ntContainer#0-2] o.s.a.r.l.SimpleMessageListenerContainer : Successfully waited for workers to finish.
2023-08-09 10:21:43.320  INFO 6860 --- [ionShutdownHook] o.s.c.support.DefaultLifecycleProcessor  : Failed to shut down 1 bean with phase value<PHONE_NUMBER> within timeout of 30000ms: [org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry]

Process finished with exit code 130

Confirmed regression; probably caused by https://github.com/spring-projects/spring-amqp/commit/1fdfe650ac1b6b28f11543af026c94b5128f1ba5


Fixed sequence of linebreaks in text

Is there any thoughts about this PR?

The change is not backwards compatible and the implementation can still be improved.

Gotcha. Thanks for the feedback @g-zachar .
Is it a proper fix for that in your roadmap?

Hi @raulmelo-wm,
We're still figuring out how to address it.
Best regards


Long press on posts opening share options

This PR adds a long press gesture in the the posts list so it's easy to share as mentioned on #52
Uses a category on UIViewController to prevent duplicating UIActivityViewController code (It's used in post details as well).

@brunodelgado could you remove the spaces added for empty lines? Enabling the Including whitespace-only lines option inside Text Editing tab on Xcode Preferences should work.

Ops, my bad...
Done!

Sorry for taking so long to fix. I was a bit busy.
I've chosen the category because I saw a few of them and followed the practice, it's easy to change to specific class to handle the UIActivityViewController for the application.
What do you guys think?


Fix for player join event notifications

This fix is being tested over on this discussion https://github.com/mbround18/valheim-docker/discussions/992#discussioncomment-11528955


remove use of [core] domain module - due to it being deprecated

the domain module is marked as deprecated (see here), I think it is wise to remove it.
Removing it's usage does not have any effect on normal shutdown operation.
Given that uncaught exceptions should be treated as a stop-the-world situation and we are already shutting down in this context I feel that no love is lost.
What do you think?

Thanks for the PR, but one of the tests is failing:
  1) shutdown-coordinator should deal with stages that error:
     Uncaught
  Error
      at Timeout._onTimeout (tests/shutdown-coordinator-test.js:60:15)
      at ontimeout (timers.js:365:14)
      at tryOnTimeout (timers.js:237:5)
      at Timer.listOnTimeout (timers.js:20

This test specific tests the case where a shutdown handler throws an unhandled/uncaught exception. Because we're running this code from inside a domain, we're able to recover from it. Offhand, I'm not sure what the best non-domain alternative for this situation is.


confusing: v0.9.6-rc.2 is released after v0.9.6

v0.9.6 currently refers to https://github.com/shellhub-io/shellhub/commit/e7957d87c4759a4f97ab6d55e271e84917ec2aa2
and v0.9.6-rc.2 refers to https://github.com/shellhub-io/shellhub/commit/47fc3b4cbd8b578da8f412ba6835a65a8f095a91
There are 92 commits from v0.9.6 to v0.9.6-rc.2
I expected after v0.9.5, comes v0.9.6-rc.1 then v0.9.6-rc.2 and so on until final release v0.9.6

The v0.9.6-rc.2 is indeed newer and will likely become a v0.10.0-rc.1 next. The v0.9.6 was a minor release to fix a UI issue.
Next time we'll make sure to use the minor bump directly for the rc releases. Thanks for the feedback!


Required file property

Description
Change the design of DSL for forcing users to define a file property instead of setting it in the builder. This allows to check the requirements in compile time instead of runtime.
Here's an example of what a user should do:
data class Person(val name: String, val age: Int, val isAdmin: Boolean = false)

suspend fun main() {
    csvWriter<Person>(file = "people") {
        records { +Person("Nobody", 25) }
    }
    val people: List<Person> = csvReader(file = "people")
    println(people)
}

This is a breaking change! 🔥

Checklist

[ ] Implement.
[ ] Test.
[ ] Refactor.
[ ] Update Work in progress section in changelog.

Moved here.


Option to compile DATA statements at the current origin

This is my first test with xc-basic, so there is a high probability that I have misunderstood something 😄
This is the code
GOTO START

ORIGIN 2112
DATA AS BYTE 0,1,2,3,4,5,6,7

START:
DIM values(8) AS BYTE @2112
PRINT values(3)

Compiling and running this in VICE prints 32, but I would expect it to print 3. I also find the syntax @2112 a little surprising (the need for @ sign specifically).

Okey, it seems that the origin is not doing what I supposed it would do:
GOTO START

ORIGIN 2112
PTR:
DATA AS BYTE 0,1,2,3,4,5,6,7

START:
DIM values(8) AS BYTE @2112
PRINT values(3)
PRINT @PTR

Prints 2366 for the value of PTR address.

After a bit of debugging I figured that origin only affects the code - not data. Data seems to be located after code. Is that by design?
I was testing if I could store e.g. sprite data before the code by using origin, but perhaps there is some better way to achieve it. 🤔

Hi @orlof. Thank you for your feedback.

After a bit of debugging I figured that origin only affects the code - not data.

Yes, DATA is assembled outside of the normal flow.

I was testing if I could store e.g. sprite data before the code by using origin

You can do that using INCBIN. It injects binary data at the current origin. As for DATA, I can add a command line option that enables inline DATA - meaning it is assembled at the current origin, rather than after code.
Let's keep this issue open.

That sounds good. Since DATA is effectively injecting values to memory - just like INCBIN, but visible in code - I would even consider that option to be the default. Unless there is some specific use case for moving DATA behind the code that I just don't know.

That sounds good. Since DATA is effectively injecting values to memory - just like INCBIN, but visible in code - I would even consider that option to be the default. Unless there is some specific use case for moving DATA behind the code that I just don't know.

The reason why DATA is outside of the code flow is to prevent accidental execution that would (most probably) lead to a crash. Nb. variables are also reserved at the end unless their addresses are implicit.

I have added the --inline-data option. I have also updated the documentation to explain the difference: https://xc-basic.net/doku.php?id=v3:data

Thanks, I tested it and seems to work perfectly!
I will close this issue, but I am still a bit confused why @ sign was needed in DIM values(8) AS BYTE @2112. E.g. POKE does not require @ sign before address.

but I am still a bit confused why @ sign was needed

Yes, this is a bit confusing. The @ sign has two different meanings:

To resolve the address of a variable or label, e.g @myVar will evaluate to the address where myVar is in memory.
In a DIM statement to explicitly set the address.

It might be confusing but had no better idea.

Ahh - I see. One option would be to use literal AT in DIM and reserve @ sign for evaluating the address of variables.
DIM values(8) AS BYTE AT 2112
DIM values(8) AS BYTE AT MY_LABEL
DIM values(8) AS BYTE AT @MY_VARIABLE

...I am just throwing ideas

Since this syntax hasn't changed since a very early version and users have been happy with it, I would like to keep it as it is.


Can't upload anything, getting "TypeError: globalThis.crypto.randomUUID is not a function"

Hi! Thanks for this awesome stuff!
I've just made a clean install of version 5.2.4 via docker compose:
version: "3.7"
name: chibisafe

services:

  chibisafe:
    container_name: chibisafe
    image: chibisafe/chibisafe:latest
    environment:
      - TZ
    volumes:
      - ${DIR}/database:/home/node/chibisafe/database:rw
      - ${DIR}/uploads:/home/node/chibisafe/uploads:rw
      - ${DIR}/logs:/home/node/chibisafe/logs:rw
    ports:
      - ${PORT}:8000
    restart: always

On upload I'm getting nothing but the error in the console:
index.9e74e0ac.js:757 Uncaught (in promise) TypeError: globalThis.crypto.randomUUID is not a function
    at z0 (index.9e74e0ac.js:757:71987)
    at x (index.9e74e0ac.js:759:50875)
    at P (index.9e74e0ac.js:759:51704)
    at d.value.V.onChange.T.<computed>.T.<computed> (index.9e74e0ac.js:759:53160)
    at hn (index.9e74e0ac.js:1:14111)
    at Mt (index.9e74e0ac.js:1:14190)
    at HTMLInputElement.n (index.9e74e0ac.js:1:57851)

Is the browser and version of it you are using in the clear to use randomUUID by any chance?
https://caniuse.com/mdn-api_crypto_randomuuid

Yes, exactly, I was using http (for development purpose)! Didn't think that there might be a difference in API!

Yeah unfortunately the API we use requires you to be on https for it to work.
We are looking into replacing that with a uuid package so that this doesn't happen anymore.

@Nesvet I just merged some code that would let you run chibisafe in the environment you described above even though it's not recommended to do so. This is not yet released so the only way to use is by pulling from master and building from there.
https://github.com/chibisafe/chibisafe/pull/476


Is the binho Project dead?

The last commit was done over a year ago.
Surprisingly the UART API is not available for the Python package.
The GUI Application unfortunately seem not to support writing of hex data.
Is this expected to be delivered? The adapter was not cheap and I am surprised UART is not available

Thanks for the swift response.
First I tried using Missioncontrol to quickly stimulate an ESP32 via UART. The Data is required in hex, which I was unable to transmit using Missioncontrol. When I checked the Python Library I realized that the UART related code has been commented out.
However I agree that indeed IC2 and SPI are the main use cases.
Binho still allows us to easily stimulate our ESP32 via SPI and for UART we now use FT232H.


Make get_in, set_in work with lists/indexables

Currently:
def get_in(coll, path, default=None):
    for key in path:
        if key in coll:
            coll = coll[key]
        else:
            return default
    return coll

With current implementation, get_in([1, 2, 3, 4], [0]) returns None, while get_in([1,2,3,4], [1]) returns 2, due to the in behavior, which is slightly funky.
I've modified get_in and set_in to work with more general indexables - set_in only with lists but
get_in with general indexables.
If this change sounds good, happy to add to docs as well.
Thanks!

This may change the behaviour for a coll that implements its own __getitem__.
I think defaultdict instances are good candidates for problems introduced by this change.
I say (with some caution) that there is no perfect solution to this because of python's "data model".
Some good guess could be taken by checking for instances of dict or MutableMapping subclasses,
but someone may implement from scratch an object that behaves like a dictionary.

Great point - perhaps it is worth simply checking if coll is an instance of (list, tuple) and defaulting to the previous behavior using in if not?

Still, it can be a string or a subclass of Sequence or MutableSequence or a custom implementation of them.
But let's wait to see what the project owner has to say.
What you suggest is not absurd, the pytoolz folks did almost the same with you. It just changes the behaviour of get_in(), eg for a defaultdict it will now get the defaultdict's default instead of get_in's default.

I base design decisions like this on practice. What would be most useful behaviour? The thing is I don't have any use for it at all, so it's hard to decide anything. I am not sure this feature should have beed added to funcy at all.
So, guys, do you actually use this and how?

Sorry for the delay - for example, I would use this in unwrapping JSON responses, which are often dicts with nested arrays which contain dicts, etc. We ran into the weird behavior initially when we tried to do something like get_in(coll, ['key', 0, 'next_key']), where the second index was indexing into an array.

JSON responses (and configs) is a good use case.
I think this could be solved by something like checking if isinstance(coll, Sequence) and then acting accordingly. Or should it check  isinstance(coll, Mapping) first?. Hmm. Also, should it work with tuples then?

There is also an assimetry - we have autovivifying for dicts, but not for lists.

Note that I also optimized update_in() and reimplemented set_in() in its terms. So current patch won't work.

Implemented this in 33699e313d3b6e84af47f6bf2f5bb3fe77eea7a9. Note that set_in() and update_in() work for lists only for now. I was considering using Sequence, but it could be undesirable, e.g. strings are sequences.


SAML authentication requires signature for either SAML Response or its Assertion, not both

Hello! Thanks for the library!
In my testing, it appears as though this library requires a signature for either the SAML Response or its Assertion, but not both.
https://github.com/russellhaering/gosaml2/blob/869035899b00cd00cdc7e397b4d173bfb7a98b01/decode_response.go#L272-L304
Would you accept a PR to enable requiring both Response and assertion to be signed? Thanks

You can check them outside of the library by checking ResponseSignatureValidated and SignatureValidated on each assertion, respectively.


[VMware Photon OS] Add dbus-user-session related files

In Photon OS or in Redhat derivatives, there is no dbus-user-session package. It is better to keep them in the repo and users can use these files on the need basis on cgroup v2 systems.
I have tested this on Photon OS with 6.x kernel and cgroup v2 enabled.
Update the FAQ for the same.
Signed-off-by: Shreenidhi Shedi<EMAIL_ADDRESS>

@AkihiroSuda please take these changes. It took a while for me to find these files to get nerdctl working on my machine.
Hope this helps.

Photon OS

The distro should provide its own suppport for dbus-user-session.
Maybe you can negotiate with your colleagues 🙂
If Photon OS purposely omits the support for dbus-user-session, let me know the reason and I can reconsider this PR.

Redhat derivatives

$ rpm -qf /usr/lib/systemd/user/dbus.socket
dbus-common-1.12.20-6.el9.noarch

We have dbus in our system just the dbus-user-session service files are a bit different.
I added the user dbus related files to Photon sometime back and it will be available soon.
But this is for general audience where they want to just get nerdctl working in cgroup v2 machines without much trouble.
Yeah, you are right, Fedora already has it.
https://src.fedoraproject.org/rpms/dbus/blob/rawhide/f/dbus.spec#_38
Feel free to close this PR. Sorry for the trouble.


determinant function

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #30
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings
determinant function

so i should i add a text file describing about the function

That's fine or you could update the readme. Anything.

done

!bounty 50


Integration tests for global exception handler

Commiting code testing the wiring of the exception handler class.
I strongly believe quite a bit of the logic implemented by the class under test is not its inherent responsibility and should be delegated to another class. I feel testing this altogether would get the test class dirty and I suggest refactoring to separate concerns and make testing easier.
I don't mind implementing said refactor if considered necessary :)

Codecov Report

Merging #10 into master will increase coverage by 3.70%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #10      +/-   ##
============================================
+ Coverage     71.60%   75.30%   +3.70%
- Complexity       64       66       +2
============================================
  Files            16       16
  Lines           162      162
  Branches          8        8
============================================
+ Hits            116      122       +6
+ Misses           44       37       -7
- Partials          2        3       +1

Impacted Files
Coverage Δ
Complexity Δ

...haedel/controller/util/GlobalExceptionHandler.java
46.66% <0.00%> (+40.00%)
3.00% <0.00%> (+2.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 c4e0060...5fc5262. Read the comment docs.

Thank you for this, looks goot to me @rangolucas! Regarding your comments about the separation of concerns in the test class, I think you are right. If you would like to take this, I will open a new Issue for this matter!


[devtools] add speed tutorial

What's changed, or what was fixed?

adds tutorial for using devtools to find ways to improve site speed

Fixes: N/A
Target Live Date: 2018-06-19

[x] This has been reviewed and approved by @kaycebasques
[x] I have run npm test locally and all tests pass.
[x] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

Whoops!
There were 7 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/tools/chrome-devtools/evaluate-performance/index.md#L31 - '


Added support PHP 8.0

Added php 8 support
Added PHPUnit 9.5
php-coveralls

Duplicates: PR #24.


sqldf stopped working with sqlalchemy 2.0.0

sqldf does no longer work since the release of sqlalchemy 2.0.0.
I just installed pandasql on my notebook, the python script that yesterday worked on my desktop doesn't work here. I noticed 12 hours ago a new version of sqlalchemy released (2.0.0)
I did a pip uninstall sqlalchemy and then installed the old 1.4.46 release, the script then worked as expected.

Hi there. We faced the same issue. You can use my fork for a while 😀

If you want to use SQLAlchemy v2.x, I think merging my PR will resolve this and 2 other issues.

I think as a first rule of thumb, if I were a maintainer, I would pin the sqlalchemy version in the requirements(sqlalchemy < 2.0):
https://github.com/yhat/pandasql/blob/e799c6f53be9653e8998a25adb5e2f1643442699/setup.py#L16

+1

so when could the merge be released?

I just forked it under my repo and released pansql https://github.com/hrshdhgd/pansql


MemoryError

Hi
I am trying to train a net.
Even after I am setting the batch size to be small
batch_iterator_train=BatchIterator(batch_size=8)
The size of my training set is to big.
I can only use about 200 samples
Training_X = float32((np.load('Training_X.npy')[0:200,:,:,:]))
More than that and get a MemoryError.
Thanks in Advance
Eitan

MemoryErrors should usually not depend on the size of the training set but on the batch size. Are you getting a GPU MemoryError? More code would help in diagnosing the problem.

Closing for lack of feedback.
OP probably wants to write a batch iterator to load chunks of data during iteration (e.g. by passing a list of filenames as X).  Or they might want to look into using HDF5.


Why the white line doesn't show?

In my own machine ,it works just fine,but in my colleague's machine ,the white line doesn't show?We share the same code.Could you please tell me why?

Can you provide more information about :

Device information
Android version

Mine:
Android build target:Android 4.0
JDK:jdk1.7.0_45
My colleague's:
Android build target:Android 4.0
JDK:jdk1.6.0_45
He built with ant and I built with ADT default apk tool

I figured out why it doesn't show in my colleague's machine,he is using proguard.config file and I don't.

Oh ok.
Is the issue done?

yes，thanks！

Well I did nothing.

Hi,geftimov.I've found out the problem but I don't konw how to fix it.The problem is that when I add the proguard-project.txt file ,the white line gone ,and when I remove the file ,the white line shows up . I don't konw why.
Belowing is the printscreen of the proguard-project.txt file, and we only add one line code there!

android-pathview uses inner library for animating svgs.
It is as dependency :
dependencies {
compile files('libs/androidsvg-1.2.1.jar')
}
Maybe when you want to strip the inner library
PathView does not work as expected.


PA_52: By clicking on the slide bar, slider ball is moving one year ahead from the selected year

SEVERITY: Medium
MODULE: Pop By Age Chart
OS/BROWSER: Win7 / Chrome 45.0
STEPS TO REPRODUCE:

Navigate to URL: http://static.gapminderdev.org/vizabi/release/v0.6.0/preview/popbyage.html
Pop By Age chart page will be loaded
Click & hold on the slider ball to select a specific year
Release the slider ball
Notice that slider ball moved one year ahead from the selected year.

ACTUAL RESULTS:
By clicking on the slide bar, slider ball is moving one year ahead from the selected year.
EXPECTED RESULTS:
Same year should be selected on the chart, which is selected by the user
SCREENSHOT:

Fixed in #300.


Theme extension doesn't work yet.

Hope it will fix in a future update.

I don't think there is any plan to add such a feature. The best for now is to add more options in Theme which is planned


more location encoder refactoring

This PR pretty much closes #540.
I didn't remove some of the masking that should be unnecessary because I was concerned about introducing bugs, and I wasn't sure if I could rely on our tests to catch any new bugs while #563 remains an issue.
There's still quite a bit more we could do to improve the readability of the location encoder. For instance, many of the calls to rearrange and squeeze could likely be avoided by not flattening structures in the first place. But this PR may be enough for now.

There's still quite a bit more we could do to improve the readability of the location encoder. For instance, many of the calls to rearrange and squeeze could likely be avoided by not flattening structures in the first place. But this PR may be enough for now.

I agree. I think the only place we absolutely need to flatten is for the conv layer in .encode()


Add sendable backend

This introduces both a Sendable and non-Sendable backend by sharing a
common GenericBackend. This currently just changes the event handler
to require Send or not. This is preferred to a mutually exclusive
feature as features should be additive and so both can exist at the same
time (for instance two crates in a workspace with one needing Send and
the other not).

Hmm, this still seems far from ideal. The complexity is just coming from the event handlers which in turn come from the fact that we can't intercept changes applied from the sync process but I think we can.
To capture the changes applied from the sync we should be able to get the current heads before the receive_sync_message call and then ask for the changes since those heads.
This currently is flawed as the backend keeps a queue of changes to be applied rather than applying them or returning an error and letting the user manage the queuing. Due to this the functionality for detecting when a change has been applied means we'd have to get the heads of the document before any function call and then get changes since, just in case it made a queued change applicable.
As per https://github.com/automerge/automerge/issues/400 I think we're moving in the direction of at least having queuing be optional so I might take a look into that first, and then the event handlers should be able to be removed.


Add comment-message parameter

I'd like to be able to add a custom message to the comment, so I've done a quick PR for it. Please let me know if I've missed anything.

Thanks!


Set word-brake to 'break-word' for bootstrap panel-body

So that URLs can be broken into several lines when not fitting the panel

LGTM

:+1:


add matchit support for some seq diagram syntax

Namely: alt, group and legend.

Thanks for this!


Fix Typo in tag_parser.go

Pull Request Title
Fix Typo in tag_parser.go
Description
This pull request addresses a minor typo in the tag_parser.go file, improving code readability and maintaining professionalism in error messages.
Changes Made:

File Modified: sszgen/generator/tag_parser.go
Summary of Changes:

Corrected "dimesion" to "dimension" in the error message on line 139.

Related Issues

N/A
Checklist

[x] Updated documentation or comments for clarity.
[x] Confirmed no impact on code functionality.

Testing

N/A (Typo fix in error message)

Additional Notes
This fix ensures that error messages are clear and free from typographical errors, contributing to the overall quality of the codebase.

Allow edits by maintainers: [x]

Fixed a small typo in tag_parser.go. Changed "dimesion" to "dimension" in the error message for better clarity and correctness.


Dark mode year selector does not use darkmode onSurface or text color for older theme

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
I use v2 of the react-native paper theme, and when using dark mode, the year text shows as dark text. Replacing the color value from undefined to either theme.colors.text or theme.colors.onSurface fixes the issue

Dark mode without fix
Dark mode with fix

Here is the diff that solved my problem:
diff --git a/node_modules/react-native-paper-dates/src/Date/YearPicker.tsx b/node_modules/react-native-paper-dates/src/Date/YearPicker.tsx
index 3178557..a4a23d6 100644
--- a/node_modules/react-native-paper-dates/src/Date/YearPicker.tsx
+++ b/node_modules/react-native-paper-dates/src/Date/YearPicker.tsx
@@ -105,7 +105,7 @@ function YearPure({
                 : {
                     color: theme.isV3
                       ? theme.colors.onSurfaceVariant
-                      : undefined,
+                      : theme.colors.onSurface,
                   },
               { ...textFont },
             ]}

This issue body was partially generated by patch-package.

Hi @jennifersalas thanks for finding this and providing the fix. I've created https://github.com/web-ridge/react-native-paper-dates/pull/278 and @RichardLindhout will merge it when he's available. Until then, just use the your patch.

Closed by https://github.com/web-ridge/react-native-paper-dates/pull/278


Share dashboard button unclear

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1623
Originally created by @NicoleSchwartz on 2020-01-28 18:53:35

What is the current bug behavior?
I click "share" on dashboard 1.17.0
https://nschwartzgitlab.meltanodata.com/dashboards/nicoles-dashboard
it opens email to share the link
the recipient is prompted to login
What is the expected correct behavior?
i should be able to tell who I will be able to share with. clearly tell me if any meltano login will work, or if the person must use my meltano login, or if it will be public (it isn't, but i couldn't tell)
Steps to reproduce
How one can reproduce the issue?
Relevant logs and/or screenshots
Please use code blocks (```) to format console output
Possible fixes
If you can, link to the line of code that might be responsible for the problem or suggest a fix
Further regression test
Ensure we automatically catch similar issues in the future

[ ] Write additional adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

View 6 previous comments from the original issue on GitLab


bugfix excecution summary profile not output some variables correctly

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.23 seconds
stream load tsv:          547 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>2 Bytes


Question: What Database Connectors are currently supported for the crud framework?

Is there any roadmap for the support of all database connectors that Prisma supports?

[ ] PostgreSQL
[ ] MySQL
[ ] MongoDB
[ ] SQL Server
[ ] SQLite
[ ] CockroachDB

Hi. The library should work fine with any relational database supported by prisma.
I personally use it in projects with PostgreSQL, MySQL and SQLite. I have yet to try it with SQL Server.
The limitations section of the docs mentions that JSON support is currently lacking for all databases. This means Mongo and Cockroach will not work at the moment. I do wish to tackle that limitation when I have some time and I would also accept pull requests for it.


Extensible metadata processing

Processing instructions like @GeneratableType, @ValidatorMarker and @InitializerMarker should be plugged via other annotations, allowing more extensions without modification of existing logic.

Done


UnamWebPanel limits

Is there a limit to anything? Maybe it will crash when the number of users is high?
Please let me know about it.

No there aren't any limits, though your web server (for example Apache) might have some connection limits that you can increase.

One more question.
If I want to set up this project with 50000 computers, how server do I need ? Ram, network bandwidth disk space and so.

Hard to say, at 50 000 computers that would be 50 000 connections per minute or around 833 connections per second, which would likely be something like 500KB/s-1MB/s of data. You shouldn't need a lot of RAM or disk space (since you'll likely turn hashrate history off). As long as your web server is configured to handle a lot of traffic it should be fine.

Thank you so much ❤


Test suite fails with older pytorch version

E           RuntimeError: Failed to import MVITActionRecognition from eva/eva/udfs/mvit_action_recognition.py
E           Exception: cannot import name 'MViT_V2_S_Weights' from 'torchvision.models.video' (eva/env38/lib/python3.8/site-packages/torchvision/models/video/__init__.py). Please verify that the UDF class name in the implementation file matches the provided UDF name MVITActionRecognition.

Possible fix: request to install correct version of PyTorch if using MVITActionRecognition

Can we throw an error in the UDF based on PyTorch version similar to this --
self.queue = asyncio.Queue() if sys.version_info >= (3, 10) else asyncio.Queue(loop=loop)

Fixed with #530


Render NavBar buttons inside of Card

Hello!
First of all, thanks for this great library!
Secondly, I have an issue with the NavBar. I have a scene
<Navigation>
    <Card title="Home" exact path="/app" render={ownProps => <HomeContainer {...ownProps} />} /
</Navigation>

and I want to render some buttons in the NavBar. I know that I can use renderLeftButton on the Card, but I want to set them from the HomeContainer component. Is there any way to do that?

Hi @pyr0hu ! Sorry, it's not possible with the current API. ☹

Sad to hear that :( But this could be an oppotunity to contribute to the lib :)

I would be very happy to see you contribute to the lib. ❤
I'm here if you have any questions !

The solution:
class Root extends React.Component {
  handleSetNavigation = () => {
    // Do what do you want
  }

  render() {
    return (
      <Navigation>
        <Card
          exact={true}
          path="/app"
          title="Home"
          render={ownProps => (
            <HomeContainer
              {...ownProps}
              handleSetNavigation={this.handleSetNavigation}
            />
          )}
        />
        {/* ... */}
      </Navigation>
    )
  }
}

class HomeContainer extends React.Component {
  componentDidMount() {
    const { handleSetNavigation } = this.props
    handleSetNavigation()
  }

  render() {
    return <View />
  }
}


onserverclick when I click means it's showing error i  don't know why

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Sorry @ain-pradeep-kumar it is not clear what step you were and what issue you have got, this issue is not actionable without more info.


The summary is not colored red when a project failed

As can be seen in this screenshot

The last line is colored green. Is this intentional? I would think to color it red if a project failed.
I dove in the regexes to tweak it but did no succeed. Is this a bug or by design?
As to ignore the RoboCopy summary report in red (nothing failed so its a false positive)
Bit off topic but to let VsColorOuput ignore replace
(\W|^)(error|fail|failed|exception)[^\w.]
with
(\W|^)(error|fail|failed|exception)(?!    Extras)[^\w.]

Thanks for the update.

I'm a regex hero :D Which regex needs to be modified of the 10+ or so? The problem was that I did not find the regex that colors the "==============" summary green (and should be red)

I'm using the C++ compiler.
Regex 4 should be : "0 failed",BuildHead,True
instead of : "0 failed|succeded",BuildHead,True
Then You also need a new Regex in position 5 which is: "========== Build., [1-9]\d failed,.*",LogError,True


Allow Resolve to merge unrelated spec files.

Detailed description
I'm wondering if its possible to use speccy to combine un-related spec files.
Context
I'm exploring different ways to serve OpenApi documentation. Redoc is the top choice. However serving multiple spec files is unwieldy/manual. It'll be great if speccy would also allow the merging of unrelated spec files. e.g. speccy resolve file1.yaml file2.yaml file3.yaml -o big-file.yaml. This would allow one to write disparate spec files and use redoc-cli out of the box.
Possible implementation
Haven't taken a look at the code base. Curious if I've missed anything/this is already in the works. If this cannot be done/is not in the works, I'm happy to take directions and contribute.
Your environment
Mac + Linux. Planning on docker, so not too important.

This is out-of-scope for the resolver/bundler Speccy uses under the hood (oas-kit's oas-resolver). Though this doesn't mean another command can't be added to Speccy, it may be worth looking at other github projects tagged openapi and merge to see if there's a pre-processor which already meets your needs.

Thanks for the quick reply. I'll take a look around. Closing this in the mean time.


wow very scary, also so many thanks

10/17-10/31: oh me oh my so scary but doge love treats

11/15-11/28: many turkeys so stuffing wow

Hahaha, this is fantastic. Thanks for doing this! :+1:

Thanks @thiderman, looking forward to adding snowdoge and fireworks doge when the time comes

This is the best thing ever. Time to pull again.


(Resolved) CREATE PROCEDURE    [dbo].[prc_sqldw_update_stats] fails

Resolved distribution is for Azure DW environments (not sql server on prem or PaaS environments)
When compiling the SP, it fails with the following message:
Msg 156, Level 15, State 1, Procedure prc_sqldw_update_stats, Line 23 [Batch Start Line 0]
Incorrect syntax near the keyword 'WITH'.
Msg 319, Level 15, State 1, Procedure prc_sqldw_update_stats, Line 23 [Batch Start Line 0]
Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.

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

ID: 8131ee36-cabb-0b6a-e27c-650159833a90
Version Independent ID: d32e56fb-1f0e-6152-85bc-743d0e04c49d
Content: Temporary tables - Azure Synapse Analytics
Content Source: articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-temporary.md
Service: synapse-analytics
Sub-service: sql-dw
GitHub Login: @XiaoyuMSFT
Microsoft Alias: xiaoyul

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

@kevinwolf11 I see that you have changed the title to resolved.  Is your issue got resolved ?

@kevinwolf11 I believe you have tried on a built-in Serverless SQL pool instead of using a dedicated SQL pool and thus you are getting this error.  We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
Thanks
Saurabh

testing


Can it be used in Windows and Python virtual environments?

windows11, python3.8, pycharm2022.
D:\AppInstall\Python38\python.exe: No module named pip
Command '['python', '-m', 'pip', '--default-timeout', '45', 'install', 'mmcv==2.0.0rc4']' returned non-zero exit status 1.

D:\AppInstall\Python38\python.exe is not the virtual environment I use, but my main environment。
My virtual environment was created by pycharm。
Please help me！

Hi @VacantHusky , openmim can be also used in Windows and it is recommended to install openmim in a conda environment.

The package pip is missing in your environment. You can use python -m ensurepip to install pip manually.

The ensurepip package provides support for bootstrapping the pip installer into an existing Python installation or virtual environment. This bootstrapping approach reflects the fact that pip is an independent project with its own release cycle, and the latest available stable version is bundled with maintenance and feature releases of the CPython reference interpreter.
In most cases, end users of Python shouldn’t need to invoke this module directly (as pip should be bootstrapped by default), but it may be needed if installing pip was skipped when installing Python (or when creating a virtual environment) or after explicitly uninstalling pip.

Source: https://docs.python.org/3.8/library/ensurepip.html

`
(venv) D:\ai>python -m ensurepip
Looking in links: c:\Users\ADMINI~1\AppData\Local\Temp\tmpq7ar6q64
Requirement already satisfied: setuptools in d:\ai\venv\lib\site-packages (60.2.0)
Requirement already satisfied: pip in d:\ai\venv\lib\site-packages (24.0)
(venv) D:\ai>mim install "mmpose>=1.1.0"
Looking in indexes: https://mirror.baidu.com/pypi/simple/
Looking in links: https://download.openmmlab.com/mmcv/dist/cu117/torch2.0.0/index.html
Collecting mmpose>=1.1.0
Using cached https://mirror.baidu.com/pypi/packages/09/8c/b8f4d587b54f5f43febb4733799c616355f1d9f3a8add103ada126c87d24/mmpose-1.3.1-py2.py3-none-any.whl (1.7 MB)
Collecting chumpy (from mmpose>=1.1.0)
Using cached https://mirror.baidu.com/pypi/packages/01/f7/865755c8bdb837841938de622e6c8b5cb6b1c933bde3bd3332f0cd4574f1/chumpy-0.70.tar.gz (50 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
Traceback (most recent call last):
File "", line 9, in
ModuleNotFoundError: No module named 'pip'
  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "D:\ai\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "D:\ai\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "D:\ai\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-_47_04h5\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-_47_04h5\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-_47_04h5\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
      super().run_setup(setup_script=setup_script)
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-_47_04h5\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 11, in <module>
  ModuleNotFoundError: No module named 'pip'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.`
i run cmd in venv in windows cmd, is no work for me
also i install mmcv like 'mim install mmcv',is work,but not work for 'mim install mmpose'

I can reproduce the same issue.
Create a venv and then these commands (these are to try and get MusePose working)
pip install --no-cache-dir -U openmim
mim install mmengine
mim install "mmcv>=2.0.1"
mim install "mmdet>=3.1.0"
mim install "mmpose>=1.1.0"

mmpose stage gives the same no module named pip.
Is it possible to install the aboive using the standard pip install command, and if so, how?


St_buffer should have QuadrantSegment / endcap / join / mitreLimit / singleSide input paras

https://locationtech.github.io/jts/javadoc/org/locationtech/jts/operation/buffer/BufferParameters.html
I think it's useful for user to use buffer functions like JTS style.
For example:
https://postgis.net/docs/ST_Buffer.html

@MyqueWooMiddo Great idea. I have thought about this but just too busy to do it. Do you want to contribute this logic to Sedona?

@MyqueWooMiddo Great idea. I have thought about this but just too busy to do it. Do you want to contribute this logic to Sedona?

Maybe it's high risk to do these in Mainland .   Haha!


bindings: support rabbitmq send any content types

Signed-off-by: Long<EMAIL_ADDRESS>Description
Support rabbitmq binding send any content types.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1144
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@pkedy @artursouza kindly ask review.

@CodeMonkeyLeet thanks for tip, added.
@artursouza @yaron2 please review again.


Add bindings for pg_query_deparse_protobuf

This exposes deparse functionality to node.js. As of this issue the recommended approach is to generate a protobuf message from the JSON parse tree. One blocking issue is that protobufjs doesn't honor the json_name attribute so it isn't able to parse the existing structure into a protobuf message. There's a PR to add this, however, this seems to be stale atm. In this PR I worked around this by directly pointing to the fork and generating a static JS model from it that I checked in. By checking in the model we could also point back to the original library, however, this makes updating the static model more cumbersome.
This pull request adds bindings for pg_query_deparse_protobuf to expose deparse functionality for Node.js. Currently, the recommended approach is to generate a protobuf message from the JSON parse tree, but the protobufjs library doesn't honor the json_name attribute, which blocks parsing of the existing structure into a protobuf message. Although a PR to address this issue is available here, it seems stale at the moment.
In this PR, a workaround has been implemented by directly pointing to the fork and generating a static JS model from it that is checked in. While checking in the model allows for pointing back to the original library, it also makes updating the static model more cumbersome.

This is awesome, thanks for your contribution! 🥳

@tomquist would https://github.com/protocolbuffers/protobuf-javascript work instead?

oops, I deleted master in an attempt to have more clarity, and it automatically closed this PR and I cannot seem to re-open it
@tomquist @benasher44 would love to see this re-open, at least for reference as a draft — sorry this!

oops, I deleted master and a few others in an attempt to have more clarity around branches, keep similar naming convention as libqg-query and it automatically closed this PR — re-opening :)

Would love to breathe life back into this! I've actually written protobuf parsers from scratch (see https://github.com/cosmology-tech/telescope)
@tomquist was this PR working for you? If so, I can look into the details of the option json_name and handle this
I could also make a nice pipeline for updating the proto.js that gets generated. I'll take a deeper look :)

$ npm run test

><EMAIL_ADDRESS>test
> mocha --timeout 5000

  Queries
    Sync Parsing
      ✓ should return a single-item parse result for common queries
      ✓ should support parsing multiple queries
      ✓ should not parse a bogus query
    Async parsing
      ✓ should return a promise resolving to same result
      ✓ should reject on bogus queries
    Deparsing
      ✓ async function should return a promise resolving to same SQL
      ✓ sync function should return a same SQL
      ✓ should reject on bogus input
    Fingerprint
      sync
        ✓ should not fingerprint a bogus query
        ✓ should fingerprint a query
      async
        ✓ should not fingerprint a bogus query
        ✓ should fingerprint a query

  PlPgSQL (async)
    ✓ should parse a function

  13 passing (12ms)

NOTE: yarn doesn't work with Tom's branch, but npm install does :)
I think this is a great start, I can work with this!

I'm gonna merge this PR into a dev branch, and work on this!

new PR #63


Longhorn 1.6.2 - pvc is not ready for workloads

Hi Team,
I’ve deployed longhorn using helm and all the pods are up and running and even longhorn UI is working fine.
However when I deploy statefulset, pvc attachment is failing with below error:
volume pvc-3673848 is not ready for workloads
cluster is RKE2 and the version is v1.28.9+rke2r1

@innobead Any suggestions on this?
Is it something specific to longhorn version?


Wrong gas estimation

Expected Behavior
The gas estimation should be accurate.
Current Behavior
Gas estimation is off under some circumstances. Probably when Storage gets freed.
It's working when MetaMask is talking with Geth, but not when Ganache is running.
By following the steps below, the 2nd transaction fails because it runs out of gas.
Steps to Reproduce (for bugs)
I've created an example contract.
Connect Remix to your local Ganache and deploy MyContract.
SafeMath16.sol:
pragma solidity ^0.4.23;

library SafeMath16 {
  function mul(uint16 a, uint16 b) internal pure returns (uint16) {
    if (a == 0) {
      return 0;
    }
    uint16 c = a * b;
    assert(c / a == b);
    return c;
  }
  function div(uint16 a, uint16 b) internal pure returns (uint16) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint16 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn’t hold
    return c;
  }
  function sub(uint16 a, uint16 b) internal pure returns (uint16) {
    assert(b <= a);
    return a - b;
  }
  function add(uint16 a, uint16 b) internal pure returns (uint16) {
    uint16 c = a + b;
    assert(c >= a);
    return c;
  }
}

MyContract.sol:
pragma solidity ^0.4.24;

import "./SafeMath16.sol";

contract MyContract {
  using SafeMath16 for uint16;

  bool[80][125] grid;

  struct House {
    address owner;
    uint16 x;
    uint16 y;
    uint16 width;
    uint16 height;
  }

  House[] houses;

  // The following holds a list of currently existing houses (without holes between the indexes)
  uint256[] houseIds;

  // Holds the mapping from houseID to its index in the above houseIds array.
  // If a house gets demolished, we know which index to delete and being filled
  // with the last element instead.
  mapping (uint256 => uint256) houseIdToIndex;

  /*********************************************************
   *                                                       *
   *                       Events                          *
   *                                                       *
   *********************************************************/

  event Build(uint256 indexed id, address indexed owner, uint16 x, uint16 y, uint16 width, uint16 height);
  event Demolish(uint256 indexed id, address indexed owner);

  /*********************************************************
   *                                                       *
   *                      Modifiers                        *
   *                                                       *
   *********************************************************/

  modifier onlyHouseOwner(uint256 _id) {
    require(houses[_id].owner == msg.sender, "Access denied.");

    _;
  }

  modifier houseExists(uint256 _id) {
    uint256 index = houseIdToIndex[_id];
    require(houseIds[index] == _id, "House does not exist.");

    _;
  }

  /*********************************************************
   *                                                       *
   *                       Logic                           *
   *                                                       *
   *********************************************************/

  function build(uint16 _x, uint16 _y, uint16 _width, uint16 _height)
    public returns (uint)
  {

    for (uint16 i = 0; i < _width; i++) {
      for (uint16 j = 0; j < _height; j++) {
        uint16 x = _x.add(i);
        uint16 y = _y.add(j);

        if (grid[x][y]) {
          revert("Already claimed");
        }

        grid[x][y] = true;
      }
    }

    // Create house.
    uint id = createHouse(_x, _y, _width, _height);

    emit Build(id, msg.sender, _x, _y, _width, _height);
    return id;
  }

  function createHouse(uint16 _x, uint16 _y, uint16 _width, uint16 _height) internal returns (uint id) {
    House memory house = House(msg.sender, _x, _y, _width, _height);
    id = houses.push(house) - 1;
    uint256 key = houseIds.push(id) - 1;
    houseIdToIndex[id] = key;
    return id;
  }

  function demolish(uint256 _id) houseExists(_id) onlyHouseOwner(_id) public {
    for (uint16 i = 0; i < houses[_id].width; i++) {
      for (uint16 j = 0; j < houses[_id].height; j++) {
        uint16 x = houses[_id].x.add(i);
        uint16 y = houses[_id].y.add(j);

        // Mark block as free.
        grid[x][y] = false;
      }
    }

    // Delete house
    delete houses[_id];
    // Reorganize index array and map
    uint256 key = houseIdToIndex[_id];
    // Fill gap with last element of houseIds
    houseIds[key] = houseIds[houseIds.length - 1];
    // Update houseIdToIndex
    uint256 movedHouseId = houseIds[key];
    houseIdToIndex[movedHouseId] = key;
    // Decrease length of houseIds array by 1
    houseIds.length--;

    emit Demolish(_id, msg.sender);
  }
}

Call method build with parameters: 0, 0, 1, 1
Call method demolish with parameter: 0

Context
I'm trying to delete structs from an array while maintaining index- and ID-mapping arrays.
Your Environment

Version used: Ganache 1.2.1

Thanks for the write up @haggins! We really appreciate it!! Issue #26 already is covering this. I'm going to close this in favor of #26, but CC'ing @davidmurdoch so he can read this and make sure he's not missing anything in the implementation of #26 or @147.

@haggins OOG errors due to transactions with refunds (from setting storage to 0 or a selfdestruct) should be fixed by https://github.com/trufflesuite/ganache-core/pull/141 and will be available in the next release.

Thank you both for the super quick replies!


Queries related Web Developement.

What are the prerequisities to get started with Web developing?
How much Javascript,Php plays their role in it ??

This is a broad question and off topic for the issue tracker. I'd recommend something like https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web for starters.


[Router] auth routes with customize modules request

Hi mates, currently, we're developing a website and intending to use existing Auth::routes(). But the problem is the namespace, i mean we have to create the sub-module in our modules. So, now i request to create an option for user to custom the module.
Example:
Auth::routes(array(
    'register' => false,
    'module' => 'Modules\AnyModule\Controllers'
));

Thanks in advanced.

So sorry, i can not create and push a new branch to create PR. Sorry for this inconvenient.

@quachtinh761 You can fork the entire framework repository into your own GitHub account, and then create the branches there. When you create a PR you can choose to use your own fork as the source for the PR.
Are you sure about the changes, or do you need to discuss them first in https://github.com/laravel/ideas or any chat like Slack of Discord?

@sisve thanks for your response. It will be great if we can discuss more about this. Can we do chat more on Slack? Thanks

You can register for the Larachat slack at https://larachat.co/

Got it. Thanks for you help @sisve


DW-issue-1229: Save shard-specific query subplans to metrics

Related to https://github.com/NationalSecurityAgency/datawave/pull/1863
Original issue:  https://github.com/NationalSecurityAgency/datawave/issues/1229

Shouldn't version be 2.1.1-SNAPSHOT instead of 2.1.1-1229