[Feature Request] add ios remote widget

in short
is it possible to create a accessory which offers the ios remote widget with your plugin. like eg appletv or so

perhaps helpful references
other plugins seem to offer this functionality most helpful I think is @dixtdf with his homebridge-xgimi as he focuses on this. perhaps also see this issue. but others as well eg. philipstv, I think harmony, lgtv
more info
I really really love how your plugin simplifies the HomeKit protocol down to some get and set calls to scripts. It allows me cavemanbrain to have all accessory types available and use them however I want. currently I want to create a tv like accessory to remote control my pc while watching sth. Here the ios remote widget would fit so much better than eg. a dimmable light for volume and button for playpause. The tv accessory type does not seem to offer this. Furthermore I am not sure how this even would integrate with your plugin perhaps for navigation buttons set menu 1, set up 1,  set left 1, etc. and for playpause set play 1 and set play 0
as always
I am very grateful for your work and thank you in adamvce for any tips or insights. Please feel free to close this at any time. I fully understand if this is out of scope or of topic.

Hi,
This is interesting and will require a bit of investigation on my part.
Cmd4 does support TV characteristics of Homebridge. I can check if there
are new characteristics, like apps, that may have been added that I do not
handle.
There is a sample config that does have a TV, but not in the way you
want, I'm sure. I'd start there.
Integration with Homebridge-ui is a whole different beast. This would
give you the look you were hoping to see on the Homebridge web server. Cmd4
supports so many types of accessories and characteristics, I have found
this almost impossible. The branch in Cmd4 is homebridge-ui. I can't
remember how close I got, but the result is supposed to be a UI that
describes the sample config.json via a config.schema.json. It cannot look
like a polished TV interface with channel up/down buttons or similar items.
There is a module called homebridge-mqtthing. It does support many
accessory types but via an mqtthing broker.  They created their config.schema.json manually. If you look at
it you will also see how complex it can be. The Cmd4 homebridge-ui branch
does try to create the config.schema.json file dynamically. I don't know
how to set up mqtthing or if mqtthing can do what you want though.
Configuring homebridge-ui gets really tricky when TV's have sub
accessories like speakers as you will see in the sample config.json. This
is where the Cmd4 Homebridge-ui branch falls apart. So as for this aspect,
there is already a feature request open. Once in a while I have poked
around with it, but it required more time than I had to give. I was hoping
the Homebridge-ui API would improve to make my life easier.
How Apple's Home app displays a TV  I have not checked in a long time.
There is nothing I can do about this either. I will have a look though.
However, just because HomeBridge supports a characteristic, Apple Home App
may not display it at all or in a way that you would like.
So I will do a bit more investigation to see if Cmd4 is missing some
characteristics and what a TV looks like in Apples Home App. This is about
as best I can promise in the short term. To be honest, I have another repo
where I'm designing a 3D printer that is consuming my enjoyable free time
:-)
Ttyl,
John
On Thu, Feb 29, 2024 at 9:33 AM f, @.***> wrote:

Assigned #142 https://github.com/ztalbot2000/homebridge-cmd4/issues/142
to @ztalbot2000 https://github.com/ztalbot2000.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#event-11966933600,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX5WQQW3TV76JECGQJ3YV4527AVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHE3DMOJTGM3DAMA
.
You are receiving this because you were assigned.Message ID:
@.***>

wow thanks for your quick reply! Yes indeed I struggle with the tv configuration perhaps if I add it correctly it does offer the remote widget in the home app. I will try a view things thanks for the tip with tv sub accessories. If I get stuck I will try the ui version.
I fully understand that this right now is not a priority of you. Still I really appreciate your reply and tips. I will close this as not planned for now but will add any findings when I get somewhere

Hi,
So some good news for you. After a brief inspection there are new
accessories like an AppleTV and HomePod. It will take me at least a week to
update my library files for these new accessories. My documentation is done
dynamically so that's easy. I'll also add examples of these new accessories
to the demo config.json.
The update will be Cmd4 version 8.0.
Ttyl,
John
On Sat, Mar 2, 2024 at 3:05 AM f, @.***> wrote:

wow thanks for your quick reply! Yes indeed I struggle with the tv
configuration perhaps if I add it correctly it does offer the remote widget
in the home app. I will try a view things thanks for the tip with tv sub
accessories. If I get stuck I will try the ui version.
I fully understand that this right now is not a priority of you. Still I
really appreciate your reply and tips. I will close this as not planned for
now but will add any findings when I get somewhere
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1974700028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX54QUSIFZM4PTBWB6TYWGB3ZAVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUG4YDAMBSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi,
So I have not really touched Cmd4 in awhile.  I made the mistake in
telling you that there was an AppleTV accessory type. It was actually a
Category. I tent do make this mistake after not looking at the code for a
long time.  I did find at least 21 new characteristics. These being:
AccessCodeControlPoint:                  233,
AccessCodeSupportedConfiguration:        234,
AirPlayEnable:                           235,
AudioFeedback:                           236,
CharacteristicValueActiveTransitionCount: 237,
CryptoHash:                              238,
FirmwareUpdateReadiness:                 239,
FirmwareUpdateStatus:                    240,
HardwareFinish:                          241,
MetricsBufferFullState:                  242,
MultifunctionButton:                     243,
NetworkAccessViolationControl:           244,
SelectedDiagnosticsModes:                245,
SelectedSleepConfiguration:              246,
SiriEnable:                              247,
SiriEngineVersion:                       248,
SiriLightOnUse:                          249,
SiriListening:                           250,
SiriTouchToUse:                          251,
StagedFirmwareVersion:                   252,
SupportedMetrics:                        253,
I did find (so far) the following new accessories.
AccessCode:
FirmwareUpdate:
TapManagement:
Tunnel: // Same as TunneldBTLEAAccessoryService
WiFiTransport:
From what I have figured so far, an Apple_TV is actually a hybrid
accessory. Cmd4 already lets you add any characteristics to any accessory.
I think Homebridge groups these together and calls it a RemoteController.
See /var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/controller/RemoteController.js
Adding the new characteristics I found and the new accessory types is easy.
These are just updates to my library files CMD4_ACC_TYPE_ENUM and
CMD4_DEVICE_TYPE_ENUM. Creating a hybrid group will be a little more
difficult. I do have an Apple TV to test it against though. Your examples
are also helpful as I can use them to also figure out what needs to be done.
I'll keep you updated on my progress.
ttyl,
John
On Sat, Mar 2, 2024 at 3:33 AM John Talbot @.***> wrote:

Hi,
So some good news for you. After a brief inspection there are new
accessories like an AppleTV and HomePod. It will take me at least a week to
update my library files for these new accessories. My documentation is done
dynamically so that's easy. I'll also add examples of these new accessories
to the demo config.json.
The update will be Cmd4 version 8.0.
Ttyl,
John
On Sat, Mar 2, 2024 at 3:05 AM f, @.***> wrote:

wow thanks for your quick reply! Yes indeed I struggle with the tv
configuration perhaps if I add it correctly it does offer the remote widget
in the home app. I will try a view things thanks for the tip with tv sub
accessories. If I get stuck I will try the ui version.
I fully understand that this right now is not a priority of you. Still I
really appreciate your reply and tips. I will close this as not planned for
now but will add any findings when I get somewhere
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1974700028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX54QUSIFZM4PTBWB6TYWGB3ZAVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUG4YDAMBSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

amazing thanks a lot for taking the time to look into it!! this looks very promising yes the RemoteController.ts seems to be it. I will read into it more as this is mostly over my head.

Hi,
Today I submitted to GitHub changes to Cmd4 library files supporting the
latest characteristics and devices. There are 11708 unit tests that
complete successfully testing these library changes.
This does not solve your problem though, but it is a start.  I will
figure out how to do a hybrid device for an Apple_TV and and hopefully the
changes will not be so severe.  I'll keep you posted.
John
On Sun, Mar 3, 2024 at 4:02 AM f, @.***> wrote:

amazing thanks a lot for taking the time to look into it!! this looks very
promising yes the RemoteController.ts
https://github.com/homebridge/HAP-NodeJS/blob/6dbba2f9956d059ddc7976d44e060c030ac9ad06/src/lib/controller/RemoteController.ts#L62
seems to be it. I will read into it more as this is mostly over my head.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1975092922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX3ZHISDD7GNYKXP63LYWLRJPAVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGA4TEOJSGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi
Still digging.  I don't understand why Homebridge has specific API's for
Apple_TV but homebridge does not expose them as a device. Nor do I see
anyone using them.  I do see other plugins that work for an Apple_TV .
Until I get there you may wish to look at:
https://www.npmjs.com/search?q=keywords%3Ahomebridge-plugin apple tv
Homebridge-appletv-enhaced looks promising and now that I have the
remaining characteristics added, I think I can do this with a Cmd4 config.
This is what I'm working on next.
I'll keep you posted.
ttyl,
John
On Sun, Mar 3, 2024 at 5:54 PM John Talbot @.***> wrote:

Hi,
Today I submitted to GitHub changes to Cmd4 library files supporting the
latest characteristics and devices. There are 11708 unit tests that
complete successfully testing these library changes.
This does not solve your problem though, but it is a start.  I will
figure out how to do a hybrid device for an Apple_TV and and hopefully the
changes will not be so severe.  I'll keep you posted.
John
On Sun, Mar 3, 2024 at 4:02 AM f, @.***> wrote:

amazing thanks a lot for taking the time to look into it!! this looks
very promising yes the RemoteController.ts
https://github.com/homebridge/HAP-NodeJS/blob/6dbba2f9956d059ddc7976d44e060c030ac9ad06/src/lib/controller/RemoteController.ts#L62
seems to be it. I will read into it more as this is mostly over my head.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1975092922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX3ZHISDD7GNYKXP63LYWLRJPAVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGA4TEOJSGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

your updates are so exciting! I did not know about this plugin its cool and yes it also offers a remote! I updated my cmd4 I will try to create a config as well. When I stumble across sth useful I will post it.

