Add sign in customizable label & icon

Adding to sign in buttons customizable label & icon.
Issue: #731
Pre-launch Checklist

[x] I read the Contribute page and followed the process outlined there for submitting PRs.
[x] This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
[x] I read and followed the Dart Style Guide and formatted the code with dart format.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
[ ] I added new tests to check the change I am making.
[x] All existing and new tests are passing.
[x] Any breaking changes are documented below.

Breaking changes
None

I have read the CLA Document and I hereby sign the CLA

I'm not totally convinced this is a good idea for all the buttons.
For example both Google and Apple have strict guidelines what you are allowed to do with their sign in buttons.
See: Apple sign in button guide line
See: Google sign in button guide line
The icon is very strict and you are only allowed to use pre-approved logos. For the text you are a little more flexible, but you are still only allowed a short list of approved texts. Now of course the text can also be displayed in different languages.
If you do not follow these guidelines your app may be declined when getting reviewed when publishing to play / app store.
As for the firebase button I think we are fine to add this.

@Isakdl Is that okay for you if I just allow change in the text value for Apple/google buttons ? That way we can translate these ?

@lucasvaudey I think that makes sense, but perhaps we should add some documentation comments referencing the official button documentation. To guide people in the correct direction and note that they are not allowed to write anything they want in the button label.


Accessing unknown member variables.

I noticed that all of the member variables are null whenever they are used. I figured that they are not in the class, nor are they set by anything. The only way I can think of is that it is meant to use the config to query the variables.
I might be wrong about this though.

I have no idea why this is not working on 5.3. Can you guide me here?

We are using the magic method of PHP
You may refer to http://php.net/manual/en/language.oop5.overloading.php#object.set

Ah ok I did not know that. Thanks!


Set Up a Workflow With Extended Employee Onboarding

When deploying for the first time there is an error resulting from changes made during the tutorial:
In step 2.1 you are asked to:
"In the Resources tab, delete the existing workflow_sample_onboarding."
Unfortunately this is declared as required in the yaml file and will result in error during deployment.
The generator seems not to check this change. So it needs a manual step in the file.

This is because the changes you did to in Step 2.1 is not saved and MTA.yaml file still refers to the old sample onboarding resource. Please ensure that you have saved the changes, if not then you can close the mta editor and try again.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


OTLPTraceExporter from exporter-trace-otlp-http exporting traces Base64 encoded in React Native

What happened?
Steps to Reproduce
Expected Result
Traces exported to collector endpoint in JSON format
Actual Result
Traces are being Base64 encoded via the OTLPTraceExporter, resulting in 400 response as endpoint expects JSON
Additional Details
When recreating this implementation of @optentelemetry in a React web app, traces are exported successfully in JSON format.
@opentelemetry DiagConsoleLogger indicates  "stack":"ReferenceError: Property 'TextEncoder' doesn't exist\n    at serializeRequest.
Importing the text-encoding polyfill clears this error and allows traces to be sent, but in the wrong format.
OpenTelemetry Setup Code
import 'text-encoding'; // Import the polyfill
import {
  CompositePropagator,
  W3CBaggagePropagator,
  W3CTraceContextPropagator,
} from '@opentelemetry/core';
import { WebTracerProvider } from '@opentelemetry/sdk-trace-web';
import {
  SimpleSpanProcessor,
  ConsoleSpanExporter,
} from '@opentelemetry/sdk-trace-base';
import { registerInstrumentations } from '@opentelemetry/instrumentation';
import { getWebAutoInstrumentations } from '@opentelemetry/auto-instrumentations-web';
import { Resource } from '@opentelemetry/resources';
import { ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions';
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http';
import { DiagConsoleLogger, DiagLogLevel, diag } from '@opentelemetry/api';
import { useEffect, useState } from 'react';
diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.DEBUG);

const GRAFANA_OTLP_ENDPOINT = '<my-trace-collector-url>`;
const SERVICE_NAME = 'my-react-native-app`;

const Tracer = async () => {
  const resource = new Resource({
    [ATTR_SERVICE_NAME]: SERVICE_NAME,
  });
  const provider = new WebTracerProvider({ resource });

  provider.addSpanProcessor(
    new SimpleSpanProcessor(
      new OTLPTraceExporter({
        url: GRAFANA_OTLP_ENDPOINT,
      })
    )
  );

  provider.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter()));

  provider.register({
    propagator: new CompositePropagator({
      propagators: [
        new W3CBaggagePropagator(),
        new W3CTraceContextPropagator(),
      ],
    }),
  });

  registerInstrumentations({
    tracerProvider: provider,
    instrumentations: [
      getWebAutoInstrumentations({
        '@opentelemetry/instrumentation-user-interaction': { enabled: false },
        '@opentelemetry/instrumentation-document-load': { enabled: false },
        '@opentelemetry/instrumentation-fetch': {
          propagateTraceHeaderCorsUrls: /.*/,
          clearTimingResources: false,
        },
      }),
    ],
  });
};

export interface TracerResult {
  loaded: boolean;
}

export const useTracer = (): TracerResult => {
  const [loaded, setLoaded] = useState<boolean>(false);

  useEffect(() => {
    if (!loaded) {
      Tracer()
        .catch(() => console.warn('failed to setup tracer'))
        .finally(() => setLoaded(true));
    }
  }, [loaded]);

  return {
    loaded,
  };
};

package.json
{
  "name": "my-app",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    ....
  },
  "dependencies": {
    "@apollo/client": "3.5.10",
    "@eva-design/eva": "^2.2.0",
    "@expo/react-native-action-sheet": "^4.0.1",
    "@gorhom/bottom-sheet": "^4.6.0",
    "@grafana/faro-react": "^1.11.0",
    "@grafana/faro-web-tracing": "^1.11.0",
    "@opentelemetry/api": "^1.9.0",
    "@opentelemetry/auto-instrumentations-web": "^0.42.0",
    "@opentelemetry/exporter-collector": "^0.25.0",
    "@opentelemetry/exporter-trace-otlp-http": "^0.54.0",
    "@opentelemetry/instrumentation": "^0.54.0",
    "@opentelemetry/sdk-trace-base": "^1.27.0",
    "@opentelemetry/sdk-trace-web": "^1.27.0",
    "@react-native-async-storage/async-storage": "1.21.0",
    "@react-native-community/checkbox": "^0.5.17",
    "@react-native-community/netinfo": "11.1.0",
    "@react-navigation/bottom-tabs": "^6.2.0",
    "@react-navigation/native": "^6.0.2",
    "@react-navigation/native-stack": "^6.1.0",
    "@sentry/react-native": "~5.33.1",
    "@ui-kitten/components": "^5.1.1",
    "@ui-kitten/eva-icons": "^5.1.1",
    "@ui-kitten/template-ts": "^5.1.2",
    "date-fns": "^2.30.0",
    "expo": "~50.0.19",
    "expo-application": "~5.8.4",
    "expo-auth-session": "~5.4.0",
    "expo-checkbox": "^3.0.0",
    "expo-clipboard": "~5.0.1",
    "expo-constants": "~15.4.6",
    "expo-crypto": "~12.8.1",
    "expo-dev-client": "~3.3.12",
    "expo-device": "~5.9.4",
    "expo-local-authentication": "~13.8.0",
    "expo-location": "~16.5.5",
    "expo-notifications": "~0.27.8",
    "expo-splash-screen": "~0.26.5",
    "expo-status-bar": "~1.11.1",
    "expo-updates": "~0.24.13",
    "formik": "^2.4.5",
    "geolib": "^3.3.4",
    "graphql": "^16.3.0",
    "graphql-ws": "^5.11.2",
    "jwt-decode": "^3.1.2",
    "lodash": "^4.17.21",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.73.6",
    "react-native-animatable": "^1.4.0",
    "react-native-circular-progress-indicator": "^4.4.2",
    "react-native-collapsible": "^1.6.1",
    "react-native-error-boundary": "^1.1.13",
    "react-native-gesture-handler": "~2.14.0",
    "react-native-google-places-autocomplete": "^2.5.6",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-loading-spinner-overlay": "^2.0.0",
    "react-native-map-link": "^2.11.4",
    "react-native-maps": "1.10.0",
    "react-native-maps-directions": "^1.9.0",
    "react-native-modal": "^13.0.1",
    "react-native-paper": "^4.11.2",
    "react-native-qrcode-svg": "^6.3.0",
    "react-native-reanimated": "~3.6.2",
    "react-native-safe-area-context": "4.8.2",
    "react-native-safearea-height": "^1.0.6",
    "react-native-screens": "~3.29.0",
    "react-native-svg": "14.1.0",
    "react-native-svg-animated-linear-gradient": "^0.4.0",
    "react-native-toast-message": "^2.1.5",
    "react-native-turbo-mock-location-detector": "^2.3.1",
    "react-native-vector-icons": "^9.0.0",
    "sentry-expo": "~7.2.0",
    "styled-components": "^5.3.1",
    "text-encoding": "^0.7.0",
    "yup": "^0.32.11"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.15.3",
    "@react-native-community/eslint-config": "^3.2.0",
    "@testing-library/jest-native": "^5.4.2",
    "@testing-library/react-native": "^12.2.2",
    "@types/jest": "^29.5.3",
    "@types/react-test-renderer": "^18.0.0",
    "@types/styled-components": "^5.1.14",
    "@types/styled-components-react-native": "^5.1.1",
    "@typescript-eslint/eslint-plugin": "^6.7.5",
    "@typescript-eslint/parser": "^6.7.5",
    "babel-jest": "^26.6.3",
    "babel-plugin-module-resolver": "^4.1.0",
    "eslint": "^8.51.0",
    "eslint-plugin-react": "^7.32.2",
    "husky": "^8.0.3",
    "jest": "^29.6.2",
    "lint-staged": "^13.1.2",
    "metro-react-native-babel-preset": "^0.66.2",
    "patch-package": "^8.0.0",
    "prettier": "^2.8.7",
    "react-devtools": "^5.0.0",
    "react-test-renderer": "18.2.0",
    "reactotron-react-native": "^5.0.3",
    "typescript": "^5.3.0"
  },
  "resolutions": {
    "@types/react": "^18"
  },
  "jest": {
    "preset": "react-native",
    "setupFilesAfterEnv": [
      "@testing-library/jest-native/extend-expect"
    ],
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ]
  },
  "lint-staged": {
    "src/**/*.{ts,tsx}": [
      "prettier --write",
      "eslint --fix"
    ]
  }
}

