[BUG] Switch names now all include the Hub Name and the Activity Name when being published as a Switch.

Describe the bug
With the latest version of the plugin it would seem the names of all my Activity Switches now include the Hub Name in the Name itself when published to Homekit and thus Siri now expects me to use the full name.  It's breaking all of my flows.  Can we revert this or add yet another setting to only use the literal names again?
To Reproduce
Have multiple hubs and enable switches per activity on all the hubs.
Expected behavior
I expect the switches to be named exactly as my Activities are named.   Prior to this change i could say "Turn on Living Room Tivo"
IOS (please complete the following information):

Version: 13 beta 8
Device: iPhone XS Max

Logs
8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Adding Accessory : Balcony Harmony Activities-Balcony Fan
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Balcony Harmony Activities)INFO - Discovered Activity : Balcony Fan
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Creating Switch Service Balcony Fan/Balcony Fan
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Adding Accessory : Bedroom Harmony Activities-Bedroom Apple TV
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Bedroom Harmony Activities)INFO - Discovered Activity : Bedroom Apple TV
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Creating Switch Service Bedroom Apple TV/Bedroom Apple TV
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Adding Accessory : Bedroom Harmony Activities-Bedroom Fan
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Bedroom Harmony Activities)INFO - Discovered Activity : Bedroom Fan
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Creating Switch Service Bedroom Fan/Bedroom Fan
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Adding Accessory : Bedroom Harmony Activities-Bedroom TiVo
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Bedroom Harmony Activities)INFO - Discovered Activity : Bedroom TiVo
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Creating Switch Service Bedroom TiVo/Bedroom TiVo
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - Adding Accessory : Basement Harmony-TV
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Basement Harmony)INFO - configuring Main TV Service
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Basement Harmony)INFO - Creating TV Service
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Basement Harmony)INFO - Creating Input Service - Basement Roku
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Basement Harmony)INFO - Creating Input Service - Basement AppleTV
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Basement Harmony)INFO - Configuring Main Activity Basement TiVo
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Basement Harmony)INFO - Creating TV Speaker Service
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Basement Harmony)INFO - Creating Input Service - Basement TiVo
[8/22/2019, 2:23:38 PM] [Living Room Harmony] (Basement Harmony)INFO - Creating Input Service - Basement Nintendo
[8/22/2019, 2:23:38 PM] [Living Room Harmony] INFO - setupFoundAccessories - TV accessory added as external accessory
[8/22/2019, 2:23:38 PM] Basement Harmony-TV is running on port 52100.
[8/22/2019, 2:23:38 PM] Please add [Basement Harmony-TV] manually in Home app. Setup Code: 031-45-154
[8/22/2019, 2:23:39 PM] [Living Room Harmony] INFO - Adding Accessory : Bedroom Harmony-TV
[8/22/2019, 2:23:39 PM] [Living Room Harmony] (Bedroom Harmony)INFO - configuring Main TV Service
[8/22/2019, 2:23:39 PM] [Living Room Harmony] (Bedroom Harmony)INFO - Creating TV Service
[8/22/2019, 2:23:39 PM] [Living Room Harmony] (Bedroom Harmony)INFO - Creating Input Service - Bedroom Apple TV
[8/22/2019, 2:23:39 PM] [Living Room Harmony] (Bedroom Harmony)INFO - Creating Input Service - Bedroom Fan
[8/22/2019, 2:23:39 PM] [Living Room Harmony] (Bedroom Harmony)INFO - Configuring Main Activity Bedroom TiVo
[8/22/2019, 2:23:39 PM] [Living Room Harmony] (Bedroom Harmony)INFO - Creating TV Speaker Service
[8/22/2019, 2:23:39 PM] [Living Room Harmony] (Bedroom Harmony)INFO - Creating Input Service - Bedroom TiVo
[8/22/2019, 2:23:39 PM] [Living Room Harmony] INFO - setupFoundAccessories - TV accessory added as external accessory
[8/22/2019, 2:23:39 PM] Bedroom Harmony-TV is running on port 52101.
[8/22/2019, 2:23:39 PM] Please add [Bedroom Harmony-TV] manually in Home app. Setup Code: 031-45-154
[8/22/2019, 2:23:39 PM] [Ring] Creating location socket.io connection
[8/22/2019, 2:23:39 PM] [Ring] Ring connected to socket.io server
[8/22/2019, 2:23:40 PM] [Living Room Harmony] INFO - Adding Accessory : Basement Harmony Activities-Basement Roku
[8/22/2019, 2:23:40 PM] [Living Room Harmony] (Basement Harmony Activities)INFO - Discovered Activity : Basement Roku
[8/22/2019, 2:23:40 PM] [Living Room Harmony] INFO - Creating Switch Service Basement Roku/Basement Roku
[8/22/2019, 2:23:40 PM] [Living Room Harmony] INFO - Adding Accessory : Basement Harmony Activities-Basement AppleTV
[8/22/2019, 2:23:40 PM] [Living Room Harmony] (Basement Harmony Activities)INFO - Discovered Activity : Basement AppleTV
[8/22/2019, 2:23:40 PM] [Living Room Harmony] INFO - Creating Switch Service Basement AppleTV/Basement AppleTV
[8/22/2019, 2:23:40 PM] [Living Room Harmony] INFO - Adding Accessory : Basement Harmony Activities-Basement TiVo
[8/22/2019, 2:23:40 PM] [Living Room Harmony] (Basement Harmony Activities)INFO - Discovered Activity : Basement TiVo
[8/22/2019, 2:23:40 PM] [Living Room Harmony] INFO - Creating Switch Service Basement TiVo/Basement TiVo
[8/22/2019, 2:23:40 PM] [Living Room Harmony] INFO - Adding Accessory : Basement Harmony Activities-Basement Nintendo
[8/22/2019, 2:23:40 PM] [Living Room Harmony] (Basement Harmony Activities)INFO - Discovered Activity : Basement Nintendo
[8/22/2019, 2:23:40 PM] [Living Room Harmony] INFO - Creating Switch Service Basement Nintendo/Basement Nintendo
[8/22/2019, 2:23:40 PM] [Ring] Configuring 1 cameras and 28 devices for location "Stow" - locationId: drt1kj-vpl-0
[8/22/2019, 2:23:40 PM] [Ring] Adding new accessory doorbell Back Deck
[8/22/2019, 2:23:40 PM] Back Deck is running on port 52102.
[8/22/2019, 2:23:40 PM] Please add [Back Deck] manually in Home app. Setup Code: 031-45-154
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony-TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - configuring Main TV Service
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating TV Service
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating Input Service - Living Room Smart TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating Input Service - Living Room Nintendo Wii U
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Configuring Main Activity Living Room TiVo
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating TV Speaker Service
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating Input Service - Living Room TiVo
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating Input Service - Living Room Apple TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating Input Service - Living Room Chromecast
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating Input Service - Living Room Nintendo Switch
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating Input Service - Living Room Sonos
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony)INFO - Creating Input Service - Dining Room TiVo
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - setupFoundAccessories - TV accessory added as external accessory
[8/22/2019, 2:23:41 PM] Living Room Harmony-TV is running on port 52103.
[8/22/2019, 2:23:41 PM] Please add [Living Room Harmony-TV] manually in Home app. Setup Code: 031-45-154
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony Activities-Living Room Smart TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony Activities)INFO - Discovered Activity : Living Room Smart TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Creating Switch Service Living Room Smart TV/Living Room Smart TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony Activities-Living Room Nintendo Wii U
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony Activities)INFO - Discovered Activity : Living Room Nintendo Wii U
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Creating Switch Service Living Room Nintendo Wii U/Living Room Nintendo Wii U
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony Activities-Living Room TiVo
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony Activities)INFO - Discovered Activity : Living Room TiVo
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Creating Switch Service Living Room TiVo/Living Room TiVo
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony Activities-Living Room Apple TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony Activities)INFO - Discovered Activity : Living Room Apple TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Creating Switch Service Living Room Apple TV/Living Room Apple TV
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony Activities-Living Room Chromecast
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony Activities)INFO - Discovered Activity : Living Room Chromecast
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Creating Switch Service Living Room Chromecast/Living Room Chromecast
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony Activities-Living Room Nintendo Switch
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony Activities)INFO - Discovered Activity : Living Room Nintendo Switch
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Creating Switch Service Living Room Nintendo Switch/Living Room Nintendo Switch
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony Activities-Living Room Sonos
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony Activities)INFO - Discovered Activity : Living Room Sonos
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Creating Switch Service Living Room Sonos/Living Room Sonos
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Adding Accessory : Living Room Harmony Activities-Dining Room TiVo
[8/22/2019, 2:23:41 PM] [Living Room Harmony] (Living Room Harmony Activities)INFO - Discovered Activity : Dining Room TiVo
[8/22/2019, 2:23:41 PM] [Living Room Harmony] INFO - Creating Switch Service Dining Room TiVo/Dining Room TiVo
Config
{
"platform": "HarmonyHubWebSocket",
"name": "Living Room Harmony",
"hubIP": "<IP_ADDRESS>",
"playPauseBehavior": true,
"mainActivity": "Living Room TiVo",
"publishAllTVAsExternalAccessory": true,
"otherPlatforms": [
{
"name": "Living Room Harmony Activities",
"hubIP": "<IP_ADDRESS>",
"TVAccessory": false,
"switchAccessories": true,
"showTurnOffActivity": false
},
{
"name": "Basement Harmony",
"hubIP": "<IP_ADDRESS>",
"mainActivity": "Basement TiVo",
"playPauseBehavior": true
},
{
"name": "Basement Harmony Activities",
"hubIP": "<IP_ADDRESS>",
"TVAccessory": false,
"switchAccessories": true
},
{
"name": "Balcony Harmony Activities",
"hubIP": "<IP_ADDRESS>",
"TVAccessory": false,
"switchAccessories": true
},
{
"name": "Bedroom Harmony",
"hubIP": "<IP_ADDRESS>",
"playPauseBehavior": true,
"mainActivity": "Bedroom TiVo"
},
{
"name": "Bedroom Harmony Activities",
"hubIP": "<IP_ADDRESS>",
"TVAccessory": false,
"switchAccessories": true
}
]
}
Additional context
None

