[IMPROVEMENT] update azure-sdk-for-go version to stable version

Describe the solution you'd like
According to https://github.com/longhorn/backupstore/pull/177, we need to update the azure-sdk-for-go to the stable version v1.0.1
azblob/azblob_service.go:31:25: undefined: azblob.ContainerClient
azblob/azblob_service.go:66:89: unknown field Transporter in struct literal of type "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob".ClientOptions
azblob/azblob_service.go:67:31: undefined: azblob.NewServiceClientFromConnectionString
azblob/azblob_service.go:87:25: undefined: azblob.ContainerListBlobHierarchySegmentOptions
azblob/azblob_service.go:108:59: undefined: azblob.GetBlobPropertiesResponse
azblob/azblob_service.go:138:108: unknown field MaxRetryRequests in struct literal of type blob.RetryReaderOptions

Describe alternatives you've considered

Additional context

Hi @mantissahz,
I had setup an azurite backupsotre, it worked well in v1.7.0, but after I upgrade longhorn to v1.8.0-dev-20240825 (or a fresh install), I can not create backup from UI and get see error in backuptargets.longhorn.io default
Status:
  Available:  false
  Conditions:
    Last Probe Time:
    Last Transition Time:  2024-08-26T08:06:58Z
    Message:               failed to list backup volumes in<EMAIL_ADDRESS>error listing backup volume names: failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.8.0-dev-20240825/longhorn [/var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.8.0-dev-20240825/longhorn backup ls --volume-only<EMAIL_ADDRESS>output GET http://<IP_ADDRESS>:10000/devstoreaccount1/demo
--------------------------------------------------------------------------------
RESPONSE 400: 400 The API version 2024-05-04 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter "--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error.
ERROR CODE: InvalidHeaderValue
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Error>
  InvalidHeaderValue
  <Message>The API version 2024-05-04 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter "--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error.
RequestId:47ad893d-c91f-4f98-af34-50662bc2753a
Time:2024-08-26T08:15:58.294Z</Message>
</Error>
--------------------------------------------------------------------------------

, stderr time="2024-08-26T08:15:58Z" level=error msg="GET http://<IP_ADDRESS>:10000/devstoreaccount1/demo\n--------------------------------------------------------------------------------\nRESPONSE 400: 400 The API version 2024-05-04 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter \"--skipApiVersionCheck\" or Visual Studio Code configuration \"Skip Api Version Check\" can skip this error. \nERROR CODE: InvalidHeaderValue\n--------------------------------------------------------------------------------\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<Error>\n  InvalidHeaderValue\n  <Message>The API version 2024-05-04 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter \"--skipApiVersionCheck\" or Visual Studio Code configuration \"Skip Api Version Check\" can skip this error. \nRequestId:47ad893d-c91f-4f98-af34-50662bc2753a\nTime:2024-08-26T08:15:58.294Z</Message>\n</Error>\n--------------------------------------------------------------------------------\n" func=main.ResponseLogAndError file="main.go:47"
: exit status 1
    Reason:        Unavailable
    Status:        True
    Type:          Unavailable
  Last Synced At:  2024-08-26T08:05:55Z
  Owner ID:        ip-172-31-83-204
Events:            <none>

supportbundle_96f82278-240d-4609-804b-3d67a6534812_2024-08-26T08-14-05Z.zip

Verified pass on longhorn v1.8.0-dev-20240825 with test steps

Fresh install v1.8.0-dev-20240825

Backup v1 voume ,restore the volume to RWX/RWO volum success
Backup v2 voume ,restore the volume to RWX/RWO(V1) volum success
Backup v2 voume ,restore the volume to v2 volum success
Create system backup and restore success

Have backup in v1.7.0 then upgrade to v1.8.0-dev-20240825

Restore v1 volume to RWX/RWO volum success
Restore v2 voume to RWX/RWO(V1) volum success
Restore v2 voume to v2 volum success


Create configuration for default_due

As mentioned in #69, this PR should allow for turning off the default 24h due date for new todos. The default_due will still be 24h if not specified. If set to 0, new todo's will not have the due date set automatically.

Is it OK now?

LGTM

Thanks!

No problem :) When will the new version be available via pip?

No problem :) When will the new version be available via pip?

A new one is up (TWO actually, since the first was mispackaged).


Is it possible to wrap mixed C/C++ libraries?

I'm trying to wrap a library which includes both C and C++ header files. Is there a way to make this configuration work with wrapit?
C headers are embedded in an extern "C" {} structure, but when trying to run wrapit on it, the result is 0 enums, classes, etc.

Hello Giannis,
You can wrap such libraries with the current version, by removing the extern "C" from the headers passed to WrapIt. Once the code generated, you should use the original header files to compile it.
The direct support for extern "C" may eventually be added. The libclang library used to parse the c++ code does not seem to support this directive making the implementation more difficult that it should.
Philippe.

Hi Philippe
Thanks a lot, this sounds promising. I'll give it a try as soon as I find the time and I'll let you know.
Giannis


[Feat] [Translations] [Spanish]: advanced/deployment

Pushed master and fix a typo, from my side, ready @KnorpelSenf @roj1512

@habemuscode what's ready? this PR?

@roj1512 Translation is done, and I merge with main branch (forget to push the feat branch, now you will see less diff :) )

@habemuscode Please speak clearly. I don't understand you.

After merging main, the translation branch wasn't pushed. This led to a huge diff between this feature branch and the translation branch, which made the PQ difficult to review. By pushing the translation branch, this was fixed now, so the PQ now has a small diff again.
Translating @habemuscode ←→ English 😁❤

Cool.


Notion - configurable option to close Raycast after Create Database Page

Description

Add setting Close raycast after create page to Create Database Page

Selected: main action: Create page and close (⌘+enter) and second action Create page (⌘+⇧+enter)
Unselected: main action: Create page and second action (⌘+enter) Create page and close (⌘+⇧+enter)

Show HUD without waiting for success/failure save for "Create page and close" action
Show Toast after success/failure save for "Create page" action

issue: https://github.com/raycast/extensions/issues/7970
Screencast

Selected

Unselected

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@thomaslombart  🥺

I'll check it out next Tuesday 🙂


17.12.0

Cats 1.0 should be out on Thursday, so unless someone particularly needs this I'll probably wait until then and then publish a release under the new 17.12.0 scheme.

Codecov Report

Merging #54 into master will decrease coverage by 12.77%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master      #54       +/-   ##
===========================================
- Coverage   65.61%   52.84%   -12.78%
===========================================
  Files          12        8        -4
  Lines         253      176       -77
  Branches        2        2
===========================================
- Hits          166       93       -73
+ Misses         87       83        -4

Impacted Files
Coverage Δ

util/src/test/scala/io/catbird/util/try.scala

util/src/test/scala/io/catbird/util/var.scala

util/src/test/scala/io/catbird/util/future.scala

...le/src/test/scala/io/catbird/finagle/service.scala

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 054b2f2...aa5d1e1. Read the comment docs.


How do I remove pitch smoothening?

I have a weird issue with So-Vits-SVC 5.
For some reason, the pitch extraction output has pitch smoothening. It tries to remove voice cracks and such, but it's ruining the output quality of my results.
Also, anything below 50hz and anything above 1000hz will not be recognized.
How do I solve this?

maybe you can try RMVPE:
https://github.com/thestmitsuki/so-vits-svc-rmvpe
https://github.com/DLSeed/so-vits-svc-5.0


Generated color list seems to miss import

Hi,
thanks for lib! It's a great and useful idea. I've started using it and I've firstly generated colorList for iOS platform on my app.
The code did not compile as-is, as the generated color list file is missing the import for UIKit
Am I missing something?

Sorry, that's definitely a bug. I will fix it as soon as I can, but if you get to it before I do please feel free to send a pull request.

I'd love to contribute a PR but I can't get carthage to build dependencies for the project :disappointed:

@DarthMike Can you paste the Carthage output here? Maybe I can help with that.


Camera tap action or clips gallery to display from a different camera

Is your feature request related to a problem? Please describe.
I currently use an Amcrest camera as a baby monitor. Frigate does not support audio passthrough, thus I can't get audio through a Frigate card. I still like having the functionality of the card though (ie. clips gallery) so my solution has been to use a picture entity card  using live view and use the generic camera integration with the same camera. I then use the Frigate card to display just the clips gallery from the same camera through the Frigate integration below it on my dashboard.
Describe the solution you'd like
If I could set the tap action on the camera within the card, I could set it so it's displaying the Frigate camera, but tapping it would open the live view from the generic camera integration full screen with audio.
Describe alternatives you've considered
Another solution would be to allow the clips gallery to display from a different camera. That way I could have the live view of the Frigate card come from my generic camera integration and then set the clips gallery to display from the Frigate integration.

I currently use an Amcrest camera as a baby monitor. Frigate does not support audio passthrough, thus I can't get audio through a Frigate card.

This is not correct. It is true with the jsmpeg live provider, but either the ha or webrtc-card live providers can provide audio in the card.

I still like having the functionality of the card though (ie. clips gallery) so my solution has been to use a picture entity card using live view and use the generic camera integration with the same camera.

Anything the picture entity card can do, this card should be able to do also!

If I could set the tap action on the camera within the card, I could set it so it's displaying the Frigate camera, but tapping it would open the live view from the generic camera integration full screen with audio.