Relevant log output
## Traces being created on the client,
DEBUG  items to be sent [{"_attributeValueLengthLimit": Infinity, "_droppedAttributesCount": 0, "_droppedEventsCount": 0, "_droppedLinksCount": 0, "_duration": [1, 172728833], "_ended": true, "_performanceOffset": NaN, "_performanceStartTime": 345362964.276208, "_spanContext": {"spanId": "9bddc617a3821ea9", "traceFlags": 1, "traceId": "a31d5b512aa2d966ecfd093da35d11f8", "traceState": undefined}, "_spanLimits": {"attributeCountLimit": 128, "attributePerEventCountLimit": 128, "attributePerLinkCountLimit": 128, "attributeValueLengthLimit": Infinity, "eventCountLimit": 128, "linkCountLimit": 128}, "_spanProcessor": {"_spanProcessors": [Array]}, "_startTimeProvided": false, "attributes": {"example-attribute": "example-value"}, "endTime": [1732027524, 681728833], "events": [], "instrumentationLibrary": {"name": "default", "schemaUrl": undefined, "version": undefined}, "kind": 0, "links": [], "name": "example-span", "parentSpanId": undefined, "resource": {"_asyncAttributesPromise": undefined, "_attributes": [Object], "_syncAttributes": [Object], "asyncAttributesPending": false}, "startTime": [1732027523, 509000000], "status": {"code": 0}}]

## Request payload in XHR  (base64 encoded)
eyJyZXNvdXJjZVNwYW5zIjpbeyJyZXNvdXJjZSI6eyJhdHRyaWJ1dGVzIjpbeyJrZXkiOiJzZXJ2aWNlLm5hbWUiLCJ2YWx1ZSI6eyJzdHJpbmdWYWx1ZSI6InJlYWN0LW5hdGl2ZS1mdWVscGF5In19LHsia2V5IjoidGVsZW1ldHJ5LnNkay5sYW5ndWFnZSIsInZhbHVlIjp7InN0cmluZ1ZhbHVlIjoid2VianMifX0seyJrZXkiOiJ0ZWxlbWV0cnkuc2RrLm5hbWUiLCJ2YWx1ZSI6eyJzdHJpbmdWYWx1ZSI6Im9wZW50ZWxlbWV0cnkifX0seyJrZXkiOiJ0ZWxlbWV0cnkuc2RrLnZlcnNpb24iLCJ2YWx1ZSI6eyJzdHJpbmdWYWx1ZSI6IjEuMjcuMCJ9fV0sImRyb3BwZWRBdHRyaWJ1dGVzQ291bnQiOjB9LCJzY29wZVNwYW5zIjpbeyJzY29wZSI6eyJuYW1lIjoiZGVmYXVsdCJ9LCJzcGFucyI6W3sidHJhY2VJZCI6IjdmNWZlMzc5YzBkNzYzOTE1MzY4MWU4NzQ2MmJhMGFmIiwic3BhbklkIjoiN2U0MzI1NTZlZDM2N2M4NiIsIm5hbWUiOiJleGFtcGxlLXNwYW4iLCJraW5kIjoxLCJzdGFydFRpbWVVbml4TmFubyI6IjE3MzIwMjc1OTM0MjUwMDAwMDAiLCJlbmRUaW1lVW5peE5hbm8iOiIxNzMyMDI3NTk0NjExNzc3NzA5IiwiYXR0cmlidXRlcyI6W3sia2V5IjoiZXhhbXBsZS1hdHRyaWJ1dGUiLCJ2YWx1ZSI6eyJzdHJpbmdWYWx1ZSI6ImV4YW1wbGUtdmFsdWUifX1dLCJkcm9wcGVkQXR0cmlidXRlc0NvdW50IjowLCJldmVudHMiOltdLCJkcm9wcGVkRXZlbnRzQ291bnQiOjAsInN0YXR1cyI6eyJjb2RlIjowfSwibGlua3MiOltdLCJkcm9wcGVkTGlua3NDb3VudCI6MH1dfV19XX0=

Operating System and Version
macOS 15.1
Runtime and Version
react-native 0.73.6
expo ~50.0.19
iPhone 16 Pro Simulator iOS 18.0

Hi @Dsalvat596, thanks for reporting this.
Just to clarify: are you saying that this does work in a react web app, but does not work in react native? 🤔
Were you including that same polyfill when you tried it in the react web app?

