Vue 2 - Browser, Firefox and previously chromium,  Source Maps are broken

Version
2.7.7
Reproduction link
github.com
Steps to reproduce
Please use the github repository provided to see a working example. Instructions on how to run app is provided in mark down.
What is expected?
The issue is that webpack's source maps are not working correctly. I should be able to see Vue Single File Component in the debugger tab of Firefox devtools.
What is actually happening?
I am unsure of what the code is that is showing in the debugger tab of the devtools. I am guessing the source mapping is off or something.

This may be a bit confusing because my links are for a Chromium issue that was "fixed", but it is now happening in Firefox. The fix for Chromium was more of a band aid and the real issue lies with Vue and Webpack generating it's source maps and how the browsers handle displaying the source maps.
Please review the Chromium ticket as there is a lot of documentation there regarding this issue.
https://bugs.chromium.org/p/chromium/issues/detail?id=1304217.
Per comment 36 Chromium developer mentions that the fix is "quite arbitrary IMHO. And ideally tools shouldn't generate (and embed) different content under the same URL."
Additionally here is a stack overflow of the issue.
https://stackoverflow.com/questions/71387156/google-chome-99-devtools-source-tab-not-showing-vue-file-code-in-webpack-src-fo/72061160?noredirect=1#comment129028282_72061160

Is this something that only happened recently (after 2.7 release)?

Sorry no, this is for version 2.6.11, but has been an issue that began 4 months ago with Chromium going from version 99 to 102 when they release a patch. This just started with Firefox about a week ago starting with version 102.
I have noticed a change in how the single file components are viewed in each browser over the past year or so.  It use to show one file in the Webpack folder on the source/debugger panel but now it shows multiple copies like Navbar.vue?638c
This is an example of what my app shows in the debugger tab for a single file component if Firefox.
import { render, staticRenderFns } from "./AppNavbar.vue?vue&type=template&id=2f7a65f6&"
import script from "./AppNavbar.vue?vue&type=script&lang=js&"
export * from "./AppNavbar.vue?vue&type=script&lang=js&"
import style0 from "./AppNavbar.vue?vue&type=style&index=0&lang=scss&"

/* normalize component */
import normalizer from "!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js"
var component = normalizer(
  script,
  render,
  staticRenderFns,
  false,
  null,
  null,
  null

)

export default component.exports

Firefox also use to show multiple "versions" but now they just have the one.
This is a bit of blind spot for me so I am unsure if I am articulating the issue correctly.

v2.7.8 is the same, production sourcemap is broken.
I used v2.7.8 in vue/cli4, vue/cli5 and vite, sourcemap works fine only in vite. But v2.6.14 is always working fine in vue/cli4 and 5. I didn't try v2.6.14 in vite.
Reproduction link
https://github.com/Lphal/vue-demo-2.7-cli4
when I click logs in chrome console, it jumps to sourcecode.
use v2.6.14:

use v2.7.8:

I'm wondering if there is something wrong with vue-loader🧐. @yyx990803

This issue has been around for a long time and has been asked in Vue CLI and Vue Loader :
https://github.com/vuejs/vue-cli/issues/7130
https://github.com/vuejs/vue-loader/issues/1975
Since the release of Chrome 99(Vue 2.7 has not yet been released), all Vue 2 Source maps have been abnormal, which I think is related to this.
http://developer.chrome.com/en/blog/new-in-devtools-99/
In particular, Vite does not have this issue.In general, *.js is also normal.
这个问题已经很久了，并且在 Vue CLI、 Vue Loader 中都有反馈：
https://github.com/vuejs/vue-cli/issues/7130
https://github.com/vuejs/vue-loader/issues/1975
自从 Chrome 99 发布之后（此时 Vue 2.7 尚未发布），全部的 Vue 2 的 Source Map 便出现了异常， 我想应该与此有关。
http://developer.chrome.com/zh/blog/new-in-devtools-99/
需要特别说明的是，Vite 并不存在这个问题。一般来说， *.js 也是正常的。

To display the Source Map, I configured Webpack as： devtool: 'source-map'
When using Vue CLI 4 (Webpack 4), Vue 2 completely fails to display the Source Map of . Vue.
When using Vue CLI 5 (Webpack 5), Vue 2 can partially display the '. Vue' Source Map.
为了显示 Source Map，我将 Webpack 配置成了： devtool: 'source-map'
当使用了 Vue CLI 4 （Webpack 4）的时候，Vue 2 完全无法正常显示 *.vue 的 Source Map;
当使用了 Vue CLI 5 （Webpack 5）的时候，Vue 2 可以部分正常显示 *.vue 的 Source Map.

When I am using Vue 2.6.x I was able to debug Vue components, but after migrating to Vue 2.7.9 getting same problem. It makes so hard to debugging. Is not there any plan to fix it?

Hello, is there any update on this? At the moment we have stopped most vue development as it is impossible to debug the vue files in chrome.
Is the fix to downgrade to vue 2.6?

@erhanfirat how did you manage to debug in Vue 2.6.x? I am on 2.6.14 and it doesn't work for me (i use Webstorm), i am using @vue/cli-service ^4.5.13 (which actually installs 4.5.19)

@erhanfirat how did you manage to debug in Vue 2.6.x? I am on 2.6.14 and it doesn't work for me (i use Webstorm), i am using @vue/cli-service ^4.5.13 (which actually installs 4.5.19)

it was just working on 2.6.12

I am also encountering this issue while migrating a large codebase from 2.6 -> 2.7 -> 3, but I dont believe it to be a browser issue. It really seems that the issue is with 2.7. This can be easily reproduced by starting a new vue-cli project (latest), selecting babel+router+vuex+css preprocessors+linting. The only difference between the two projects is pinning vue to 2.6.14 vs ^2.7.14. yarn build +  serve -s dist and you'll see the results.
v2.6.14 - source maps work for .vue templates

v2.7.14 - source maps DONT work .vue templates

Sorry for the multiple messages, but I dug a little further and realized something that I think could be helpful. I scaffolded two fresh vue-cli projects, one with just vue2.7, the other with vue2.7+babel (which installs @vue/cli-plugin-babel and core-js). The sourcemaps work in the vue2.7 project, but not the vue2.7+babel project. So its possible there is an issue with vue2.7 and babel that is causing the sourcemaps to break.

@yyx990803  I have tried the solution here and it works on my machine.
#https://github.com/vuejs/vue-loader/issues/1657
but there is something wrong with the sourcemap of

Hope that helps anyone stuck.
Any contributor to Vue 2 to can close this if they are no plans to fix.

@yyx990803 我已经尝试过这里的解决方案并且它可以在我的机器上运行。 #https://github.com/vuejs/vue-loader/issues/1657
但#https://github.com/vuejs/vue-loader/issues/2023的 sourcemap 有问题


fix SUSE/openSUSE naming

As SUSE 15.x and openSUSE Leap 15.x share the same base, make it clear that both are targeted by the respective tasks

please, squash your commits

[X] Done.


Channel Player Not Working In Chrome

Describe the bug (required)
Browsing to an active stream using the channels player does not work.
The browser continuously shows "LOADING.....  LOADING....., etc."
Expected behavior (required)
A clear and concise description of what you expected to happen.
Browsing to the channel player should display the stream based on the Eth Adr.
To Reproduce (required)
Browse to an active stream on the network: example: https://media.livepeer.org/channels/0x35e01199F8137077346FDD476191f1967A52BDb5
Device (required):

Browser: Chrome
Version 66.0.3359.139 (Official Build) (64-bit)

Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Console logs (optional)
There are no obvious error messages in the LP console.

Additional context (optional)
The player just shows the "LOADING...." over and over.
The Stream Viewer works fine in Chrome.

It seems like this issue may have been caused by the browser caching the old response for the playlist you were requesting. I'm going to close this one.

Ok, I made a change to the following Chrome flag: chrome://flags/#autoplay-policy
Original value: DEFAULT(edited)
New Value: No User Gesture Required.
That seemed to fix it.   I don't know why this wasn't an issue previously?   I have never messed with any of the Chrome flags before.

Closed by c4fe82cb3527549eaa8858b19cc9312ac8999b9d


fix: Role policy allowing ecs task role to assume another role

Description

This PR Gives a aws_iam_role_policy to the ecs_task role allowing it to assume the role passed
Motivation and Context

with out this if using the assume role approach to run atlantis there seems to be no other way to give the ecs_task role the permissions to assume the role.

NA
Breaking Changes

No, if variable not specified continues to work as is.

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)

I've build an atlantis server based of the the github-complete example, and ran this deployment off my fork. I didn't update the example here because the change is optional if not specified continues to work as before.