If I understand you, you'd like an action to change camera in the card -- if so then you can already do this. The following will change to the camera.front_door camera, if you hold down on the live view of the camera.sitting_room camera.
type: custom:frigate-card
cameras:
  - camera_entity: camera.sitting_room
  - camera_entity: camera.back_yard
  - camera_entity: camera.front_door
overrides:
  - conditions:
      camera:
        - camera.sitting_room
      view:
        - live
    overrides:
      live:
        actions:
          hold_action:
            action: custom:frigate-card-action
            frigate_card_action: camera_select
            camera: camera.front_door

Ty for all the info!
I think this is a really niche use-case so trying to communicate what I'm trying to achieve is difficult. To add more clarity:
I can use a different live provider for audio pass through, but not if it's a Frigate camera entity. Frigate camera entities won't get audio regardless of the provider. And without using a Frigate camera entity, I can't get the clips gallery.
Basically I want to have the card display both a camera live view with audio, and have the clips gallery for that camera. I can only have one of those at once currently:

Use a generic camera entity in the card gives me a live stream with audio, but since it's not referencing a Frigate entity, I have no clips.
Use a Frigate camera entity in the card which gives me live stream, no audio, and access to clips.

With that, I think the most logical solution would be to have the ability to set a camera where the clips are coming from as an option if possible. That way I can set the live stream from a generic camera entity and get audio pass through, and then set the clips to pull from the Frigate camera entity.
Let me know if that makes more sense, or if I'm still missing something that can be done with current functionality.

I can use a different live provider for audio pass through, but not if it's a Frigate camera entity.

This is not accurate. I'm doing it right now! Frigate provided camera entity -- has audio -- in the Frigate card. If it's not working for you, and the camera definitely provides audio, I'd suggest playing with the audio encoding options in your Frigate configuration. See here. This is not related to the Frigate card, or the Frigate integration.

Basically I want to have the card display both a camera live view with audio, and have the clips gallery for that camera.

On a generic camera, just set the camera_name parameter to the Frigate camera name (from your Frigate config) and events (gallery, etc) should work just fine even though the camera entity is not a Frigate provided one.
But, as per above, you actually shouldn't need to go this route.

Hmm strange. I was taking that info from here https://github.com/blakeblackshear/frigate/issues/2874
But it looks like you're right, though that documentation linked only mentions recordings.
An odd thing I noticed is that one of my cameras gets audio and shows video controls on hover:

But none of my other cameras do.

None of my config options are different between those cameras. I know this is now becoming more of a general Frigate discussion, but let me know if you have any suggestions or if anything stands out that could be related.
# frigate.yml
mqtt:
  host: xxxx
  port: 1883
  user: hamqtt
  password: xxxx

record:
  enabled: true
  retain:
    days: 1
    mode: motion
  events:
    max_seconds: 120
    pre_capture: 1
    post_capture: 1
    retain:
      default: 1
      mode: motion

snapshots:
  enabled: true
  timestamp: false
  retain:
    default: 1

birdseye:
  enabled: false

detectors:
  coral:
    type: edgetpu
    device: usb

ffmpeg:
  hwaccel_args:
    - -hwaccel
    - qsv
    - -qsv_device
    - /dev/dri/renderD128
  output_args:
    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac

cameras:
  front_doorbell:
    objects:
      track:
        - person
        - car
        - motorcycle
      filters:
        person:
          min_score: 0.8
          min_area: 20000
    ffmpeg:
      inputs:
        - path: rtsp://xxxxx/cam/realmonitor?channel=1&subtype=0&authbasic=64
          roles:
            - detect
            - rtmp
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    detect:
      width: 1280
      height: 960
      fps: 5
    live:
      height: 960
      quality: 8
    motion:
      mask:
        - 2352,623,2385,1009,2303,1619,2560,1812,2560,0,1880,0,2171,102
        - 1804,0,299,0,347,411,1110,277,1702,287
    zones:
      my_driveway:
        coordinates: 2162,1371,2028,1337,2011,1322,2011,1252,2038,1187,2083,1159,2176,1114,2372,1091,2335,1378
        objects:
          - person
          - motorcycle
      neighbor_driveway_1:
        coordinates: 1734,1187,1677,1133,1621,1072,1494,1075,1517,1125,1568,1196
        objects:
          - person
          - motorcycle
      neighbor_driveway_2:
        coordinates: 2052,1136,1949,1063,1891,1057,1767,1052,1694,1117,1897,1179
        objects:
          - person
          - motorcycle
    mqtt:
      quality: 85
      bounding_box: false
      height: 960
  den:
    objects:
      track:
        - person
    ffmpeg:
      inputs:
        - path: rtsp://xxxx/cam/realmonitor?channel=1&subtype=0&authbasic=64
          roles:
            - detect
            - rtmp
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    detect:
      width: 1280
      height: 720
      fps: 5
    live:
      height: 720
      quality: 8
    motion:
      mask:
        - 0,0,1920,0,1920,190,1515,112,1159,86,649,82,306,99,0,169
        - 0,834,0,1080,88,1080,29,953
    zones:
      office_entry:
        coordinates: 0,640,114,996,576,996,493,98,0,192
        objects:
          - person
    mqtt:
      quality: 85
      bounding_box: false
      height: 720
  backyard:
    objects:
      track:
        - person
        - cat
        - dog
      filters:
        person:
          min_score: 0.8
        cat:
          min_score: 0.8
        dog:
          min_score: 0.8
    ffmpeg:
      inputs:
        - path: rtsp://xxxx/cam/realmonitor?channel=1&subtype=0&authbasic=64
          roles:
            - detect
            - rtmp
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    detect:
      width: 1280
      height: 720
      fps: 5
    live:
      height: 720
      quality: 8
    motion:
      mask:
        - 1920,0,1829,90,1784,124,1717,211,1435,140,1057,120,844,129,653,162,400,203,0,493,0,323,0,0
    mqtt:
      quality: 85
      bounding_box: false
      height: 720
  nursery:
    objects:
      track:
        - person
    ffmpeg:
      inputs:
        - path: xxxx/cam/realmonitor?channel=1&subtype=0&authbasic=64
          roles:
            - detect
            - rtmp
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    detect:
      width: 1280
      height: 720
      fps: 5
    live:
      height: 720
      quality: 8
    motion:
      mask:
        - 0,376,0,1080,352,1080,140,722
        - 1920,459,1920,1080,1532,1080,1705,827
    mqtt:
      quality: 85
      bounding_box: false
      height: 720

Hmm strange. I was taking that info from here https://github.com/blakeblackshear/frigate/issues/2874

That question specifically asks about the Frigate web UI (which uses a different transport mechanism, equivalent to jsmpeg provider in the card, which definitely does not have audio for Frigate today). HA is different.

but let me know if you have any suggestions or if anything stands out that could be related.

I'd guess your audio codec. Did you try the link I included in my prior response? This one.
If that doesn't work, I'd recommend asking over her: https://github.com/blakeblackshear/frigate/discussions , as there may be others who have ran into this issue.

Got it, you're right.
Ya I tried what was in that link without any luck. Going to post in the discussions to see if I can figure it out.
Thanks again for the responses!


Unable to view "Preview"

Describe the bug
Unable to see preview on bolt.new website using a MacBook Air. There is only a QR code displayed and when I download NativeScript on my Android phone and scan the QR code on my project, it's just a white screen. Same as when I tried downloading NS app on my iPad and scanning the QR. I would like assistance in figuring this out before I purchase a subscription.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-k3ikg2
Steps to reproduce
Literally just request bolt.new to show a preview of the project.
Expected behavior
I expected to see a preview of my project creation in the preview panel.
Screen Recording / Screenshot
No response
Platform

OS: macOS
Browser: Chrome
Version: macOS 12.7.6 and Chrome 128.0.6613.138

Additional context
No response

I do have the same issue on a Macbook air m2

I have on macbook pro 2017 and still has the same issue with chrome

Hi all,
Appreciate the feedback. We are tracking this issue: #1791. You can follow there for updates. If you continue to have this problem, posting the requested details on that issue page would be helpful. Thanks!


open issue report for web

related: https://github.com/microsoft/vscode/issues/203247 for web issue reporter! allows extension to contribute the command on web

@justschen You can't re-use the ReportIssueCommandHandler command handler from main extension in the browser version. You will have to implement that bit subtracting all the items that the main one depends on. We may need to refactor that to make it work.
Basically it is not compiling to browser version because of all the dependencies that cannot run in the browser version.
@paulacamargo25 Can you help Justin with this? The ReportIssueCommandHandler depends on lots of interfaces that it cannot be directly used in the browser version. Can you simplify it in a way that only directly consumes VS Code APIs and not use inversify?

Closing this for now. We can re-visit this in the future.


Change default interpretation of real literals from DOUBLE to DECIMAL

In principle should fix #3949
Breaks a million other tests because decimal -> string formatting is slightly different from double -> string formatting, leading to errors where tests expect 1.000000 but get 1.0. This is probably not the only cause but it's very prevalent
Uses inferMinimalType from the csv-sniffing branch to determine whether or not the string should be interpreted as a decimal or double.
Contributor agreement

[x] I have read and agree to the Contributor Agreement.

closing because this idea doesn't work