Hi @pichlermarc, thanks for responding.
Yes, it does work as expected in the react web app, no polyfill needed.
I should mention this is an Expo app, and the documentation here indicates The TextDecoder API is not [spec-compliant](https://encoding.spec.whatwg.org/#textdecoder) on native platforms. Only the UTF-8 encoding is supported. If you need support for more encodings, use a polyfill like [text-encoding](https://www.npmjs.com/package/text-encoding).
Im not sure if this issue is related or it is something specific to the exporter itself.

Hmm, that's weird.
Unfortunately I'm not really familiar with any of these tools and react-native itself - so it's difficult for me to figure out how to get started.. 😞 Would you be able to provide a simple repository that I can use to investigate this? 🤔

.

hey @Dsalvat596, the react native app on the demo repo isn't merged yet but can be helpful to try and reproduce, I reduced its tracer setup a bit to match your code snippet and wasn't able to see the problem here: https://github.com/open-telemetry/opentelemetry-demo/commit/fe810897a5106cc4e9382ef6ac1c8c2b0641eecc
but then downgrading to RN v0.73.6 I do see that exception about TextEncoder raised: https://github.com/open-telemetry/opentelemetry-demo/commit/a6ca5da1392ca78acdb55dfd2d4dc65aec1b4c77
I'm not sure as to the root cause but this does appear to be due to an issue on that version of React Native (also was seeing it on 0.73.8). Is upgrading to a version >= 0.74 a possibility for you?

Glad it worked!
Still unsure as to the underlying cause though, on this commit here I'm using those same downgraded versions but am able to reproduce the error: https://github.com/open-telemetry/opentelemetry-demo/blob/a6ca5da1392ca78acdb55dfd2d4dc65aec1b4c77/src/reactnativeapp/package.json

Sorry forgot about the poly fill for text-encoding when I did my last test, yes I was seeing the same as you
To summarize:

React Native 0.73 needs the 'text-encoding' polyfill regardless of otel package versions used (0.74+ doesn't need it)
Even with the polyfill RN 0.73 using @opentelemetry/exporter-trace-otlp-http on >= 0.53.0 fails to send with that base64 text (fails to send on RN 0.74 too though with a different error)
@opentelemetry/exporter-trace-otlp-http 0.52.0 seems to work well on both RN versions

There was quite a few changes between these versions (https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.52.0...experimental/v0.53.0) but I would guess the relevant changes happened in https://github.com/open-telemetry/opentelemetry-js/pull/4743
I wasn't able to narrow down the issue to a specific line but my guess is there isn't anything wrong with the implementation itself but rather comes down to APIs being used that weren't before that end up having some differing or flawed implementation in React Native. E.g. it looks like UInt8Array started being used and could run up against things like https://github.com/facebook/react-native/issues/41079 where more poly fills may be needed
I'll add a note to the demo app (https://github.com/open-telemetry/opentelemetry-demo/pull/1781) and link to this issue, I think this falls in the bucket of the existing otel packages being possible to use in React Native but having to be careful of choosing the right versions / configurations and ultimately probably needing more explicit support for react native as a platform along with node and browser

@jpmunz hmm, I think it might actually be the changes from #4895 that are causing this. We're serializing to Unit8Array in 0.52.0 already (introduced in #4581) and if I read the above correctly, 0.52.0 works fine everywhere.
In #4895 I added code to make a Blob from that Uint8Array and that was first released in 0.53.0.
I don't recall the exact reason why I added it - I think I maybe made a mistake and it's actually not needed at all. Looking at the MDN docs it's fine to just pass a TypedArray 🤔
The error I get with 0.55.0 using the demo from https://github.com/open-telemetry/opentelemetry-demo/pull/1781 is Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported. When I modify the code in the node_modules to directly pass the Uint8Array instead of constructing a Blob the request succeeds.
I'll open a draft PR and will link it here.

#5193 is my attempt at tackling this - when I turn on debug logging the logs say that the xhr request succeeds.
Unfortunately I was not able to get the traces to show up in the OTel-demo's Jaeger instance (it also did not work with the original set of dependencies though). 😞

@pichlermarc awesome! Will take a look


commit-changes command not working while release (Help)

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?
Windows 10
Generator Version
6.2.1
Tools Version
node version: v8.9.4
npm version: 5.6.0
Targeted Angular version
^6.0.0
Repro steps.
simple fire command  gulp release --version=patch --ghToken=xxx
and got error while push commit
after release i checked changelog or package.json not committed and tag done on last commit.
gulp code
gulp.task('commit-changes', (cb) => {
    let version = getPackageJsonVersion();
    pump(
        [
            gulp.src('.'),
            gulpGit.add(),
            gulpGit.commit(`chore(release): bump version number to ${version}`)
        ], cb);
});

The log given by the failure.

Desired functionality.
changelog or package.json not committed with proper message and tag done on that commit
Please help me. whats going wrong.

set repo url into  gulp.src('.'), and fixed


material skin not working with IPAD 2

I have installed material skin on several Lms (windows, Synology, Gentoo, Daphile) and I have never be able to use the interface with iPad 2. Standard interface works as well as Daphile interface. I have enabled the JavaScripts. It seems that iPad 2 support HTML 5. I have used both Safari and Chrome but what I get is always a blank screen. I suspect it could be an intrinsic limit of the IPAD 2.

Sorry, but this is iOS and apples fault. On iOS there is only one browser engine (the part that renders pages and JavaScript), all others (Chrome, Firefox) are just different 'skins' for this. And, unlike Android, the browser engine is only updated with the whole os - how silly!!
So, due to Apple, your browser is too old and there is nothing that can be done about it.

Thank you for the promptly answer. Just for curiosity which is the characteristic that is not implemented in the old engine ? Is it due to the JavaScript or to the HTML5 ?

I'd imagine it's the Javascript engine, but without such a device I don't really know. If only Apple weren't such control freaks you could install a real alternative browser with an up-to-date backend.


Active Sessions graph is incorrect in Gatling report

I'm working on Windows, running Gatling 2.1.7 from Eclipse. I have found that the active session graph in Gatling report does not match with the data in console output, graphite, or simulation.log
For details and steps to reproduce, please see https://groups.google.com/forum/#!topic/gatling/T8jHFCWHvp4
Thanks,
Brian

Please provide simulation.log. Couldn't reproduce with current master.

I have attached the simulation logs in a reply in the Google group topic.
https://groups.google.com/group/gatling/attach/90d8041f0a910/simulation_logs.zip?part=0.1&authuser=0&view=1
Thanks

Fixed, thanks for reporting!


Added view/whomai and css fonts

Check the font loading ....

Check the font loading ....

The font-family is not the default one at body.....
Check the default features such as border-box, margin, etc


About sample unknown point in the RandomCrop function

Thanks for the great work and code :) Your implementation is really elegant and impressive. However, I found that some part in the RandomCrop function is a little bit confusing:
https://github.com/Yaoyi-Li/GCA-Matting/blob/92c40b02f3f7c5dced6aed0eaf4de6eae6546c2d/dataloader/data_generator.py#L296
Based on this line, I assume that you are sampling unknown point as the center of the crop patch (based on that you deal with the border at 4 sides)
However, the later code using the sampled unknown point seems to treat it as the left-top point of the crop patch:
https://github.com/Yaoyi-Li/GCA-Matting/blob/92c40b02f3f7c5dced6aed0eaf4de6eae6546c2d/dataloader/data_generator.py#L306
Am I misunderstanding something? Thanks!

Hi, thanks for your interest.
This is not a bug. left_top is not the index of the selected unknown pixel, there is an offset inside. You can print it out to check it.

Hi, thanks for your interest.
This is not a bug. left_top is not the index of the selected unknown pixel, there is an offset inside. You can print it out to check it.

I see, thanks for your explanation!


Content Security Policy - Nonce not set

Hi, I'm using the ant.design. In the config I have set up:
<ConfigProvider
  csp={{ nonce: `${process.env.REACT_APP_GENERATED_NONCE_VALUE}` }}
>

</ConfigProvider>

dynamicCSS.js:73 : Refused to apply inline style because it violates the following Content Security Policy directive:
"style-src 'self' 'nonce-CODE'".
How can I fix this issue?

I faced the same issue, and this is the way you can do to workaround with NextJS:

Transpile antd icons package:

// next.config.js
const withTM = require('next-transpile-modules')(['@ant-design/icons'])
module.exports = withTM(nextConfig)

Implement icon context provider:

import IconContext from '@ant-design/icons/es/components/Context'
import { CSPConfig } from 'antd/es/config-provider'
import { ReactNode } from 'react'

interface IProps {
  children: ReactNode
  csp: CSPConfig
}

export const IconContextProvider = ({ children, csp }: IProps) => {
  return <IconContext.Provider value={{ csp }}>{children}</IconContext.Provider>
}

Add icon context provider next to config provider:

<ConfigProvider
  csp={{ nonce: `${process.env.REACT_APP_GENERATED_NONCE_VALUE}` }}
>
  <IconContextProvider
    csp={{ nonce: `${process.env.REACT_APP_GENERATED_NONCE_VALUE}` }}
  >

  </IconContextProvider>
</ConfigProvider>

Some icons sourced from the 'es' package, which was built using CommonJS, do not have their icon context included in the ConfigProvider. To resolve the issue, transpile the package and pass the CSP (Content Security Policy) information to its icon context.

I have the same problem. <ConfigProvider csp={{ nonce: XX }}> don't work.


doc: i2s example usage update

I had to modify the code from the doc to build an example application.
This is an update for that.
When is the next release scheduled?
I am so exited for the i2s support!

Any moment now, but it's been like that for like the last month :)

Ok, anytime then. Will keep an eye out. I'm building a synth based on an esp32 and want to do it in Rust. Very thankful for this project!


Upload new tft file

I tried to upload a tft file with http post under http://esp-ip/update.html but failed..
Please can you add an example?

This library does not support file upload.

That's interesting for sure! I'll look at it but cannot give a deadline.

That's interesting for sure. I'll look at it but cannot give a deadline.


feat: introduce DataServiceRegistry and DistributionResolver

What this PR changes/adds
Introduce two new interfaces:

DataServiceRegistry: it keeps DataService instances and their DistributionResolver implementation.
DistributionResolver: it returns a list of Distribution

the DataServiceRegistryImpl is also a DistributionResolver, becasue the Distributions are resolved from the DataServices, e.g., the current only DataService instance registered is the one representing the connector itself, and it will build the Distributions from the DataPlaneInstanceStore (see ConnectorDistributionResolver).
It will permit to register different DataService (e.g. in a catalog component separated from the connector) with custom DistributionResolver implementations.
Why it does that
dataspace protocol
Further notes

created module catalog-core that will register some catalog related services (like how are doing contract-core and transfer-core

Linked Issue(s)
Closes #2708
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

Codecov Report
Patch coverage has no change and project coverage change: -60.06 :warning:

Comparison is base (6ee08b7) 64.31% compared to head (1fed13b) 4.26%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #2715       +/-   ##
============================================
- Coverage     64.31%   4.26%   -60.06%
- Complexity        0     160      +160
============================================
  Files           949     953        +4
  Lines         19533   19563       +30
  Branches       1165    1166        +1
============================================
- Hits          12563     834    -11729
- Misses         6514   18681    +12167
+ Partials        456      48      -408

Impacted Files
Coverage Δ

...se/edc/connector/catalog/CatalogCoreExtension.java
0.00% <0.00%> (ø)

...ector/catalog/CatalogDefaultServicesExtension.java
0.00% <0.00%> (ø)

...edc/connector/catalog/DataServiceRegistryImpl.java
0.00% <0.00%> (ø)

...pse/edc/connector/catalog/DatasetResolverImpl.java
0.00% <0.00%> (ø)

...connector/catalog/DefaultDistributionResolver.java
0.00% <0.00%> (ø)

...nnector/service/ControlPlaneServicesExtension.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...or/service/catalog/CatalogProtocolServiceImpl.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pi/configuration/DspApiConfigurationExtension.java
0.00% <ø> (-93.34%)
:arrow_down:

...otocol/dsp/catalog/api/DspCatalogApiExtension.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...eclipse/edc/protocol/dsp/DspHttpCoreExtension.java
0.00% <0.00%> (ø)

... and 3 more

... and 649 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Fatal error when activated

@wickywills writes:

When activated on a brand new installation with just WooCommerce installed, I receive the following:
Fatal error: Uncaught SwedbankPay\Api\Client\Exception: VERSION not found in constant variable SwedbankPay\Api\Client\VERSION, composer.json, composer.lock or anywhere else. in /kunder/site/public/wp-content/plugins/swedbank-pay-payments/vendor/swedbank-pay/swedbank-pay-sdk-php/src/SwedbankPay/Api/Client/ClientVersion.php:99 Stack trace: #0 /kunder/site/public/wp-content/plugins/swedbank-pay-payments/vendor/swedbank-pay/swedbank-pay-sdk-php/src/SwedbankPay/Api/Client/ClientVersion.php(22): SwedbankPay\Api\Client\ClientVersion->getVersionFromEnvironment() #1 /kunder/site/public/wp-content/plugins/swedbank-pay-payments/vendor/swedbank-pay/swedbank-pay-sdk-php/src/SwedbankPay/Api/Client/Client.php(65): SwedbankPay\Api\Client\ClientVersion->__construct() #2 /kunder/site/public/wp-content/plugins/swedbank-pay-payments/vendor/swedbank-pay/swedbank-pay-woocommerce-core/src/SwedbankPay/Core/Core.php(97): SwedbankPay\Api\Client\Client->__construct() #3 /ku in /kunder/site/public/wp-content/plugins/swedbank-pay-payments/vendor/swedbank-pay/swedbank-pay-sdk-php/src/SwedbankPay/Api/Client/ClientVersion.php on line 99

@asbjornu Fixed

@aait, can you please reference the commit or pull request in which it was fixed?

@aait Problem was composer.json issue in the sdk. There was missing version parameter. I've fixed it in generated packages on wordpress SVN.


1.12.7 (64 bit) dep on libXss.so.1 tries to dep install 686 packages

Terminal below from CentOS 7.3 (7.3 packages as of Continuous Release CR repo)
[philwyett@hemi-yoda Downloads]$ sudo yum localinstall atom.x86_64.rpm
[sudo] password for philwyett:
Loaded plugins: changelog, fastestmirror, langpacks
Examining atom.x86_64.rpm: atom-1.12.7-0.1.x86_64
Marking atom.x86_64.rpm as an update to atom-1.12.6-0.1.x86_64
Resolving Dependencies
--> Running transaction check
---> Package atom.x86_64 0:1.12.6-0.1 will be updated
---> Package atom.x86_64 0:1.12.7-0.1 will be an update
--> Processing Dependency: libXss.so.1 for package: atom-1.12.7-0.1.x86_64
adobe-linux-x86_64                                       |  951 B     00:00
base                                                     | 3.6 kB     00:00
cr                                                       | 3.4 kB     00:00
epel/x86_64/metalink                                     |  18 kB     00:00
epel                                                     | 4.3 kB     00:00
extras                                                   | 3.4 kB     00:00
hemi                                                     | 3.0 kB     00:00
hemi-epel                                                | 3.0 kB     00:00
updates                                                  | 3.4 kB     00:00
(1/10): base/7/x86_64/group_gz                             | 155 kB   00:00
(2/10): epel/x86_64/group_gz                               | 170 kB   00:01
(3/10): extras/7/x86_64/primary_db                         | 166 kB   00:01
(4/10): hemi/primary_db                                    |  11 kB   00:00
(5/10): hemi-epel/primary_db                               | 3.7 kB   00:00
(6/10): epel/x86_64/updateinfo                             | 679 kB   00:04
(7/10): epel/x86_64/primary_db                             | 4.4 MB   00:10
(8/10): cr/7/x86_64/primary_db                             | 3.7 MB   00:15
(9/10): base/7/x86_64/primary_db                           | 5.3 MB   00:15
(10/10): updates/7/x86_64/primary_db                       | 9.1 MB   00:16
adobe-linux-x86_64/primary                                 | 1.2 kB   00:00
Determining fastest mirrors
Including mirror: mirror.bytemark.co.uk
Including mirror: anorien.csc.warwick.ac.uk
Including mirror: mirrors.ukfast.co.uk
Including mirror: epel.check-update.co.uk
 * epel: mirror.bytemark.co.uk
Including mirror: mirrors.melbourne.co.uk
Including mirror: centos.mirroring.pulsant.co.uk
Including mirror: mirror.sov.uk.goscomb.net
Including mirror: repo.uk.bigstepcloud.com
Including mirror: centos.mirrors.nublue.co.uk
Including mirror: mirror.mhd.uk.as44574.net
Including mirror: mirror.sax.uk.as61049.net
Including mirror: mirror.ox.ac.uk
 * extras: mirrors.melbourne.co.uk
adobe-linux-x86_64                                                          2/2
--> Running transaction check
---> Package libXScrnSaver.i686 0:1.2.2-6.1.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libXScrnSaver-1.2.2-6.1.el7.i686
--> Processing Dependency: libXext.so.6 for package: libXScrnSaver-1.2.2-6.1.el7.i686
--> Processing Dependency: libX11.so.6 for package: libXScrnSaver-1.2.2-6.1.el7.i686
--> Running transaction check
---> Package glibc.i686 0:2.17-157.el7_3.1 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-157.el7_3.1.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-157.el7_3.1.i686
---> Package libX11.i686 0:1.6.3-3.el7 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.6.3-3.el7.i686
---> Package libXext.i686 0:1.3.3-3.el7 will be installed
--> Running transaction check
---> Package libxcb.i686 0:1.11-4.el7 will be installed
--> Processing Dependency: libXau.so.6 for package: libxcb-1.11-4.el7.i686
---> Package nss-softokn-freebl.i686 0:<IP_ADDRESS>-14.4.el7 will be installed
--> Running transaction check
---> Package libXau.i686 0:1.0.8-2.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch       Version               Repository        Size
================================================================================
Updating:
 atom                   x86_64     1.12.7-0.1            /atom.x86_64     241 M
Installing for dependencies:
 glibc                  i686       2.17-157.el7_3.1      cr               4.2 M
 libX11                 i686       1.6.3-3.el7           cr               610 k
 libXScrnSaver          i686       1.2.2-6.1.el7         base              24 k
 libXau                 i686       1.0.8-2.1.el7         base              29 k
 libXext                i686       1.3.3-3.el7           base              39 k
 libxcb                 i686       1.11-4.el7            base             202 k
 nss-softokn-freebl     i686       <IP_ADDRESS>-14.4.el7     cr               188 k

Transaction Summary
================================================================================
Install             ( 7 Dependent packages)
Upgrade  1 Package

Total size: 247 M
Total download size: 5.3 M
Is this ok [y/d/N]

In the spec file to make it cleaner for fedora and RHEL (+ derivatives i.e. CentOS/Scientific Linux) that have 'libXScrnSaver' and for alternate RPM distros i.e. SUSE that have libXss.

%if 0%{?fedora} || 0%{?rhel}
Requires: libXScrnSaver
%else
Requires: libXss1
%endif

See pull request: https://github.com/atom/atom/pull/13421
These commits fix the issue and also adds a few doc cleanups related to fedora and RHEL / CentOS.

The libXss.so.1 requirement is the 32bit library, the 64 bit dependency has to be called libXss.so.1()(64bit) and that also works on Fedora
Fedora 25 container output 64bit dependency:
[root@6f34ccb1f615 /]# dnf whatprovides "libXss.so.1()(64bit)"
libXScrnSaver-1.2.2-10.fc24.x86_64 : X.Org X11 libXss runtime library
Repo        : fedora

Fedora 25 container output 32bit dependency:
[root@6f34ccb1f615 /]# dnf whatprovides libXss.so.1
libXScrnSaver-1.2.2-10.fc24.i686 : X.Org X11 libXss runtime library
Repo        : fedora

Why is automatic dependency generation even disabled in the spec file?

@cobexer Atom is designed for 64-bit systems. Efforts are being made on the 32-bit side, but I have limited knowledge of these.
A previous build of atom failed to install due to lack of libXScrnSaver (or libXss1 on SUSE) on many systems and an explicit requires was added. The current incarnation that features in trunk and 1.12.7 is on a shared object, which is a big no no and breaks install trying to install 686 packages. The code I have supplied fixes the issue for Fedora, RHEL (plus derivatives i.e CentOS) and SUSE. Other avenues/methods can be pursued once clean releases resume.

@philwyett-hemi I don't care about 32bit :) I just pointed out that the added requirement was a 32bit one which is not going to help a 64bit package.
I'm not sure I understand what you are trying to say with the second paragraph... why is a dependency on a shared object a "big no no" - I mean it is exactly what the requirement is! atom is not going to search for some shared object installed by a package named "libXScrnSaver" it is only going to load a library called libXss.so.1 from the same architecture. Depending on the shared object is a hard requirement.

I'm really interested in the reasoning behind calling shared object dependencies a "big no no" because while the RPM may not have them, the ELF binary does.

Here is what building atom trunk with no dep on libXScrnSaver or libXss.so.1 gives us on fedora 25.
[philwyett@hemi-r2d2 x86_64]$ sudo dnf install atom-1.14.0.dev.9efae86-0.1.fc25.x86_64.rpm
[sudo] password for philwyett:
Last metadata expiration check: 0:42:44 ago on Sun Dec 11 17:29:41 2016.
Dependencies resolved.
================================================================================
 Package                  Arch   Version                     Repository    Size
================================================================================
Installing:
 atom                     x86_64 1.14.0.dev.9efae86-0.1.fc25 @commandline  67 M
 ed                       x86_64 1.13-1.fc25                 fedora        77 k
 esmtp                    x86_64 1.2-4.fc25                  fedora        54 k
 libesmtp                 x86_64 1.0.6-10.fc24               fedora        65 k
 liblockfile              x86_64 1.09-4.fc24                 fedora        28 k
 m4                       x86_64 1.4.17-9.fc24               fedora       266 k
 mailx                    x86_64 12.5-19.fc24                fedora       258 k
 ncurses-compat-libs      x86_64 6.0-6.20160709.fc25         fedora       302 k
 redhat-lsb-core          x86_64 4.1-33.fc25                 updates       42 k
 redhat-lsb-submod-security
                          x86_64 4.1-33.fc25                 updates       19 k
 spax                     x86_64 1.5.3-6.fc24                fedora       213 k
 util-linux-user          x86_64 2.28.2-1.fc25               fedora        90 k

Transaction Summary
================================================================================
Install  12 Packages

Total size: 68 M
Total download size: 1.4 M
Installed size: 252 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): redhat-lsb-core-4.1-33.fc25.x86_64.rpm  194 kB/s |  42 kB     00:00
(2/11): redhat-lsb-submod-security-4.1-33.fc25.  70 kB/s |  19 kB     00:00
(3/11): ed-1.13-1.fc25.x86_64.rpm               234 kB/s |  77 kB     00:00
(4/11): m4-1.4.17-9.fc24.x86_64.rpm             504 kB/s | 266 kB     00:00
(5/11): ncurses-compat-libs-6.0-6.20160709.fc25 563 kB/s | 302 kB     00:00
(6/11): util-linux-user-2.28.2-1.fc25.x86_64.rp 103 kB/s |  90 kB     00:00
(7/11): esmtp-1.2-4.fc25.x86_64.rpm             289 kB/s |  54 kB     00:00
(8/11): mailx-12.5-19.fc24.x86_64.rpm           138 kB/s | 258 kB     00:01
(9/11): libesmtp-1.0.6-10.fc24.x86_64.rpm       323 kB/s |  65 kB     00:00
(10/11): spax-1.5.3-6.fc24.x86_64.rpm           144 kB/s | 213 kB     00:01
(11/11): liblockfile-1.09-4.fc24.x86_64.rpm     228 kB/s |  28 kB     00:00
--------------------------------------------------------------------------------
Total                                           248 kB/s | 1.4 MB     00:05
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : liblockfile-1.09-4.fc24.x86_64                             1/12
  Installing  : libesmtp-1.0.6-10.fc24.x86_64                              2/12
  Installing  : esmtp-1.2-4.fc25.x86_64                                    3/12
  Installing  : util-linux-user-2.28.2-1.fc25.x86_64                       4/12
  Installing  : spax-1.5.3-6.fc24.x86_64                                   5/12
  Installing  : ncurses-compat-libs-6.0-6.20160709.fc25.x86_64             6/12
  Installing  : mailx-12.5-19.fc24.x86_64                                  7/12
  Installing  : m4-1.4.17-9.fc24.x86_64                                    8/12
  Installing  : ed-1.13-1.fc25.x86_64                                      9/12
  Installing  : redhat-lsb-submod-security-4.1-33.fc25.x86_64             10/12
  Installing  : redhat-lsb-core-4.1-33.fc25.x86_64                        11/12
  Installing  : atom-1.14.0.dev.9efae86-0.1.fc25.x86_64                   12/12
  Verifying   : atom-1.14.0.dev.9efae86-0.1.fc25.x86_64                    1/12
  Verifying   : redhat-lsb-core-4.1-33.fc25.x86_64                         2/12
  Verifying   : redhat-lsb-submod-security-4.1-33.fc25.x86_64              3/12
  Verifying   : ed-1.13-1.fc25.x86_64                                      4/12
  Verifying   : m4-1.4.17-9.fc24.x86_64                                    5/12
  Verifying   : mailx-12.5-19.fc24.x86_64                                  6/12
  Verifying   : ncurses-compat-libs-6.0-6.20160709.fc25.x86_64             7/12
  Verifying   : spax-1.5.3-6.fc24.x86_64                                   8/12
  Verifying   : util-linux-user-2.28.2-1.fc25.x86_64                       9/12
  Verifying   : esmtp-1.2-4.fc25.x86_64                                   10/12
  Verifying   : libesmtp-1.0.6-10.fc24.x86_64                             11/12
  Verifying   : liblockfile-1.09-4.fc24.x86_64                            12/12

Installed:
  atom.x86_64 1.14.0.dev.9efae86-0.1.fc25
  ed.x86_64 1.13-1.fc25
  esmtp.x86_64 1.2-4.fc25
  libesmtp.x86_64 1.0.6-10.fc24
  liblockfile.x86_64 1.09-4.fc24
  m4.x86_64 1.4.17-9.fc24
  mailx.x86_64 12.5-19.fc24
  ncurses-compat-libs.x86_64 6.0-6.20160709.fc25
  redhat-lsb-core.x86_64 4.1-33.fc25
  redhat-lsb-submod-security.x86_64 4.1-33.fc25
  spax.x86_64 1.5.3-6.fc24
  util-linux-user.x86_64 2.28.2-1.fc25

Complete!
[philwyett@hemi-r2d2 x86_64]$ atom
[philwyett@hemi-r2d2 x86_64]$ /usr/share/atom/atom: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

As you can see auto dependencies did not work in this case. I have yet to find time to dig deeper.
If we started listing requires per arch in the spec file, what a nightmare that would create and quickly lead to breakage.
There are many conventions when building RPMS:
https://fedoraproject.org/wiki/Category:Package_Maintainers
https://fedoraproject.org/wiki/Packaging:Guidelines#File_Dependencies
Using conditionals as I have done in the fix, is the standard way of correcting this error.
This requires will be revisited and investigated to hopefully drop it. Until then, this is the best solution.
Note: I am not a member of the atom dev team and am doing this on my own time as a developer and user of atom very happily on CentOS 7.x.

For now, On Fedora 25, following command will do the trick.
rpm -ivh --nodeps atom-1.12.7.x86_64.rpm OR
rpm -Uvh --nodeps atom-1.12.7.x86_64.rpm (for upgrade)

@vishytk We should fix issues and not work round them. Anyone who admins production systems does not do things like this.

Yes. I totally agree.
This is just for users to get going till the issue is resolved.
On Dec 12, 2016 12:43 PM, "philwyett-hemi"<EMAIL_ADDRESS>wrote:

@vishytk https://github.com/vishytk We should fix issues and not work
round them. Anyone who admins production systems does not do things like
this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/13417#issuecomment-266358266, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAgpIiEWusGjpa79He5N0SXfUzn9FMnqks5rHPQwgaJpZM4LJTTD
.

Thanks to @philwyett-hemi this will be fixed in the next release. Thanks everyone for the feedback!

Looks like this issue has popped up again with 1.12.9
sudo dnf install atom-1.12.9.x86_64.rpm
Last metadata expiration check: 0:17:22 ago on Fri Jan  6 09:58:18 2017.
Dependencies resolved.
Package                   Arch          Version                Repository           Size
Installing:
glibc                     i686          2.24-4.fc25            updates             4.0 M
libX11                    i686          1.6.4-1.fc25           fedora              614 k
libXScrnSaver             i686          1.2.2-10.fc24          fedora               28 k
libXau                    i686          1.0.8-6.fc24           fedora               34 k
libXext                   i686          1.3.3-4.fc24           fedora               43 k
libcrypt-nss              i686          2.24-4.fc25            updates              43 k
libxcb                    i686          1.12-1.fc25            fedora              227 k
nss-softokn-freebl        i686          3.27.0-1.0.fc25        fedora              209 k
Upgrading:
atom                      x86_64        1.12.9-0.1             @commandline         81 M
Transaction Summary
Install  8 Packages
Upgrade  1 Package

And this continues in 1.13.0 as well...
sudo dnf install atom-1.13.0.x86_64.rpm
Last metadata expiration check: 2:28:31 ago on Sat Jan 14 10:52:24 2017.
Dependencies resolved.
Package                   Arch          Version                Repository           Size
Installing:
atom                      x86_64        1.13.0-0.1             @commandline         82 M
glibc                     i686          2.24-4.fc25            updates             4.0 M
libX11                    i686          1.6.4-3.fc25           updates             623 k
libXScrnSaver             i686          1.2.2-10.fc24          fedora               28 k
libXau                    i686          1.0.8-6.fc24           fedora               34 k
libXext                   i686          1.3.3-4.fc24           fedora               43 k
libcrypt-nss              i686          2.24-4.fc25            updates              43 k
libxcb                    i686          1.12-1.fc25            fedora              227 k
nss-softokn-freebl        i686          3.27.0-1.0.fc25        fedora              209 k
Transaction Summary
Install  9 Packages
Total size: 87 M
Total download size: 5.2 M
Installed size: 265 M
Is this ok [y/N]: n
Operation aborted.


Docker build for egeria fails after server chassis changes

When building all docker images in egeria:
[INFO] Step 13/20 : COPY --from=build /root/egeria/open-metadata-distribution/open-metadata-assemblies/target/egeria-*-omag-server/servers/omag-server-*/server-chassis-spring-*.jar /server-chassis-spring.jar
[INFO]
[ERROR] COPY failed: no source files were specified
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Egeria 1.1-SNAPSHOT:

Looking at the container before the copy step:
# ls /root/egeria/open-metadata-distribution/open-metadata-assemblies/target/egeria-*-omag-server/servers/omag-server-*/server-chassis-spring-*.jar
ls: cannot access '/root/egeria/open-metadata-distribution/open-metadata-assemblies/target/egeria-*-omag-server/servers/omag-server-*/server-chassis-spring-*.jar': No such file or directory
# pwd
/root/egeria/open-metadata-distribution/open-metadata-assemblies/target/egeria-1.1-SNAPSHOT-omag-server/servers/omag-server-1.1-SNAPSHOT
# ls -la
total 28
drwxr-xr-x 2 root root  4096 May  9 11:35 .
drwxr-xr-x 3 root root  4096 May  9 11:35 ..
-rwxr-xr-x 1 root root 11357 May  9 11:35 LICENSE
-rwxr-xr-x 1 root root   268 May  9 11:35 NOTICE
-rwxr-xr-x 1 root root  3766 May  9 11:35 README.md

ie this appears to be empty-ish, and certainly devoid of any useful assets
The file only appears at
# find . -name '*server-chassis-spring*'
./open-metadata-implementation/server-chassis/server-chassis-spring
./open-metadata-implementation/server-chassis/server-chassis-spring/target/server-chassis-spring-1.1-SNAPSHOT.jar.original
./open-metadata-implementation/server-chassis/server-chassis-spring/target/server-chassis-spring-1.1-SNAPSHOT.jar
#

Probably introduced by commit
23909730553444f4f0feabdd1404942751d9b05f
in PR https://github.com/odpi/egeria/pull/1003

As per https://github.com/odpi/ci-management/issues/44 I'll do a tactical change to copy the jars from the target so we can get docker back up and running, pending a broader discussion about how we handle the distribution.

The original issue should be fixed now by https://github.com/odpi/egeria/pull/1035#issuecomment-492472514

So... I think this can be closed (?)


Intercom CartoDB/cartodb-central/issues/1377

This adds Intercom integration at dashboard.

@gfiorav CR this, please.

📦 ready! Made a minor organisational comment


add myself to owner file

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: quanjielin
To complete the pull request process, please assign diemtvu
You can assign the PR to them by writing /assign @diemtvu in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

pilot/pkg/security/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: quanjielin, yangminzhu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/security/OWNERS [yangminzhu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.

@quanjielin: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-new-installer-k8s-presubmit-tests.sh
02b41ed0d69d875c85d187b957b6ae8a7c95b8c3
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@quanjielin: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-new-installer-k8s-presubmit-tests.sh
02b41ed0d69d875c85d187b957b6ae8a7c95b8c3
link
/test integ-new-install-k8s-presubmit-tests-master

prow/integ-mixer-k8s-presubmit-tests.sh
02b41ed0d69d875c85d187b957b6ae8a7c95b8c3
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Allow usage of 1- and 2-dimensional tensors in CUDA

Since we always use cuDNN's N-dimensional tensor, which only allows dimensions >= 3 you currently always have to reshape a SharedTensor before using it with any operation, even if it is irellevant to the operation (e.g. activation functions shouldn't care about the rank of the tensor).
If a {1,2}-dimensional tensor is used for an operation it's dimensions should automatically be filled with leading 1s if that doesn't change the operations behaviour.

I don't think that the issue can be solved in a general way and is something that has to be considered on a per-operation basis. As for now I think this issue is fixed by f4effe7d66d96537251d86bf24968b521a951121 and f5a32be3a213a37ac87247d03f38f74aa953c622.


could not find assembly reference (Linux, wine, and Unity3D)

Hi, I am currently trying to use Omnisharp Arch Linux.
More specifically I am trying to hook it up to a Unity3D project. Now because I am in linux Unity is installed through wine, and I am certain this is the cause of my woes.
Right now it is complaining that it cannot find Assemblies certain assemblies. I understand it not being able to find most of them, but the System.XML confuses me... I see that System.Xml.linq is found though... does this mean that this is a problem to do with the case insensitivity of windows? vs the case sensitivity of linux?
00000059 Using solution path /home/lief/projects/unity-test/unity-test/New Unity Project/New Unity Project-csharp.sln
00000068 Using config file /home/lief/OmniSharpServer/OmniSharp/bin/Debug/config.json
Error: did not find one of the files in sources//usr/lib/monodoc/sources/gd2i
node `classlib-webkit' is not defined on the documentation map
00001424 OmniSharp server is listening
/usr/lib/mono/4.5/mscorlib.dll
00001721 Loading project - New Unity Project, /home/lief/projects/unity-test/unity-test/New Unity Project/Assembly-CSharp-vs.csproj, {B2B58FB2-4462-6B0C-A872-40DD957E5FE0}
00001738 Loading /home/lief/projects/unity-test/unity-test/New Unity Project/Assets/NewBehaviourScript.cs
00001827 Loading assembly System
00001965 Could not find referenced assembly System.XML
00001965 Loading assembly System.Core
00001998 Loading assembly System.Xml.Linq
00002010 Could not find referenced assembly UnityEngine
00002010 Could not find referenced assembly UnityEditor
00002010 Could not find referenced assembly UnityEngine.UI
00002011 Solution has finished loading

Now if I find these (in theory they would be inside the unity install somewhere maybe? probably not in the project?...) and add them to my path should that be enough? (forgive me I am not very experience with .NET assemblies)
Or should I be trying to run Omnisharp inside wine as well, and execute it as if it were in windows?
...And if that is the case, how would I hook emacs up to it, or can I just do what I normally do?
EDIT: As a note I did find the dlls in question inside my unity install, except for System.XML

Oh man... I don't know where to start with this... talk about an esoteric set up :)
What I can tell you is that archlinux by itself is fine, that's what I use. As for Unity + Wine, I really have no idea!!
Does Unity not run natively on linux?
To fix your System.XML issue, you could try hand editing your generated /home/lief/projects/unity-test/unity-test/New Unity Project/Assembly-CSharp-vs.csproj file to change the case.
And GAC references aren't supported outside Windows by OmniSharp..... you would probably have better luck with copying them to a ./lib folder and referencing them directly.

Ya i know it is a weird setup hahaha. (but isn't it beautiful that it is theoretically possible?...)
No Unity has no native linux version (wouldn't that be wonderful). I really can't stand working on my stuff in windows, though I may just bite the bullet for this one and grab the windows version of emacs. I do dualboot for this eventuality...
So that .lib folder would be inside my project? Right at the root level where the .sln is? Do I need to do anything special to let omnisharp know it is there?
Will omnisharp need anything else other than those dlls? such as will it need the dlls they rely on (if any, or does it more or less just need something to point to in order to syntax check?)

Also I apologize for the riddled mess of typos and poor grammar, half distracted and not proof reading very well.... hahaha

Oh I think I am seeing now, I should be able to give a path to the dll in the .csproj file?
Like a hint where to look for said library? Or is that what you meant by the GAC not being able to support references? Hopefully that doesn't break things inside unity... we will see, that is why we have test projects...

oh dear god it worked...
00000060 Using solution path /home/lief/projects/unity-test/unity-test/New Unity Project/New Unity Project-csharp.sln
00000069 Using config file /home/lief/OmniSharpServer/OmniSharp/bin/Debug/config.json
Error: did not find one of the files in sources//usr/lib/monodoc/sources/gd2i
node `classlib-webkit' is not defined on the documentation map
00001423 OmniSharp server is listening
/usr/lib/mono/4.5/mscorlib.dll
00001733 Loading project - New Unity Project, /home/lief/projects/unity-test/unity-test/New Unity Project/Assembly-CSharp-vs.csproj, {B2B58FB2-4462-6B0C-A872-40DD957E5FE0}
00001749 Loading /home/lief/projects/unity-test/unity-test/New Unity Project/Assets/NewBehaviourScript.cs
00001838 Loading assembly System
00001974 Loading assembly System.Xml
00002009 Loading assembly System.Core
00002051 Loading assembly System.Xml.Linq
00002056 Loading assembly UnityEngine
00002347 Loading assembly UnityEditor
00002552 Loading assembly UnityEngine.UI
00002563 Solution has finished loading

thanks for the feedback nosami, I freaking love the work you have done on Omnisharp.
I just changed the path hints in the csproj to properly reflect what omnisharp could actually see, as it wasn't blindfolded by wine like unity is. Anyway I should be able to find my way out of the dark here now, even if it means making a separate sln and csproj that unity doesn't know about... (so it can't continually change them on me.)
eg. was
  <ItemGroup>
	<Reference Include="System" />
    <Reference Include="System.XML" />
	<Reference Include="System.Core" />
	<Reference Include="System.Xml.Linq" />
	<Reference Include="UnityEngine">
	  <HintPath>C:/Program Files/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath>
	</Reference>
	<Reference Include="UnityEditor">
	  <HintPath>C:/Program Files/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath>
	</Reference>
  </ItemGroup>
  <ItemGroup>
     <Compile Include="Assets\NewBehaviourScript.cs" />
 <Reference Include="UnityEngine.UI">
 <HintPath>C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
 </Reference>
  </ItemGroup>

now it is
  <ItemGroup>
	<Reference Include="System" />
    <Reference Include="System.Xml" />
	<Reference Include="System.Core" />
	<Reference Include="System.Xml.Linq" />
	<Reference Include="UnityEngine">
	  <HintPath>/home/lief/.PlayOnLinux/wineprefix/Unity3D/drive_c/Program Files/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath>
	</Reference>
	<Reference Include="UnityEditor">
	  <HintPath>/home/lief/.PlayOnLinux/wineprefix/Unity3D/drive_c/Program Files/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath>
	</Reference>
  </ItemGroup>
  <ItemGroup>
     <Compile Include="Assets\NewBehaviourScript.cs" />
 <Reference Include="UnityEngine.UI">
 <HintPath>/home/lief/.PlayOnLinux/wineprefix/Unity3D/drive_c/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
 </Reference>
  </ItemGroup>

inside "Assembly-Csharp-vs.csproj"
Now, hopefully we can just keep this hear for documentation sake.

glad you got it working!

This is purely a letter case issue. Note that there is no such namespace as System.XML but there is a namespace named System.Xml.
The problem is that some program generated your project file with wrong namespace name.


preferreddatalocation cannot be modified

Set-MsolUser -UserPrincipalName  -PreferredDataLocation  will not work for sync users.
https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsync-feature-preferreddatalocation

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

ID: 85937c83-35db-0882-e226-a4f2f732de73
Version Independent ID: ac0b646b-0fbf-eb24-6768-07cfcd51076b
Content: Multi-Geo Capabilities in Exchange Online
Content Source: Enterprise/multi-geo-capabilities-in-exchange-online.md
Service: o365-solutions
Product: unspecified
GitHub Login: @chrisda
Microsoft Alias: chrisda

@limjianan, in the Notes right after the Set-MsolUser procedure, it says:
As mentioned previously for synchronized user objects from on-premises Active Directory, you can't use this procedure. You need to change the PreferredDataLocation value using AAD Connect. For more information, see Azure Active Directory Connect sync: Configure preferred data location for Office 365 resources.
That's what you're saying, right?
Thanks for the feedback.

@chrisda you are right, my bad.

It's mentioned above "Microsoft needs to configure your Exchange Online tenant for Multi-Geo support. This one-time configuration process is triggered after you order Multi-Geo and the licenses show up in our tenant." but there is no link or direction on how to enable this for your tenant. Am I missing that information or is it not on the page?


TPU training problem

Hi all, thanks for the cool contribution.
I am training ALBERT base on a 115GB dataset (split in 4124 shards, 1.6TB in tfrecord files) on a v3-8 cloud TPU.
I'm using the following parameters:
--num_train_steps 2000000
--num_warmup_steps 12500
--save_checkpoints_steps 50000
--keep_checkpoint_max 1000
--iterations_per_loop 4000
--learning_rate 0.00022
--max_seq_length 512
--max_predictions_per_seq 77
Problem 1:
When launching training, I get the following warning repeatedly:
INFO:tensorflow:Init TPU system
I0325 07:44:16.229176<PHONE_NUMBER>42528 tpu_estimator.py:567] Init TPU system
INFO:tensorflow:Initialized TPU in 1 seconds
I0325 07:44:17.937542<PHONE_NUMBER>42528 tpu_estimator.py:576] Initialized TPU in 1 seconds
INFO:tensorflow:Starting infeed thread controller.
I0325 07:44:17.938689<PHONE_NUMBER>59648 tpu_estimator.py:521] Starting infeed thread controller.
INFO:tensorflow:Starting outfeed thread controller.
I0325 07:44:17.939245<PHONE_NUMBER>25984 tpu_estimator.py:540] Starting outfeed thread controller.
I0325 07:44:17.984356<PHONE_NUMBER>16832 transport.py:157] Attempting refresh to obtain initial access_token
WARNING:tensorflow:TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
W0325 07:44:18.045144<PHONE_NUMBER>16832 preempted_hook.py:91] TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
INFO:tensorflow:Enqueue next (4000) batch(es) of data to infeed.
I0325 07:44:18.305288<PHONE_NUMBER>42528 tpu_estimator.py:600] Enqueue next (4000) batch(es) of data to infeed.
INFO:tensorflow:Dequeue next (4000) batch(es) of data from outfeed.
I0325 07:44:18.305603<PHONE_NUMBER>42528 tpu_estimator.py:604] Dequeue next (4000) batch(es) of data from outfeed.
I0325 07:44:48.117219<PHONE_NUMBER>16832 transport.py:157] Attempting refresh to obtain initial access_token
WARNING:tensorflow:TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
W0325 07:44:48.186919<PHONE_NUMBER>16832 preempted_hook.py:91] TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
INFO:tensorflow:Outfeed finished for iteration (0, 0)
I0325 07:45:02.538997<PHONE_NUMBER>25984 tpu_estimator.py:279] Outfeed finished for iteration (0, 0)
I0325 07:45:18.255510<PHONE_NUMBER>16832 transport.py:157] Attempting refresh to obtain initial access_token
WARNING:tensorflow:TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
W0325 07:45:18.321858<PHONE_NUMBER>16832 preempted_hook.py:91] TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
I0325 07:45:48.392218<PHONE_NUMBER>16832 transport.py:157] Attempting refresh to obtain initial access_token
WARNING:tensorflow:TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
W0325 07:45:48.446225<PHONE_NUMBER>16832 preempted_hook.py:91] TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
INFO:tensorflow:Outfeed finished for iteration (0, 84)
I0325 07:46:02.626998<PHONE_NUMBER>25984 tpu_estimator.py:279] Outfeed finished for iteration (0, 84)
I0325 07:46:18.513511<PHONE_NUMBER>16832 transport.py:157] Attempting refresh to obtain initial access_token
Problem 2
After a while, the process crashes:
WARNING:tensorflow:TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
W0325 07:58:51.939475<PHONE_NUMBER>16832 preempted_hook.py:91] TPUPollingThread found TPU b'vm-tpu-1' in state READY, and health HEALTHY.
ERROR:tensorflow:Error recorded from infeed: Step was cancelled by an explicit call to Session::Close().
E0325 07:59:11.895795<PHONE_NUMBER>59648 error_handling.py:75] Error recorded from infeed: Step was cancelled by an explicit call to Session::Close().
ERROR:tensorflow:Error recorded from outfeed: Step was cancelled by an explicit call to Session::Close().
E0325 07:59:11.896760<PHONE_NUMBER>25984 error_handling.py:75] Error recorded from outfeed: Step was cancelled by an explicit call to Session::Close().
ERROR:tensorflow:Error recorded from training_loop: From /job:worker/replica:0/task:0:
8 root error(s) found.
(0) Cancelled: Node was closed
(1) Cancelled: Node was closed
(2) Cancelled: Node was closed
(3) Cancelled: Node was closed
(4) Cancelled: Node was closed
(5) Cancelled: Node was closed
(6) Cancelled: Node was closed
(7) Cancelled: Node was closed
1 successful operations.
0 derived errors ignored.
E0325 07:59:11.897448<PHONE_NUMBER>42528 error_handling.py:75] Error recorded from training_loop: From /job:worker/replica:0/task:0:
8 root error(s) found.
(0) Cancelled: Node was closed
(1) Cancelled: Node was closed
(2) Cancelled: Node was closed
(3) Cancelled: Node was closed
(4) Cancelled: Node was closed
(5) Cancelled: Node was closed
(6) Cancelled: Node was closed
(7) Cancelled: Node was closed
1 successful operations.
0 derived errors ignored.
INFO:tensorflow:training_loop marked as finished
I0325 07:59:11.899694<PHONE_NUMBER>42528 error_handling.py:101] training_loop marked as finished
WARNING:tensorflow:Reraising captured error
W0325 07:59:11.900030<PHONE_NUMBER>42528 error_handling.py:139] Reraising captured error
Traceback (most recent call last):
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
return fn(*args)
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
target_list, run_metadata)
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.CancelledError: Step was cancelled by an explicit call to Session::Close().
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "ALBERT/run_pretraining.py", line 577, in
tf.app.run()
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_core/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/manuto/albert_env/lib/python3.5/site-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/home/manuto/albert_env/lib/python3.5/site-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "ALBERT/run_pretraining.py", line 534, in main
estimator.train(input_fn=train_input_fn, max_steps=FLAGS.num_train_steps)
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 3035, in train
rendezvous.raise_errors()
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_estimator/python/estimator/tpu/error_handling.py", line 140, in raise_errors
six.reraise(typ, value, traceback)
File "/home/manuto/albert_env/lib/python3.5/site-packages/six.py", line 703, in reraise
raise value
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_estimator/python/estimator/tpu/error_handling.py", line 109, in catch_errors
yield
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 536, in _run_infeed
session.run(self._enqueue_ops)
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_core/python/client/session.py", line 956, in run
run_metadata_ptr)
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_core/python/client/session.py", line 1180, in _run
feed_dict_tensor, options, run_metadata)
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
run_metadata)
File "/home/manuto/albert_env/lib/python3.5/site-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.CancelledError: Step was cancelled by an explicit call to Session::Close().
Regarding Problem 1, I found this issue presenting the same problem. I deleted the TPU instances and recreated them but still got the same problem though this seems to have solved the problem for other users.
Anybody faced the same issue and managed to solve it? Thanks a lot in advance for the help :)