[x] I have tested and validated these changes using one or more of the provided examples/* projects

no breaking changes with the change

I have build an atlantis fargate server module, i've used the the assume role functionality, By adding
 module "atlantis" {
    source = "github.com/SamirMarin/terraform-aws-atlantis?ref=option-to-allow-assume-role-policy"

    iam_assume_role_arn = "arn:aws:iam::${local.account_id}:role/ci-runner"

  .....
  }

after this is applied it gives the ecs task role the permissions to assume ci-runner, I'm able to run atlantis plan assuming the the role specified in the iam_assume_role_arn

[x] I have executed pre-commit run -a on my pull request

this is not correct - regardless, we already have var.trusted_entities for assuming the role

trusted_entities

@bryantbiggs
is trusted policies not to allow other roles to assume the task runner role? I tried adding the role I want to assume there it did not work, I don't think that lets task runner assume other roles to run atlantis.
For reference I'm trying to add a permission policy like this https://github.com/runatlantis/atlantis/issues/856#issuecomment-674276478
I think trusted entitites just adds role trust policy, allowing other roles to assume task runner. I want task runner to be able to assume another role.
I'm not really seeing a way to do this here, unless I'm missing something. If I'm missing something iIf you point me in the right direction it be appreciated.

@SamirMarin perhaps next time a better set of details and context would help clarify what you are after
This now sounds like you are having the Atlantis role assume a different role which is still supported by this module through var.policies_arn.


Java - Manual Instrumentation - What is an Event?

https://opentelemetry.io/docs/instrumentation/java/manual_instrumentation/#create-spans-with-events states:
Spans can be annotated with named events that can carry zero or more Span Attributes, each of which is itself a key:value map paired automatically with a timestamp.
https://opentelemetry.io/docs/concepts/glossary/ states:
Event: Something that happened where representation depends on the Data Source. For example, Spans.
This is contradictory and not clear. Should we assume that an Event is really a span of zero duration?

There is a broader gap here that we'll need to solve: there is very little conceptual documentation about each of these concepts.
Ideally, we have a document or part of a document describe what span events are, what they're good for, and when you might generally use them. Then each language's manual instrumentation docs link to that doc or section, then simply document how you create one in that language.
...then repeat that for every major tracing (and soon metrics!) concept 🙂
Interested in contributing? Happy to review anything you've got!

We now have a language-agnost conceptual doc that explains what span events are here: https://opentelemetry.io/docs/concepts/signals/traces/#span-events
I've been (slowly...) working through instrumentation pages and adding links to this and other concepts. .NET and JS have these links. I'll close this out since the concept is documented, and in time it will also be linked to from all the languages.


Rework authentication UI + OAuth support

Rework the current authentication UI and add Oauth support.

[x] Add tooltip for all settings
[x] Rewrite the datasource configuration UI
[x] Support non encoded private key in the datasource configuration.
[ ] Add Oauth settings

Closes #47

Just a heads-up:
If the OAuth support is intended to support user umpersonation, this may conflict with connection pooling #91.

That’s a good point. However, for now, OAuth support will be limited to a single ‘Application Account’ that will handle all queries.


Regression from OV5.7.0-ov5.3 to OV.5.10.0-ov5.6

Scenario/Intent
We performed an upgrade of OneView Ansible SDK from OV5.7.0-ov5.3 to OV.5.10.0-ov5.6.
In our playbook we are removing a network from an uplink using its uri.
It worked fine when using the docker image hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.7.0-OV5.3 but since we upgraded to hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.10.0-OV5.6, it doesn't work anymore.
We did not change our playbook code when upgrading the docker image version.
Environment Details

Docker image (before upgrade): hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.7.0-OV5.3

Docker image: hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.10.0-OV5.6

OneView Appliance Version: 5.40

Steps to Reproduce

Remove network uri from uplink set
Update LIG
Update LI from LIG

Expected Result
The network is successfully removed and the update of the LI from the LIG is successfull.
Actual Result
TASK [Print of the network to delete]
ok: [localhost] => {
    "msg": [
        "networkUris list to delete from uplink: /rest/ethernet-networks/f3d9723d-7087-4513-85c7-8c9d011c0e7d"
    ]
}

TASK [Delete networkUri from networkUris list from uplink]
ok: [localhost] => {"ansible_facts": {"__networkUris": ["/rest/ethernet-networks/c2b2c78a-354e-4d8d-942f-52c7acd43563", "/rest/ethernet-networks/d2631555-5816-4e9e-9e8e-b3ef4b80773d", "/rest/ethernet-networks/c1992988-8408-407a-abe5-4d2da6e23ec6"]}, "changed": false}

TASK [Replace networkUris list from uplink by the new one modified]
changed: [localhost] => {"ansible_facts": {"__uplinkSetsFacts": {"consistencyChecking": "ExactMatch", "ethernetNetworkType": "Tagged", "failoverActiveMemberThreshold": 4, "failoverBandwidthThreshold": 50, "failoverType": "AllActiveUplinksOffline", "fcMode": "NA", "lacpTimer": "Short", "lagPortBalance": "Disabled", "loadBalancingMode": "SourceAndDestinationMac", "logicalPortConfigInfos": [{"desiredFecMode": "Auto", "desiredSpeed": "Auto", "logicalLocation": {"locationEntries": [{"relativeValue": 61, "type": "Port"}, {"relativeValue": 2, "type": "Enclosure"}, {"relativeValue": 6, "type": "Bay"}]}}, {"desiredFecMode": "Auto", "desiredSpeed": "Auto", "logicalLocation": {"locationEntries": [{"relativeValue": 3, "type": "Bay"}, {"relativeValue": 1, "type": "Enclosure"}, {"relativeValue": 61, "type": "Port"}]}}], "mode": "Auto", "name": "uplink1", "nativeNetworkUri": null, "networkSetUris": ["/rest/network-sets/9c015b49-038d-4a13-8b95-25944675e3f5"], "networkType": "Ethernet", "networkUris": ["/rest/ethernet-networks/c2b2c78a-354e-4d8d-942f-52c7acd43563", "/rest/ethernet-networks/d2631555-5816-4e9e-9e8e-b3ef4b80773d", "/rest/ethernet-networks/c1992988-8408-407a-abe5-4d2da6e23ec6"], "primaryPort": null, "privateVlanDomains": [], "reachability": null}}, "changed": true}

RUNNING HANDLER [Update lig]
ok: [localhost] => {"ansible_facts": {"logical_interconnect_group": {"category": "logical-interconnect-groups", "consistencyCheckingForInternalNetworks": "ExactMatch", "created": "2021-03-19T18:50:53.596Z", "description": null, "downlinkSpeedMode": "SPEED_50GB", "eTag": "58fcb6bd-917d-4188-b01c-1812e634c372", "enclosureIndexes": [1, 2], "enclosureType": "SY12000", "ethernetSettings": {"category": null, "consistencyChecking": "ExactMatch", "created": "2021-03-19T18:50:53.597Z", "dependentResourceUri": "/rest/logical-interconnect-groups/f258d105-d386-4e36-8c25-d06cfd26f8aa", "description": null, "domainName": "", "eTag": null, "enableCutThrough": false, "enableDdns": false, "enableFastMacCacheFailover": true, "enableInterconnectUtilizationAlert": false, "enableNetworkLoopProtection": true, "enablePauseFloodProtection": true, "enableRichTLV": false, "enableStormControl": false, "enableTaggedLldp": false, "id": "4acfbb50-794f-492f-a60f-223c21e3bc71", "interconnectType": "Ethernet", "lldpIpAddressMode": "IPV4", "lldpIpv4Address": "", "lldpIpv6Address": "", "macRefreshInterval": 5, "modified": "2021-03-22T16:35:06.569Z", "name": "name-376844504-1616179853597", "state": null, "status": null, "stormControlPollingInterval": 10, "stormControlThreshold": 0, "type": "EthernetInterconnectSettingsV7", "uri": "/rest/logical-interconnect-groups/f258d105-d386-4e36-8c25-d06cfd26f8aa/settings"}, "fabricUri": "/rest/fabrics/68c71ada-25e1-45b4-acc5-b9885e759810", "igmpSettings": {"category": null, "consistencyChecking": "ExactMatch", "created": null, "dependentResourceUri": "/rest/logical-interconnect-groups/f258d105-d386-4e36-8c25-d06cfd26f8aa", "description": null, "eTag": null, "enableIgmpSnooping": false, "enablePreventFlooding": false, "enableProxyReporting": true, "id": "a1764e39-6125-4e49-9793-7e2f95f0a0bf", "igmpIdleTimeoutInterval": 260, "igmpSnoopingVlanIds": "", "modified": null, "name": "name-860133970-1616179853596", "state": null, "status": null, "type": "IgmpSettings", "uri": "/rest/logical-interconnect-groups/f258d105-d386-4e36-8c25-d06cfd26f8aa/igmpSettings"}, "interconnectBaySet": 3, "interconnectMapTemplate": {"interconnectMapEntryTemplates": [{"enclosureIndex": 2, "logicalDownlinkUri": "/rest/logical-downlinks/bf533e64-94f3-4e1f-8607-b95bb2cd99ee", "logicalLocation": {"locationEntries": [{"relativeValue": 3, "type": "Bay"}, {"relativeValue": 2, "type": "Enclosure"}]}, "permittedInterconnectTypeUri": "/rest/interconnect-types/ced0f462-75f7-4cda-b2c2-7991b62c44b4"}, {"enclosureIndex": 2, "logicalDownlinkUri": "/rest/logical-downlinks/6b48db9e-cf92-4ea8-a434-8634a80785bd", "logicalLocation": {"locationEntries": [{"relativeValue": 2, "type": "Enclosure"}, {"relativeValue": 6, "type": "Bay"}]}, "permittedInterconnectTypeUri": "/rest/interconnect-types/ca70479c-e049-4b0f-84b8-76b02c5e00f8"}, {"enclosureIndex": 1, "logicalDownlinkUri": "/rest/logical-downlinks/bf533e64-94f3-4e1f-8607-b95bb2cd99ee", "logicalLocation": {"locationEntries": [{"relativeValue": 3, "type": "Bay"}, {"relativeValue": 1, "type": "Enclosure"}]}, "permittedInterconnectTypeUri": "/rest/interconnect-types/ca70479c-e049-4b0f-84b8-76b02c5e00f8"}, {"enclosureIndex": 1, "logicalDownlinkUri": "/rest/logical-downlinks/6b48db9e-cf92-4ea8-a434-8634a80785bd", "logicalLocation": {"locationEntries": [{"relativeValue": 1, "type": "Enclosure"}, {"relativeValue": 6, "type": "Bay"}]}, "permittedInterconnectTypeUri": "/rest/interconnect-types/ced0f462-75f7-4cda-b2c2-7991b62c44b4"}]}, "internalNetworkUris": [], "modified": "2021-03-22T16:35:06.813Z", "name": "lig-vco1", "ntpConfiguration": {"addressingMode": {"addressingMode": "Unicast", "delayTime": 1000, "groupAddress": null, "pollInterval": 16, "pollRetry": 1, "pollTimeout": 1, "sendRequest": true, "serverAutoDiscovery": true}, "authId": 1, "authKey": null, "authProtocol": "None", "category": "ntp-configuration", "clientVersion": "V4", "clockFormat": "Twentyfour_Hours", "consistencyChecking": "ExactMatch", "created": null, "custom": false, "description": null, "dstEndTime": "", "dstStartTime": "", "eTag": null, "modified": null, "name": null, "protocolType": "Sntp", "state": null, "status": null, "timeZone": "", "type": "ntp-configuration", "uri": null}, "qosConfiguration": {"activeQosConfig": {"category": "qos-aggregated-configuration", "configType": "Passthrough", "created": null, "description": null, "downlinkClassificationType": null, "eTag": null, "modified": null, "name": null, "qosTrafficClassifiers": [], "state": null, "status": null, "type": "QosConfiguration", "uplinkClassificationType": null, "uri": null}, "category": "qos-aggregated-configuration", "consistencyChecking": "ExactMatch", "created": "2021-03-19T18:50:53.600Z", "description": null, "eTag": null, "inactiveFCoEQosConfig": null, "inactiveFcoeRoceQosConfig": null, "inactiveNonFCoEQosConfig": null, "inactiveRoceQosConfig": null, "modified": "2021-03-19T18:50:53.600Z", "name": null, "state": null, "status": null, "type": "qos-aggregated-configuration", "uri": null}, "redundancyType": "HighlyAvailable", "scopesUri": "/rest/scopes/resources/rest/logical-interconnect-groups/f258d105-d386-4e36-8c25-d06cfd26f8aa", "sflowConfiguration": {"category": "sflow-configuration", "consistencyChecking": "ExactMatch", "created": "2021-03-19T18:50:53.600Z", "description": null, "eTag": null, "enabled": false, "modified": "2021-03-19T18:50:53.600Z", "name": null, "sflowAgents": [], "sflowCollectors": [], "sflowNetwork": null, "sflowPorts": [], "state": null, "status": null, "type": "sflow-configuration", "uri": null}, "snmpConfiguration": {"category": "snmp-configuration", "consistencyChecking": "ExactMatch", "created": "2021-03-19T18:50:53.599Z", "description": null, "eTag": null, "enabled": false, "modified": "2021-03-19T18:50:53.599Z", "name": null, "readCommunity": "", "snmpAccess": [], "snmpUsers": [], "state": null, "status": null, "systemContact": "", "trapDestinations": [], "type": "snmp-configuration", "uri": null, "v3Enabled": true}, "stackingHealth": null, "stackingMode": null, "state": "Active", "status": null, "telemetryConfiguration": {"category": "telemetry-configuration", "consistencyChecking": "ExactMatch", "created": "2021-03-19T18:50:53.632Z", "description": null, "eTag": null, "enableTelemetry": true, "modified": "2021-03-19T18:50:53.632Z", "name": null, "sampleCount": 12, "sampleInterval": 300, "state": null, "status": null, "type": "CanonicalTelemetryConfiguration", "uri": null, "vcfcsampleIntervals": null}, "type": "logical-interconnect-groupV8", "uplinkSets": [{"consistencyChecking": "ExactMatch", "ethernetNetworkType": "Tagged", "failoverActiveMemberThreshold": 4, "failoverBandwidthThreshold": 50, "failoverType": "AllActiveUplinksOffline", "fcMode": "NA", "lacpTimer": "Short", "lagPortBalance": "Disabled", "loadBalancingMode": "SourceAndDestinationMac", "logicalPortConfigInfos": [{"desiredFecMode": "Auto", "desiredSpeed": "Auto", "logicalLocation": {"locationEntries": [{"relativeValue": 61, "type": "Port"}, {"relativeValue": 2, "type": "Enclosure"}, {"relativeValue": 6, "type": "Bay"}]}}, {"desiredFecMode": "Auto", "desiredSpeed": "Auto", "logicalLocation": {"locationEntries": [{"relativeValue": 3, "type": "Bay"}, {"relativeValue": 1, "type": "Enclosure"}, {"relativeValue": 61, "type": "Port"}]}}], "mode": "Auto", "name": "uplink1", "nativeNetworkUri": null, "networkSetUris": ["/rest/network-sets/9c015b49-038d-4a13-8b95-25944675e3f5"], "networkType": "Ethernet", "networkUris": ["/rest/ethernet-networks/c2b2c78a-354e-4d8d-942f-52c7acd43563", "/rest/ethernet-networks/d2631555-5816-4e9e-9e8e-b3ef4b80773d", "/rest/ethernet-networks/f3d9723d-7087-4513-85c7-8c9d011c0e7d", "/rest/ethernet-networks/c1992988-8408-407a-abe5-4d2da6e23ec6"], "primaryPort": null, "privateVlanDomains": [], "reachability": null}], "uri": "/rest/logical-interconnect-groups/f258d105-d386-4e36-8c25-d06cfd26f8aa"}}, "changed": false, "msg": "Logical Interconnect Group is already present."}
RUNNING HANDLER [Update li]
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: hpeOneView.exceptions.HPEOneViewException: ('Update from group cannot be performed because the logical interconnect is already consistent with the logical interconnect group.', {'errorCode': 'CRM_UNABLE_TO_PERFORM_UPDATE_FROM_GROUP_FOR_LOGICAL_INTERCONNECT', 'message': 'Update from group cannot be performed because the logical interconnect is already consistent with the logical interconnect group.', 'details': '', 'messageParameters': [], 'recommendedActions': ['Avoid performing update from group operation when there are no inconsistencies between logical interconnect group and logical interconnect.'], 'errorSource': 'logical-interconnect', 'nestedErrors': [], 'data': {}}) fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/root/.ansible/tmp/ansible-tmp-1616431169.3417614-110726758617723/AnsiballZ_oneview_logical_interconnect.py\", line 113, in <module>\n    _ansiballz_main()\n  File \"/root/.ansible/tmp/ansible-tmp-1616431169.3417614-110726758617723/AnsiballZ_oneview_logical_interconnect.py\", line 105, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/root/.ansible/tmp/ansible-tmp-1616431169.3417614-110726758617723/AnsiballZ_oneview_logical_interconnect.py\", line 48, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/local/lib/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/local/lib/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/tmp/ansible_oneview_logical_interconnect_payload_5v2k8j1y/__main__.py\", line 639, in <module>\n  File \"/tmp/ansible_oneview_logical_interconnect_payload_5v2k8j1y/__main__.py\", line 635, in main\n  File \"/tmp/ansible_oneview_logical_interconnect_payload_5v2k8j1y/ansible_oneview_logical_interconnect_payload.zip/ansible/module_utils/oneview.py\", line 471, in run\n  File \"/tmp/ansible_oneview_logical_interconnect_payload_5v2k8j1y/__main__.py\", line 374, in execute_module\n  File \"/tmp/ansible_oneview_logical_interconnect_payload_5v2k8j1y/__main__.py\", line 412, in __compliance\n  File \"/usr/local/lib/python3.6/site-packages/hpeOneView/resources/resource.py\", line 63, in __call__\n    return self.method(obj, *args, **kwargs)\n  File \"/usr/local/lib/python3.6/site-packages/hpeOneView/resources/networking/logical_interconnects.py\", line 152, in update_compliance\n    return self._helper.update(None, uri, timeout=timeout)\n  File \"/usr/local/lib/python3.6/site-packages/hpeOneView/resources/resource.py\", line 480, in update\n    return self.do_put(uri, resource, timeout, custom_headers)\n  File \"/usr/local/lib/python3.6/site-packages/hpeOneView/resources/resource.py\", line 781, in do_put\n    task, body = self._connection.put(uri, resource, custom_headers=custom_headers)\n  File \"/usr/local/lib/python3.6/site-packages/hpeOneView/connection.py\", line 383, in put\n    return self.__do_rest_call('PUT', uri, body, custom_headers=custom_headers)\n  File \"/usr/local/lib/python3.6/site-packages/hpeOneView/connection.py\", line 413, in __do_rest_call\n    raise HPEOneViewException(body)\nhpeOneView.exceptions.HPEOneViewException: ('Update from group cannot be performed because the logical interconnect is already consistent with the logical interconnect group.', {'errorCode': 'CRM_UNABLE_TO_PERFORM_UPDATE_FROM_GROUP_FOR_LOGICAL_INTERCONNECT', 'message': 'Update from group cannot be performed because the logical interconnect is already consistent with the logical interconnect group.', 'details': '', 'messageParameters': [], 'recommendedActions': ['Avoid performing update from group operation when there are no inconsistencies between logical interconnect group and logical interconnect.'], 'errorSource': 'logical-interconnect', 'nestedErrors': [], 'data': {}})\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

Thanks for reporting this. We will be looking into this.

@ClaireHayard, Could you please provide us the playbook you have tried to test this functionality?. It will be helpful for us to dig into this issue more and explain it in detail by testing in both OV versions 5.3 and 5.6.

@yuvirani, I am trying to simplify the playbook used as it contains several dependencies and references to other playbooks in the role. I will provide it to you as soon as possible.

Hello @yuvirani, you can find below the playbook that I used to reproduce the error.
- hosts: localhost
  vars:
    config: 'oneview.json'
    ansible_python_interpreter: '/usr/local/bin/python3.6'
    ooneviewligNetworkName: "net-1bm-prd-0001"
    ooneviewligLiName: "zz00lec001-lig-vco1"
    ooneviewLigName: "lig-vco1"

  tasks:
    - name: Get Logical Interconnect facts
      oneview_logical_interconnect_facts:
        config: "{{ config }}"
        name: "{{ ooneviewligLiName }}"

    - name: Get Logical Interconnect Group facts
      oneview_logical_interconnect_group_facts:
        config: "{{ config }}"

    - name: Set LIG from filtered LIG fact (used by current LI)
      set_fact:
        __LIG: "{{ item }}"
      loop: "{{ logical_interconnect_groups }}"
      when: item.name ==  ooneviewLigName

    - name: Set uplink and networks facts from LIG, only first one is used
      set_fact:
        __uplinkSetsFacts: "{{ __LIG.uplinkSets[0] }}"
        __uplinkNetworkUris: "{{ __LIG.uplinkSets[0].networkUris }}"

    - name: Print networks info from uplink facts, only first uplink is used
      debug:
        msg:
          - "networkUris list currently used by uplink: {{ __uplinkNetworkUris }}"

    - name: Get ethernet network facts
      oneview_ethernet_network_facts:
        config: "{{ config }}"
        name: "{{ ooneviewligNetworkName }}"

    - name: Set networks facts from ethernet network facts
      set_fact:
        __networkUrisToDelete: "{{ ethernet_networks.uri }}"

    - name: Print networks info from network facts
      debug:
        msg:
          - "networkUris list to delete from uplink: {{ __networkUrisToDelete }}"

    - name: Delete networkUri from networkUris list from uplink when present
      set_fact:
        __networkUris: "{{ __uplinkNetworkUris | reject('search', __networkUrisToDelete) | list }}"
      when: __networkUrisToDelete in __uplinkNetworkUris

    #Run tasks below only if NetworkUris is present in uplink
    - name: Replace networkUris list from uplink by the new one modified (when networkUris is present in uplink)
      set_fact:
        __uplinkSetsFacts: "{{ __uplinkSetsFacts | combine({'networkUris':__networkUris}) }}"
      changed_when: True
      notify:
        - update lig
        - update li
      when: __networkUris is defined

  handlers:
    # Update logical interconnect group with new uplinkset
    - name: update lig
      oneview_logical_interconnect_group:
        config: "{{ config }}"
        state: present
        data:
          name: "{{ __LIG.name }}"
          uplinkSets: ["{{ __uplinkSetsFacts }}"]

    # Update logical interconnect from logical interconnect group
    - name: update li
      oneview_logical_interconnect:
        config: "{{ config }}"
        state: compliant
        data:
          name: "{{ ooneviewligLiName }}"

    - name: Flush handlers
      meta: flush_handlers

@ClaireHayard, We are working on the fix, will update you once done.

Hi @ClaireHayard,
The above issue has been fixed in the latest release and the fix is available in v6.1.0.
https://hub.docker.com/repository/docker/hewlettpackardenterprise/hpe-oneview-sdk-for-ansible
docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v6.1.0-OV6.1


Customise Build Monitor with URL parameters

We run this dashboard on a video wall which occasionally resets, to keep the browser stable (refreshing it all day causes the history to fill up and it becomes less stable over time).
Is it possible to pass in, say, the font size you want to use, as a URL parameter?
Thanks!

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25288140-customise-build-monitor-with-url-parameters?utm_campaign=plugin&utm_content=tracker%2F580790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F580790&utm_medium=issues&utm_source=github).

We are using some raspberry pi to display the view and same thing: configuring via URL params would be incredibly useful.

Hey, I would love this feature as well, we have the build monitor set up on a Chromecast with greenscreen (https://github.com/groupon/greenscreen), so there is no way we can set those values in cookies. Any chance this would make it in if I sit down to implement it?

Hey @apfelfabrik - sure, I like the idea so if you'd like to chip in with a pull request it's highly likely to make it in!

I'd also appreciate this - we use a Screensaver on OSX to display the page, and that doesn't allow us to click on anything... In particular, we use WebViewScreensaver. This provides us with a display of the information that we need without compromising security (the screensaver is configured to ask for a password).

I'd also like this feature (well this one, https://github.com/jan-molak/jenkins-build-monitor-plugin/issues/71, or https://github.com/jan-molak/jenkins-build-monitor-plugin/pull/189 would also work).
Our internal network is very secure so all kiosks machines are locked down. The content for a kiosk is provided by system that captures a periodic snapshots of whatever urls you give it. Cookies will never persist so having some control over the display either by configs or url params would be great.

This would help us a lot as well as we have these monitors on many different screens.  Each one can have their screen savor tailored for the display which would be very nice.

+1

+1

+1

+1

+1

Hi guys I have no idea if this can be done like this, first time trying something with js and probably is wrong but can it be something similar on this for getting params from URL
`angular.
let url = new URL(window.location.href);
let searchParams = new URLSearchParams(url.search);

module('buildMonitor.settings', [ 'buildMonitor.services', 'rzModule']).

controller('controlPanel', ['$scope', 'searchParams', 'townCrier',
    function ($scope, searchParams, townCrier) {
        'use strict';

        $scope.settings.fontSize        = searchParams.get('fontSize',        1);
        $scope.settings.numberOfColumns = searchParams.get('numberOfColumns', 2);
        $scope.settings.colourBlind     = searchParams.get('colourBlind',     0);
        $scope.settings.reduceMotion    = searchParams.get('reduceMotion',    0);
        $scope.settings.showBadges      = searchParams.get('showBadges',      0);

        angular.forEach($scope.settings, function(value, name) {
            $scope.$watch('settings.' + name, function(currentValue) {
                searchParams.put(name, currentValue);
            });
        });

        // that's the minimum viable product .. at its tiniest
        townCrier.uponNewVersion(function() {
            $scope.newVersionAvailable = true;
        });
    }]);`

Hi @Rylon,
I've submitted a PR which should address this feature request. I realize this issues was created 4 years ago, but I thought I'd let you know.

@jan-molak Any chance to see @pxpgraphics PR merged any time soon?
Or for an alternative method to set the defaults?

Has there been any update on this? I would also want to use this feature.

I'm also really interested in this feature. Any plans to merge it in near future? Thanks a lot!

will this feature / PR https://github.com/jenkinsci/build-monitor-plugin/pull/403 been added in future?


feat: adding support for RAW_BODY payloads when not on JSON-like content types

🚥 Fix RM-3107

🧰 Changes
This updates our custom RAW_BODY handling for delivering raw payloads to support it when in use on non-JSON content types like application/xml.
Without this fix, RAW_BODY content for these situations would be double-stringified into the HAR, resulting in some targets in @readme/oas-to-snippet improperly rendering it the snippet:

🧬 QA & Testing
See the test I added for supporting it on an application/xml request body.
With this fix, these payloads won't be rendered within another set of quotes:

Interesting, I wonder if we should be doing this for top level strings of non-json types too. e.g.
        "requestBody": {
          "content": {
            "application/xml": {
              "schema": {
                "type": "string"
              }
            }

@Dashron We already support this with this line https://github.com/readmeio/oas-to-har/blob/main/src/index.js#L421-L422, but I'm adding some clearer tests for it.

Added in https://github.com/readmeio/oas-to-har/commit/a47ebc174d21ba1258aa10e0d285188ac33ebdea


⚠ Bofrost.lu has degraded performance

In 8c48694, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1275 ms

Resolved: Bofrost.lu performance has improved in 09d08c2 after 6 minutes.


Vulnerability in Reverb object deserialization

This is a retroactive issue for the already-fixed security vulnerability.
The Reverb Server stores Tensors represented by protos. These protos contain type information as well as a string field called “tensor_content”. When the Reverb client communicates with the server, it unpacks these protos by turning them back into tensors.
Reverb supports the VARIANT datatype, which is supposed to represent an arbitrary object in C++. When a tensor proto of type VARIANT is unpacked, memory is first allocated to store the entire tensor, and a ctor is called on each instance. Afterwards, Reverb copies the content in tensor_content to the previously mentioned pre-allocated memory, which results in the bytes in tensor_content overwriting the vtable pointers of all the objects which were previously allocated.
Reverb exposes 2 relevant gRPC endpoints: InsertStream and SampleStream. By default, neither is authenticated and there is no authorization. The attacker can insert this stream into the server’s database, then when the client next calls SampleStream they will unpack the tensor into RAM, and when any method on that object is called (including its destructor) the attacker gains control of the Program Counter.
It was fixed in https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25

It was fixed in 6a0dcf4


Support for older php versions

First of all, thanks for building this 🙌
We are currently using this to build https://github.com/getAlby/nwc-php, which is inturn being used for https://github.com/getAlby/lightning-publisher-wordpress to add support for Nostr Wallet Connect payments in Wordpress.
To provide more flexibility to our plugin users, we're hoping to offer compatibility with older PHP versions, such as PHP 7.4 or PHP 8.0.
Would it be possible to consider downgrading the PHP requirement, or are there specific features in PHP 8.1 that are essential for the functionality of the library?

Hi, To solve the issue of supporting older PHP versions for the nostr-php library:
1.	Assess the code for any PHP 8.1 specific features being used.
2.	Identify and replace these features with alternatives compatible with PHP 7.4 or PHP 8.0.
3.	Update the composer.json file to reflect the lower PHP version requirement.
4.	Thoroughly test the library to ensure functionality is maintained with the older PHP versions.

@im-adithya Could you perhaps give some additional / contextual information why you can't upgrade to a maintained / security supported version of PHP?
Both versions 7.4 and 8.0 are EOL and are considered to be unsafe with vulnerabilities.
AFAIK @fabianfabian is using a fork with >7.4 compability: https://github.com/fabianfabian/nostr-php

Thanks for the quick reply.

Could you perhaps give some additional / contextual information why you can't upgrade to a maintained / security supported version of PHP?

Not any specific reason per se but most people run an old version of php for Wordpress and we want to be able to offer our plugin support to many.

@fabianfabian is using a fork with >7.4 compability: https://github.com/fabianfabian/nostr-php

Awesome, will check it out. Thanks again 🙌

Tell them to upgrade ;-) Otherwise hosting providers will do.
It's worth it to upgrade to 8.1+.
My goal with nostr-php is only to support the current maintained versions of PHP as all other major PHP frameworks to. I'm not a WordPress expert (and not a fan of it as well) but I assume WordPress is doing the same?


Outdated Version Popup

Describe your bug here.
When using an outdated version, and activating a mod, which restarts the game, will softlock you, needing you to manually restart the game
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Not via source

It might also still be on 0.6.2, but I cannot test it-
Because there is no new update-

One could try it with 0.6.1, but I do not have it currently downloaded

Just update your game lmfao


Version bump to 0.1.15

image tag => https://github.com/Quansight/qhub/runs/1167631953?check_suite_focus=true#step:4:1888


Update websocket.md

给websocket章节增加了一个提示

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi 感谢 PR，你还需要把这个签一下才能合并

我想问一下，这个怎么签啊？

您好，我不会签这个呀，这个应该不会有什么法律吧。。。我未成年人不想留下案底

感谢感谢，这样就好了哈


Access privilege issue

Hi @clems4ever,
I am experiencing issues with the Getting started demo.
I am able to start all docker-based services, by running the script authelia-repo/scripts/example-dockerhub/deploy-example.sh, and I also can enter the first factor when I try to log in.
However, when I am obtaining the token of the second factor, using Google authenticator, I can log in, but when I try to access some of the suggested pages (https://public.example.com:8080/ , https://dev.example.com:8080/users/john/secret.html , etc) it says that I don't have enough privileges to see the page.
I am using Ubuntu as OS and deploying Authelia using Docker. Could you provide me some starting point for troubleshooting this?
Thank you very much!

Hello @jesus7br , thank you for reporting this bug. This documentation has been recently updated so I guess I missed something. I will try to reproduce and I'll let you know when it's fixed.
Thanks.

Hello @jesus7br , Authelia and the documentation has recently improved. Can you please retry the getting started doc now? Please reopen the issue if you still face any issue. Thanks.


Automatic PR builds

Previously suggested here: https://github.com/RSS-Bridge/rss-bridge/issues/2143
The idea is deplyoing following instances when pull request is created:

Instance without changes from pull request
Instance with changes from pull request

This folloing instance it is easier to review changes in existing bridge and review new bridge.

This was implemented in #2525


Close settings modal dialog on confirm

When confirming general settings, the dialog now closes after entering the (correct) password.

I think its a rather rare case that somebody wants to change general settings (change password e.g.) and then also add a node? So I thought in most cases it is annoying for the user to confirm his changes and then manually close the dialog afterwards. But I guess users don't often change general settings, so either way its not a big deal.

I think its a rather rare case that somebody wants to change general settings (change password e.g.) and then also add a node? So I thought in most cases it is annoying for the user to confirm his changes and then manually close the dialog afterwards. But I guess users don't often change general settings, so either way its not a big deal.


2.5 times slower using jit for a combined groupby and rank

I have created some test data like this:
df = pd.DataFrame(columns=['values', 'grp_by'])
seed(4)
group_ids = ['aa', 'ab', 'ac', 'ad', 'ae', 'bg', 'bh', 'bi', 'bj', 'bk', 'er', 'es', 'et', 'eu', 'ev', 'ew', 'ex', 'ey']
values = []
for i in range(500000):
    value = random.uniform(0, 10)
    grp_by = group_ids[random.randint(0, 17)]
    values.append({'grp_by': grp_by, 'values': value})

df = df.append(values, ignore_index=True)

Tested pandas like this:
%%timeit
df['rank'] = df.groupby(df['grp_by'])['values'].rank(ascending=0,method='dense')

Output:
313 ms ± 2.61 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

Too slow so experimented with numba. Most of the grp are strings so need to hash to an integer. The code looks like this:
grp_by = df['grp_by'].values
f = lambda x: xxhash.xxh64(x).intdigest()
grp = np.array([f(xi) for xi in grp_by])

%%timeit
values = df['values'].to_numpy()
output = np.zeros(len(grp))
grp_by_rank_numba = numba.jit(group_by_rank, nopython=True)
grp_by_rank_numba(grp, values, 0, output)

Output:
895 ms ± 4.93 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

Here is my function doing the groupby and ranking (I tested it and it produces the same output as the pandas function you see above.):
def group_by_rank(grp_by, values, desc, output):
    inx = grp_by.argsort()
    prev = -1
    current_group = []
    current_idx = []
    count = 0

    for r in inx:
        count = count + 1
        if grp_by[r] == prev:
            current_group.append(values[r])
            current_idx.append(r)
            if count == len(values):
                if desc == 0:
                    ranks = np.array(current_group)[::-1].argsort()
                else:
                    ranks = np.array(current_group).argsort()

                for i in range(len(current_group)):
                    output[current_idx[i]] = ranks[i]+1

        else:
            if len(current_group) > 0:
                if desc == 0:
                    ranks = np.array(current_group)[::-1].argsort()
                else:
                    ranks = np.array(current_group).argsort()

                for i in range(len(current_group)):
                    output[current_idx[i]] = ranks[i]+1

            current_group = [values[r]]
            current_idx = [r]
            prev = grp_by[r]

It runs now, but is slower than pandas and the straight python group_by_rank (717ms). Is there a better way?
In fact it would be very useful to have examples for ranking, groupby and combined groupby with ranking for pandas equivalent in the repo.

Thanks for the report. I think the first question is answered by this:
In [8]: a = [10]

In [9]: type(a)
Out[9]: list

In [10]: a += np.zeros((1,))[0]

In [11]: type(a)
Out[11]: numpy.ndarray

and that Numba is not performing that behaviour.

Will I get a wider audience for this by people experienced at numba if I also post on Stack Overflow? I need to find a solution to speeding up compared to pandas for group by, rank and the combination of both ASAP

@davidwynter stack overflow might be a better forum for this. It's not clear that these algorithms are directly comparable and the algorithm posted is optimal, so it's hard to verify that this is a performance issue caused by Numba.

I recall an older blog post which might help figure out what is going on here: https://wesmckinney.com/blog/mastering-high-performance-data-algorithms-i-group-by/

I tested group_by_rank function with the same variables you see in the dataframe construction at the top and they are equivalent. I read that numba likes loops and the group_by_rank  function uses one. So reading the documentation provided it looks like I did the right things. I could use pandas's factorize function instead of the hash function, but having moved that outside the timing loop I found it made a minuscule difference. So at this point Stack overflow is my only hope. If not there then back to databases.

@davidwynter it sounds like a plan. Good luck and let us know if you manage to resolve it!

I altered my issue so that anyone can produce the same results with a decent sized dataset. @stuartarchibald suggested the algorithm may not be optimal, can he point me at some resource that explains how to make a function optimal for use with numba? Will @guvectorize give me better results for example?

@davidwynter it looks like you are including compilation time in the execution time for Numba:
%%timeit
values = df['values'].to_numpy()
output = np.zeros(len(grp))
grp_by_rank_numba = numba.jit(group_by_rank, nopython=True)
grp_by_rank_numba(grp, values, 0, output)

would recommend reading http://numba.pydata.org/numba-doc/latest/user/5minguide.html#how-to-measure-the-performance-of-numba
if timed correctly I find:
%%timeit
df['rank'] = df.groupby(df['grp_by'])['values'].rank(ascending=0,method='dense')
283 ms ± 9.44 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

vs
%%timeit
grp_by_rank_numba(grp, values, 0, output)
223 ms ± 7.49 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

I am trying to time the equivalent of the dataframe groupby, and thus it is
valid to include the preparation steps for the source dataframe to make it
suitable for calling the numba function.
On Fri, 4 Oct 2019 at 10:42, stuartarchibald<EMAIL_ADDRESS>wrote:

@davidwynter https://github.com/davidwynter it looks like you are
including compilation time in the execution time for Numba:
%%timeit
values = df['values'].to_numpy()
output = np.zeros(len(grp))
grp_by_rank_numba = numba.jit(group_by_rank, nopython=True)
grp_by_rank_numba(grp, values, 0, output)
would recommend reading
http://numba.pydata.org/numba-doc/latest/user/5minguide.html#how-to-measure-the-performance-of-numba
if timed correctly I find:
%%timeit
df['rank'] = df.groupby(df['grp_by'])['values'].rank(ascending=0,method='dense')
283 ms ± 9.44 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
vs
%%timeit
grp_by_rank_numba(grp, values, 0, output)
223 ms ± 7.49 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/numba/numba/issues/4620?email_source=notifications&email_token=AA3YP3JKH4FW4XLOU46W6FTQM4FX5A5CNFSM4I2YWRNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEALD2ZA#issuecomment-538328420,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3YP3KSB5XZX7KYAM4A2Y3QM4FX5ANCNFSM4I2YWRNA
.

Numba is a JIT, when it you call your function it looks at the data types, then compiles a specialisation of the function for your data types. If in the same process you call the function again with the same data types (not the same data, just the same types) then it'll just fish the compiled specialisation out of an in memory cache and use that, i.e. it will not have to compile a new one. If you want to persist the cached functions to disk to save having to keep on compiling them for data types that don't change then cache=True can be supplied to the JIT decorator (docs). If you are in a situation where you can precompile functions, Numba also supports ahead-of-time compilation. Whatever happens, in both the case of Pandas and Numba someone somewhere has to pay the cost of compiling. It just so happens that Pandas is precompiled so the cost isn't yours, but with Numba you get a specialised-to-your-hardware compiled function and there is a cost to pay for that, but there are plenty of ways to amortise that cost as noted.
If you are genuinely constantly churning data types on every call and actually need to include compilation time in the total time then this is a really hard problem as you're at the mercy of many working parts, a lot of which are non-trivial to control.

This issue hasn't seen any activity recently, so I am assuming it has been resolved and close it. If this is not the case, please feel free to open a discussion on discourse here: https://numba.discourse.group/ - Thanks!


Winml yolo v2  API fix

@hansely this branch has conflicts. Create a new branch after merging upstream changes and create a new pull request.

@hansely create a new pull request.


Allow user to override values.yaml when deploying catalog application in Rancher UI

What kind of request is this (question/bug/enhancement/feature request):
Feature request
Description:
When deploying a catalog app from the Rancher UI, allow the user to select from multiple yaml files that will override the existing values.yaml file. This would behave simiar to the --values flag passed to the Rancher CLI command rancher app install.
Use case:
The catalog admin would create multiple variations of the values.yaml, possibly one for each type of environment. For example - dev-values.yaml, qa-values.yaml, uat-values.yaml, and prod-values.yaml. When an operator visits the catalog and launches a new app, they are given a dropdown that allows them to use the default values.yaml from the chart, or the four alternatives provided by the catalog admin.

All of deployments I deal with are driven through CI/CD process where --values are passed based on deployment destination. If the deployment fails and I would like to deploy manually from the catalog, I have no way to select a deployment destination or environment specific yaml file, which is frustrating. This feature would be awesome, which would add a great deal of flexibility allowing for CI/CD or straight catalog driven deployments to operate in the same way.

Would love to see something like implemented. Could just be another drop down menu for selecting the values.yaml to use for deployment (perhaps next to the chartVersion selection).

I would still like to see this feature implemented.


ValueError: tf.function-decorated function tried to create variables on non-first call. with non-zero orth_reg

Simple, relevant snippet of code
   N_DIMS_EMBEDDING = 3
   m_sim = np.array([(1.0, .7, .3),
                     (.7, 1.0, .2),
                     (.3, .2, 1.0)])
   #define feature matrix - one-hot encoding
   m_feat = np.array([(1.0, 0.0, 0.0),
                      (0.0, 1.0, 0.0),
                      (0.0, 0.0, 1.0)])

   #compute the embedding
   simec = SimilarityEncoder(m_sim.shape[0], N_DIMS_EMBEDDING, m_sim.shape[0], orth_reg=1.0)

   simec.fit(m_feat, m_sim, epochs=1000)

It gives the error
ValueError: tf.function-decorated function tried to create variables on non-first call.
The error only happens when I set orth_reg in the SimilarityEncoder constructor.
This does not happen with older versions of Keras and Tensorflow.
For this error, I'm using:
Keras                  2.4.2
Keras-Applications     1.0.8
Keras-Preprocessing    1.1.2
tensorflow             2.2.0
tensorflow-estimator   2.2.0

Yeah, simec.py was written quite a long time ago with older keras and tf versions. Then I switched to pytorch (--> simec_torch.py) and neglected the keras version.... I'll try to get everything to work with recent versions (I think it's mostly because tf & keras kind of merged) but it might be a while until I get to it - a pull request would be very welcome ;)


Auto update no questions asked

Is there a setting that will auto update omz without the prompt?

Looking at check_for_upgrade.sh it seems like setting $DISABLE_UPDATE_PROMPT to 'true' might do the trick.


Use Cilium for Service Ingress

Cilium also has support for Ingress, which could remove the need for ingress-nginx.
https://docs.cilium.io/en/stable/network/servicemesh/ingress/

I am open to this idea, but I would like to hear peoples experiences in doing it. For example, what are any nuances or limitations over ingress-nginx?


Can't create a layer to a tracing_appender::non_blocking anymore

I upgraded to version v0.3, but somehow I can't use tracing_appender::non_blocking anymore like that:
    let file_appender = tracing_appender::rolling::hourly(log_path, "tracing.log");
    let (non_blocking, guard) = tracing_appender::non_blocking(file_appender);
    let file_layer = BunyanFormattingLayer::new("app".into(), non_blocking);
    let stdout_layer = BunyanFormattingLayer::new("app".into(), std::io::stdout);

    tracing_subscriber::registry()
        .with(JsonStorageLayer)
        .with(file_layer)
        .with(stdout_layer)
        .init();

which was working perfectly fine on v0.2.
I'm getting the following error:

error[E0277]: expected a `Fn<()>` closure, found `RollingFileAppender`
   --> exec/src/app/main.rs:254:68
    |
254 |     let file_layer = BunyanFormattingLayer::new("app".into(), file_appender);
    |                      --------------------------                    ^^^^^^^^^^^^^ expected an `Fn<()>` closure, found `RollingFileAppender`
    |                      |
    |                      required by a bound introduced by this call
    |
    = help: the trait `Fn<()>` is not implemented for `RollingFileAppender`
    = note: wrap the `RollingFileAppender` in a closure with no arguments: `|| { /* code */ }`
    = help: the following other types implement trait `MakeWriter<'a>`:
              Arc<W>
              BoxMakeWriter
              OrElse<A, B>
              Tee<A, B>
              TestWriter
              WithFilter<M, F>
              WithMaxLevel<M>
              WithMinLevel<M>
            and 2 others
    = note: required because of the requirements on the impl of `for<'a> MakeWriter<'a>` for `RollingFileAppender`