Hi,
Sorry I did not do much today.  I published Cmd4 version 7.1.0. This has the missing characteristics needed to implement Siri, but there is still a lot of work needed by yourself and me. Cmd4 will still need a way to talk to the Apple TV through some sort of scripting. That is what Cmd4 is all about. I suggest you look at something like node-appleTV.  Remember Cmd4 can only execute shell commands. Your shell command must do the work the characteristic parameters want them to do.
On my part I still want to create a config.json that represents an AppleTV. I'm unsure if I want to do it with what I just submitted or possible create a hybrid accessory like the one I previously noted within hap-nodejs in the path  /var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/controller/RemoteController.js.  Either way you still need to create command line scripts to do the work.
I'll keep you posted,
John

I will have a lot more time on the weekend. Hope I will progress somewhat then. Please dont feel pressured and dont apologise you are the single most nice and helpful maintainer I know of!

Hi,
Thanks for the compliment.  I do try. Actually I spent 6 months working
on a feature that turned into Homebridge-Cmd4-AdvantageAir. The owner of
that plugin uses Homebridge-Cmd4 as the back end of his plugin. I made a
friend for life and we talk pretty regularly.
So far not much success today. I tried the following config.json
{
"bridge":
{
"name": "MAC Test Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "555-55-555"
},
"platforms":
[
{
"platform": "Cmd4",
"name": "Cmd4",
"debug": "true",
"accessories":
[
{
"type":                      "Television",
"displayName":               "Tv_Combo",
"publishExternally":          true,
"category":                  "APPLE_TV",
"active":                    "ACTIVE",
"activeIdentifier":           1,
"configuredName":            "TV_Combo",
"sleepDiscoveryMode":        "ALWAYS_DISCOVERABLE",
"brightness":                8,
"closedCaptions":           "DISABLED",
"currentMediaState":        "STOP",
"targetMediaState":         "STOP",
"pictureMode":              "STANDARD",
"remoteKey":                "SELECT",
"manufacturer":             "Sony",
"model":                    "Android TV",
"serialNumber":             "12345",
"stateChangeResponseTime":   3,
"polling": [{"characteristic": "active", "interval": 60,
"timeout":2000}
],
"state_cmd": "node .homebridge/Cmd4Scripts/State.js",
"linkedTypes":
           [
              {
                 "type":                   "InputSource",
                 "displayName":            "HDMI1",
                 "configuredName":         "HDMI1",
                 "currentVisibilityState": "SHOWN",
                 "inputSourceType":        "HDMI",
                 "isConfigured":           "CONFIGURED",
                 "identifier":              1,
                 "targetVisibilityState":  "SHOWN",
                 "name":                   "HDMI1",
                 "manufacturer":           "Somebody",
                 "model":                  "Anything",
                 "serialNumber":           "12345",
                 "polling": [{"characteristic":

"currentVisibilityState", "interval": 60, "timeout":2000}
],
"state_cmd": "node .homebridge/Cmd4Scripts/State.js"
             },
             {   "type":                   "InputSource",
                 "displayName":            "HDMI2",
                 "configuredName":         "HDMI2",
                 "currentVisibilityState": "SHOWN",
                 "inputSourceType":        "HDMI",
                 "isConfigured":           "CONFIGURED",
                 "identifier":             2,
                 "targetVisibilityState":  "SHOWN",
                 "name":                   "HDMI2",
                 "manufacturer":           "Somebody",
                 "model":                  "Anything",
                 "serialNumber":           "12345",
                 "polling": [{"characteristic":

"currentVisibilityState", "interval": 60, "timeout":2000}
],
"state_cmd": "node .homebridge/Cmd4Scripts/State.js"
},
{  "type":                   "InputSource",
"displayName":            "HDMI3",
"configuredName":         "HDMI3",
"currentVisibilityState": "SHOWN",
"inputSourceType":        "HDMI",
"isConfigured":           "CONFIGURED",
"identifier":              3,
"targetVisibilityState":  "SHOWN",
"name":                   "HDMI3",
"manufacturer":           "Somebody",
"model":                  "Anything",
"serialNumber":           "12345",
"polling": [{"characteristic":
"currentVisibilityState", "interval": 60, "timeout":2000}
],
"state_cmd": "node .homebridge/Cmd4Scripts/State.js"
},
{  "type":                   "InputSource",
"displayName":            "HDMI4",
"configuredName":         "HDMI4",
"currentVisibilityState": "SHOWN",
"inputSourceType":        "HDMI",
"isConfigured":           "CONFIGURED",
"identifier":              4,
"targetVisibilityState":  "SHOWN",
"name":                   "HDMI4",
"manufacturer":           "Somebody",
"model":                  "Anything",
"serialNumber":           "12345",
"polling": [{"characteristic":
"currentVisibilityState", "interval": 60, "timeout":2000}
],
"state_cmd": "node .homebridge/Cmd4Scripts/State.js"
},
{  "type":                   "InputSource",
"displayName":            "Netflix",
"configuredName":         "Netflix",
"currentVisibilityState": "SHOWN",
"inputSourceType":        "APPLICATION",
"isConfigured":           "CONFIGURED",
"identifier":              5,
"targetVisibilityState":  "SHOWN",
"name":                   "Netflix",
"manufacturer":           "Somebody",
"model":                  "Anything",
"serialNumber":           "12345",
"polling": [{"characteristic":
"currentVisibilityState", "interval": 60, "timeout":2000}
],
"state_cmd": "node .homebridge/Cmd4Scripts/State.js"
},
{  "type":                   "TelevisionSpeaker",
"displayName":            "TVSpeaker",
"mute":                   "FALSE",
"active":                 "ACTIVE",
"volume":                 10,
"volumeControlType":      "ABSOLUTE",
"volumeSelector":         "INCREMENT",
"name":                   "TVSpeaker",
"manufacturer":           "Somebody",
"model":                  "Anything",
"serialNumber":           "12345",
"polling": [{"characteristic": "active", "interval":
60, "timeout":2000},
{"characteristic": "volume", "interval":
60, "timeout":2000}
],
"state_cmd": "node .homebridge/Cmd4Scripts/State.js"
}
]
}
]
},
{
"name": "Config",
"port": 9090,
"platform": "config",
"sudo": true,
"log": {
"method": "file",
"path": "/tmp/homebridge.log"
}
}
]
}
The idea was to change the "category" from "Television" to "APPLE_TV".  I
did not get what I wanted. I'd like to see that nice picture you originally
sent.
I'll play around with other configurations and keep you advised.
ttyl,
John
On Sun, Mar 3, 2024 at 10:43 PM John Talbot @.***> wrote:

Hi
Still digging.  I don't understand why Homebridge has specific API's
for Apple_TV but homebridge does not expose them as a device. Nor do I see
anyone using them.  I do see other plugins that work for an Apple_TV .
Until I get there you may wish to look at:
https://www.npmjs.com/search?q=keywords%3Ahomebridge-plugin apple tv
Homebridge-appletv-enhaced looks promising and now that I have the
remaining characteristics added, I think I can do this with a Cmd4 config.
This is what I'm working on next.
I'll keep you posted.
ttyl,
John
On Sun, Mar 3, 2024 at 5:54 PM John Talbot @.***> wrote:

Hi,
Today I submitted to GitHub changes to Cmd4 library files supporting
the latest characteristics and devices. There are 11708 unit tests that
complete successfully testing these library changes.
This does not solve your problem though, but it is a start.  I will
figure out how to do a hybrid device for an Apple_TV and and hopefully the
changes will not be so severe.  I'll keep you posted.
John
On Sun, Mar 3, 2024 at 4:02 AM f, @.***> wrote:

amazing thanks a lot for taking the time to look into it!! this looks
very promising yes the RemoteController.ts
https://github.com/homebridge/HAP-NodeJS/blob/6dbba2f9956d059ddc7976d44e060c030ac9ad06/src/lib/controller/RemoteController.ts#L62
seems to be it. I will read into it more as this is mostly over my head.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1975092922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX3ZHISDD7GNYKXP63LYWLRJPAVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGA4TEOJSGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

this is so cool to here! I feel bad for not contributing whereas you do so much I just need more time to understand all this.

Hi,
Well I got nowhere today.  I started going down a rabbit hole with the config.json I wrote above. I thought it was a CMD4 issue but I spelled INTERRUPTED wrong for CurrentMediaState as that is what homebridge-appletv-enhanced had it set to. I tried configuring the TV as it was written in homebridge-appletv-enhanced plugin but it did not give that nice picture you sent either.
I installed homebridge-appletv-enhanced plugin on my Mac. It complained about libressl not being openssl; so I moved the development to my household Pi.
I installed homebridge-appletv-enhanced on the pi.  I did not get anything at all on the Home app.  I changed the homebridge-appletv-enhanced plugin to be a child bridge as recommended.  Still nothing in the home app for the accessory, only the bridge.
I noticed in the homebridge log to got to a local web page and enter the pairing key shown on my AppleTV.  This I did.  Nothing showed in the Home app still.
After that things went nuts.  This is where I hate homebridge.  For some reason homebridge and the Home app gets confused and no accessory can get added.  I tried deleting all the bridges from Home using settings and the home app hung.  I also tried removing the .homebridge/persist directory and the .homebridge/accessories directories after restarting homebridge via homebridge-ui.  The home app would not add any accessories again.
Tomorrow I will try rebooting everything. It would be nice to get home bridge-appletv-enhanced working as to know what Home could possibly look like.
Until tomorrow.
John

Hi,
Sometimes thinking about the problem is more important than working on it
directly. Homebridge-AppleTV extended shows a couple of images. The first
deals with pairing and is actually done on a web browser link given in the
Homebridge logs that you must open; the fourth image is what I expect that
the Home App would show given the code they use. For some reason there is
no left/right buttons, but homebridge-ui says there can be for the
Homebridge-appletv-extended plugin. This will never look like the images
you sent.
The image you sent looks a lot more like an AppleTV remote. Is this
really what you are looking for?  If so, I think I should concentrate on an
StreamingRemote device. I think that would generate the picture you sent
and show it in the Home App.
Ttyl,
John
On Wed, Mar 6, 2024 at 5:19 PM f, @.***> wrote:

this is so cool to here! I feel bad for not contributing whereas you do so
much I just need more time to understand all this.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1981922049,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX5JTYFCLM7E5SL3P3LYW6I7BAVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRHEZDEMBUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

sorry just realised your other question. I think apple tv extended exposes a tv accessory (this is what the images show) and additionally it exposes a remote (at least they list it in their features see above). This remote I think can be accessed via the ios control center

I will report when I get apple tv extended working

