Hosting kubeflow-fairing document in the readthedocs

/kind feature
Describe the solution you'd like
Hosting kubeflow-fairing document in the https://readthedocs.org, just like kubeflow pipeline done https://kubeflow-pipelines.readthedocs.io/en/latest/index.html

/assign @jinchihe
/cc @abhi-g @jlewi

/cc @sarahmaddox As we have had some discussions about hosting reference docs.

Pipelines has hosted the Python SDK docs on Read the Docs. The API reference for Pipelines is on kubeflow.org.
You should create a new Reference section in the Fairing section of the docs:
https://www.kubeflow.org/docs/fairing/reference/
To do that, follow the pattern of the "Reference" section in the Pipelines section of the docs:
https://www.kubeflow.org/docs/pipelines/reference/
In the new section, add the API reference docs as HTML - see the Pipelines page as an example.
Also add a link to the SDK docs on readthedocs.
When ready, please send your PR to @joeliedtke for review. He can help you with getting the doc metadata and structure correct.

OK, Thanks @sarahmaddox @joeliedtke


Security - notFound.goBackHome message appears after disabling 2FA authentication

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/23060
Action Performed:
Precondition: Have 2FA set up.

Launch New Expensify app.
Go to Settings > Security > Two-factor authentication.
Tap Disable two-factor authentication.

Expected Result:
There is no error message
Actual Result:
notFound.goBackHome message appears after disabling 2FA authentication
This error message also appears in different page in apps, like the map in Distance tab when going offline
Workaround:
Unknown
Platforms:

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

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] Windows / Chrome
[x] MacOS / Desktop

Version Number: 1.3.56-2
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/221a1908-8408-4455-ad60-c45d4fdcff27
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue
Security - notFound.goBackHome message appears after disabling 2FA authenticationDEV: console error on request money thread
What is the root cause of that problem?
This is due to a missing translation in BlockingView component of props.link.
What changes do you think we should make in order to solve the problem?
Add translate in BlockingView using useLocalize hook like this.
                <TextLink
                    onPress={props.onLinkPress}
                    style={[styles.link, styles.mt2]}
                >
                    {translate(props.link)}
                </TextLink>

What alternative solutions did you explore? (Optional)

The real issue here is that here, we're specifying a default link of value notFound.goBackHome but we're never translating it. We should change the above mentioned line to:
Localize.translate(`notFound.goBackHome`)

Agree with @allroundexperts

Proposal
Please re-state the problem that we are trying to solve in this issue.
Default link not gets trnaslated
What is the root cause of that problem?
When we pass shouldShowLink and default link is not we are translating that is the issue.
What changes do you think we should make in order to solve the problem?
Translate the link for the default prop when it is not passed from the parent.
https://github.com/Expensify/App/blob/494847af90210ae11fcae19abe692f7444f4bbb2/src/components/BlockingViews/BlockingView.js#L46

This was fixed in https://github.com/Expensify/App/pull/25516 I agree with @allroundexperts it's better to fix in case the default link is used.

@allroundexperts are you able to work on this right now?

We should either use useLocalize (@shubham1206agra's proposal) or pass key (@Pujan92's proposal). It shouldn't be used in default prop.

Huh
My proposal went missing 😨

Can I rewrite the same proposal again @aimane-chnaif

We should either use useLocalize (@shubham1206agra's proposal)

I think this also won't work bcoz in some cases we are passing already translated links from FullPageNotFoundView and retranslating makes the crash.

Just change the link there

We dont need the link so I will CP this https://github.com/Expensify/App/pull/25516 to staging to fix this issue

Alright so I have created pr to fix the issue with the linkKey but also this is irrelevant now as we are not showing the link because of this #25516

Bruh

Bruh

Yes

I think we should still fix this by either translating the default link or by removing the default link altogether.

Yes

@allroundexperts @shubham1206agra @aimane-chnaif @narefyev91 @daordonez11 Thanks for help here, really appreciate it. Deploy blockers are the highest urgency work you can focus on and because of that I have also taken over and created the PR myself. I understand you would prefer to land a job to get paid for here but we need to put the quick work here over that. I hope you can still help us with the most urgent tasks as it benefits the entire company which means more work for the community.

@allroundexperts @shubham1206agra @aimane-chnaif @narefyev91 @daordonez11 Thanks for help here, really appreciate it. Deploy blockers are the highest urgency work you can focus on and because of that I have also taken over and created the PR myself. I understand you would prefer to land a job to get paid for here but we need to put the quick work here over that. I hope you can still help us with the most urgent tasks as it benefits the entire company which means more work for the community.

No worries at all!

Alright so I have created pr to fix the issue with the linkKey but also this is irrelevant now as we are not showing the link because of this #25516

@mountiny  I think we are showing when shouldShowLink is passed from a parent without passing the explicit link value. eg. https://github.com/Expensify/App/blob/c5fc369015af5311c4c1207203d7d09c0010744d/src/pages/home/ReportScreen.js#L300

Fixed on staging


Consistently prepend file name to all messages of serial port I/O

Not sure if wanted since I have just notoced that error messages have the file name prepended, but normal messages have not.

Yes, that is deliberately. I only wanted to print the file information in case of an error message.


Migrate to eslint (tslint is being phased out)

From ng lint output:

TSLint's support is discontinued and we're deprecating its support in Angular CLI.
To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint.

Closed by #33


Request for release with updated dependencies

We have not had a release for sometime. Seeing increasing amount of errors and warning when doing pip installs in projects with other packages as well. Can we please loosen or update dependency versioning and do a release. Latest pip dependency conflict to prompt this issue is:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
dsub 0.4.7 requires pytz<=2022.1, but you have pytz 2022.6 which is incompatible.

More strict dependency solvers such as poetry entirely break with such benign conflicts.
The other source of issues is google-api-python-client==2.47.0 latest version as of this writing is 2.69.0. Can we please update / run unit tests with latest version to avoid running into dependency conflicts for many other libraries that use more recent versions of google-api-python-client. Thank you.

Hi @rivershah
Thanks for writing in. We plan to have a release before the end of the month.

Closing because dsub 0.4.8 was released recently.


My log is full of this error multiple times a day

This message is owerflowing my log sometimes, does anyone know what it is related to?
I have done the basics thing. Restarted, rebooted, upgraded to 0.66.1 and so on.
regards
Richard
Error doing job: Exception in callback SendfileStreamWriter._sendfile_cb(<Future cancelled>, 53, 51, 26790, 55304, <_UnixSelecto...e debug=False>, True)

Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/events.py", line 126, in _run
    self._callback(*self._args)
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_fileresponse.py", line 36, in _sendfile_cb
    loop.remove_writer(out_fd)
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 351, in remove_writer
    self._ensure_fd_no_transport(fd)
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 258, in _ensure_fd_no_transport
    fd, transport))
RuntimeError: File descriptor 53 is used by transport <_SelectorSocketTransport fd=53 read=polling write=<polling, bufsize=0>>

I have the same problem. It seems to happen when a client goes into sleepmode, or disconnects without logging out.

+1
2018-04-26 15:53:34 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback SendfileStreamWriter._sendfile_cb(<Future cancelled>, 30, 29, 46138, 144388, <_UnixSelecto...e debug=False>, True)
Traceback (most recent call last):
  File "/usr/lib/python3.6/asyncio/events.py", line 127, in _run
    self._callback(*self._args)
  File "/srv/ha/lib/python3.6/site-packages/aiohttp/web_fileresponse.py", line 37, in _sendfile_cb
    loop.remove_writer(out_fd)
  File "/usr/lib/python3.6/asyncio/selector_events.py", line 351, in remove_writer
    self._ensure_fd_no_transport(fd)
  File "/usr/lib/python3.6/asyncio/selector_events.py", line 258, in _ensure_fd_no_transport
    fd, transport))
RuntimeError: File descriptor 30 is used by transport <_SelectorSocketTransport fd=30 read=polling write=<polling, bufsize=0>>

Same issue here:
raspberry Pi 3, Raspbian Stertch LITE Kernel 4.14.71-v7+
Home assistant 0.80.2. installed as official guide.
Moreover the HISTORY GRAPH doen't show the graph!

Duplicate as #12832


Convert shelve operations to use SupportsFeatureMixin

Part of https://github.com/ManageIQ/manageiq/issues/21179
Related PRs:

[ ] https://github.com/ManageIQ/manageiq-providers-google/pull/189
[ ] https://github.com/ManageIQ/manageiq-providers-openstack/pull/716
[ ] https://github.com/ManageIQ/manageiq-api/pull/1047

@miq-bot cross-repo-tests manageiq-api, manageiq-ui-classic, ManageIQ/manageiq-providers-google#189, ManageIQ/manageiq-providers-openstack#716

Let me look into the API failure on cross repo

@miq-bot cross-repo-tests manageiq-api, manageiq-ui-classic, ManageIQ/manageiq-providers-google#189, ManageIQ/manageiq-providers-openstack#716 ManageIQ/manageiq-api#1047

@miq-bot cross-repo-tests ManageIQ/manageiq-api#1047, manageiq-ui-classic, ManageIQ/manageiq-providers-google#189, ManageIQ/manageiq-providers-openstack#716

LGTM, will merge when https://travis-ci.com/github/ManageIQ/manageiq-cross_repo-tests/builds/228721124 is green


exercises: letterRotated

Additional minor correction of letterRotated (shadow remains static for all buttons).

Superseded by 124a8be062df848e010d7bf7a02813fd8ca732c5


The permissions should work predictably irrespective of the sequence of role assignment.