note: required by a bound in `BunyanFormattingLayer::<W>::new`
   --> /home/mborges/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-bunyan-formatter-0.3.4/src/formatting_layer.rs:53:9
    |
53  | impl<W: for<'a> MakeWriter<'a> + 'static> BunyanFormattingLayer<W> {
    |         ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `BunyanFormattingLayer::<W>::new`

error[E0277]: expected a `Fn<()>` closure, found `RollingFileAppender`
   --> exec/src/app/main.rs:254:22
    |
254 |     let file_layer = BunyanFormattingLayer::new("app".into(), file_appender);
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<()>` closure, found `RollingFileAppender`
    |
    = help: the trait `Fn<()>` is not implemented for `RollingFileAppender`
    = note: wrap the `RollingFileAppender` in a closure with no arguments: `|| { /* code */ }`
    = help: the following other types implement trait `MakeWriter<'a>`:
              Arc<W>
              BoxMakeWriter
              OrElse<A, B>
              Tee<A, B>
              TestWriter
              WithFilter<M, F>
              WithMaxLevel<M>
              WithMinLevel<M>
            and 2 others
    = note: required because of the requirements on the impl of `for<'a> MakeWriter<'a>` for `RollingFileAppender`
note: required by a bound in `BunyanFormattingLayer`
   --> /home/mborges/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-bunyan-formatter-0.3.4/src/formatting_layer.rs:44:37
    |