Hi,
Thanks for answering my question.  AppleTV-extended crashes in the
logs.  I'll try to figure out why.  this is what I believe homebridge-cmd4
would look like if I continue the config as a TV service.  I'd still like
to see what happens if I try it as a streaming stick.  Lots of stuff still
to discover.
Ttyl,
John
On Thu, Mar 7, 2024 at 3:59 PM f, @.***> wrote:

sorry just realised your other question. I think apple tv extended exposes
a tv accessory (this is what the images show) and additionally it exposes a
remote (at least they list it in their features see above). This remote I
think can be accessed via the ios control center
        IMG_7334.jpeg (view on web)

https://github.com/ztalbot2000/homebridge-cmd4/assets/60987359/e9d05707-8118-4880-a2f0-33bf03556a9c
IMG_7335.jpeg (view on web)
https://github.com/ztalbot2000/homebridge-cmd4/assets/60987359/7d74e4b5-4098-49e8-9272-72029af07176
IMG_7337.jpeg (view on web)
https://github.com/ztalbot2000/homebridge-cmd4/assets/60987359/d09171b5-6f66-4ca6-b7ec-1ae5546f0509
I will report when I get apple tv extended working
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1984449672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX2VQXZMCVBKOQYIGTTYXDIK7AVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUGQ2DSNRXGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi,
So I was trying to put in a ticket to home bridge-appletv-enhanced. Going through the bug page, I found that my python3 was old.  Now I am trying to upgrade my home (Stable) pi that runs a lot of stuff.  I had compiled the Debian kernel with real-time kernel patches  long ago and it's running Bullseye. Out of date for new stuff.  Compiling python3 will take awhile but it is running.  If it fails, I will have to cable together another pi for testing. I might have to do that anyway, but tomorrow. I know if I was the maintainer of homebridge-appletv-enhanced, I would not accept any bug on an old OS.
ttyl,
John

ok i just installed apple tv enhanced and it seems to work. i had to install a different urllib version tough this seems to be a mac specific issue see here
but i never saw any other ios remote than the original from apple. so to me it looks like apple tv enhanced it self does not expose a ios remote. I tried a few things
a, in the settings you can choose to expose the apple tv as a set topbox or appletv i tried both
b, deleting the device hb but the remote still was available
c, stopping hb but the remote still was available
d, exposing various combinations of remote buttons but as expected these just showed up as switches
then i installed mqtt things and tired to setup a television device. i used a test mosquitto server for this. The tv accessory showed up in home as expected but no remote for this tv was available in the control center. I most likely misconfigured something or the approch with this public mosquitto server is wrong and i need to set up a custom one.

I just reread all you posts and saw you tried to install under mac aswell and had an issue with libressl not being open ssl.
is solved this by installing an older version of urllib in my main python.
pip install urllib3==1.26.6 see stack
And then I replaced the urlib folder of appletv enhanced virtualenv urllib
(I think the path was.homebridge/appletvenhanced/venv/python/lib/sitepackages/urllib)
with the urlib folder of my main python.
this solved the openssl issue for me

i just tried the samsung tizen plugin with my tv.
this plugin also advertises the integration of the control centre remote see here
but it again does not show up for me.
I am starting to think some thing is wrong with my apple home. I am on the new architecture and use a 4gen hd apple tv as a hub. everything work except the remotes of these plugins dont show up for me. weird

Hi,
I will try your OpenSSL trick. Thanks!
So yesterday after 4 attempts of installing 2 different versions of PiOS
and going down rabbit holes of bad locale and bad apt-get status files, I
found out that the MicroSD card was bad.  I bought 2 new ones this morning
and successfully installed PiOS and homebridge.
I did put a ticket in AppleTV-extended yesterday with the the issue I was
having. I just noticed AppleTV-extended was not crashing on the new
install, until I just plugged the AppleTV's hdmi output into the secondary
hdmi port of my monitor. Maybe there is an issue with it not being a real
TV?
So that's where I am this morning.  I'm still very curious on what we can
get Cmd4 to look like for an AppleTV.
John
On Sat, Mar 9, 2024 at 4:39 AM f, @.***> wrote:

i just tried the samsung tizen
https://github.com/tavicu/homebridge-samsung-tizen plugin with my tv.
this plugin also advertises the integration of the control centre remote
see here
https://tavicu.github.io/homebridge-samsung-tizen/features/keys.html
but it again does not show up for me.
I am starting to think some thing is wrong with my apple home. I am on the
new architecture and use a 4gen hd apple tv as a hub. everything work
except the remotes of these plugins dont show up for me. weird
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1986808626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX4BRHFWCELNWR3FQCTYXLKE7AVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWHAYDQNRSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

wow sometimes the issue really lies in the last things you think about.

I'm still very curious on what we can get Cmd4 to look like for an AppleTV. John
sorry if I misunderstand your last comment.
Just to clarify the original issue of mine.
I want to expose a remote to the ios remote widget. So that I can press remote buttons on my phone and receive the button presses with cmd4.
Then I can write custom script to map the buttons of the remote keyboard inputs.
I do not want to controll a real Apple TV.

Hi,
Yup, that's what I'm going to try and do with Cmd4.
Thanks very much for the urllib3 fix.  It worked like a charm.
I know have 3 computers running homebridge giving me the error I ticketed
in homebridge-AppleTV-enhanced.  I think I've tracked it down to the
AppleTV not having the latest updates. I'm updating it now. I just need a
starting place of something that works.
Ttyl,
John
On Sat, Mar 9, 2024 at 3:43 PM f, @.***> wrote:

wow sometimes the issue really lies in the last things you think about.
I'm still very curious on what we can get Cmd4 to look like for an
AppleTV. John
sorry if I misunderstand your last comment.
Just to clarify the original issue of mine.
I want to expose a remote to the ios remote widget. So that I can press
remote buttons on my phone and receive the button presses with cmd4.
Then I can write custom script to map the buttons of the remote keyboard
inputs.
I do not want to controll a real Apple TV.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1986971750,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX73C42M3JGDWB67R23YXNX53AVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWHE3TCNZVGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

OK. Updating the software on the AppleTV fixed my issues with appletv-enhanced.  Onto getting some work done ;-)

So this is what my homebridge-appletv-extended finally looked like.  It's not what I want though, but it was progress.
https://github.com/ztalbot2000/homebridge-cmd4/assets/6558047/5d0153e7-7d01-4a26-b05b-be1c589086ce

Hi
So I tried  @danimal4326/homebridge-appletv.  It gave me nothing more than an ON/OFF button. It was a good experience though because while the install was not clean cut I got to understand pyatv. This is the backend communication between homebridge and the AppleTV.  It's really a mess to be honest with you. Years ago I think I found a better method. That will be for another time.  At least I was able to get the credentials of my AppleTV.
I guess I should go back to the start now and get a proper AppleTV displayed by Cmd4.
ttyl,
John

Thank you for your persistence! nice! I’m happy to hear it works! But sad to here it does not show a remote for you either. This is as far as i got aswell with apple tv enhanced. But I never got apple tv enhanced to show up in the ios control centre remote widget.
I tried a view things with the samsung tizen plugin. But jet again it never showed up in the remote widget.
Then I tried an Other tv plugin. the Philips android tv. This plugin also advertises the integration of the ios remote widget. But again it did not show up for me. I submitted an issue about this but I’m not expecting much since no body else seems to have this issue with the missing remote.
here some screenshots

Im confused why i don’t get the remote for any of the plugins mqttthings or Samsung or Philips tv. Even more curious nobody submitted an issue about the remote missing in any of the plugins. I would love to give you a better starting point or a working example of a remote. I will keep trying!

Hi,
Thanks for trying those plugins. I tried a number of Cmd4 configurations last night and also got the same result. I wanted to try a few more today. Long time ago I had success on Sony-Bravia-TV plugin.  I'll see if it still works. Doing a lot of reading though and it seems a lot of people are upset that this functionality seemed to have disappeared in the Home App. I want to find out for myself though.

oh no this dose not look good. I found a view complaints too, but nothing recent. I will link it if I find a good source or report. Anyway thank you for continuing efforts!

Hi,
So last night I tried one of the device type TargetComtrol. The Home app says this accessory type is not supported. Clearly Apple does not want people to access certain device types anymore.  The three Bravia plugins also do not show any left/right cursor buttons.
I also tried Eve. It's a Home like App that I display as a second screenshot on Cmd4. It used to be different in that it would display things the Home app,would not. Eve seems to have abandoned their own look and feel to that of Apples same Home widgets.
I have one more thing I want to try, but things are looking doubtful.   I did originally say that I could not control what or how Apple decides to show in the Home App.
Ttyl,
John

that’s unfortunate. But I guess we are at at the mercy of apple here.
just to check. Did you try to open the control centre and see if the remote shows up?
Strictly speaking the remote does not show up in the home app it self.
it is accessed via the control centre of an iPhone or iPad.
the first two pictures show how to add the remote widget to the control centre
Then swipe down from the top right corner of your iphone or iPad and tap the remote button. Then the remote shows up and you can choose your device via  a list button on the top in the middle.

sorry if all this was obvious to you.

Hi,
Sorry, did not do anything today.  I had ordered a new Pi5 on Friday. I was hoping it would arrive today, but it didn't. The older Pi3 was driving me nuts being so slow as I continually reconfigured it.
ttyl,
John

nice Im jealous haha. I got a pi4. I just can’t justify the pi5 for myself. I still want it though haha.