fixes #58 Cant read from pipes

Coverage remained the same at 100.0% when pulling ae6a9b363739f08906bedcd37f685a39d4ea9492 on load-from-pipes into 0ade33240efc84469865494b38ab901c591d1283 on master.


Transl2engl

Motivation

translation of api open api specification from german to english 🇬🇧

Änderungen

new API Template used
usecases addNachricht added
endpoint getAntraege deleted

Test
review documentation for missing informations, readability and understanding

will be continued in #145


Remove duplicate of allSatisfy implementation

This PR removes the code duplication and the required double maintenance of allSatisfy. As https://github.com/dlang/phobos/pull/6763.

Closed in favor of https://github.com/dlang/phobos/pull/6767


Code lens shakes up and down when typing

🐛 Bug Report
Code lens shakes up and down when typing as below.
To Reproduce
The bug is produced by just typing text.

Expected behavior
Code lens won't shake.
Extension Output
empty
Guidance: Press Ctrl+Shift+U, and toggle the channel to Debug LeetCode.
Your Environment

os: MacOS Big sur
extension settings: none
nodejs version: v15.10.0
vscode version: 1.54.2
extension version: v0.2.2

It occurred only when typing the first line of source code.
This problem doesn't bother me anymore, so I'll close it for now.


Auto analyze dependencies graph to determine to inject shim layer

Investigate if we could design analysis of dependencies so as to determine the version of each dependency at runtime and cross-check that against the expected version, and based on that either switch our shim layer or log to the user that they may get runtime issues.

Closing as only Jackson is using shimming and this does log which versions of Jackson have been resolved. If/when another major dependency releases a new version where shimming is required this pattern will be followed.


change on catalog.sql in case big information_schema

resolves #

Description
This optimize catalog.sql when query larger information_schema in order to create faster documentation in dbt
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

I feel like this is useful but without context it's hard to gauge.
Do we have an issue for it? Have you benchmarked the gain in performance? Do we know of any side effects?

I feel like this is useful but without context it's hard to gauge. Do we have an issue for it? Have you benchmarked the gain in performance? Do we know of any side effects?

No, there is no currently an issue.
The first cte was performing just a select on all the information schema as it is the columns cte and you only filtering at the end, hence your doing a select all of twice in the same information schema before filtering with the join but if you filter before the two cte at the end you are joining less amount of data therefore an increase in performance. This reduce or catalog to run in 30 min from 3 hrs, since our schemas have in avg 10Th tables.
Side effects, would be not looping the entire information schema within the database just the ones you have.


Build both intel and arm docker images

cimg/rust isn't currently being built for arm64, so I've used arm64v8/rust and rust correspondingly, but they don't have a dedicated user specified at least.
If the approach is viable otherwise, should I set this user in the Dockerfile?

@SomeoneToIgnore
my opinion:
I disagree the proposed way for intel/arm docker images. I prefer utilize multi platform build without additional suffixes (so, image name with tag will be the same for both platforms and docker hub will manage what image should be pulled)
Second point - changing base image will broke circleci CICD flows (as native rust images not adapted for it).
So, I suggest closing this PR and wait a bit, I have a plan solve multi platform issue soon (I did it already for zenith repository but not merged as build was too slow).
PS: about milti platform builds and cross-complitauin within docker:

https://docs.docker.com/desktop/multi-arch/
https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/

Perfect, thanks for reading.
I'd like to try working on that when my engineer week comes (late March), but you're welcome to implement it before that 🙂


Fixes issue 75

As the array flags were already reflected in the README documentation
and example, this only required a test

Rebased and merged in https://github.com/filerjs/filer/commit/1775c24d37cdc36b634d8dbc68f466d8426687fd.  Sorry it took so long @pbouianov and thanks for this work!


GlobeSurfaceTile uses TileBoundingBox

For #3177
Using TileBoundingBox inside GlobeSurfaceTile and GlobeSurfaceTileProvider.

Everything looks good.
Just a heads up that the following test passes in master but fails in this branch and 3d-tiles:

I think that's because viewRectangle was removed in 1.17, and this test is not in master for some reason.

Can you look into it?  It might have been removed from master, but then kept in 3d-tiles because of a bad (auto-)merge.

Also, can you please cherry pick commits for a pull request into master?  We could do this in one PR into master, and then the request scheduler in a separate PR into master.


pythonPackages.flask-debugtoolbar: init at 0.13.1

Description of changes
Resolves https://github.com/NixOS/nixpkgs/issues/261757

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

4 packages built:

python310Packages.flask-debugtoolbar
python310Packages.flask-debugtoolbar.dist
python311Packages.flask-debugtoolbar
python311Packages.flask-debugtoolbar.dist

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2831


Can't resolve from outside of containers.

With version 1.12.0 I can't get results from aardvark-dns directly from host system. Downgrade to 1.11.0 fixes it. It works correctly when accessing from container.
With v1.11.0:
~> nslookup gitea <IP_ADDRESS>
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	gitea
Address: <IP_ADDRESS>

With v1.12.2, same config:
> nslookup gitea <IP_ADDRESS>
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

** server can't find gitea: NXDOMAIN

Is that expected behaviour now? Or is it configurable (using podman config)?

We generally never really considered/supported the use case of resolving the names from the host directly.
I think I "broke" this in my rework (not intentionally) so if it worked before we can add it back if it is useful

It's useful for me, for example with ssh passing through to gitea. I just had aardvark-dns as additional resolver for some names in dnsmasq. Host can get ip address of the container to connect, and I don't have to maintain static ip for every service container i have. Pretty convenient to have it.


[Mac] Undefined index: kern.boottime

https://github.com/trntv/yii2-starter-kit/issues/295

The issue is on AbstractUnixProvider::getSysctlInfo() (line 53)
On mac sysctl is located under /usr/sbin/sysctl and sometimes can't be found by php script.