44  | pub struct BunyanFormattingLayer<W: for<'a> MakeWriter<'a> + 'static> {
    |                                     ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `BunyanFormattingLayer`

Any idea what changed?

Okay I just replaced the line with
let file_layer = BunyanFormattingLayer::new("app".into(), move || non_blocking.clone());

and it's all good now


"time taken" doesn't seem to include all the steps

Type of issue

[x] Bug
[ ] New feature
[ ] Improvement

Description
The time taken shown after a deployment seems to be missing some of the time spent. e.g. this is one deployment, notice that 9'37" passed from when I launched the script and when I got the prompt back, but the script measured 7'44"

Yes, the time taken shown after a successful deployment is measured from the point after app registration and resource group creation and hence, does not consider the time taken for those activities. I'd added a separate time indicator for those in PR #180. Hope it helps. Also, added elapsed time counter in PR #179. There are also activities after the resource provisioning time taken is shown (and may need measurement too if desirable?). Just curious, what did you use to get the 9'37" measurement?

Initially the focus was on knowing how much time resource provisioning is taking through ARM, so we added the time take for that purpose. Since then we have added several more steps to the solution deployment process so showing all up time makes more sense now. We will have to be careful how we surface this to the user.

@vitoc 9'37" (if my math is correct) is the difference between the two timestamps in the screenshot. My bash shell is configured to print the time after each command to help with these tasks ;-)