Despite the warnings still taking place, after modifying some parameters (lowering the iterations_per_loop and max_seq_length), the training works. Closing the issue!

May I ask where did you get the TPUs?


Add includes to configuration

Now that it's possible to exclude certain directories or files, we should make it possible to include only a smaller group of files.
The lint should first check if there are any includes, if there are, only continue with the ones available.
After that, this subset will be filtered out more by looking at the excludes.
The following example might make this clear:
includes:
  - lib/foo/**
excludes
  - **.g.dart

This should only use the lint rule in files under lib/foo but exclude the .g.dart files in there. The lint should not run for files in lib/bar, or any .g.dart files in the project.

Currently fixed with directories, which limits where the lint is running. Reopen if we need more granular includes


Learning path shows as "In Progress" after completion

Bug Report
Current behavior

Once the learning path is completed it does not update to show on https://lab.github.com under the section "Completed".  It currently shows up under the "In Progress" section.
The learning path continues to show the button to "Start Course" even though the course was already started and completed.
Clicking on the "Start Course" button takes you to https://lab.github.com/githubtraining/first-day-on-github where it shows progress -> 5/5.
It does not show the course to be completed.
Refreshing does not update the learning path to show as completed, or to be correctly categorized on https://lab.github.com

Reproduction
Steps to reproduce the behavior in the course:

Go to First day on github learning path
Start Course
Complete all 5 course steps in the learning path
Go to Lab main page
See error of the learning path categorized as "In Progress" with a "Start Course" button showing instead of it being removed, and the "Learn More" button" showing instead of "Review".

Expected behavior

Once the learning path is completed (progress shows 5/5) the entire course should show up under "Completed" on Lab main page.
The  "Start Course" button should be removed, and the "Learn More" button should be changed to "Review".

Possible solution

Officially mark the learning path as completed.
Add new section that shows completed learning paths.
Move the learning path to the existing "Completed" section on Lab main page.

Additional context

Same problem here.
😭


Translations of languages for the UI language dropdown

I noticed that I'm asked for translations of languages. I'm with Wikipedia, however: the language names should be in their own language, so that an unfortunate soul getting a German Lagrange can pick Suomi from the list, instead of having to find Finnisch. What do you think?
So to translate, I'd like to use the following list, but actually I'd think that these terms should be the same for all languages, i.e. no translation is required:
(Based on an old revision of Names.php from Wikimedia:

Galician → galego
Hungarian → magyar
German → Deutsch
etc

You are right, it makes more sense to have the menu items each have their name in the target language.
The only wrinkle is that the current implementation wants all strings to come from the same translation, so I'll need to add a little preprocessing step that collects the localized names to make them available regardless of which language is currently active.

I guess we could just use the same translations for all the language files and keep the code simple. Not harm done?

Well, the simplest way would be to just hardcode the language labels in the source and leave them out of the .po files, since they don't require dynamic switching. 🙂

Yes!

From the commit:

Note that the Translation dialog retains the localized language labels because the user may not speak the source language, so they need to see it in their own language.

@kensanata Some lang. strings will remain for the purpose above.


platform: close streams explicitly with data or trailers

Replaces the close(trailers: Map<String, List<String>>?) function with two new functions (one for closing with data, and one for closing with trailers).
This removes the ambiguity of how a stream will be closed by making the consumer specify explicitly whether they'd like to close a stream using trailers or data.
The change is being done as a precursor for integrating L7 Swift/Kotlin filters, which will have interfaces in which trailers are not nullable.
Signed-off-by: Michael Rebello<EMAIL_ADDRESS>

Related to closing the stream. Right now we don't have a convenience API for a headers only request. For instance a send method that does not return a StreamEmitter because you send with as an only headers request. Thoughts on fixing that here vs in a different PR?

Yep I'll go ahead and update some of that in a follow up PR


dirPaginate: Next page and current page items showing concurrently

When I click the link to navigate to the next page, the items for the next page are added to the top of the list, then a visible fraction of a second later the items from the previous page are removed.
This looks very odd from the user's point of view and is happening in all of our uses of dirPaginate
I've looked for similar issue on here but can't find any.
Is this a known issue?
Hopefully you can see the issue from this gif based screen grab. Here I am going from Page 3 to Page 4 but for a time, both pages of data are being shown at once.

Are there any animations defined on your rows? This can be a cause of such behaviour.

I thought that too but there aren't any as far as I can tell. I'll check with the design team and see if they know better than me.

Our bad. You're right, there was a rogue transition hiding in the CSS. All is well now.
Thanks for the prompt response, very impressive support

Good to hear. You got lucky cos I was waiting for some tasks to complete at work and happened to see the little blue message indicator. I usually take at least a day, or even weeks. ;)


Fix non-existent translation key

Motivation
The translation key more_information does not exist in the translation files, this causes a span.missing-translation to be added to the mark-up when it's called as well as Welsh pages to use the english fallback of More Information.
The span causes strange rendering on mobile, while Welsh pages get English text for the tab heading.
Note: this translation is only found in start pages that render tabs below the start button.
Examples:
https://www.gov.uk/view-driving-licence
https://www.gov.uk/gweld-neu-rannu-eich-gwybodaeth-trwydded-yrru
Additional context:
https://github.com/alphagov/frontend/pull/1197
Description
Adds the more_information translation to the yaml files.
Before
Mobile rendering issue

Welsh language

After
Mobile rendering issue

Welsh language

Should the tab still read "More information"?

@fofr yeah looking at that now, maybe i misinterpreted the first PR

(Didn't mean to 'approve' :man_facepalming: )

Waiting to hear back from a PM on this one. I'll update when I know more.

@fofr @nickcolley Talked to content designers and got the Welsh translation for More information . I've updated the PR and description / screenshots. See what you think.

Nice work 👍  Shout out to content for being speedy too 🚀


Extension of the API in Indicator Values

If any developer with necessary time and Python provess could extend the repo so we could get the closing value and values of the included indicators with embedded functions, that would be great.

Access to indicators values dictionary:
handler.get_analysis().indicators

Thank you for your answer. I wish you and anyone that helps maintain this repository well and hope that it gets maintained for years to come!


[Bug report] Some vue errors since update to 2.0.0-beta.45

Description
Hi,
Since I updated vuepress from 2.0.0-beta.33 to 2.0.0-beta.45, I have some errors in production.
All is fine in local, but when I release the documentation on Github Pages, I some bugs with external components installed in client.ts
I have some errors like:

TypeError: Cannot read properties of null (reading 'setupContext')
TypeError: Cannot read properties of null (reading 'nextSibling')
TypeError: Cannot read properties of null (reading 'refs')
TypeError: Cannot read properties of null (reading 'isCE')

These components come from my own components library, installed locally (not from npm). I have a monorepo.
In my package.json: "maz-ui": "file:../lib"
Repo links:

Install external components with enhance function - clients.ts
My config - config.ts

Do you think it's a SSR error ?
Reproduction
https://louismazel.github.io/maz-ui-3/components/maz-btn.html
Used Package Manager
npm
System Info
System:
    OS: macOS 12.3.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 308.00 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.0 -<EMAIL_ADDRESS>    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 8.1.0 -<EMAIL_ADDRESS>  Utilities:
    Git: 2.32.0 - /usr/bin/git
  Browsers:
    Chrome: 101.0.4951.64
    Edge: Not Found
    Firefox: 97.0
    Safari: 15.4
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.45
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.45
    @vuepress/client:  2.0.0-beta.45
    @vuepress/core:  2.0.0-beta.45
    @vuepress/markdown:  2.0.0-beta.45
    @vuepress/plugin-active-header-links:  2.0.0-beta.45
    @vuepress/plugin-back-to-top:  2.0.0-beta.45
    @vuepress/plugin-container:  2.0.0-beta.45
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.45
    @vuepress/plugin-git:  2.0.0-beta.45
    @vuepress/plugin-google-analytics: ^2.0.0-beta.43 => 2.0.0-beta.45
    @vuepress/plugin-medium-zoom: ^2.0.0-beta.43 => 2.0.0-beta.45
    @vuepress/plugin-nprogress:  2.0.0-beta.45
    @vuepress/plugin-palette:  2.0.0-beta.45
    @vuepress/plugin-prismjs:  2.0.0-beta.45
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: ^2.0.0-beta.43 => 2.0.0-beta.45
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.45
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.45
    @vuepress/theme-default:  2.0.0-beta.45
    @vuepress/utils:  2.0.0-beta.45
    vue: ^3.2.33 => 3.2.33
    vue-loader: Not Found
    vue-router:  4.0.15
    vuepress: ^2.0.0-beta.43 => 2.0.0-beta.45
    vuepress-vite:  2.0.0-beta.45
    vuepress-webpack: Not Found

I tried to use it, bu no results :
export default defineUserConfig({
  ...
  bundler: viteBundler({
    viteOptions: {
      optimizeDeps: {
        include: ['maz-ui']
      },
    },
  }),
  ...
})

Also, a minimal reproduction would be more helpful

Well, your repo is complicated to reproduce. According to the error message, I think this could be duplicate of #688 and #897. You can reopen it with another minimal reproduction if you think it not a duplicate.

@meteorlxy
I found why I have this error.
It's because I use local components from a recursive folder of my monorepo as npm depedency : "maz-ui": "file:../lib"
If I move the lib directory in the root folder of the vuepress project and use the local depedency like that: "maz-ui": "file:lib" --> I don't have any bugs.
It's a new behavior from the new version.
Thanks for your advices !


Accept relative index for --day

example:
yesterday
$ worklog report --day -1

Or
tomorrow
$ worklog report --day 1

Implemented in the rewrite


need check whether there is stale app when enable logging

Problem:
if we don't check stale logging app, may not deploy if there is a stale
app
Solution:
check app delete timestampe
Issue:
https://github.com/rancher/rancher/issues/18214

Instead of checking the apps when we deploy it, maybe we should watch the apps lifecycle for logging. When we the apps we care(in this case, it is logging apps) is trying to be delete, it should enqueue the logging controller and make sure the logging is in the status(on/off) we want.

But I go through this again, I think it is good enough for the issue we are trying to address. LGTM

@orangedeng thx, now the system component monitoring, alerting, logging both use similar deploy logic, they aren't watching apps now, no need to just make logging work differently from others, we can make these three both watch apps in next version.

LGTM https://github.com/rancher/rancher/pull/18215#issuecomment-464952610


Power-point / text input processing

Most of the time lectures are given in either PDF/ ppt/ notes(taken in txt). Currently we have pdf as acceptable file processing format. Can improve this by providing PPT or text input processing as well.

Added docx processing.

The docx feature is working, however processing pptx proved to be difficult as the file became very difficult to parse. This is another feature open for future enhancements.

Tried again with libreoffice but the added path of it raised 20+ errors

In future enhancements, try with any python library if exists


patch SCostruct

added import sys;
commented out reference to clstmimg.cc;
added ubuntu hdf5 default path

Thanks. I've fixed this manually.


0.5.1 not available on pypi.org

I'm trying to use patreon api with python.
patreon-python is a great library but v0.5.1, which use latest api endpoints, is not available on pypi.org.
Do you plan to publish this version on pypi?

Agree, just trying to follow the instructions on README you will get this error:
AttributeError: 'API' object has no attribute 'get_identity'

This is due to the fact that get_identity is not a part of the version currently on pipy.

I would also like to see this updated.

@phildini are you still the main contributor? Could you take a look at this?

In the meantime, you can run (if you're using pipenv) pipenv install -e git+https://github.com/Patreon/patreon-python.git@master#egg=patreon to get the latest version. Haven't tried for pip but I imagine it's very similar.

I just ran into this issue myself, and having the correct version up on PyPI would have saved me some time. Since this repository has seen virtually no changes for over a year, it's probably safe to push the update?
Also; should we be concerned that the primary contributors to the repository are no longer with the company?

In the meantime, you can run (if you're using pipenv) pipenv install -e git+https://github.com/Patreon/patreon-python.git@master#egg=patreon to get the latest version. Haven't tried for pip but I imagine it's very similar.

Inspired by this method, I've installed this repo as a python module using pip by typing the following command :
pip install git+https://github.com/Patreon/patreon-python.git@master#egg=patreon

The version for python3.8 (which is what the rest of my project is in) is 0.3.1. Is there no way to update to 0.5.0+?

Coming here years after the fact... it feels strange none of the Patreon API libraries have been updated in 6 or so years :(
I thought it would be easy to write a little script to grab patron names by tier but am finding it to be frustrating, probably easier to just interact with the API endpoints directly instead of using this library!


projectRoot not working as expected

Environment
  React Native Environment Info:
    System:
      OS: macOS 10.14.3
      CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
      Memory: 18.46 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 11.11.0 - /usr/local/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Android Studio: 3.3 AI-182.5<IP_ADDRESS>14842
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild

I have the latest @react-native-community/cli 2.x installed globally and react-native 0.59 in the project.
Description
Cannot run react-native run-android ... from the monorepo root.
For iOS it works: react-native run-ios --project-path packages/mobile/ios
Reproducible Demo
react-native run-android --projectRoot packages/mobile/android
error Android project not found. Are you sure this is a React Native project?

Project: https://github.com/brunolemos/react-native-web-monorepo

It seems like common flags declared in cliEntry, are not passed properly to commands. This applies to run-android and run-ios. I'll investigate that.

@brunolemos it seems like there is a mismatch between parameters that set root in run-android and run-ios. I was able to make things work in your project by running:
react-native run-android --root packages/mobile

This seems very wrong and counter-intuitive to have different flags between commands. This might work as a temporary solution in your project, but we definitely need to fix that one.

This is not a bug with projectRoot per se. projectRoot describes the root of the CLI - the folder we should look for node_modules from. It defaults to cwd.
The root inside run-android is equivalent of projectPath inside run-ios. It's to explicitly set the location of the android folder.
Setting projectRoot to packages/mobile/android is not good since this is not really the root of your app.
We should rename root to something more intuitive, e.g. androidAppFolder. I have an open issue to update this command tho to automatically detect android folder location. See issue #143 for details.

Yes ideally the cli option should have the same name for both ios and android, don't know if there's any issue tracking this.

I guess #143 is a good one. I'll make sure to rename it, tho I am planning to make a detection system automatically detect unusual locations.


Remove Fun Fact

Have removed Fun Fact from Entertainment section since the API is no longer working.

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

In respect to this issue: #3416


Add openblas and intel mkl to russell lab

Codecov Report

Merging #56 (3c6fd69) into main (587decd) will increase coverage by 0.51%.
Report is 77 commits behind head on main.
The diff coverage is 95.92%.

:exclamation: Current head 3c6fd69 differs from pull request most recent head 54a536e. Consider uploading reports for the commit 54a536e to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   97.97%   98.49%   +0.51%
==========================================
  Files         104      108       +4
  Lines       20947    22679    +1732
==========================================
+ Hits        20523    22337    +1814
+ Misses        424      342      -82

Files
Coverage Δ

russell_lab/src/enums.rs
100.00% <100.00%> (ø)

russell_lab/src/generators.rs
100.00% <100.00%> (ø)

russell_lab/src/matrix/complex_mat_add.rs
100.00% <100.00%> (ø)

russell_lab/src/matrix/complex_mat_mat_mul.rs
100.00% <100.00%> (ø)

russell_lab/src/matrix/complex_mat_norm.rs
100.00% <100.00%> (ø)

russell_lab/src/matrix/complex_mat_zip.rs
100.00% <ø> (ø)

russell_lab/src/matrix/mat_add.rs
100.00% <100.00%> (ø)

russell_lab/src/matrix/mat_copy.rs
100.00% <100.00%> (ø)

russell_lab/src/matrix/mat_mat_mul.rs
100.00% <100.00%> (ø)

russell_lab/src/matrix/mat_norm.rs
100.00% <100.00%> (ø)

... and 37 more

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


what is the AUTH_API_KEY=?

I have no idea what is the AUTH_API_KEY about? Please advise and thank you so much.

I think it is designed to auth your own app. For my test in local machine, I comment the related codes in '.env' and 'rag_search.py' then I POST successfully


[barbican-kms-plugin] Update KMS API to v2

What this PR does / why we need it:
KMS v1 API is deprecated and in v1.29 core K8s won't allow it with default feature gates set. This commit makes sure we're proposing configuration of v2 API in example EncryptionConfigs.
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:
KMS EncryptionConfig examples are updated to configure barbican-kms-plugin with v2 API.

/approve

I cannot approve PRs, but I think this is a very good idea :)
KMSv2 is way better than v1

/lgtm


API Feed

Hello Ayush,
Thanks for opening this PR. Can you tell me more about which API have you added this wrapper for? And how will this benefit someone trying to use DhanHQ Python library?

Closing this due to non-activity.


Parser issues

on a following json {"body": "text\v"}
it gives
parse error at 10: parse error - unexpected '"'
dropbox/json11 gives:
unescaped (11) in string
which is correct (this is an unescaped vertical tab, disallowed by JSON std)

The scanner recognizes the malformed string and returns a parse_error token. The problem is the implementation of the unexpect function. I wanted to be clever and avoid a unexpected parse error output, so I output the text of the last token which in this case is only the opening ". I have to look into this.

With the overworked scanner in branch manual_lexer, the error message for the above code is
[json.exception.parse_error.101] parse error at 16: syntax error - invalid string: forbidden character after backspace; last read '"text\v'

The example in #551 shows that the diagnosis information got better. However, the output could be improved: last read '"\303?' does not help too much here.

The new scanner (merged yesterday) now provides the diagnosis information described in https://github.com/nlohmann/json/issues/509#issuecomment-289915749.

After backspace?

Ooops. Fixed this.


Create log file when running dotnet build

Currently when running dotnet build through Cake.Recipe, we do not log any output to file.
This seems like it can be done with the following answer on StackOverflow: https://stackoverflow.com/a/48561727
This would be useful to have when reporting issues together with Cake.Issues.Recipe.
This may perhaps apply to dotnet restore, dotnet test, dotnet publish and dotnet package as well.

There do not seem to be any XML Logging support for dotnet build (not that I could find), and we need to use the binary logger instead. Unfortunately, the file format version used by dotnet build is not supported by Cake.Issues.MsBuild.
As such I am moving this issue away from the 2.0.0 milestone until there is support.
Cross-reference: https://github.com/cake-contrib/Cake.Issues.MsBuild/issues/178

Issue for using binary logging in Cake.Recipe is: https://github.com/cake-contrib/Cake.Recipe/issues/252

@pascalberger @AdmiringWorm should we close one of these issues as a duplicate?

@pascalberger @gep13 I was more under the impression for the other issue that it was for non-netcore builds which already have logging functionality.
While the netcore builds don't have any logging functionality at all, while both are related I do not see them as a duplicate as they are for different areas.

I am taking another stab at this one, as I think I have found a way to generate a binary log file by re-using the StructuredLogger provided by Cake.Issues.MSBuild.


[Feature] Implement Encodable and Decodable for OpTxType

Component
consensus
Describe the feature you would like
Right now, OpTxType does not derive these.
And RlpEncodable and RlpDecodable cannot be used on enums.
Might be useful and easier for other projects that are using these. For example: https://github.com/paradigmxyz/reth/pull/12443
Additional context
I can volunteer to take on this issue, however a bit of guidance and context would be appreciated.
Why RlpEncodable and RlpDecodable designed in a way that they only support structs but not enums?
Does it make sense to extend the supported set for these macros so that they can support enums? Or should we implement the Encodable and Decodable traits manually?

Seems like this is already completed. I saw Encodable and Decodable implemented for OpTxType (implemented 2 weeks ago)


Update simpleclient, simpleclient_hotspot, ... to 0.13.0

Updates

io.prometheus:simpleclient
io.prometheus:simpleclient_hotspot
io.prometheus:simpleclient_httpserver

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.prometheus" } ]

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

Superseded by #299.