Hi, You had this change between 0.7 and 1.X ? Or since you are on ios 13 ? What name are you talking about, since IOS 13 made lots of a mess by grouping services into one accessory ....
You can try to publish everything as individual accesories to have a behavior "nearly" the same in ios 13 than in ios 12, by using publishSwitchActivitiesAsIndividualAccessories option.
By the way your config is really not "optimised" . I think something like that should be better :
{
"platform": "HarmonyHubWebSocket",
"name": "Living Room Harmony",
"hubIP": "<IP_ADDRESS>",
"playPauseBehavior": true,
"mainActivity": "Living Room TiVo",
"publishAllTVAsExternalAccessory": true,
"switchAccessories": true,
"publishSwitchActivitiesAsIndividualAccessories": true,
"otherPlatforms": [
{
"name": "Basement Harmony",
"hubIP": "<IP_ADDRESS>",
"mainActivity": "Basement TiVo",
"playPauseBehavior": true,
"switchAccessories": true,
"publishSwitchActivitiesAsIndividualAccessories": true,
},
{
"name": "Balcony Harmony Activities",
"hubIP": "<IP_ADDRESS>",
"TVAccessory": false,
"switchAccessories": true,
"publishSwitchActivitiesAsIndividualAccessories": true,
},
{
"name": "Bedroom Harmony",
"hubIP": "<IP_ADDRESS>",
"playPauseBehavior": true,
"mainActivity": "Bedroom TiVo",
"switchAccessories": true,
"publishSwitchActivitiesAsIndividualAccessories": true,
}
]
}

I just went in and renamed all my accessories in harmony to get rid of the duplications.. I'll re-optimize my config and see if it helps as well.   The naming behavior change happened between 1.0.4 and 1.0.5 for me.  I don't think this was related to IOS 13 at all.  But rather how you are now sending names into devices.   I'll see if my naming tweaks help.  I very much was probably a special case.

I made a change arround that but it was a test, but maybe it is defaulting to default names and not saved one . Reverting for next version, but not really sure.
However, renaming in harmony app might lead to phantom devices if you do not clean the cache

yeah basically it was defaulting to "Hub Name - Activity Name" after the change.  It's fine to do that now as I just renamed everything so it will work :-)  But if it was unintended i suppose i can put it all back.
It would seem that renaming the activities in Harmony and the hubs in config self cleaned up everything in Homekit ok without having to clear the cache.   So far :-)

Doh! I did end up with Phantom devices it just didn’t show up right away.  I’ll check the update and refresh my configs next time I’m home (unfortunately away for the weekend to play around right now)

@nicoduj I think I have a similar issue. I noticed that the homebridge-alexa Plugin wasn't working correct and Alexa didn't found any Homebridge device. https://github.com/NorthernMan54/homebridge-alexa/issues/250
With the developer I found out, that the harmony plugin could be the issue because of the device name duplicate and length. In HomeKit the device names are to long like
"HarmonyHub-Apple TV 4K-DirectionDownDirectionRightDirectionRight"
"HarmonyHub-Apple TV 4K-DirectionDownDirectionRightDirectionRight"
"HarmonyHub-Apple TV 4K-Home"
"HarmonyHub-Apple TV 4K-Menu"
and with this the Alexa plugin can't handle it. It comes out as sometime duplicate only 4 times "Apple TV 4K"
Hope you can help to find a solution. Thanks in advance for the time you are investing and for your ongoing development.
{
            "platform": "HarmonyHubWebSocket",
            "name": "HarmonyHub",
            "hubIP": "xxx.xxx.xxx.xx",
            "mainActivity": "Apple TV",
            "switchAccessories": true,
            "showTurnOffActivity": true,
            "refreshTimer": 30,
            "publishSwitchActivitiesAsIndividualAccessories": true,
            "addAllActivitiesToSkippedIfSameStateActivitiesList": true,
            "sequencesToPublishAsAccessoriesSwitch": [
                "Lauter",
                "Leiser"
            ],
            "devicesToPublishAsAccessoriesSwitch": [
                "LG-Fernseher;Green",
                "Apple TV 4K;Menu",
                "Apple TV 4K;Home",
                "Apple TV 4K;DirectionDown|600;DirectionRight|600;DirectionRight|600;DirectionDown|600;DirectionLeft|600;Select|600",
                "Apple TV 4K;DirectionDown|600;DirectionRight|600;DirectionRight|600;DirectionDown|600;DirectionLeft|600;DirectionDown|600;Select|600",
                "Apple TV 4K;Home|2000;Menu|2000"
            ]
        },

Hi @DJay-X ,
First you can use this kind of syntax as explained in the readme, for devicesToPublishAsAccessoriesSwitch :
Apple TV Gen 4|Button1;Play -> it will add a switch for "Apple TV Gen 4" "Play" command, named Button1.
            "devicesToPublishAsAccessoriesSwitch": [
                "LG-Fernseher|Button1;Green",
                "Apple TV 4K|Button2;Menu",
                "Apple TV 4K|Button3;Home",
                "Apple TV 4K|Button4;DirectionDown|600;DirectionRight|600;DirectionRight|600;DirectionDown|600;DirectionLeft|600;Select|600",
                "Apple TV 4K|Button5;DirectionDown|600;DirectionRight|600;DirectionRight|600;DirectionDown|600;DirectionLeft|600;DirectionDown|600;Select|600",
                "Apple TV 4K|Button6;Home|2000;Menu|2000"
            ]

But mostly, for all other services (or this one) you just have to rename in home app, and this would -be the Siri name that ios / siri will use.

Apple TV Gen 4|Button1;Play
Can't see the wood for the trees. This was it and worked for me! This of course shortened the system device names directly and by doing this also other Plugins like homebridge-alexa are working now again.
Sorry I had to steal this time from you. I appreciate your work, sharing and your friendly support. 👍

@nicoduj The homebridge-Alexa dev here, my plugin is expecting each switch to have a unique name, as it includes the name as part of the device identifier.  In the plugin, I don’t have access to name changes made in the Home app, as this is not passed back to homebridge.  I had originally used the HomeKit internal identifiers ( AID AND IID ) as the unique key, but found that these would change when accessories were added and deleted.
No need to change what your doing, as this was resolved after the user updated their config.


Filter out obvious dev noise from telemetry

e.g. F12 debug tools open, Fluid Debugger, Replay Tool, Fiddler. These skew our data, especially now while our traffic is low.

After a bit more discussion, we won't track this as a standalone item, but we do expect to tackle some of these cases as we encounter noise while wallowing in our data.

After a bit more discussion, we won't track this as a standalone item, but we do expect to tackle some of these cases as we encounter noise while wallowing in our data.


Added OxtrINs

Fixes #153
Would like feedback on this:
Should this be generalised or kept as mouse? (paper is mouse specific, not sure how generalisable this is to other species)
Alternate route will be to make a term for OxtrINs that is just interneuron capable of oxytocin receptor activity, and place this term under it.

@shawntanzk

Fixes #153 Would like feedback on this: Should this be generalised or kept as mouse? (paper is mouse specific, not sure how generalisable this is to other species)
Alternate route will be to make a term for OxtrINs that is just interneuron capable of oxytocin receptor activity, and place this term under it.

I'd either keep it as is, or remove Mus musculus from the label and add a taxon annotation 'present in taxon'.
As for the risk you mention in #153 of having other terms in CL that refer to the exact same cell type (now or in the future), I think you're adding enough axioms to make that unlikely. Thanks!

or remove Mus musculus from the label and add a taxon annotation 'present in taxon'.

I do like this idea - I'm almost certain these cell types will be present in other species and would be useful for annotations :) thanks


PhantomJS crashing while fetching screenshots in a for loop

Here is what my code looks like:
// get screenshots for all url_from fields
for(var i=0; i<body.refpages.length; i++){

    pageres = new Pageres()
        .src(body.refpages[i].url_from, ['1024x1024'], {filename: body.refpages[i].url_from.match(/^(http)?s?:?(\/\/)?(www\.)?([a-zA-Z0-9\-\.\_]+\.?[a-zA-Z\.]*)\/?/)[4]})
        .dest('screenshots/');

    pageres.run(function (err) {
        if (err){
            console.error('Error: ');
            console.dir(err);
        }
        console.log('Got screenshot at: ' + Date.now());
    });
}

I get this error:
Error:
{ [Error: PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/7C40FD55-C3C8-4D6D-B691-DD82DADB16CF.dmp] noStack: true }
Got screenshot at:<PHONE_NUMBER>904  // something that I log for every screenshot
/Users/rahul/backlink-checker/node_modules/pageres/node_modules/each-async/node_modules/onetime/index.js:15
				throw new Error(fnName + ' can only be called once.');
				      ^
Error: callback() can only be called once.
    at /Users/rahul/backlink-checker/node_modules/pageres/node_modules/each-async/node_modules/onetime/index.js:15:11
    at callback (/Users/rahul/backlink-checker/node_modules/pageres/node_modules/each-async/index.js:38:4)
    at /Users/rahul/backlink-checker/node_modules/pageres/node_modules/each-async/node_modules/onetime/index.js:20:12
    at next (/Users/rahul/backlink-checker/node_modules/pageres/node_modules/rimraf/rimraf.js:72:7)
    at CB (/Users/rahul/backlink-checker/node_modules/pageres/node_modules/rimraf/rimraf.js:108:9)
    at /Users/rahul/backlink-checker/node_modules/pageres/node_modules/rimraf/rimraf.js:142:18
    at FSReqWrap.oncomplete (fs.js:95:15)

How do I fix this?