Ah, very cool. That includes time taken for user input too, which pcs-cli currently doesn't measure (rightly). Anyway, on the other discussions related to this topic, I agree that resource provisioning time for each resource can be useful.

yes it includes about 20 sec of user input, what's missing is about 1.5 mins of time


Unmute FieldCapabilitiesIT.testWithIndexFilter

This test was fixed already so unmuting, see https://github.com/opensearch-project/OpenSearch/issues/10474#issuecomment-1766394994.
Check List

[ ] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@reta could you help review this too? It seems like this test has been fixed so unmuting it.

https://build.ci.opensearch.org/job/gradle-check/29607

https://github.com/opensearch-project/OpenSearch/issues/10154

https://build.ci.opensearch.org/job/gradle-check/29638/

https://github.com/opensearch-project/OpenSearch/issues/6542


Support for custom schema validators

Have you considered allowing developers to use custom schema validators?
I'd much rather use https://deepkit.io/library/type instead of https://zod.dev

Hey @marcus-sa !
Thank you for submitting the issue, sorry for closing it out prior to commenting, I'm testing this feature on my mobile's github app 😅
That said we don't plan to support custom serializers in the foreseeable feature - which may be the next major release.
It doesn't seem to be too hard to do it so we will keep an eye on "Type" and this sort of request tho.
Is there any specific reason you'd use one over another? Do you have any API suggestions?
Cheers


