Feature Request: iw and aw

Feature Requested
Hi!
Thank you for the great plugin!
Please keep it small and simple in the future.
It also needs iw and aw implementation without any external plugins.
Relevant Screenshot
No response
Checklist

[X] The feature would be useful to more users than just me.

I already implemented iw and aw in another plugin, as linked in the readme.
Adding it to this plugin as well would be redundant, sorry.
Nvim-various-textobjs is, just like this plugin, fully written in lua, lightweight and easily lazyloaded.


biber crash

biber has recently started crashing immediately whenever called.
$ biber -v
IO/Compress/Zlib/Extra.pm did not return a true value at /loader/HASH(0x10105af50)/IO/Compress/Gzip.pm line 16.
BEGIN failed--compilation aborted at /loader/HASH(0x10105af50)/IO/Compress/Gzip.pm line 16.
Compilation failed in require at /loader/HASH(0x10083c738)/Compress/Zlib.pm line 12.
BEGIN failed--compilation aborted at /loader/HASH(0x10083c738)/Compress/Zlib.pm line 12.
Compilation failed in require at -e line 358.

This is biber installed by MacTeX. Running on OS X 10.10.2.

Are you running the "binary" version of biber or running against your own perl install? If the former, try deleting the biber cache.

It was the binary version. I couldn't find the cache because `biber --cache" also crashed. But I finally found it, deleted it, and things are back to normal. Will there ever be a self-repairing version of biber?

Yes, this is being addressed now by the Par::Packer module author - this is the module responsible for the unpacking in biber.

That is very good news. This has been the only challenge with the otherwise glorious transition to biber + BibLaTeX.

I recently encountered the same problem:

IO.pm did not return a true value at /loader/HASH(0x1008012d0)/IO/Handle.pm line 269.
BEGIN failed--compilation aborted at /loader/HASH(0x1008012d0)/IO/Handle.pm line 269.
Compilation failed in require at /loader/HASH(0x100801360)/IO/Seekable.pm line 101.
BEGIN failed--compilation aborted at /loader/HASH(0x100801360)/IO/Seekable.pm line 101.
Compilation failed in require at /loader/HASH(0x100801240)/IO/File.pm line 133.
BEGIN failed--compilation aborted at /loader/HASH(0x100801240)/IO/File.pm line 133.
Compilation failed in require at -e line 150.

fintelkai how did you fix this?

Which version are you using?

TeXShop 3.51 for Mac OS X

Which version of biber? You should be able to open a terminal and do "biber -v".

when i type that command I get
IO.pm did not return a true value at /loader/HASH(0x10088ef78)/IO/Handle.pm line 269. BEGIN failed--compilation aborted at /loader/HASH(0x10088ef78)/IO/Handle.pm line 269. Compilation failed in require at /loader/HASH(0x10088f008)/IO/Seekable.pm line 101. BEGIN failed--compilation aborted at /loader/HASH(0x10088f008)/IO/Seekable.pm line 101. Compilation failed in require at /loader/HASH(0x10088eee8)/IO/File.pm line 133. BEGIN failed--compilation aborted at /loader/HASH(0x10088eee8)/IO/File.pm line 133. Compilation failed in require at -e line 150.

I tried deleting the cache but that gives me the same error

Can you run the Tex Live Utility (which comes with MacTeX) and update biber?

i'll upgrade and let you know if the issue persists. thanks so far!

it appears the problem has been solved, the update worked. thanks a lot!


General optimizations

Thanks for writing this library, very cool!
These are just a few optimizations to avoid allocating where it is not needed, and to avoid certain costly operations (i.e. reversing a large vector)
If you think it is worth it in the future to add another dependency, another optimization would be to use a small stack allocated string array from arrayvec to prevent heap allocating format strings for each log entry. This would mean there would need to be some limit on the size of the displayed log entry, so it's not without some trade offs.

Great work! Thanks for your pull request
I was aware that performance wasn't great so this will be quite an upgrade I assume.
I will test in a few hours

If you think it is worth it in the future to add another dependency, another optimization would be to use a small stack allocated string array from arrayvec to prevent heap allocating format strings for each log entry. This would mean there would need to be some limit on the size of the displayed log entry, so it's not without some trade offs.

This could be added as an optional feature flag later on. I'm not sure about limiting the size of the log as it could be important in some environments (e.g. game engines).

If you think it is worth it in the future to add another dependency, another optimization would be to use a small stack allocated string array from arrayvec to prevent heap allocating format strings for each log entry. This would mean there would need to be some limit on the size of the displayed log entry, so it's not without some trade offs.

This could be added as an optional feature flag later on. I'm not sure about limiting the size of the log as it could be important in some environments (e.g. game engines).

That makes sense to me. As an alternative, I think it's probably worth it to cache the results of the list of displayed strings so that each frame does not construct the full list of format strings, but instead can pass references to each display string. That could be a separate PR though

If you think it is worth it in the future to add another dependency, another optimization would be to use a small stack allocated string array from arrayvec to prevent heap allocating format strings for each log entry. This would mean there would need to be some limit on the size of the displayed log entry, so it's not without some trade offs.

This could be added as an optional feature flag later on. I'm not sure about limiting the size of the log as it could be important in some environments (e.g. game engines).

That makes sense to me. As an alternative, I think it's probably worth it to cache the results of the list of displayed strings so that each frame does not construct the full list of format strings, but instead can pass references to each display string. That could be a separate PR though

Yes, I think that this pull request is good to go.


Tests (stable) error

The job tests (stable) fail with the following error:
Run gautamkrishnar/keepalive-workflow@v1
  with:
    gh_token: ***
    commit_message: Automated commit by Keepalive Workflow to keep the repository active
    committer_username: gkr-bot
    committer_email<EMAIL_ADDRESS>    time_elapsed: 50
    auto_push: true
  env:
    NIGHTLY_DDEV_PR_URL: https://nightly.link/ddev/ddev/actions/runs/1720215802/ddev-linux-amd64.zip
    DDEV_GITHUB_TOKEN: ***
    HOMEBREW_NO_INSTALL_FROM_API: 1
Error: {"command":"git push origin HEAD","exitCode":128,"outputData":"","errorData":"remote: Permission to robertoperuzzo/ddev-sqlsrv.git denied to github-actions[bot].\nfatal: unable to access 'https://github.com/robertoperuzzo/ddev-sqlsrv.git/': The requested URL returned error: 403\n"}

Hmm, this is working OK elsewhere. It looks like this has already failed 4 days in a row though.

I recommend opening an issue in https://github.com/robertoperuzzo/ddev-sqlsrv/issues/ - it's sure not clear to me what's going on. Also, run it manually.

I'm getting the same error on

ddev-tinker
ddev-cron

ddev-vscode-devcontainer also started but after making a commit, the scheduled tests started passing.

I see things like ddev-drupal9-solr continuing as always. I do wonder if it's something changed about the power of the default github token or the configuration of the project.

@tyler36 I changed your role on ddev-drupal9-solr to admin so you can have full privs to try to compare it to the projects that are failing, thanks!
And of course compare the current version of https://github.com/gautamkrishnar/keepalive-workflow

Perhaps Github changed something to prevent actions like keepalive from working around their cutoff.

That may be. But  I would think it would be affecting everything by now, and I haven't seen it on the ones I maintain. Good reason for an issue in https://github.com/gautamkrishnar/keepalive-workflow

@tyler36 I did the same update as you here and the keepalive is back to work.
I close this issue.

Thank you @rfay for your supervision!
Now the scheduled test action has successfully rerun, is it a sign that it is fixed, or not?
Probably I miss something ;)

Thanks so much for maintaining this!
The problem here is that the job of this is to push a commit, and that's what failed (it wasn't the action/workflow itself). But it only does it after time_elapsed days without a commit.  you just did a commit. So it's a given that for the next 50 days this will succeed (that's the default time_elapsed in there, see https://github.com/gautamkrishnar/keepalive-workflow#for-github-action). If you want to prove that it's going to work now sooner, you can temporarily change the time_elapsed to 1 for example and wait a couple of days.


use Ginkgo option to combine coverage reports

This allows us to upload coverage reports from our Windows builds.

There it is: https://codecov.io/gh/lucas-clemente/quic-go/src/coverage-reports/conn_windows.go

Codecov is not very helpful here:


systemd journal logging with extra fields

The systemd journal supports storing extra fields (check/alarm/action name, ..) along with the message. To be able to implement this with the log crate, the currently unstable kv_unstable feature is required.

The tracing crate and tracing-journald seem to support that.


Away

I know there are people waiting on pull requests and releases, but I'm end stage of my dissertation writing and simply don't have time to think about Scotty. I likely won't have time until May.
Are there any must haves waiting in Pull Request purgatory? Please speak up!
I'd like to merge in what is absolutely necessary and do a quick release, but don't have the cycles to review everything that has accumulated while I've been writing. :-(

How did that dissertation go? Did you finish it already?

Question, does this project have a maintainer at the moment? There are a lot of open issues and pull requests (including one of my own) and I'm wondering if I should consider this project abandoned.
CC @RyanGlScott