Also, for some URLs, I get this error:
{ [Error: Couldn't load url: http://sage.nowsprouting.com/waxahachiebiblechurch/resources/bible-reading/] noStack: true }

{ [Error: Couldn't load url: http://wbctx.org/resources/bible-reading/] noStack: true }

http://wbctx.org/resources/bible-reading/ is working as expected. Try upgrading to the latest pageres version.
http://sage.nowsprouting.com/waxahachiebiblechurch/resources/bible-reading/ is indeed not working. Probably because it's a flash website which was dropped a long time ago. Can someone confirm? (@sindresorhus @kevva)
I can only debug your initial error if you provide me with the urls you are using in that loop.

Can you try upgrading to the latest version and see if it's still an issue?

Closing due to lack of response. Please reopen if you still experience the same issues.


Use go list -m -versions to determine available versions of a go module

This removes usage of the native helper to resolve available go module versions. Instead we'll use the existing go tooling which has added support for this. This has a few benefits:

No longer need to maintain https://github.com/dependabot/gomodules-extracted or make calls to internal go libs
No longer need to manually handle exclude directives
Retract directives are now supported so Dependabot won't propose updates to retracted versions

We previously attempted this change in https://github.com/dependabot/dependabot-core/pull/3630 but the approach was abandoned after we found the change was negatively impacting performance. It was further noted that using go list -m -versions was causing the go tooling to download all of the modules referenced in go.mod and this accounted for the bulk of the performance hit. This appears to only happen when GOPRIVATE=* is set which we currently need to do to support private modules.
As a workaround I found that providing a go.mod with no requirements was a way to sidestep the performance issue. We still end up getting the version information we are looking for and no extra modules are downloaded! The performance is close to the native version as well.
Example output / performance

Using native helper
[dependabot-core-dev] /tmp/go $ rm -rf /home/dependabot/go/pkg/mod/cache
[dependabot-core-dev] /tmp/go $ cat go.mod
module foo

require github.com/dependabot-fixtures/go-modules-lib v1.0.0

go 1.15
[dependabot-core-dev] /tmp/go $ time echo '{"function":"getVersions","args":{"dependency":{"name":"github.com/dependabot-fixtures/go-modules-lib","version":"v1.0.0"}}}'  | GOPRIVATE='*' /opt/go_modules/bin/helper
{"result":["v1.0.0","v1.0.1","v1.0.5","v1.0.6","v1.1.0","v1.2.0-pre1","v1.2.0-pre2"]}
real    0m1.017s
user    0m0.105s
sys     0m0.087s
[dependabot-core-dev] /tmp/go $ du -sk /home/dependabot/go/pkg/mod/cache
176     /home/dependabot/go/pkg/mod/cache

Using `go list -m -versions` with project `go.mod`
[dependabot-core-dev] /tmp/go $ rm -rf /home/dependabot/go/pkg/mod/cache
[dependabot-core-dev] /tmp/go $ cat go.mod
module foo

require github.com/dependabot-fixtures/go-modules-lib v1.0.0

go 1.15
[dependabot-core-dev] /tmp/go $ time GOPRIVATE='*' go list -m -versions -json github.com/dependabot-fixtures/go-modules-lib
{
        "Path": "github.com/dependabot-fixtures/go-modules-lib",
        "Version": "v1.0.0",
        "Versions": [
                "v1.0.0",
                "v1.0.1",
                "v1.0.5",
                "v1.0.6",
                "v1.1.0",
                "v1.2.0-pre1",
                "v1.2.0-pre2"
        ],
        "Time": "2018-10-18T21:48:48Z",
        "GoMod"<EMAIL_ADDRESS>}

real    0m8.828s
user    0m1.882s
sys     0m1.465s
[dependabot-core-dev] /tmp/go $ du -sk /home/dependabot/go/pkg/mod/cache
24844   /home/dependabot/go/pkg/mod/cache

Using `go list -m -versions` with stub `go.mod` (this PR)
[dependabot-core-dev] /tmp/go $ rm -rf /home/dependabot/go/pkg/mod/cache
[dependabot-core-dev] /tmp/go $ cat go.mod
module foo
[dependabot-core-dev] /tmp/go $ time GOPRIVATE='*' go list -m -versions -json github.com/dependabot-fixtures/go-modules-lib
{
        "Path": "github.com/dependabot-fixtures/go-modules-lib",
        "Versions": [
                "v1.0.0",
                "v1.0.1",
                "v1.0.5",
                "v1.0.6",
                "v1.1.0",
                "v1.2.0-pre1",
                "v1.2.0-pre2"
        ]
}

real    0m1.705s
user    0m0.140s
sys     0m0.135s
[dependabot-core-dev] /tmp/go $ du -sk /home/dependabot/go/pkg/mod/cache
228     /home/dependabot/go/pkg/mod/cache

Other notes

This change revealed that the v2 release of our test fixture wasn't actually valid. I created a valid v3 release and added handling for invalid version errors.
I believe the usage of SharedHelpers.run_shell_command will escape the args being passed to go mod list -m -versions and go mod edit to prevent command injection. I'd appreciate a 2nd look at this though.

As a workaround I found that providing a go.mod with no requirements was a way to sidestep the performance issue. We still end up getting the version information we are looking for and no extra modules are downloaded!

Very clever!

Looking forward to this release.

Nicely done!
I opened https://github.com/dependabot/gomodules-extracted/pull/17 and https://github.com/dependabot/gomodules-extracted/issues/18 as followups to this.

I noticed one unanticipated side effect where Dependabot now updates major versions for +incompatible versions: https://github.com/dependabot/dependabot-core/issues/4453


Update zio, zio-streams, zio-test, ... to 2.0.8

Updates

dev.zio:zio
dev.zio:zio-streams
dev.zio:zio-test
dev.zio:zio-test-sbt

from 2.0.7 to 2.0.8.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #221.


Paramount+ app on WebOS 3.x

Hi guys
is there a way to bring Paramount+ to pre 2018 LG TVs running webOS 3.x?
Would be great!

same here with the aktual Software

same here with the aktual Software

how do you mean?

I can't load the "Paramount Plus" app with this firmware either

It would be great if someone who has a 4x TV can upload it

Can one of the devs do that, please

yes that would be great. because the system is still maintained by LG.

There is some different information
Supported models and versions
LG TV is supported on:
All LG TVs with webOS 4.0 or higher (2018 - current models)

https://help.paramountplus.com/s/article/PD-How-can-I-stream-Paramount-on-my-LG-TV

why doesn't this have to do with: Homebrew Channel to do, everyone wants the app. and yes, as of 4.0, the app does exist. it would be cool if the dan comes in the shop. every OS 3x user says thank you.


REPO-2222 - Fix for issue with new fields not appearing in api calls

No changes are needed to hyku-api. Therefore, closing this PR.


UI: Single function linear view

I'd like to be able to view a single function in linear view. It's really distracting to see neighboring functions, when most the time I'm unconcerned with them. I spend a lot of time on individual functions and it's best to keep distractions to a minimum.

Also nice to be able to "scroll all the way up/down" in a function context and not an entire-binary context.

Yeah, that would come for free with this new view. Home/End already function that way in the graph views.

Added in build 3177.
Single function view is now part of linear view as an option. You can find it in the options menu. If you navigate to data, linear view will show data for the entire binary with the functions collapsed. In this mode, double clicking a function will navigate to that function in single function view.


Safari Mobile + CB Wallet deployment issues

Can’t deploy from safari mobile with Coinbase wallet mobile but you can from the cbw in app browser
Browser metadata
Path:      /create
Browser:   Mobile Safari 17.4.1 on iOS 17.4.1
Viewport:  393 x 659 @3x
Language:  en-US
Cookies:   Disabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved
Originally posted by @azadikoff in https://github.com/decentdao/fractal-interface/issues/1578#issuecomment-2100997155

@azadikoff what happens?

I'll try to screen record later but when you are redirected back to the wallet app, no signing modal appears. The expectation is that the site passes the data to the app through a deep link and the app is prompted to display the signing interface. If this is done within the wallet's in app browser it works just fine.

Here's a screen recording. https://drive.google.com/file/d/1h75z7VkQOJQCD_DK0hwiHF2ET8j81QnL/view?usp=drivesdk

Interesting. I don't think much testing has been done via Safari. Have we tried Chrome Mobile? most likely unrelated to reskin so label can probably be removed

I just tried chrome mobile (note android phone) and it worked.
Thinking this is an ios or safari specific issue

Removing this re-skin label from this.

@adamgall - agree its on reskin and agree keep it in backlog until an iphone user can replicate
Saying that, if I can find someone with an iphone who can replicate this, then we should try and get this in pre the launch

Reasoning - most people at the event will be on mobile and will default to safari

Ok, reviving the re-skin label then, seems liek this is important

@azadikoff can you please try this again on https://deploy-preview-1578.app.dev.fractalframework.xyz? I just updated our web3 libraries, shot in the dark but maybe that fixes it.
bigger comment here is that i don't think there's much we're going to be able to do in our codebase. i suspect that any issues like this will be bugs or issues of the web3 wallet connection libraries we're using.

UPDATE @adamgall  - @azadikoff was able to still replicate this issue (see his note here) as well as a new issue.
Tom was able to replicate the new issue and created a github issue here (https://github.com/orgs/decentdao/projects/32/views/3?pane=issue&itemId=62720197)
The issue above, I still couldn't replicate so still looking for an extra iphone user to try.

Summary from bug bash. Many users had issues with CB wallet on mobile
See --> https://github.com/decentdao/fractal-interface/pull/1578#issuecomment-2117962696

Closing, this is not reproducible enough to take priority


Removed a redundant check in PoolVector

The set method of PoolVector performs an indexing check twice.

You could just use ERR_FAIL_INDEX.

Thanks!


Thread safety for cancel in RetryAndFollowUpInterceptor

The streamAllocation field is written by the intercept() method and then read by the cancel() method, which per the Javadoc is safe to call from any thread. However, there is no happens-before relationship between the write and read, so it's possible that the reader will always see null, see an old value, see a partially constructed object, etc.

Yeah, I think you’re right. Should be volatile like canceled.

I thought it might be taking advantage of volatile piggybacking of the canceled field, but the relationship is backwards, since the writer of streamAllocation is reading from canceled.

Yeah, reasoning about this hurts my head. In either case, volatile here is an easy fix.


Clordid fix

These patches add missing fields from websocket subscriptions.
On Binance, when cancelling an order, the ORDER_UPDATE contains a modified CLIENT_ORDER_ID and the ORIGINAL_CLIENT_ORDER_ID.
On FTX, the PRIVATE_TRADE contains the CLIENT_ORDER_ID.

The unit test failed on ftx. This is because in ftx when an order is filled, the websocket message coming from ftx doesn't contain the client order id field. It looks like this:
{
      "channel": "fills",
      "data": {
        "fee": 78.05799225,
        "feeRate": 0.0014,
        "future": "BTC-PERP",
        "id": 7828307,
        "liquidity": "taker",
        "market": "BTC-PERP",
        "orderId": 38065410,
        "tradeId": 19129310,
        "price": 3723.75,
        "side": "buy",
        "size": 14.973,
        "time": "2019-05-07T16:40:58.358438+00:00",
        "type": "order"
      },
      "type": "update"
    }

May be it is an optional or recently added field, as it is not documented. Anyway if I send:
{
  "clientId":"81",
  "price":"40000.000000",
  "size":"0.000100",
  "side":"buy",
  "ioc":true,
  "type":"limit",
  "market":"BTC/USD"
}

I get:
{
  "channel":"fills",
  "type":"update",
  "data":{
    "id":7827374450,
    "market":"BTC/USD",
    "future":null,
    "baseCurrency":"BTC",
    "quoteCurrency":"USD",
    "type":"order",
    "side":"buy",
    "price":38493.0,
    "size":0.0001,
    "orderId":142227044991,
    "time":"2022-05-03T09:30:15.729550+00:00",
    "tradeId":3880696852,
    "feeRate":0.000665,
    "fee":0.0025597845,
    "feeCurrency":"USD",
    "liquidity":"taker",
    "clientOrderId":"81"
  }
}

or with a GTC order:
{
  "clientId":"82",
  "price":"30000.000000",
  "size":"0.000100",
  "side":"sell",
  "type":"limit",
  "market":"BTC/USD"
}

{
  "channel":"fills",
  "type":"update",
  "data":{
    "id":7827441201,
    "market":"BTC/USD",
    "future":null,
    "baseCurrency":"BTC",
    "quoteCurrency":"USD",
    "type":"order",
    "side":"sell",
    "price":38504.0,
    "size":0.0001,
    "orderId":142228740171,
    "time":"2022-05-03T09:40:02.557551+00:00",
    "tradeId":3880729878,
    "feeRate":0.000665,
    "fee":0.002560516,
    "feeCurrency":"USD",
    "liquidity":"taker",
    "clientOrderId":"82"
  }
}

ciao!

OK. Can you make a small revision?: test if the client order id field exists or not (like the test you did in the other file for binance), if the field exist, then add it. Thank you very much.

done!


[CSCMatrix.Builder] add support for automatically guessing matrix sizes

There are times when you don't know sizes of matrix from the beginning, but the current implementation requires you to know them beforehand.

fixed, finally


Moveculling

Moved culling outside of renderCamera().  Culling will now happen before the left eye is drawn.  Culling will only happen once per frame now.  Yay :).  Culling also now uses the center camera of the camera rig.
GearVRf-DCO-1.0-Signed-off-by: Tom Flynn
<EMAIL_ADDRESS>

any comments on this?

ok, moved it to onDrawFrame().  Seems to be working fine now.  Weird.  Please test before merging.

ok, @dknaan?

Code looks ok. I also tried to run some samples and everything looks fine.


Add simple implementation of CommandCallable

It would be nice to have a simple abstract implementation of CommandCallable (like SimpleDispatcher implementation for Dispatcher).
The abstract class provides the basic functionality that is sufficient in many cases. The only method it should not implement is the call method. A command class extending the abstract class would look like this:
public class SendCommand extends AbstractCommand {
    public SendCommand() {
        super(
                "simplemail.write", // permission
                "Send a mail", // description
                Texts.of("Send a server mail to a player."), // help
                "<player> <msg>"); // usage
    }

    @Override
    public boolean call(CommandSource source, String arguments, List<String> parents) throws CommandException {
        // Command stuff...
        return true;
    }
}

This is the proposed abstract command class:
public abstract class AbstractCommand implements CommandCallable {
    private final String permission;
    private final String shortDescription;
    private final Text help;
    private final String usage;

    public AbstractCommand(String permission, String shortDescription, Text help, String usage) {
        this.permission = permission;
        this.shortDescription = shortDescription;
        this.help = help;
        this.usage = usage;
    }

    @Override
    public boolean testPermission(CommandSource source) {
        return source.hasPermission(this.permission);
    }

    @Override
    public String getShortDescription(CommandSource source) {
        return this.shortDescription;
    }

    @Override
    public Text getHelp(CommandSource source) {
        return this.help;
    }

    @Override
    public String getUsage(CommandSource source) {
        return this.usage;
    }

    @Override
    public List<String> getSuggestions(CommandSource source, String arguments) throws CommandException {
        return Collections.emptyList();
    }

}

If you do want to write a PR for this, make sure to use checkNotNull in the constructors.


Fixes #4171 Refactor Extract method crash

Fixes #4171 Refactor Extract method crash
Create new location tracker for new buffer.

So why does it fix the crash?

Because we create a new LocationTracker that is referencing the correct buffer.


History

The app is great still waiting for the bookmark option, & a history panel(?) will be a great addition (like between explore and search)

Will probs do soon:tm:
(this is also a feature I wanted the stream read for)

History is finished and will be rolled out in the next update. If you have any issue with the implementation when it rolls out, create a new issue for that.


feat: simple pages; new fields

Simple pages;
New input fields.

Hello @musaevonline could you explain what we are trying to achieve here and it's motivation? We are missing a bit of context here.

Hey @BatuhanW, check out this simple way to define a resource schema, inspired by react-admin. I developed these helpers for my project and wanted to share them with the community. Hope it helps! 🙂

Hello @musaevonline, thanks! I'd suggest to create it as a separate library and share it with us! We'd be more than happy to add to our documentation as a reference.


3d particles doesn't play nice with other transparent renderables

As you can see in the screenshot below, sometimes 3d particles are not draw behind semi transparent renderables.
It seems that the particles renderable worldTransform field is never updated with the particles position. Therefore DefaultRenderableSorter can't sort the renderables properly and the particles aren't rendered when they are behind another renderable.

https://github.com/libgdx/libgdx/wiki/More-Info

Here is an sscce which demonstrates the problem. It can be added to the g3d test programs, but you have to copy libgdx/extensions/gdx-tools/assets/defaultTemplate.pfx to libgdx/tests/gdx-tests-android/assets/data/defaultTemplate.pfx first.
The problem is as @acatinon says - Renderable#worldTransform is never updated in e.g. BillboardParticleBatch#getRenderables(Array<Renderable> renderables, Pool<Renderable> pool) (similar for the other types of particle batches).
For the billboards, this can probably be fixed by modifying BillboardParticleBatch to use a separate Renderable for each ParticleController, then update Renderable#worldTransform to the correct value. This means it can be sorted correctly by DefaultRenderableSorter before being rendered. It will require some major refactoring of the methods flush, fillVerticesToViewPointCPU, fillVerticesToScreenCPU, fillVerticesGPU and others in BillboardParticleBatch. Right now, all ParticleControllers are dumped into the least amount of Renderables needed to contain the particles, without regard to their transforms. This was probably done for optimization purposes, but creates problems when sorting before rendering.
One problem with the solution of updating Renderable#worldTransform is that BillboardParticleBatch calculates the vertices in world coordinates internally, without relying on the vertices being multiplied by worldTransform matrix (unlike e.g. ModelInstance). So setting Renderable#worldTransform will multiply the vertices (which are already in world space) by another world space transform matrix (this happens in the shader I think). This will mess things up greatly, but can probably be worked around.
I have not checked if this is a problem for ModelInstanceParticleBatch and PointSpriteParticleBatch yet, nor how to fix the problem if it exists.
package com.badlogic.gdx.tests.g3d;

import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g3d.Model;
import com.badlogic.gdx.graphics.g3d.ModelBatch;
import com.badlogic.gdx.graphics.g3d.ModelInstance;
import com.badlogic.gdx.graphics.g3d.attributes.BlendingAttribute;
import com.badlogic.gdx.graphics.g3d.particles.ParticleEffect;
import com.badlogic.gdx.graphics.g3d.particles.ParticleShader;
import com.badlogic.gdx.graphics.g3d.particles.ParticleSystem;
import com.badlogic.gdx.graphics.g3d.particles.batches.BillboardParticleBatch;
import com.badlogic.gdx.graphics.g3d.particles.batches.ModelInstanceParticleBatch;
import com.badlogic.gdx.graphics.g3d.particles.batches.PointSpriteParticleBatch;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.utils.Array;

public class ParticleSystemAlphaTest extends BaseG3dTest {

	static final String EFFECT = "data/defaultTemplate.pfx";
	static final String PARTICLE = "data/pre_particle.png";
	static final String MODEL = "data/cube.obj";
	ParticleSystem particleSystem = ParticleSystem.get();
	ParticleEffect effect;
	BillboardParticleBatch billboardParticleBatch;
	ModelInstanceParticleBatch modelInstanceParticleBatch;
	PointSpriteParticleBatch pointSpriteParticleBatch;

	@Override
	public void create () {
		super.create();

		modelInstanceParticleBatch = new ModelInstanceParticleBatch();

		pointSpriteParticleBatch = new PointSpriteParticleBatch();
		pointSpriteParticleBatch.setCamera(cam);

		billboardParticleBatch = new BillboardParticleBatch();
		billboardParticleBatch.setCamera(cam);
		billboardParticleBatch.setUseGpu(false);
		billboardParticleBatch.setAlignMode(ParticleShader.AlignMode.Screen);

		particleSystem.add(modelInstanceParticleBatch);
		particleSystem.add(billboardParticleBatch);
		particleSystem.add(pointSpriteParticleBatch);

		assets.load(MODEL, Model.class);
		assets.load(PARTICLE, Texture.class);
		assets.load(EFFECT, ParticleEffect.class);

		loading = true;
	}

	@Override
	protected void onLoaded () {
		pointSpriteParticleBatch.setTexture(assets.get(PARTICLE, Texture.class));
		billboardParticleBatch.setTexture(assets.get(PARTICLE, Texture.class));

		effect = assets.get(EFFECT, ParticleEffect.class).copy();
		effect.translate(new Vector3(-7,0,-7));
		effect.init();
		effect.start();
		effect.setBatch(particleSystem.getBatches());

		particleSystem.add(effect);

		ModelInstance modelInstance = new ModelInstance(assets.get(MODEL, Model.class));
		modelInstance.materials.first().set(new BlendingAttribute(0.5f));
		modelInstance.transform.setTranslation(-5,0,-5);
		instances.add(modelInstance);
	}

	@Override
	protected void render (ModelBatch batch, Array<ModelInstance> instances) {
		particleSystem.update();
		particleSystem.begin();
		particleSystem.draw();
		particleSystem.end();
		batch.render(particleSystem);
		for (ModelInstance instance : instances)
			batch.render(instance);
	}

	@Override
	public void dispose () {
		super.dispose();
		effect.dispose();
	}
}

Hi, @acatinon , can you confirm if it was fixed with the lastest commit? Sep 7?

Woow I don't even know if I still have the corresponding code! I think this can be closed.

@MrStahlfelge Hello, can you close this, please?


freshservice_ticket query tries to fetch all tickets unless using specific fields in where clause

I've been messing around with this plugin and noticed that unless I'm filtering on either requester_id or email in the where clause the plugin tries to fetch all tickets in our freshservice instance (which seems to take a very long time in our case).
Could you add support for the other filterable fields or is this not possible?

@Stinjul
Firstly, apologies for not responding to this sooner, honestly I'd simply just missed the notification.
This shouldn't be too difficult to extend albeit requires some changes to the underlying FS SDK.
Namely the ListTicketOptions needs to be extended here to support additional properties.
These fields could then be added as quals on the table code and passed through to the underlying SDK.
I'll assign this to myself and attempt to pick it up during some downtime unless you wish to take a stab at it yourself? :)


 Currently, it responds with JSON and kind of only supports developers using this to write an API. Custom exceptions and response codes instead of JSON responses would fix this issue.

This should also include removing the 404 HTML response when tenants are deactivated.


Chrome doesn't recognize login field

Cannot save password to Chome local storage, login form is not recognized by chrome as credentials. This becomes a hassle with a 32 character password and no way to change said password.

Added to agenda

Also, if you want to reset your password, you can just create a new account (the app won't mind)

I can't create a new account using the same email of an existing account, it doesn't like it.

Verified in Chrome 47. Chrome offers to save on the login page, but not on the confirm page. I think this is because the login causes a navigate, but not the register. As such, I think the right solution to this is to perform a navigation to a "check your email" page after the registration succeeds.
@ninjas28: you can simply re-register with the same email address. You'll get a new confirmation email.

Closing as obsolete now that registration is no longer needed.


Video call stream working in debug mode but not in release mode.

Implementing video call streaming using aestrisk . Working in debug mode but not in release mode. In release mode call is accepted and fails or disconnects immediately. No issue in debug mode.
What I have tried :
#Adding proguard rules.
#Changing build.grade defaultConfig .

jh

How you resolved this?


Dependency blocks do not properly detect empty state file

Hello there!
I have a question with regards to dependencies and whether transitive dependencies work as intended or perhaps I've stumbled into a bug.
For example, in a terragrunt.hcl creating some compute resources, I have two dependencies defined as such:
dependency "security" {
  config_path = "../security"

  mock_outputs = {
    ecs    = "sg-00000000",
    access = "sg-11111111"
  }
  mock_outputs_allowed_terraform_commands = ["validate", "plan"]

  skip_outputs = true # This is the interesting part
}

dependency "vpc" {
  config_path = "../vpc"

  mock_outputs = {
    private_subnet_ids = ["subnet-00000000", "subnet-111111111"]
  }
  mock_outputs_allowed_terraform_commands = ["validate", "plan"]
}

In the "security" dependency, I have to include the skip_outputs, but only on that block.  The terragrunt.hcl for ../security also depends on VPC, so it's essentially a transitive dependency.  I have the mock_outputs at every single module, and anything that depends solely on VPC is fine, it's just when vpc and security both come up.
Error message is this:

<working_dir>/vpc/terragrunt.hcl is a dependency of <working_dir>/security/terragrunt.hcl but detected no outputs. Either the target module has not been applied yet, or the module has no outputs. If this is expected, set the skip_outputs flag to true on the dependency block.

So it would seem that when evaluating the dependencies, it isn't able to render the mocks of nested dependencies.  By setting the skip_outputs to true on the security dependency as indicated above, it seems to work again.
Curious if this is a bug or working as designed.  I couldn't find any examples that really cleared it up for me.

One of my colleagues gave me this interesting workaround that kind of has the best of both worlds:
mock_outputs_allowed_terraform_commands = ["validate", "plan"]

skip_outputs = get_terraform_command() == "validate" || get_terraform_command() == "plan" ? true : false

Because we have some regional infra, and then some infra which is partitioned and linked to the regional, I basically put the skip_outputs on everything since ultimately they all rolled up to some sort of regional infrastructure.
I'm guessing the expected usage is to limit the dependencies or somehow combine them into a more traditional root module since they're pretty tightly coupled.  Curious if maybe a "skip_outputs_all" CLI flag would be appropriate, if not checking the mocks of all the dependencies.

Do you have mocks defined for the vpc module in the security module terragrunt.hcl config? Or only defined in the child module?

When security also depends on VPC, there are indeed mocks for both.  It seems more like it isn't evaluating the outputs at all, rather than mocks are missing (as evidenced by the fact that skip_outputs gets around it).
I stumbled into it because I was building out the terragrunt infra one component at a time, then destroyed it to see if I could re-build a larger sub-section of the environment and that's when I ran into this problem.
I also tried playing with the ignore/include external dependency flags but that didn't seem to help either.  I'm currently using the skip_outputs trick above to get the plan to work and to visually verify, and then I'm removing the OR condition and plan afterwards so future plans show the correct changes.

Oooo ok I think I know what the bug is. Not sure of the fix yet, but I am aware of the problem now:
Currently the detection of "no outputs" is based on whether or not the state file for the module exists. When the state file does not exist, terragrunt goes in to mocking mode, but if the state file exists but is empty, it is treated the same as the module having been applied and ignores the mocks.

Indeed, that would make sense.
Given it's been a few days, the exact order of operations may be a little off, but at one point I did clean up the S3 bucket and Dynamo lock table.  Entirely possible I had something else going on that may have shadowed your repro though.
I'm doing a greenfield leg of this process now (and thus no statefile should exist) and may be able to help clarify.
Thanks for digging in - really appreciate it!

What would be the preferred type of fix for something like this?  Would the preference be to add another CLI flag that would preserve the current behavior but add ignoring empty outputs of deleted deployments, or just make that the default behavior.  I haven't dug through terragrunt code in some time but I could perhaps take a crack at it.

After thinking through, I think the proper fix here is to merge the mocks with the outputs when it is allowed to use the mock (terraform command is mock_outputs_allowed_terraform_commands). This should work to preserve the current behavior, while always falling back to the mock if the output is not available because when there are actual outputs, the keys from the real outputs will override the mock when doing the dictionary merge.
This has the added benefit of allowing usage of the mock automatically for new outputs, which is something that is not supported in the current mock semantics.

So doing some stepping through now with my setup and I think there's two distinct issues.  The first one you are correct, if there's an output block, it is used (or skipped) in its entirety.  It does seem to handle empty/missing state files okay, so the act of my clearing out the S3 bucket makes a bit more sense now.
My original reported issue with transitive dependencies is actually related to the shouldReturnMockOutputs returning false when the terraform command is output, as opposed to the original user intent of a plan.  So it looks like as it works its way up the dependency tree, the command is changing which is why my config above isn't working, I simply don't have "output" in the slice of acceptable mock plans.
So the question now becomes does output always become a valid mock command if there's a mock availabile, or do we need to express the original module's intent of a plan into a different attribute that can be added to checks for whether to use mocks.
Happy to provide a fix, just want to work on the right thing 👍

Curious your thoughts on this - as this explains a lot.  It looks like a change was made about 17 days ago to modify the command to output when processing a dependency block to avoid triggering hooks.  Fits my timeline because I just upgraded my machine and got the latest terragrunt whereas I probably had a version or two older before on my old laptop.  If I remove this line, everything works again as expected:

targetOptions.TerraformCommand = "output"

As for ways to move forward, it seems one option is to remove that line and express the need to suppress hooks another way, or perhaps simply add documentation to add the output command to the mock allowed commands.

I ran into this problem as well.  I rolled back to v0.23.30 and the problem went away without having to change any of my code.

Agree, that may be my short-term plan as well.  I'm probably a little stretched for time until closer to the weekend but may try to figure out another way to suppress the hooks without modifying the command and see if that can be a relatively clean change.  Seems like we need both, and I get why you wouldn't want to have hooks run in this situation as well.

v0.23.38 of terragrunt I am no longer able to reproduce this issue, it looks like it has now been fixed.  Thank you!


Native Automation Mode: Click on a button at very bottom of a page inside an iframe does not work

What is your Scenario?
If an element in an iframe is at the very bottom of a page, testcafe does not click the element if told so. It also does not throw any errors. exists works, clicks works, but the click does not trigger a click.
What is the Current behavior?
The element is not clicked
What is the Expected behavior?
The element is clicked
What is your public website URL? (or attach your complete example)
https://codesandbox.io/s/jolly-star-w6d2cv?file=/src/App.js
If you set the variable on top (marginBottom) to e.g., "100px" the test succeeds.
What is your TestCafe test code?
import { ClientFunction, Selector } from 'testcafe';

fixture(`Getting Started`).only;

test('My first test', async (t) => {
  const button = Selector('#test');
  const iframeSelector = Selector('#sandbox-preview');
  const rightContentItems = Selector('.elements__Container-l1fwko-0');
  const clickedText = Selector('#clicked');

  await t
    .setNativeDialogHandler(() => true)
    .navigateTo('https://codesandbox.io/s/jolly-star-w6d2cv?file=/src/App.js')
    .expect(
      // I just need to remove one element in the right panel in order to move the button more to the bottom
      ClientFunction<boolean, [Selector]>((selector: Selector) => {
        const element = selector() as unknown as HTMLElement | undefined;
        element?.remove();
        return true;
      })(rightContentItems.nth(1)),
    )
    .ok()
    .expect(rightContentItems.count)
    .eql(1);

  await t
    .switchToIframe(iframeSelector)
    .wait(2000)
    .expect(button.exists)
    .ok()
    .click(button)
    .expect(clickedText.textContent)
    .eql('Clicked: true');
});

Your complete configuration file
/** @type {import('testcafe/ts-defs').TestCafeConfigurationOptions */
module.exports = {
  compilerOptions: {
    typescript: {
      configPath: "./e2e/tsconfig.json",
    }
  },
  browsers: ['chrome:headless'],
  src: ['e2e/tests'],
  skipJsErrors: true,
};

Your complete test report
No response
Screenshots
No response
Steps to Reproduce

Have an app with an iframe
The iframe has a button at the very bottom (there should be any space between the button and the end of the window)
Click the button
Wonder why the click did not work

TestCafe version
3.0.0-rc1
Node.js version
18.15.0
Command-line arguments
--debug-on-fail chrome
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response

Thank you for reaching out to us. I managed to reproduce the issue. We'll research it and follow up with you promptly.

for the team:
I researched the issue. The problem is in the Status Bar. It overlaps the button.


System Probe failing to start on RHEL

Output of the info page (if this is a bug)
===============
Agent (v7.16.1)
===============

  Status date: 2020-01-17 16:30:42.048745 EST
  Agent start: 2020-01-17 15:02:08.436442 EST
  Pid: 62125
  Go Version: go1.12.9
  Python Version: 3.7.4
  Build arch: amd64
  Check Runners: 4

  Log File: /var/log/datadog/agent.log
  Log Level: info

  Paths
  =====
    Config File: /etc/datadog-agent/datadog.yaml
    conf.d: /etc/datadog-agent/conf.d
    checks.d: /etc/datadog-agent/checks.d

  Clocks
  ======
    NTP offset: -10.122ms
    System UTC time: 2020-01-17 16:30:42.048745 EST

  Host Info
  =========
    bootTime: 2020-01-17 13:24:26.000000 EST
    kernelVersion: 3.10.0-1062.7.1.el7.x86_64
    os: linux
    platform: redhat
    platformFamily: rhel
    platformVersion: 7.7
    procs: 232
    uptime: 1h37m46s
    virtualizationRole: guest
    virtualizationSystem: kvm

  Hostnames
  =========
    hostname: ~~REDACTED~~
    socket-fqdn: ~~REDACTED~~
    socket-hostname: ~~REDACTED~~
    hostname provider: configuration

  Metadata
  ========
    hostname_source: configuration

Describe what happened:
datadog-agent-sysprobe enters a failed state with this in the logs:
 | INFO | (cmd/system-probe/probe.go:50 in CreateSystemProbe) | Creating tracer for: system-probe
 | INFO | (pkg/process/config/tracer_config.go:37 in SysProbeConfigFromConfig) | system probe DNS inspection disabled by configuration
 | INFO | (pkg/ebpf/tracer.go:109 in NewTracer) | detected platform 3.10.0, switch to use kprobes from kernel version < 4.1.0
 | CRITICAL | (cmd/system-probe/main.go:122 in main) | failed to create system probe: could not load bpf module: error while loading map "maps/conn_stats": permission denied

Describe what you expected:
Expected sysprobe to start running and collecting data
Steps to reproduce the issue:
Attempt to start datadog-agent-sysprobe via systemctl start datadog-agent-sysprobe
Additional environment details (Operating System, Cloud provider, etc):
Issue occurring on RHEL 7.x (Both 7.7 and 7.6)

We had something similar happen. Do you have SELinux on? If so, the DD System Probe doesnt work out of the box with SELinux. We had to make a policy to let the System Probe service get past SELinux to make it work.

Yes we have SELinux on. What policy was that?

I'm seeing this as well, using the stock datadog-agent image.

Using the audit2allow tool and some manual editing, we got this policy working for us.
module priv_container_ebpf_allow 1.0;

require {
    type unconfined_service_t;
    type spc_t;
    class bpf {map_create map_read map_write prog_load prog_run};
}

#============= unconfined_service_t ==============
allow unconfined_service_t self:bpf {map_create map_read map_write prog_load prog_run};

#============= spc_t ==============
allow spc_t self:bpf { map_create map_read map_write prog_load prog_run };

@devinmatte @adamf Are you still seeing this issue? We do have SELinux policies available if you aren't using our Helm chart. https://docs.datadoghq.com/network_performance_monitoring/installation/?tab=agent#selinux-enabled-systems

@devinmatte @adamf Are you still seeing this issue? We do have SELinux policies available if you aren't using our Helm chart. https://docs.datadoghq.com/network_performance_monitoring/installation/?tab=agent#selinux-enabled-systems

We've been seeing a similar issue how would you suggest addressing this if we are using the Helm chart?

@bbensky I'd make sure you are using the latest version of the chart. If that doesn't fix it, please post more details so we can dig in.

Thanks @brycekahle . I am using the newest version of the chart but still getting the same error at container start up. However one of our networking folks is working on setting up an SELinux policy to make this work.

I just tried to reproduce this issue on OpenShift 3.11 and I confirm that, on RHEL 7.7, the system-probe running with the spc_t SELinux type isn’t allowed to perform eBPF operations.
I managed to get it fixed with the same policy as @kylegoch.
$ cat >allow_spc_bpf.te <<EOF
module allow_spc_bpf 1.0;

require {
	type spc_t;
	class bpf { map_create map_read map_write prog_load prog_run };
}

#============= spc_t ==============
allow spc_t self:bpf { map_create map_read map_write prog_load prog_run };
EOF
$ checkmodule -M -m -o allow_spc_bpf.mod allow_spc_bpf.te
$ semodule_package -o allow_spc_bpf.pp -m allow_spc_bpf.mod
$ semodule -i allow_spc_bpf.pp

After this, the system-probe container could start properly on RHEL 7.7.

The disabling selinux solution works for me.


vcpkg cannot build anything, saying missing "ctype.h", after installing WDK

Describe the bug
I just installed vcpkg, and it failed to build anything. Just after including "windows.h", things goes wrong.
And actually I've install all possible VS components:
UCRT runtime
Spectre runtime
Win SDK 10240 17763 18362
All C++ related modules

Environment

OS: Windows 10
Compiler: CL 19.28.29333 from MSVC 14.28.29333

To Reproduce
Steps to reproduce the behavior:

./vcpkg install detours
See error
Repro code when

Expected behavior
Everything builds successfully.
Failure logs
Logs from CL: (By re-entering working directory and manually executing the nmake command)
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
modules.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
disasm.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
image.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
creatwth.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
disolx86.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
disolx64.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
disolia64.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
disolarm.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
disolarm64.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
Generating Code...

Additional context
Actually, I've done plenty of research:
For a typical including trace, it would be looking like this:
Note: including file: D:\LibrarySpace\vcpkg\buildtrees\detours\x86-windows-dbg\src\disasm.cpp
Note: including file:  C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\windows.h
Note: including file:   C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\winapifamily.h
Note: including file:    C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\winpackagefamily.h
Note: including file:   C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\sdkddkver.h
Note: including file:   C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\excpt.h
Note: including file:    C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\vcruntime.h
Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\sal.h
Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\concurrencysal.h
Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\vadefs.h
Note: including file:   C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\stdarg.h
Note: including file:   C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\windef.h
Note: including file:    C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\minwindef.h
Note: including file:     C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\specstrings.h
Note: including file:      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\specstrings_strict.h
Note: including file:       C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\specstrings_undef.h
Note: including file:      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\driverspecs.h
Note: including file:       C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\sdv_driverspecs.h
Note: including file:     C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h

And, the include directory are controlled by %INCLUDE% env, generated by vcvarsall.bat.
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt
LIB=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\ATLMFC\lib\x86;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\lib\x86;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x86
LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\ATLMFC\lib\x86;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\lib\x86;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.18362.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.18362.0;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319

From here, things goes wrong. FYI, ctype.h should be located in C:\Program Files (x86)\Windows Kits\10\include\10.0.XXXXX.0\ucrt. It can be easily seen that 10.0.19041.0's ucrt is selected. However, the 19041 sdk was brought by WDK, which does not install ucrt headers for you. And this blocks us from building anything :(

Solved: I manually installed 10.0.19041.0 SDK, and problem resolved!
You can follow the similar procedure to troubleshoot the problem~


feat(i18n) add en_AU locale

There are changes to cron-express i18n, please pull the latest branch, it will be merged after modification @florent1933


Mesos Roles

It would be helpful if Scale supported Mesos Roles for managing resource allocation.

This issue has ongoing work needed to fully support the capability found under #1459


Update to use FunctionRegistry interface

Applied on top of #123

LGTM; rebased and merged as https://github.com/markfisher/sk8s/commit/d53434b1b21c19417f473050f2d9588ca6e4f4b6


Corrupt graphics with Flare on Pixel devices in debug mode

Steps to Reproduce
Certain Flare animations will render corrupt shapes on some Pixel devices, but only in debug mode. Not sure if this is all Pixel devices, but we've seen it on a Pixel 2 and we've had reports of it on a Pixel 3:
https://github.com/2d-inc/Flare-Flutter/issues/22
The issue isn't present in release builds, and it doesn't seem to occur on other non-Pixel devices.
I've tested on iOS (6, 7 Plus, and X), a Samsung Galaxy Tablet, and a Nokia 6 phone in both debug and release mode.
We've seen both of these examples display the behavior, however the simple example shows it most clearly:
https://github.com/2d-inc/Flare-Flutter/tree/master/example/penguin_dance
https://github.com/2d-inc/Flare-Flutter/tree/master/example/simple
There are no errors reported in the terminal and the app is otherwise fully functional.
On a Pixel 2 with the simple example:
https://drive.google.com/open?id=1q0RPgCA8YWQ1nT3WDyFDTIwuYgc2h4ND
Logs
Here's the doctor:
[✓] Flutter (Channel master, v1.1.5-pre.16, on Mac OS X 10.14.1 18B3094, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[!] Android Studio (not installed)
[✓] Connected device (2 available)

CCPR has been disabled.


Error in applying html the markdown file

Dear
Sorry to interrupt you. I am really new to hexo and html. I would like to publish my own markdown file into my own personal blogs, which was built on hexo. The transformation from jupyter notebook to markdown file would include some HTML format code, which maybe incompatible with the mathjax. Since when I create a new file and type the math equation, it would successfully shown, but when I followed the instruction and "hexo s" the markdown file with HTML code, it would return the error like this:
err: Error: Can't find handler for document
at HandlerList.handlesDocument (/Users/yuxuan/Desktop/blog/blog/node_modules/mathjax-full/js/core/HandlerList.js:58:15)
at HandlerList.document (/Users/yuxuan/Desktop/blog/blog/node_modules/mathjax-full/js/core/HandlerList.js:62:21)
at Object.document (/Users/yuxuan/Desktop/blog/blog/node_modules/mathjax-full/js/mathjax.js:10:41)
at /Users/yuxuan/Desktop/blog/blog/node_modules/hexo-filter-mathjax/lib/filter.js:59:26
at Hexo. (/Users/yuxuan/Desktop/blog/blog/node_modules/hexo-filter-mathjax/index.js:19:18)
at Hexo.tryCatcher (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/util.js:16:23)
at Hexo. (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/method.js:15:34)
at /Users/yuxuan/Desktop/blog/blog/node_modules/hexo/lib/extend/filter.js:67:52
at tryCatcher (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/util.js:16:23)
at Object.gotValue (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/reduce.js:166:18)
at Object.gotAccum (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/reduce.js:155:25)
at Object.tryCatcher (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/yuxuan/Desktop/blog/blog/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (internal/timers.js:461:21)
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.htm
hope to hear your response.
thank you

I followed the instruction and "hexo s" the markdown file with HTML code, it would return the error like this:

I found a similar issue here: https://github.com/mathjax/MathJax-src/issues/265
It seems that this is a limitation of mathjax itself, I would suggest you to avoid inserting html content not supported by mathjax in markdown document

I followed the instruction and "hexo s" the markdown file with HTML code, it would return the error like this:

I found a similar issue here: https://github.com/mathjax/MathJax-src/issues/265
It seems that this is a limitation of mathjax itself, I would suggest you to avoid inserting html content not supported by mathjax in markdown document

Thank you for your suggestions. I really appreciate that

Thank you for your suggestions. I really appreciate that

I meet the same issue.
And I don't find where I inserting html content in mathjax document.

If you are using hexo-renderer-pandoc, you can modify this line:
- data.content = mathjax(data.content);
+ data.content = data.content.replace(/<span\s+class="math\s+[^"]*">\\[\(\[].*?\\[\)\]]<\/span>/gs, mathjax);

This will prevent rendering errors for complex HTML fragments that result in "Can't find handler for document".


Disable markdown uploads

Disable file/image uploads from the admin panel
Closes #74

Merge localization (#175) before this one


Better support for

When multiple prop is passed, it hides the arrow.
When there is no arrow shown, it removes the padding-right that was making space for the arrow.

This project is really well laid out and easy to test via the styleguidist dev server. It took me about 5 minutes from fork to PR. 👍 👍

Oops. I prematurely deleted my fork. 🤦♂ Hopefully the merge can still work...

Thanks!


Issue with k8s.io/docs/reference/command-line-tools-reference/kube-apiserver/

Problem:
The documentation doesn't not provide any information about installing/initializing the kube-apiserver.
Also, there are no usage-examples.
Proposed Solution:
Please add installation-info and examples.
Page to Update:
https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/

Kubernetes Version: 1.16

/priority backlog
/language en

The setup procedure is documented here. We are not repeating the content in the reference section.

@tengqm I don't see any instructions for the kube-apiserver in the link you provided.
Also, please check this issue (#85608) to get a better understanding of the problem I am dealing with.


Change in multiple rows in table highlight all table as changed

Before submitting an issue, please fill this out
Is this a:

[x] Issue with the OpenXml library
[x] Question on library usage

If you have answered that this is a question, please ask it on StackOverflow instead of here.
This issue tracker is meant to track product issues while StackOverflow excels at answering questions
---------------- Remove this line and above before posting ----------------
Description
Please provide a simple description of the issue encountered.
Information

.NET Target: (ie .NET Framework, .NET Core, UWP, Xamarin, etc)
DocumentFormat.OpenXml Version: (ie 2.7.2)

Repro
// Please add a self-contained, minimum viable repro of the issue.
// If you require external resources, please provide a gist or GitHub repro
// An Xunit style test is preferred, but a console application would work too.

Observed
Please add your observed behavior here
Expected
Please add your expected behavior here.

@ObadMahrous, you did not provide any details on this issue, so we can’t look into it.
Please have a look at what you are asked to provide, i.e., Description, Information, Repro, Observed, and Expected, and provide that information.

@ThomasBarnekow  When i need to make comparison between two documents and the document content is table consist of multiple rows and columns which this table is split into multiple pages
only i made some changes in some values of cells in specific rows.
after performing the compare then the result is highlighting all rows in the table as changed.
only i need to highlight the specific rows that are changed.

@ThomasBarnekow  so the expected result is highlighting only the changed rows not all rows.

@ThomasBarnekow Could you please tell me if you got what i mean

@ObadMahrous, please have a look at #509 for an example on how to provide the required detail. This is basically the form that you submitted when you created this issue, however with the detail we need to look into it.
Also think about whether this is really related to the Open XML SDK rather than the PowerTools or something else (e.g., Microsoft Word). From what you wrote, I don’t understand what exactly the issue is and how to reproduce it.

@ObadMahrous you can edit the original post with the repro information

@twsouthwick, I think this issue can be closed.


Building custom NixOS images

Look into building custom NixOS images to hit the ground running in a cloud deployment scenario. Not needed for now, but easily achievable with

https://github.com/nix-community/nixos-generators

We can have a custom OS image for each kind of node we need to operate, e.g.

Dev VM
K8s master
K8s slave
etc.

Each image packs all the tools, services, etc. we need so after installation the node is ready to rock & roll.

Going to sketch out how to build a custom image for the dev VM. Other images (e.g. AWS, GCE, etc.) can be built in the same way.
Create a devm-iso.nix file that bolts the teadal modules we want to enable on top of a bare-bones NixOS install.
{ config, pkgs, modulesPath, ... }:

{
  imports = [
    "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
  ];

  system.stateVersion = "22.11";

  teadal.devm.enable = true;
  teadal.swapfile.enable = true;
}

Then hook it up into our main flake.nix
{
  description = "Teadal cluster OS & tools.";

  inputs = {
    # ...
  };

  outputs = { self, nixos, nixpkgs, nixie }:
  let
     ...
  in
    { inherit overlay; } // pkgs // modules //
    {
      packages.x86_64-linux = {
        devm-iso = nixpkgs.nixos-generators.nixosGenerate {
          system = "x86_64-linux";
          modules = [
            ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay ]; })
            modules.nixosModules
            ./devm-iso.nix
          ];
          format = "install-iso";
        };
      };
    };
}

Build with
$ nix build .#devm-iso


Test PodSecurityPolicy feature -- Test Release 1.4

Instructions:

Download the latest KubeOne 1.4.0 release candidate
Follow the Create a Kubernetes cluster tutorial to create your cluster on AWS
Wait for machine-controller-managed nodes to join the cluster
Ensure all pods are Running
Edit the KubeOneCluster manifest to enable the PodSecurityPolicy feature:...
features:
  podSecurityPolicy:
    enable: true

Run kubeone apply to apply the required resources
Run kubeone apply --force-upgrade to enable the PodSecurityPolicy feature
Ensure the PSPs are working as expected

Works as expected.


Add webcredentials:{domain} to associated domains in Entitlements.plist

Closes #25

Should the deep link handler in AppDelegate.swift handle these deep links by default?
My apple-app-site-association file is set up correctly, but all my deep links open the app on the last opened screen. It seems like it's only half working.

Hey, haven't forgot about this. With other priorities and Thanksgiving week here in the US, I was a bit busy. I'll have a look and hopefully merge this PR in the next day or so.

Thanks @wojtekmaj !


Terminal download instruction is outdated

The homebrew download instruction on the website is outdated. It shows brew cask install platypus when it should be brew install --cask platypus.

Fixed.


fix-#275: Correct the icon color in dark mode

Summary
This PR aims to correct the icon color in dark mode to ensure consistency with the theme.
Description
The current implementation of the icon color in dark mode does not match the overall theme, resulting in a less cohesive user interface. This PR addresses this issue by inverting the icon color in dark mode to ensure it aligns with the theme's color scheme.
Issue(s) Addressed
Closes #275 Correct the icon color in dark mode
Prerequisites

[x] Have you followed all the CONTRIBUTING GUIDELINES?

Kindly attach image @shivansh84ya in PR description of both themes

So that i can merge this @shivansh84ya

Hey @krishnaacharyaa ,
I added the image merge it now!


Add GPU Support for ONNX Models

This PR enables GPU acceleration for ONNX models in GLiNER by adding support for CUDA execution.
The changes ensure that ONNX models can leverage GPU resources when available, leading to improved inference performance.
Changes

Updated Device Determination
Modified the device property to correctly determine the device for both PyTorch and ONNX models.
For ONNX models, the code now checks if CUDAExecutionProvider is in the execution providers and returns the appropriate device.

Unified Tensor Device Placement
Now, tensors are always moved to self.device, ensuring correct tensor placement and consistency between ONNX and PyTorch models.

Modified Model Loading
Adjusted the _from_pretrained method to set ONNX Runtime execution providers based on the map_location parameter.
If map_location is 'cuda', it sets the providers to ['CUDAExecutionProvider']; otherwise, it defaults to ['CPUExecutionProvider'].

Updated Dependencies
Added onnxruntime-gpu to pyproject.toml and requirements.txt to ensure GPU support

Usage
To enable GPU acceleration for ONNX models:
model = GLiNERModel.from_pretrained(
    'path_or_repo_id',
    load_onnx_model=True,
    onnx_model_file='model.onnx',
    map_location='cuda'  # Set to 'cpu' if GPU is not available
)

@KarimLulu , great work in general. However, I am not sure that it correctly utilizes CUDAExecutionProvider, have you tested that actually uses it?

@KarimLulu , great work in general. However, I am not sure that it correctly utilizes CUDAExecutionProvider, have you tested that actually uses it?

thanks @Ingvarstep for the review!
yeah, we are running this in prod now on 1 GPU T4 sagemaker instances, and we got 3x latency and throughput improvements compared to the plain CPU ONNX

@Ingvarstep Please let me know if there are any further adjustments needed. Thanks!

@KarimLulu , thank you for your contribution, I think it satisfies all requirements.


Bug report: (Not a bug) rectification in examples "m365 spo listitem roleinheritance break"

Description
The four examples for the command "m365 spo listitem roleinheritance break" use the parameter "--id". It should be "--listItemId". (https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-roleinheritance-break/). This is not a bug in the command, everything works correctly with it. It is only a small correction in the command information.
Steps to reproduce
See the four examples on the page https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-roleinheritance-break/ :

m365 spo listitem roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --id 1

m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listId 202b8199-b9de-43fd-9737-7f213f51c991 --id 1

etc.
Expected results
It should be:

m365 spo listitem roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1

m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listId 202b8199-b9de-43fd-9737-7f213f51c991 --listItemId 1

etc.
Actual results
"--id" instead of "--listItemId"
Diagnostics
No response
CLI for Microsoft 365 version
v5.6.0
nodejs version
v16.13.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response

Hi @gavdgavd,
thank you for reporting this back to us. Is this something you would like to try to fix directly with a PR?
Thank you for your feedback,
Patrick

@Adam-it fyi

Sharp eye 👀💪.
Thanks for reporting this 👍. You rock 🤩.
I will assign it to myself and will open a PR asap 😉

Thank you very much, all of you, for fixing this and for the wonderfull work you are making with the CLI. Gr., Gustavo

Thank you for your kind words @gavdgavd ❤


Running r-glmnet in Python

I am new to programming as a whole, so excuse some questions which would be common sense to most on here. However, I was having difficulty replicating R's glmnet results in Python with Lasso in Sklearn. So I am trying to import glmnet into python. I have a windows computer so the r-glmnet is the only one which seemed to download. However, I can not import glmnet into Spyder. (the dash in r-glmnet seems to be giving issues). Is there any documentation on how to import this appropriately and how to call the functions which would be related to R?

first install rpy2 from anaconda
conda install -c r rpy2
then you can import it by this code:
import rpy2.robjects as robjects
 from rpy2.robjects.packages import importr
 glmnet = importr('glmnet')

Closing as stale. Note that these days r channel is not maintained. A contemporary solution should use conda-forge channel.


x/term: Why is fd an int?

The documentation recommends getting the file descriptor with the following:
oldState, err := term.MakeRaw(int(os.Stdin.Fd()))

os.Stdin.Fd returns a uintptr, which can't (technically) be safely cast to an int. I was under the impression that the only negative fd value is -1, which would indicate an error state and wouldn't be valid as an input. Is there a reason (other than legacy) that the fd args in this lib are ints rather than uints or uintptrs?
What did you see happen?
I had to do an awkward cast.
What did you expect to see?
I'd expect the types to line up nicely.

Related Issues and Documentation

x/sys/unix: IoctlFileClone takes int for file descriptors and not uintptr #64992 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

I read the issue above, and it talks about making an assumption that an fd on a unix system can be cast to an int, but it sounds like that isn't necessarily the case for Windows. The binary in question is supposed to be cross-platform, including windows. Is there additional work that would need to be done?

We don't really use our issue tracker for questions. A better place to ask this kind of question is golang-nuts. See https://golang.org/wiki/Questions.

It's unexpected behavior that I'd characterize as a proposal or bug or feature request if the question doesn't have a neat answer. Would you like me to reopen the issue but not phrased as a question?

See here: #69453

The original comment was asking a question:

Is there a reason (other than legacy) that the fd args in this lib are ints rather than uints or uintptrs?

As mentioned, there are better places to ask questions.
If you feel an API change is warranted, filing a proposal is an appropriate next step.


Create ads.txt

@sormany First stage of verification passed, official domain is unifip.edu.br as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://unifip.edu.br/curso/26

@sormany Thank you for your patience while waiting for a review and processing your request. Pull request merged.

Hi @philipto
Yes. The verified domain in the url https://unifip.edu.br/ is correct. However, the domain requested at fiponline.edu.br was used during the period when the institution was called Faculdades Integradas de Patos, before becoming the University Center as it is today. For this reason, all emails managed by Google belong to the fiponline.edu.br domain, such as my<EMAIL_ADDRESS>which can be verified.
Please check if the url https://fiponline.edu.br/ is directed to https://unifip.edu.br/ ?
I'm waiting.


Add Pau Hana Sessions Videos

Please touch base with Rod and see if he and how he wants to be represented in the site please. Report back here.

Please touch base with Rod and see if he and how he wants to be represented in the site please. Report back here.


Added Alpha Numeric Mapping For Develop Branch

GLFW mappings. Sorry about the last goof up. I Didn't look in your branches when I posted it originally.

Thanks very much for your contribution! Actually, my students have been asking for it for some time...


"Other News" section

It bugs me that lots of planned news are getting left out from the newsletter if no one claims them and at the same time forcing maintainers to write complete sections for everything is not sustainable.
Maybe we should try restoring the "Other News" section as a minimally prettified dump of [ ] items from the plan? Basically, just name, optional short description, and links so it wouldn't take much time to prepare? My initial attempts to write similar sections with one-liners - https://gamedev.rs/news/001#other-news - were criticized for being unclear/unjustified why some news got a full section while others were only briefly mentioned. But this concern should be mitigated now as the newsletter creation process is fully open and everyone can drop a PR if they care.
I'm going to drop a prototype PR based on items left out from N27 soon.

Done:
https://gamedev.rs/news/027#other-news
https://gamedev.rs/news/028#other-news
https://gamedev.rs/news/029#other-news


The mapping values keeps changing after each build

I occasionally need to access webfont icons from CSS attributes instead of HTML tags.
.annoucement:before {
    font-family: 'font-superawesone';
    content: '\f101';
}

Recently I realised the mapping values keep changing after each build. This doesn't happen in FontCustom. I think it's because they have a manifest file. Is there any option in grunt-webfont which I can prevent values from being changed?

Yep.

Codepoint is awesome! Thanks for your help :)

Wow, just saw this issue after posting mine. Maybe the documentation for codepointsFile needs to be more thorough, as at least two people didn't understand what it was for and that it could solve their issue.

@tandrewnichols I’ll be happy to merge a pull request with better docs ;-)


fix: manifest serialization issues

What I did
attempting to fix your issues @Ninjagod1251 but also took some time to utilize pydantic 2.0's field serializers rather than overriding model_dump() which is a much better practice.
How I did it
How to verify it
Checklist

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

btw i have confirmed this fixes the issue in hosted compiler


Error: loaderContext.getOptions is not a function (CRA TypeScript)

So I'm not 100% sure if craco is at fault here / where to post this, but I'm having issues with the loader-utils package and the CRA typescript template. I've found similar issues in other locations with the solution to install the latest version of loader-utils, but that's not working in my case.
I used this https://blog.johnnyreilly.com/2021/01/02/create-react-app-with-ts-loader-and-craco/ to get this up and running (well, breaking).
I've tried other soln's that were similar but ran into the same issue, I think it has to do with the getLoaders from craco + CRA deps.
To reproduce:
npx create-react-app --template typescript example-cra
cd example-cra
yarn add @craco/craco ts-loader

Then add this to craco.config.js
const { addAfterLoader, removeLoaders, loaderByName, getLoaders, throwUnexpectedConfigError } = require('@craco/craco');

const throwError = (message) =>
    throwUnexpectedConfigError({
        packageName: 'craco',
        githubRepo: 'gsoft-inc/craco',
        message,
        githubIssueQuery: 'webpack',
    });

module.exports = {
    webpack: {
        configure: (webpackConfig, { paths }) => {
            const { hasFoundAny, matches } = getLoaders(webpackConfig, loaderByName('babel-loader'));
            if (!hasFoundAny) throwError('failed to find babel-loader');

            console.log('removing babel-loader');
            const { hasRemovedAny, removedCount } = removeLoaders(webpackConfig, loaderByName('babel-loader'));
            if (!hasRemovedAny) throwError('no babel-loader to remove');
            if (removedCount !== 2) throwError('had expected to remove 2 babel loader instances');

            console.log('adding ts-loader');

            const tsLoader = {
                test: /\.(js|mjs|jsx|ts|tsx)$/,
                include: paths.appSrc,
                loader: require.resolve('ts-loader'),
                options: { transpileOnly: true },
            };

            const { isAdded: tsLoaderIsAdded } = addAfterLoader(webpackConfig, loaderByName('url-loader'), tsLoader);
            if (!tsLoaderIsAdded) throwError('failed to add ts-loader');
            console.log('added ts-loader');

            console.log('adding non-application JS babel-loader back');
            const { isAdded: babelLoaderIsAdded } = addAfterLoader(
                webpackConfig,
                loaderByName('ts-loader'),
                matches[1].loader // babel-loader
            );
            if (!babelLoaderIsAdded) throwError('failed to add back babel-loader for non-application JS');
            console.log('added non-application JS babel-loader back');

            return webpackConfig;
        },
    },
};

And when running the application, loaderContext.getOptions fails.

Sry, the issue was with ts-loader v9, downgrading to 8.3 works.


Update vendor

Why so many changes to go.sum? Try go mod tidy

To get rancher compiling on mac agagin, i ran go mod tidy on this pr and opened up my own: https://github.com/rancher/rancher/pull/22286
Just want to expedite getting it fixed


feat: finish migrating schema extraction!!!!

migrates FSMs to new extractor
deletes legacy code

fixes #1518

Yayyyy! Epic job Lizzy, nice one 😀


Why is cpr::Body derived from std::string?

https://github.com/whoshuu/cpr/blob/3d14e61ed247a90a07db26fb107beb3086a035d6/include/cpr/body.h#L13
Is there a risk of memory leak? Because std::string has no virtual destructor.

Valid argument.
And it's definitely a problem.
And Body does not introduce any new methods.
So we could replace Body with something like typedef std::string Body;
But we already have typedef std::string Url;
If we now want to do something like this:
void SetOption(const Body& body);
void SetOption(const Url& url);

This would fail since both are just:
void SetOption(const std::string& body);
void SetOption(const std::string& url);

The solution:
Replace Body and Url with simple wrapper classes or structs:
struct Body {
  Body(std::string str) : _str(str) {}
  std::string& str() {return _str;}
  private:
  std::string _str;
}
struct Url {
  Body(std::string str) : _str(str) {}
  std::string& str() {return _str;}
  private:
  std::string _str;
}

This would solve the issue. To be actually usable, this needs more ways to construct the Body and Url objects.
Since this is a breaking change, we could introduce this perhaps in version 4.0 of CPR.

Fixed in c77dbac12712af56d207637745691d6b4c3d0308


[Feature Request] Collapsible Window and Closable Window

I would love it if there was a Minimise line on the top right [ -- ]. This minimize line would collapse the window into a bar so that it take up less real estate. Also providing an [ X ] to close the window entirely and bring it up with a keybinding or a button present in the ESC menu would be a wonderful addition.

I'll see what I can do, I don't think this is something supported by default so I might need to get a bit creative.
For the keybinds I'm a bit hesitant as I was already having problems with some other mods and their keybinds, so it might be that I decide not to do only the minimisation.

Roger. Message me here or on the Modding Discord if you need any testing.


Management Group Structure graphic links "broken" in wiki

links in wiki view "https://github.com/Azure/alz-monitor/wiki/Introduction-to-deploying-ALZ-Monitor" seem broken, but

links in view "https://github.com/Azure/alz-monitor/blob/main/docs/wiki/Introduction-to-deploying-ALZ-Monitor.md" work just fine

Thank you @pkorolo. Issue is still present; however, the impact has been mitigated, the images and other links are working again. We will be reviewing a permanent solution over the upcoming days.

@arjenhuitema PR ready for this to be fixed in wiki view:
https://github.com/Azure/alz-monitor/pull/176

Great work! Thank you! I´ll review/approve the changes now.


.DS directive should only define empty space

Currently, the .DS directive is being implemented as .BLKB.
This results in programs ending in .DS statements with unnecessary bytes that shouldn't be added to the program.

I think better make explicit finish of binary export

fixed in https://github.com/envenomator/agon-ez80asm/commit/4e02e493d30b1f3fc5138e26d363e445c38a6db2

Released in v1.6