Having option to specify search bar position

Hello,
Thanks for all you great work!
I have one proposal for you. Can you introduce option where client can specify how search bar will be positioned?
We are using our top left to show how many rows are visible to the user:

but, when user searches, it's covered by search bar

Thanks

Tech
Version

Material-UI
4.11.0

MUI-datatables
3.7.6

React
17.0.1

browser
chrome

etc

sorry, this is correct image, when user use search:


Go to definition (F12)

When you press F12 or right-click and select ‘Go to definition,’ the message 'No definition found' appears. I was expecting the cursor to move directly to the method.
Example class:

Example procedure:

The strange thing is that the last example (procedure) seems to work fine for a colleague. What could explain this?

try close & re-open source, see Gilles comment in #170

Hello Carl,
Thank you for the suggestion.
I tried to close all open buffers, close VSC, reopen VSC, reopen the testClass.cls and test.p, but it's still not working.
The outline looks fine in both cases:

#1 is for now expected, and will be fixed.
#2 is not expected, and can not be reproduced on this small example. Do you consistently reproduce in your env ? Is your procedure part of a source directory ?

Improved definition entrypoint in current pre-release. F12 is supposed to work correctly with method calls (local or from another class). RCode has to be present in the propath.
Attributes and constructors will be added in future pre-releases.


Segmentation fault - More specifics about the package requirements please

Hi, can you provide more details on the installation requirements please? For example, which specific combination of the package versions can be used to run G-Bert for:

pytorch
torch_geometric
torch_scatter
torch_sparse
torch_cluster
GCC version
(So like not a range of versions, but one example of the combination of specific versions that worked).

Because I am facing package dependency issues.  But if I use torch_geometric==1.2.1 I get a dimension mismatch in line 222 of graph_models.py. So it seems to me the code is dependent on package version which more detail would help.
Thank you!

Because if I use torch_geometric==1.2.0 I get a segmentation fault in the softmax function line 224 of graph_models.py. But if I use torch_geometric==1.2.1 I get a dimension mismatch in line 222 of graph_models.py. So it seems to me the code is dependent on package version which more detail would help.

Hi, @yrf1. Sorry for the late reply. The detailed installation requirements are as follows:
tqdm==4.31.1
numpy==1.16.2
torch_geometric==1.0.3
pandas==0.24.2
dill==0.2.9
torch==1.2.0
scikit_learn==0.21.3
tensorboardX==1.9
torch_scatter==1.3.1
torch_sparse==0.4.0
torch_cluster==1.4.4
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)

Thank you!


Make color square clickable

Brief Description: The color preview square in the settings screen can't currently be interacted with.
Operating System (OS and version): Ubuntu 16.04
OpenBazaar version (shown on About OpenBazaar page in menu): 2.0.0
Observed Behavior:
Clicking the color square triggers no behavior.
Expected Behavior:
Present a color picker on click, ultimately removing the color code input.
Additional info (links, images, etc go here):
https://projects.invisionapp.com/share/RC9Q3H5X8#/screens/211105705_Openbazaar-2-0-Page-Store-Customize-Advanced-Picker

We could do a two-step implementation here. An initial, and very easy, fix, it to use the native HTML color input.
Later, if/when we implement a custom color selector for the customize user page story, we can also use that color selector here.

This is done (at least a simple version using the native HTML color input).


Getting issue when entering direct url for customer account profile.

Framework Version: 0.1.6

Framework Version: 0.1.6

Fixed


add try/catch to all callback functions (never unwind through them)

This may help https://github.com/JuliaLang/Downloads.jl/issues/196. The issue there may be that callback functions raise Julia errors sometimes (they shouldn't but stuff happens, ya know?). This wraps each one in a try/catch block and logs an "unkonwn error" message if that happens and returns from the callback with an appropriate return code to indicate error. The libcurl docs aren't super clear on these and this is hard to test so hopefully I got it right, but we'll see. Should be better.

Is this backportable?

Probably not cleanly, but the same thing could maybe be done on the old branch.


Provide option to default to github provider for git.api.getRemoteSources

This PR fixes #106316
@joaomoreno
Add an optional param to the git.api.getRemoteSources api call to default to a specific provider.
You can test it by calling
await commands.executeCommand('git.api.getRemoteSources', {
    providerName: 'GitHub'
})

This will skip the choose provider and show directly your repos in GitHub

Let me know if there's anything else to be fixed here. Thanks!

@joaomoreno Can this change be merged now?

Thanks! 🍻


Adapt archive utility to run as a separate step in the pipeline

Currently, the archive utility is integrated into run_module(). This is problematic, because if the CSV output fails validation (either after delivery to the server, or during the imminent validation step) then we wind up saving files to the cache that do not actually reflect what data is in the API.
This is actively causing problems for #179, and could affect every indicator where the archiver is used in this way as soon as it fails ingestion once.
Once the validator is available, we will want to shift archiver duties to occur only after validation succeeds.
To prepare for that, we should adapt the archiver to run independently via the delphi_utils module. Something like
(env) $ python -m delphi_utils archive

-- the archive command will leave room for other utils commands should they come up.
This has the bonus of decoupling archiver code from the indicator implementations, reducing duplication, and making it easier to run indicators in development environments without needing S3 credentials.

Interested in jumping into this, but I don't totally understand what the desired workflow is here.  If I understand correctly, what we now have is the archive running when we do (env) $ python -m $INDICATOR_PIPELINE_MODULE_NAME.  After this issue is resolved, would you need to run in two steps?  i.e.
(env) $ python -m $INDICATOR_PIPELINE_MODULE_NAME
(env) $ python -m delphi_utils archive

Essentially yes, but to be slightly more precise about the context -- we want to only archive if validation succeeds, so we'll end up with a shell script like this:
     1  #!/bin/bash

     2  INDICATOR_MODULE=$1

     3  source env/bin/activate
     4  python -m $INDICATOR_MODULE
     5  if python -m delphi_validator; then
     6      python -m delphi_utils archive
     7  else
     8      # validation failed; call for help
     9  fi

The scope of this ticket is limited to line 6.


⚠ Bofrost.de has degraded performance

In 7a43362, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1607 ms

Resolved: Bofrost.de performance has improved in 460c40d after 28 minutes.


Missing starlite docs

starlite integration was added in https://github.com/strawberry-graphql/strawberry/pull/2391 in which docs were added.
The doc file does exist - https://github.com/strawberry-graphql/strawberry/blob/main/docs/integrations/starlite.md
...but on the website there is no mention of it under Integrations:

...and searching for starlite in the docs also brings up no results.

Interestingly, if you manually enter the url, it does work:
https://strawberry.rocks/docs/integrations/starlite
...so it seems like it's just missing an entry in the navigation.

ah yes, we need to add a link to docs/index.md 😊

That's what I thought, but I couldn't see where to add it - I can't see the files being manually listed in the index :thinking:

https://github.com/strawberry-graphql/strawberry/blob/main/docs/README.md here sorry, not docs/index.md 😊

main/docs/README.md here sorry, not docs/index.md 😊

I took a crack at it over in #3082!


fix/order

last pull request?!! don't forget meeeee

last pull request?!! don't forget meeeee مع الاسف

😭😭😭


[FEATURE] Support path operation configs in APIRouter and FastAPI