Hi,
When things go bad, they seem to keep coming. Our postal service put
someone else's package in my mailbox and I don't know where my Pi5 is :-(
Years ago I could boot my PC into 7 different OS's. Windows 98, Windows
NT, BeOS, OS2 Warp and a few Linux distros of different flavors. They each
wanted to kill each other so I learned a different box is best for each
primary application. Mucking about with Homebridge has busted my NAS, my
security system and my Mac, so I try hard not to do that again.
Ttyl,
John
On Wed, Mar 13, 2024 at 11:44 AM f, @.***> wrote:

nice Im jealous haha. I got a pi4. I just can’t justify the pi5 for
myself. I still want it though haha.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-1994716824,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX2MVBPBKB3I3LFKQKLYYBX4NAVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUG4YTMOBSGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Man really. Ah this is annoying hope they sort it out soon. Wow I just lightly used dual boot on my Mac for a while and just win7. And this alone caused headaches when ever I wanted to resize the partitions. I can only imagine how difficult it is to manage old OSes and so many. But I like the nostalgia hit I get whenever I use an older xp Maschine  for reading my cars error codes. It would be very fun to try win98 again I grew up on this.
 I tried it in a Linux vm for a while but to sort out the networking was a rough for me and kept breaking.
so yeah not to compare my experience with yours but I ended up with a dedicated box as well

Some good news, but I need to know what you think.
First lets start with a simple Cmd4 config.json
{
          "platform":                      "Cmd4",
          "debug":                         true,
          "accessories" :
          [
             {   "type":                   "Television",
                 "category":               "APPLE_TV",
                 "publishExternally":      false,
                 "name":                   "Example TV",
                 "active":                 "ACTIVE",
                 "activeIdentifier":        1,
                 "configuredName":         "Example TV",
                 "manufacturer":           "Example TV Mfg.",
                 "model":                  "Example TV Model",
                 "serialNumber":           "Example TV Sn.",
                 "sleepDiscoveryMode":     "ALWAYS_DISCOVERABLE"
            }
         ]

This will not give you the buttons you want in the home app. but I think you also asked about the remote widget as shown in PullDownToSeeRemote.png. Beside the camera and above the flashlight you will find the remote widget.  I think you asked me about this

When you click on the remote. You get a nice Remote widget as in Remote.png

When you click on the remote buttons, I can see get/set functions being called on the homebridge.log. These are just cached as polling was not configured, but you get the picture.
I can also tell you that like appletv-extended I was able to configure Cmd4 to do what they did, but alas no nice remote widget. See Cmd4Home.png

So my question to you then is the pull down remote widget going to be good enough for you?
ttyl,
John
ttyl,
John

yes!! amazing! oh yeah this is it! you are incredible!
That pull down remote is all I was looking for. I don’t think there is one inside the home app. Sorry if I was not clear and caused confusion. The photos I shared show this remote on an iphone.
man I’m so excited! Thank you! I will implement this as soon as I can tomorrow.
Did you try the volume buttons of your iPad while you got the remote open?
I think you can send volume up down via the physical buttons while the remote is open.
anyways I will try all this tomorrow. Thank you so much for your patience and persistence with me!

Ok so I added the tv config and on the iPad, like your pictures show, the remote works! But weirdly on my iphone the remote does not show up.
So this seems to be an issue either with ios or a bug on my end.
then I tried the volume control but sadly it did not work. I tried to add a tv speaker via linkedtypes. This did not work.
I found this pr wich apparently added this functionality to mqttthing.
anyways I close this now as the feature works! Thank you again for your help! I feel bad holding you off of your 3d printer project for so long.
When I resolve either the iPhone or volume control issue I will post it here ofcourse.

Hi,
I was going to try the volume control, but did not have great
expectations. It's after all an Apple thing if they choose to display it. I
probably will try a few times myself.
So I was sort of inspired and spent the day updating my Homebridge-ui
branch with a lot of changes that have occurred in a year or so. I will
continue to play with this too.
If I do ever get a better example of an AppleTV, I'll let you know.
As for bothering me, you certainly didn't I learned some stuff too.
Ttyl,
John
On Fri, Mar 15, 2024 at 1:24 PM f, @.***> wrote:

Ok so I added the tv config and on the iPad, like your pictures show, the
remote works! But weirdly on my iphone the remote does not show up.
So this seems to be an issue either with ios or a bug on my end.
then I tried the volume control but sadly it did not work. I tried to add
a tv speaker via linkedtypes. This did not work.
I found this pr
https://github.com/arachnetech/homebridge-mqttthing/pull/579 wich
apparently added this functionality to mqttthing.
anyways I close this now as the feature works! Thank you again for your
help! I feel bad holding you off of your 3d printer project for so long.
When I resolve either the iPhone or volume control issue I will post it
here ofcourse.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/142#issuecomment-2000116266,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX5V64IAIYFPINXTV3DYYMVDPAVCNFSM6AAAAABEABVSZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGEYTMMRWGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

With some more testing it turns out that on ios16 the remote is showing up but on ios17 not.
i did some more testing and even the ipad with ios17 does not show the remote. An older phone with ios16 shows the remote and the ipad on ios16 did show it aswell.
So Either this is intentionally by apple or a bug with ios17.
At least it is not related to homebridge.
I guess the only option is to create an Apple TV accessory not just a tv or set top box accessory. But how knows if this is even possible.

okok so I got volume and remote working on ios17.2.1 but still not on my main device with 17.4

 this is the config I used
{
    "platform": "Cmd4",
    "name": "Cmd4",
    "accessories": [
        {
            "type": "Television",
            "displayName": "Tv_Combo",
            "publishExternally": true,
            "category": "TELEVISION",
            "active": "ACTIVE",
            "activeIdentifier": 1,
            "configuredName": "TV_Combo",
            "sleepDiscoveryMode": "ALWAYS_DISCOVERABLE",
            "remoteKey": "SELECT",
            "linkedTypes": [
                {
                    "type": "TelevisionSpeaker",
                    "displayName": "TVSpeaker",
                    "mute": "FALSE",
                    "active": "ACTIVE",
                    "volume": 10,
                    "volumeControlType": "ABSOLUTE",
                    "volumeSelector": "INCREMENT"
                },
                {
                    "type": "InputSource",
                    "displayName": "HDMI1",
                    "configuredName": "HDMI1",
                    "currentVisibilityState": "SHOWN",
                    "inputSourceType": "HDMI",
                    "isConfigured": "CONFIGURED"
                },
                {
                    "type": "InputSource",
                    "displayName": "HDMI2",
                    "configuredName": "HDMI2",
                    "currentVisibilityState": "SHOWN",
                    "inputSourceType": "HDMI",
                    "isConfigured": "CONFIGURED"
                }
            ],
            "brightness": 8,
            "closedCaptions": "DISABLED",
            "currentMediaState": "PLAY",
            "targetMediaState": "PLAY",
            "pictureMode": "STANDARD"
        }
    ]
}

With your config I only saw the Power button on my iPad, IOS 17.3.1.
With my config below I see the HDMI buttons as well, but no speaker.
     {
         "platform": "Cmd4",
         "debug": true,
         "accessories":
         [
            {
               "type":                      "Television",
               "displayName":               "CMD4APPLETV",
               "publishExternally":          true,
               "category":                  "APPLE_TV",
               "active":                    "ACTIVE",
               "activeIdentifier":           1,
               "configuredName":            "CMD4APPLETV",
               "sleepDiscoveryMode":        "ALWAYS_DISCOVERABLE",
               "linkedTypes":
               [
                  {
                     "type":                   "InputSource",
                     "displayName":            "HDMI1",
                     "configuredName":         "HDMI1",
                     "currentVisibilityState": "SHOWN",
                     "inputSourceType":        "HDMI",
                     "isConfigured":           "CONFIGURED",
                     "identifier":              1,
                     "targetVisibilityState":  "SHOWN",
                     "name":                   "HDMI1",
                     "manufacturer":           "Somebody",
                     "model":                  "Anything",
                     "serialNumber":           "12345"
                 },
                 {   "type":                   "InputSource",
                     "displayName":            "HDMI2",
                     "configuredName":         "HDMI2",
                     "currentVisibilityState": "SHOWN",

                     "currentVisibilityState": "SHOWN",
                     "inputSourceType":        "HDMI",
                     "isConfigured":           "CONFIGURED",
                     "identifier":             2,
                     "targetVisibilityState":  "SHOWN",
                     "name":                   "HDMI2",
                     "manufacturer":           "Somebody",
                     "model":                  "Anything",
                     "serialNumber":           "12345"
                  },
                  {  "type":                   "TelevisionSpeaker",
                     "displayName":            "TVSpeaker",
                     "mute":                   "FALSE",
                     "active":                 "ACTIVE",
                     "volume":                 10,
                     "volumeControlType":      "ABSOLUTE",
                     "volumeSelector":         "INCREMENT",
                     "name":                   "TVSpeaker",
                     "manufacturer":           "Somebody",
                     "model":                  "Anything",
                     "serialNumber":           "12345"
                  }
               ],
               "brightness":                8,
               "closedCaptions":           "DISABLED",
               "currentMediaState":        "STOP",
               "targetMediaState":         "STOP",
               "pictureMode":              "STANDARD",
               "remoteKey":                "SELECT",
               "manufacturer":             "SomeManufacturer",
               "model":                    "SomeModel",
               "serialNumber":             "12345",
               "stateChangeResponseTime":   3,
               "polling":
               [
                   {"characteristic": "active", "interval": 50,  "timeout": 5000},
                   {"characteristic": "currentMediaState",   "interval": 540, "timeout": 5000}
               ],
               "state_cmd": "node /home/homebridge/.homebridge/Cmd4Scripts/State.js"
            }

         ]
      }

yes you are right I did not see the hdmi inputs with mine.
I will do some more testing today. Thank you for your nice config!
the speaker never showed up anywhere for me too. But when I pressed the physical volume buttons on the phone while I had the remote open. I could see TVSpeaker VolumeSelector 1/0 for volume up/down in the homebridge logs.


Ambari 22897 Tez view button doesnt works in ambari  hiveviews 1.5

What changes were proposed in this pull request?
Ambari 22897 - Tez view button doesnt works in ambari hive views 1.5
Visual-explain, visualization , tez , and settings was 'views' is not made route due to those buttons where not working as it was hitting : https://github.com/emberjs/ember.js/issues/10780
How was this patch tested?
Tested the UI changes
All works fine
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.113 s
[INFO] Finished at: 2018-02-20T16:31:12+05:30
[INFO] Final Memory: 62M/521M
UT cases corrected and folder made correct
[INFO]
[INFO] Tests run: 94, Failures: 0, Errors: 0, Skipped: 0
No change to Apperance even though there are changes in the implementation logic.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/699/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1037/
Test FAILed.
Test FAILured.

LGTM.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1039/
Test FAILed.
Test FAILured.


Emscripten samples: weird corruption issues with WebGL2 shaders.

Two of the 16 Emscripten samples in sokol-samples don't work with WebGL2 shaders with very weird symptoms (bufferoffsets-emsc and offscreen-emsc).
To reproduce:
Replace the shaders here:
https://github.com/floooh/sokol-samples/blob/0502fa1fb840e502235518af94e7ab27b7a7adb3/html5/bufferoffsets-emsc.c#L70-L83
...with:
    sg_shader shd = sg_make_shader(&(sg_shader_desc){
        .attrs = {
            [0].name = "pos",
            [1].name = "color0"
        },
        .vs.source =
            "#version 300 es\n"
            "in vec2 pos;"
            "in vec3 color0;"
            "out vec4 color;"
            "void main() {"
            "  gl_Position = vec4(pos, 0.5, 1.0);\n"
            "  color = vec4(color0, 1.0);\n"
            "}\n",
        .fs.source =
            "#version 300 es\n",
            "precision mediump float;\n"
            "in vec4 color;\n"
            "out vec4 frag_color;\n"
            "void main() {\n"
            "  frag_color = color;\n"
            "}\n"
    });

...when building with webgl2-wasm-ninja-release this results in the following errors on the JS console:

...and when building with webgl2-wasm-ninja-debug this result in (and the sg_shader_desc struct that's going into sg_make_shader() seems to indeed have a junk .bytecode pointer!

...my first hunch was Emscripten stack size, but the error also happens with vastly increased stack size.
Next I though that maybe something corrupts the stack inside the sokol_gfx.h shader compilation code, but that would only explain followup errors, but here the first call to sg_make_shader() is already broken.

...same error when moving the sg_shader_desc out into a global variable.

...interesting, the shd_desc.fs.bytecode.ptr member gets corrupted during the sg_make_shader() function call.
Asserting that this is 0 before the call works, but that same assertion right at the start of sg_make_shader() triggers.
It's crazy though that this also triggers when shd_desc is a global variable. The sg_make_shader() function takes a pointer, so that struct never lives on the stack. Something writes into the global variable during the function call!

...it gets crazier... moving the shd_desc out into a global variable:
static const sg_shader_desc shd_desc = {
    .attrs = {
        [0].name = "pos",
        [1].name = "color0"
    },
    .vs.source =
        "#version 300 es\n"
        "in vec2 pos;\n"
        "in vec3 color0;\n"
        "out vec4 color;\n"
        "void main() {\n"
        "  gl_Position = vec4(pos, 0.5, 1.0);\n"
        "  color = vec4(color0, 1.0);\n"
        "}\n",
    .fs.source =
        "#version 300 es\n",
        "precision mediump float;\n"
        "in vec4 color;\n"
        "out vec4 frag_color;\n"
        "void main() {\n"
        "  frag_color = color;\n"
        "}\n"
};

...and then adding this assertion before the sg_make_shader() call:
    assert(0 == shd_desc.vs.bytecode.ptr);
    assert(0 == shd_desc.fs.bytecode.ptr)

...the second assert for the fs.bytecode.ptr triggers! And even when that assert is right at the start of the main function! And somehow this depends on the shader code strings!

Ok, I'm officially a moron :D
What's wrong with this code (hint: the extra comma after the first line lol):
    .fs.source =
        "#version 300 es\n",
        "precision mediump float;\n"
        "in vec4 color;\n"
        "out vec4 frag_color;\n"
        "void main() {\n"
        "  frag_color = color;\n"
        "}\n"

...this was the reason why both the bufferoffset-emsc and offscreen-emsc samples failed. It's still interesting that it causes such absolutely weird errors in release mode though! (e.g. in release mode it's trying to compile a null shader string).


Revert "set password properties as sensitive"

Reverts chef-cookbooks/iis#404

want to revert this first?

@EasyAsABC123 want to revert this first?

@jasonwbarnett yes i will revert, then we will remove then you will make sensitive?

@EasyAsABC123 yes. will do that.


Update PDFs as per current tex files and rectify name mismatch

@ta-oliver I've updated all the PDFs with existing tex files. There are few points to note below.

I've removed CpsSignalVersion which seemed somewhat similar to ConstantPositionSize. 84e2d54 above message is written incorrectly by mistake.
In commit 297017e though I've removed IntegerDifferentialMovingAverages the message written is incorrect the rules is already covered in SimpleMovingAverage tex file was present and PDF was not compiled which is done in commit f930f97.
For MovingAverageMomentum the tex file was not present hence I've created the tex file named as DifferentialMovingAverageMomentum

Many thanks, @fhashim .


Register Probes to surface error: Incorrect dimensions for matrix multiplication.

This is a follow up for my previous issue: https://github.com/Gowerlabs/lumomat/issues/51#issue-2009067598
As we just finished preprocessing by Homer3, we tried group results on AtlasViewerGUI again and hoped to see whether it could use the HRF to generate sensitivity. However, AtlasViewer failed to register probes to surface again and repeated the error "Incorrect dimensions for matrix multiplication".
I was reminded that the registration data was not compulsory in AtlasViewerGUI for image reconstruction. This time the GUI does not require registration data anymore, and I could not load .SD elsewhere due to the deviates results as well. Therefore, I would like you to help me check the location matrix of the group result again. The package is a bit large. Please download the whole 'glm-test' file here: https://gocuhk-my.sharepoint.com/:f:/g/personal/siqigao_cuhk_edu_hk/Ek1yMQ5OYyJOh2-lpVtLedcB837zXKWN6EPXZg4dywap4g?e=lbyLqf
My system: win 11
software version: Matlab 2023b
Homer3 1.80.2
AtlasViewerGUI 2.44.0
My step: 1. set the 'glm-test' folder as the current working directory in Matlab.
2. call out the AtlasViewGUI  in matlab cmd line
3. click the "Register Probe to Surface " right below the head atlas
4. you can see the error starts with "Incorrect dimensions for matrix multiplication" in the cmd.

@labteng we cannot identify any actionable issue with lumomat and therefore will close this issue.  If you are able to demonstrate a problem with the package, please open a new issue.


Write API tests

Tests individual handlers with: https://github.com/elyra-ai/elyra/blob/master/elyra/tests/pipeline/test_handlers.py

duplicated with #11 and #10


html: fix Firefox support, missing/wrong-case functions arguments

Thanks - I'm adding firefox support now, which has a bunch of other issues(it performs like shit).
I applied your change aswell

closing here: put your name on the commit here:
https://github.com/jonasmr/microprofile-staging/commit/415ba4d1841470b4ed32359759c7cb636ab7e102


Can we connect a Synchronous Socket Client to Asynchronous Socket Server?

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

ID: e87c349f-3592-3f62-315d-e85db695041b
Version Independent ID: efce9f39-4ba4-a61d-4330-e60dcfaf99ca
Content: Using an Asynchronous Client Socket
Content Source: docs/framework/network-programming/using-an-asynchronous-client-socket.md
Product: dotnet-framework
GitHub Login: @mcleblanc
Microsoft Alias: markl

@davidsh can you provide some insight into this?

@davidsh can you provide some insight into this?

I don't understand the question being asked here.  You can use either Synchronous based Socket APIs or Asynchronous ones to connect to a server. It doesn't matter how the server itself is implemented internally.

Thanks, @davidsh. Closing...


Log In needs to link to or create a User record

@davegraham92120 already did a bunch here.  Maybe all we need.

I think all we really have to do is create the record if it isn't there.


js: true causing delay in mailers resulting in test failures

describe 'salary acceptance email' do
  let!(:effective_date)  { Date.current.next_week }
  let(:salary) { FactoryGirl.create(:salary) }

  it 'displays admin selected effective_date', js: true do

    page.visit approval_path(salary)
    page.uncheck('default_effective_date')
    select effective_date.year.to_s, from: 'offer_effective_date_date_1i'
    select I18n.t("date.month_names")[effective_date.month] , from: 'offer_effective_date_date_2i'
    select effective_date.day.to_s, from: 'offer_effective_date_date_3i'
    click_on 'Accept'
    #binding.pry or wait_for_ajax - hack to let the test pass

    expect(mail.body).to include_in_each_part(salary.amount)
    expect(mail.body).to include_in_each_part(effective_date.strftime('%Y-%m-%d'))
  end
end

There isn't any ajax request in this part of the code except that there is a javascript which hides/displays the effective_date date_select tag. When I add js: true to the spec mail[=> ActionMailer::Base.deliveries .last] returns nil but if the test is allowed to wait for a second or two things would work fine. How do I fix this without the HACK ! :sob:
Capybara Version : capybara (1.1.3)
Webkit Version : capybara-webkit (0.13.0)

Ask questions on mailing list as requested in the readme

@twalpole :+1:  ..


avoid backtracking full segment captures

Coverage remained the same at 100.0% when pulling 9ef519178f2e61d919ab293256277a7675038876 on optimize-capture into 034f2d18a13edda347cbf7bd62547bf13b4f074d on master.

Coverage remained the same at 100.0% when pulling 9ef519178f2e61d919ab293256277a7675038876 on optimize-capture into 034f2d18a13edda347cbf7bd62547bf13b4f074d on master.


TextBuffer::getTextInRange() incorrect?

This may simply be a misunderstanding, but it seems that TextBuffer::getTextInRange() is returning incorrect values.
Let's say you have a file consisting entirely of this:
foo

Since Ranges are 0 based you would expect the following to return "foo":
buffer = atom.workspace.getActiveTextEditor().getBuffer()
buffer.getTextInRange([[0,0],[0,2]])

However it only returns "fo". You need to run the following to get "foo":
buffer.getTextInRange([[0,0],[0,3]])

Are ranges not 0 based, or is something not correct here?

No, ranges are zero-based. This is the correct behavior. Think of the range as being analogous to the integer range that you'd pass to String.prototype.substring.
var string = "foo";
string.substring(0, 0) // => ""
string.substring(0, 1) // => "f"
string.substring(0, 2) // => "fo"
string.substring(0, 3) // => "foo"

@maxbrunsfeld I think we might have confused the methods here.
String class in javascript has multiple methods for string manipulation

String.prototype.substr
String.prototype.substring
String.prototype.slice

I am not sure what method Atom is trying to make ranges compatible with. but If I understand correctly, the ranges and text should be 0-indexed just like you said, which means "abc" would mean ['a', 'b', 'c'], so if we do ['a', 'b', 'c'].slice(0, 3) we get the same array back. That is the ranges should be like, because if they are not like this then there's a huge confusion in the API.
In our use case we're generating ranges using the line length and then reducing one from it so the range covers all of the text, If we "patch" it to make it work, we will have to remove the reducing one logic, which then defeats all this 0-based concept.
Please do explain :)

IIRC, String.prototype.substring gets a 0-indexed start point, and then the number of chars to count from that point on. It's not a range at all, it's a diff between start and end.

@steelbrain No, it takes a start and an end index (i.e. a range). See the examples above. Maybe you're thinking of String.prototype.substr?

@maxbrunsfeld so we have two options here

Change all the 0-indexed ranges we have to 1-indexed so they cover all the characters
Atom makes it's internal string manipulation methods compatible with String.prototype.slice instead of String.prototype.substring

Which option would you recommend?

@maxbrunsfeld So should we treat ranges as "areas between the initial number's column and the last number's column, not inclusive"?
We have been treating these "zero-indexed" numbers like you would treat arrays, like the following:

@steelbrain @Arcanemagus Ranges, are zero-indexed. getTextInRange treats the range's end point as exclusive, just like all other javascript APIs: Array.prototype.slice, String.prototype.slice, and String.prototype.substring.
@steelbrain I think you are misunderstanding the situation. Nothing is 1-indexed, and slice and substring treat work the same (they just handle edge cases like end < start differently). Atom's methods work the same as both. Atom definitely does not need to change in this regard.

@maxbrunsfeld I now see that both slice and substr work the same way for our use case.
so I have another question, imagine I have a line with
$var = "I am something being assigned to a var";

so how do we construct a range that covers all of this text? Even the last character.
Here's about what we're doing right now
const textEditor = atom.workspace.getActiveTextEditor()
const charsInLine = textEditor.getBuffer().lineLengthForRow(0)
const range = [
  [0, 0],
  [0, charsInLine - 1]
]

The end point being exclusive makes this make sense to me at least, thanks.

@steelbrain Your solution is fine. In most cases, you can also do: [[0, 0], [0, Infinity]]

@maxbrunsfeld Unfortunately, that solution does not cover all the text, it leaves the last char out of range. You can confirm it yourself :)
const textEditor = atom.workspace.getActiveTextEditor()
const charsInLine = textEditor.getBuffer().lineLengthForRow(0)
console.log(textEditor.getTextInRange([
  [0, 0],
  [0, charsInLine - 1]
]))