[ISSUE #7172] Unified Chinese for Name Server

Fixes #7172, Unified Chinese for Name Server.

Codecov Report

Merging #7173 (07289f6) into develop (f534501) will decrease coverage by 0.06%.
Report is 1 commits behind head on develop.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             develop    #7173      +/-   ##
=============================================
- Coverage      42.52%   42.46%   -0.06%
+ Complexity      9357     9350       -7
=============================================
  Files           1149     1149
  Lines          82043    82043
  Branches       10701    10701
=============================================
- Hits           34889    34843      -46
- Misses         42792    42837      +45
- Partials        4362     4363       +1

Files Changed
Coverage Δ

.../org/apache/rocketmq/proxy/config/ProxyConfig.java
54.20% <100.00%> (ø)

... and 19 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Liquibase 4.0.* version - insert queries sequence and table schema names must be different

Environment
Liquibase Version: 4.11.0
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
Liquibase Extension(s) & Version:
Database Vendor & Version:
Operating System Type & Version:
Infrastructure Type/Provider: <AWC, GCS, Azure, VM, etc>
Description
In insert queries, the table to be inserted and the sequence can be in different schemas . But after version 4.0.* , schemaName information is also used for sequence.
Actual Behavior
changeSet id="sample-id" author="sample-author" failOnError="true">
insert tableName="sampleTable" schemaName="SAMPLE_SCHEMA">
column name="ID" valueSequenceNext="SAMPLE_SEQ"/>
/insert>
/changeset>
Expected/Desired Behavior
changeSet id="sample-id" author="sample-author" failOnError="true">
insert tableName="sampleTable" schemaName="SAMPLE_SCHEMA">
column name="ID" valueSequenceNext="ANOTHER_SEQ.SAMPLE_SEQ"/>
/insert>
/changeset>

Hi! We dont support this feature anymore, that true. There is a workaround though. You can use modify sql to modify that. More info here. I hope this helps!


ISS verifies signers of checkpoint message with info from checkpoint message

As noted in the code already:
// TODO: Technically this is wrong.
	//       The memberhips information in the checkpint is used to verify the checkpoint itself.
	//       This makes it possible to construct an arbitrary valid checkpoint.
	//       Use an independent local source of memberhip information instead.

Making this placeholder in order to fix it for M2.

@ranchalp is this a duplicate of #402 ?


Easy api to prevent nodes from being selectable

This is possible today, but maybe we could make an easier api.
Today, you'd make a custom RowRenderer and NodeRenderer. Then in there, you'd prevent selection if that node meets a certain criteria. An Tree Prop would make it all easier.

First of all, thank you for such a great library! 🙏
I think the tree prop is very important. The solution you describe won't cover all the cases, only the mouse selection.

The user can still select the "unselectable" nodes by keyboard. This can be solved by using custom Container, but then the user needs to reimplement most of the keyboard functionality by himself...
TreeApi calls this.select() in a few places, in create and in focus. I currently can't think of some nice workaround for this.

So, the API for preventing nodes selection is crucial, maybe disableSelect?: string | boolean | BoolFunc<T>, in the spirit of disableEdit/disableDrag. WDYT?

Yes, that is a good point. I think your proposed api is sound.


metasploit: 6.1.34 -> 6.1.35

Description of changes

Things done
Update to latest upstream release 6.1.35

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

metasploit


EditorPlugin continues to receive input after closing scene

Godot 3.0
I don't know if it's expected by design:

Select the node my EditorPlugin can handle
Now my editor plugin receives events through forward_spatial_gui_input
I close my scene without saving
My editor plugin still receives events (and logs errors since I expected my node to exist, but now is null)
Selecting any other node stops my plugin to receive events (even an empty Node).

What will happen if you close scene with saving? Is it any different?

It happens too if the scene doesn't have to be saved. I didn' tried when saving but I assume it doesn't matter.

@Zylann Can you still reproduce this bug in Godot 3.2.1 or 3.2.2beta4?

It still happens.
Reproduction project:
PluginInputAfterNodeDeleted.zip

Does this still occur in the master branch or the latest 4.0 release candidate?

Seems fixed as of 4.0 RC 3.
Updated MRP:
PluginInputAfterNodeDeleted.zip


[SPARK-32159][SQL] Fix integration between Aggregator[Array[_], _, _] and UnresolvedMapObjects

Context: The fix for SPARK-27296 introduced by #25024 allows Aggregator objects to appear in queries. This works fine for aggregators with atomic input types, e.g. Aggregator[Double, _, _].
However it can cause a null pointer exception if the input type is Array[_].  This was historically considered an ignorable case for serialization of UnresolvedMapObjects, as described here:
/**
 * When constructing [[MapObjects]], the element type must be given, which may not be available
 * before analysis. This class acts like a placeholder for [[MapObjects]], and will be replaced by
 * [[MapObjects]] during analysis after the input data is resolved.
 * Note that, ideally we should not serialize and send unresolved expressions to executors, but
 * users may accidentally do this(e.g. mistakenly reference an encoder instance when implementing
 * Aggregator). Here we mark `function` as transient because it may reference scala Type, which is
 * not serializable. Then even users mistakenly reference unresolved expression and serialize it,
 * it's just a performance issue(more network traffic), and will not fail.
 */
case class UnresolvedMapObjects(
    @transient function: Expression => Expression,
    child: Expression,
    customCollectionCls: Option[Class[_]] = None) extends UnaryExpression with Unevaluable {
  override lazy val resolved = false

  override def dataType: DataType = customCollectionCls.map(ObjectType.apply).getOrElse {
    throw new UnsupportedOperationException("not resolved")
  }
}

Now, these aggregators are being serialized over to the executors, and the function field above is unpacking as null, so attempting to use functions.udaf() with an aggregator of form Aggregator[Array[_],_,_] fails with a null pointer exception here:
object MapObjects {
  def apply(
      function: Expression => Expression,
      inputData: Expression,
      elementType: DataType,
      elementNullable: Boolean = true,
      customCollectionCls: Option[Class[_]] = None): MapObjects = {
    val loopVar = LambdaVariable("MapObject", elementType, elementNullable)
    MapObjects(loopVar, function(loopVar), inputData, customCollectionCls)
  }
}

What changes were proposed in this pull request?
Proposing a fix to intercept null values for the function field in UnresolvedMapObjects when it is serialized over the wire to an Executor. This fix should be evaluated for robustness with respect to all possible use cases.
Why are the changes needed?
Applying an aggregator of the form Aggregator[Array[_], _, _] using functions.udaf() currently causes a null pointer error in Catalyst.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Currently testing has been on the REPL. Once a fix is finalized, a unit test combining functions.udaf() and Aggregator[Array[_], _, _] should be added.

The fix I coded here works if the function being used to apply to array elements is "identity".  Experimentally, it seems to also work if values are being cast (e.g. array elements are float but aggregator is expecting array of double).  The casting expressions I see are being added externally, like (do map objects).toDoubleArray.  This fix will not work if there is some non-identity transform being applied to array elements.  I'm not sure if that case actually arises or not.  I do not think it does in the scenario of aggregator inputs.

We can follow ResolveEncodersInUDF: add a rule to resolve the encoders in ScalaAggregator at driver side.

@cloud-fan if we do this, and resolve these on the driver, does that avoid having to resolve these UnresolvedMapObject? on the executor side?

does that avoid having to resolve these UnresolvedMapObject? on the executor side?

Yes. Encoder is a container of expression. If the expression is resolved, then when we serialize and send encoders to executors, we don't need to resolve it again at executor side and can use it directly.

@cloud-fan thanks, I will try adding such a rule for ScalaAggregator

when trying to refer to either ScalaAggregator or Aggregator over in catalyst, I'm running into some scoping problems, which are all similar to:
[error] /home/eje/git/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/ScalaUDF.scala:27: object expressions is not a member of package org.apache.spark.sql

I believe these are related to some scoping firewall with catalyst, for example:
package org.apache.spark.sql

/**
 * The physical execution component of Spark SQL. Note that this is a private package.
 * All classes in catalyst are considered an internal API to Spark SQL and are subject
 * to change between minor releases.
 */
package object execution

I think you don't need to move the classes and how about using extendedResolutionRules for that purpose?

how about using extendedResolutionRules for that purpose?

Would that be safe? My reading of the extensions API is that a user could completely reset any pre-applied extensions. I don't see any other pre-defined rules being applied this way in the spark code currently.

Have you checked the existing predfined ones? https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/internal/BaseSessionStateBuilder.scala#L174-L180

Test build #124931 has started for PR 28983 at commit 1a501d9.

Merged build finished. Test PASSed.

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

Have you checked the existing predfined ones?

tentatively this looks to be working in my repl testing. The unit tests appear to bypass the use of session builder and they are currently failing. I'm playing with configuring an instance of SparkSessionExtensions in the unit testing spark session

Test build #124931 has finished for PR 28983 at commit 1a501d9.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #124971 has started for PR 28983 at commit bc2d880.

Merged build finished. Test PASSed.

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

passing existing aggregation unit tests, but I still need to write a new test for array input types

Test build #124971 has finished for PR 28983 at commit bc2d880.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TestHiveExtensions extends (SparkSessionExtensions => Unit)

Merged build finished. Test FAILed.

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

Test build #124975 has started for PR 28983 at commit 399cbab.

Merged build finished. Test PASSed.

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

Test build #124975 has finished for PR 28983 at commit 399cbab.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

@cloud-fan @maropu  using an extension rule works. The main caveat is that if a spark session is constructed via a non-standard path that sidesteps BaseSessionStateBuilder, it won't pick this rule up, for example as with TestHive.

Probably, you also need to add a new rule in HiveSessionStateBuilder.

Probably, you also need to add a new rule in HiveSessionStateBuilder.

Yea, this is not good and should be refactored, but this is the case for now. The extra analyzer rules have to be repeated in HiveSessionStateBuilder.

you also need to add a new rule in HiveSessionStateBuilder

Yes, this is working.

Test build #125137 has started for PR 28983 at commit ac22ccf.

Merged build finished. Test PASSed.

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

@cloud-fan @maropu  One remaining issue: this rule works for array types but does not do casting, such as array to array.  IMO this isn't a deal breaker but if there is an easy way to implement that kind of casting, I can include it.

Test build #125137 has finished for PR 28983 at commit ac22ccf.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

@cloud-fan @maropu One remaining issue: this rule works for array types but does not do casting, such as array(int) to array(double). IMO this isn't a deal breaker but if there is an easy way to implement that kind of casting, I can include it.

In that case, wouldn't type mismatch exceptions be thrown? Anyway, I think its okay to focus on adding a new rule to resolve expessions in ExpressionEcoder here.

In that case, wouldn't type mismatch exceptions be thrown?

yes, it throws a type exception - it is pretty clear what the failure is, and how the types would need to be aligned to fix it.

focus on adding a new rule to resolve expessions in ExpressionEcoder

That is what my new code is doing with ResolveEncodersInScalaAgg, unless I am misunderstanding something.

Could you update the PR description to make it clearer, too? what's a root cause of this issue and how does this PR fix it, brabrabra....

retest this please

Test build #125159 has started for PR 28983 at commit ac22ccf.

Merged build finished. Test PASSed.

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

Test build #125159 has finished for PR 28983 at commit ac22ccf.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #125220 has started for PR 28983 at commit d3c5d4d.

Merged build finished. Test PASSed.

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

Test build #125220 has finished for PR 28983 at commit d3c5d4d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Merged build finished. Test PASSed.

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

Test build #125259 has started for PR 28983 at commit aca7b51.

Test build #125269 has started for PR 28983 at commit ee96cc0.

Merged build finished. Test PASSed.

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

Test build #125269 has finished for PR 28983 at commit ee96cc0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #125284 has started for PR 28983 at commit ee96cc0.

Merged build finished. Test PASSed.

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

Merged build finished. Test FAILed.

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

Test build #125284 has finished for PR 28983 at commit ee96cc0.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #125323 has started for PR 28983 at commit ee96cc0.

Merged build finished. Test PASSed.

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

Test build #125323 has finished for PR 28983 at commit ee96cc0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #125359 has started for PR 28983 at commit ee96cc0.

Merged build finished. Test PASSed.

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

Merged build finished. Test FAILed.

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

Test build #125397 has started for PR 28983 at commit 622ac1c.

Merged build finished. Test PASSed.

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

Test build #125397 has finished for PR 28983 at commit 622ac1c.

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

Merged build finished. Test PASSed.

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

thanks, merging to master/3.0!


Eventbus bridge with Vert.x 2

To ease the migration from Vert.x 2 to Vert.x 3, we should provide a bidirectional event bus bridge.
So, Vert.x 2 application could migrate to Vert.x 3 step by step.

Hi @cescoffier ,
Is there a early preview of this feature? I'd like to see how this works, and we have a Vert.X2 system, and one Vert.X 3 newly developed server, I hope with this bridge, the Event from Vertx2 can be broadcasted to Vert.x 3
Thanks!

@meggarr Yes, @pmlopes has developed the bridge. It's there: https://github.com/vert-x/mod-eventbus3-bridge-client/tree/initial-work
(and I just realized that it needs a code reviews to be merge)

Thanks!


Support DataLoader argument in @EntityMapping methods

@EntityMapping methods support a method signature with a list of argument id's as input and returning a list of entities as output. This allows loading all entities at once much like @QueryMapping methods.
Users migrating from GraphQL Java Kickstart previously used a DataLoader in entity resolvers, and would like to be able to do the same. We should explore the option to support injecting a DataLoader argument. This could be as simple as adding DataLoaderMethodArgumentResolver to the list of resolvers, but need to experiment.
This is based on discussion below https://github.com/spring-projects/spring-graphql/issues/1023#issuecomment-2225869543.

Hey, really cool that you follow up on this. Let me answer your open questions from the other issue:

Aside from re-using your existing code, I'm curious, in relation to data loader caching, do you actually have cases where a federated type appears again in nested parts of the graph, and is that even supported in federation

From what I've gathered about federation it is a perfect fit for the data loader interface, since the federation gateway will keep a list of ids of all types while traversing the graph. Since I already have that data loader for my sub-graph, it only makes sense to me to directly pipe the federation request to the data loader as there should be no fundamental difference whether the query tries to fetch information available exclusively from my subgraph or from a list of federated references.
Off the top of my head, I couldn't find a query that really requests both parts at the same time, but it would certainly be conceivable. Consider for example a graph of users and business objects when information about the currently logged-in user is requested and some business objects which can reference any user as creator.
Let me show you a shortened version of my the implementation I ended up with:
@Controller
class UserBatchQueryAndFederatedController(
    registry: BatchLoaderRegistry,
    private val userRepository: UserRepository,
    // ...
) {
    init {
        registry.forTypePair(UserId::class.java, UserGraphQL::class.java).registerMappedBatchLoader { keys, _ ->
            // ...
            val users = userRepository.findAllByIds(keys)
            Mono.just(
                users.associate { it.userId to it.toGraphQL() }.toMap()
            )
        }
    }

    @QueryMapping
    fun user(@Argument id: String, dataLoader: DataLoader<UserId, UserGraphQL>): CompletableFuture<UserGraphQL?> =
        dataLoader.load(UserId(id))

    @EntityMapping
    fun user(
        @Argument idList: List<String>,
        env: DataFetchingEnvironment
    ): CompletableFuture<List<UserGraphQL>> {
        val dataLoader = env.getDataLoader<UserId, UserGraphQL>(UserGraphQL::class.java.name) ?: error("No dataloader for User")
        return dataLoader.loadMany(idList.map { UserId(it) })
    }
}

As you can see QueryMapping and EntityMapping seem very similar, but for EntityMapping I have to manually unravel the automatically created data loader since injecting it would fail with a runtime exception.

It occurs to me that support for DataLoader could be as simple as adding the DataLoaderMethodArgumentResolver to the list of argument resolvers. At the moment it's not very convenient to do that, but it is possible by overriding FederationSchemaFactory#initArgumentResolvers. Let us know, if you do try it.

That sounds great, but I couldn't get it to work quickly. FederationSchemaFactory is final, so it's not straightforward to override the method in application code.


mfc120u.dll missing

Just did a fresh Windows 8 install, I get a missing mfc120u.dll when trying to run the settings application.
I put this on
http://www.microsoft.com/en-us/download/details.aspx?id=40784
Still no luck. Which redistributable is needed?

Hi gcormier,
The latest beta (B4) should include all the necessary libraries. Let me know if you're still having trouble:
http://matthew.malensek.net/projects/3RVX/3RVX3-B4.zip

All good now!


gdisk:  Update to 1.0.10-3

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

gdisk:  Update to 1.0.10-3
Change Log

../SPECS-EXTENDED/gdisk/gdisk.signatures.json
../SPECS-EXTENDED/gdisk/gdisk.spec
../cgmanifest.json
Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX

Test Methodology

Pipeline build id: xxxx

I have run the buddy build whose results also look good.


Gap between dropdown button and dropdown content on Google Chrome if I set the dropdown button to belowOrigin: true and hover: true and zoom out to 67%

If I set the dropdown's options to belowOrigin: true and hover: true, and zoom out to 67% and refresh the page on Chrome, I see a big gap between the dropdown button and the dropdown content, which prevents me from dragging the cursor down to the dropdown content.

Any ideas?
Environment:
Chrome 60.0.3112.101 (have experienced this on various versions of Chrome)
OSX El Capitan
Materialize v0.100.1

Read the CONTRIBUTING guidelines!

Isolate the problem — create a reduced test case using our Codepen template.

Not seeing the issue: https://codepen.io/Dogfalo/pen/WEJLQO

I was able to fix this in my environment by setting border-box: unset on the enclosing tag.


Bugfix: fix kroki-fetch-diagram attribute in JS version for NodeJS

Us node-xmlhttprequest instead of unxhr and also add support for using files in disk cache if available

Thanks for your pull request. Could you please explain this change: "Use node-xmlhttprequest instead of unxhr"? unxhr is a fork of node-xmlhttprequest with bug fixes and improvements since the later is unmaintained.
Also, could you please add a test for this fix?

I'm confused, why did you close this pull request?

Sorry I didn't know that unxhr is a the better option, as there was some debates which says unxhr cant be run in VSCode. So I think there are two issues, one with the library and one with implementation of the attribute.
So I deleted my branch and will commit a clean one in a new branch and make another pull request.
By the way I am C++ developer and didn't find any doc in this repository on how to create a test and I myself is not familiar with the standard ways and workflows of a Node project. Could you please show me a clue on how to write a test for this project.
Thanks


Make sure blocks editor code compiles properly.

Remove compilation errors from compiling blockly-all.js
Change-Id: I5bb3ddad6d2dca7e97ffe27c391b8cc57fb8ba9b

@halatmit @afmckinney Note: This fixes errors I caught while compiling blockly-all.js. When we do "development" builds, we don't compile the blockly javascript, so these errors are not caught. Note: I am putting the release up on ai2testing and will include these fixes (I have to, it won't otherwise compile :-) ).