Is your feature request related to a problem
Nope.
Right now, it's possible to set most of a path operation's configurations in a decorator. And it's possible to add some specific configs that apply to all the path operations in a router in include_router, currently prefix, tags, dependencies, responses, default_response_class.
Note: The only of those that can't be set in an individual path operation is the prefix, which makes sense.
But it's not possible to add them on class creation for APIRouter and FastAPI.
For example, to add auth dependencies to all the path operations under a FastAPI app, it's needed to add a router, and then use include_router.
The solution you would like
I would like to be able to set the configs that can be applied to a whole router/app on object creation for APIRouter and FastAPI.
Describe alternatives you've considered
I'm just writing the idea here, I haven't validated it. It could create issues with defaults and overrides in multiple points, and possibly very complex logic to handle those defaults.
So, this might lead to nowhere, but here's the idea to keep track of it.
Additional context
This is part of a set of feature requests, to support the same/several configs in a specific path operation AND in include_router and in the creation of an APIRouter AND in the creation of a FastAPI.
include_router can override stuff that could have been set in a specific APIRouter class, including a router more than once (e.g. the same router with a prefix /api/v1 and again with a prefix /api/v2 if that section of the API didn't change).
https://github.com/tiangolo/fastapi/pull/1013 is related to this, adding tags to the APIRouter class.
This is related to #1053 , that issue has some more context and ideas.

This was added in #2434 and is now available in FastAPI version 0.62.0 :tada:


2021.9.0: Sensor Temperature Conversion changes

Just to have a way to track this, the "Breaking Changes" for 2021.9.0 suggests that there's a breaking change on sensor temperatures (which likely affects this integration):

https://www.home-assistant.io/blog/2021/09/01/release-20219/#breaking-changes
https://developers.home-assistant.io/blog/2021/08/12/sensor_temperature_conversion/

Okay it looks like this is deprecated but not removed, to be removed in 2022.3.0 according to the pull request. I can confirm the integration still works as of 2021.9.1.


Option to show matches for selected tournaments

Needs match search by tournament result.
Needs to propagate search and statistics filter.


nixos/btrfs: make autoScrub not prevent shutdown or suspend

Fixes: #79086 #79017
can you test this @schmittlauch ?
Things done
Tested on my system, only that scrub is cancelled by suspend.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I backported this onto the release-19.09 branch, there it works fine both with shutdown and suspend.
It would be nice if the scrubbing was resumed/ started again after resuming from suspension. But if this was not trivial to achieve, I'd be in favour of merging this without resumption support. Maybe we can still sneak this into 20.03, @worldofpeace? It'd be a shame if this small bugfix only reached stable in September.

bump @symphorien:
Do you see a straight-forward way for resumption or do you prefer to merge this as-is for the time being?

man btrfs scrub mentions no cancel or resume operation. So I think there is no straightforward way to improve. Let's merge as is.

Merged and backported to 20.03 as 99a3d7a86fce9e9c9f23b3e304d7d2b1270a12b8, seeing the absence of opposition


update MAPL

Testing is under way...

@weiyuan-jiang I actually already made a PR in #578 for this. I think @gmao-rreichle was testing that.

@weiyuan-jiang  - this PR is redundant.  @mathomp4 already created #578, and I'm already testing #578.  Closing.


Cannot print a page using a web browser

When printing a page from a web browser, the print preview and subsequent print yields only a blank page on Safari (or viewport only if Chrome).
Try printing: https://www.gethalfmoon.com or https://www.gethalfmoon.com/docs/download/.
@halfmoonui

Interesting.. I want to know the reason for a while.
Honestly, I am not sure this is the issue but when I see other CSS web page like Tailwind CSS, Bulma  and Chakra UI, it also doesn't print all of the components in the print preview, but they still print some components when it's not in the dark mode.

We could just print screen to screenshot the page, but it seems strange for Halfmoon to break a [File] > [Print] convention.
E.g. a data-intensive web app was made but the analysts can't print the document/tables for management review but have to screenshot/scroll/repeat and collate in an image editor to print the whole 10 page doc.
Maybe there is a hidden tag called AllowPrint = TRUE ?


Colors too dark for it be "Nord" themed in Nvim

Hi there,
I'm just a beginner trying to setup nvim. I have installed your theme but for me the colors feel to dark:

I'm using Alacritty, I use the same background color / theme you provide and there the blue feels good, like the nord theme. However if you look at nvim it's too dark. I have explicitly set the background hex color to same as in Alacritty but they are not the same. What am I missing?

Alright I have switched to Kitty terminal and there the colors are fine. I'm fine to switch but I leave this issue open maybe someone will know why the colors are different in Alacritty

Hi! That's strange, this is what a clean install of Alacritty looks like for me:

Maybe you have another theme that is overwriting the colors or something? Could you check :colorscheme and :hi to see if that's the case?

Hi! That's strange, this is what a clean install of Alacritty looks like for me:

Maybe you have another theme that is overwriting the colors or something? Could you check :colorscheme and :hi to see if that's the case?

Hi there. it does not look like something is overriding anything. The same config works with Kitty.
:colorscheme gives back onenord and :hi a lot of stuff. I checked some of the highlights and they are the same as in my highlight overrides.
I have my dotfiles pushed here: https://github.com/dylode/dotfiles would appreciate it if you can check it out.

Okay so I tried your dotfiles and I still can't reproduce the issue. This is what a clean install on Alacritty looks like for me:

Yeah disabling the background means that it will take the background from your terminal which seems to be the right color in the screenshot you sent but it wont fix the other highlights.
For :hi I should have been more specific, I mean like doing :hi Normal for example to check that the background (without disable.background = true) is the right hex code.

Okay so I tried your dotfiles and I still can't reproduce the issue. This is what a clean install on Alacritty looks like for me:

Yeah disabling the background means that it will take the background from your terminal which seems to be the right color in the screenshot you sent but it wont fix the other highlights.
For :hi I should have been more specific, I mean like doing :hi Normal for example to check that the background (without disable.background = true) is the right hex code.

Normal         xxx guifg=#C8D0E0 guibg=#2e3440
It does work correctly when I don't use tmux in Alacritty though. If I remove https://github.com/dylode/dotfiles/blob/main/alacritty/alacritty.yml#L80

I have fixed it by adding the following to tmux.conf
set-option -ga terminal-overrides ",xterm-256color:Tc"


Evalulation measure not passed to fit

The evaluation measure chosen by the user in not passed to fit in the trainer and consequentially only accuracy is used in the debugging logs.
@ravinkohli took an initial look at the problem and it seems to be located here:
https://github.com/automl/Auto-PyTorch/blob/7f9305d4f3ae8e866e8e318ba82bc93721d2175c/autoPyTorch/pipeline/components/training/trainer/base_trainer_choice.py#L329

Addressed in #194


Serialization should respect TypeForwardedFrom attribute

Hello, I'm coming from a discussion in https://github.com/dotnet/runtime/issues/47113 and basically basing on the response https://github.com/dotnet/runtime/issues/47113#issuecomment-762256639 I'd like to propose/ask for handling that TypeForwardedFrom attribute in a DefaultSerializationBinder.
In a current solution, backward compatibility for a case described below is broken, because $type for HashSet<> serialized in net5.0 could not be deserialized in previous versions of dotnet, i.e. netcoreapp3.1.
By using TypeForwardedFromAttribute it would allow to be independent of types being moved back and forth between assemblies, what happens quite often according to https://github.com/dotnet/runtime/issues/47113#issuecomment-762586943 and also with an assumption that TypeForwardedFromAttribute is the way to ensure backward compatibility.
I reckon the solution for that would be quite simple, as in the custom serialization binder:
 internal class TypeForwardedFromHandlingSerializationBinder : DefaultSerializationBinder
    {
        public override void BindToName(Type serializedType, out string assemblyName, out string typeName)
        {
            base.BindToName(serializedType, out var baseAssemblyName, out typeName);

            if (Attribute.GetCustomAttribute(serializedType, typeof(TypeForwardedFromAttribute), false) is TypeForwardedFromAttribute attr)
            {
                assemblyName = attr.AssemblyFullName;
            }
            else
            {
                assemblyName = baseAssemblyName;
            }
        }
    }

But I think it would be best to have that logic implemented by default in DefaultSerializationBinder.
@JamesNK are you okay with incorporating that logic in DefaultSerializationBinder and would accept such a contribution?
Or if not, is there anything against that, that I may not be aware of?
Source type
    public class DTO
    {
        public DTO(ICollection<string> collection)
        {
            Collection = collection;
        }

        public ICollection<string> Collection { get; }
    }

Actual behavior
(when it's being serialized with HashSet<> given as collection) - net5.0
{
  "Collection": {
    "$type": "System.Collections.Generic.HashSet`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
    "$values": [
      "value"
    ]
  }
}

Expected behavior
The expected behavior would be to respect TypeForwarderFrom attribute on a type during serialization to allow backward and forward compatibility, so the result would be
{
  "Collection": {
    "$type": "System.Collections.Generic.HashSet`1[[System.String, System.Private.CoreLib]], System.Core",
    "$values": [
      "value"
    ]
  }
}

where the assembly name is being taken from TypeForwarderFromAttribute on HashSet class.

This seems to work for all cases
        /// <summary>
        /// Core lib assembly name.
        /// </summary>
        private const string CoreLibAssembly = "System.Private.CoreLib";

        /// <summary>
        /// Mscorelib assembly name.
        /// </summary>
        private const string MscorlibAssembly = "mscorlib";

#if NETCOREAPP
        /// <summary>
        /// Controls the binding of a serialized type to json.
        /// </summary>
        /// <param name="serializedType"></param>
        /// <param name="assemblyName"></param>
        /// <param name="typeName"></param>
        public override void BindToName(Type serializedType, out string assemblyName, out string typeName)
        {
            base.BindToName(serializedType, out assemblyName, out typeName);

            if (!serializedType.IsValueType && Attribute.GetCustomAttribute(serializedType, typeof(TypeForwardedFromAttribute), false) is TypeForwardedFromAttribute attribute)
            {
                assemblyName = attribute.AssemblyFullName;
            }
            else if (assemblyName.Contains(CoreLibAssembly))
            {
                assemblyName = MscorlibAssembly;
            }

            if (typeName.Contains(CoreLibAssembly))
            {
                typeName = typeName.Replace(CoreLibAssembly, MscorlibAssembly);
            }
        }
#endif

Right. As all other issues in that repo.


"Wait a few minutes"

Please elaborate.
Three minutes?
Twenty minutes?
What is "a few minutes"?
Why not send an email when the change has taken effect? Or display something on the webpage?
[Enter feedback here]

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

ID: e5510e54-7d87-4fa7-e756-269c525cdf22
Version Independent ID: e5510e54-7d87-4fa7-e756-269c525cdf22
Content: Error AADSTS50011 the redirect URI not match the redirect URIs configured for the application - Active Directory
Content Source: support/azure/active-directory/error-code-AADSTS50011-redirect-uri-mismatch.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @aricrowe57
Microsoft Alias: genli

@MarcSchluperAtInte, Thanks for the comments. Usually, the change will take effect within 3~5 minutes.  I agree with you that  the current description is confusing.  I will update the article.

@MarcSchluperAtIntel I will process to close this PR. Feel free to let me know if there is any additional comment or feedback.


ErrorException ordering data, if totalRecords=0 an no columnNames were set

The stackstrace
ErrorException in BaseEngine.php line 242:
Undefined offset: 1
in BaseEngine.php line 242
at HandleExceptions->handleError('8', 'Undefined offset: 1', '/home/gabriel/b2b_next/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/BaseEngine.php', '242', array('column' => '1')) in BaseEngine.php line 242
at BaseEngine->getColumnName('1') in CollectionEngine.php line 96
at CollectionEngine->ordering() in BaseEngine.php line 546
at BaseEngine->orderRecords(false) in BaseEngine.php line 528
at BaseEngine->make(true, true) in CollectionEngine.php line 194
at CollectionEngine->make(true) in QuoteRequestController.php line 143

Bugfix e.g. in yajra\Datatables\Engines\BaseEngine::make()
public function make($mDataSupport = false, $orderFirst = false)
{
    $this->totalRecords = $this->count();
    if ($this->totalRecords) {
      $this->orderRecords( ! $orderFirst);
      $this->filterRecords();
      $this->orderRecords($orderFirst);
    }
    $this->paginate();

    return $this->render($mDataSupport);
}

@gabrielwelsche, thanks for the inputs. What version are you using? I tried testing using empty records and did not encountered the same issue.

composer: "yajra/laravel-datatables-oracle": "~5.0",
.../vendor/yajra/laravel-database-oracle/change-log.md
[...]
##Change Log

###v5.11.7
    - Fix escaping of row when using eager loading. Fix #164
[...]

I think I use the latest release:
Here is the config setting, which produce the error:
$('#table').DataTables({
   [...]
     sort: true,
     searching: true,
     stateSave: true,   // remember "sort" + page
     serverSide: true,
    columns:{
      {data: 'id'},
      {data: 'article_id'},
      [...]
    }
});

When I change my "columns", then it works properly:
$('#table').DataTables({
   [...]
    columns:{
      {data: 'id', name: 'id'},
      {data: 'article_id', name: 'article_id'},
      [...]
    }
});

Thank you very much for your work!
Gabriel

@gabrielwelsche , You MUST use the second configuration when using make(true) because the name attribute is being used as the field name when searching/sorting the column.

@gabrielwelsche, I just reviewed your suggestion and implemented it. Released on v5.11.8. Thanks!

Thank you very much!!!!


[release-1.8] Add validation for workload group

Manual cherrypick required.
#29355 failed to apply on top of branch "release-1.8":
Applying: Add validation for workload group
Using index info to reconstruct a base tree...
A	pkg/config/schema/collections/collections.agent.gen.go
M	pkg/config/schema/collections/collections.gen.go
M	pkg/config/validation/validation.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/config/validation/validation.go
Auto-merging pkg/config/schema/collections/collections.gen.go
CONFLICT (modify/delete): pkg/config/schema/collections/collections.agent.gen.go deleted in HEAD and modified in Add validation for workload group. Version Add validation for workload group of pkg/config/schema/collections/collections.agent.gen.go left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Add validation for workload group
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

fixed by https://github.com/istio/istio/pull/31083


IE8 doesn't work since karma 0.13.0

IE8 stopped working since karma started using the dom-serialize library in karma 0.13.0. This is because Object.reduce is used on this line of code, but no shim has been provided for IE8.

Thanks for the report.

Actually, karma 0.12.37 doesn't seem to work either because there is a file with a URL like http://localhost:9876/absolute/tmp/4a09ba9cdb71424e0ecb978e4c0a49ce.browserify that is served with the content type text/plain, which IE8 then refuses to load.
Is there an older version of karma that you would recommend for people still needing to test against IE8?

The official policy is that all versions of Karma should support IE8, so I'm not sure at which point we broke this contract. If you are up to it, I would be happy to accept a PR fixing it, as I can only test against IE11 with simulated IE8 behaviour at the moment.


Modulate don't work if custom font antialiasing property is set to LCD subpixel

Tested versions
v.4.2.2 stable
System information
Linux Godot v.4.2.2 Vulkan API 1.3.277 - Forward+
Issue description
Changing from code or the editor modulate parameter of Label/RichTextLabel do nothing.
When importing as grayscale modulate parameter of Label/RichTextLabel works.
Steps to reproduce

import font with LCD subpixel selected
set font in Label
try to change moduate parameter of label

Minimal reproduction project (MRP)
trivia

Confirmed the issue exists on 4.2.2 stable Windows, Forward+ as well.
Also tested on v4.4 and found that the issue is no longer present in Forward+ for Windows.

duplicate of #93606, which was fixed by #94064

Works in Godot v.4.3


[SPARK-15910][SQL] Check schema consistency when using Kryo encoder to convert DataFrame to Dataset

What changes were proposed in this pull request?
This PR enforces schema check when converting DataFrame to Dataset using Kryo encoder. For example.
Before the change:
Schema is NOT checked when converting DataFrame to Dataset using kryo encoder.
scala> case class B(b: Int)
scala> implicit val encoder = Encoders.kryo[B]
scala> val df = Seq((1)).toDF("b")
scala> val ds = df.as[B] // Schema compatibility is NOT checked

After the change:
Report AnalysisException since the schema is NOT compatible.
scala> val ds = Seq((1)).toDF("b").as[B]
org.apache.spark.sql.AnalysisException: cannot resolve 'CAST(`b` AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType;
...

How was this patch tested?
Unit test.

Test build #60381 has started for PR 13632 at commit 50bb48d.

Test build #60381 has finished for PR 13632 at commit 50bb48d.

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

Merged build finished. Test PASSed.

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

Test build #60442 has started for PR 13632 at commit 35a1ee0.

Test build #60443 has started for PR 13632 at commit e889f85.

LGTM, pending jenkins

Test build #60442 has finished for PR 13632 at commit 35a1ee0.

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

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

Merged build finished. Test PASSed.

thanks, merging to master/2.0

Test build #60443 has finished for PR 13632 at commit e889f85.

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

Merged build finished. Test PASSed.

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


skeleton-typescript can't find fetch after export

I'm working from the skeleton-typescript and have a problem with the exported build. When clicking the GitHub Users tab there are console errors:
ERROR [app-router] Error: XHR error (404 Not Found) loading http://<IP_ADDRESS>:8080/jspm_packages/github/github/fetch@0.11.1.js(…)
I'm using a clean clone of the repo with only a change in tsconfig ("sourceMap": false to get around issue #441)
npm install
jspm install
gulp export
Then I'm just serving with http-server from the export directory and can't load the users tab.

This was recently fixed.


fix libhdfs3 cmake issues

This fixes the issues with include directories and test compilation. Afterwards you will still have to add the missing dependencies like libxml2 :)

a wonderful  PR, Thanks!


Create TROUBLESHOOTING.md

issue #89

@mbernier I just edited the file. Could you please check whether it is ok or not? Thanks. :)