I've been keeping the project in "maintenance mode" for a while—that is, keeping it building when new versions of GHC are released, merging PRs that fix very minor issues and/or typos, etc. That being said, I'm far from an expert on webdev stuff, so I really don't feel qualified enough to make judgments on PRs that add new functionality or make breaking changes.
I agree that we should find someone who can serve as a proper maintainer and has the necessary expertise to discern which new features should be added (and which shouldn't be added). I haven't heard from @xich in a while, so it's unclear to me if he plans to return to that role at some point. I'll try contacting him to see if something can be arranged.

@RyanGlScott what's the status of this issue? Is someone heading up future development of Scotty? I use this framework very often, so I'd love to know that it has a plan for the future. If the role is vacant I'd be interested in helping!

https://github.com/scotty-web/scotty/issues/234


⚠ Jenkins Plugins Artifactory has degraded performance

In af5e6a3, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1172 ms

Resolved: Jenkins Plugins Artifactory performance has improved in e4b9034 after 12 minutes.


unnecessary box-shadow on buttons

As a user I want to see focused change view buttons without any borders
Actual result:

Expected result:

@HryshkoAnton could you specify the environment?


symfony 4.0 services

i got this error if i try to simply use the default solarium client:
The "solarium.client" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.
my code in a standard controller action:
$client = $this->get('solarium.client');
what can i do about this? thanks in advance.

Add this to your services.yml:
    my.solarium.client:
        alias: solarium.client
        public: true

Then use $client = $this->get('my.solarium.client'); to access the client in your controller.

Add this to your services.yml:
    my.solarium.client:
        alias: solarium.client
        public: true

Then use $client = $this->get('my.solarium.client'); to access the client in your controller.

thank you very much, works fine!


fixed  french typo causing build failure

I really need to learn how to use Git properly lol now what do i do with my own repo. I can't push anymore!

Thanks!


Response's toString() method causes NetworkOnMainThreadException upon falling request

Bug Report
Description
In Android, when logging the response object upon failing request, a fatal exception NetworkOnMainThreadException is thrown and causing the app to crash.
To Reproduce
"https://httpbin.org/get1" //404
    .httpGet()
    .responseString() { _, response, _ ->
        Log.e("ABC", response.toString())
    }

Expected behavior
Would be nice to print the actual http error
Development Machine

IDE: Android Studio
Fuel version: 2.2.2
Kotlin version: 1.3.72

Stack trace for crash
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.myapplication, PID: 1531
    android.os.NetworkOnMainThreadException
        at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1565)
        at com.android.org.conscrypt.Platform.blockGuardOnNetwork(Platform.java:424)
        at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:564)
        at com.android.okhttp.okio.Okio$2.read(Okio.java:145)
        at com.android.okhttp.okio.AsyncTimeout$2.read(AsyncTimeout.java:213)
        at com.android.okhttp.okio.RealBufferedSource.read(RealBufferedSource.java:61)
        at com.android.okhttp.internal.http.Http1xStream$FixedLengthSource.read(Http1xStream.java:602)
        at com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:397)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:347)
        at java.io.FilterInputStream.read(FilterInputStream.java:133)
        at com.github.kittinunf.fuel.util.ProgressInputStream.read(ProgressInputStream.kt:46)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:347)
        at java.io.FilterInputStream.read(FilterInputStream.java:107)
        at kotlin.io.ByteStreamsKt.copyTo(IOStreams.kt:106)
        at kotlin.io.ByteStreamsKt.copyTo$default(IOStreams.kt:103)
        at com.github.kittinunf.fuel.core.requests.DefaultBody.writeTo(DefaultBody.kt:87)
        at com.github.kittinunf.fuel.core.requests.DefaultBody.toByteArray(DefaultBody.kt:50)
        at com.github.kittinunf.fuel.core.BodyRepresentationKt.representationOfBytes(BodyRepresentation.kt:25)
        at com.github.kittinunf.fuel.core.requests.DefaultBody.asString(DefaultBody.kt:30)
        at com.github.kittinunf.fuel.core.Response.toString(Response.kt:50)
        at com.example.myapplication.MainActivity$onCreate$1.invoke(MainActivity.kt:18)
        at com.example.myapplication.MainActivity$onCreate$1.invoke(MainActivity.kt:9)

Android does prevent network on the main thread by default. you wouldn't get actual http error if you tried to run it on main thread.

Android does prevent network on the main thread by default. you wouldn't get actual http error if you tried to run it on main thread.

Hi thanks for replying. I do understand that request needs to be made in worker-thread. But in my example, I use Fuel's callback mechanism. If I understand correctly from READEME, it should already switch thread for making the request. For reference the below example works without throwing NetworkOnMainThread exception:
"https://httpbin.org/get" //200
    .httpGet()
    .responseString { _, response, _ ->
        Log.e("ABC", response.toString())
    }

So the only problem is when the request failed (400/401/404...), calling response's toString() method mysterically causes the exception.

@wenhaowu-finnair I tried the following code and it works perfectly (with error of 401 NOT_FOUND ofc)
"https://httpbin.org/get1"
            .httpGet()
            .responseString { request, response, result ->
                println(request.toString())
                println(result.toString())
            }