Super.  I never realized this.
Thanks!
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Sun, Feb 8, 2015 at 10:07 PM, Jeffrey Schiller<EMAIL_ADDRESS>wrote:

@halatmit https://github.com/halatmit @afmckinney
https://github.com/afmckinney Note: This fixes errors I caught while
compiling blockly-all.js. When we do "development" builds, we don't compile
the blockly javascript, so these errors are not caught. Note: I am putting
the release up on ai2testing and will include these fixes (I have to, it
won't otherwise compile :-) ).
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/253#issuecomment-73451480
.

@halatmit I'll take that as a LGTM and merge it...


HTTPS with self-signed Certificate possible?

Right now I am encountering the following error:
level=error msg="Error during scrape: Get \"https://nextcloud.local/ocs/v2.php/apps/serverinfo/api/v1/info\": x509: certificate is valid for localhost, not nextcloud.local"

Any way to accept self-signed certificates?

Hi,
Currently there is no option for turning off TLS certificate validation, but it's certainly possible to add this. I'm not sure if this would fix the issue mentioned in your error, though, as this is not related to the signature chain validation but the hostname validation.
Another idea: Is the monitoring running on the same host as the Nextcloud instance? In that case it would also be an alternative to just skip TLS and go with plain HTTP.

Hi @xperimental ,
unfortunately plain HTTP won't work in my setup.
If you can point me to the right area of the code, I can help with implementing 'skip-tls'

Sorry, for the day, I have been a bit busy the last days. I'll probably get to a bit of open-source again in the next days, but I can't promise anything.
If you want to take a stab at the issue yourself, the TLS options can be set on the Transport used by the http.Client used in the collector. See also: https://golang.org/pkg/net/http/#Transport

Just merged @jacksgt 's PR. Please check if this solves your issue. Feel free to reopen otherwise.

Bringing this one back up. --tls-skip-verify does not work with docker run --rm -it xperimental/nextcloud-exporter --login --server https://nextcloud.domain.com.
It yields FATA Error during login: error getting version: error connecting: error connecting: Get "https://nextcloud.domain.com/status.php": x509: certificate signed by unknown authority.

@Nicalicious Thanks for the comment. It seems we forgot to add the flag to the client used in the login flow as well.


[crypto-awslc] fix build error on 32bit platforms

Issues:
Resolves #117
Description of changes:
Correct integer cast in aws-lc crypto module

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

Project coverage is 89.34%. Comparing base (650ed8d) to head (e79f697).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   89.34%   89.34%
=======================================
  Files         173      173
  Lines       31333    31336    +3
=======================================
+ Hits        27993    27996    +3
  Misses       3340     3340

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


Continuing the time entry at the top starts the timer without description/project

💻 Environment

Platform:  macOS
OS Version:  macOS 10.15
Toggl Version:  7.4.1023.
🐞 Actual behavior

After deleting a running time entry, the time entry stays at the top, when continuing it, TE will have no description, project, tag, etc.
💯 Expected behavior

Deleted time entry shouldn't linger at the top and the expected behavior when pressing to continue it, should be for the time entry to be populated with same description and project
🔨 Steps to reproduce

Continue any time entry from the list
Click to edit it and delete it
The time entry will still linger at the top
Continue that time entry
The timer will start with no description/project attached to it

📦 Additional info

Screencast

User report related to PR above and Pomodoro


Updated Kafka binding component to add SASL authentication

Description
Added support for SASL auth in Kafka binding component
Issue reference
Issue #72
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
[ ] Extended the documentation

Congrats! thanks for this contribution


start fuzz mqtt bug

I am trying to using this tool to do mqtt fuzz but i am facing this pb when I start running the tool:
:Failed to connect to MQTT server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.TimeoutError'>: User timeout caused connection failure.

the is beacuse i am not able to get the broker.


Page error in entering a invalid address.

Describe the bug
See logs in the screenshot.
To Reproduce
Steps to reproduce the behavior:
Go to "https://localhost:44375/pages"
Refresh the page.
See console logs.
Click "Product" page, data could not be loaded.
Expected behavior
Clean the error.
Screenshots

Additional context
No

I refactored the code to avoid this problem, but it didn't solve it.
refer to this https://github.com/dotnet/aspnetcore/issues/18340

Why not rendering to the home page directly in case of the error? It is much easier probably.

I'm try to use the solution https://github.com/dotnet/aspnetcore/issues/33336#issuecomment-862425579
It works, after changing: NotificationsService.
private async Task GetLastReadTimestamp()
{
try
{
var timestamp = await _localStorageService.GetItemAsync(LocalStorageKey);
return timestamp;
}
catch (Exception ex) when (ex.GetType().Name == "JSDisconnectedException")
{
return DateTime.MinValue;
}
}

Looks like it have been fixed, correct?

This is not happening on chrome but edge.

I refactor IdentityAuthenticationService.cs  code.

Nice


Train problem

Hello author, I want to train all the data.
but I have many problem.
I already downloaded Brats2021 Dataset and make a folder named 'Data', and paste all the data in the Data folder.
but the problem occured when I enter the command 'python train.py --epochs 350', and the error showed like the page.

In my opinion, I'm not input the path of dataset in the command. but when I input my path in the command same error occured.
How can I solve this error? Please help me.

I got the answer!!
If anyone have the problem like me, change the code in config.py.
you change input_dir to your directory, and then the problem solved!!


make sure CI stays on VS2019 unless changed explicitly

Backport of #15167
CC @tylerjereddy

The CI had a few complaints, but they are just a preview of "fun" things I'll probably have to backport in addition.

I should also note that backport-candidate is for the original PR to be backported, not the backport itself, to keep the label usage sane--I've cleared the labels off both the PRs in this case now.


sap.m.Select Uncaught TypeError: this.getPicker(...).getContent(...)[0].getFixContent is not a function

UI5 version: 1.71.19
Browser/version (+device/version): Chrome Version 85.0.4183.121
Steps to reproduce the problem:

Property forceSelection is set to false and bindingContext for items is set
Change event is triggered by mouse click to control - nothing is selected, but items are available.
Trigger rerendering of the control - e. g. by executing models "resetChanges"

What is the expected result?
no error should occur
What happens instead?
Error is thrown at this line:
https://github.com/SAP/openui5/blob/a9c6a3def24e3c7231904e775bc4b52aa5c27d00/src/sap.m/src/sap/m/Select.js#L986
Any other information? (attach screenshot if possible)

Uncaught TypeError: this.getPicker(...).getContent(...)[0].getFixContent is not a function
at f.u._updatePickerValueStateContentText (Select-dbg.js:967)
at f.u.onBeforeRendering (Select-dbg.js:1269)
at f.d._handleEvent (Element-dbg.js:286)
at Z (RenderManager-dbg.js:757)
at Object.R.renderControl (RenderManager-dbg.js:868)
at Object.a.render (GridRenderer-dbg.js:409)
at Object.R.renderControl (RenderManager-dbg.js:997)
at Object.a.renderContainers (ResponsiveGridLayoutRenderer-dbg.js:39)
at Object.a.renderForm (FormLayoutRenderer-dbg.js:73)
at Object.a.render (FormLayoutRenderer-dbg.js:40)

Hello @juhatcon,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Yana

Hi juhatcon,
I am not able to reproduce the issue the way that you describe it.
Can you, please, provide us a jsBin with a simple isolated example of control and the problem.
Thank you!
Kind regards,
Petya Bogdanova.
(UI5 Developer)

Since there is more than 4 weeks inactivity on this issue I will close it.


Added Operational Device Credentials for Testing Purposes.

Test operational device Id for test device #n is generated by
XORing Manufacturer Attestation device Id #n with Universal/Local mask
bit (kEUI64_UL_Mask).
Added Test CA credentials, which will be used to generate test
operational certificate by the Mock CA service.

Codecov Report

Merging #445 into master will decrease coverage by <.01%.
The diff coverage is 30.55%.

@@            Coverage Diff             @@
##           master     #445      +/-   ##
==========================================
- Coverage   54.44%   54.44%   -0.01%
==========================================
  Files         342      342
  Lines       58450    58486      +36
==========================================
+ Hits        31825    31842      +17
- Misses      26625    26644      +19

Impacted Files
Coverage Δ

src/test-apps/TestWeaveCertData.cpp
62.06% <ø> (ø)
:arrow_up:

src/test-apps/ToolCommon.h
100% <ø> (ø)
:arrow_up:

src/test-apps/Certs.cpp
20.68% <30.55%> (+16.14%)
:arrow_up:

src/lib/profiles/security/WeaveCASEEngine.cpp
93.33% <0%> (+0.23%)
:arrow_up:

src/lib/profiles/security/WeaveToX509.cpp
88.17% <0%> (+0.25%)
:arrow_up:

src/lib/profiles/security/WeaveCert.cpp
88.96% <0%> (+0.45%)
:arrow_up:

src/lib/support/ASN1Writer.cpp
87.39% <0%> (+0.86%)
:arrow_up:

Continue to review full report at Codecov.

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


error TS2305: Module ''discord.js'' has no exported member 'RichEmbed'.

When compiling using typescript I see the error shown in the title.

How do you get RichEmbed?
I get it by doing:
const { RichEmbed } = require('discord.js');

I'm not using it anywhere, but I see the error when I compile. I think the discord.js-commando is using RichEmbed somewhere, or it is called in the .d.ts somewhere.

This is related to it not being called RichEmbed anymore but MessageEmbed.


Prompt template for ""https://huggingface.co/TheBloke/Llama-2-7b-Chat-GGUF/resolve/main/llama-2-7b-chat.Q4_K_M.gguf""

The templates available in localai repo is not working in helm template ("values.yaml"). could  you please provide sample values.yaml for hugging face model

Another ticket is already opened


v:progname and fnamemodify(v:progpath, ':t') differ

Steps to reproduce

xterm (or any other terminal)
/usr/bin/vim --clean -u NONE
:echo v:progpath

Expected behaviour
output is /usr/bin/gvim, expected is /usr/bin/vim.
v:progname shows vim.
Version of Vim
9.1.151
Environment
Opensuse 15.5, $TERM=xterm-256color, shell = zsh
Logs and stack traces
No response

According to :h v:progpath:
		If the command has a relative path it will be expanded to the
		full path, so that it still works after `:cd`. Thus starting
		"./vim" results in "/home/user/path/to/vim/src/vim".
		On Linux and other systems it will always be the full path.

So this is working as intended.

Thank you, indeed a chain of symlinks resolves to gvim, so this latter part works as indeed.  This issue refers to the start of :h v:progpath that says
v:progpath	Contains the command with which Vim was invoked, in a form
		that when passed to the shell will run the same Vim executable
		as the current one (if $PATH remains unchanged).

The command with which Vim was invoked was not /usr/bin/gvim, but rather /usr/bin/vim.
Also /usr/bin/gvim does not start vim in terminal, as does /usr/bin/vim, the path of v:progname.
(The instance opened by /usr/bin/gvim has gvim as  v:progname, so they ought to differ?)

I guess that is a consequence of resolving the symlinks

I wonder why $(realpath /usr/bin/vim)  and /usr/bin/vim start different programs. If the documentation said
v:progpath	Contains the real path of the command which Vim was invoked

than at least v:progpath delivers as documented

There is also the -v argument:
							*-v*
-v		Start Ex in Vi mode.  Only makes a difference when the
		executable is called "ex" or "gvim".  For gvim the GUI is not
		started if possible.

$(realpath /usr/bin/vim)

This one makes the shell expand the complete path. The problem is, If you use e.g. view or vimdiff. I think Vim wouldn't behave as being started in read-only or diff mode, since it only knows it has been started as vim (For me it would be vim.nox)
/usr/bin/vim

Here Vim knows as what command is has been called and can behave differently.
I think, at least this would make a difference.

For the user, how about adding some caveat around

when passed to the shell will run the same Vim executable as the current one

that starting an instance of vim similar to the one the user is looking at is rather achieved by exepath(v:progname) since Vim seems to look at v:progname to determine its behavior.
This difference matters when launching Vim from a terminal inside Vim, where instead of opening a file in the same instance, v:progpath spawns a new Gvim

v:progname may not actually be the name of an executable. For example, if Vim is run with exec -a foo vim --clean in Bash, the value of v:progname is foo.

Well, neither solution works in general, but symlinked vim executables are perhaps more common than running it by exec -a foo

One could propose these workarounds with their respective shortcomings


Fix formatting error in TestScript

Coverage remained the same at 91.769% when pulling 9f0b17f9f8fb0eef4b47dc16563082e489d9814e on Li-Shicheng:master into 835d2419901e3eae3875f2017e40138d0ea3f17a on CS2103JUN2017-T4:master.


Add Support for AdminNetworkPolicy in Antrea

Overview
AdminNetworkPolicy is a set of APIs developed by SIG-network which focuses on addressing administrator network policy enforcement intents in OSS Kubernetes (https://network-policy-api.sigs.k8s.io/). Antrea should support the AdminNetworkPolicy and BaselineAdminNetworkPolicy resources to complement the Antrea-native policy resources.
Tasks

[ ] Vendor in network-policy-api
[ ] Add featureGate for the APIs
[ ] Resolve short name collision between AntreaNetworkPolicy (ANP) and AdminNetworkPolicy (ANP)
[ ] Update validation and mutation webhooks
[ ] Implement CRUD handlers for AdminNetworkPolicy
[ ] Implement CRUD handlers for BaselineAdminNetworkPolicy
[ ] Implement basic controller logic for AdminNetworkPolicy
[ ] Implement basic controller logic for BaselineAdminNetworkPolicy
[ ] Implement advanced namespace selection in peers for AdminNetworkPolicy (out of scope in v1.13)
[ ] Antrea agent side changes
[ ] Unit tests
[ ] E2E tests

/cc @GraysonWu @qiyueyao

Since core features are ready in v1.13, I have moved this issue to v1.14.

Hi @Dyanngg I suppose this PR https://github.com/antrea-io/antrea/pull/4537 is a part of this?

Hi @Dyanngg I suppose this PR #4537 is a part of this issue?

Yes and no. While #4537 implements the functionality to group namespaces by label values, in the upstream AdminNetworkPolicy api there is still an open discussion for the exact API to use this functionality (https://github.com/kubernetes-sigs/network-policy-api/pull/123). Until this is resolved, I will keep sameLabels implementation just for Antrea-native policies and rebase the PR for review

AdminNetworkPolicy is supported in Antrea, the remain item is #4537 which is also included in the v1.15 release milestone, so remove this one's milestone.


Show the current package name in tsci dev

Right now it's showing placeholder text "<EMAIL_ADDRESS>it should display the name of the current package being developed.

Fix is likely inside the tscircuit/cli repo

@seveibar Isn't the expected behaviour already present? I can see the package name being seen.

Yes someone fixed it already!


Update chef verify to pull component tests from gems

/cc @danielsdeleo @schisamo @jkeiser

This should probably pass right now yeah? Would be great to have this merged soon if we can, since I want to do some refactoring of verify.

:+1: assuming it passes

:+1:

And finally, we can merge this :)


Subclasses in geographic regions

Subclasses in geographic regions could, to my understanding, be built in at least two ways.

continent -> subclasses (or entities): Africa, Europe, North America, South America, Australia, ....
continent -> subclasses: country, county, municipality (...), where the latter could again be subclasses of country and so on.

The current suggestion follows 1)  having country, county, municipality being classes on the same hierarchy level. What are your thoughts?
See branch feature/geo