Hello @thepriefy,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


mock.add() not working

I need to add mocks at runtime so I'm using the add() method as suggested in the documentation. It doesn't seem to work though.
If I add the mock at creation time with the mock() function it works fine, but if I include the object later using the add() function, the mock.requestsMade() function tells me that the request was not made and I can see the real call in the browser.
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Hi @arnaugm . Could you provide some code from your test to help you debug?


add function to clearAccessTokens

Need a way to refresh to access tokens w/o having to wait for them to expire.
Stack overflow issue

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Extend buildUrlQueryParameters helper

Partial rewrite of buildUrlQueryParameters helper to support the preservation of query strings in the initial URL as well as the hash fragment.
The overrides feature now also supports a way to control the escaping of a supplied param value.
Example usage:
Helpers.buildUrlQueryParameters('http://example.com?preservedQuery1=test#helloWorld', {
  // characters will be escaped by helper
  epub: 'some/path/to/epub',
  // no escaping applied by helper for the following
  goto: {
    value: encodeURI('epubcfi(/6/2!4/2/2[text_assert])'),
     verbatim: true
  }
});

Output:

http://example.com/?epub=some%2Fpath%2Fto%2Fepub&goto=epubcfi(/6/2!4/2/2%5Btext_assert%5D)&preservedQuery1=test#helloWorld

Fixes #426


[E2E -- CI] Enable nightly run with Drone

Needs to  figure out how to trigger Drone CI workflow nightly, how to manage the CI jobs.

Done.


Python 3.7.7 Kivy: Unable to find any valuable Window provider. sdl2 - ValueError: Not a boolean: 400

CMDer / Command Line

Python: 3.7.7
OS: Windows 10
Kivy: 1.11.1
Kivy installation method: Same as here https://kivy.org/doc/stable/installation/installation-windows.html using vitrual environment

I'm stuck at this problem. I have tried to install all prerequisites that i found in internet. I'm using Windows 10 and CMDer. This error also occured in any of programs of Kivy that i run. Here's the error details.
(kivy_venv) λ python main.py -d
[INFO   ] [Logger      ] Record log in C:\Users\DC\.kivy\logs\kivy_20-04-05_71.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.gstreamer" 0.1.18
[INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.1.10
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.1.23
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "D:\Fazar\Terminal\kivy_venv\lib\site-packages\kivy\__init__.py"
[INFO   ] [Python      ] v3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 10:41:24) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "D:\Fazar\Terminal\kivy_venv\Scripts\python.exe"
[INFO   ] [Factory     ] 184 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.3.1
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer, img_gif
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [App         ] Loading kv <.\pong.kv>
[INFO   ] [Window      ] Provider: sdl2
[CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - ValueError: Not a boolean: 400
  File "D:\Fazar\Terminal\kivy_venv\lib\site-packages\kivy\core\__init__.py", line 71, in core_select_lib
    cls = cls()
  File "D:\Fazar\Terminal\kivy_venv\lib\site-packages\kivy\core\window\window_sdl2.py", line 152, in __init__
    super(WindowSDL, self).__init__()
  File "D:\Fazar\Terminal\kivy_venv\lib\site-packages\kivy\core\window\__init__.py", line 981, in __init__
    self.create_window()
  File "D:\Fazar\Terminal\kivy_venv\lib\site-packages\kivy\core\window\window_sdl2.py", line 284, in create_window
    resizable = Config.getboolean('graphics', 'resizable')
  File "D:\Fazar\Software\Python37\lib\configparser.py", line 828, in getboolean
    raw=raw, vars=vars, fallback=fallback, **kwargs)
  File "D:\Fazar\Software\Python37\lib\configparser.py", line 808, in _get_conv
    **kwargs)
  File "D:\Fazar\Software\Python37\lib\configparser.py", line 802, in _get
    return conv(self.get(section, option, **kwargs))
  File "D:\Fazar\Software\Python37\lib\configparser.py", line 1160, in _convert_to_boolean
    raise ValueError('Not a boolean: %s' % value)

[CRITICAL] [App         ] Unable to get a Window, abort.

I've installed pygments, pypiwin32, kivy_deps.sdl2, kivy_deps.angle, kivy_deps.gstreamer, and Kivy itself. I have no clue now. Please answer if you have suggestions to fix this.

Note: Kivy programs ran successfully before and now it didn't work anymore, i've tried reinstall Python 3.7.7 and Kivy few times both in and out virtual environment

Solved here