@steelbrain Yeah: don't subtract 1 from charsInLine unless you want to omit one character.

@maxbrunsfeld If I don't subtract 1, then the range is not 0-indexed anymore. The charsInLine I get are 1-indexed, like "asdfghjkl".length === 9.

@steelbrain the range is [start, end), not [start, end], see here for the difference.
@maxbrunsfeld perhaps the documentation can explicitly mention that the end point is exclusive to clear this up for the future?

@steelbrain Just think of it as working like slice and substring.

@maxbrunsfeld I see now, thank you both for your explanations. I was not looking at it like an interval, I was looking at it like two points. :clap: to @Arcanemagus for explaining this to me on G+


Privilege Escalation

Stratos Version

4.4.0
Frontend Deployment type

[ ] Cloud Foundry Application (cf push)
[ ] Kubernetes, using a helm chart
[ ] Docker, single container deploying all components
[ ] npm run start
[X] Other (please specify below)

Backend (Jet Stream) Deployment type

[ ] Cloud Foundry Application (cf push)
[ ] Kubernetes, using a helm chart
[ ] Docker, single container deploying all components
[ ] Other (please specify below)

Expected behaviour
To protect against privilege escalation, run with a user that only has enough privileges to perform the intended functions. You can use ROOT to configure your machine and install tools you need, mount driver, create new users and other function that require ROOT access. Then use the Docker USER command to define the user to run the image as. Use either: USER [:] or USER [:]
Example Code
FROM alpine:3.4
<In this section you might need to run as ROOT to set up your machine. Install, mount, etc>
RUN groupadd -r myuser && useradd -r -g myuser myuser
RUN apk update
RUN apk add vim
RUN apk add curl
<Once you're done with the actions that need ROOT permissions, switch to your unprivileged user>
USER myuser
Actual behaviour
When executing a Docker image, by default the user that runs the process is root. As a best practice, you should run with a user that does not have high privileges; this help prevent privilege escalation. Apple the Principle of Least Privilege (POLP) when building or running a Docker image: give your user only the privileges it needs to perform the intended functions.
Example Code
FROM alpine:3.4
                RUN apk update
                RUN apk add vim
                RUN apk add curl