I think this can be closed based on the discussion in Magdeburg where took from to proceed with suggestion 1.

I think the suggestion was to follow a certain dataset (@Ludee knows the name) and its terminology.

Yes, I think what we wanted to check is whether the Nomenclature of Territorial Units for Statistics  (NUTS) dataset (https://en.wikipedia.org/wiki/Nomenclature_of_Territorial_Units_for_Statistics) can be used. This fits into the 1st approach I think.

Right, and then we won't have country, county, municipality etc., but the terms that NUTS uses, namely country, NUTS1, NUTS2 etc.

Yes, but could we give these labels (e.g. State and/or Bundesland) for Germany, so that the relation between NUTS name and what it actually refers to is provided?

yes, sure. But note that these labels are country-specific, so we should use something like Germany:State (or Germany:Bundesland), France:Region, Turkey:Subregion. One problem is that Protégé displays the first label as name of the class. So at the first position, we should place a label that fits well for many countries (and maybe even omit the country in this case?).

Just for completeness: Below the three NUTS levels are two LAU levels (local administrative units) which in the case of Germany are:

Collective municipalities (Verwaltungsgemeinschaften)
Municipalities (Gemeinden)

https://en.wikipedia.org/wiki/Local_administrative_unit

We should include the option:

global/world

Can this issue be closed? Is the branch feature/geo still neccessary or can it be removed to clean up a bit @han-f ?

I close this, as this has been merged as far as I remember


Tests to prove specification is respected

This is a list of things we need to test to make sure the adapter abides to JSONAPI.org.

[x] Individual Resource Representations #30
[x] Resource Collection Representations #30
[ ] Resource Types
[ ] Resource URLs
[x] To-One Relationships #30
[x] To-Many Relationships #30
[ ] URL Templates
[x] Compound Documents #30
[x] URLs for Resource Collections #30
[x] URLs for Individual Resources #30
[ ] Relationship URLs
[x] Creating an Individual Resource #30
[ ] Creating Multiple Resources
[x] Updating an Individual Resource #30
[ ] Updating Multiple Resources
[ ] Updating Attributes
[ ] Updating To-One Relationships
[ ] Updating To-Many Relationships
[ ] Deleting To-One Relationships
[ ] Deleting To-Many Relationships
[ ] Deleting Resources
[ ] Errors

Strikethrough text is not planned.

I am closing this issue due to lack of activity and the impending deprecation in favour of the official Ember Data adapter.

:heart:


Fixed build error, missing dereference

Change required to build in 4.18.1

Didn't see the duplicate, closing this


Indent/outdent toolbar buttons for easier indentation handling with phone keyboards

Is your feature request related to a problem? Please describe.
Android on-screen keyboards don't usually have tab keys: None of the Gboard layouts do, for example, not even the "PC" layouts.
I often find myself needing to indent my lines, especially when editing code. And while I can use spaces to indent, I can't use backspace to outdent my lines in Xed Android—backspaces stop removing characters if the app detects that only spaces remain to the start of a line.
This in itself is very handy for drafting lists and outlines, but leaves me unable to outdent my lines without considerable effort having to manually select the spaces I want removed and then deleting them.
Describe the solution you'd like
Please consider adding a pair of indent and outdent buttons to the toolbar.

When the indent button is pressed, a tab character is prepended to the current line (or currently selected lines)
When the outdent button is pressed, a tab is removed from the start of the current line (or currently selected lines), if possible

Additional context
These buttons would fit well with any indentation preferences added in the future in terms of whether the user wants tabs to ident their files, or a certain number of spaces, etc. Tab being the initial sensible default :]