The Problem
Consider a scenario where we have two roles let's say a super admin (can manage all) and a safe admin ( superedmin which can not manage some model )
Now, due to the below snippet, the relative sequence of cancan rules seems to affect the effective authorization rules since cancan assumes the rules appearing below to have higher priority ( overrides any contrasting rules )
user_roles(user).each do |role|
    ability(role, user)
end

Please refer the attached detailed comparison showing how the cancan rules are impacted due to this.
spree_admin_roles_and_access_bug.html.zip

Proposed Fix ( In this PR )
We can invoke the cancan rules directly from the Spree::Permission so that the rules are mapped based on the priority for each permission and remains independent of the sequence in which a role is assigned to a user.

Thanks


[ENH] global/local setting for DirectReductionForecaster

This introduces a parameter pooling to DirectReductionForecaster, which can be set to "global" for global pooling, "local" for per-instance pooling, and "panel" for panel-wise pooling. Pooling refers to the X and y passed to the supervised sklearn regressors, which could be constructed from single instances, or the entire panel/hierarchy, in case there are more than one instances.
Giving the user a choice is the way to go here imo, as all settings can make sense.
The logic of DirectReductionForecaster also had to be extended to also accommodate for potential multi-indexed pandas.DataFrame appearing in the fit/predict parts. Unfortunately this is a bit fiddly, since it seems pandas interfaces are quite discrepant between the 1-level case and the 2- and multi-level case.
Testing was done locally using the full panel/hierarchical suite introduced in https://github.com/alan-turing-institute/sktime/pull/3321, but that is not included in this PR, to minimize size of PR and interdependencies. #3321 should be merged first, therefore.

FYI @danbartl, @KishManani, you might be interested in this. Still prototypical, so leaving the warning in.


Modernize sample ErrorHandler

Thanks to @t-kessel for setting up the sample error handler. A lot of work has gone into this. I think the code could be improved by introducing some ES6 features and applying other best practices from UI5 (e.g. no usage of sync components (like new sap.m.Button)). Would this be a welcome change or is the code like this on purpose (e.g. to run the code in IE11 without a complex babel setup)?

You are more than welcome to make improvements here.
I have created a sample app from the code of @t-kessel .
https://github.com/1DSAG/UI5-Best-Practice-samples/tree/error-handling
If you want to improve something here, then on the example app and in the guide.
I personally wouldn't look at IE11 anymore, but we can discuss that in the next meeting.
For all I care, you can already bring ES6 in here.


Problem with package bumping (via vendor.sh)

I'm stuck trying to bump some packages in cri-o repo.
For current master (89e4c549950f9fc9bd50d919a88cd7c6b4889f1f)
Reproduction:
Getting custom k8s commit:
hack/vendor.sh git k8s.io/kubernetes 9cab3b4a07a87380452aefc0263460e19c5d42da https://github.com/kubernetes/kubernetes

git status after command:
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   vendor/k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime/api.pb.go
	modified:   vendor/k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime/api.proto
	deleted:    vendor/k8s.io/kubernetes/pkg/util/errors/.readonly
	modified:   vendor/k8s.io/kubernetes/pkg/util/errors/BUILD
	modified:   vendor/k8s.io/kubernetes/pkg/util/errors/doc.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/errors/errors.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/net/.readonly
	modified:   vendor/k8s.io/kubernetes/pkg/util/net/BUILD
	deleted:    vendor/k8s.io/kubernetes/pkg/util/net/http.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/net/interface.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/net/port_range.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/net/port_split.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/net/util.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/sets/.readonly
	modified:   vendor/k8s.io/kubernetes/pkg/util/sets/BUILD
	deleted:    vendor/k8s.io/kubernetes/pkg/util/sets/byte.go
	modified:   vendor/k8s.io/kubernetes/pkg/util/sets/doc.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/sets/empty.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/sets/int.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/sets/int64.go
	deleted:    vendor/k8s.io/kubernetes/pkg/util/sets/string.go