Result
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: --> GET https://httpbin.org/get1?key=value
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: Body : (empty)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: Headers : (1)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: Device : Android
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: [Failure: HTTP Exception 404 NOT FOUND
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	com.github.kittinunf.fuel.core.FuelError$Companion.wrap(FuelError.kt:84)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	com.github.kittinunf.fuel.core.FuelError$Companion.wrap$default(FuelError.kt:83)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	com.github.kittinunf.fuel.core.requests.RequestTaskCallbacks.call(RequestTaskCallbacks.kt:30)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	com.github.kittinunf.fuel.core.requests.RequestTaskCallbacks.call(RequestTaskCallbacks.kt:20)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	java.util.concurrent.FutureTask.run(FutureTask.java:266)

Can you check whether there is something wrong on your side?

@wenhaowu-finnair I tried the following code and it works perfectly (with error of 401 NOT_FOUND ofc)
"https://httpbin.org/get1"
            .httpGet()
            .responseString { request, response, result ->
                println(request.toString())
                println(result.toString())
            }

Result
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: --> GET https://httpbin.org/get1?key=value
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: Body : (empty)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: Headers : (1)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: Device : Android
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: [Failure: HTTP Exception 404 NOT FOUND
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	com.github.kittinunf.fuel.core.FuelError$Companion.wrap(FuelError.kt:84)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	com.github.kittinunf.fuel.core.FuelError$Companion.wrap$default(FuelError.kt:83)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	com.github.kittinunf.fuel.core.requests.RequestTaskCallbacks.call(RequestTaskCallbacks.kt:30)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	com.github.kittinunf.fuel.core.requests.RequestTaskCallbacks.call(RequestTaskCallbacks.kt:20)
2020-05-15 13:15:15.861 18476-18476/com.example.fuel I/System.out: 	java.util.concurrent.FutureTask.run(FutureTask.java:266)

Can you check whether there is something wrong on your side?

Hi thinks for replying. The problem is with response's toString method, not request nor result. Could you try with that?

Ahh, I missed that ...
Yeah with the response.toString(), it basically read/touch the InputStream for a response once again.
In the callback, we switch back automatically to the main thread in the case of Android. So it is kinda similar to touching the network on the main thread. So, the NetworkOnMainThread exception is thrown.
I think it should crash regardless whether it is success or failure though >_<

@kittinunf Good to know. Can you elaborate more about this:

Yeah with the response.toString(), it basically read/touch the InputStream for a response once again.

So if I understand it correctly, does it mean the actual request would be sent again when we call toString()?

@kittinunf this has not been fixed
any work around?

@kittinunf this has not been fixed
any work around?

i tried using FuelManager with ResponseInterceptor (mentioned in #756 ] seems able to go around the NetworkOnMainThreadException issue.
val manager = FuelManager()
manager.addResponseInterceptor(LogResponseInterceptor)
manager.request(....)


[Bug report] load lots of file image, sometimes will show too many files open

Version
8.1.1
Platforms
dart, iOS
Device Model
iPhone 13
flutter info
[✓] Flutter (Channel stable, 3.13.8, on macOS 14.0 23A344 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.13.8 on channel stable at /Users/bmi/fvm/versions/3.13.8
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6c4930c4ac (5 weeks ago), 2023-10-18 10:57:55 -0500
    • Engine revision 767d8c75e8
    • Dart version 3.1.4
    • DevTools version 2.25.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/bmi/Library/Android/sdk
    • Platform android-33, build-tools 34.0.0
    • ANDROID_HOME = /Users/bmi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

How to reproduce?
use ExtendedImage.file method to load lots of file images.
I found the source code not to cache the file object, which will cause the files open too many times, the 'too many files open' error shows.
Logs
No response
Example code (optional)
No response
Contact
No response

The same as Image.file, it's better to provide a runnable demo to reproduce it

I think use custom ImageProvider with flutter_cache_manager might fix it. It's not easy to reproduce.

The same as Image.file, it's better to provide a runnable demo to reproduce it

I think use custom ImageProvider with flutter_cache_manager might fix it. It's not easy to reproduce.


fix npe for a couple of methods

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
Fix https://github.com/Azure/azure-sdk-for-java/issues/25231
It mainly resolves three parts:

add additional protection for vmss methods

storageProfile()
networkProfile()
virtualMachinePublicIpConfig()
applicationGatewayBackendAddressPoolsIds()
applicationSecurityGroupIds()
isIpForwardingEnabled()
isAcceleratedNetworkingEnabled()
networkSecurityGroupId()
applicationGatewayBackendAddressPoolsIds()
applicationSecurityGroupIds()
isManagedDiskEnabled()

add additional initVMProfileIfNecessary() to with methods
This is due to scenarios where updating vm profile properties on vm flex with no profile. It initializes default vm profile when trying setting properties. However, while sdk is already supporting this feature, updating vm profile on vmss flex with no profile has some bug in service side.
There is an alternative to solving this issue, that is to throw an unsupported exception when attempting to update an empty vmss flex. This isn't the approach that I take.
remove initVMProfileIfNecessary() in method primaryNicDefaultIpConfiguration()
I discovered that it is not appropriate to init vm profiles when calling primaryNicDefaultIpConfiguration(). It's called by some query methods and will have undesired side effects.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/check-enforcer override


Information to be supplemented (Dev)

https://github.com/logspace-ai/langflow
https://github.com/hwchase17/langchain
https://github.com/microsoft/semantic-kernel

https://github.com/circlestarzero/EX-chatGPT
https://github.com/kaixindelele/ChatPaper

ChartPaper is pretty Good✨

https://github.com/mayooear/gpt4-pdf-chatbot-langchain

https://github.com/Azure-Samples/azure-search-openai-demo


"On this page" dropdown menu width

The "On this page" dropdown is sometimes very wide
Normal:

Too wide:

In which circumstances do you see this?  I haven't been able to replicate on my setup (Google Chrome, MacOS) so far.

Whenever the window is narrow enough to display both the "menu" and "on this page" buttons on the ancillary top bar, pushing the "on this page" button to the far right. i.e. on narrow windows.
It only looks bad when it is both narrow enough to display on the right and wide enough that filling the whole width looks bad.
Tested on IceCat, Firefox, and Chromium on Asahi Linux, but I doubt this is OS or browser dependent.


No option for heartbeat subscription

Are there any plans to extend the class to include the ability to subscribe to heartbeats? As of now I see no way to handle this.

Great callout @trecchia .  I will get working on this after all additional endpoints are supported.

Please see the commit mentioned here. I have added this functionality, but when I send the message to the websocket server, no responses are received.

Hi @trecchia -- After making this change, I am still having trouble receiving messages. I attempted this in my original testing, but have committed this for your review. I apologize for the late response and not tagging the most recent commit with this issue.

Hey @danpaquin, so I think the problem is using "is" for equality comparison. Because "is" is an identity comparison, I believe it won't consider those two strings to be True and thus neither condition is actually met. Try changing it to:
        if self.type == "subscribe":
            sub_params['product_ids'] = self.products
        elif self.type == "heartbeat":
            sub_params['on'] = "true"

That said, another thing I noticed when attempting to get this to work myself was that you need to send two separate messages to GDAX in order for it to work. So you'd need to do a self.ws.send(json.dumps(sub_params)) twice- once for the product subscription and another for the heartbeat. Let me know if this makes sense/helps!

This has been completed.  Thank you for your help @trecchia.  See below for my implementation.  I will be closing this out in 48 hours if there are no more issues.
import GDAX, time
class myWebsocketClient(GDAX.WebsocketClient):
    def onOpen(self):
        self.type = "heartbeat"
        self.url = "wss://ws-feed.gdax.com/"
        self.products = ["BTC-USD", "ETH-USD"]
        self.MessageCount = 0
        print "Lets count the messages!"
    def onMessage(self, msg):
        if msg['type'] == "heartbeat":
            print(msg)
        #else:
            #print "Message type:", msg["type"], "\t@ %.3f" % float(msg["price"])
        self.MessageCount += 1
    def onClose(self):
        print("-- Goodbye! --")

wsClient = myWebsocketClient()
wsClient.start()
#print (wsClient.url, wsClient.products)
# Do some logic with the data
while (wsClient.MessageCount < 500 and not wsClient.stop):
    time.sleep(1)
    print ("\nMessageCount =", "%i \n" % wsClient.MessageCount)
wsClient.close()

Yep this did it- working on my end with these changes. Thank you!


692 add javascript unit tests for clinvar export vuejs app

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@3fd4370). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #703   +/-   ##
=======================================
  Coverage        ?   83.93%
=======================================
  Files           ?      129
  Lines           ?    13339
  Branches        ?        0
=======================================
  Hits            ?    11196
  Misses          ?     2143
  Partials        ?        0

Flag
Coverage Δ

javascript
83.93% <0.00%> (?)

python
83.93% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add strict-ssl option

passes it onto electron-download

I ammended the commit with the changes you have suggested.

I've expanded the usage to include an example

:+1: Thanks for your contribution!

thankyou.. any chance of a release soon?


Use -o json when using 'kubectl get' to get more reliable output

Don't parse human-readable output when we could be using JSON.  Currently 'grep' is used and is prone to errors when the human readable output changes or grep does not account for all possible output.

We already did this for finding workers so reuse for masters.  Fixed with PR #72


Allow caching keys in PSA Crypto

Description

Type: Enhancement\Feature Request

Enhancement\Feature Request
Currently, the PSA Crypto core in mbed TLS loads keys into memory upon first use, and caches them opportunistically as long as there are key 'slots' available for new operations to load their keys into.
Since loading keys from persistent storage can be a rather costly operation in terms of processing time, can we add a duo mbedtls_psa_key_cache / mbedtls_psa_key_release to allow the user to add/subtract the reference count of a key slot, and thereby forcibly keep often-accessed keys in the cache?
Justification - why does the library need this feature?
Performance enhancement.
Suggested enhancement
Add an mbedTLS-specific API to allow the user to add/subtract the reference count of the keys loaded in memory.
@ronald-cron-arm

This is basically what psa_open_key were psa_close_key at one point (though not now: currently a key can be flushed from the cache even if it's “open”).

Sure. So would there be an opportunity to keep psa_open_key and psa_close_key around as non-deprecated implementation-specific functions, and change them back to actually update the key reference counter?

Perhaps. But if that's the sole effect, the open/close API is not very nice, with its unused ability to have a “handle” that's different from the key id. Let me discuss this with others first.

We discussed this in the PSA Crypto API design group. There is interest in making this a PSA feature (optional, as with other parts of PSA crypto). We've settled on the following names:
psa_status_t psa_pin_key(psa_key_id_t key);
psa_status_t psa_unpin_key(psa_key_id_t key);

A pinned key remains in memory until unpinned or destroyed (or until a system reset).
Plausible statuses for psa_pin_key:

PSA_SUCCESS: the key is guaranteed to remain in memory until as many calls to psa_unpin_key have been made as calls to psa_pin_key. (So it's a refcount, not just a boolean.)
PSA_ERROR_INVALID_HANDLE: key does not exist.
PSA_ERROR_INVALID_ARGUMENT (or INVALID_HANDLE? or SUCCESS?): key is volatile.
PSA_ERROR_INSUFFICIENT_MEMORY: the key was not already loaded and could not be loaded.
PSA_ERROR_NOT_SUPPORTED: this implementation does not support persistent keys mbedtls: !defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)), or does not support pinning them (mbedtls: N/A).

Plausible statuses for psa_pin_key:

PSA_SUCCESS
PSA_ERROR_INVALID_ARGUMENT: key is not present in memory (even if it exists in storage: we don't want to check storage there) or is not pinned.

Cc @athoelke , @ronald-cron-arm

@gilles-peskine-arm  - typo in the description: the final section are "Plausible statuses for psa_unpin_key" (not psa_pin_key)
Do we want to have a suggested status response for a key that is managed by a component for which caching does not occur or cannot be controlled at all? - is PSA_ERROR_INVALID_ARGUMENT appropriate?
Usage flags and this API. Which approach should we take:

psa_pin_key() requires the key to have PSA_KEY_USAGE_CACHE
psa_pin_key() requires the key to have PSA_KEY_USAGE_PIN (a new usage policy flag)
psa_pin_key() does not check any key policy (i.e. it works even for keys that cannot be cached automatically)

We should make a specific decision, as we can make a reasonable justification for any of these options. They have different impacts on the rewording of the spec in relation to the description of PSA_KEY_USAGE_CACHE.
Although (1) is tempting, the USAGE_CACHE attribute was designed to allow an application control over automatic caching of key material. This new API gives the application direct control of caching a key, so it can be argued to be independent of the existing USAGE_CACHE policy.

Is there a good reason to require a specific flag to allow keys to be cached? The way it is setup now, a key will be cached during an entire operation (in case of multipart API usage) already, regardless of its flags.
If I understand the situation correctly, there are today no keys that wouldn't be able to be cached, so it's IMO not a functional concern.

The reason PSA_KEY_USAGE_CACHE exists is to allow applications to keep control of where there are copies of a key. During an operation, it's unavoidable that there are copies of a key in memory. But when there is nothing going on that would require the key, the secure expectation is that there are no other copies. Hence keeping an extra copy in memory (for performance) requires a permission from the application. It defaults off so that the default is the most secure behavior.
I didn't think PSA_KEY_USAGE_CACHE should influence pinning because pinning is explicit. From a security perspective, it's something the application can do anyway by calling psa_get_key_attributes or some operation function in a loop.

@stevew817 - I was thinking of keys that are stored and used within a Secure Element, that does not provide any ability for the PSA Crypto implementation to control how the key material is managed.
@gilles-peskine-arm - option 3 was also my preference, after writing them all down and considering the relationship between these features.

I share your gut feeling, which is that explicit pin/unpin is a 'stronger' action than auto-caching behaviour.
I don't think that the return value for s2 should necessarily be an error. Conceptually, you first told the core explicitly to keep a key at hand, then you tell it to remove (purge) all non-essential copies of the key from memory. I'd consider the explicitly pinned key an essential copy, and so s2 would report success.


users.rust-lang.org / internals.rust-lang.org posts per day

Adding links for now, will scrape later.

Boilerplate: I'm going to refocus this project on rfcbot, since that's the primary usage rusty-dash.com is seeing.


TriggerAuthentication/Vault: add support for vault namespace

Proposal
Support TriggerAuthentication for Vault Enterprise. For now, the Vault namespace feature can not be operate by TriggerAuthentication.
In the TriggerAuthentication spec, add an optional "spec.hashiCorpVault.namespace" in order to be compliant with all Vault install (and update the Vault authentication sequence accordingly).
Currently, it's not possible to setup a Vault TriggerAuthentication when using a namespace-based Vault server.
I could be useful to provide, in the spec, an optional "spec.hashiCorpVault.namespace" in order to be compliant with all Vault install.
Notes:
I checked Keda code and the corresponding handler do not implement namespace handling (https://github.com/kedacore/keda/blob/main/pkg/scaling/resolver/hashicorpvault_handler.go).
Here's an example of how to support namespace: https://github.com/hashicorp/vault/blob/main/api/client.go#L486
Use-Case
This allow to perform Vault authentication on a Vault Enterprise platform organized with isolated namespaces.
This way, any team in some organization can manage its own Keda trigger authentication within its own Vault namespace.
Anything else?
Useful links:

Vault Namespace doc
Hashicorp Vault Go client example with Vault namespace support
Keda Vault handler source

Relates to https://github.com/kedacore/keda/discussions/2080

fixed in #2085


fix: iOS crash when WebView's title is nil

This crash is found in our fabric.
I can't reproduce it.
But this protection is needed because in Apple's doc the title property is nullable.

@allcontributors[bot] please add @TMomemt for code


Added property: ´retryCountOnTaskFailure´

This is a proposed fix for #8

@NenoLoje : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Question] Every few days all rl-zoo jobs on a node stop without any errors and I can't figure out why

In my trials tuning both pettingzoo gym environments, all optuna jobs on one node have just simply stopped twice now. There have been no system errors, nothing printed to stdout, the processes have all stopped (no zombie processes etc.), and the jobs have been very far from finishing and can simply be restarted by connecting them to the sql server again seemingly without issue. They just sort of magically stop and I have no idea why. Have you seen anything like this before?

Hello,
I supposed you are using a cluster?
Make sure you did not use more cluster resources (RAM, time, ...) that you asked for...

I already checked that (audio it would generate an error to stdout)

If it stops without any trace, I think it might be killed by the kernel. The linux kernel usually only does this for severe reasons, like running out of RAM or system volume space, like Antonin mentioned. There might be more info in /var/log/kern.log (related StackExchange question).


Trident doesn't properly filter offline ONTAP volumes

When a volume is offline in ONTAP it does not send back all required attributes that Trident needs to know about. Code was added in 18.04 to filter for only "online" volumes to avoid issues with this, however that doesn't seem to be working in the latest code. Here is the volume-get-iter request with 18.07.0-beta.1:
<?xml version="1.0" encoding="UTF-8"?>
        <netapp xmlns="http://www.netapp.com/filer/admin" version="1.21" vfiler="XXXXX">
             <volume-get-iter>
     <desired-attributes>
         <volume-attributes>
             <volume-export-attributes>
                 <policy></policy>
             </volume-export-attributes>
             <volume-id-attributes>
                 <containing-aggregate-name></containing-aggregate-name>
                 <name></name>
             </volume-id-attributes>
             <volume-security-attributes>
                 <volume-security-unix-attributes>
                     <permissions></permissions>
                 </volume-security-unix-attributes>
             </volume-security-attributes>
             <volume-snapshot-attributes>
                 <snapdir-access-enabled>true</snapdir-access-enabled>
                 <snapshot-policy></snapshot-policy>
             </volume-snapshot-attributes>
             <volume-space-attributes>
                 <size>0</size>
             </volume-space-attributes>
         </volume-attributes>
     </desired-attributes>
     <max-records>100</max-records>
     <query>
         <volume-attributes>
             <volume-id-attributes>
                 <name>netappdvp_*</name>
                 <style-extended>flexvol</style-extended>
             </volume-id-attributes>
         </volume-attributes>
     </query>
 </volume-get-iter>
        </netapp>

Note that the <query> object is missing the state attribute

Have confirmed this resolved the issue.  Good Job Team!


Audio conversion only -- i.e. wav to mp3

Is this possible? I saw a spec that mentioned audio-only conversion, but am unsure how to implement with the current configuration.

Is this now possible & how?

As my note suggested, please check the specs here: https://github.com/streamio/streamio-ffmpeg/pull/140/files. They provide an example.


🕸 Implement cluster commands

:construction: WIP: Cluster API
This changeset will resolve #37 :rocket:
Commands to implement and test

[x] cluster_addslots
[ ] cluster_bumpepoch
[x] cluster_countfailurereports
[x] cluster_countkeysinslot
[x] cluster_delslots
[x] cluster_failover
[x] cluster_flushslots
[x] cluster_forget
[x] cluster_getkeysinslot
[x] cluster_info
[x] cluster_keyslot
[x] cluster_meet
[x] cluster_myid
[x] cluster_nodes
[x] cluster_replicate
[x] cluster_reset
[x] cluster_saveconfig
[ ] cluster_setconfigepoch
[x] cluster_setslot
[x] cluster_slaves
[x] cluster_replicas
[x] cluster_slots
[x] readonly
[x] readwrite

Additional requirements

[x] Update README
[x] Match coding style and argument names

I didn't implement CLUSTER BUMPEPOCH and CLUSTER SET-CONFIG-EPOCH because per the Redis docs, config epoch management should be performed internally by the cluster. Looking at jedis and go-redis, they left it out as well. Let me know if you think they should be in the API.

The cluster tests need to be run against a cluster enabled redis-server, which will interfere with other tests since in cluster mode some functionalities are disabled. So for now I don't include them in redis_test.ts, but they can be run separately. As I investigate go-redis, they spin up standalone redis-servers for testing with suitable mode. @uki00a What is the best way to move forward with the tests here?

First of all, thanks for submitting this PR @tumile!

they spin up standalone redis-servers for testing with suitable mode.

That is exactly what I want to do. (#104)
Evetually, I want to run the cluster tests in the CI :smile:

I see. Has there been any plan for #104? This PR can wait till then don't you think?

@tumile

Has there been any plan for #104?

I added startRedisServer() function in tests/test_util.ts. (#113)
With it, could you include the cluster tests in CI?

I'm thinking about adding a startRedisCluster or something to, well, start multiple servers for the tests. I'll update as soon as I get it done.

I currently use a timeout at the end of file to clean up the redis cluster after tests in cluster_test.ts. There's no afterAll hook or something like that in Deno I believe. This is a problem when running with other long running tests like pubsub_test.ts or bzpopmin timeout, the cluster may be cleaned up before the cluster tests have a chance to run. My workaround now is to set the cleanup timeout really high (20s) to make sure every tests have run. This is unsound.
https://github.com/tumile/deno-redis/blob/6942c252a67ecaaf74c3280c7300a0577cdef802/tests/cluster_test.ts#L108-L112
Is there a way to ensure all tests have run before cleanup? I tried putting cleanup in another test, but Deno complains about leaking.

https://deno.land/manual/testing
You may have looked at this already, and it's my first time reading it, but I don't see any simple/prepackaged way to accomplish what you're asking. Will probably require a creative hack or some third party test util(if such a thing exists)?

There is an option to run each test file in serial, so test timeouts will not interfere with others. I don't think this is a bad idea, with #114 it's probably good to put all commands tests in a single file and start a redis instance. Tests like cluster and pubsub tests, which require customized instances, will be run separately.
Still, this doesn't solve using timeout for cleanup, but a test will not suddenly fail if some others take longer than expected.

Is there a way to ensure all tests have run before cleanup? I tried putting cleanup in another test, but Deno complains about leaking.

How about the following? :thinking:
async function makeClusterTest(): Promise<{
  test: (name: string, fn: () => Promise<void>) => void,
  client: Redis
}> {
  const cleanupCluster = await startRedisCluster();
  const client = await connect({ hostname: "<IP_ADDRESS>", port: 7000 });
  const tests = [] as Array<{ name: string, fn: () => Promise<void> }>;

  function test(name: string, fn: () => Promise<void>): void {
    tests.push({ name, fn });
  }

  function runTests(): Promise<void> {
    const promises = [] as Promise<void>[];
    for (const test of tests) {
      Deno.test(test.name, () => {
        const promise = test.fn();
        promises.push(promise);
        return promise;
      });
    }
    return Promise.allSettled(promises).finally(() => {
      cleanupCluster();
      client.close();
    });
  }

  return { test, client, runTests };
}

const { test, client, runTests } = makeClusterTest();

test("[cluster] flushslots", async () => {
  ...
});

...

runTests();

Looks promising, I'll test it in a bit. How about wrapping the makeTest/makeClusterTest in a class? Probably cleaner.

@uki00a can you review my test implementation? I think if it's good, we can roll this out to other tests as well!

I've addressed the comments 😁. Please review again

Released in v0.11.0!


Update artifact-sources.md

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[x ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

https://harness.atlassian.net/browse/CDS-56908

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

just adding 3 more artifact types. nothing for peer review

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


refactor!: remove builder return param from init

Closes https://github.com/celestiaorg/celestia-app/issues/2157
A separate Init() function seems kinda like an anti pattern. If it must always be called after NewBuilder, why doesn't NewBuilder call it? @mojtaba-esk

A separate Init() function seems kinda like an anti pattern. If it must always be called after NewBuilder, why doesn't NewBuilder call it? @mojtaba-esk

Don't remember the rational behind it, I checked the code and probably the reason does not exist any more. So we can merge the two functions.
@evan-forbes ^


docs(testing): fixed link to detox readme

Describe your PR

Closes #2267

Just removed some brackets around the markdown link

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ Bofrost.ch has degraded performance

In 07ee286, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 2239 ms

Resolved: Bofrost.ch performance has improved in fecf67d after 19 minutes.


Distance - 404 error appears in console after creating distance request

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.22-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 workspace chat
Click + > Request money > Distance
Create a distance request

Expected Result:
There will be no console error after creating distance request
Actual Result:
404 error shows up after creating distance request
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/3335c82d-977d-456d-9a85-57787ffb7383
View all open jobs on GitHub

I tested it myself and it also appears to try to fetch the same URL

https://staging.expensify.com/1b96fa279dcd8a80ee9f.png?encryptedAuthToken=

It's not causing any issues - but it kind of looks similar to an issue pointed back here https://github.com/Expensify/App/issues/30319

Okay, looks like that URL is for the optimistic receipt - the generic receipt image
import ReceiptGeneric from<EMAIL_ADDRESS>Going to see where this is hosted

Proposal
Please re-state the problem that we are trying to solve in this issue.
The receipt image can't be found for distance requests.
What is the root cause of that problem?
When we create a new distance request, we set a local asset image as the optimistic receipt image.
https://github.com/Expensify/App/blob/2d455bfb820b13fc83a5dd4057f19516faf2f238/src/libs/actions/IOU.js#L870-L873
And the isLocalFile condition here doesn't consider the case of the web local asset.
https://github.com/Expensify/App/blob/2d455bfb820b13fc83a5dd4057f19516faf2f238/src/libs/ReceiptUtils.ts#L69-L70
So, isLocalFile is always false.
If isLocalFile is false, we will try to load the image as if it's a remote image.
https://github.com/Expensify/App/blob/2d455bfb820b13fc83a5dd4057f19516faf2f238/src/components/ReportActionItem/ReportActionItemImage.js#L64-L73
What changes do you think we should make in order to solve the problem?

Add a new condition to isLocalFile to check for the local file.
const isLocalFile = ... || path === ReceiptGeneric;

This is another regression from https://github.com/Expensify/App/pull/33946
cc: @namhihi237

I can not reproduce it on a local, anyone can reproduce it.

Seem this issue only reproduce on the remote server.

Do we use right the domain host for image staging.expensify.com when i update to staging.new.expensify.com, it works

Still repro on build 1.4.22-2
https://github.com/Expensify/App/assets/43995119/389ba213-3e3c-42a3-bb59-1c078a1b0882

We're handling this regression in this PR https://github.com/Expensify/App/pull/34030

Verified this is fixed on staging now


Correction for raw affiliation APCoSS, Institute of Physical Education and Sports Sciences (IFEPSA), UCO, Les Ponts de Cé, France; CNRS, UMR6214, Inserm, U771, Medical School, University of Angers, Angers, France

Correction needed for raw affiliation APCoSS, Institute of Physical Education and Sports Sciences (IFEPSA), UCO, Les Ponts de Cé, France; CNRS, UMR6214, Inserm, U771, Medical School, University of Angers, Angers, France
raw_affiliation_name: APCoSS, Institute of Physical Education and Sports Sciences (IFEPSA), UCO, Les Ponts de Cé, France; CNRS, UMR6214, Inserm, U771, Medical School, University of Angers, Angers, France
new_rors: 02feahw73;04yrqp957;02vjkv261
previous_rors: 02feahw73;02nwvxz07;04yrqp957;02vjkv261
works_examples: W1997869713
contact: 33a1b90ffc94e8f3eabf75e917384490:83f02101627067daf492fae6d6889d @ recherche.gouv.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


chore(deps)

chore(deps)
chore: remove root

#146  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


[Bug] Disconnect sometimes alone

Describe the bug
When I create in a ".sk" file, an "on join" then I put any global variable but several and when I then do an "on quit / disconnect" then I delete all my global variables, when I connect and disconnected several times, it tells me that skungee has disconnected from the bungeecord.
Once disconnected, I restart my script so that I can connect perfectly to the bungee and it works.
But the problem is that it shouldn't get disconnected a few times.
BungeeSK latest (V2.0)
Skript latest (2.6.3)
Message Disconnect of BungeeSK: [BungeeSK]: BungeeSK » Server disconnected: <IP_ADDRESS>:25566 (Lobby01)

The problem comes from a plugin for the bungeecord sorry for the inconvenience.


Make AWS region & endpoint configurable for EMR Operator

This allows to configure either AWS region or endpoint for AWS service clients
that are used in EMR operator.

@komamitsu updated with doc changes. Made endpoint setting optional because we can deduce it if AWS or service region was set.

@komamitsu updated, hope it looks correct now.

@saulius Great. Thanks!
I'll merge this pull request after checking the result of CI tests.


Web Stereoscopic Support

Started working on a web version of the stereoscopic and that is going to require some changes to the upload of data.  At the very least we needed a way to add the multicam dialogs to the web version.
Tasks Completed:

Converted openFromDisk to be used in both web and Desktop
Moved ImportButton and ImportMultiCamDialog to dive-common where both web and desktop can use their functionality.
Moved types for import files to dive-common as well so they can be used while importing data
Created a openFromDisk in viame.service.ts (will probably move it elsewhere it doesn't really belong there, maybe in a different spot).  Added filetype filtering to the open dialog that should
Removed girder dropzone to replace it with the import buttons
Updated pendingUpload to display the media files, annotation file and meta file individually as well as allow the user to edit it.

TODO:

[ ] Update the new media, annotation, meta files so they effect the upload properly
[ ] Fix the multiple video file upload issue that is happening, needs to subdivide into individual uploads
[ ] Handle upload of multicam/stereo data and create a display mechanism for it in the upload dialog.
[ ] Backend support/validation for stereoscopic.
[ ] Other stuff that I'm not thinking about yet,

@subdavis - just looking for initial impresses and if I am on the proper track.  It's a prerequisite to get stereo data uploaded into web to be able to use it anyway.
https://user-images.githubusercontent.com/61746913/116925887-c6909c00-ac27-11eb-986b-d1997ac4b295.mp4

I drew this while we were talking earlier.  I'll read through and watch the video when my meetings are over.  Thanks for the write-up.

I like that mock-up and will probably change stuff to look a bit more like that.

You don't need to change anything yet.  We can make a second pass later if what you have now is a good first pass.


domain registars

missing domain registrars in admin settings when try to setip domain. how to add it?

you can delete this issue


Implement checkLogin API to verify the user credentials and it will be part of login functionality.

When we send login request the response message will contain one of the following messages:

"Credential {said} presented for {aid} is cryptographically valid.". In this case we can proceed with the /checklogin requests flow.
"credential {said} from body of request did not cryptographically verify"`. In this case we can say that credential is not                                                        cryptographically valid and we can't proceed. But this case is impossible when we request a credential from browser extension.

After that we need to send /checklogin requests until we get one of the following messages in the response:

"unknown AID: {aid}". It means that we send the /checklogin request using unknown AID(the one which hasn't been used to login)
"AID {aid} w/ lei {acct.lei} presented valid credential". It means that we have been successfully logged in and can proceed with uploading reports.
"identifier {aid} presented credentials {state.said}, w/ status "Credential authorization expired", msg: {state.msg}".  It means that the auth session time has expired and you need to login again.
"identifier {aid} has no access and no authorization being processed". In general it will mean that the auth session time has expired and you need to login again.
"identifier {aid} presented credentials {state.said}, w/ status "Credential unauthorized", msg: {state.msg}".  It means that the authorization failed. The reason of failure you can get from msg. Possible msg values:
- "Can't authorize cred with {Schema.schema_names[creder.schema]} schema". It means that credential is not an ECR credential.
- "Can't authorize cred with unknown schema {creder.schema}". It means that credential is not an ECR credential and the credential schema is unknown.
- "unknown issuer {creder.issuer}". It means that the issuer of the credential has unknown AID.
- "unknown issuee {creder.attrib["i"]}". It means that the credential issuee has unknown AID.
- "LEI: {creder.attrib["LEI"]} not allowed". It means that the credential LEI is not presented in the list of allowed LEI's
- "{creder.attrib["engagementContextRole"]} is not a valid submitter role". It means that the Engagement Context Role is not valid.
In case if you get "identifier {aid} presented credentials {state.said}, w/ status "Credential pending authorization", msg: {state.msg}" from the /checklogin response you'll need to keep sending /checklogin requests while you're getting this message("identifier {aid} presented credentials {state.said}, w/ status "Credential pending authorization"). It means that the authorization is pending.

checklogin api integrated and merged


Sound and Voice Volume Sliders Non-Functional in Preferences Menu

Description:
The "Sound" and "Voice" volume sliders in the preferences menu currently do not control any audio in the game. Only the "Music" volume slider seems to have an effect, adjusting the overall sound for the game.
Upon reviewing the code, I found that the sliders for "Sound" and "Voice" are present, but they don't seem to be connected to any specific audio channels (like sound effects or voice clips). Additionally, the test buttons for these sliders are also not functional because no sample sound or voice is defined.
Additionally, when using the "Mute All" button, the currently playing music restarts instead of simply being muted, which may be unintended behavior.

Steps to Reproduce :

Go to the Preferences menu.
Try adjusting the "Sound" or "Voice" volume sliders.
Notice that no sound or voice clips are played, and the sliders do not change any in-game sound behavior.
Press the "Mute All" button while music is playing, and notice that the music restarts.

Expected Behavior:

The "Sound" volume slider should control in-game sound effects .
The "Voice" volume slider should control any voice clips associated with character dialogue or voice-over.
Test buttons for both sound and voice should play a sample file if available.
The "Mute All" button should mute the audio without restarting the current track.

Suggested Solution:

Implement sound effects for specific in-game actions, tied to the sound channel, and allow the "Sound" slider to control them.
Add voice clips for character dialogue or narration, tied to the voice channel, and allow the "Voice" slider to control them.
Provide sample sound and voice files to test the sliders from the preferences menu.
Ensure that the "Mute All" button mutes all audio without restarting the currently playing music.
This addition would make the volume controls more functional and improve the user experience.

Note: I am participating in the GirlScript Summer of Code (GSSoC) as a contributor, and I hope to improve the game experience through my suggestions.

@Lonewolf124
Thanks for your suggestions. So, do you want to contribute?

@Lonewolf124 Thanks for your suggestions. So, do you want to contribute?

Thank you for asking! Yes, I’d be happy to contribute. I can work on implementing the functionality for the sound and voice sliders as per the issues I raised. If there's any additional guidance you'd like to provide , then feel free to let me know.


Exif Date missing seconds values

I started from SDK code in "samples/source/ModifyingXMP.cpp".
I just extract XMP metadata from my photo source and reinject it in my new photo.
Fields "Create Date" and "Date/Time Original" are missing seconds values. Here are the values I get when inspecting metadata with exiftool command line:
Photo source:
Create Date                         : 2021:07:25 12:00:00
Date/Time Original              : 2021:07:25 12:00:00
New photo:
Create Date                         : 2021:07:25 12:00
Date/Time Original              : 2021:07:25 12:00:

Thanks for reporting it. Could you please try with the latest release and if the issue still persists, please share the sample test file and the code snippet which you are using.

We've found the same issue and discovered it to be related to this code. Here is a possible patch to fix
index d8dc1daa576..6d4adba85e1 100644
--- a/third_party_modules/xmp_toolkit/XMPFiles/source/FormatSupport/ReconcileTIFF.cpp
+++ b/third_party_modules/xmp_toolkit/XMPFiles/source/FormatSupport/ReconcileTIFF.cpp
@@ -2706,47 +2706,15 @@ ExportTIFF_Date ( const SXMPMeta & xmp, const char * xmpNS, const char * xmpProp

                char buffer[24];
                snprintf ( buffer, sizeof(buffer), "%04d:%02d:%02d %02d:%02d:%02d",     // AUDIT: Use of sizeof(buffer) is safe.
                                   xmpBin.year, xmpBin.month, xmpBin.day, xmpBin.hour, xmpBin.minute, xmpBin.second );

                char buffer[24];
                snprintf ( buffer, sizeof(buffer), "%04d:%02d:%02d %02d:%02d:%02d",     // AUDIT: Use of sizeof(buff
er) is safe.
                                   xmpBin.year, xmpBin.month, xmpBin.day, xmpBin.hour, xmpBin.minute, xmpBin.second
);

-               size_t xmpLen = xmpStr.size();
-               if ( xmpLen < 18 ) {
-                       buffer[17] = buffer[18] = ' ';
-                       if ( xmpLen < 15 ) {
-                               buffer[14] = buffer[15] = ' ';
-                               if ( xmpLen < 12 ) {
-                                       buffer[11] = buffer[12] = ' ';
-                                       if ( xmpLen < 9 ) {
-                                               buffer[8] = buffer[9] = ' ';
-                                               if ( xmpLen < 6 ) {
-                                                       buffer[5] = buffer[6] = ' ';
-                                                       if ( xmpLen < 1 ) {
-                                                               buffer[0] = buffer[1] = buffer[2] = buffer[3] = ' ';
-                                                       }
-                                               }
-                                       }
-                               }
-                       }
-               }
-
                tiff->SetTag_ASCII ( mainIFD, mainID, buffer );

-               if ( xmpBin.nanoSecond == 0 ) {
-
-                       tiff->DeleteTag ( kTIFF_ExifIFD, fracID );
-
-               } else {
+               snprintf ( buffer, sizeof(buffer), "%09d", xmpBin.nanoSecond ); // AUDIT: Use of sizeof(buffer) is safe.

-                       snprintf ( buffer, sizeof(buffer), "%09d", xmpBin.nanoSecond ); // AUDIT: Use of sizeof(buffer) is safe.
-                       for ( size_t i = strlen(buffer)-1; i > 0; --i ) {
-                               if ( buffer[i] != '0' ) break;
-                               buffer[i] = 0;  // Strip trailing zero digits.
-                       }
-
-                       tiff->SetTag_ASCII ( kTIFF_ExifIFD, fracID, buffer );   // ! The subseconds are always in the Exif IFD.
-
-               }
+               tiff->SetTag_ASCII ( kTIFF_ExifIFD, fracID, buffer );   // ! The subseconds are always in the Exif IFD.

        } catch ( ... ) {
                // Do nothing, let other exports proceed.
                // ? Notify client?
        }

We don't have the context on the original code though. Can someone expand on why it was stripping trailing values, or why xmpStr was reading out with missing zeroes?

Hello
We have the same issue. Last version in git does not contain the fix.
ORIGINAL And Result files are  attached.
ORIGINAL : 1.jpg
Result: 2.jpg
Broken fields: Date TimeOriginal

Fixed with July 2023 release


ET Mac Client

Hi Denis !
My name is Denys =)
I like your framework and I use it in our company.
Sometime we implement additional features.
One of these features is Mac Client.

Hi,
Thanks for your contribution :)  Merge done on the master branch and backported on the unstable branch too.
Just to know, what does you do with it in your company?
Denis

Your name has been added in the contribution about page of the client in the next version.

Hi,
I'm very delighted that you have accepted my pull request =)
About your question -  "Just to know, what does you do with it in your company?"

Creating automation tests for our projects.
As a task executor for preparing test environments, etc.
Also ET works with ansible, we've developed ansible adapter which currently working with webservicesocket agent but we are going to implement Ansible agent.
And now we can execute ansible playbooks throught ET this is very usefull feature.

By the way:
You could notice that I spell "we"  during answering your question because I and my teammate work with ET together, his name is Denis too=)
If you wish, we could call on Skype and  show you what we've already implemented and what we are planning to do =)

Hi,
It will be great if you can share also your adapter with ansible :)
I am interested to known what you are planning to do, can you contact me by email<EMAIL_ADDRESS>Denis


5.31.0 does not include /lib/codemirror.js

The codemirror.js is missing in the lib/ folder in the latest release.zip.
README.md states that the index.html should work. index.html is also using lib/codemirror.js -> so it doesn't work. The manual also says that it should used from there: https://codemirror.net/doc/manual.html
How do I fix this? Thanks in advance.

Don't get the zip from github. Github is not our distribution channel. Get it from the website or NPM.


Backups stuck in "Activating" state should not be shown in the restore list

Version : Master
Steps:

Create a 3 node cluster with invalid S3 credentials.
Perform few backups(B1, B2, B3), backups are stuck in "Activating" state
Edit and fix the S3 credentials. Wait for the cluster to become active.
Perform another backup (B4)
In the restore list, backups in "Activating" state are also listed in UI

The backups in "Activating" state should not be listed.

I'm not sure why we'd want to hide activating items. This is not an error state and I'm unclear as to why we'd want to hide this from the user?

They shouldn't be hidden from the list of backups, you just shouldn't be able to chose to restore one that isn't finished yet.

Version: master-head (v2.3) (8/16/19)
I carefully followed the steps to reproduce in the issue description.
Upon fixing the s3 credentials and then doing one more backup and then viewed the "Restore Snapshot" in the UI -- now the ones that are in the "Activating" state are not accessible in the UI. I am only allowed to restore my Active/Ready one. I made sure my good snapshot made it in my s3 bucket.

I restored this snapshot and ensured that this worked as expected without any issues.


Bot stops playing music after some time / tracks from autoplaylist

Please tick all applicable boxes.

[x] I am using Python 3.5.3 or higher (run python --version on the command line)
yes

[x] I have followed the official guides to install the bot for my system
yes. I tried on debian and docker

[x] I have updated my dependencies to the latest version using the appropriate update script
Which version are you using?

[x] The latest master version (release-260419)

[x] The latest review version

I have tried both versions.
What type of issue are you creating?

[x] Bug
[ ] Feature request
[ ] Question

Description of issue
After some time the bot stops playing music. In the logfiles are error messages.
Steps to reproduce

Put youtube links into the autoplaylist and wait.

Log file
This is the error in the log:

ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1926, in process_info

    success = dl(filename, info_dict)

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1865, in dl

    return fd.download(name, info)

  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/common.py", line 366, in download

    return self.real_download(filename, info_dict)

  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/dash.py", line 48, in real_download

    success, frag_content = self._download_fragment(ctx, fragment_url, info_dict)

  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/fragment.py", line 100, in _download_fragment

    success = ctx['dl'].download(fragment_filename, {

  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/common.py", line 366, in download

    return self.real_download(filename, info_dict)

  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/http.py", line 341, in real_download

    establish_connection()

  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/http.py", line 109, in establish_connection

    ctx.data = self.ydl.urlopen(request)

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen

    return self._opener.open(req, timeout=self._socket_timeout)

  File "/usr/lib/python3.8/urllib/request.py", line 531, in open

    response = meth(req, response)

  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response

    response = self.parent.error(

  File "/usr/lib/python3.8/urllib/request.py", line 563, in error

    result = self._call_chain(*args)

  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain

    result = func(*args)

  File "/usr/lib/python3.8/urllib/request.py", line 755, in http_error_302

    return self.parent.open(new, timeout=req.timeout)

  File "/usr/lib/python3.8/urllib/request.py", line 525, in open

    response = self._open(req, data)

  File "/usr/lib/python3.8/urllib/request.py", line 542, in _open

    result = self._call_chain(self.handle_open, protocol, protocol +

  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain

    result = func(*args)

  File "/usr/lib/python3.8/site-packages/youtube_dl/utils.py", line 2726, in https_open

    return self.do_open(functools.partial(

  File "/usr/lib/python3.8/urllib/request.py", line 1322, in do_open

    raise URLError(err)

urllib.error.URLError: <urlopen error [Errno 111] Connection refused>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/usr/src/musicbot/musicbot/entry.py", line 371, in _really_download

    result = await self.playlist.downloader.extract_info(self.playlist.loop, self.url, download=True)

  File "/usr/src/musicbot/musicbot/downloader.py", line 84, in extract_info

    return await loop.run_in_executor(self.thread_pool, functools.partial(self.unsafe_ytdl.extract_info, *args, **kwargs))

  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run

    result = self.fn(*self.args, **self.kwargs)

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info

    return self.process_ie_result(ie_result, download, extra_info)

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 867, in process_ie_result

    return self.extract_info(ie_result['url'],

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info

    return self.process_ie_result(ie_result, download, extra_info)

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 863, in process_ie_result

    return self.process_video_result(ie_result, download=download)

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1644, in process_video_result

    self.process_info(new_info)

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1928, in process_info

    self.report_error('unable to download video data: %s' % error_to_compat_str(err))

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 625, in report_error

    self.trouble(error_message, tb)

  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 595, in trouble

    raise DownloadError(message, exc_info)

youtube_dl.utils.DownloadError: ERROR: unable to download video data: <urlopen error [Errno 111] Connection refused>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/usr/src/musicbot/musicbot/player.py", line 272, in _play

    entry = await self.playlist.get_next_entry()

  File "/usr/src/musicbot/musicbot/playlist.py", line 334, in get_next_entry

    return await entry.get_ready_future()

  File "/usr/src/musicbot/musicbot/entry.py", line 228, in _download

    await self._really_download()

  File "/usr/src/musicbot/musicbot/entry.py", line 374, in _really_download

    raise ExtractionError(e)

musicbot.exceptions.ExtractionError: ERROR: unable to download video data: <urlopen error [Errno 111] Connection refused>

Error provided is an issue with your connection to the video's host.
It's recommended that you contact your server's host, or ISP, regarding this if you're also unable to connect with things other than MusicBot.


[Discussions-4763]Improve export/import csv tool;

Hello, everyone. I recently used iotdb in the production environment and found that the import tool is almost unusable in the real scene. I studied this piece of code and found that the stream was not used correctly, so I refactored it, and I also added some other functions. What I do is as follows:

Optimize the implementation of import, so that the records in the backup file can be read into the memory, written to the database, and moved out of the memory line by line. The new tool no longer has any requirements on the size of the backup file;
Added compression options. It is a common behavior to compress while exporting. At the same time, importing from compressed files should also be supported. At present, I have implemented it in two ways: gzip and snappy;
There is corresponding progress feedback when importing/exporting. At present, I use feedback every time I export 10 million points or import 1 million points, so that no matter what type of data, I can have a suitable feedback rhythm;
Because the original code is almost completely unused, the new tools are named export-csv-new and import-csv-new, which coexist with existing tools;

Coverage increased (+0.03%) to 67.655% when pulling 40d953b946b346c90456cc895784565194779de7 on limeng32:master into a2dba1b81e6962e4d31315e75cb4136546948463 on apache:master.


Add debug mode to show albedo texture's alpha channel

This mode will take the raw alpha value from the albedo texture, if available, and display it.
However, I'm not sure if this is the kind of behavior that we'd want/expect from the debug mode...
If this new mode is used on a material with alpha masking, like the three rightmost panes below, the masked fragments will not display. They are discarded earlier in the shader-- I believe right here

If we remove the alpha masking, though, we can see the albedo texture's raw alpha value.

Leaving this as a draft for now :)

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Also TODO: condense this visualization test + last PR's visualization tests into one

Snapshot stored with reference name:
refs/pull/13953/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13953/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13953/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13953/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13953/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13953/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13953/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13953/merge#BCU1XR#0

I think @PatrickRyanMS can opinate(is that an English word???) on the alpha masking issue, to me it seems like it would be more useful to turn off the masking if we are in this mode.

Now I'm curious what the Portuguese equivalent was O:
I agree that this mode makes more sense without the masking. But, would we just want the alpha masking to be disabled for this one mode? Or all debug modes?

Yes, I believe that if we are displaying the alpha channel of the texture, turning off clipping is important as that is an operation in the shader and not coming directly from the alpha channel itself. In this case, we are asking to see the actual channel, not how that channel is being interpreted by the shader.

I think what I just added will only disable the alpha masking in debug mode for PBR materials. Is that correct?

@alexchuber I would change the check to disable alpha test only on this specific debug mode, as it might be useful on other debug modes?

Visualization tests for webgl1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13953/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

Visualization tests for webgl2 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13953/merge/testResults/webgl2/index.html
If tests were successful afterwards, this report might not be available anymore.

It's complaining about

Also the build issue is related to this:

And you should remove the previous reference images from the tests folder if we do not use them anymore.

Linting issue is strange. I only changed one line in this file, but it's complaining about things like...


Onvif is not setup for

card_version: 6.0.2
browser: >-
  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
  Gecko) Chrome/<IP_ADDRESS> Safari/537.36
date: 2024-12-10T10:45:00.078Z
lang: en
timezone: Europe/Rome
git:
  hash: 216ded2
  build_date: Tue, 10 Dec 2024 02:14:31 GMT
  commit_date: Mon, 9 Dec 2024 18:13:23 -0800
ha_version: 2024.12.1
integrations:
  reolink:
    detected: true
  frigate:
    detected: true
    version: 5.5.1
    devices:
      01J58S0CDBKVM5FA71CPHQJCR2: 5.5.1/0.14.1-f4f3cfa
  hass_web_proxy:
    detected: false
  motioneye:
    detected: true
config:
  type: custom:frigate-card
  cameras:
    - camera_entity: camera.giardino
      live_provider: auto
      go2rtc:
        modes:
          - webrtc
    - camera_entity: camera.ingresso_est
      live_provider: auto
      go2rtc:
        modes:
          - webrtc
    - camera_entity: camera.ingresso_ovest
      live_provider: auto
      go2rtc:
        modes:
          - webrtc
    - camera_entity: camera.patio
      live_provider: auto
      go2rtc:
        modes:
          - webrtc
    - camera_entity: camera.vialetto_nord
      live_provider: auto
      go2rtc:
        modes:
          - webrtc
    - camera_entity: camera.vialetto_sud
      live_provider: auto
      go2rtc:
        modes:
          - webrtc
  live:
    controls:
      ptz:
        mode: 'off'

Just installed the latest Frigate Card and I'm having the following errors on Frigate (0.14.1-f4f3cfa):

Frigate was being too verbose in logs. This is already fixed in later Frigate releases, try upgrading. Please re-open if not resolved.


Update mysql to 1.6.9-p0, adds install config

As a side effect target name changed from MySQL::client to MySQL::mysqlclient. Will update the wiki after PR accepted.

Testing:

https://travis-ci.org/ingenue/hunter/builds/241231296?utm_source=github_status&utm_medium=notification
https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1830

All Travis CI tests failed

Yea, saw that but I dont understand them. The first error in clang is,
undefined reference to `__gxx_personality_v0'

which seems to some issue with libstdc++. But you can see right above that the call to clang including it
/usr/local/clang-3.5.0/bin/clang -O3 -DNDEBUG  -stdlib=libstdc++ -rdynamic CMakeFiles/MySQL-client-example.dir/main.c.o  -o MySQL-client-example

then a message letting you know clang is ignoring it
clang: warning: argument unused during compilation: '-stdlib=libstdc++'

I don't think any of my changes should have affected any of this.

Don't know what is the reason, may be it's C vs C++ issue?

I am also baffled as all of the test I ran before putting in the PR succeeded.
https://travis-ci.org/caseymcc/hunter/builds/240946709
comparing the logs:
/usr/local/clang-3.5.0/bin/clang -O3 -DNDEBUG  -stdlib=libstdc++ -rdynamic CMakeFiles/MySQL-client-example.dir/main.c.o  -o MySQL-client-example /home/travis/build/ingenue/hunter/_testing/Hunter/_Base/37b04f9/584478b/20e478a/Install/lib/libmysqlclient.a -lpthread -lm -lrt -ldl

vs mine:
/usr/local/clang-3.5.0/bin/clang -O3 -DNDEBUG  -stdlib=libstdc++ -rdynamic CMakeFiles/MySQL-client-example.dir/main.c.o  -o MySQL-client-example -Wl,-rpath,/home/travis/build/caseymcc/hunter/_testing/Hunter/_Base/47252c3/584478b/20e478a/Install/lib /home/travis/build/caseymcc/hunter/_testing/Hunter/_Base/47252c3/584478b/20e478a/Install/lib/libmysqlclient.so

your run has:
.../libmysqlclient.a -lpthread -lm -lrt -ldl

vs mine
 -Wl,-rpath, .../lib .../libmysqlclient.so

has something changed in the travis/poly setup?

also not sure why yours compiled a static while mine compiled shared object.

The static build is a right approach. I guess build with dynamic library was just masking some issue.

Finally got around to looking at this again, I got it fixed.
https://travis-ci.org/caseymcc/hunter/builds/253264215
https://ci.appveyor.com/project/caseymcc/hunter/build/1.0.136
However linking the static version is the issue to start with. Apparently, before it was linking against the shared version by default (as both static and shared are built by the cmake setup unless specifically turned off) see previous version linking below:
/usr/bin/gcc -O3 -DNDEBUG  -rdynamic CMakeFiles/MySQL-client-example.dir/main.c.o  -o MySQL-client-example -Wl,-rpath,/home/travis/build/caseymcc/hunter/_testing/Hunter/_Base/9e75150/584478b/266cf4a/Install/lib /home/travis/build/caseymcc/hunter/_testing/Hunter/_Base/9e75150/584478b/266cf4a/Install/lib/libmysqlclient.so

my change made it use the static lib which from what I gather can have issues. I found a few references to the issue but I think this link from the mariadb sums up the uniqueness of the issue (under Sergei Golubchik's comment).
https://mariadb.atlassian.net/browse/MDEV-5474?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
basically boils down to a c library being called from a c++ library and having no access to the std c++ library (but varying greatly on the compiler options used). I don't see anywhere where it has been fixed or even that it is considered a real problem (some people mention adding -lstd++ to the linking can fix it) but most of what I have read about the MySQL lib is that the shared version is considered the one to use.
So if setting the shared version up as the default is ok, I will make the modification needed to finish off this PR.

So if setting the shared version up as the default is ok, I will make the modification needed to finish off this PR

Okay, please do.

Ok, should be good now.
https://travis-ci.org/caseymcc/hunter/builds/261099654
https://ci.appveyor.com/project/caseymcc/hunter/build/1.0.140

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2107
https://travis-ci.org/ingenue/hunter/builds/261254631?utm_source=github_status&utm_medium=notification

Package not cacheable - no upload stage. Released: https://github.com/ruslo/hunter/releases/tag/v0.19.58


Change paella URL to /paella/ui

Paella player external bundle URL was in /paella/ui/watch.html.
When bundle moved inside opencast, URL was changed to /engage/paella/ui/watch.html
This is causing problems to people using paella in opencast 4.x when migrating to 5.0, because the URL change (Old mediapackages has URL /paella/ui/watch.html)
This PR change the paella URL to /paella/ui/watch.html to be compatible with OC 4.x and external paella bundle.

You missed the reference in etc/org.opencastproject.organization-mh_default_org.cfg

I missed to add these files to the PR. Sorry :(


Add Dependency-Track remote importer for ThreadFix

This is a placeholder/reminder to create a remote importer for ThreadFix so that it can pull in vulnerability information from Dependency-Track via it's APIs.

Blocked by @denimgroup for not supplying the ThreadFix 2.5.x plugin API kit.

Complete

Docs here: https://docs.dependencytrack.org/integrations/threadfix/


Update weekly checklist template

Hi can I work on this issue?

this is being handled elsewhere by @iramosp and @Tajuddeen1


relayLight_accessory.js

hi there,
Thank you for your videos on youtube and making this code available.
My issue is:
I’ve setup a homekit fan accessory using a raspberry pi, HAP-NodeJS, MQTT and a sonoff.
It works fine but the one problem i’ve got with it is the status on the home app not showing correctly. When I turn the fan accessory ON the status in the home app my iOS device is correct and shows it’s ON.
BUT if I leave it on for a while then go back into the home app is shows it’s OFF even though the accessory is still ON???
I switch it ON then OFF again and it turns OFF.
I used your relayLight_accessory.js code but modified a few lines to make it look like a fan accessory.
I don’t really have any experience with javascript (or coding in general for that matter) so don’t know if there is something else in the code that could be the problem with the status not showing correctly.
Any help would be appreciated.
Thanks!

I've used this code (unmodified) with another light and it's doing the same thing.  Going to try your RGB code to see if that has the same problem.

Same problem with the RGB light as well.  Can anyone assist please?

Hi @jat80 I'm sorry to hear that you're having issues with IOS values updating. I'm not sure why the code here would be doing that other than the code is somewhat out of sync with the most current version of HAP-NodeJS and the creator has implemented some changes over the past few months which aren't reflected in this current version of this code. I have been working on updating all of my home automation code and will be making videos of the updates soon. I will try to get that code uploaded onto this repo as soon as it's ready. For now you might try changing the code so that rather than setting the characteristic periodically, you call the update command instead. So in the RGB code there is this chunk at the bottom:
// update the characteristic values so interested iOS devices can get notified
setInterval(function() {
  light
    .getService(Service.Lightbulb)
    .setCharacteristic(Characteristic.On, lightAction.currentState);
  light
    .getService(Service.Lightbulb)
    .setCharacteristic(Characteristic.Brightness, lightAction.getBrightness());
  light
    .getService(Service.Lightbulb)
    .setCharacteristic(Characteristic.Hue, lightAction.getHue());
  light
    .getService(Service.Lightbulb)
    .setCharacteristic(Characteristic.Saturation, lightAction.getSaturation());

}, 2000);

you instead change those setCharacteristic lines to be like this:
light
   .getService(Service.Lightbulb);
   .getCharacteristic(Characteristic.On)
   .updateValue(lightAction.currentState);

Hopefully that might be able to get you going. Like I said though I'll be updating all of this code in the near future and putting out new videos explaining it all (to be honest I had more or less no idea what I was doing when I originally wrote these JS scripts - I'm not a JS programmer either - but I've gotten a bit more comfortable with it since originally writing these)

Hey @jat80 I just wanted to let you know that I just put in some new accessory files up here https://github.com/ItKindaWorks/ESP8266/tree/master/Home%20Automation/HAP-NodeJS%20Accessories
They work well for me on the latest version of HAP-NodeJS. They include the ability for the accessory (light or whatever) to respond with it's current state on a separate status topic but it should also work without the accessory publishing to the status topic.

Thanks so much @ItKindaWorks.  I will try these out today and report back.
I thought the other reason was maybe the code I was using on the sonoff (esp8266).  I didn't use your .ino code but instead used this code:
https://github.com/SuperHouse/BasicOTARelay/blob/master/BasicOTARelay.ino
The only reasons being as it had OTA if I wanted to update it and it turned the little led status light on and off thats on the sonoff as well as the relay so was thinking that's the only thing that I didn't use that was different from your setup.
I really appreciate your time doing this.  I've learned so much from your videos.

@ItKindaWorks
light    .getService(Service.Lightbulb);    .getCharacteristic(Characteristic.On)    .updateValue(lightAction.currentState);
I tried this and for a while thought it fixed the issue but it didn't.
I will try the full code you mentioned here:
https://github.com/ItKindaWorks/ESP8266/tree/master/Home Automation/HAP-NodeJS Accessories
But I now have my suspicions it's not your .js code but maybe the .ino code i'm using??  Your thoughts?

@ItKindaWorks - Yeah the new code you posted does the same thing for me which makes me think it's something in .ino code for the esp8266.
I want to flash it with yours but the current code has OTA so not sure if I can flash yours on it via OTA or have to use serial?  It can I add OTA to your code somehow?

@ItKindaWorks - i've tried your original .ino code in lesson 2.  It works but as with the other code after 20mins or so I look back at the home app on the iPhone and it shows the accessory is off even through it's physically on.
More info posted here: https://github.com/KhaosT/HAP-NodeJS/issues/381
I'm totally stumped now.

I dont have it uploaded yet but I have some ino sketches that you can try... I'll try to get it uploaded today sometime. You might check out my ESPHelper library though, it is basically a library to manage automatic connecting to wifi and mqtt brokers and automatically resubscribing to topics upon reconnection if needed. It also has OTA support so you dont have to plug anything in. I have a great relay/light control sketch that uses it and when I get home today I'll get it uploaded. For now though you might go check out the lib and see if you can adapt some of the code you've been working with to run with the library.
https://github.com/ItKindaWorks/ESPHelper

Here @jat80 let me know how things go using this sketch: https://github.com/ItKindaWorks/ESP8266/blob/master/Home Automation/Sketches/RelayControl/RelayControl.ino
It requires the ESPHelper library I linked above so you'll have to install that as well. I slightly modified it from my personal setup and didnt get a chance to test it yet but it should work just fine (I just took out my network stuff and dropped in the generic strings for people to put in their own info). It has OTA setup and you can add whatever password you want. If you dont want the OTA password then just comment out the line "myESP.OTA_setPassword(OTA_PASSWORD);" in setup.
But between this sketch and the accessory script, I have had no issues on my end and mine has been running for a month or two now.
I'm not sure I can be much more help - it might just be some odd homekit thing..? You might try resetting your home in the IOS settings.

Accessory fan works through the mqtt ?

Thanks again @ItKindaWorks.  More and more I have a feeling it might be my the home app/iOS.  I'm going to reset it today and see what happens but as you said, your is running fine and another guy I know who used your resources has his running fine as well.  I think the only difference though is you both have HAP-NodeJS on UBUNTU and I have mine running on a raspberry pi 3.
Really appreciate you taking the out of your busy schedule to assist me.  Even if I don't get this sorted I have learned a lot about all this stuff.  Thanks again.

@Maxmudjon yes the accessory fan works fine via MQTT turning it on and off.  And also using the home app on and off.  Its just that state in the home app shows it as off (even though it's physically still on) after 20 mins or so.

@jat80 Well I know as the application home after 30 minutes of state do not display or displays incorrectly?

@Maxmudjon it displays incorrectly.  The accessory is on but in home app it shows off.  I can switch the state back on then off and it still controls the accessory.

@jat80 try it
https://github.com/legotheboss/YouTube-files/issues/4

@Maxmudjon It actually has nothing to do with the type of accessory.  It's the state of the accessory when running it on a esp8266/sonoff via mqtt.  I have a light that does the same thing.  I actually know @legotheboss and talk to him a lot. He's going to help me soon.

@ItKindaWorks found out the problem!
I've covered it in the last post here:
https://github.com/KhaosT/HAP-NodeJS/issues/381#issuecomment-272748010
Thanks so much for your help.  I've actually learned more about the esp8266 and arduino during his process.  Sorry for wasting your time though as it had nothing to do with your code or even the accessory code.
JT.

@jat80 Ah great to hear! No worries, you didnt waste any of my time! I've been meaning to re-upload new versions of my code for a while. Glad to hear you got it all worked out!
~IKW


relative_trend = inflation_rate)

Is this double countign with the discount rate?

Added to vv functions and calculated discount accordingly


Bower dependency not installed

It doesn't install the RateYo jquery bower dependency.
ember v2.10
ember-cli v2.10

Thanks @herzzanu ❤