Is your feature request related to a problem? Please describe.
Android on-screen keyboards don't usually have tab keys: None of the Gboard layouts do, for example, not even the "PC" layouts.
I often find myself needing to indent my lines, especially when editing code. And while I can use spaces to indent, I can't use backspace to outdent my lines in Xed Android—backspaces stop removing characters if the app detects that only spaces remain to the start of a line.
This in itself is very handy for drafting lists and outlines, but leaves me unable to outdent my lines without considerable effort having to manually select the spaces I want removed and then deleting them.
Describe the solution you'd like
Please consider adding a pair of indent and outdent buttons to the toolbar.
* When the indent button is pressed, a tab character is prepended to the current line (or currently selected lines)

* When the outdent button is pressed, a tab is removed from the start of the current line (or currently selected lines), if possible

Additional context
These buttons would fit well with any indentation preferences added in the future in terms of whether the user wants tabs to ident their files, or a certain number of spaces, etc. Tab being the initial sensible default :]

https://github.com/RohitKushvaha01/Xed-Editor/actions/runs/10195033457

Thank you for the very prompt implementation!
I didn't realize an extra-keys bar was already in the works :sweat_smile: The up and down keys are also much appreciated. Together with Tab and Home, we can achieve the same line-wide indentation for single lines, and Tab by itself is more flexible!
It does seem the GH-actions build has an issue with word-wrap:

With Word-wrap enabled: Tab adds a tab character but also causes the current line to wrap, even if it's a completely empty line

Is this being cased by the ZWNJ space? :confused:

This places the cursor at the start of seems like a new line, but is only the current empty line wrapped over

Starting to type does snap the cursor back after the tab in the original line, collapsing it to a normal unwrapped form

Also: Hitting enter / creating a newline after a tabbed line maintains the indentation using spaces rather than tabs now!

This in turns breaks the Untab key as it only works on tabs right before the cursor

While totally unrelated to the topic of this Issue, I feel compelled to at least note down some other issues I noticed in this build immediately—

Entirety of /storage/emulated/0/Downloads/ is now blocklisted, but it isn't clearly explained

Trying to open any individual files within Downloads fails

Even files created in and edited with the app just last night!
Now it just opens a randomly numbered empty file!

There is no explanation given

Only once I tried to open Downloads as a folder did I got the explanatory popup

This explanation should also be given when trying to open an individual file