Untracked files:
  (use "git add <file>..."
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..."  A lot of files are deleted
make cmd results:
go install \
        -tags "selinux seccomp  " \
        github.com/kubernetes-incubator/cri-o/cmd/ocid
server/config.go:7:2: cannot find package "github.com/BurntSushi/toml" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/BurntSushi/toml (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/BurntSushi/toml (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/BurntSushi/toml (from $GOPATH)
server/image_pull.go:5:2: cannot find package "github.com/containers/image/copy" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/copy (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/copy (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/copy (from $GOPATH)
pkg/storage/image.go:5:2: cannot find package "github.com/containers/image/signature" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/signature (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/signature (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/signature (from $GOPATH)
pkg/storage/image.go:6:2: cannot find package "github.com/containers/image/storage" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/storage (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/storage (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/storage (from $GOPATH)
pkg/storage/image.go:7:2: cannot find package "github.com/containers/image/transports" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/transports (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/transports (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/transports (from $GOPATH)
server/server.go:12:2: cannot find package "github.com/containers/image/types" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/types (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/types (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/types (from $GOPATH)
cmd/ocid/main.go:13:2: cannot find package "github.com/containers/storage/pkg/reexec" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/storage/pkg/reexec (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/storage/pkg/reexec (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/storage/pkg/reexec (from $GOPATH)
server/image_status.go:7:2: cannot find package "github.com/containers/storage/storage" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/storage/storage (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/storage/storage (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/storage/storage (from $GOPATH)
pkg/ocicni/ocicni.go:13:2: cannot find package "github.com/golang/glog" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/golang/glog (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/golang/glog (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/golang/glog (from $GOPATH)
pkg/storage/runtime.go:15:2: cannot find package "github.com/opencontainers/image-spec/specs-go/v1" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/opencontainers/image-spec/specs-go/v1 (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/opencontainers/image-spec/specs-go/v1 (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/opencontainers/image-spec/specs-go/v1 (from $GOPATH)
server/seccomp/seccomp.go:13:2: cannot find package "github.com/seccomp/libseccomp-golang" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/seccomp/libseccomp-golang (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/seccomp/libseccomp-golang (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/seccomp/libseccomp-golang (from $GOPATH)
../../opencontainers/runtime-tools/generate/generate.go:14:2: cannot find package "github.com/syndtr/gocapability/capability" in any of:
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/syndtr/gocapability/capability (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/syndtr/gocapability/capability (from $GOPATH)
cmd/ocid/main.go:17:2: cannot find package "google.golang.org/grpc" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/google.golang.org/grpc (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/google.golang.org/grpc (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/google.golang.org/grpc (from $GOPATH)
Makefile:63: recipe for target 'ocid' failed
make: *** [ocid] Error 1

I also tried to revendor everything, but also a lot of required packages was removed.
hack/vendor.sh

go install \
        -tags "selinux seccomp  " \
        github.com/kubernetes-incubator/cri-o/cmd/ocid
server/config.go:7:2: cannot find package "github.com/BurntSushi/toml" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/BurntSushi/toml (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/BurntSushi/toml (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/BurntSushi/toml (from $GOPATH)
server/image_pull.go:5:2: cannot find package "github.com/containers/image/copy" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/copy (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/copy (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/copy (from $GOPATH)
pkg/storage/image.go:5:2: cannot find package "github.com/containers/image/signature" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/signature (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/signature (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/signature (from $GOPATH)
pkg/storage/image.go:6:2: cannot find package "github.com/containers/image/storage" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/storage (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/storage (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/storage (from $GOPATH)
pkg/storage/image.go:7:2: cannot find package "github.com/containers/image/transports" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/transports (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/transports (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/transports (from $GOPATH)
server/server.go:12:2: cannot find package "github.com/containers/image/types" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/image/types (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/image/types (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/image/types (from $GOPATH)
cmd/ocid/main.go:13:2: cannot find package "github.com/containers/storage/pkg/reexec" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/storage/pkg/reexec (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/storage/pkg/reexec (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/storage/pkg/reexec (from $GOPATH)
server/image_status.go:7:2: cannot find package "github.com/containers/storage/storage" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/storage/storage (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/containers/storage/storage (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/containers/storage/storage (from $GOPATH)
pkg/ocicni/ocicni.go:13:2: cannot find package "github.com/golang/glog" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/golang/glog (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/golang/glog (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/golang/glog (from $GOPATH)
pkg/storage/runtime.go:15:2: cannot find package "github.com/opencontainers/image-spec/specs-go/v1" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/opencontainers/image-spec/specs-go/v1 (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/opencontainers/image-spec/specs-go/v1 (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/opencontainers/image-spec/specs-go/v1 (from $GOPATH)
server/seccomp/seccomp.go:13:2: cannot find package "github.com/seccomp/libseccomp-golang" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/seccomp/libseccomp-golang (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/seccomp/libseccomp-golang (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/seccomp/libseccomp-golang (from $GOPATH)
../../opencontainers/runtime-tools/generate/generate.go:14:2: cannot find package "github.com/syndtr/gocapability/capability" in any of:
        /home/mzylowski/.gvm/gos/go1.7.3/src/github.com/syndtr/gocapability/capability (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/syndtr/gocapability/capability (from $GOPATH)
cmd/ocid/main.go:17:2: cannot find package "google.golang.org/grpc" in any of:
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/github.com/kubernetes-incubator/cri-o/vendor/google.golang.org/grpc (vendor tree)
        /home/mzylowski/.gvm/gos/go1.7.3/src/google.golang.org/grpc (from $GOROOT)
        /home/mzylowski/.gvm/pkgsets/go1.7.3/global/src/google.golang.org/grpc (from $GOPATH)
Makefile:63: recipe for target 'ocid' failed
make: *** [ocid] Error 1

cc @runcom @jjlakis

/cc @mtrmac as well, c/image is currently broken by k8s right now

I can’t immediately see why your vending mechanism is removing things like vendor/github.com/containers/image/copy/copy.go; as long as they have direct uses in cri-o, they should continue to be included?!
As for the k8s.io failures, that is fixed in https://github.com/containers/image/pull/223 . Perhaps we should just merge that, test failures or not, so that consumers of containers/image have a chance of it working?
(Or, perhaps, cri-o could not bump k8s for a while until containers/image settles down. Hopefully that does happen soon, right now we average about one upstream breaking containers/image every two days…)

For the record containers/image vendoring should be fixed now. If you guys could retry that would be great.

testing this right now, I can see the vendoring script is removing lots of stuff (bumping containers/image to latest master) :confused:

@mrunalp @cyphar @jawnsy could you also chime in here?

Whoops, I think this is my fault, more fallout due to #320. Please assign this to me.
I didn't realize that our vendor script tries to use vendor/ as a GOPATH, but this no longer works because my change removes src and moves everything to the top-level vendor directory.
This is visible if you add set -x to vendor.sh:
+ dirname hack/vendor.sh
+ cd hack/..
+ source hack/.vendor-helpers.sh
+ PROJECT=github.com/kubernetes-incubator/cri-o
+ mkdir -p vendor
+ original_GOPATH=/home/jawnsy/projects/cri-o/
+ export GOPATH=/home/jawnsy/projects/cri-o/src/github.com/kubernetes-incubator/cri-o/vendor:/home/jawnsy/projects/cri-o/
+ GOPATH=/home/jawnsy/projects/cri-o/src/github.com/kubernetes-incubator/cri-o/vendor:/home/jawnsy/projects/cri-o/
+ find=/usr/bin/find
+ case $# in
+ rm -rf vendor/

@mzylowski Could you take a look at #352?


Hard-code a list of known special mailbox/folder names for IMAP servers that don't support the SPECIAL-USE IMAP capability

Currently the ImapBundle/Mail/Storage/Folder class depends on special flags to determine folder type. Not all IMAP servers support this feature and as a fallback it's best guess the type using the folder's name.

Thank you for your pull request.
It looks like this may be your first contribution to an Oro, Inc. open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at http://www.orocrm.com/contributor-license-agreement/
If you've already signed the CLA, it's possible we don't have your GitHub username or you're using a different email address. GitHub uses the email address you set in your local Git configuration to associate commits with your GitHub account. Please sign the CLA again using the correct GitHub username and email address or see this help article on setting the email on your git commits.
Once you've signed the CLA, please allow for some time for the submission to be processed.

Hello,
Sorry for the late response. Seems Github is not sending me any notifications.
I have signed the CLA at 2016-12-06 12:04 (UTC).
Btw, the CLA form does not want to submit under Google Chrome (OS X) but works just fine in Firefox.

Hi @aabbbaa
I have merged your PR to master branch. Feature will be available in the few days on public platform repository.
Thank you for your contribution!


[BUG] Azure.Security.KeyVault.Secrets preview2 doesn't support update

Describe the bug
Following along with the documentation the process for updating a secret is shown. This process does not compile (the Secret constructor requires 2 string params) and does not succeed due to a required parameter of secret.Version which is a read-only property.
NOTE: another issue with the example is that the returned object from client.Update is of type SecretBase which does not have a "Value" property as shown in the example. This "missing property" issue also applies to the delete example in the Readme.md file.
Exception or Stack Trace

System.ArgumentNullException: 'Value cannot be null. (Parameter 'secret.Version')'

To Reproduce
Steps to reproduce the behavior:

Example

Code Snippet
Secret secret = new Secret("secret-name");

// Clients may specify the content type of a secret to assist in interpreting the secret data when it's retrieved
secret.ContentType = "text/plain";

// You can specify additional application-specific metadata in the form of tags.
secret.Tags["foo"] = "updated tag";

SecretBase updatedSecret = client.Update(secret);

Console.WriteLine(updatedSecret.Name);
Console.WriteLine(updatedSecret.Value);
Console.WriteLine(updatedSecret.Version);
Console.WriteLine(updatedSecret.ContentType);

Expected behavior
Expecting to be able to set the version of the secret and receive an updatedSecret response.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: [Windows 10]
IDE : [Visual Studio]
Version of the Library used: Azure.Security.KeyVault.Secrets -Version 4.0.0-preview.2

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Looks like the link to the KeyVault Readme is changing with regard to the link for Steps to Reproduce.

@KSchlobohm thanks for pointing this out! We'll take a look at this!

The client code was fixed in #7729. Will leave open to track making sure the samples are updated.


Redirected to JSON with 401 instead of index.html

Hi
Really appreciate this project!
I had the same issue as here:
https://github.com/experoinc/aws-lambda-edge-oauth/issues/3
but I opted to follow solution nr 2 and I changed my config and redirect line.
Auth0 login page properly shows, only after logging in I'm redirected to this url
https://domain/callback?dest=%2F&code=CODE&state=STATE
Cookies are saved after login, but it redirects me to my json object containing jwt token, network tab shows 401 for the above URL.
I tried setting Token Endpoint Authentication Method in Auth0 to both None or POST, but the effect is the same.

session-token is empty so I think I exit through here in the lambda:
callback(null, redirect(redirectUrl, [{name: "session-token", value: ""}]));

I think I know what was the issue:
line
const token = json.id_token;
should be
const token = json.access_token;
It still doesn't work though, now it causes too many redirects followed by Bad Token Response: 403 undefined

The err from validateToken(...) says
JsonWebTokenError: jwt malformed

The response might be slightly different.  Since json.id_token is not working, you could try logging the entire response json (console.log(JSON.stringify(json))) to see what is received when we exchange the code for token.

I tried using jwt, but it just says that the token is malformed.
I'm trying this approach as it seems relevant:
https://community.auth0.com/t/access-token-is-malformed-jwt-when-authenticating-with-google-oauth2/74218/6

That was it, I have the necessary changes to make universal login work then, if you want me to create a PR on Monday :)
Cheers!

oh that would be great if you did.  It might even solve the "OIDC Compliant" issue.

I have a PR ready, do you want to give me the ability to push to remote non-master branch or should I fork?

I think easiest is fork.

Here you go
I'm closing this issue
https://github.com/experoinc/aws-lambda-edge-oauth/pull/5


Generalize maximum_net_benefit method

Rewrite the maximum_net_benefit method from the model class, to make it work for any number of technologies that support partially cooking. This can be done by implementing a while loop that checks the sum of households supplied against the total households in each cell, and tracks that until all household get supplied.

This issue is a duplicate of #310


Add site_edit capabilities to demag_gui

site_edit functionality can be added. What that program does is plot expected directions from two common errors - wrong mark on the sample and wrong way for the arrow. By doing so, samples can be excluded if there directions are consistent with such an error.

Okay, This doesn't look too hard to patch over from the site_edit_magic.py script as it stands I think the major challenge will be the decision of how to implement. So on that note:

As of now I'm thinking adding this to the interpretation editor is a good idea as the purpose is to edit interpretations and main GUI panel real estate is pretty thin. Also the interpretation editor already displays most of this info it just needs to plot wrong arrow, wrong mark, and wrong compass when requested then open dialogues to interact with the user.
This does however complicate the plot which is already complicated for a user. So before working on this feature I think I should add in GUI context help which is built into wx and can be done with just a bit of work. (basically click on button or menu item then get question arrow which when clicked on some other part of the screen gives a help message popup box with info about that item) Once this is done it should simplify use and make it so that a new user isn't confounded by the complexity of this new function which promises to add 2 new symbols at least to the higher level mean plot at least which already has 3 possible symbols.
To do this I'm going to add a file demag_gui_help.py which is basically just a script with all the messages in strings declared in variables so I can keep those out of the GUI and keep the code remotely readable. Any thoughts on where I should put something like this in the current directory structure? I was thinking help_files would work fine.

Think this just needs debugging at this point, all of the features should be there with the last push. @Swanson-Hysell any suggestions for improvement or problems with the current form of this feature?

As there have been no complaints about how this feature currently works I'm going to close this long standing issue. If there are any problems later just raise another issue and assign me.


fix: ClickToSelect.js ref

Testing
Install CLI => click on the text area it shouldn't throw

Sentry issue: DCOS-UI-401

:tada: This PR is included in version 2.54.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Create integrations-troubleshooting.rst

Reviewing this addition, I'm actually thinking we might want to put this under "Known slack compatibility issues" in the Slash command document?

Closing this one + will resubmit, since there were other changes I needed to make to the compatibility sections.


Adding appearance prop to FormButton

By passing the appearance as a property, it will allow us to use AtlasKit preset appearances such as "danger", "subtle" instead of replicating the appearance by using CSS.

Thanks for raising this @qfeyaert - it looks good, I'll merge and release a new version.

This change has been included in version 0.41


python311Packages.flux-led: 0.28.37 -> 1.0.0

Diff: https://github.com/Danielhiversen/flux_led/compare/refs/tags/0.28.37...1.0.0
Changelog: https://github.com/Danielhiversen/flux_led/releases/tag/1.0.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 244555 run on x86_64-linux 1

12 packages built:

home-assistant-component-tests.flux_led
home-assistant-component-tests.led_ble
ledfx
ledfx.dist
python310Packages.flux-led
python310Packages.flux-led.dist
python310Packages.led-ble
python310Packages.led-ble.dist
python311Packages.flux-led
python311Packages.flux-led.dist
python311Packages.led-ble
python311Packages.led-ble.dist


Android /system/bin srs  No such file or directory

Describe the bug
After cross-compiling, an error message "No such file or directory" occurs when running in the /system/bin directory on the Android system, but this issue does not exist with version 3.0.
Version
srs 4.0
TRANS_BY_GPT4

Please click the ASK AI button on either https://ossrs.io or https://ossrs.net for the Chinese language.
I think the AI can address this query since relevant articles or discussions may already be available.
This issue will be eliminated, see #2716


Update package.json

Fixed problem for icon not correctly linked to the application.
Issue related electron-builder@2577

@RyanZHe 多谢PULL REQUEST


Error: "No project named WARN Act Notices found" on make download

Following instructions in README, I set up project, set BLN API key, ran make download and got:
2022-02-23 19:54:12,877 - urllib3.connectionpool - https://api.biglocalnews.org:443 "POST /graphql HTTP/1.1" 200 None
Traceback (most recent call last):
  File "/opt/python/3.8.12/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/python/3.8.12/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspaces/warn-transformer/warn_transformer/download.py", line 52, in <module>
    run()
  File "/workspaces/warn-transformer/warn_transformer/download.py", line 32, in run
    p = c.get_project_by_name("WARN Act Notices")
  File "/workspaces/warn-transformer/.venv/lib/python3.8/site-packages/bln/client.py", line 435, in get_project_by_name
    raise ValueError(f"No project named {name} found")
ValueError: No project named WARN Act Notices found

make: *** [Makefile:76: download] Error 1

I'm able to view the project in BLN directory and download a file manually. Says here I'm a viewer, but of course I am not in the list of 15 explicitly added users.

Ah, I see. Thanks for pointing this out. I need to think about how we handle this.

This was fixed for me by adding me to the project in Big Local News.


factor out non-spark test-utils

Coverage decreased (-13.1%) to 11.34% when pulling 0133ddb6d4f45aff26cacc61f7f71d688f30751e on ryan-williams:tu into 16e818c3b82fb6180b134f54b77e8cfd0b7182b8 on hammerlab:master.

Coverage increased (+7.0%) to 31.429% when pulling 0b4d447716c9b9a516afeaa5ffb178e855a1c334 on ryan-williams:tu into 16e818c3b82fb6180b134f54b77e8cfd0b7182b8 on hammerlab:master.

Coverage increased (+7.0%) to 31.429% when pulling 0b4d447716c9b9a516afeaa5ffb178e855a1c334 on ryan-williams:tu into 16e818c3b82fb6180b134f54b77e8cfd0b7182b8 on hammerlab:master.


[FR] JavaScript gRPC-Web Client

Hi folks 👋
I am working on integrating the CRED-CLUB/propeller service into a JavaScript application and would love to see official support for a gRPC-Web client.
Request:

Provide a generated gRPC-Web client for JavaScript in the repository.
Include instructions in the documentation for setting up and using the client.

Benefits:

Makes it easier for developers using Vanilla JavaScript or front-end frameworks like React, Ember, or Vue to interact with the service.
Broadens the usability of the service across various platforms.

Hey @karngyan , gRPC-web doesn't support client side and bi-directional streaming which is needed for propeller to function. But propeller does have experimental support for WebSockets for the web, but it's experimental and not yet thoroughly tested. If you are interested, you can try to test websockets and help us fix any issues. Here is the WebSocket wrapper.

Hi @Abhishekvrshny 👋 Thanks, would you consider extending the API to a unidirectional server side stream for web?
e.g:
service PushService {
  ...
  // SubscribeEvents streams events from the server to the client (unidirectional)
  rpc SubscribeEvents(SubscribeEventsRequest) returns (stream SubscribeEventsResponse) {}
}

Or may be support a separate set of APIs for it.

I would like to understand the use-case better. If you can help with more details on what the current problem statement is and how you plan to leverage propeller with a unidirectional server-side stream, that would help!


Some improvements

Hi! I notice this PR keeps getting updated. Should I be reviewing it right now or nah?

Please review, but dont merge until you merged my other prs on your other repos and I removed the [patch.*]'s from Cargo.toml


Would be cool if we could actually determine what the bug tag should be

Request explanation
I have checked the code here: https://github.com/sindresorhus/refined-github/blob/main/source/features/bugs-tab.tsx
and I would like to propose a small update, allow to define the tag that determines something is a bug in the extension config, being the default bug
[...]
const countBugs = cache.function(async (): Promise<number> => {
	const {search} = await api.v4(`
		search(type: ISSUE, query: "label:bug is:open is:issue repo:${getRepo()!.nameWithOwner}") {
			issueCount
		}
	`);
[...]

if the search query was something like
search(type: ISSUE, query: "label:${getUserPreferences()!.bugTagName} is:open is:issue repo:${getRepo()!.nameWithOwner}")
Of course, it would require to create the UserPreferences.
If we could even add more filters like that one for user-stories too, that would be AWESOME :)
Background
In our case, we use Type:bug as we align many tags. Without a descriptor it looks kindof messy, especially for new team members

Thanks for your request.
However this a Duplicate of #2897


Added plugin for formatting Java sources using Palantir

Added contrib.palantir.JavafmtModule for formatting Java sources using Palantir.
The current implementation also supports command line arguments for

checking for formatting errors with --check flag
formatting specific files or folders

Resolves #3448.

@lihaoyi
Is the naming convention fine?
Are there any additional features that must be implemented?

Looks good overall, just need a few tweaks. Need a short readme.adoc in the contrib module folder, and an example test in example/javalib/linting/ next to checkstyle and errorprone to demonstrate usage.

One improvement would be to accept Palantir Java Format options (leftover arguments that start with -) from the command line.
This would expose the full power of the CLI (even format a range within a source file).
# need to figure out the syntax for range formatting

# command to only fix imports (sort, remove unused)
mill __.javafmt --fix-imports-only src/a/B.java

I could not find any documentation for the options. Should examples be included in the plugin readme.adoc?
@lihaoyi WDYT?

Left some comments
The tests are failing because we need to wire up contrib.palantirformat into our dist so it will get properly published during integration testing. Should just involve adding it to the list here along with the other integration-tested contrib modules https://github.com/com-lihaoyi/mill/blob/2dc343fac9da8234d66ec522b68f03095f3e5d4b/build.mill#L727

I think this looks great, two small nits in the example and I think we can merge this and close out the bounty

Thanks @ajaychandran! will transfer the bounty using the same details as earlier


How to use TF Hub on a distributed setting?

I want to use the ResNet-101-v2 feature vectors to do some transfer learning. I am training with the Estimator API on GCP, I call the hub Module at the beggining of the model_fn.
module_url = "https://tfhub.dev/google/imagenet/resnet_v2_101/feature_vector/1"
module = hub.Module(module_url)
height, width = hub.get_expected_image_size(module)
images = tf.image.resize_images(input_tensor, [height, width])
feature_vectors = module(images)

When I run in a single node ("basic-gpu") all is well, however, when I run the same code in distributed mode ("standard-1") I get this error:

The replica master 0 exited with a non-zero status of 1. Termination reason: Error. Traceback (most recent call last): [...] File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/checkpoint_utils.py", line 337, in _set_variable_or_list_initializer _set_checkpoint_initializer(variable_or_list, ckpt_file, tensor_name, "") File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/checkpoint_utils.py", line 299, in _set_checkpoint_initializer ckpt_file, [tensor_name], [slice_spec], [base_type], name=name)[0] File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 1458, in restore_v2 shape_and_slices=shape_and_slices, dtypes=dtypes, name=name) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper op_def=op_def) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 3290, in create_op op_def=op_def) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 1654, in init self._traceback = self._graph._extract_stack() # pylint: disable=protected-access InvalidArgumentError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to get matching files on /tmp/tfhub_modules/e0c607f95a3d67bc8928a5c20d09d1915322cfcb/variables/variables: Not found: /tmp/tfhub_modules/e0c607f95a3d67bc8928a5c20d09d1915322cfcb/variables; No such file or directory [[Node: checkpoint_initializer_537 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:ps/replica:0/task:1/device:CPU:0"](checkpoint_initializer_537/prefix, checkpoint_initializer_537/tensor_names, checkpoint_initializer_537/shape_and_slices)]] [[Node: init/NoOp_3_S22 = _Recvclient_terminated=false, recv_device="/job:master/replica:0/task:0/device:CPU:0", send_device="/job:ps/replica:0/task:1/device:CPU:0", send_device_incarnation=-7983147897712139617, tensor_name="edge_3296_init/NoOp_3", tensor_type=DT_FLOAT, _device="/job:master/replica:0/task:0/device:CPU:0"]] To find out more about why your job exited please check the logs: ....

How should I structure my code for TF Hub to work with the Estimator API for distributed training?

@svsgoogle thanks! Would a GS bucket be a valid location?

It should be :)

It should not :) https://github.com/tensorflow/hub/issues/50

I have the same issue with Google ML Engine. In my opinion, the issue is caused by tensorflow-hub it self with a distributed training, not Google ML Engine.
I have made a repository to reproduce the issue.
https://github.com/yu-iskw/tensorflow-hub-with-ml-engine
As well as, we are discussing it on the google issue tracker.
https://issuetracker.google.com/issues/78898344

For those interested, the issue can be solved by saving the module into GCP, you can do it with the following steps:
On some local machine

[optional] clear all modules: rm -fr /tmp/tfhub_modules
Run some code that downloads the module: hub.Module(...)
Upload the module to some gcp bucket: gsutil -m cp /tmp/tfhub_modules/{module_hash} gs://bucket/some/path/to/module

Now, on you code you can use pass the location of the bucket to TF Hub
hub.Module("gs://bucket/some/path/to/module")

This was fixed in https://github.com/tensorflow/hub/commit/68606210c33fa2c473963281a073be3277968191, but users will have to wait for a new pipy release + picked up by cloud.

I suppose.. is it working also on s3?

It should though I haven't explicitly tested on S3, so please let us know
if you see any issues.
On Mon, Jun 18, 2018 at 6:11 PM bhack<EMAIL_ADDRESS>wrote:

I suppose.. is it working also on s3?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/hub/issues/48#issuecomment-398108805, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbunTCGcNxUDWesY5-fpg8QQgcZCn5nlks5t99E5gaJpZM4T8DNY
.

Probably is a little bit incorrect https://github.com/tensorflow/hub/commit/68606210c33fa2c473963281a073be3277968191#diff-781a53e648f3df8d16a08ec083b04bf4R18? Cause we are using tensorflow file:// as I see in https://github.com/tensorflow/hub/commit/68606210c33fa2c473963281a073be3277968191#diff-cd783e402e7064fee42578c5b35d1c3c

What error are you observing with the fix in question? The test uses
file:// because we cannot use GCS or S3 in a unit test, but in offline
testing, we did test gs://. The breakage that was address by the fix
applies to all custom filesystem in TF (file://, gs://. etc).
On Mon, Jun 18, 2018 at 6:23 PM bhack<EMAIL_ADDRESS>wrote:

Probably is a little bit incorrect 6860621
#diff-781a53e648f3df8d16a08ec083b04bf4R18
https://github.com/tensorflow/hub/commit/68606210c33fa2c473963281a073be3277968191#diff-781a53e648f3df8d16a08ec083b04bf4R18?
Cause we are using tensorflow file:// as I see in 6860621
#diff-cd783e402e7064fee42578c5b35d1c3c
https://github.com/tensorflow/hub/commit/68606210c33fa2c473963281a073be3277968191#diff-cd783e402e7064fee42578c5b35d1c3c
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/hub/issues/48#issuecomment-398112442, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbunTOILlYuHMVG2UJJ2-IH4upg0OBoZks5t99PrgaJpZM4T8DNY
.

Is that it claims gcs in the chabgelog but file:// is not gcs only.

Yep, we will be more clear with the cl description next time ))
On Mon, Jun 18, 2018 at 7:38 PM bhack<EMAIL_ADDRESS>wrote:

Is that it claims gcs in the chabgelog but file:// is not gcs only.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/hub/issues/48#issuecomment-398135900, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbunTBvn7XigGSKlZOwTiQjwSFZCnm9vks5t9-WkgaJpZM4T8DNY
.

For those interested, the issue can be solved by saving the module into GCP, you can do it with the following steps:
On some local machine
1. [optional] clear all modules: `rm -fr /tmp/tfhub_modules`

2. Run some code that downloads the module: `hub.Module(...)`

3. Upload the module to some gcp bucket:

gsutil -m cp -R /tmp/tfhub_modules/{module_hash} gs://bucket/some/path/to/module

Now on your code you can use pass the location of the bucket to TF Hub
hub.Module("gs://bucket/some/path/to/module")

This approach does not work for me? Did you manage to make it run?

What error are you seeing?
On Wed, Nov 14, 2018, 19:21 Paweł Budzianowski<EMAIL_ADDRESS>wrote:

For those interested, the issue can be solved by saving the module into
GCP, you can do it with the following steps:
On some local machine

[optional] clear all modules: rm -fr /tmp/tfhub_modules

Run some code that downloads the module: hub.Module(...)

Upload the module to some gcp bucket:

gsutil -m cp -R /tmp/tfhub_modules/{module_hash} gs://bucket/some/path/to/module
Now on your code you can use pass the location of the bucket to TF Hub
hub.Module("gs://bucket/some/path/to/module")
This approach does not work for me? Did you manage to make it run?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/hub/issues/48#issuecomment-438765393, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbunTNmsrFc25hbbwMl7Hy2eUC0yzHkYks5uvF8pgaJpZM4T8DNY
.

I'm trying do the caching through gs but model gets stuck at loading the module as in #50.

One option for further debugging is to try to run a small test program that
reads/write to the GCS bucket in question using tf.gfile
https://www.tensorflow.org/api_docs/python/tf/gfile/GFile. This will make
sure that the bucket and the local machine are set up correctly.
On Thu, Nov 15, 2018 at 1:01 AM Paweł Budzianowski<EMAIL_ADDRESS>wrote:

I'm trying do the caching through gs but model gets stuck at loading the
module as in #50 https://github.com/tensorflow/hub/issues/50.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/hub/issues/48#issuecomment-438864577, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbunTDx6GgV2kNtMdBChQqIxs3PpGpRKks5uvK7igaJpZM4T8DNY
.

For those interested, the issue can be solved by saving the module into GCP, you can do it with the following steps:
On some local machine

[optional] clear all modules: rm -fr /tmp/tfhub_modules
Run some code that downloads the module: hub.Module(...)
Upload the module to some gcp bucket:

gsutil -m cp -R /tmp/tfhub_modules/{module_hash} gs://bucket/some/path/to/module

Now on your code you can use pass the location of the bucket to TF Hub
hub.Module("gs://bucket/some/path/to/module")

This approach does not work for me neither. I am seeing the following error:
File "/root/.local/lib/python3.5/site-packages/tensorflow_hub/module.py", line 58, in load_module_spec return registry.loader(path) File "/root/.local/lib/python3.5/site-packages/tensorflow_hub/registry.py", line 45, in __call__ self._name, args, kwargs)) RuntimeError: Missing implementation that supports: loader(*('gs://xxx/07Nasnet',), **{})

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


[NA-245] - remove UserGet Schema base_token field

commented out base token while checking if it would be a breaking change
also commented test cases that broke due to commented function in codebase

What's the commented-out function? Do you think it's worth re-adding, given we have to drop several tests? Maybe @paulcjh can comment on whether the code should be uncommented.

What's the commented-out function? Do you think it's worth re-adding, given we have to drop several tests? Maybe @paulcjh can comment on whether the code should be uncommented.

I have not done so because I lack context as to why it was commented in first place -- so i adjusted tests to just stop breaking

What's the commented-out function? Do you think it's worth re-adding, given we have to drop several tests? Maybe @paulcjh can comment on whether the code should be uncommented.

I have not done so because I lack context as to why it was commented in first place -- so i adjusted tests to just stop breaking

The tests are super out of date, I've had to omit them from my personal workflow for the moment because of how frequently I've been changing the schemas. For the moment don't worry about them. We'll sort this out in a future PR.


anvil cannot fork from https://ethereum-goerli.publicnode.com

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
anvil 0.1.0 (6e09b4e 2023-07-24T00:19:12.456381803Z)
What command(s) is the bug in?
anvil
Operating System
Linux
Describe the bug
This should "just work" right? Repeated calls show a different (higher) result in the jsonrpc portion of the JsonRpcClientError, so this data does seem to indicate a proper response from publicnode.com.  hardhat is able to fork from that url without a problem.
$ RUST_LOG="info" anvil --fork-url https://ethereum-goerli.publicnode.com
thread 'main' panicked at 'Failed to get fork block number: JsonRpcClientError(SerdeJson { err: Error("response must be either a success/error or notification object", line: 1, column: 71), text: "{\"jsonrpc\":\"2.0\",\"method\":\"eth_blockNumber\",\"result\":\"0x8f696c\",\"id\":1}" })', /home/runner/work/foundry/foundry/anvil/src/config.rs:841:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

for some reason this endpoint returns the method value itself in the response

{"jsonrpc":"2.0","method":"eth_blockNumber","result":"0x8f6a50","id":1}

which is invalid json rpc

Yep as mattsse said, this endpoint is returning invalid json rpc. It's a bit of a minor issue but we prefer to keep it strict
closing as reason is found

Can we have a --relaxed-rpc option? It seems in other areas (I remember seeing a thread on this topic), foundry/anvil is looking to achieve parity with hardhat and it arguably should be possible to move a project between hardhat and foundry easily. This would allow devs to both test that two EVM emulators from different sources yield the same behaviors, as well as test the emulators themselves. Also, with problems stemming from upstream inaccuracies relative to standards, there's not much that users can do. Failing to process a response that returns a base 10 vs base 16, or without zero padding, for example, are problems I've reported in hardhat which were relaxed in cases deemed safe. Also relevant is that publicnode.com has a non-trivial user base.
Meanwhile I'll alert publicnode.com.

For anyone else stumbling on a similar issue, you can relax ether-rs's strict json rpc response handling by making this change in ethers-providers/src/rpc/transports/common.rs ~ line 211:
                 match (id, result, error, method, params) {
                   (Some(id), Some(result), None, None, None) => {

to
                 match (id, result, error, method, params) {
                    (Some(id), Some(result), None, _, _) => {

See https://github.com/foundry-rs/foundry/pull/5490


Document name qualification

A comment from @knz:
Usually a fully qualified name is written like this: exampledb.customer.address or test.kv.v and can contain at most one or two periods. For example:
create database ".𛲄·.·";
create table "𛲄.𛲄·"("𛲄.·.𛲄" int);
select "𛲄.𛲄·"."𛲄.·.𛲄" from ".𛲄·.·"."𛲄.𛲄·"."𛲄.·.𛲄";

I'm not sure I was serious...

@knz, what do you mean? I know those examples are a pretty ridiculous, but seems like not a bad idea to clarify something like:

A qualified name uses a single period to indicate a database.table relationship or a table.column relationship. A fully qualified name can thus contain, at most, one or two periods, excluding periods used in the entity names themselves.

All right. However I would not use the word "fully qualified" - this is verbiage from network tech, not database tech.
There are two things that can be named in SQL:

relations (tables or views) in storage: these have a name of the form [dbname.]name. The dbname. part is optional, if omitted the "current database" is used. These relation names can be used in a FROM clause. For example kv and t.kv in select * from kv, t.kv
column references: these have a name of the form [relname.]name. The relname part is optional, if omitted it is derived from context. These column references are used in value expressions. For example v and kv.v in select v, kv.v from kv. Note that select t.kv.v from t.kv is incorrect in PostgreSQL (postgres forgets the database prefix after recognizing the FROM clause so the column references cannot use it any more) but correct in CockroachDB as an extension.
relations defined inside a query using WITH (not supported in CockroachDB yet). These do not have a database prefix. For example the name "foo" in with foo as (select * from kv)  select * from foo

@benesch feel free to propose a phrasing for the explanation of zone naming that aligns with what SQL does otherwise, without using the adjective "qualified" :)

Heh, I'm not sure I share your objection to the term "qualified." col names a column, tbl.col is a qualified column name, but only db.tbl.col is fully qualified. Seems reasonable to me.

I also don't understand the objection to qualified. It makes sense to me, but I trust that @knz is more sensitive to overlapping contexts and possible resulting confusions.

I did a little research and apparently the word "Qualified" is used in the context of table names specifically; a name is "qualified" when it includes the database (in pg: "schema") prefix. A "qualified column reference" for example is one that includes the name of the database. There's no sign of "qualification" in the difference between "tablename.colname" and just "colname".

This was fixed by #2748 / #2738.


[BUG] Student Form Contact Validation

Problem
When filling out the student creation or edit form the contact section includes input duplication for Home and Emergency contact. This functionality is currently broken due to a change in implementation but the previously working component can be found here. This code does not successfully validate and in order to complete the form "Use Same Contact" must be turned off and the value reentered into the emergency fields.
Where/When
StudentDialog.vue
When filling out the Contact section of the form.
Desired behavior

"Use Same Contact" functionality should be restored to the StudentDialog component
The "required" validation of the emergency contact fields should be satisfied when duplicated from the home section.

Add Student button should be clickable but should highlight mandatory fields and validate whole form.

Updates for this should also be applied to other forms

[ ] School
[ ] Session
[ ] Student
[ ] User


Speed up if-path and cond-path

impl/retrieve-cond-selector is not very fast, so a much faster function should be developed for that. And since if-path has static number of paths, it should be able to skip any sequence operations.

These particular optimizations finished for 0.11.1 – seeing 18x improvement for if-path on basic use cases and 2-3x for cond-path.
Further speedups to cond-path are possible by defining it as a macro (in terms of if-path). However, this will require a namespace change for cond-path.

Nevermind, that additional cond-path navigation did not require changing it to a macro. These optimizations are now complete.


add ack option after response is processed

Add an option to react to the message if ack is provided

Looks good


[ENH] Scaling of the entire UI - Block bottom close to last line

If possible when other things are worked out:
Scaling of the entire GSE3 UI:
Using the UI is hard because you have to have it almost the size of your screen to work on macros. -
There are other things that may help if overall scaling is not possible.:
Blocks that grow to the size they are now but the spacing of the last line to the block bottom edge could be closer to the last line   This alone would/could reduce the overall GSE3 UI size by half.
Just An idea Tim - sorry adding to the plate.

The scaling stuff is something I don’t have control over.  GSE scales to the scaling setting in your UI as a whole and it has no ability to draw at any other scale.  Where this gets interesting is the UI scale is different for every single person and every single computer.  You can change it in ESC - System but this doesn’t just affect GSE but every mod and button in your UI.
There also isn’t a way for me to go : Scale GSE 0.8 and everything else normal.  GSE goes “please draw an edit box here and make it the width available in the box and 4 lines long.  Your standard font settings in your UI are inherited etc.  It doesn’t go “draw a box 30 pixels high and position a textbox within that that is 29 pixels high.  Make each line within that 7 pixels leaving a half pixel gap”.
As to the gaps around the blocks, this again isn’t something GSE can control.  In the normal UI these are very tight but UI mods like ElvUI change how all the blocks are displayed.  I am still fighting with their changes to add backgrounds to everything.  I am investigation how and if I can get the blocks to auto trim to remove some of the vertical padding.
You’re not adding to the plate.  Ideas and questions are never a problem.
TimothyLuke

On 14 Jul 2021, at 12:18 am, ScaryLarryGames @.***> wrote:

If possible when other things are worked out:
Scaling of the entire GSE3 UI:
Using the UI is hard because you have to have it almost the size of your screen to work on macros. -
There are other things that may help if overall scaling is not possible.:
Blocks that grow to the size they are now but the spacing of the last line to the block bottom edge could be closer to the last line This alone would/could reduce the overall GSE3 UI size by half.
Just An idea Tim - sorry adding to the plate.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I don't know how it does it but Mapster manages to resize the World Map UI on the fly. This file might give you a hint: https://github.com/Nevcairiel/Mapster/blob/master/Scaling.lua
https://user-images.githubusercontent.com/1732773/125562985-6c2e56ca-7562-49c9-b25d-f32d35455470.mp4

That’s resizing a texture - not resizing every single UI element.  They are not changing fonts or buttons or the like.  They are just resizing the map graphic.
TimothyLuke

On 14 Jul 2021, at 2:26 pm, xan2622 @.***> wrote:

I don't know how it does it but Mapster manages to resize the World Map UI on the fly. This file might give you a hint: https://github.com/Nevcairiel/Mapster/blob/master/Scaling.lua
https://user-images.githubusercontent.com/1732773/125562985-6c2e56ca-7562-49c9-b25d-f32d35455470.mp4
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Further to this will be part of #968


add Facebook Open Graph description tag explaining

If I share the url to facebook, the following what people are going to see on their newsfeed:

Notice that there is a bunch of white space without any description.  This is because according to https://developers.facebook.com/tools/debug/sharing/?q=http%3A%2F%2Flibretaxi.org there is no og:description tag.
When I shared the link to facebook, I felt that I needed to explain a little about it, primarily how it is different from Uber/Lyft and why one would want to use it instead.  But I think best if that type of info be in the link's description.  Probably could just reuse this text you already have on your website: "LibreTaxi makes taxi affordable by getting rid of the third party between passengers and drivers. Negotiate the price before the ride is confirmed, pay cash upon arrival. 1-minute hiring for all drivers."

I see you added the help wanted tag.  I could easily provide a PR for this.  According to facebook's open graph debugger https://developers.facebook.com/tools/debug/og/object/?q=http%3A%2F%2Flibretaxi.org%2F there are some other warnings:

Inferred Property	The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
-Inferred Property	The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.
-Inferred Property	The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
-Share App ID Missing	The 'fb:app_id' property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog.

But note that those first three are already correctly inferred, so only reason you would want to change that is if you want the facebook link to have a different title, or if there were multiple images on the index.html and you wanted to make sure to tell facebook to use a specific image.

for now I will set the og:image to 2-en.jpg for every language except russian, to make sure that facebook uses the image with the google map thumbnail (which I think better communicates the functionality instead of the other text-only image).

I made a PR https://github.com/ro31337/libretaxi-www/pull/13 for desription.  I didn't bother adding an op:image, because I realize that might be better to have a facebook-specific thumbnail (since the current one cuts off the top and bottom of the image).

Thanks, looks great. Will merge and deploy in few hours.

Closing this issue - fixed by Eric. Thanks again for your contribution!


What's the reason of Batch_dev = N_fr when avoid_small_en_fr = True?

In compute_d_vector.py, when avoid_small_en_fr = True, Batch_dev is set to N_fr, is this necessary?
https://github.com/mravanelli/SincNet/blob/d64244991324f96d77add11dc86939a7a81ae14d/compute_d_vector.py#L184

I check the code again and probably that line shouldn't be necessary. Have
you tried to comment it out?
Best,
Mirco
On Thu, 29 Aug 2019 at 05:56, Incomplete<EMAIL_ADDRESS>wrote:

In compute_d_vector.py, when avoid_small_en_fr = True, Batch_dev is set
to N_fr, is this necessary?
https://github.com/mravanelli/SincNet/blob/d64244991324f96d77add11dc86939a7a81ae14d/compute_d_vector.py#L184
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/61?email_source=notifications&email_token=AEA2ZVXRKKSER4UQNQJ2EIDQG6MNRA5CNFSM4ISAIGEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIE34UQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEA2ZVVTYIW7OVHWCO2AWVLQG6MNRANCNFSM4ISAIGEA
.

If commented out, an error is produced.
This is related to issue #62.
The audio that produced the error has a length of 49460 sample points, the loop at the line https://github.com/mravanelli/SincNet/blob/d64244991324f96d77add11dc86939a7a81ae14d/compute_d_vector.py#L218 produces 290 examples, (as it should be), but https://github.com/mravanelli/SincNet/blob/d64244991324f96d77add11dc86939a7a81ae14d/compute_d_vector.py#L215 only allocates 289 slots, so when handling the left over, the left side of  https://github.com/mravanelli/SincNet/blob/d64244991324f96d77add11dc86939a7a81ae14d/compute_d_vector.py#L232 would only have 33 slots instead of the correct 34 (290 - 128 * 2) slots.
Setting Batch_dev = N_fr would cause https://github.com/mravanelli/SincNet/blob/d64244991324f96d77add11dc86939a7a81ae14d/compute_d_vector.py#L230 to be never executed, thus hides the error.


Build failure: rPackages.tesseract

Steps To Reproduce
Steps to reproduce the behavior:
Looks like rPackages.tesseract is failing to build.
nix build -f default.nix rPackages.tesseract

Build log
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/c7i21b5ild18y42abdsr2a1y41vv2v73-tesseract_5.1.0.tar.gz
source root is tesseract
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file tesseract/MD5
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
@nix { "action": "setPhase", "phase": "installPhase" }
installing
* installing *source* package 'tesseract' ...
** package 'tesseract' successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/nix/store/2b3samg5y4vqla4amja15ysbwnhm38jy-tesseract-5.3.3/include
Using PKG_LIBS=-L/nix/store/2b3samg5y4vqla4amja15ysbwnhm38jy-tesseract-5.3.3/lib -ltesseract
Using CXX11CPP: /nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin/c++ -E -std=gnu++11
--------------------------- [ANTICONF] --------------------------------
Configuration failed to find 'tesseract' system library. Try installing:
 * deb: libtesseract-dev libleptonica-dev (Debian, Ubuntu, etc)
 * rpm: tesseract-devel leptonica-devel (Fedora, CentOS, RHEL)
 * brew: tesseract (Mac OSX)
If tesseract is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a tesseract.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
tools/test.cpp:2:10: fatal error: allheaders.h: No such file or directory
    2 | #include <allheaders.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
--------------------------------------------------------------------
ERROR: configuration failed for package 'tesseract'
* removing '/nix/store/ajs8ypr7xis62wc65ia6igrhr5yrk7hk-r-tesseract-5.1.0/library/tesseract'

Additional context
Tested on x86_64-linux
Notify maintainers
@jbedo

This seems to be a bug with pkg-config not including leptonica's cflags. I initially thought it was a problem with tesseract, but it doesn't seem to be as tesseract.pc contains
Requires.private: lept

Thanks for taking a look at this one! https://github.com/NixOS/nixpkgs/pull/273868 works for me.


iOS video_player can't catch errors via addListener second time

video_player: ^2.1.1
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.2.3 20D91 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.55.2)
[✓] Connected device (2 available)
Reproduce:
Step 1.
Provide a url not found: http://<IP_ADDRESS>/files/a.mp4 <- this file not found on the server.

Step 2.
From another page tap button and then push to this page. First time correct display error like this: (seem second line errorDescription)
flutter: VideoPlayerValue(duration: 0:00:00.000000, size: Size(0.0, 0.0), position: 0:00:00.000000, caption: Caption(number: 0, start: 0:00:00.000000, end: 0:00:00.000000, text: ), buffered: [], isInitialized: false, isPlaying: true, isLooping: false, isBuffering: false, volume: 1.0, playbackSpeed: 1.0, errorDescription: null)
flutter: VideoPlayerValue(duration: 0:00:00.000000, size: Size(0.0, 0.0), position: 0:00:00.000000, caption: Caption(number: 0, start: 0:00:00.000000, end: 0:00:00.000000, text: ), buffered: [], isInitialized: false, isPlaying: false, isLooping: false, isBuffering: false, volume: 1.0, playbackSpeed: 1.0, errorDescription: Failed to load video: The requested URL was not found on this server.)

Step 3.
Back to previous page, and tap button push to this page again. This time not display error, ONLY show one line:
flutter: VideoPlayerValue(duration: 0:00:00.000000, size: Size(0.0, 0.0), position: 0:00:00.000000, caption: Caption(number: 0, start: 0:00:00.000000, end: 0:00:00.000000, text: ), buffered: [], isInitialized: false, isPlaying: true, isLooping: false, isBuffering: false, volume: 1.0, playbackSpeed: 1.0, errorDescription: null)

the problem is I can't catch this error so that unable show the error to user.

Code:

@override
void initState() {
super.initState();
playerController = VideoPlayerController.network('http://<IP_ADDRESS>/files/a.mp4'); // this file is 404 not found
playerController.addListener(() {
  print(playerController.value);
});

playerController.initialize().then((_){
  print('success'); //iOS not run
}).onError((error, stackTrace){
  print(error);// iOS not effect!
});
playerController.play();

}
@override
void dispose() {
playerController.dispose();
super.dispose();
}

I found that it's only occur this error using LAN network like 192.168.123.x
Maybe completed too fast?

@figbin
Can you provide a complete minimal reproducible code sample that we can directly use to verify this issue ?
Thanks.

Hello, here is the code below:
BTW:
this error occur only using  LAN network data source,
so the data source  url must like http://<IP_ADDRESS>/files/a.mp4 not WAN.
import 'package:video_player/video_player.dart';
import 'package:flutter/material.dart';

void main() => runApp(VideoApp());

class VideoApp extends StatefulWidget {
  @override
  _VideoAppState createState() => _VideoAppState();
}

class _VideoAppState extends State<VideoApp> {
  late VideoPlayerController playerController;

  @override
  void initState() {
    super.initState();
    playerController = VideoPlayerController.network('http://<IP_ADDRESS>/files/a.mp4'); // this file is 404 not found
    playerController.addListener(() {
      print(playerController.value);
    });

    playerController.initialize().then((_){
      print('success'); //iOS not run
    }).onError((error, stackTrace){
      print(error);// iOS not effect!
    });
    playerController.play();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Video Demo',
      home: Scaffold(
        body: Center(
          child: playerController.value.isInitialized
              ? AspectRatio(
                  aspectRatio: playerController.value.aspectRatio,
                  child: VideoPlayer(playerController),
                )
              : Container(),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {
            setState(() {
              playerController.value.isPlaying
                  ? playerController.pause()
                  : playerController.play();
            });
          },
          child: Icon(
            playerController.value.isPlaying ? Icons.pause : Icons.play_arrow,
          ),
        ),
      ),
    );
  }

  @override
  void dispose() {
    super.dispose();
    playerController.dispose();
  }
}

@figbin
Although I don't have LAN network / setup to verify this, but I ran your code sample which shows me main screen with play pause button. What are the exact steps then, to possibly replicate the issue ?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Generate a token for UUID for an iOS app in oauth2orize

We are using oauth2orize as our authentication server. We need to generate a token for an iOS app for its UUID/GUID. There is no default grant type for this.
Many people say to create our own grant type by using GrantTypeInterface.
The idea is something like this:

Create a guest user with Uuid and return a token.
Guest user can convert to customer user by registering himself.

are we doing/thinking this incorrectly?

I know I haven't kept up on this project.  My apologies.  I would not make a new grant type.  I would need to know more about your use case.  This doesn't seem like a normal OAuth2 flow you're mentioning here.


Create UMM-S record for hydrocron

Hydrocron is a new service being offered and should have a UMM-S record created describing what the service is.
AC:

UMM-S JSON file created and checked in to repo
Github workflow step added which updates UMM-S record as part of CICD

I fixed the URL and updated the GitHub Action workflow to include a "Publish" step which publishes the UMM-S record if the build and docker steps completed successfully. This will allow us to test publication of the record without deploying to any of the AWS environments.
However, I ran into an issue when testing the GitHub Action. The log can be found here. The cmr-umm-updater returns the following error message: /entrypoint.sh: line 16: cmr/cmr.json: No such file or directory
@frankinspace - do you know what might be causing this error? I believe that I have the cmr directory with the appropriate UMM-S JSON in the correct place.

@nikki-t it looks like in your action you are referring to the umm-json file as cmr/hydrocron_umm_s.json
https://github.com/podaac/hydrocron/blob/313ddec82e7ac918a1df10d53e0142135a16b00b/.github/workflows/build.yml#L320
But the name of the file in the repo is actually cmr/cmr.json
https://github.com/podaac/hydrocron/blob/313ddec82e7ac918a1df10d53e0142135a16b00b/cmr/cmr.json
I would suggest renaming the file in the repo to hydrocron_umm_s.json

I figured out the error I was encountering but it looks like the cmr-umm-updater GitHub Action only works for uat and ops environments.
 jq: error (at cmr/cmr.json:85): Cannot index string with string "URLValue"
INFO:root:Starting UMM-S update
INFO:root:native_id: POCLOUD_podaac_hydrocron
Traceback (most recent call last):
  File "/venv/bin/umms_updater", line 8, in <module>
    sys.exit(run())
  File "/venv/lib/python3.9/site-packages/podaac/umms_updater/umms_updater.py", line 298, in run
    main(_args)
  File "/venv/lib/python3.9/site-packages/podaac/umms_updater/umms_updater.py", line 218, in main
    concept_id = pull_concept_id(args.env, provider, native_id, args.timeout)
  File "/venv/lib/python3.9/site-packages/backoff/_sync.py", line 43, in retry
    ret = target(*args, **kwargs)
  File "/venv/lib/python3.9/site-packages/podaac/umms_updater/umms_updater.py", line 156, in pull_concept_id
    url_prefix = svc_update.cmr_environment_url(cmr_env)
  File "/venv/lib/python3.9/site-packages/podaac/umms_updater/util/svc_update.py", line 37, in cmr_environment_url
    raise Exception('CMR environment selection not recognized;'
Exception: CMR environment selection not recognized; Select uat or ops.

Does it make sense to hold off and only publish a UMM-S record for hydrocron UAT and OPS deployments? I can update the build.yml so that it is only triggered for those environments.

ah, yes that is correct. No umm-s in SIT


[Bugfix + Feature] Properly updating cursor in User Feed & A way to get top pics in Tagged Media

Hey, I meant to make 2 separate PRs, but I accidentally merged both to master.
I've split up the descriptions below. Hope that's ok.
Fix 1: Properly updating cursor in User Feed (bugfix)
Addresses this issue:
https://github.com/huttarichard/instagram-private-api/issues/225
I applied the same solution as in media-comments.js
Fix 2: Get top posts from tagged media feed (feature)
I noticed that the standard get() in tagged-media.js was not returning data.ranked_items. So I decided to add a function for people who want to get the top pics from a given tag.
I also noticed that this is a requested feature.
https://github.com/huttarichard/instagram-private-api/issues/534

ranked_items always no more than 8, and on the mobile there are millions, how to get everything?
In addition, I make the same request to the API and on the phone for top publications, the output does not match, the API issues incomprehensible top publications.


Get Formdata and Multipart data occur a 'Request body input error' Exception

Hi there,
I am new in reactor.
I want to read the Form Data and MultiPart Data in Filters to check it's intact. I read the ReadBodyPredicateFactory class and know how to copy a body for raw content.
But When I handle formdata and multipart data, see this #552 reply so I copy those data to new Decorator and put in Attributes, but when i get the attribute and read it, it's null and throw Caused by: java.lang.RuntimeException: Request body input error
there are Gist (code & error file): link
Orz PLZ.
Expected behavior
read the Multi data and form data
Actual behavior
throw Caused by: java.lang.RuntimeException: Request body input error Exception
Steps to reproduce
http post <IP_ADDRESS>:8887/post -- foo=bar

Spring version
Spring boot: 2.1.0.RELEASE
Spring cloud: Greenwich.M3
JVM version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

There is way too much going on in that gist to decipher the problem.  If you can simplify things down to something that is easy to understand and attach a complete project as a zip or point to a git repo we would be happy to take a look.


pkgsLLVM: Fix unwanted target offset

pkgsLLVM introduced an unwanted target offset, as can be seen with the
following commands.
Before this commit:
$ nix eval --system x86_64-linux -f . pkgsCross.aarch64-multiplatform.buildPackages.stdenv.hostPlatform.config
"x86_64-unknown-linux-gnu"
$ nix eval --system x86_64-linux -f . pkgsCross.aarch64-multiplatform.buildPackages.pkgsLLVM.stdenv.hostPlatform.config
"aarch64-unknown-linux-gnu"

Explaination: These two should be the same, since the only difference
between them is the addition of "pkgsLLVM". The buildPackages of the
pkgsCross set should have a hostPlatform which is the native platform.

After this commit:
$ nix eval --system x86_64-linux -f . pkgsCross.aarch64-multiplatform.buildPackages.stdenv.hostPlatform.config
"x86_64-unknown-linux-gnu"
$ nix eval --system x86_64-linux -f . pkgsCross.aarch64-multiplatform.buildPackages.pkgsLLVM.stdenv.hostPlatform.config
"x86_64-unknown-linux-gnu"

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Ping @Ericson2314 / @RossComputerGuy , should be quick/easy win.


New package: BareMetalSoftware.Baretail version 3.50a

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

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

Microsoft Reviewers: Open in CodeFlow

this doesn't install correctly , will have to look into it

this doesn't install correctly , will have to look into it

Hi @mdouek,
This installed normally in a Windows 10 VM. If the CLA agreement were present, then the package would have been accepted into the repository.
Unfortunately, another PR has superseded this one.


Test/local network snapshot

Context
Our current cardano-services integration test DB snapshot is not ideal, given it only contains a subset of the data managed by a tedious selection process to satisfy particular test demands. For this reason, we cannot currently make assertions based on what we know from the tests that have run.
Proposed Solution
Use the local-network state after the wallet e2e test has run as a source for running integration tests. This is done using a bash script to coordinate the network setup/teardown, test execution, and snapshot creation. While it's not possible to make concrete assertions that transactions appear in hard-coded blocks, additional setup queries should be possible to make similar assertions in an dynamic way.
Important Changes Introduced

Upgrades Docker Compose to V2
The local-network database is currently just being loaded alongside testnet for demonstration of the workflow.

Looks good, although we probably need to update all jest snapshots too?

Yeah, I'm going to see if we can switch from using the other type of snapshot completely, then will update the test setup and snapshots and assertions.

Looks good @AngelCastilloB. I've just rerun the CI workflow as it was failing with the ValueNotConserved error


[docs] Document typescript:transpile script

Another day where I struggled to remember if it was no-cache or disable-cache.
Disable whitespace diff for review.

@merceyz Thanks for the review! The disableCache vs ignoreCache change felt somewhat hacky.


CU-86eq53h4b - Implement Atbash cipher (#1)

Closes #1

Task linked: CU-86eq53h4b Implement Atbash cipher


spawn to increase stacksize for test

related: #3473

Ok. I also think your source is better than mine.


Provide better examples include/excludeassets, call out the defaults

Fixes https://github.com/NuGet/docs.microsoft.com-nuget/issues/2235

Docs Build status updates of commit 393a630:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/consume-packages/Package-References-in-Project-Files.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


samples: replace with symlink to test data

Instead of maintaining a separate set of samples that by now are very much outdated (using Fedora 31 or older), make the samples directory a symlink to the test data. Manifests in there are indeed tested and maintained.
The error and noop samples are also covered in unit tests, so no need for extra samples there either.
Thanks to @martinezjavier for pointing out that the samples are all outdated.

Looks good to me. Thanks a lot for doing this!


transaction logs out of control

Transaction logs on mirrorred db just keep growing, now at 50gb backup size is 10k! 98% free space
Microsoft SQL Server 2014 (SP2-GDR) (KB4505217) - 12.0.5223.6 (X64)
May 26 2019 20:36:50
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.3  (Build 9600: ) (Hypervisor)
Check the header of the stored procedure - this is no version info in the header , just today's date - i think it was installed 2017 ( person who installed is no longer here)
sqlcmd -E -S $(ESCAPE_SQUOTE(SRVR)) -d master -Q "EXECUTE [dbo].[DatabaseBackup] @Databases = 'USER_DATABASES', @Directory = N'E:\Backup', @BackupType = 'LOG', @Verify = 'Y', @CleanupTime =168, @CheckSum = 'Y', @LogToTable = 'Y', @Compress = 'Y'" -b
job completes - but trans log just keep growing
any we missing anything?

Could you check if the log backup is backed up?
You can see this in the dbo.CommandLog - table.


Better footer and buttons

Footer
Slightly improved look on mobile

Before
After

Buttons
I think the buttons look too big on desktop. Now, there is a new "slim" variant, which is also responsive.
Also, made the font size on the "Create Room" button slightly larger.

Responsive showcase
Slim

@RazerMoon can't we remove a couple of footer links on mobile, @benawad ?

On a side note, how do you feel about changing the front page design to something like this?

Before
After

@RazerMoon I don't really like that design change, unless some other stuff changed on the landing page


Flow Archive/App and Clean Up

The flows associated with the started kit are erroring and I can't figure out why?
They flows fail in the apply to each environment step
I'm getting a 400 error
Approval Type:   Approve/Reject - Everyone must approve
Body:    {
"title": "Your app App has been flagged for archiving",
"assignedTo"<EMAIL_ADDRESS>"details": "\nYou own an app that has not been modified since 28 Aug 2020  and has therefore been flagged for archiving.  Please confirm this app can be archived by approving this task; or provide a business justification if you reject. \n\nApp Name: App\nApp ID: 60512497-67a1-437e-9e88-88753a43a189\nEnvironment: Default-f9aa5788-eb33-4a49-8ad0-76101910cac3\n\nNote: If you select approve, the app will be removed from the PowerApps Maker Portal as a file in the archive, from where it can be restored should you need it again. If you select reject, please re-publish your app to avoid receving this email again. \n",
"enableNotifications": true,
"enableReassignment": true
}
Title:  Your app App has been flagged for archiving
Details:  App Name: App
App ID: 60512497-67a1-437e-9e88-88753a43a189
Environment: Default-f9aa5788-eb33-4a49-8ad0-76101910cac3
Note: If you select approve, the app will be removed from the PowerApps Maker Portal as a file in the archive, from where it can be restored should you need it again. If you select reject, please re-publish your app to avoid receving this email again.
Assigned To<EMAIL_ADDRESS>Enable Notifications:  true
Enable Reassignment:  true
Outputs:
Status Code:  400
Headers:
Key                                           Value
Pragma                                      no-cache
x-ms-request-id                        usgovvirginia:71676e55-8e43
x-ms-correlation-request-id     71676e55-8e43-47fc-a66a-38028fc04e12
x-ms-flow-mobile-ios-version  1.3.0
x-ms-flow-routing-request-id  USGOVVIRGINIA:20201012T100215Z:71676e55-8e43-47fc-a66a-38028fc04e12
Strict-Transport-Security           max-age=31536000; includeSubDomains
X-Content-Type-Options          nosniff
Timing-Allow-Origin                 *
x-ms-apihub-cached-response  true
Cache-Control                            no-cache
Date                                           Mon, 12 Oct 2020 10:02:15 GMT
Content-Length                          181
Content-Type                             application/json
Expires                                        -1
Body:  {
"error": {
"code": "InvalidApprovalCreateRequestAssignedToNoValidUsers",
"message": "Required field 'assignedTo' contained no valid users in the organization"
}
}
If you need to reach me my email is<EMAIL_ADDRESS>and phone is<PHONE_NUMBER>

Can you please validate that you set up this environment variable: Admin eMail
That is the fall back email in the event that the owner email cannot be retrieved.
Current versions of the solution fail explicitly when this is the case instead of deep in the flow as you are seeing.


Unify primitive version tab title format

In https://docs.quantum.ibm.com/run/primitives#estimator :

This PR removes the parenthesis in the V1 titles to unify them with the V2 titles.
(also adds tt to PubResult)

@1ucian0 we've recently edited the history on main, can you please reset your branch using the following commands.
# Make sure you're on your branch
git switch small/1

# Overwrite your branch with our history
git reset --hard origin/main

# Re-apply your commits on top of the new history
git cherry-pick -X theirs 4a795c6

# Check everything looks correct
git diff origin/main

# If all good, force-push to your branch
git push --force

Let me know if you have any questions. Sorry for the inconvenience.
You can also reset your main branch to avoid this problem again:
git switch main
git reset --hard origin/main
git push --force