Steps to reproduce the behavior
facing issue on this line : cfmr-ui\src\jetstream\plugins\analysis\container\Dockerfile:1
Log output covering before error and any error statements
Insert log hereCopy

Detailed Description

Privilege Escalation , No user specified in Dockerfile
Context

Possible Implementation

This image runs in a secure environment


Fix session check and abort early

First of all, thanks for this plugin, I've been looking for something like this for a while, but only just stumbled upon it today.
I had an issue where TERM wasn't set to any of the values checked on the check determining if it was a tmux session or not. Checking if the environment has the TMUX variable set should be more deterministic.
Also added a check for l:list being empty. If it came back empty after grepping, telescope would complain about calling ipairs with a number instead of something iterable.

Thanks a lot @FredeEB  for fixing the bug for Telescope. I primarily use FZF while working didn't face issues because of null yet
I'll merge the PR

Happy to help :+1:


no cutscenes in tomb raider I

Game
Tomb Raider I
Engine
Open Lara
Linux Distribution
Ubuntu 22.04.3 LTS
Luxtorpeda Version
67.0.0
Bug description
Tomb Raider I has no cutscenes when using open lara
Steps To Reproduce

set up luxtorpeda in proton up qt
set tomb raider I to use luxtorpeda
launch the game

Expected Behavior
I should see cutscenes of the core design logo, the explosion that frees natla and lara getting hired by her, lara shooting wolves, etc.
Additional Context
I don't know if they are meant to be here, since they are present on the android version but not the browser version of open lara. if this isn't a bug please close this thread
Relevant log output
No response

@F3arM3 Can you provide a log of the run? The easiest way to do this is to run steam in terminal and  then copy and paste the output to a file.
This will see if there's any errors from the game engine.

I managed to get it running from terminal but I have no idea what you mean by a log of the run. can you tell me what I should look for and where I might find it?

When you run steam from the terminal, the output will be in the terminal window. scroll to where you started the game and copy and paste the output to a file and upload it here.

Did you exit steam first? You need to exit steam, then run steam via terminal, and then run the game.

tomb.zip

Thanks, that looks like a good start. Did you try something that would start a cutscene?

there is supposed to be one before you even get to the main menu

Could you try loading a level where you expect one and then provide a log of that? Curious if there's any errors that show up

Thanks for the help here. The cutscenes should now work, you'll also need a client update for luxtorpeda as well (67.1.0).
The loading screens appear to be missing from the steam assets (the ones that are supposed to show up after the cutscene), but the title screen background works, so minor issue.
Let me know how it goes for you.


RX issue

As of the time this was posted I now have an issues when receiving as seen in video... It happens with most AM frgs I have stored... I also now have random lock ups with Spectrum.... TI recompiled using you default and my preferred Setup and both have the same issues... Yesterdays Comipled version did not suffer from the issues BTW
https://github.com/egzumer/uv-k5-firmware-custom/assets/48331155/636557c2-568f-4b40-81a3-96873668254e
PS volume in the radio is almost full....

This is a work in progress, I don't know which version you used.
Try this https://github.com/egzumer/uv-k5-firmware-custom/actions/runs/7129077228

I still don't know which...

This is using c9ff301

I never pushed any commit with such SHA-1
https://github.com/egzumer/uv-k5-firmware-custom/actions

I have experienced lockups when in spectrum analyzer mode only with strong air band signals.

I pushed this commit 20minutes ago so you didn't test with that one when you reported the issue.
Does the problem persist with firmware form this github action: https://github.com/egzumer/uv-k5-firmware-custom/actions/runs/7129750771
(there is a firmware at the bottom)


Add an extension method to add Dapr HTTP Client to service collection

Describe the proposal
Currently, we can call the CreateInvokeHttpClient from DaprClient to create a preconfigured HttpClient. It would be great to leverage the IHttpClientFactory of ASP.NET Core with the same level of integration as the CreateInvokeHttpClient.
In short, there's how it could be used :
services.AddDaprHttpClient<CartClient, CartClient>("appId");
I've created a PR to see how it could be implemented.

Thanks @karoldeland - this makes what you're proposing more clear.
Can you answer one question for me? What features of the client factory do you need for your scenario?

Typed clients (CartClient)
Configuration of other handlers (retries)
Built-in logging
Handler rotation (not likely)

I'm yet convinced that this is the right thing to do on a few axes:

It's easy to configure this today but it's not in docs (use AddMessageHandler and set the BaseUri) - this is the first time this feedback has come up so I'm hesitant to pursue expensive solutions
This would best be served as a separate package (we won't add a dependency to Dapr.Client but Dapr.AspNetCore is probably not the right place).
There are many overloads of AddHttpClient<T> if we add one of these we kinda need to have them all or issues/requests will trickle in over time: https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.httpclientfactoryservicecollectionextensions.addhttpclient?view=dotnet-plat-ext-5.0

Personally, my approach for these things is avoid over-indexing on whether something is one line of code or multiple.
Providing a convenience API for helps when you want users to find a feature without documentation, or when the task is so shocking common that it's going to help 95% of people for 95% of their use cases.
I think what would change my mind would be:

Us starting with the sample of doing this "by hand" and working backwards to a good solution
Thinking about other options that don't try to pack 3-4 features in single method call

To continue this discussion, here's an example of what this might look like today if I put it in the docs.
public void ConfigureServices(IServiceCollection services)
{
    services.AddHttpClient<CartClient>(c =>
    {
        c.BaseAddress = new Uri("https://cart");
    })
    .AddHttpMessageHandler(() => new InvocationHandler());
}

Depending on your answers to the questions I asked, here's an even simpler example without the factory:
public void ConfigureServices(IServiceCollection services)
{
    services.AddSingleton<CartClient>(new CartClient(DaprClient.CreateInvokeHttpClient("cart"));
}

Hi @rynowak,
I have to agree with you. I realized yesterday while implementing the basic method that it will imply to have a lot of code to support all overrides.
For me, the need was mainly a concern of adopting the best-practices for ASP.NET about the IHttpClientFactory. It will be useful to have the possibility to add global policies like retries, but it seems that Dapr will solve this early soon. So I think it's not a good idea to add code in the SDK that have high chance to be useless in the short term.
IMHO, the second sample you provide is nice. I personaly don't like to have http:// strings in the code.
For sure, adding this to documentation would be a great addition.

Ok, thanks @karoldeland - with that resolved I'm going to close your PR and treat this as a docs issue. Feel free to discuss more if you have other ideas.

@rynowak Are you looking for any help? I would love to start my open source journey with this as am really interested in Dapr project.

@rynowak I hope all is well.
I realize this thread is over a year old but I have a similar need..
I am trying to upgrade an existing GraphQL framework to run on Dapr.   which provides a single GraphQL Gateway and uses preconfigured Named Http Clients, that get resolved at query-time, from the HttpClientFactory in order to resolve each node of a GraphQL query per each downstream service.
As such the Gateway Service is first configured by added a HttpClient per each downstream GraphQL service to the HttpClientFactory as follows...
Add Endpoints ...

 services.AddHttpClient(WellKnownSchemaNames.AuthorizationServices, c => c.BaseAddress = new Uri(configuration.GetConnectionString("AuthorizationServices"))).AddHeaderPropagation();
 services.AddHttpClient(WellKnownSchemaNames.TestAuthService, c => c.BaseAddress = new Uri(configuration.GetConnectionString("TestAuthService"))).AddHeaderPropagation();

Note : the AddHeaderPropagation() at the end of each HttpClient add, more on that in a second..
When a GraphQL query is issued to the Gateway it will craft up a query plan and the invoke the necessary query to each down-stream GraphQL service.  It executes that query by first retrieving the specific, previously configured HttpClient as follows;
using HttpClient httpClient = _clientFactory.CreateClient(targetSchema);

I am running the Gateway and all downstream services with Dapr and as such do not need the HttpClientFactory, as I create the HttpClient this way, where targetSchema is the Dapr AppId....
 using HttpClient httpClient = Dapr.Client.DaprClient.CreateInvokeHttpClient(targetSchema);

@rynowak Actually I got it to work based upon your example....
namespace NextWare.Domain.Gateway.DependencyInjection
{
    public static class EndPointConfiguration
    {
        public static IServiceCollection AddEndPoints(this IServiceCollection services, ConfigurationManager configuration)
        {

            // Non-Dapr
            //services.AddHttpClient(WellKnownSchemaNames.OrderServices, c => c.BaseAddress = new Uri(configuration.GetConnectionString("OrderServices"))).AddHeaderPropagation();
            //services.AddHttpClient(WellKnownSchemaNames.InventoryServices, c => c.BaseAddress = new Uri(configuration.GetConnectionString("InventoryServices"))).AddHeaderPropagation();

            // With-Dapr
            services.AddHttpClient(WellKnownSchemaNames.OrderServices, c =>
            {
                c.BaseAddress = new Uri($"http://{WellKnownSchemaNames.OrderServices}");
            }).AddHttpMessageHandler(() => new InvocationHandler()).AddHeaderPropagation();

            services.AddHttpClient(WellKnownSchemaNames.InventoryServices, c =>
            {
                c.BaseAddress = new Uri($"http://{WellKnownSchemaNames.InventoryServices}");
            }).AddHttpMessageHandler(() => new InvocationHandler()).AddHeaderPropagation();

            return services;
        }
    }
}

Very simple so thank you!


Make 'fmf wrapper' public

It is used to execute tmt tests one-by-one in Beaker. We should make it public so it can be used for running test on deployments without dedicated tmt provision and execution method

Should be stored here: https://github.com/teemtee/tmt_wrapper


Is the .NET SDK really a prereq for this? What if I'm deploying a python or JS app?

Do I really need the .NET SDK for this? Its listed in the prereqs but I don't see any .NET specific code in here.

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

ID: 2827e624-4f80-faa5-4aad-80d22a3ff75d
Version Independent ID: a1100b71-8f09-baf6-4354-995b4891d43a
Content: Tutorial: Connect a web app to Azure App Configuration with Service Connector
Content Source: articles/service-connector/tutorial-connect-web-app-app-configuration.md
Service: service-connector
GitHub Login: @maud-lv
Microsoft Alias: malev

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

Hi @Petermarcu, good catch! Thank you your opening this issue. We're not updating the code of the app in this tutorial so the SDK isn't necessary. I've removed the prerequisite.
#please-close


Add support for VK_EXT_host_image_copy extension.

Add support for VK_EXT_host_image_copy extension.
MVKResource::getHostMemoryAddress() return nullptr if MVKDeviceMemory::getHostMemoryAddress() returns nullptr, regardless of local offset.
Remove unnecessary  enum value kMVKVkFormatFeatureFlagsTexTransfer to reduce redundancy between read and transfer feature flag options
MVKResource remove unnecessary inline qualifiers (unrelated).
MVKDevice remove some obsolete commentary (unrelated).

Fixes #2197.

Why include unrelated changes in a PR, why not separate them in a housekeeping PR or such? Doesn't that make the commit history difficult to trace, or I am missing something?

To help keep the code tidy over the long run, we try to have a "clean as you go" approach, when it comes to non-functional maintenance, since those kind of maintenance projects never seem to get prioritized.

Fair point. Coming from Wine, however, which is extremely strict about this, I actually prefer to at least split the housekeeping changes into their own commits. That way, they show up separately in the history, which makes bisection easier. The PR could still include the main change and the unrelated cleanups together.

That way, they show up separately in the history, which makes bisection easier. The PR could still include the main change and the unrelated cleanups together.

This makes sense. I'll try to remember that approach on future PR's.

You forgot to add this to the list of all supported extensions in the User's Guide.

D'oh! Good catch. Fixed.

Also, FYI, it looks like GitHub doesn't recognize the keyword "completes" as indicating that an issue should be closed after a PR is merged. You may have to close the issue manually.

Yeah. I noticed that after the fact, too. I've modified it above now.

I'm also worried about the implications of the VK_HOST_IMAGE_COPY_MEMCPY_EXT flag. I don't think we can support that for nonlinear images. Managed textures on Intel are where this would crop up.

I don't know why it didn't make it into the spec proper, but the extension proposal includes:

...flags may be VK_HOST_IMAGE_COPY_MEMCPY_EXT, in which case the data in host memory should have the same swizzling layout as the image. This is mainly useful for embedded systems where this swizzling is known and well defined outside of Vulkan.

This leads me to interpret VK_HOST_IMAGE_COPY_MEMCPY_EXT as a nice-to-have optimization, but that falling back to a linear extraction for both linear and optimal layouts (basically ignoring VK_HOST_IMAGE_COPY_MEMCPY_EXT) is acceptable.
The CTS tests all seem to test both with and without VK_HOST_IMAGE_COPY_MEMCPY_EXT, and so far so good. However, I have not tested on Intel GPU's. Why do you feel any issues would be limited to that platform?

The CTS tests all seem to test both with and without VK_HOST_IMAGE_COPY_MEMCPY_EXT, and so far so good. However, I have not tested on Intel GPU's. Why do you feel any issues would be limited to that platform?

Because on Intel Macs, the GPUs support Managed textures which are host-accessible but do not have to be linear. I suppose you could get around that by putting the texture in a placement heap and aliasing it with a buffer, but I'm not sure Metal will let you create a Managed MTLHeap... I suppose we could also forbid setting VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT with Managed textures, which we expose as Vulkan HOST_CACHED memory, but then we'd lose out on being able to use VK_EXT_host_image_copy with these images.

Maybe I should run the CTS against this change. I have a couple of Intel Macs.

If you could, that would be helpful. Without an understanding of what may/will go wrong, it's hard to develop and test a solution for how to handle it.
I've been testing using...
cd <mvk-parent-dir>/MoltenVK/Scripts
./runcts <cts-parent-dir>/VK-GL-CTS/external/vulkancts/mustpass/main/vk-default/image/host-image-copy.txt

Maybe I should run the CTS against this change. I have a couple of Intel Macs.

If you could, that would be helpful.

NM. I've dug out my old Intel/Radeon and have managed to get things running on it.
Integrated Intel GPU is fine, but it's definitely misbehaving on the discrete Radeon GPU.
Looking into it.

The changes so far LGTM, but I won't approve this until you've answered my objections about VK_HOST_IMAGE_COPY_MEMCPY_EXT with Managed textures on Intel Macs.
Maybe I should run the CTS against this change. I have a couple of Intel Macs.

If you could, that would be helpful.

NM. I've dug out my old Intel/Radeon and have managed to get things running on it.
The integrated Intel GPU is fine, but it's definitely misbehaving on the discrete Radeon GPU, as you predicted.
Looking into it.

This is now working properly on both Radeon & Intel.
It turns out the failures were not a linear/optimal issue, but a managed-memory texture sync issue. I've added a synchronizeTexture: where appropriate for managed-memory textures on discrete GPUs.


Order system breaks when using Paypal and user does not return to website

Bug report
This bug was also reported in #2931
Issue Description
As is, the Paypal Standard order flow depends on the user returning to the website so that their order gets created. If the users does not click on the "Return to merchant" button within Paypal, or cannot return for any other reason, then no order gets created in the system even though they made a payment.
Then the Paypal IPN hook continuously fails as a result, because it tries to update an order that does not exist.
Preconditions
Please provide as detailed information about your environment as possible.
1. framework Version: 1.1.2

Steps to reproduce
1. Place order using Paypal standard
2. Make payment
3. Do not return to merchant website

Expected result
Order should still be created in the system
Actual result
No order is created in the system.

As a temporary solution you can enable automatic redirection back to your website from within paypal settings. You should redirect back to "/paypal/standard/success".
This is not an appropriate solution though, because users can easily prevent this from happening or lose connection, in which case the order system will still break.

This should be fixed in the master branch, please verify your issue with https://github.com/bagisto/bagisto/archive/master.zip and let us know if this issue still occurs within this version

This should be fixed in the master branch, please verify your issue with https://github.com/bagisto/bagisto/archive/master.zip and let us know if this issue still occurs within this version

@ghermans Hello, could you please provide further info on how you fixed this issue? Thanks.

is there any possibility where we can save address in bagisto database before leaving for paypal ? and then we change status if payment is made with paypal .


Added rate limit exception

Summary
Added Anthropic.SDK.RateLimitsExceeded as a custom exception to allow callers to use rate limit / retry metadata to throttle requests.
This PR also bumps System.Text.Json, as pre 8.0.5 releases have included vulnerabilities

@mhelleborg Thanks for the PR!


evidence_datasource_parsers: Update CRISPR module

Summary of changes:

[x] Code formatting
[x] unique_assocation_fields: gene_name --> target_id & take disease_id and target_id from evidence string
[x] Add symbol mapping for 9 genes that do not have an Ensembl ID in the original data file
[x] Add unique_association_fields.gene_set to main part of evidence string - requires JSON schema modification
[x] Add pmid to data file
[ ] Remove GeneParser from this module since Ensembl IDs are provided

The removal of the GeneParser dependency has been completed by @DSuveges during the update of the parser to the new schema (#1281), see opentargets/evidence_datasource_parsers#65.

The removal of the GeneParser dependency has been completed by @DSuveges during the update of the parser to the new schema (#1281), see opentargets/evidence_datasource_parsers#65.


Spec reporter

Proposed changes
Ported over the spec reporter from #25
If everything looks good I'll write the tests for it.
Types of changes

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

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Further comments
Todo: add job link
Added pretty-ms npm package
Reviewers: @webdriverio/technical-committee

Replaced this with #40


Nodes not rejoining Docker Swarm after reboot

Description
When a Flatcar Linux based worker node is rebooted it shows as DOWN in the list returned by docker swarm node ls.
Impact
The docker service needs to be restarted on the worker node with sudo systemctl restart docker
Environment and steps to reproduce

Set-up: Flatcar 3033.2.4 (and 3033.2.2 previously)
Task: Rebooting a node
Action(s):
a. drain node from swarm
b. reboot node
c. node should be READY to be returned to ACTIVE, but it isn't
Error: node shows as NOT READY

Expected behavior
Node reboots and informs swarm manager that it's READY

Hi @cpswan
The default docker service is socket activated, have you executed systemctl enable docker.service to make sure the docker service is brought up after a reboot?

I can confirm, we use a workaround via systemd to poke the service and force start-up. Then node reboots work.

For reference, here's the section of the documentation that provides a config snippet to achieve this:
https://www.flatcar.org/docs/latest/container-runtimes/getting-started-with-docker/#permanently-running-a-container

Thanks all. I haven't had the chance to test yet, but looks like this is a well paved path, so closing.


wp-cron.php

Just noticed an empty wp-cron.php is saved in home each time the cron runs. Could this be related to EE?

@evertsemeijn
EasyEngine does not configure any cron with WordPress. So this is not related to EasyEngine.
Please use Community forum for the discussions. (http://community.rtcamp.com/c/easyengine)


Cant run detox in release mode for Android

Describe the bug
In detox when we are able to build successfully the release apk for the android but when try to initiate the test on it, the detox produce an error "android release apk is not found have you build it ?"
To Reproduce
Detox version : 12.5.0
React Native Version : 0.59
Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.

Build the detox app for release mode , detox build -c android.emu.debug
Initiate the testing using detox test -c android.emu.release

Configurations :
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
"type": "android.emulator",
"name": "Pixel_2_XL_API_27"
}
Project Sample not be possible
Expected behavior
It should detect the release apk and start test script on it.
Environment (please complete the following information):

Detox: 12.5.0
React Native: 0.59
Node:10.15.1
Device: Emulator Pixel 2 XL
OS: Android

Device and Verbose Detox Logs
Loglevel Trace
detox[41548] INFO:  [DetoxServer.js] server listening on localhost:54522...
detox[41548] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:54522
detox[41548] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"login","params":{"sessionId":"bc62209c-f301-b8d9-70d8-01ef3ce65433","role":"tester"},"messageId":0}
detox[41548] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=bc62209c-f301-b8d9-70d8-01ef3ce65433
detox[41548] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=bc62209c-f301-b8d9-70d8-01ef3ce65433
detox[41548] TRACE: [AsyncWebSocket.js/WEBSOCKET_MESSAGE] {"type":"loginSuccess","params":{"sessionId":"bc62209c-f301-b8d9-70d8-01ef3ce65433","role":"tester"},"messageId":0}
detox[41548] ERROR: [index.js/DETOX_INIT_ERROR]
Error: app binary not found at '/Users/react-native-app/App/android/app/build/outputs/apk/release/app-release.apk', did you build it?
at Device._getAbsolutePath (/Users/react-native-app/App/node_modules/detox/src/devices/Device.js:258:13)
at Device.prepare (/Users/react-native-app/App/node_modules/detox/src/devices/Device.js:18:29)
at Detox.init (/Users/react-native-app/App/node_modules/detox/src/Detox

Looks weird, what you suggest:

Build the detox app for release mode, detox build -c android.emu.debug
Initiate the testing using detox test -c android.emu.release

And, why don't you check find . -name "*.apk" to see where your apk is.

My bad it’s release only mistakenly typed this
On Tue, 30 Apr 2019 at 4:05 PM, Yaroslav Serhieiev<EMAIL_ADDRESS>wrote:

Looks weird, what you suggest:
Build the detox app for release mode, detox build -c android.emu.debug
Initiate the testing using detox test -c android.emu.release
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wix/Detox/issues/1345#issuecomment-487903882, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF7QDFUTZQMBQI6C37D6SDDPTAOINANCNFSM4HJITZMA
.

--
Yogesh Thanvi
QA Team Lead
Punchh Tech India Pvt Ltd

@yogeshthanvi  Did the test run for the debug version of the app ?

Yes it is running for debug version
On Sat, 4 May 2019 at 2:08 PM, Adnan48<EMAIL_ADDRESS>wrote:

@yogeshthanvi https://github.com/yogeshthanvi Did the test run for the
debug version of the app ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wix/Detox/issues/1345#issuecomment-489307243, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF7QDFSINEVTXXEO4SJ5TFTPTVDOXANCNFSM4HJITZMA
.

--
Yogesh Thanvi
QA Team Lead
Punchh Tech India Pvt Ltd


Change HUF fractional unit to 2 according to ISO 4217

According to ISO standard https://en.wikipedia.org/wiki/ISO_4217 The fractional unit for HUF should be 2 not 0

Update to HUF currency was merged with #82


pull request for e2e test at 01/26/2017 11:56:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update detect-enable-and-disable-smbv1-v2-v3.md

Create only works if the named value doesn't exist already. By default the named value isn't there, but if it is (because of earlier administrative configurations for example), then it won't be changed! For example: suppose some admin configuration has set the named value with value 1 and later you want to set it to 0 through GPP, then it won't be set to 0 (disabled), because of Create. Taking Update as the action has the desired result though: update it when it already exists and if it doesn't exist yet, create it.
PS: Create is not always a wrong choice (in theory it could be the case that you only want to change the behavior, when the named value doesn't exist yet, although this seems a very exceptional scenario), but typically Update will cover the desired result better.

#sign-off


Suggest a project

Project
Rango Exchange
Description
Rango is the cross-chain DEX and bridge aggregator that supports interoperability between +50 blockchains, including all EVMs, zk-Rollups, Cosmos-based, etc.
Please provide the project scope.
Safe Apps
Select a primary category of your project.
DeFi
Select secondary categories of your project.
Bridge, Aggregator
Project logo

Value proposition
With Rango, users can easily perform cross-chain swaps and bridges not only on EVM chains but also on non-EVMs and UTXOs.
Contact
<EMAIL_ADDRESS>Project URL
https://app.rango.exchange
Github / Dev Docs
https://github.com/rango-exchange
Twitter
https://twitter.com/rangoexchange
Primary integration
No response
Packages
No response
Modules / Guards
No response
Smart Accounts
No response
Networks
Ethereum, BNB, Polygon, Optimism, Avalanche, Arbitrum, Aurora
Can you create a Safe via the interface?
None
Can you import an existing Safe via the interface?
None

@0XMartinDC - have you followed our process (https://docs.safe.global/safe-apps-sdk/release) to be listed as a Safe App on our Safe Wallet interface? This is a prerequisite to be added to the Eco page.

Thank you so much, I'll review it.


Fix generation of irradiance map

Fixes: https://github.com/godotengine/godot/issues/34483
Using mip maps was causing the texture read to read from the top of the sky when sampling the very bottom of the sky. This resulted in a single off-colored pixel at the very bottom of the irradiance map. This caused issues when sampling at exactly (0, -1, 0).
Before
Scene

Irradiance map

After
Scene

Irradiance map

@akien-mga I have labelled this as high priority as it will actually affect a lot of projects, I'm guessing the reason it was so hard to spot is the combination of driver quirks and the fact that not many people look at their scenes from directly underneath.

Thanks!


feat(nfts): update dev scripts

@2manslkh this PR is taking very long. Will you get it ready or closed?


Console filetype is ''

I see that the filetype of the console is supposed to be 'dapui_console', but it seems like it's just an empty string instead.
:echo &ft just displays nothing, and adding '' to the disabled filetypes for lualine and nvim-cmp result in the expected behavior.

Thanks for the report :smile: Fixed in latest commit

Thanks for the quick fix, works fine now


fix: handle multiline imports properly

What I did
Fix logic for handling multiline imports.
MRE: https://github.com/shuklaayush/ape-import-error
How I did it
How to verify it
Checklist

[x] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[x] PR title follows Conventional Commit standard (will be automatically included in the changelog)

Oh, nice! I am going to add a test similar to your repo there like:
import {A} from
    "././././././././././././././././././././././././././././././././././././././././././././././././././A.sol";

and then let's ship it
thank you!

Please see failing tests! and also can you add a new one?
Consider making a new branch of main next time, as that would make it easier for me to collaborate on it.

Thank you for your contribution! Changes moved here: https://github.com/ApeWorX/ape-solidity/pull/80
I will make sure to set you as one of the authors on the merge-commit.


New version: PDFsam.PDFsam version 5.2.6

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Missing Properties value based on version 5.2.4:
ReleaseNotes

The ReleaseNotesUrl field is present instead, for the newer version.


Update source license headers and artifact name in .travis.yml

Coverage decreased (-0.45%) when pulling e35ee0dee18abf1f452d44a0677c90758416f355 on release/1.0.0 into 309835d0e583a54c3fa3804b88abe3399184e2f3 on master.