Multiple Stage Docker Build fails to publish

When using the plugin to create two images (the second depending on the first) the build succeeds, however the publish stage fails because it cannot remove the image because it has children.
Details:

Creating two images

["@codedependant/semantic-release-docker",
          {
            "dockerTags": [
              "latest",
              "{major}-latest",
              "{major}-{minor}-latest",
              "{version}"
            ],
            "dockerRegistry": "registry",
            "dockerProject": "project",
            "dockerImage": "base-image",
            "dockerContext": "base",
            "dockerFile": "base/Dockerfile",
            "dockerLogin": false,
            "dockerArgs": {
              "SOME_ARG": "x.x.x"
            }
          }
        ],
        [
          "@codedependant/semantic-release-docker",
          {
            "dockerTags": [
              "latest",
              "{major}-latest",
              "{major}-{minor}-latest",
              "{version}"
            ],
            "dockerRegistry": "registry",
            "dockerProject": "project",
            "dockerImage": "image-depending-on-base-image",
            "dockerContext": "python-base",
            "dockerFile": "python-base/Dockerfile",
            "dockerLogin": false,
            "dockerArgs": {
              "BASE_IMAGE": "registry/project/base-image:{build}"
            }
          }
        ],

Results:
Build Finishes fine but the publish step creates this error message:

[11:11:11 PM] [semantic-release] › ✖  Failed step "publish" of plugin "@codedependant/semantic-release-docker"
[11:11:11 PM] [semantic-release] › ✖  An error occurred while running semantic-release: Error: Command failed with exit code 123: xargs docker rmi -f
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete xxxxxxxxxxxxxx (cannot be forced) - image has dependent child images
    at makeError (/usr/local/lib/node_modules/@codedependant/semantic-release-docker/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/usr/local/lib/node_modules/@codedependant/semantic-release-docker/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async publish (/usr/local/lib/node_modules/@codedependant/semantic-release-docker/lib/publish.js:32:3)
    at async validator (/usr/local/lib/node_modules/semantic-release/lib/plugins/normalize.js:34:24)
    at async /usr/local/lib/node_modules/semantic-release/lib/plugins/pipeline.js:37:34
    at async Promise.all (index 0)
    at async next (/usr/local/lib/node_modules/semantic-release/node_modules/p-reduce/index.js:16:18) {
  shortMessage: 'Command failed with exit code 123: xargs docker rmi -f',
  command: 'xargs docker rmi -f',
  exitCode: 123,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',

I'm not entirely sure I would expect this to work. Its not really the way semantic release is intended to be used.
I think it the simple case there could be a flag to not delete the image during the clean up step.

In this case, do you actually need to publish the base image as well?

Yes, the clean command is trying to remove all the layers related to  the build. If the build were being used to generate base images that would be a problem.
It could easily be a setting to make it not do that.

[v4.3.0] has an option to disable the autoclean


[request] Request Retry plugin

Sometime request fails for some random reason (timeout etc) and we want to retry for x times or redirect it to another endpoint before sending response. Plugin can be a good place to implement this logic.
Configuration fields can be like no. of times it should try, response code for which retry should happen or a endpoint which should handle the request.

this one is cool. can be also, if endpoint X fails, redirect/try to endpoint Y.

Don't think that's a good idea. If a request failed, you want your client to know it asap in order to take actions. If Kong is taking its time to retry the request, then the client will simply consider it timed out, which is worse.

usually timeout value is much more than the processing time. Sometime request fail because resource is blocked by some other request. So request may work in second or third attempt. Plugin would be configurable to retry only for specific error code .  And here user may have control over client and can set higher timeout. Retrying request is very common practice in enterprise world.

Yes but in your example you said "timeout, etc". If the request fails because of a timeout between Kong and upstream, chances are the timeout already expired in the client.
I'm curious at why would a request work at the "second or third" attempt. Under what circumstances? That sound like a pretty bad API lmao.
I would not enforce the usage of this plugin for error rates. When an error happens, the client shouldknow about it!
However, "Plugin would be configurable to retry only for specific error code", why not, maybe someone has a use-case for that. Maybe it's such a rare use case it doesn't worth it to develop the plugin ourselves.

Here timeout is for internal resources like Database or IO or internal api call. Client can have time out like 20 - 60 seconds but usually processing time is way less like 200ms. Yes this plugin would not be commonly used  but why do think that client need to know about every error, client care about result, if server can give it great otherwise send the error response

I doubt any client is willing to have a 20 seconds timeout tho. Let alone 60.
Clients do care about errors for uses cases where an actual user is waiting for a result behind his application.
Anyways I can see the use case for this plugin, but it has a smaller value than what one might think imho.

On Jun 5, 2015, at 5:52 PM, shashi ranjan<EMAIL_ADDRESS>wrote:
Here timeout is for internal resources like Database or IO or internal api call. Client can have time out like 20 - 60 seconds but usually processing time is way less like 200ms. Yes this plugin would not be commonly used but why do think that client need to know about every error, client care about result, if server can give it great otherwise send the error response
—
Reply to this email directly or view it on GitHub.

I agree on @thibaultCha remarks regarding timeout, but it could also work the other way around, to improve response time;
example: proxy the request (timeout 10 seconds), if after 3 seconds there is no result, forward the requests to the backup server(s). Return the first result, cancel the others.

I think this whole retry logic is now obsolete? Services already have retries to other identical upstream instances. This is being taken care of by the ring-balancer as well as the dns based balancer.
Imho this can be closed.

@Tieske Sorry to comment on this really old thread, but it is still open...
So I have this app (image here), I can do a GET request to path /fail/<N> where N is the percentage of changes to the app return 503 error.
Using Istio 1.9 with default installation and no configuring VirtualService to explicitly implement retries, the envoy proxies do retries out-of-the-box for me.
e.g:
kubectl exec -it --context="${CTX_CLUSTER1}" -n sample -c sleep     "$(kubectl get pod --context="${CTX_CLUSTER1}" -n sample -l    app=sleep -o jsonpath='{.items[0].metadata.name}')"     -- sh -c "for i in \$(seq 1 100); do curl -sS request-logger.sample:8000/fail/30; echo ""; done" | sort | uniq -c
      4 forced fail
     96 ok

It means: Although the app had 30% to fail, I only got 4 of 100 responses with status 503.
Using Kong (just service and route) the "retries" seems to not considering the HTTP Status Code to perform the retry:
for i in $(seq 1 100); do curl -sS localhost:8000/; echo ""; done | sort | uniq -c
     31 forced fail
     69 ok

For the same 30% of chances to fail, I got 31 503 responses. (fit the 30% odds).
So, my question is: Is any configuration that Kong Gateway can perform retries based on Status Code? Thinking about UpStream, it has the HealthChecks, but I'm not sure about the retries.

I made it work setting the env var KONG_NGINX_PROXY_PROXY_NEXT_UPSTREAM='http_503', but I am not sure what was the defualt value to it. The NGINX doc says "error timeout", but those 2 flags make kong not starting.


Support a new OpenStack provider type in the Providers list table

Add a new OpenStack 'Add Provider' option and modal with relevant fields.
Display the OpenStack provider in Providers table with the correct source label
Support the filter group by type->source->openstack
Add a valid Provider CR and a valid Secret to inventory

Jira issue: MTV-387
Screenshots

Create with insecure mode

Create with secure mode

video
https://user-images.githubusercontent.com/18169498/219122897-3519cbf8-c42b-4755-a253-470ec457c3c7.mp4

video

We won't default the connection to insecure mode, right?

@rszwajko

Additionally I have one general question: do we want to include the fields from new provider in the MergedProvider interface? This is only required if we want to add columns and/or actions specific to OpenStack.

AFAIK there aren't such columns but let's discuss that again once we will add al counters for the openstack provider
@ahadas

We won't default the connection to insecure mode, right?

The default is to skip the given certificate validation. The field name was confusing and therefore was changed to

and is checked by default.


Lift gpu_hist implementation into header.

Test file no longer includes a .cu file.
This change is to prepare CMake upgrade.  After introducing CUDA as a language in CMake, the duplicated definitions of dmlc registrations and CUDA kernels are caught by linker.
If we were to link the test executable to libxgboost.so instead of using CMake OBJECT target, the gpu_hist will register twice, which also results in an error.
No logical change is introduced.
@RAMitchell The change is not preferred since it overrides git history.  I guess it's a technical debt we now have to pay.  Suggestions are welcomed.

Are you sure this is necessary? In the case of duplicating dmlc registrations for the google tests I was able to get around this in the past by enclosing the registration in a macro that checks if google test is included.

@RAMitchell Let's see how #4323 goes.


C++ Standard Level Required

Sorry if available somewhere, but I could not find any information on this in the documentations.
What is the C++ standard level required by this library? Is this fixed or as long as VS 2019+ can handle?

I believe wil can go down all the way to C++11

OK! I decided to give it a test, compiling the WebView2Browser sample application with VS 2015, which by MS and Wikipedia fully supports C++ 11.
I found an unofficial Nuget package for CPP-REST, since MS is not providing one for the VS 2015, and updated WIL to the latest. The build is currently failing with the error below:

...include\wil\result_macros.h(1225): error C2440: 'return': cannot convert from 'initializer list' to 'wil::details::ResultStatus'


Remove superflous and ancient step

The ruby/setup-ruby@v1 already caches gems and removing this one decreases the time to test everything with around 10 minutes on a repo using this template.

Thanks @mhenrixon ! :shipit:


disposeBag Network Error

When i add the disposable bag i get Response: Received empty network response for
let disposeBag = DisposeBag()

        provider.request(.createMap(location.coordinate.longitude,location.coordinate.latitude))
            .mapObject(MapConfig)
            .subscribe { event -> Void in
                switch event {
                case .Next(let repos):
                    print(repos)
                case .Error(let error):
                    print(error)
                default:
                    break
                }
        }.addDisposableTo(disposeBag)

    }

Your disposeBag might be dying to early, try to tie it to a ViewController or a long-lived object.

Yes. Thanks.
Note: You've mapArray(AnyObject) in your example, but it works (for me) with mapObject method.


Better icons for Visual Studio Developer Command Prompt/Powershell profiles

Description of the new feature/enhancement
Custom icons for the Developer PowerShell for VS 2022 and Developer Command Prompt for VS 2022 profiles would be a nice touch.

Proposed technical implementation details (optional)
Include images in the app's ProfileIcons/ directory and automatically use them for said profiles. I threw these together in GIMP. If they are satisfactory, feel free to use them.

Thanks for the inspiration, and the suggestion! We got in touch with the Visual Studio design team and they made a set of icons for us that look pretty similar to your concept, except with some of the original shell icons punched out to form a keep-out zone.
You can see them over in #17706!


Prefix Sum in 1-D array#257

Related Issue

Prefix Sum in 1-D array#257
Added the code of implementation of Prefix Sum in a 1-D array .
Added the explanation of Prefix Sum technique used in 1-D array in README.md file.

Proposed Changes

Change 1 Added code of Prefix Sum with time and space complexity along with comments
Change 2 Added the README.md of Prefix Sum in 1-D array

Additional Info

Any additional information or context

Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the documentation.
[x] 🎀 I have updated the documentation accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots
Test Case 1

Test Case 2

@ShruthiKartik  you havent starred the repo

@siddhi-244 how to star the repo? And, pls tell me what are the incomplete checks?

@siddhi-244 how to star the repo? And, pls tell me what are the incomplete checks?

You can see the star option to the left of fork, just click on that !

@siddhi-244 Done!

@siddhi-244 Done!

LGTM !

@siddhi-244 There is a tag of incomplete checks. So, can u pls tell me what are those incomplete checks so that I can do the changes.

@all-contributors please add @ShruthiKartik  code ,


Add Aftermath

Project URL
https://github.com/hyperoslo/Aftermath
Description
Stateless message-driven micro-framework in Swift.
Why it should be included to awesome-ios
Aftermath is a message-driven micro-framework, which is based on the concept of the unidirectional data flow architecture.
At first sight Aftermath may seem to be just a type-safe implementation of the publish-subscribe messaging pattern, but actually it could be considered as a distinct mental model in application design, different from familiar MVC, MVVM or MVP approaches. Utilizing the ideas behind Event Sourcing and Flux patterns it helps to separate concerns, reduce code dependencies and make data flow more predictable.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 8 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

  :no_entry_sign:
  Found 1 link issue

          1 Warning

  :warning:
  Too many changes (when adding, please keep it to one project per Pull Request)

Link issue by awesome_bot

Line
Status
Link

1444
301
https://github.com/OEASLAN/OEANotification redirects tohttps://github.com/OEA/OEANotification

  Generated by :no_entry_sign: danger

Yaaay, one more @hyperoslo library. Always with amazing quality in the framework and in the README.md
Thanks, @vadymmarkov! 😃

Thanks @lfarah!


harmonize selected clim plots using json files

PG and JS to work on barcharts and TDs

@doutriaux1 Histograms or barcharts? I'm working with barcharts right now on my own, but histograms are in vcsaddons already (difference being that barcharts just plot values, and histograms use levels to segment values from an array and display the counts of those values).

@chaosphere2112 @doutriaux1 We'll show you solutions we are already using for bar charts and Taylor Diagrams.  When you are ready we can compare them.

@gleckler1 for transparency it might be a good idea to expand your acronyms.. TD could be anything, thought my educated guess would be a taylor diagram


I encountered a problem when installing Lazyvim. I tried deleting it and reinstalling it but it still didn't work.

Error detected while processing /Users/nguyenvovanman/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /Users/nguyenvovanman/.config/nvim/lua/config/lazy.l
ua:9: module 'lazy' not found:
no field package.preload['lazy']
no file './lazy.lua'
no file '/opt/homebrew/share/luajit-2.1/lazy.lua'
no file '/usr/local/share/lua/5.1/lazy.lua'
no file '/usr/local/share/lua/5.1/lazy/init.lua'
no file '/opt/homebrew/share/lua/5.1/lazy.lua'
no file '/opt/homebrew/share/lua/5.1/lazy/init.lua'
no file './lazy.so'
no file '/usr/local/lib/lua/5.1/lazy.so'
no file '/opt/homebrew/lib/lua/5.1/lazy.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/Users/nguyenvovanman/.config/nvim/lua/config/lazy.lua:9: in main chunk
[C]: in function 'require'
/Users/nguyenvovanman/.config/nvim/init.lua:5: in main chunk

You're missing several steps of creating a bug report from the issue template. Would be wise to include them, when you create an issue.

You're missing several steps of creating a bug report from the issue template. Would be wise to include them, when you create an issue.

Oh im sorry :<


'tsconfig.json' errors should be file diagnostics, not compiler diagnostics

If a tsconfig.json was successfully loaded, and there are contents, the compiler should supply some sort of error span within the file. That way, users can at least see that there is an error with the file itself.

This seems to be fixed, or am I misunderstanding this issue?

thanks @NaridaL !


(FM-7562) unifying the facts between agent and agentless

Codecov Report

Merging #78 into puppet6 will increase coverage by 0.03%.
The diff coverage is 94.44%.

@@            Coverage Diff             @@
##           puppet6     #78      +/-   ##
==========================================
+ Coverage     5.49%   5.53%   +0.03%
==========================================
  Files          169     170       +1
  Lines        20624   20596      -28
==========================================
+ Hits          1133    1139       +6
+ Misses       19491   19457      -34

Impacted Files
Coverage Δ

lib/facter/cisco.rb
0% <0%> (ø)
:arrow_up:

lib/facter/cisco_nexus.rb
100% <100%> (ø)

...b/puppet/util/network_device/cisco_nexus/device.rb
100% <100%> (ø)
: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 c950ae1...cbc043a. Read the comment docs.


Fix if_python undefined behavior for function pointer casts

Identified by clang 17 UBSAN (see #12745). Make sure to cast function pointers with the same signature only.

I thought we could also get rid of the range_initializer type def. But apparently not.


Added extensions for BridgeTypes to reduce code rewrite

Sorry for the delay in looking at this! It looks really cool.
Can you:

Create a new folder called examples (instead of example) and move the dart_eval_extensions_syntax.dart example there
Create a new library file for exports like dart_eval_bridge to export the extensions called dart_eval_extensions, and remove the exports from the dart_eval file. So that users can import the extensions separately.
Fix formatting on the docblocks to match the rest of the project. Should be always three slashes, then a space, then the comment (see here)

@ethanblake4

LGTM! Thanks.


[Codepen] Add codepen examples for Prototyping Utilities

Assigning this to myself
cc @kball for giving me a build codepen (proto specific) for the same!

@IamManchanda, is this something you still wanna work on?

Closing as we did not receive any further feedback.
We will probably move to storybook for contained examples.


Build wheels before sending to pypi

Suggestion from @yuvipanda:

Could you also upload wheels rather than just sdists? Since there's no binary stuff there it isn't that much of an improvement, but it'll be nice to have and fairly easy to do so

Just tried to build a wheel and things seemed to work just fine.

Is this simply running python setup.py bdist_wheel before python setup.py sdist upload?

I think so.


Create sara__h39?igshid=1cm4epp15mhu9

https://instagram.com/sara__h39?igshid=1cm4epp15mhu9

Че, проблемы?
пн, 10 мая 2021 г., 03:11 Ozan ERTÜRK @.***>:

dude this was epic! :D
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bitwise-01/Instagram-/pull/202#issuecomment-835890791,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASEY3C3U2BDV7PKBHOUA55TTM33A7ANCNFSM4WGR6TXQ
.

I guess, you should not create pull request or issue to bruteforce a target account. You simply expose your intentions.


anvil --transaction-block-keeper is not documented

Component
Anvil
Describe the feature you would like
there is a memory leak in anvil. it causes my anvil node to fail in docker. I am trying to reduce memory usage.
the --transaction-block-keeper switch does not seem to be documented so I am not sure what it is doing exactly.
Additional context
https://github.com/foundry-rs/foundry/issues/3478

I also wish this were documented.
especially given the last post here (https://github.com/foundry-rs/foundry/issues/3478) is:

https://github.com/foundry-rs/foundry/issues/3478

I'm left to wonder whether this change occurred or not. the crashes I'm observing make me think block-keeper has been set to a default of 3500.


C++17 function cannot be found by dependency with React Native 0.73.5 on Android

Description
When adding the following dependency https://github.com/Governikus/AusweisApp (com.governikus:ausweisapp:2.1.0) to the Android App and starting it in the onCreate method I get the following crash:
FATAL EXCEPTION: qtMainLoopThread
 Process: com.aa2test2:ausweisapp2_service, PID: 9904
 java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZTVNSt6__ndk13pmr25monotonic_buffer_resourceE" referenced by "/data/app/~~C4l_mRmUqYPFB7K9Bn86PA==/com.aa2test2-k8yOUFZGiJUstsUM1QUl1A==/lib/arm64/libQt6Core_arm64-v8a.so"...
 at java.lang.Runtime.load0(Runtime.java:929)
 at java.lang.System.load(System.java:1625)
 at org.qtproject.qt.android.QtNative$2.run(QtNative.java:235)
 at org.qtproject.qt.android.QtThread$2.run(QtThread.java:51)
 at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)
 at java.lang.Thread.run(Thread.java:1012)

As std::pmr::monotonic_buffer_resource is a C++17 function this looks like an issue with the libc++ version included in the React Native build even though the NDK version is set to "25.1.8937393"
Steps to reproduce

Build and start Android app which should instantly crash with the above mentioned stacktrace

React Native Version
0.73.5
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
  OS: macOS 14.3.1
  CPU: (10) arm64 Apple M1 Max
  Memory: 83.89 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.2
    path: /var/folders/yz/hyjkcq2d59s5bscn9zms73jm0000gn/T/yarn--1709557513841-0.23140906385048532/node
  Yarn:
    version: 1.22.19
    path: /var/folders/yz/hyjkcq2d59s5bscn9zms73jm0000gn/T/yarn--1709557513841-0.23140906385048532/yarn
  npm:
    version: 10.4.0
    path: ~/.nvm/versions/node/v18.18.2/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - visionOS 1.0
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 15.2/15C500b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 21.0.2
    path: /usr/bin/javac
  Ruby:
    version: 3.1.1
    path: /Users/I500763/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.5
    wanted: 0.73.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs
FATAL EXCEPTION: qtMainLoopThread
 Process: com.aa2test2:ausweisapp2_service, PID: 9904
 java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZTVNSt6__ndk13pmr25monotonic_buffer_resourceE" referenced by "/data/app/~~C4l_mRmUqYPFB7K9Bn86PA==/com.aa2test2-k8yOUFZGiJUstsUM1QUl1A==/lib/arm64/libQt6Core_arm64-v8a.so"...
 at java.lang.Runtime.load0(Runtime.java:929)
 at java.lang.System.load(System.java:1625)
 at org.qtproject.qt.android.QtNative$2.run(QtNative.java:235)
 at org.qtproject.qt.android.QtThread$2.run(QtThread.java:51)
 at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)
 at java.lang.Thread.run(Thread.java:1012)

Reproducer
https://github.com/milanpro/AA2_issue_reproducer
Screenshots and Videos
No response

As std::pmr::monotonic_buffer_resource is a C++17 function this looks like an issue with the libc++ version included in the React Native build even though the NDK version is set to "25.1.8937393"

React Native 0.73 uses NDK 26 (though we distribute our native binaries as prefabs), and use some new features from C++ 20. This is not an issue of the NDK not being new enough, and we build with libc++ from LLVM 17, which is very recent.
I don't think our team can help with a QT build outside of React Native that is not related to our build.

@milanpro have you found any fix related to the issue? I am also running into this problem on a native Android application - the trace is similar to yours.

Sadly no. This issue occurs with AusweisApp SDK Version 2.0 and higher and needs to be fixed by Governikus, the developer of the AusweisApp SDK.

Hi This Issue is still persisting with AusweisApp 2.2.2 (https://github.com/Governikus/AusweisApp/releases/tag/2.2.2)

Hi This Issue is still persisting with AusweisApp 2.2.2 (https://github.com/Governikus/AusweisApp/releases/tag/2.2.2)

Same for us with Ausweis SDK 2.2.2 , we tried to define NDK version explicitly in app: build.gradle ,
(tried "27.1.12297006", "25.1.8937393" ,"26.1.10909125") and nothing works. We're stuck with Ausweis SDK pre 2.0 :|

Reproducer
https://github.com/milanpro/AA2_issue_reproducer
Screenshots and Videos

I tried your example. After the build the APK uses libc++_shared.so with 1 MB. It looks like it uses the library from NDK 25 as the library is 1,3 MB since NDK 26. The libc++_shared.so from AusweisApp AAR is 1,3 MB. So your build uses and outdated library. Please use the library from the AAR or from NDK 26/27.
Looks like ndkVersion in build.gradle as no effect here.


Zuul and Web App Relative Paths Not Working.

I'm trying to use Zuul to serve web app's (ex. my console web app) using service discovery (serviceId's) in contrast to absolute paths like Dave Syer's example here. Therefore, a request such as /console/** to Zuul should route to a console web app instances registered with the Eureka server. The Zuul route is currently configured to strip the prefix to simply / while the browser's base URL should still be /console agnostic of how you reach the web app.
Unfortunately the relative path's in the web app don't work via the gateway and only work via accessing the web app directly. For some reason the browser does not maintain the base URL (ie. /console) after resolving the index.html file.
Has anyone used service discovery to route requests to angular web app's using Zuul? Any ideas?
Web app files are located in the the following directory:
src/main/resources/static

Example web app resource:
<link rel="stylesheet" href="/../app/app.css">

Zuul config:
zuul.routes.console-webapp.path=/console/**
zuul.routes.console-webapp.serviceId=console-webapp
zuul.routes.console-webapp.stripPrefix=true

So /../app/app.css is not a relative path in general, it's relative to slash. When I hear "relative path", I think of paths that don't start with /.
I also don't understand this:

For some reason the browser does not maintain the base URL (ie. /console) after resolving the index.html file.

Does the location change in the url bar?
This isn't unique to zuul, any app running behind a proxy that changes the path it expects will have this problem. The app has to get the context from somewhere and make appropriate requests.

Sorry, paths are relative, that was a typo:
<link rel="stylesheet" href="../app/app.css">

Correct, the location is still:
http://localhost:5000/console

However, requests to the static resources are:
http://localhost:5000/app/app.css

When they should be:
http://localhost:5000/console/app/app.css

Note, this have no effect:
<link rel="stylesheet" href="app/app.css">

None of what you mentioned is a problem with zuul. Does your app have a base href in it?

No, I'm not using HTML5 mode at all in Angular. Are you suggestions there is a base href that would fix the location/base URL issue? This is likely a client issue but you may run into this often if others take the same approach as me. I spent a few hours already researching and playing around with it.

It is a client issue. What could zuul do?

Well I assume it was a client issue but I didnt know for sure if Zuul was transforming the request. Have you ever accessed web apps using Zuul and relative paths?

I can change the request, but it can't fix a bad request coming from a client (ie /app/app.css -> /console/app/app.css). I've generally not used relative paths and have the html served by a template that fills in the base href.

Okay, I will try that and see if I can get it working. Ideally the client should work fine with a direct request or via proxy like Zuul. That's the goal to keep it clean. The gateway is handing CSRF for me as well and removing any CORS issues as you know. I will close the loop with you when I have further information.

I was serving the web app from src/main/resources/static to take advantage of the new dev tools (live reload). Unfortunately, this messes the base url (ex. /console). Serving the files from src/main/webapp/static solves the issue. live reload doesn't monitor this directory though so configuration will have to be included to monitor it for changes.
Therefore, Zuul works great for serving web app's by serviceId just like any other microservice. Please close.

Apologies for replying to a closed thread.
I am facing the same issue with the zuul-config (similar to the one mentioned above) and the base href set to zuul route path for a spring boot application serving angular 2 static content. In the above reply, you mentioned serving the files from webapp folder solves the issue. By default Spring boot recommends static content served under static/public folder under src/main/resources.  Can you let me know how to ensure static content served under the webapp folder in a spring boot web app ?


Add imperative lazy inject

Coverage remained the same at 50.0% when pulling f21ab3f7caaafb27d89158dddfc76f40e04d9641 on feature/imperative-lazy-inject into 86816b64675dd758ef1262ae724a7e10541f8f56 on master.

Coverage remained the same at 50.0% when pulling 924bb5498911fe2595df12d6fdaeee7d19ed6c2f on feature/imperative-lazy-inject into 86816b64675dd758ef1262ae724a7e10541f8f56 on master.


No effect of $client->index()->updateSettings() when running on docker windows.

Describe the bug
When running on windows using docker, if I added my documents and then call updateSettings from the PHP sdk or the REST api routes, the settings don't seem to change at all. And vice versa if I call update settings on a given index before adding documents it works but when I try to add documents, it doesn't seems to work at all and shows 0 documents. Keep in my mind I have mapped a local windows directory to my docker image via volumes.
To Reproduce
Steps to reproduce the behavior:

Install through docker
Add documents
Update settings for a given index
Check settings via GET route /settings

Expected behavior
It should have updated the settings for the given index
Screenshots
If applicable, add screenshots to help explain your problem.
MeiliSearch version: [e.g. v0.20.0]
Additional context
Additional information that may be relevant to the issue.
Using docker on windows,

Hello @saadj55!
Can you share a sample of one of your documents?
To check the progress of adding documents, you can look at the list of updates. Documentation here The document additions are done asynchronously.

Closing this issue since we don't have any answer. Feel free to re-open if needed


Cannot check size of pre-encrypted message payload

Problem
The SecureSessionMgr::SendEncryptedMessage is currently trying to check the length of an encrypted application message. But it cannot be measured deterministically, as payload header has optional fields and is encrypted. Only way to correctly check the length is to decrypt the message.
Summary of Changes
The message length is checked when the message is first encrypted. So, there should never be a condition where a valid encrypted message has an invalid length.
Decrypting the message to check the length seems like an overkill. This PR removes the length check for the encrypted message.

I am unclear if this is really overkill as it is a valid check (data that is decrypted has boundaries).
This may have minute savings in code size though.

I am unclear if this is really overkill as it is a valid check (data that is decrypted has boundaries).
This may have minute savings in code size though.

In this case, the message will be decrypted just to check the length. This function is transmitting the previously encrypted message, and doesn't need to decrypt it otherwise.

@msandstedt @saurabhst ?


The following NoSuchMethodError was thrown during performLayout()

Using Exactly Your Code I Got This Error
I/flutter (13726): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (13726): The following NoSuchMethodError was thrown during performLayout():
I/flutter (13726): The method '[]' was called on null.
I/flutter (13726): Receiver: null
I/flutter (13726): Tried calling:
I/flutter (13726):
I/flutter (13726): When the exception was thrown, this was the stack:
I/flutter (13726): #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:48:5)
I/flutter (13726): #1      _MyHomePageState.build.. (file:///C:/Projects/flutter/woo_commerce/lib/main.dart:78:55)
I/flutter (13726): #2      SliverChildBuilderDelegate.build (package:flutter/src/widgets/sliver.dart:258:20)
I/flutter (13726): #3      SliverMultiBoxAdaptorElement._build. (package:flutter/src/widgets/sliver.dart:783:67)
I/flutter (13726): #4      _HashMap.putIfAbsent (dart:collection/runtime/libcollection_patch.dart:143:29)
I/flutter (13726): #5      SliverMultiBoxAdaptorElement._build (package:flutter/src/widgets/sliver.dart:783:26)
I/flutter (13726): #6      SliverMultiBoxAdaptorElement.createChild. (package:flutter/src/widgets/sliver.dart:796:55)
I/flutter (13726): #7      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2235:19)
I/flutter (13726): #8      SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:789:11)
I/flutter (13726): #9      RenderSliverMultiBoxAdaptor._createOrObtainChild. (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:254:23)
I/flutter (13726): #10     RenderObject.invokeLayoutCallback. (package:flutter/src/rendering/object.dart:1727:58)
I/flutter (13726): #11     PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:796:15)
I/flutter (13726): #12     RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:1727:13)
I/flutter (13726): #13     RenderSliverMultiBoxAdaptor._createOrObtainChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:243:5)
I/flutter (13726): #14     RenderSliverMultiBoxAdaptor.addInitialChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:321:5)
I/flutter (13726): #15     RenderSliverList.performLayout (package:flutter/src/rendering/sliver_list.dart:78:12)
I/flutter (13726): #16     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #17     RenderSliverPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:182:11)
I/flutter (13726): #18     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #19     RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:405:13)
I/flutter (13726): #20     RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1320:12)
I/flutter (13726): #21     RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1238:20)
I/flutter (13726): #22     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #23     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:108:13)
I/flutter (13726): #24     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #25     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:108:13)
I/flutter (13726): #26     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #27     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:108:13)
I/flutter (13726): #28     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #29     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:108:13)
I/flutter (13726): #30     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #31     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:108:13)
I/flutter (13726): #32     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #33     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:108:13)
I/flutter (13726): #34     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #35     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:108:13)
I/flutter (13726): #36     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #37     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:108:13)
I/flutter (13726): #38     RenderObject.layout (package:flutter/src/rendering/object.dart:1631:7)
I/flutter (13726): #39     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:141:11)
I/flutter (13726): #40     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:338:7)
I/flutter (13726): #41     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:211:7)
I/flutter (13726): #42     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:355:14)
I/flutter (13726): #43     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1506:7)
I/flutter (13726): #44     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:765:18)
I/flutter (13726): #45     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19)
I/flutter (13726): #46     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:654:13)
I/flutter (13726): #47     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter (13726): #48     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (13726): #49     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (13726): #50     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
I/flutter (13726): #51     _invoke (dart:ui/hooks.dart:128:13)
I/flutter (13726): #52     _drawFrame (dart:ui/hooks.dart:117:3)
I/flutter (13726):
I/flutter (13726): The following RenderObject was being processed when the exception was fired:
I/flutter (13726):   RenderSliverList#8c35f relayoutBoundary=up2 NEEDS-LAYOUT NEEDS-PAINT
I/flutter (13726):   creator: SliverList ← MediaQuery ← SliverPadding ← Viewport ← _ScrollableScope ←
I/flutter (13726):   IgnorePointer-[GlobalKey#4e1f0] ← Semantics ← Listener ← _GestureSemantics ←
I/flutter (13726):   RawGestureDetector-[LabeledGlobalKey#99210] ←
I/flutter (13726):   _ScrollSemantics-[GlobalKey#e1260] ← RepaintBoundary ← ⋯
I/flutter (13726):   parentData: paintOffset=Offset(0.0, 0.0) (can use size)
I/flutter (13726):   constraints: SliverConstraints(AxisDirection.down, GrowthDirection.forward, ScrollDirection.idle,
I/flutter (13726):   scrollOffset: 0.0, remainingPaintExtent: 603.4, crossAxisExtent: 411.4, crossAxisDirection:
I/flutter (13726):   AxisDirection.right, viewportMainAxisExtent: 603.4, remainingCacheExtent: 853.4 cacheOrigin: 0.0 )
I/flutter (13726):   geometry: null
I/flutter (13726):   no children current live
I/flutter (13726): This RenderObject has no descendants.
I/flutter (13726): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (13726): Another exception was thrown: NoSuchMethodError: The getter 'scrollOffsetCorrection' was called on null.
I/flutter (13726): Another exception was thrown: NoSuchMethodError: The method 'debugAssertIsValid' was called on null.
I/flutter (13726): Another exception was thrown: NoSuchMethodError: The getter 'visible' was called on null.

Share more console logs. There must be something of use before these logs that you have posted.


Make DictionarySlim to use ArrayPool?

Could
https://github.com/dotnet/corefxlab/blob/master/src/Microsoft.Experimental.Collections/Microsoft/Collections/Extensions/DictionarySlim.cs
allocate via ArrayPool?
In next calls:
_buckets = new int[capacity];
_entries = new Entry[capacity];
 var entries = new Entry[newSize];
var newBuckets = new int[entries.Length];

Similar to https://github.com/jtmueller/Collections.Pooled.

Wouldn't this cause DictionarySlim to then need to implement IDisposable so it can return the arrays? That'd cause the correct usage of the type to change from what it is currently.

May be need to implement, may be need to call, may be some other named method. Really, my question is broader - how to produce pooled counterpart for each container, with no need to copy whole source code?

A finalizer could help in that scenario.

Another possible issue - new is fast, how fast is abstract  ArrayPool.Rent. If default Rent could be implemented as new and inlined by JIT/AOT like new than it could be OK. But if not, than if I want pooled slim dictionary I have to maintain my copy of code.

Finalizer may help. With caveat that it runs on background thread and when it throws exception - things look bad. So single thread or thread affined allocators may not work.

I think the issues as mentioned above are (1) speed of allocation vs. avoiding allocation and (2) dispose pattern which adds overhead and is unexpected for a collection. It seems to me this is out of scope and copying the code would be the way forward if you need this.

So there seems no C# language level feature exist to have custom zero cost allocators?

There is no way to change what new does but you can certainly use a factory like ArrayPool instead which potentially the JIT could inline.

Let me have abstract class DictionarySlimBase with abstract T[] New(int size); and MyDictionarySlim with override  T[] New(int )=> new T[size]. DictionarySlimBase is same as DictionarySlim except for allocation calls.
Would  speed of allocation of MyDictionarySlim and DictionarySlim be same? If not, than copying code is the solution and issue could be closed.


Singletons not allowed to be bound with RuntimeConfiguration

It is my understanding from the docs in Module.java and the test case bindToClass_shouldCreateInjectedSingletons_whenBoundClassAnnotatedSingleton that you can bind Singleton's to a scope.
This works with the RuntimeCheckOffConfiguration but not the RuntimeCheckOnConfiguration
This PR addresses that.

I see that there are a number of failing tests related to this change.
I'm happy to address those once you confirm my interpretation of @Singleton is correct and/or that the javadocs are actually up to date (I suspect they are not).

WIP

Hi @philipbjorge , thx for the PR and sorry for the wait. We have been a little busy lately.
You are right, the javadoc for that file is out of date. The idea was not to allow any binding including a scope annotated class.
However, we are changing it as we think that it is a valid use case:
Scoped annotated targets of bindings are allowed as long as the scoped annotation is supported by the scope where the binding is defined.
For example, this will be possible only for the root scope (root scope - singleton):
@Singleton
class Y {....}
...
bind(X.class).to(Y.class);

What do you think about the change?

@dlemures --
Continuing discussion on https://github.com/stephanenicolas/toothpick/issues/150


How to get tagged photos?

Let's say I want to get the photos tagged with food, so that the images are related to my food application demo website. Is there an option for that?

You can use unsplash directly :
https://source.unsplash.com/random/1600x900?food
The full documentation is there : https://source.unsplash.com/
Plus, it seems that picsum doesn't follow the unsplash guidelines concerning hotlinking, this service may be taken down at some time if they don't fix this.

Like @sushicodeur mentioned, you can use Unsplash Source directly if you want to get tagged images. Picsum doesn’t currently support this functionality, and we don’t plan to right now either.
As for hotlinking, Picsum doesn’t use the Unsplash API, so we have no reason to.
Picsum predates the Unsplash API, as well as the Unsplash license, all the images used in the service were gathered in the time when all Unsplash images was Creative Commons licensed.


Update SECURITY.md

I've replaced the SECURITY.md file with a more generic, however shorter (and hopefully more concise) version. HackerOne related examples and restrictions will be detailed on the HackerOne page.
Edit: it's easier to just read the new file in its entirity than comparing it with the old one. Rendered page.

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

I've edited the PR description to update the rendered page link, but as Daniel says, the https://github.com/cosmos/security/ repo isn't publicly accessible.

I've edited the PR description to update the rendered page link, but as Daniel says, the https://github.com/cosmos/security/ repo isn't publicly accessible.


coverageprocessor breaks when jest is not run with --no-cache

The cache is written to global when the preprocessing happens, but preprocessing is skipped when possible if --cache is enabled (and it is by default).
As the preprocessor does set up the mapping data structures, but just writes nothing into it, there will be an exception thrown in remap-istanbul for each of the input files.

Cache support has been discussed in #30 and there doesn't seem to be a clear solution to that.
@Kovensky would this issue be covered by #30? If so then this can be closed so that the discussion on caching can be consolidated in one place.

It would; but for this specific case, it could be nice to, until there is cache support, have an early error, if coverage is enabled, telling the user to use --no-cache.

@Kovensky, ok, you are right - it's good suggestion. I think I'll provide it really soon.

Coverage is no longer handled by ts-jest (see #200)
If this issue isn't addressed AND if you think the fix needs to be in ts-jest, feel free to either open a new issue or leave a comment here to reopen this.


about the visualization

Hello,dear author, I have some questions about visualization. for the residual plots, how can I ensure that vmax and vmin are centered around 0?
the following is my code, but the visualization results do not quite match what is shown in your paper.
vvmin = -np.max(np.abs(residual))
vvmax = np.max(np.abs(residual))
plt.imsave(os.path.join(root_residual, f'{idx}_{dxi}.png'), residual, cmap='RdBu', vmin=vvmin, vmax= vvmax)

Hi,
you need to assure that abs(vvmin)==abs(vvmax), otherwise the colormap is not symmetrical around zero.
if (-vvmin)>vmax:
vmax = -vvmin
else:
vvmin = -vvmax
also I recommend working with 95 or 98 percentil or similar since min max is not robust to outliers.

Thank you very much for receiving your reply


Support listen to specify sock file

Fixed socket file name will cause problems when reloading php-fpm (kill -USR2), which is why the socket name is randomly generated.

Fixed socket file name will cause problems when reloading php-fpm (kill -USR2), which is why the socket name is randomly generated.

如果fpm 不加-F，会导致没有任何程序监听套接字，我自己做了一个agent 去监听这个套接字，所以说需要固定一下套接字

@LeiZhang-Hunter If you need to discuss in Chinese, Slack CN is a good place. In the PR context, please keep in En.

@LeiZhang-Hunter If you need to discuss in Chinese, Slack CN is a good place. In the PR context, please keep in En.

Fixed socket file name will cause problems when reloading php-fpm (kill -USR2), which is why the socket name is randomly generated.

If I don't add the -F option to php-fpm, then no process will listen to .sock, so I want to fix the .sock path and write my own program to listen

@LeiZhang-Hunter If you need to discuss in Chinese, Slack CN is a good place. In the PR context, please keep in En.

If I don't add the -F option to php-fpm, then no process will listen to .sock, so I want to fix the .sock path and write my own program to listen

I don't think fixed socket file names are a smart idea.

If I don't add the -F option to php-fpm, then no process will listen to .sock, so I want to fix the .sock path and write my own program to listen

Now it is not possible to run php-fpm in daemon mode, which will cause the skywalking agnet process to exit immediately,
automatically delete the socket file when the process exits, which has nothing to do with the name of the socket file.
If daemon mode is required, skywalking agnet needs to be a separate process, and php-fpm no longer forks. This feature can be added later.

If I don't add the -F option to php-fpm, then no process will listen to .sock, so I want to fix the .sock path and write my own program to listen

Now it is not possible to run php-fpm in daemon mode, which will cause the skywalking agnet process to exit immediately, automatically delete the socket file when the process exits, which has nothing to do with the name of the socket file.
If daemon mode is required, skywalking agnet needs to be a separate process, and php-fpm no longer forks. This feature can be added later.

I have made this agent in C++. Now I need to monitor the .sock file. I think skywalking-php should provide this capability so that users can monitor their own sockets. It doesn't matter if skywalking-php is deleted. I can monitor it myself. Now after skywalking is deleted, as long as I create the corresponding sock file, it will still be sent to me.

I have made this agent in C++. Now I need to monitor the .sock file. I think skywalking-php should provide this capability so that users can monitor their own sockets. It doesn't matter if skywalking-php is deleted. I can monitor it myself. Now after skywalking is deleted, as long as I create the corresponding sock file, it will still be sent to me.

This is great, but I think a better approach would be to add a new config to disable forking agnet processes and custom socket files.

I have made this agent in C++. Now I need to monitor the .sock file. I think skywalking-php should provide this capability so that users can monitor their own sockets. It doesn't matter if skywalking-php is deleted. I can monitor it myself. Now after skywalking is deleted, as long as I create the corresponding sock file, it will still be sent to me.

This is great, but I think a better approach would be to add a new config to disable forking agnet processes and custom socket files.

OK, I'll change it.

I have made this agent in C++. Now I need to monitor the .sock file. I think skywalking-php should provide this capability so that users can monitor their own sockets. It doesn't matter if skywalking-php is deleted. I can monitor it myself. Now after skywalking is deleted, as long as I create the corresponding sock file, it will still be sent to me.

This is great, but I think a better approach would be to add a new config to disable forking agnet processes and custom socket files.

But even if skywalking-php is not listening, we still need to fix the transmission socket and not let it generate randomly.

But even if skywalking-php is not listening, we still need to fix the transmission socket and not let it generate randomly.

https://github.com/apache/skywalking-php/pull/113#issuecomment-2179848997
If this problem can be solved, then it is possible, but currently only a random socket file name can be generated.

But even if skywalking-php is not listening, we still need to fix the transmission socket and not let it generate randomly.

#113 (comment)
If this problem can be solved, then it is possible, but currently only a random socket file name can be generated.

I think

Add skywalking-php to listen to .sock configuration
Specify the location of the .sock file sent by span
I think skywalking-php needs this function

But even if skywalking-php is not listening, we still need to fix the transmission socket and not let it generate randomly.

#113 (comment)
If this problem can be solved, then it is possible, but currently only a random socket file name can be generated.

 Is there a bug?

But even if skywalking-php is not listening, we still need to fix the transmission socket and not let it generate randomly.

#113 (comment)
If this problem can be solved, then it is possible, but currently only a random socket file name can be generated.

Make a switch to make skywalking-php stop listening to the socket and only send. Is there a bug?

What are the problems with kill -USR2

Reload will cause a new agent process to start. If there is only one socket file path, multiple agent processes will listen to the same socket at the same time.

How about add skywalking_agent.standalone_socket_file_path? This options disable forking agnet processes and custom socket file.

How about add skywalking_agent.standalone_socket_file_path? This options disable forking agnet processes and custom socket file.

Sending data uses bincode::serialize, but I think this will become complicated, so I gave up this solution.

How about add skywalking_agent.standalone_socket_file_path? This options disable forking agnet processes and custom socket file.

Parsing bincode::serialize using C++ is not an easy task

I thought of a solution to solve the php-fpm -F problem

Remove libc::prctl (libc::PR_SET_PDEATHSIG, libc::SIGTERM);

Add pid lock to protect the uniqueness of the process, so that the startup process will not be restarted repeatedly

Fix the pid file location

After adding these three items, I solved this problem

I thought of a solution to solve the php-fpm -F problem

Remove libc::prctl (libc::PR_SET_PDEATHSIG, libc::SIGTERM);

Add pid lock to protect the uniqueness of the process, so that the startup process will not be restarted repeatedly

Fix the pid file location

After adding these three items, I solved this problem

How about add skywalking_agent.standalone_socket_file_path? This options disable forking agnet processes and custom socket file.

Parsing bincode::serialize using C++ is not an easy task

Will this result in the forked agent process still existing when php-fpm is exited normally?


Prefer ReadonlyArray for query keys

Mutable arrays can be passed to functions expecting readonly arrays but readonly arrays can't be passed to functions expecting mutable arrays. Since react-query doesn't actually mutate query keys, it should use the more permissive ReadonlyArray for QueryKey (and MutationKey) instead.
This allows users to do things like this without having to strip readonly from the inferred types:
const query = [["my.query.key", "abc"], () => fetch("/my/resource")] as const

@tannerlinsley Do I need to do anything for this to be merged?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add snyk monitoring

This adds a github action that triggers snyk monitor every day at 6am.

automatically closed 🤖


No module named 'GeoApps'

.translate_velocity() is throwing this error
It seems that Rearth or the corresponding package is not available.-> replacing Rearth with mean earth radius works though.
translate_velocity module is available in besttracks->core.py

if you are using a conda environment, you can simply install the GeoApps via
conda install GeoApps
(btk) bash-3.2$ conda list | grep geo
geos                      3.11.1               hb7217d7_0    conda-forge

conda install GeoApps do not work. pip install geoapps works though but it throws and error at the end of installation. Thank you for your reply.

Yes, I didn't notice this.  I have removed this dependency on GeoApps and made Rearth as a kwarg which allow users to change freely.  Please see here.
Thanks for pointing out this.


Fix problem in high-verbosity mode

Currently, when verbosity is greater/equal 2 and no article_info_file is specified via the -m option, the script fails as it tries to cat the file without checking whether article_info_file is specified.
This PR adds an if-clause to perform this check beforehand and prevent errors in high-verbosity mode.

Thank you!


Regenerate GB carrier data

The recent release (v8.9.10) updated the GB Carrier data, however, it was still out of date.
This merge updates to the latest data from Ofcom, generated on 2018-11-13 using https://github.com/giggsey/GBCarrierGenerator
Replaces #2006

Hi,
Thanks so much for the contribution.
You have reverted some of the changes we did to this file during release 8.10.0, PR #2276
Recently we had automated the process of compressing / being specific in carrier metadata.
This will not effect O/P of API but did to follow consistent approach for maintaining all
carrier and geocode mappings.
Eg: We are now being specific like "447426|Three" to make it clear.
Could you please revert back those rollforwards and only place potential changes?

Since the GB data is now generated from a new internal representation, the mapping files are no longer editable directly, they are purely automatically generated. As such we can no longer accept any pull requests for these files.
The good news is that we should be able to easily merge any new carrier data into our data and regenerate new, consistent/minimal versions of the mapping files. The only time a mapping would not appear in our generated files is if the prefix was not one we considered a valid range (but since your source looks to be good, that would indicate that we might have missing ranges, which could then be added).
The best thing to do is provide us with your original data for carrier mappings (e.g. Offcom data) in a machine readable way, which we can then process and merge into our base data to regenerate correct mapping files. We can handle merging mapping files in the "prefix|carrier name" format, so that shouldn't be an issue. It looks like the data you have fits this bill.
This also means we should no longer show these files as being directly generated from your project (since they aren't anymore) but we're happy to continue to credit you for the source of the data (i.e. we should make a small adjustment to the comment at the top of this file).
Also, just to explain, the mapping files we generate are always minimal now, so:
4477442|Core Communication
4477443|Core Communication
4477444|Core Communication
4477445|Core Communication
4477446|Core Communication
4477447|Core Communication
4477448|Core Communication
4477449|Core Communication
would never exist in our data, only:
447744|Core Communication
(or perhaps even a shorter prefix). This shortening can only be done with access to all the range data, so as not to "over shorten" ranges. This is fine, since it returns exactly the same result for all valid numbers, but means that you will now always have a diff between the "unshortened" mappings from someone like Offcom and the mappings we generate.
Funnily enough I was just about to send out an announcement email explaining some of this to potential contributors, since I didn't want anyone spending time working on exact patches we can no longer accept (we still gladly accept data sources, just not pull requests to modify data files directly).

@hagbard That's fair enough.
The data itself comes from a machine readable format supplied by Ofcom (spreadsheet). I just have some basic PHP that converts it into the format for the metadata files, and deals with renaming companies & compressing the data.
The data in the merge request is compressed as far as it can safely go based on the current Ofcom allocations.
In your example of Core Communications, the shortened 447744 shouldn't be used, as Core Communications have only been allocated 2-9 (not 0 or 1).
In @penmetsaa's example above, Three has been compressed, because they have been allocated all the other ranges apart from the others specified.

44742|Three
447420|Orange
447421|Orange
447422|Orange
447423|Vodafone
447424|Lycamobile
447425|Vodafone

The 0/1 ranges just aren't valid so we don't care what we return for them.

They validate as valid numbers though: http://libphonenumber.appspot.com/phonenumberparser?number=%2B447744012345.
This would be fine, but would require the metadata to be much more accurate than it is now (actual allocated numbers instead of possibly allocated numbers).
According to Ofcom they try to publish data every Wednesday. Carrier Updates certainly aren't that important to be updated so frequently, but if the metadata is being mixed with the compression mentioned above, then that's sure to cause problems.
Keeping with this same number range as an example 77440 is currently not allocated, and currently does not report a carrier. It does however validate as a valid number. If the carrier data was compressed to just '7744': Carrier, and another CP was allocated 77440, then incorrect carrier information would start being shown.
My gmail address is the same as my GitHub username.

The 0/1 ranges just aren't valid so we don't care what we return for them.

They validate as valid numbers though: http://libphonenumber.appspot.com/phonenumberparser?number=%2B447744012345.

Oh it's possible that the specific example I cited isn't true, I was just trying to illustrate that when validity is known we can do a better job of simplifying the files. The 7744[01] ranges are indeed valid, and if you look in the file we don't compress those prefixes.

This would be fine, but would require the metadata to be much more accurate than it is now (actual allocated numbers instead of possibly allocated numbers).

There's no issue, honestly. This migration has happened for hundreds of regions without issues in the mapping files, and the generation of mapping files is (a) correct and (b) minimal.

According to Ofcom they try to publish data every Wednesday. Carrier Updates certainly aren't that important to be updated so frequently, but if the metadata is being mixed with the compression mentioned above, then that's sure to cause problems.

It will not cause issues, and when we update ranges, we will now be more likely to keep carrier mappings in the same file.

Keeping with this same number range as an example 77440 is currently not allocated, and currently does not report a carrier. It does however validate as a valid number. If the carrier data was compressed to just '7744': Carrier, and another CP was allocated 77440, then incorrect carrier information would start being shown.

Right, that's just because I picked an illustrative example before we got into the specific details. A real example is:
44773|O2
447733|Vodafone
447735|Three
447737|Three
Which is what's in the mapping file now (and was auto-generated).

My gmail address is the same as my GitHub username.

I'll see if I can share a copy of the new data table so you can see it's not an issue.

You should be able to see the ranges in:
https://docs.google.com/a/google.com/spreadsheets/d/e/2PACX-1vS6BoJIIDM0GZ0E6cjq9P4yl-2W6SiiqTBd6-MvoiB8J8Mhhpb90WGpyHg_5tT7amGz1HJFtshZxS8B/pubhtml
with a Gmail account.


Refactor/extract common class

Extract class with common comparison operators.
Closes #10
Note that I had to use _value instead of __value, since double underscore variable is not accessible from sibling classes.
In addition, I used total_ordering to avoid duplication of comparison methods.
And finally, I made use NotImplemented to delegate comparison to other class if the current one cannot handle it. This is considered a common practice in Python.

Merged, thank you for your contribution 🙏


Unable to get temporary credentials

Hi,
I implemented your code in my angular project. I am able to fetch tokenID from AWS Cognito after verification but when I see credentials, it shows
accessKeyId:undefined
data:null
expireTime:null
expired:true
I implemented, login, signup from your project. After successful login I am directly redirecting it to JWT. It displays the tokens. But When I tried printing the CognitoIdentityCredentials object it shows nothing.
I have done this in JWT callbackWithParam function:
AWS.config.credentials = new AWS.CognitoIdentityCredentials({
IdentityPoolId: environment.identityPoolId,
Logins: {
'cognito-idp.{{region}}.amazonaws.com/{{userpoolid}}' : idToken
}
});
Any idea what I might be doing wrong?
Regards,
Shorabh

Try .get() or .refresh() methods on credentials object.
You can create promise:
     AWS.config.credentials.get((err) => {
        if (err) {
          rejection(err)
        } else {
          resolve(AWS.config.credentials)
        }
      })
    })

and then use it getCredentials.then(creds=> doSomething(creds))


Develop gmm pointmass

Implemented pointmass option for the mixture node.

Codecov Report

Merging #63 (e6d4fab) into master (d9e6d7e) will increase coverage by 18.42%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master      #63       +/-   ##
===========================================
+ Coverage   50.47%   68.89%   +18.42%
===========================================
  Files         126      153       +27
  Lines        3802     4234      +432
===========================================
+ Hits         1919     2917      +998
+ Misses       1883     1317      -566

Impacted Files
Coverage Δ

src/nodes/normal_mixture.jl
84.84% <0.00%> (+84.84%)
:arrow_up:

src/rules/normal_mixture/out.jl
0.00% <0.00%> (ø)

src/rules/normal_mixture/switch.jl
75.00% <0.00%> (+75.00%)
:arrow_up:

src/macrohelpers.jl
85.41% <0.00%> (-1.43%)
:arrow_down:

src/math.jl
70.27% <0.00%> (-1.16%)
:arrow_down:

src/nodes/gamma_shape_rate.jl
100.00% <0.00%> (ø)

src/rules/transition/marginals.jl
100.00% <0.00%> (ø)

src/rules/gcv/z.jl
100.00% <0.00%> (ø)

src/rules/multiplication/marginals.jl
100.00% <0.00%> (ø)

... and 64 more

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 d9e6d7e...e6d4fab. Read the comment docs.


Table 1 colors not displayed

Description
In table 1 green and red colors for text was not displayed in html, but available in pdf
(Optional:) Please add any files, screenshots, or other information here.
PDF -

HTML -

(Required) What is this issue most closely related to? Select one.
Other
Internal issue ID
2728b312-6cb7-4c31-8251-0e6e75ceee06
Paper URL
https://arxiv.org/html/2402.16187v1
Browser
Chrome/<IP_ADDRESS>
Device Type
Desktop

This is corrected in the ar5iv version and will improve once the arXiv collection is updated.


Pl/test suite fixes

Implements a few test suite fixes and supports SBML 1.3.0

I haven't really been following SBML nor what happened in the 1.0, but it LGTM
want to post the suite results?

/format

@exaexa: formatting doesn't seem to work here.

@exaexa: formatting doesn't seem to work here.

yeah unfortunately github doesn't trigger on comments until the .yml gets into the main branch. Otherwise the check seems working.

PS if you click the detail of the check, you will find a patch that you can git apply to get a formatting ✔

thanks @exaexa


quicktype: 23.0.80 -> 23.0.81

Diff: https://github.com/glideapps/quicktype/compare/2a60269d431b392b658e671df2c1fb5479aec855...838c5e0e63a50d7c7790dc81118e664480fc4a80
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

quicktype


💡 Idea - show how to detect locale and redirect on the client in i18n recipe

In the second step of "Set up pages for each language" -> "2. Set up src/pages/index.astro to redirect to your default language."
instead of the proposed meta tag, you can use the following client site script:

I refactored and debugged the proposed code. The following is a more generic utility function, which can be called from any other page:
 function getPreferredLanguage() {     const supportedLanguages = Object.keys(languages);     console.log(supported languages: ${supportedLanguages}`);
const languageCodes = navigator.languages || [navigator.language];
for (const code of languageCodes) {
    const language = code.toLowerCase().split(/[_-]+/)[0];
    if (supportedLanguages.includes(language)) {
        console.log(`user prefered supported language is: ${language}`);
        return language;
    }
}
console.log(`none of the user's languages are supported, defaulting to: ${defaultLang}`);
return defaultLang;

}
// redirects to the language identifyer URL, e.g. http://www.mypa.ge/page.html -> http://www.mypa.ge/en/page.html
// to be used in the
// < /astro>
//
export function redirect_to_i18n() {
const url = window.location;
console.log(`in ${url}`)

const supportedLanguages = Object.keys(languages);
for (const languageCode of supportedLanguages) {
    if (url.pathname.includes(languageCode)) {
        console.log(`not redirecting, already i18n page`);
        return url;
    }
}
let redirect_url;
// remove trailing '/'
if (url.pathname == "/") {
    redirect_url = `${url.origin}/${getPreferredLanguage()}`
}
else {
    redirect_url = `${url.origin}/${getPreferredLanguage()}${url.pathname}`;
}
console.log(`redirecting to ${redirect_url}`);
window.location.replace(redirect_url);

}`

Thanks for this idea! This looks like something that would make a great blog post, and if you'd like to publish your own recipe on your site, we can add a link to it as a related "community recipe."
There are lots of features that can be incorporated with i18n, and our existing recipe was designed to show a simple use case of defaulting to the language of your choice. (As we do in docs, where English is the canonical language of our site and the one that is guaranteed to be up to date.) There may be reasons why you want to choose the default language (as in our case, where English is the full version of the site) and also reasons why you may not wish to automatically redirect someone based on locale (for example, they are located in a particular country but want to view the site in another.)
So for our recipe, we have chosen what we want to demonstrate. But there are obviously many more things one could do, and we are happy to link to examples of more specialized cases. If you do write something, then please make a PR to the recipes page and we can take a look at it!


Add go.mod

Creation of a go.mod file in compliance with go new way of handling dependencies.
@Rhymond what do you think of it ?

@HT808s great idea! Do you want to create PR for this?

Sure, I'll be glad to do it !

@HT808s Thank you again! It's now in v0.3.8 release


.seek() returning Howler object

This is the code I'm working with:
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { setPosition } from '../Store';
import ReactHowler from 'react-howler';

class Audio extends Component {
  player = React.createRef();

  componentDidMount(){
    window.requestAnimationFrame(this.getPosition);
  }

  componentDidUpdate(){
    if(this.props.audioPlaying){
      window.requestAnimationFrame(this.getPosition);
    }
  }

  getPosition = () => {
    console.log(this.player.howler.seek());
    //this.props.dispatch(setPosition(this.player.howler));
    if(this.props.audioPlaying){
      window.requestAnimationFrame(this.getPosition);
    }
  }

  render () {
    return (
      <ReactHowler ref={(ref) => (this.player = ref)} src="/assets/uniin.mp3" playing={this.props.audioPlaying} />
    );
  }
}

const mapStateToProps = (state) => ({ ...state.audioPlayer });

export default connect(mapStateToProps)(Audio);

Logged to the console is:
Howl {_orientation: Array(3), _stereo: null, _pos: null, _pannerAttr: {…}, _onstereo: Array(0), …}
Am I doing something wrong? I'm following the docs as far as I can tell...

It seems to work correctly if I set html5={true} on the component. Hm.

I'm experiencing the same problem but only after upgrading to v.3.7.4 of react-howler it does not seem to be an issue in 3.7.3

@SebastianGerS can you check if your version of Howler changed? The only change from 3.7.3 to 3.7.4 was removing the pinned version of Howler.
If you pin a previous version of Howler in your project does it fix the  issue?
It's probably also worth mentioning that this issue was opened before 3.7.4 was cut.

Ok so I looked in to it a bit more and it seam like it's happening in 3.7.3 aswell.
I experienced it now after upgrading to 3.7.4 but when I think about it i probably did experience it when I first started to use it as well I just worked around it (but obviously not entirely). When downgrading to 3.7.3 the problem persists it's only that i'm not experiencing it in all circumstances.
The problem seams to occur when I try to change src before the previous src has been loaded (and I'm  saving the position(seek) of howler in localstorage when the src is changed (as long as seek is not 0).
I guess the easiest way for me to remedy this is just to also check that seek does not return a object before trying to save the position.
Anyway this seams to confirm what you are saying @Stenerson that seek returns the howler object when the sound is not loaded.

This is weird because it still returns the said object even when the .howlerState() is 'loaded'.


Translation update

100% Thai (thanks to Warintorn Choorasri)
Spanish (thanks to AlexofCA)
Chinese Simplified (thanks to Lasm Gratel)

i trust your language skills ;)

I thought you could review Thai translation 😦


feat(cdk/table): add footer-cell to text-column

Feature Description
I have a matTable which includes a footer-row.
I would like to use the mat-text-column. However, it does not support a footer-def.
Therefore I would like to suggest adding a footer-def to the text-column. The footer-cell could also get a footerText like it is used for the header-cell and maybe be optional.
Use Case
No response

Hi @andrewseguin ,
any updates on this issue?

Still not there I guess ?


Add tvOS target for static library

This is allowing to build static library for tvOS applications

Thanks for your pr. ownCloud iOS library with support for tvOS sounds great.
Travis CI failed, maybe you have to change the travis file adding the correct Xcode version.

@sylverb I'm going to cancel this pull request, right now the pull request is against master branch and should be with develop branch.
Please launch again against develop branch.


'isDataViewLike' is not exported from 'vis-data/esnext/esm/vis-data.js'.

Overview
After reinstalling the package, I started getting compile error on terminal.
Failed to compile.

./node_modules/react-vis-timeline/node_modules/vis-timeline/esnext/esm/vis-timeline-graph2d.js
Attempted import error: 'isDataViewLike' is not exported from 'vis-data/esnext/esm/vis-data.js'.

Package versions
react-visjs-timeline: ^2.0.3
vis version: ^4.21.0-EOL
Code Snippet
Failed to compile.

./node_modules/react-vis-timeline/node_modules/vis-timeline/esnext/esm/vis-timeline-graph2d.js
Attempted import error: 'isDataViewLike' is not exported from 'vis-data/esnext/esm/vis-data.js'.

duplicated
https://github.com/razbensimon/react-vis-timeline/issues/3


Consider adding HttpService-based routing

Though it would be fiddly work, it should be possible to add an HttpService implementation that peeks into the NSF, queries the available REST endpoints, and directs requests without the need for the /xsp bit in the URL.
Such a service could look for a ".nsf" in the URL, query NSFService for an NSFComponentModule representation of the app, check to see if it uses the library, query the class files, and build a list of endpoints. Then, when an incoming request matches, it could wrap the HttpServletRequest to alter the path info and pass that along.
In theory, such a thing could also be used to register apps at a high level in the server namespace, but that would be a secondary task if this were to be made to work.

This would share some concepts and implementation details with https://github.com/jesse-gallagher/nsf-router

This is fine and all, but would be better done either as a part of https://github.com/OpenNTF/org.openntf.xsp.jakartaee/issues/164 or as a separate extension project.


PTX-21181 Add method to upgrade GKE versions

Add method to upgrade GKE versions

Had tested these changes for both AKS and GKE upgrades, as some changes needed for AKS as well.. See
https://jenkins.pwx.dev.purestorage.com/job/Torpedo/view/Operator Release Cloud Dashboard/job/tp-nextpx-aks-upgrade-hops-op/19/
https://jenkins.pwx.dev.purestorage.com/job/Torpedo/view/Operator Release Cloud Dashboard/job/tp-nextpx-gke-upgrade-hops-op/7/


[Bug]: Not local models locate

What happened?
I was doing fabric --listmodels, when local models is empty while I am running ollama:
GPT Models:
gpt-3.5-turbo
gpt-3.5-turbo-0125
gpt-3.5-turbo-0301
gpt-3.5-turbo-0613
gpt-3.5-turbo-1106
gpt-3.5-turbo-16k
gpt-3.5-turbo-16k-0613
gpt-3.5-turbo-instruct
gpt-3.5-turbo-instruct-0914
Local Models:
Claude Models:
Google Models:
I don't want to pay the OpenAI API KEY, any solution?
Version check

[X] Yes I was.

Relevant log output
No response
Relevant screenshots (optional)
No response

Without the details of your setup, helping is quite a challenge.
I installed Ollama and Fabric on WSL/Ubuntu-22.04 (Windows11), ran into the same issue and found out OLLAMA_HOST was missing or incorrect. ksylvan provided the solution in https://github.com/danielmiessler/fabric/discussions/271#discussioncomment-8968990. These steps fixed it for me:
Add the following snippet to the end of ~/.bashrc (used by bash shell)
export OLLAMA_HOST=$(ip route | grep default | awk "{print \$3}")
Reload bash
source ~/.bashrc
List models
fabric --listmodels
...
Local Models:
llava:latest
llama3:latest
...
Depending on your setup, this may or may not help in your situation.

Hi, What is the difference between Google API Key and YouTube API key. Are they both the same and from Google cloud console? Or is it Gemini API Key?
I get Google Models showing empty while doing --listmodels. I get the list for OpenAI, Claude and Ollama models populated

Hi, What is the difference between Google API Key and YouTube API key. Are they both the same and from Google cloud console? Or is it Gemini API Key? I get Google Models showing empty while doing --listmodels. I get the list for OpenAI, Claude and Ollama models populated

The Google and Youtube API keys are seperate. The Google API keys are AI keys for Gemini, the YouTube API keys give you access to the YouTube features of Fabric, easy downloading of public transcripts and such.


ProviderError: cannot parse block param: pending

Hi,
Occasionally this occurs, I believe due to the long execution time on Filecoin. Rerunning the command that resulted in this error should fix it. Let me know if it is working for you yet, and please remember to update to the latest version of the kit.

thanks!

just change the hyperspace  node url of your  hardhat config file. I used  "https://rpc.ankr.com/filecoin_testnet", visit here for list of hyperspace nodes to switch too (https://chainlist.org/chain/3141?testnets=true)


Add enhancements for richer display of STAC items on web pages.

There are likely a number of enhancements to make a catalog and item pages look better when they are transformed in to HMTL with a tool like STAC Browser.
See http://planet-stac.netlify.com/ for an example.
Top of the list would be to add an image to be displayed - logos or other representations.
Perhaps also a way to include certain catalog or collection metadata down on child sub-pages.
Should brainstorm ideas and make concrete proposals, ideally prototyping with stac-browser.

Duplicate of #196.


Open selectable daily note instead of only current

Love the plugin! Thank you so much.
I know it is easy to create weekly and daily notes for other days than today / current week by clicking on the date in the calendar, and you are thinking how to do the same for monthly notes.
I would love to have that functionality in the command pallet: That is in addition to having Open daily note there would be an option:
Periodic notes: Create daily note for selected date
That would allow me to easily create a daily notes for other dates.
My use case is for example:

Today, I subscribe to a service that renews in a year. I would love to create a daily note for that date to remind me to cancel / renew the subscription.
Add a daily node in the past for e.g. birthdays.

It would also be very handy if one could insert that note as a link in the current note:
In the case of subscription above, instead of creating the note as suggested and then add the  [[link to note]], maybe the option could be:
Periodic notes: Create daily note for selected date and insert link
Do you  think this is something worth adding, or should I search for other ways to achieve this functionality?

Hi @binnisb, if I understand the feature request correctly, you might be interested in the "Natural Language Dates" plugin. It helps with the date link creation part. It doesn't automatically create the daily notes for you, though. So there might be an opportunity here for the Periodic Notes plugin to help.
I'll give this some more thought, thanks for the request!


Add Support For Lyrics Download Only.

Hey @glomatico ,
Can we download the lyrics only, and not song if we have no premium?

Unfortunately no. Premium is required for grabbing Apple Music lyrics.


add the link to the MDN page that lists the polyfill

It's probably good idea to add a link to https://developer.mozilla.org/docs/Web/API/Element/classList in the README.md for those who want to know what this "MDN polyfill" is =)

It is in the source.
https://github.com/yola/classlist-polyfill/blob/master/src/index.js#L14-L16
But I'll add it anyway.

A pull also would have been appropriate.

Fixed via: https://github.com/yola/classlist-polyfill/pull/3#issuecomment-103273929

remember that not everyone can always file a PR, but everyone can always file an issue. That's what the issue tracker's for.


Move PeerSet from go-ipfs into go-libp2p-peer

As discussed in libp2p/go-libp2p-kad-dht#5 (with libp2p/go-libp2p-kad-dht#6 as a spin-off) this moves the PeerSet from go-ipfs/thirdparty/peerset into here.

@whyrusleeping when you get some free time :)


UMA resource registration response spec violation

Resource registration response should be corrected
from:

{
"resourceId":"3f88c89a-d3b8-4ebb-9567-08e5bb774d3c",
"policy_uri":null
}

to

_id (mandatory) and
user_access_policy_uri (optional)

Fixed with: https://github.com/wso2-extensions/identity-oauth-uma/pull/39


fix: Minimum pledge amount is not correctly rendered

fixes: #4238
This PR fixes the default value of Minimum funding amount not getting updated bug. With these changes, the value of the Minimum pledge amount is not defaulting to 20 across rerenders.
https://github.com/user-attachments/assets/c7320cff-127f-4e5f-863b-d8e52a778410
I think it fixes the bug. @frankie567

I tested this, and it does work.
However, I'm still curious as to why changing the value props doesn't re-render the MoneyInput component.

I tested this, and it does work. However, I'm still curious as to why changing the value props doesn't re-render the MoneyInput component.

By default, the value is assigned to internalValue using useState. So the value is set in the initial render but later on when the value of value changes useState doesn't cause a re-render because of its nature hence we get default value even after updating it. So a simple solution would be to use a useEffect to track the changes in value and keep it in sync with internalValue.

@frankie567 I've fixed and updated this one too.


Add processes check

This adds a check for the size of Mesos actors' mailboxes
calculated from __processes__ endpoint.

Thank you for contributing with the new check!


import: fix #4257, restrict memory usage by RocksDB

Signed-off-by: Lonng<EMAIL_ADDRESS>
What have you changed? (mandatory)
Before this PR, the block size is very large, causing too much memory to be consumed for each iterator. The approximate size was 1 MB × number of files in L0 (829 for a 703 GB engine file) × number of import jobs (32).
This PR removes the block size setting to reduce the memory usage.
What are the type of the changes? (mandatory)

Improvement (change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
Tested manually using a data set with size 6.5 TB
Does this PR affect documentation (docs) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No
Refer to a related PR or issue link (optional)
Part 5/7 split off from #4245.
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

@huachaohuang PTAL


Cluster

I saw other implementations of kmeans in the code. Why did you choose to use VCCS for clustering?

Thank you for your great question.
In fact, the core reason is the memory usage. Especially when the number of 3D Gaussian points is huge, the memory consumption of the K-means method is unacceptable. In addition, VCCS is designed for point cloud data, making it more effective at preserving the geometric features of objects by focusing on voxel connectivity. In our experiment, it can indeed meet our requirements.

Thank you for bringing this up! In this version of the code, the clustering function found in the lib directory  mainly references the Repository. And I wrapped it to fit the specific requirements of our task. If you’re interested in exploring how the clustering process is handled, I would recommend checking out the Repository, where you can find the original source code.


Add HTML DOM types

Diffs are mainly because of HTMLElement not including event handlers anymore.

Yes, but that map is now empty and not generated because HTMLElement does not directly include any event handlers anymore.
Sent from my Windows 10 phone

From: Mohamed Hegazy<EMAIL_ADDRESS>Sent: Saturday, July 7, 2018 2:12:55 AM
To: Microsoft/TSJS-lib-generator
Cc: Kagami Sascha Rosylight; Author
Subject: Re: [Microsoft/TSJS-lib-generator] Add HTML DOM types (#525)
@mhegazy commented on this pull request.

In baselines/dom.generated.d.tshttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FTSJS-lib-generator%2Fpull%2F525%23discussion_r200716269&data=02|01||c986400cd9c9456cb2b108d5e363b78e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636664939767199733&sdata=fcQ2%2Fs9%2FxZ%2BTG3rFlwfycHckOaoFlo6VK3N2TjqAEHo%3D&reserved=0:

@@ -5267,9 +5298,13 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
*/
text: string;
type: string;

addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;

addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;

HTMLElementEventMap already extends ElementEventMap
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FTSJS-lib-generator%2Fpull%2F525%23pullrequestreview-135091507&data=02|01||c986400cd9c9456cb2b108d5e363b78e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636664939767199733&sdata=qVyH83dFvdsKSrsODQqEtDtWXJNvs6F86b23wjAcFLg%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADPUTnV6l13V8jfIG3MpQWuB0bpy0mBcks5uD5qXgaJpZM4VE1X-&data=02|01||c986400cd9c9456cb2b108d5e363b78e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636664939767199733&sdata=S7DkLGiXaY%2F9Qf1pvS6NdXuwvTYG7FC7B82iXPqKfwQ%3D&reserved=0.

thanks!


..

Summary

Steps To Reproduce

Expected behavior

Environment

OS: [e.g. Mac OS X High Sierra, Ubuntu 18.04, Windows 10, ...]
OS version: [uname -a]
gopass Version: [gopass version]
Installation method: [e.g. from source, brew, gopass repo]

Additional context

What're you trying to say?

No response, closing. Please reopen if something comes up.


Workspace - Blue focus is shown when changing workspace name

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.2-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to settings
Workspace
Go to an existing workspace or create one
Click on the workspace name to go to the settings. (Don't go to the settings by clicking on 'Settings')
Change the name and Click the Enter Key on the Key Board to Save. (Don't click on the 'save' button to save.)

Expected Result:
The name changes and no Blue focus is shown on the Workspace Name
Actual Result:
The name changes and Blue focus is shown on the Workspace Name
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/d2877265-7290-4df4-8af4-321934fbf6cf

View all open jobs on GitHub

Production:
https://github.com/Expensify/App/assets/78819774/23a9fc14-71b4-4e3b-a10c-fe6531824395

Thanks @dukenv0307 you're alternative solution makes sense to me but I'm not very familiar and could use a second opinion from those on that focus trap PR.
@kosmydel @blazejkustra @roryabraham what do you guys think? Does it make sense to disable this focus trap by default?

I think the option above makes sense. @dukenv0307 are you available to work on a PR to fix all instances of this bug?

Actually, we'll just revert the original PR since it introduced other blockers.

The issue is resolved when I revert that PR

Agree with reverting the PR if that fixes it. We can try pushing that PR through again later after resolving the issue. Should I raise the PR or are you on it @luacmartins?

I think @kosmydel should work on v3 of that PR and fix this issue

Offending PR was reverted. Removing blocker label.

This should be all set


Fully remove part provider and last remaining references

What's changed?
Remove deprecated code in place for new functionality.
What's your motivation?
https://github.com/openrewrite/rewrite/issues/3754#issuecomment-1850988722
Anything in particular you'd like reviewers to focus on?
Is not a complete implementation due to time constraints, will be able to complete any final changes as needed. Not tested with build.
Anyone you would like to review specifically?
@timtebeek
Have you considered any alternatives or workarounds?
N/A
Any additional context
N/A
Checklist

[ ] I've added unit tests to cover both positive and negative cases
[x] I've read and applied the recipe conventions and best practices
[x] I've used the IntelliJ IDEA auto-formatter on affected files

Thanks for getting this started @Mgonzalez-droid ! Let's try to get this first one through, and then circle back here:

https://github.com/openrewrite/rewrite-migrate-java/pull/401

Currently still blocked by

https://github.com/openrewrite/rewrite-spring/pull/478
https://github.com/openrewrite/rewrite-static-analysis/pull/248

Thanks for the help in getting this started @Mgonzalez-droid !


Freeze while creating AdvancedDynamicTexture

Applcation Playground freezes while trying to create AdvancedDynamicTexture instance. https://imgur.com/a/TiFJh1i

Sorry, this somehow slipped through the cracks. We will look at it ASAP.

This issue is related to GUI/Canvas and dynamic texture. It will be fixed once the work on Canvas polyfill is done. Closing.