There is no way to create new files without first opening a folder

This used to be how I used the app until yesterday as well, so I was extra confused :sweat_smile:
Even after opening a folder, the option to create a file is nested within the overflow menu of the sidebar

Which is not very discoverable for something that used to a button on the sidebar itself!


Expose a configurable toggle that allows Users to state if federated logout should be used

There's currently no way for Users to have SSO enabled without then triggering a full federated logout.
The problem is that when 3rd party identity providers are facilitating the connection, like Google and Facebook, the User is redirected back to Google or Facebook respectively, and there is currently no way to change this behavior in the settings for the plugin.
It would be of great value in cases where a federated logout is not a requirement to have a non-federated option, when it comes to leveraging SSO enabled, and Social Connections in particular.
As of right now, according to Enterprise Support, the only way to have SSO enabled without then triggering a full federated logout is to edit the plugin directly:
"...use a modified version of the Wordpress Auth0 plugin where you would remove the federated option from https://github.com/auth0/wp-auth0/blob/9713e6a7cdf4c3446632be5338426dfba102bf3a/lib/WP_Auth0_LoginManager.php#L99 "
This approach is less than ideal, not only because editing Wordpress Plugins directly is bad practice, but also because doing so in this way would supply non-federated logouts for all logout methods, including Username and Password.
Suggesting an enhancement that would expose a configurable toggle that would allow Users to state if a federated logout should be used or not for Social Connections when SSO is enabled. It would be really nice if federated logouts could be toggled non-federated, for each Social Connection individually.

@moolbits - Thanks so much for the thorough report here! This was an issue identified earlier and is fixed in a release coming out tomorrow (#453). The fix was to just remove federated because it's far more likely that a site owner needs a non-federated logout. I am tracking an issue internally to include a filter to adjust that, if needed.
Let me know if you have any questions or any issues after tomorrow's update!


support the proxy for HTTP probe and can customized the User-Agent

close #176
Support the http proxy setting and user-defined User-Agent
Example:
http:
  - name: Youtube
    url: https://youtube.com
    proxy:  socks5://localhost:1085
    #proxy: https://user:password@proxy.example.com:443
    headers:
      User-Agent: Customized User-Agent

Codecov Report

Merging #177 (7177a57) into main (e7f7521) will decrease coverage by 0.06%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main     #177      +/-   ##
==========================================
- Coverage   93.89%   93.82%   -0.07%
==========================================
  Files          46       44       -2
  Lines        3636     3629       -7
==========================================
- Hits         3414     3405       -9
- Misses        155      158       +3
+ Partials       67       66       -1

Impacted Files
Coverage Δ

probe/http/http.go
93.29% <33.33%> (-4.34%)
:arrow_down:

daemon/daemon_windows.go

daemon/daemon_unix.go

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 e7f7521...7177a57. Read the comment docs.


🧑💻:  Creating a login and signup page

:red_circle: Title :  Creation of login signup page
:red_circle: Enhancement Aim : Creating the page for signup/login with email input , password and confirm password input
:red_circle: Changes :  Change in the login file to get it functional
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name :  Ayushmaan Agarwal
What is your participant role? GSSOC

Happy Contributing 🚀
All the best.

Yes yes I am creating actually I was busy with my exams I will make pr tomorrow


Entity.has_metadata() returns False when metadata exists

Hi James!
What follows is code that asks for children of SO. In this case it is given that all children are IOs. I wish to check those IOs for metadata (and then parse that metadata). However, just iterating over children doesn't work and additional query is required to get the metadata.
from pyPreservica import EntityAPI

# SO that cointains IOs
SO_UUID = "967b244d-216a-4e34-8bdd-656e686ee2e9"

client = EntityAPI()

assets = client.children(SO_UUID)

for asset_1 in assets.results:
    # Iterating over results to check for metadata
    print(f"{asset_1.reference}, {asset_1.has_metadata()}")
    # Output: 990a6523-0620-43f6-be2d-b3e6e340e24c, False

    # Querying API directly for given reference
    asset_2 = client.asset(asset_1.reference)
    print(f"{asset_2.reference}, {asset_2.has_metadata()}")
    # Output: 990a6523-0620-43f6-be2d-b3e6e340e24c, True

Is this the intended behaviour?
From entityAPI.py#L1895 in EntityAPI.children() I see that on requesting children, new Asset objects are created where metadata is set None.
From common.py#L479 I see that Entity.has_metadata() returns bool(self.metadata) so in our case bool(None) which is False
From entityAPI.py#L1090 in EntityAPI.metadata_for_entity() I see that this case is expected, as entity.metadata is checked directly for None and if this is the case, new Entity object is created much like my second case.
So I guess Entity.has_metadata() should either:

when entity.metadata is None, return None

when entity.metadata is None, do an API request to figure out if entity has metadata like EntityAPI.metadata_for_entity() does and return boolean.

since responding with False is false.

This is actually the expected behaviour of the API.  The information about
descriptive metadata is not returned at this point.
https://pypreservica.readthedocs.io/en/latest/entity.html#fetching-children-of-entities
[image: image.png]
You should fetch the full object using something like this:
[image: image.png]
I would also recommend not using the children() call and replace it with
descendants() as this will do all the paging for you automatically.
for entity in client.descendants():
Hope that helps
~
James
On Mon, 29 Jan 2024 at 10:50, Rauno @.***> wrote:

Hi James!
What follows is code that asks for children of SO. In this case it is
given that all children are IOs. I wish to check those IOs for metadata
(and then parse that metadata). However, just iterating over children
doesn't work and additional query is required to get the metadata.
from pyPreservica import EntityAPI
SO that cointains IOs
SO_UUID = "967b244d-216a-4e34-8bdd-656e686ee2e9"
client = EntityAPI()
assets = client.children(SO_UUID)
for asset_1 in assets.results:
# Iterating over results to check for metadata
print(f"{asset_1.reference}, {asset_1.has_metadata()}")
# Output: 990a6523-0620-43f6-be2d-b3e6e340e24c, False
# Querying API directly for given reference
asset_2 = client.asset(asset_2.reference)
print(f"{asset_2.reference}, {asset_2.has_metadata()}")
# Output: 990a6523-0620-43f6-be2d-b3e6e340e24c, True

Is this the intended behaviour?
From entityAPI.py#L1895
https://github.com/carj/pyPreservica/blob/da3acb91e56e0283c3469b8ae4a74d8049f1f681/pyPreservica/entityAPI.py#L1895
in EntityAPI.children() I see that on requesting children, new Asset
objects are created where metadata is set None.
From common.py#L479
https://github.com/carj/pyPreservica/blob/da3acb91e56e0283c3469b8ae4a74d8049f1f681/pyPreservica/common.py#L479
I see that Entity.has_metadata() returns bool(self.metadata) so in our
case bool(None) which is False
From entityAPI.py#L1090
https://github.com/carj/pyPreservica/blob/da3acb91e56e0283c3469b8ae4a74d8049f1f681/pyPreservica/entityAPI.py#L1090
in EntityAPI.metadata_for_entity() I see that this case is expected, as
entity.metadata is checked directly for None and if this is the case, new
Entity object is created much like my second case.
So I guess Entity.has_metadata() should either:

when entity.metadata is None, return None
2.
when entity.metadata is None, do an API request to figure out if
entity has metadata like EntityAPI.metadata_for_entity() does and
return boolean.
since responding with False is false.
—
Reply to this email directly, view it on GitHub
https://github.com/carj/pyPreservica/issues/15, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFU5ISHX2J4AJDLSM4X5ADYQ55G7AVCNFSM6AAAAABCPGRUUSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDKMRQGY2DONI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

You could replace your code with this:
from pyPreservica import *

# SO that cointains IOs
SO_UUID = "967b244d-216a-4e34-8bdd-656e686ee2e9"

client = EntityAPI()

for asset in filter(only_assets, client.descendants(SO_UUID)):
    a = client.asset(asset.reference)
    if a.has_metadata():
        print(a)


Get CFI from a specific word

I would like to generate a CFI from a selected word on the epub.
I know we can go to a certain place in the epub from a CFI but how get a CFI from "a place" eg. a word?
Thank you.

Maybe you can get a CFI, than try to use the doChapterSearch Method
function doChapterSearch(q) {
    let item = this.book.spine.get(this.rendition.location.start);
    return item.load(book.load.bind(book)).then(item.find.bind(item, q)).finally(item.unload.bind(item));
};


Build script to run both Server/Client at the same time

I have to run separate shell scripts to run the Server and Client. In NPM I can run both the server and client with 1 command. I'm sure it's possible just not sure how to code that with FAKE

I personally prefer to launch them separately, but you certainly could do this via FAKE.
If you are more comfortable with npm, you could bypass FAKE altogether and just use npm script runner.
Just add a "dev" script to your 'packages.json' file:
"scripts": {
  "api": "dotnet watch --project ../WebApi/WebApi.fsproj run",
  "dev": "concurrently --kill-others \"npm run start\" \"npm run api\""
  "start": ...
)

then:
npm run dev


Edit record option getting 404 Error

Am getting error when opening through List Sqla Table(show record)
Below error:
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

Please use the template for reporting issues, this is missing too many information to be actionable.

Notice: this issue has been closed because it has been inactive for 456 days. Feel free to comment and request for this issue to be reopened.